CN113965769B - Live broadcast system of online education - Google Patents

Live broadcast system of online education Download PDF

Info

Publication number
CN113965769B
CN113965769B CN202111216193.0A CN202111216193A CN113965769B CN 113965769 B CN113965769 B CN 113965769B CN 202111216193 A CN202111216193 A CN 202111216193A CN 113965769 B CN113965769 B CN 113965769B
Authority
CN
China
Prior art keywords
low
live broadcast
delay
online education
live
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111216193.0A
Other languages
Chinese (zh)
Other versions
CN113965769A (en
Inventor
邢波
史丙利
宣云云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chuangsheng Shilian Digital Technology Beijing Co Ltd
Original Assignee
Chuangsheng Shilian Digital Technology Beijing 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 Chuangsheng Shilian Digital Technology Beijing Co Ltd filed Critical Chuangsheng Shilian Digital Technology Beijing Co Ltd
Priority to CN202111216193.0A priority Critical patent/CN113965769B/en
Publication of CN113965769A publication Critical patent/CN113965769A/en
Application granted granted Critical
Publication of CN113965769B publication Critical patent/CN113965769B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/08Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations
    • G09B5/10Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations all student stations being capable of presenting the same information simultaneously
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • 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/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/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
    • H04N21/6437Real-time Transport Protocol [RTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8166Monomedia components thereof involving executable data, e.g. software
    • H04N21/8173End-user applications, e.g. Web browser, game
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application provides a live broadcast system for online education, which relates to the technical field of Internet. The system comprises: the online education live broadcast system comprises a live broadcast plug flow end of online education, a cloud live broadcast platform of the online education, a content distribution network of the online education and a page end for live broadcast playing of the online education, wherein the live broadcast plug flow end is in communication connection with the cloud live broadcast platform, the cloud live broadcast platform is in communication connection with the content distribution network and the page end respectively, and the page end is in communication connection with the content distribution network. Through this application embodiment, can effectively reduce the live delay time of online education to effectively promote the interactive effect of online education live broadcast.

Description

Live broadcast system of online education
Technical Field
The embodiment of the application relates to the technical field of Internet, in particular to a live broadcast system for online education.
Background
In recent years, with the overall promotion of online video technology multidimensional, the interactive live broadcast mode such as online education brings full-new experience of real-time watching and deep interaction for the masses of netizens, so that the interactive live broadcast mode rapidly rises and gradually becomes an internet social entrance of a new era. An online video technology supporting interactive live broadcast is a relatively complex and professional field, and relates to application of multidisciplinary technologies such as audio and video encoding and decoding, image optimization processing, streaming media transmission and distribution, multi-terminal playing and the like. The attractiveness of interactive live broadcast is that the end user "substitutes" himself into the live scene, like a host, other spectators in a room, not watching video, but a member of the scene. Such a scene-type interaction is extremely dependent on "low latency" in live broadcast technology.
At present, the technical architecture of each live broadcast platform is different in size, and in the aspect of 'low-delay' guarantee, the PC end and the mobile APP end control delay to 3-5 seconds through an RTMP protocol or an HTTP-FLV protocol, so as to be matched with the realization of various interaction functions. The mobile Web terminal (i.e. the H5 player based on the mobile device browser) can only use HLS protocol with larger delay, so that the mobile Web terminal can only realize original live broadcast watching and bullet screen watching, and the most important interaction function can not be realized.
The only HLS protocol currently available at the mobile Web end is generally known as Http Live Streaming, and is a set of network protocols based on HTTP transmission streaming media proposed by apple company. For live broadcasting, the working principle is that a live broadcast stream is segmented into TS stream media slice files, and m3u8 index files are generated at the same time, and a playing end sequentially downloads each slice file according to the sequence of the index files for playing. The standard HLS protocol specifies that the browser needs to acquire three generated complete TS slice files to start playing, and the length of the streaming media slice file proposed by the apple official is about 10 seconds, and the network transmission delay of the CDN and the like, and the live broadcast delay based on the HLS protocol theoretically exceeds 40 seconds. This is why live delay of mobile Web terminal based on HLS protocol can not reach interactive live requirement. Aiming at the strong synchronous scene of education, the interactive experience of online education is affected. Therefore, how to effectively reduce the delay time of online education live broadcast at the page end, so as to effectively improve the interaction effect of the online education live broadcast becomes the technical problem to be solved currently.
Disclosure of Invention
The purpose of the application is to provide a live broadcast system of online education for solve the delay time of the online education live broadcast of how effectively to reduce the page end that exists among the prior art, thereby effectively promote the technical problem of the interactive effect of online education live broadcast.
According to a first aspect of embodiments of the present application, a live broadcast system for online education is provided. The system comprises: the live broadcast streaming terminal is in communication connection with the cloud live broadcast platform, the cloud live broadcast platform is respectively in communication connection with the content distribution network and the page terminal, the page terminal is in communication connection with the content distribution network, the live broadcast streaming terminal is used for dividing an online education video stream to be pushed into video fragments by adopting an RTMP live broadcast protocol, dividing the video fragments into a video packet, an audio packet and a protocol packet, and pushing the video packet, the audio packet and the protocol packet to the cloud live broadcast platform through established different channels; the cloud live broadcast platform is used for pushing the video packet, the audio packet and the protocol packet to the content distribution network through established different channels by adopting an RTMP live broadcast protocol; the page end is used for receiving the operation of a learner on the online education video stream playing control in the page end, generating an online education video stream playing request according to the operation, sending the online education video stream playing request to the cloud live broadcast platform, receiving a low-delay playing address of the online education video stream returned by the cloud live broadcast platform according to the online education video stream playing request, pulling the low-delay online education video stream from the low-delay live broadcast service of the content distribution network according to the low-delay playing address of the online education video stream, and playing the low-delay online education video stream.
According to the live broadcast system for online education, which is provided by the embodiment of the application, the live broadcast plug-flow end adopts the RTMP live broadcast protocol, the online education video stream to be pushed is divided into video fragments, the video fragments are divided into video packets, audio packets and protocol packets, the video packets, the audio packets and the protocol packets are pushed to the cloud live broadcast platform respectively through the established different channels, and the delay time of the online education video stream to be pushed to the cloud live broadcast platform can be effectively reduced. In addition, the cloud live broadcast platform adopts an RTMP live broadcast protocol, the video package, the audio package and the protocol package are respectively pushed to the content distribution network through established different channels, so that the delay time of pushing the online education video stream to the cloud live broadcast platform can be effectively reduced, the page end receives the operation of a learner aiming at the online education video stream playing control in the page end, an online education video stream playing request is generated according to the operation, the online education video stream playing request is sent to the cloud live broadcast platform, the low-delay playing address of the online education video stream returned by the cloud live broadcast platform according to the online education video stream playing request is received, the low-delay online education video stream is pulled from the low-delay live broadcast service of the content distribution network according to the low-delay playing address of the online education video stream, the low-delay online education video stream is played, the delay time of online education at the page end can be effectively reduced, and accordingly, the live broadcast interaction effect of online education at the page end is effectively improved.
Drawings
Some specific embodiments of the present application will be described in detail below by way of example and not by way of limitation with reference to the accompanying drawings. The same reference numbers will be used throughout the drawings to refer to the same or like parts or portions. It will be appreciated by those skilled in the art that the drawings are not necessarily drawn to scale. In the accompanying drawings:
fig. 1 is a schematic structural diagram of a live broadcast system for online education according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in the embodiments of the present application, the following descriptions will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the embodiments of the present application shall fall within the scope of protection of the embodiments of the present application.
Referring to fig. 1, a schematic structural diagram of a live broadcast system of online education according to an embodiment of the present application is shown.
Specifically, the live broadcast system for online education provided in this embodiment includes: the live broadcast streaming terminal is in communication connection with the cloud live broadcast platform, the cloud live broadcast platform is respectively in communication connection with the content distribution network and the page terminal, the page terminal is in communication connection with the content distribution network, the live broadcast streaming terminal is used for dividing an online education video stream to be pushed into video fragments by adopting an RTMP live broadcast protocol, dividing the video fragments into a video packet, an audio packet and a protocol packet, and pushing the video packet, the audio packet and the protocol packet to the cloud live broadcast platform through established different channels; the cloud live broadcast platform is used for pushing the video packet, the audio packet and the protocol packet to the content distribution network through established different channels by adopting an RTMP live broadcast protocol; the page end is used for receiving the operation of a learner on the online education video stream playing control in the page end, generating an online education video stream playing request according to the operation, sending the online education video stream playing request to the cloud live broadcast platform, receiving a low-delay playing address of the online education video stream returned by the cloud live broadcast platform according to the online education video stream playing request, pulling the low-delay online education video stream from the low-delay live broadcast service of the content distribution network according to the low-delay playing address of the online education video stream, and playing the low-delay online education video stream.
In this embodiment, the live broadcast pushing end adopts an RTMP live broadcast protocol, divides an online education video stream to be pushed into video slices, divides the video slices into video packets, audio packets and protocol packets, and pushes the video packets, the audio packets and the protocol packets to the cloud live broadcast platform through established different channels, so that delay time of pushing the online education video stream to be pushed to the cloud live broadcast platform can be effectively reduced. In addition, the cloud live broadcast platform adopts an RTMP live broadcast protocol, the video package, the audio package and the protocol package are respectively pushed to the content distribution network through established different channels, so that the delay time of pushing the online education video stream to the cloud live broadcast platform can be effectively reduced, the page end receives the operation of a learner aiming at the online education video stream playing control in the page end, an online education video stream playing request is generated according to the operation, the online education video stream playing request is sent to the cloud live broadcast platform, the low-delay playing address of the online education video stream returned by the cloud live broadcast platform according to the online education video stream playing request is received, the low-delay online education video stream is pulled from the low-delay live broadcast service of the content distribution network according to the low-delay playing address of the online education video stream, the low-delay online education video stream is played, the delay time of online education at the page end can be effectively reduced, and accordingly, the live broadcast interaction effect of online education at the page end is effectively improved.
In a specific embodiment, the page end may be a player of an HTML5 page in a browser of the terminal device, and a software development kit of the low-latency live broadcast service is embedded in a code of the HTML5 page. The content distribution network is an intelligent virtual network constructed on the basis of the existing network, and by means of the edge servers deployed in various places, a user can obtain required content nearby through load balancing, content distribution, scheduling and other functional modules of the center platform, network congestion is reduced, and user access response speed and hit rate are improved. The live push end can be an OBS (Open Broadcaster Software, live video software). The OBS is a good live streaming media content making software, provides capturing and recording functions of video, text, images and the like for users, and has a concise and professional OBS interface and powerful functions. The OBS program and the source code thereof are provided for everyone for free, the version update is active all the time, the OSX, windows, linux operating system is supported, the OBS program and the source code thereof are suitable for various live broadcast scenes, and the operating requirements of most live broadcast behaviors are met. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In some optional embodiments, the cloud live platform is further configured to: under the condition that the domain name meets the admission standard, verifying the attribution right of the domain name by a DNS analysis verification mode or a file verification mode; after confirming the attribution right of the domain name, adding the domain name, configuring the service type of the domain name as a broadcast stream domain name, and associating the broadcast stream domain name with a corresponding push stream domain name to create the broadcast stream domain name for low-delay playing of the online education video stream. Thereby, a broadcast stream domain name for low-delay playback of an online education video stream can be effectively created. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In a specific example, all domain names accessing the live video service are audited. The admission criteria for the domain name include a domain name type that does not support access. Domain name types that currently do not support access include, but are not limited to: the content can not be normally accessed or does not contain any substantial information, such as copyrighted download websites, P2P financial websites, lottery websites, illegal hospitals, medicine websites and the like, such as game privates, legends or paper games, pirate software and the like. The DNS analysis verification mode comprises the following steps: acquiring the record type, the host record and the record value of the domain name; adding a record; and (5) verification. The step of obtaining the record type, the host record and the record value of the domain name comprises the following steps: logging in a CDN manufacturer management platform; in the left navigation bar, select Domain name management > add Domain name. When you first add a new domain name, they need to add the specified TXT record as per page hint. The adding recording step includes: logging in a CDN manufacturer management platform; other DNS resolution servers such as DNSPod, new network, etc. operate similarly; entering a domain name resolution page, and clicking resolution setting on the right side of the a.com domain name; the record is added by clicking, and the record type, the host record and the record value which are checked in the acquisition step are filled in. The verification step comprises the following steps: and returning to the CDN manufacturer management platform, clicking to verify, and completing the verification. In a specific example, when the file verification mode is performed, the verification html verification file is downloaded in a single click manner; uploading the verification file to the root directory of your domain name source station server (e.g., your ECS, OSS, CVM, COS, EC2, etc.); the background of the CDN system accesses the http:// a.com/verification.html of the source station to acquire the verification file, and judges whether the verification file appointed by the user is uploaded according to the requirement. Please ensure that the file can be accessed. Clicking to verify, and completing the verification. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In some optional embodiments, the cloud live platform is further configured to: and according to the splicing rule of the low-delay play address, splicing the broadcast stream domain name for low-delay play of the online education video stream, the application name created under the broadcast stream domain name for low-delay play of the online education video stream, the live stream name created under the application name, the identification of a transcoding template of the live stream, a timestamp authentication string, a random number authentication string, an additional parameter authentication string and a verification string calculated through an md5 algorithm to generate the low-delay play address. Thereby, the low-delay play address can be accurately generated. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In a specific example, a low-latency play address is generated by using a Domain name (Domain), an application (AppName), and a live stream (StreamName) three-level live management unit, where multiple applications (AppName) can be created under each Domain name (Domain), and multiple live streams (StreamName) can be created under each application. AppName and StreamName can be custom modified. Different values generate different low latency playback addresses. Before splicing the addresses, you need to determine whether the live stream is transcoded, authenticate, and prepare the live stream domain name, appname, streamName, transcoding template ID (if any), and authentication string (if any). The specific splicing rules are as follows: the broadcast stream domain name + Appname + StreamName + transcoding template ID + authentication string. In specific implementation, the cloud live broadcast platform pushes the online education video stream to cdn manufacturer, creates a low-delay broadcast stream domain name (test. Boot cc. Com) according to cdn manufacturer low-delay configuration specification, starts time stamp authentication, and requests the cloud live broadcast platform to obtain a low-delay play address at a page end, wherein the low-delay play address is generated according to a low-delay play address splicing rule, such as:
artc:// test.bokecc.com/appName/streamnameauth_key = timestamp-rand-uid-md5 hash). It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In a specific example, the page end is further configured to: and generating a pulling request of the low-delay online education video stream according to the low-delay playing address, sending the pulling request to the low-delay live broadcast service of the content distribution network, and receiving the low-delay online education video stream returned by the low-delay live broadcast service of the content distribution network according to the pulling request. By the method, the low-delay online education video stream returned by the low-delay live broadcast service of the content distribution network according to the pull request can be effectively received. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In some alternative embodiments, the low-latency live service of the content delivery network is configured to: if the invalidation time of the low-delay playing address carried in the pulling request is less than the current time, confirming that the low-delay playing address carried in the pulling request is out of date and invalidation, and returning the information of the expiration and invalidation of the low-delay playing address to the page end; if judging that the failure time of the low-delay play address carried in the pull request is greater than or equal to the current time, constructing a character string identical to an authentication string in the low-delay play address; calculating a hash value of a character string identical to an authentication string in the low-delay play address by using an MD5 algorithm, and comparing the hash value with the hash value in the low-delay play address; if the comparison result is the same, confirming that the authentication of the low-delay playing address carried in the pull request passes, and returning the low-delay online education video stream to the page end; if the comparison results are different, confirming that the authentication of the low-delay play address carried in the pull request is not passed, and returning information that the authentication of the low-delay play address carried in the pull request is not passed to the page end. Therefore, the low-delay playing address carried in the request can be effectively pulled for authentication. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In a specific example, after the authentication function is started, the low-delay live service acquisition request of the content distribution network is verified as follows: it is determined whether the expiration time (timeout + active duration) in the request is less than the current time. If less, then the expiration is deemed to be invalid and an HTTP 403 error is returned. If the time is greater than the current time, constructing a character string which is the same as the authentication string in the low-delay play address. And calculating HashValue by using an MD5 algorithm, and comparing with MD5hash brought in the request. And if the comparison results are consistent, the authentication is considered to pass, and the live stream is returned. Otherwise, authentication fails and HTTP 403 error is returned. For example, the object is requested by req_auth. rtmp/(live. Example. Com/video/standard authentication KEY is set to: aliyunliveexp1234. The time for generating the authentication address is: beijing time 2021, 05, 28, 16:49:57. The effective duration of the authentication address is set to 20 minutes, and the effective time configured when the authentication address is generated is 40 minutes. Both the rand and uid fields are set to 0. Then: the Unix timestamp of the calculated authentication address was 1622194197 (Beijing time 2021, month 05, day 28, 17:29:57). The low-latency live service of the content delivery network constructs a signature string for calculating Hashvalue as follows:
video/standard-1622194197-0-0-aliyunliveexp1234, from which the low-latency live service of the content delivery network computes a hash value:
HashValue=md5sum("/video/standard-1622194197-0-0-aliyunliveexp1234")=5552ff52b5e4e20387c6dc18afce206b
the authentication address at the time of request is:
rtmp://live.example.com/video/standardauth_key=1622194197-0-0-5552ff52b5e4e20387c6dc18afce206b
the computed hashvue coincides with the md5 hash=555252ff 52b5e4e20387c6dc18af 206b value in the user request, whereupon authentication passes. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In some alternative embodiments, the low-latency live service of the content distribution network is further configured to: and carrying out service and node dual upgrade on the content distribution network, monitoring and targeted optimization aiming at the full-link live broadcast index, carrying out a series of bottom core technology optimization through an intelligent scheduling system and network congestion, anti-weak network optimization and buffering strategies, and then adopting RTP (real time protocol) based on UDP (user datagram protocol) to send the low-delay online education video stream in the node of the content distribution network to the page end. By this, the low-delay live broadcast service can be effectively provided by transmitting the low-delay online education video stream in the node of the content distribution network to the page end. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In a specific example, low-delay live broadcast RTS (Real-time Streaming) provided by CDN manufacturer is used for carrying out bottom technology optimization such as full-link delay monitoring, CDN transmission protocol reconstruction and UDP, and the like, and the inter-node millisecond delay live broadcast capability under a hundred thousand-level concurrency scene is supported through a software development kit of an integrated page end, so that the problem of 10-30 seconds delay of live broadcast of the traditional page end is solved, and extremely live broadcast watching experience with low delay, low cartoon and smooth second opening is ensured. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In some optional embodiments, the cloud live platform is further configured to: if the opening operation of the low-delay live broadcast service control aiming at the cloud live broadcast platform is received, generating the low-delay play address, and providing the low-delay live broadcast service by using the low-delay play address; and if the closing operation of the low-delay live broadcast service control aiming at the cloud live broadcast platform is received, generating a playing address of an HLS protocol, and providing high-delay live broadcast service by using the playing address of the HLS protocol. The specific implementation manner of generating the low-delay play address is the same as that of the foregoing embodiment, and will not be described herein again. The specific implementation manner of generating the play address of the HLS protocol is the prior art, and will not be described herein. Therefore, through the low-delay live broadcast service control of the cloud live broadcast platform, the switching between the low-delay live broadcast service and the HLS live broadcast service can be effectively realized. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In a specific example, a platform-low delay switch, a live cloud platform level controls the on and off of low-latency services; when the switch is off, H5 plays the address by default using hls. Specifically, after the low delay is closed, all accounts are closed with low delay, and the low delay is switched to hls for playing. The on condition indicates that low latency services are currently available. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In some optional embodiments, the page end is further configured to: under the condition of logging in an account, if an opening operation of a low-delay live broadcast service control aiming at the page end is received, all live broadcast rooms under the account can use the low-delay live broadcast service; under the condition of logging in the account, if the closing operation of the low-delay live broadcast service control aiming at the page end is received, the low-delay live broadcast service can not be used by all live broadcast rooms under the account. By the method, the low-delay live broadcast service control of the page end can be used for opening and closing the low-delay live broadcast service of all live broadcast rooms under the account. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In a specific example, the account-low delay switch is used by a user, the low delay function is required to be started at the account level, if the low delay live broadcast authority is not started by the current account, the low delay live broadcast cannot be performed among all live broadcast rooms of the account, so that the account level is convenient to uniformly manage the low delay authority, and one-key opening and closing are realized. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
In some optional embodiments, the page end is further configured to: under the condition of logging in the account, if an opening operation of a low-delay live broadcast service control for a live broadcast room in the page end is received, the live broadcast room under the account can use the low-delay live broadcast service; and under the condition of logging in the account, if a closing operation of a low-delay live broadcast service control of a live broadcast room in the page end is received, the live broadcast room under the account cannot use the low-delay live broadcast service. By the method, the low-delay live broadcast service of the live broadcast room in the page end can be started and closed. It will be appreciated that the above description is exemplary only, and that the present embodiment is not limited in any way.
The live broadcast delay of the live broadcast system of online education provided by the embodiment at the H5 end is reduced from 10 seconds to 1 second, and live broadcast interaction experience is greatly enhanced. In addition, the delay difference among audiences is less than 500ms, and the requirements of the educational strong synchronous scene are met.

Claims (10)

1. A live broadcast system for online education, the system comprising:
the live broadcast pushing end is in communication connection with the cloud live broadcast platform, the cloud live broadcast platform is in communication connection with the content distribution network and the page end respectively, and the page end is in communication connection with the content distribution network,
the live broadcast pushing end is used for dividing an online education video stream to be pushed into video fragments by adopting an RTMP live broadcast protocol, dividing the video fragments into video packets, audio packets and protocol packets, and pushing the video packets, the audio packets and the protocol packets to the cloud live broadcast platform respectively through established different channels;
the cloud live broadcast platform is used for pushing the video packet, the audio packet and the protocol packet to the content distribution network through established different channels by adopting an RTMP live broadcast protocol;
the page end is used for receiving the operation of a learner on the online education video stream playing control in the page end, generating an online education video stream playing request according to the operation, sending the online education video stream playing request to the cloud live broadcast platform, receiving a low-delay playing address of the online education video stream returned by the cloud live broadcast platform according to the online education video stream playing request, pulling the low-delay online education video stream from the low-delay live broadcast service of the content distribution network according to the low-delay playing address of the online education video stream, and playing the low-delay online education video stream.
2. The online educational live broadcast system of claim 1, wherein the cloud live platform is further configured to:
under the condition that the domain name meets the admission standard, verifying the attribution right of the domain name by a DNS analysis verification mode or a file verification mode;
after confirming the attribution right of the domain name, adding the domain name, configuring the service type of the domain name as a broadcast stream domain name, and associating the broadcast stream domain name with a corresponding push stream domain name to create the broadcast stream domain name for low-delay playing of the online education video stream.
3. The online educational live broadcast system of claim 2, wherein the cloud live platform is further configured to:
and according to the splicing rule of the low-delay play address, splicing the broadcast stream domain name for low-delay play of the online education video stream, the application name created under the broadcast stream domain name for low-delay play of the online education video stream, the live stream name created under the application name, the identification of a transcoding template of the live stream, a timestamp authentication string, a random number authentication string, an additional parameter authentication string and a verification string calculated through an md5 algorithm to generate the low-delay play address.
4. The live system of online education of claim 1 wherein the page side is further configured to:
and generating a pulling request of the low-delay online education video stream according to the low-delay playing address, sending the pulling request to the low-delay live broadcast service of the content distribution network, and receiving the low-delay online education video stream returned by the low-delay live broadcast service of the content distribution network according to the pulling request.
5. The online educational live broadcast system of claim 4, wherein the low-latency live broadcast service of the content distribution network is configured to:
if the invalidation time of the low-delay playing address carried in the pulling request is less than the current time, confirming that the low-delay playing address carried in the pulling request is out of date and invalidation, and returning the information of the expiration and invalidation of the low-delay playing address to the page end;
if judging that the failure time of the low-delay play address carried in the pull request is greater than or equal to the current time, constructing a character string identical to an authentication string in the low-delay play address;
calculating a hash value of a character string identical to an authentication string in the low-delay play address by using an MD5 algorithm, and comparing the hash value with the hash value in the low-delay play address;
if the comparison result is the same, confirming that the authentication of the low-delay playing address carried in the pull request passes, and returning the low-delay online education video stream to the page end;
if the comparison results are different, confirming that the authentication of the low-delay play address carried in the pull request is not passed, and returning information that the authentication of the low-delay play address carried in the pull request is not passed to the page end.
6. The online educational live system of claim 5, wherein the low-latency live service of the content distribution network is further configured to:
and carrying out service and node dual upgrade on the content distribution network, monitoring and targeted optimization aiming at the full-link live broadcast index, carrying out a series of bottom core technology optimization through an intelligent scheduling system and network congestion, anti-weak network optimization and buffering strategies, and then adopting RTP (real time protocol) based on UDP (user datagram protocol) to send the low-delay online education video stream in the node of the content distribution network to the page end.
7. The online educational live broadcast system of claim 1, wherein the cloud live platform is further configured to:
if the opening operation of the low-delay live broadcast service control aiming at the cloud live broadcast platform is received, generating the low-delay play address, and providing the low-delay live broadcast service by using the low-delay play address;
and if the closing operation of the low-delay live broadcast service control aiming at the cloud live broadcast platform is received, generating a playing address of an HLS protocol, and providing high-delay live broadcast service by using the playing address of the HLS protocol.
8. The live system of online education of claim 1 wherein the page side is further configured to:
under the condition of logging in an account, if an opening operation of a low-delay live broadcast service control aiming at the page end is received, all live broadcast rooms under the account can use the low-delay live broadcast service;
under the condition of logging in the account, if the closing operation of the low-delay live broadcast service control aiming at the page end is received, the low-delay live broadcast service can not be used by all live broadcast rooms under the account.
9. The live system of online education of claim 8 wherein the page side is further configured to:
under the condition of logging in the account, if an opening operation of a low-delay live broadcast service control for a live broadcast room in the page end is received, the live broadcast room under the account can use the low-delay live broadcast service;
and under the condition of logging in the account, if a closing operation of a low-delay live broadcast service control of a live broadcast room in the page end is received, the live broadcast room under the account cannot use the low-delay live broadcast service.
10. The live system of online education according to any one of claims 1 to 9 wherein the page side is a player of an HTML5 page in a browser of a terminal device and a software development kit of the low-latency live service is embedded in a code of the HTML5 page.
CN202111216193.0A 2021-10-19 2021-10-19 Live broadcast system of online education Active CN113965769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111216193.0A CN113965769B (en) 2021-10-19 2021-10-19 Live broadcast system of online education

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111216193.0A CN113965769B (en) 2021-10-19 2021-10-19 Live broadcast system of online education

Publications (2)

Publication Number Publication Date
CN113965769A CN113965769A (en) 2022-01-21
CN113965769B true CN113965769B (en) 2023-08-08

Family

ID=79465391

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111216193.0A Active CN113965769B (en) 2021-10-19 2021-10-19 Live broadcast system of online education

Country Status (1)

Country Link
CN (1) CN113965769B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114630151A (en) * 2022-03-10 2022-06-14 广州方硅信息技术有限公司 Live list processing method, device and equipment based on stream authentication and storage medium
CN116128453B (en) * 2023-02-18 2024-05-03 广州市点易资讯科技有限公司 Online course inspection method, system, equipment and medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306959A (en) * 2015-10-24 2016-02-03 广东医群科技有限公司 Low-delay adaptive network live broadcast system,
CN108289187A (en) * 2017-07-31 2018-07-17 深圳银澎云计算有限公司 Network direct broadcasting accesses video-meeting method and system
CN108924609A (en) * 2018-07-13 2018-11-30 广州虎牙信息科技有限公司 Method, electronic equipment, device and the storage medium of transmission of flow media data
CN108965428A (en) * 2018-07-13 2018-12-07 广州虎牙信息科技有限公司 The transmission method of live data, device, electronic equipment, system
CN109151497A (en) * 2018-08-06 2019-01-04 广州虎牙信息科技有限公司 A kind of even wheat live broadcasting method, device, electronic equipment and storage medium
CN110365997A (en) * 2019-08-06 2019-10-22 全播教育科技(广东)有限公司 A kind of the interactive teaching live broadcasting method and system of low latency
CN110536146A (en) * 2019-08-19 2019-12-03 广州点云科技有限公司 A kind of live streaming based on cloud game is started broadcasting method, apparatus and storage medium
CN111064973A (en) * 2019-11-28 2020-04-24 湖北工业大学 Live broadcast system based on IPV9
CN112367525A (en) * 2020-10-20 2021-02-12 北京大学 Online classroom video live broadcasting system and method based on classroom old equipment
CN113285947A (en) * 2021-05-21 2021-08-20 烽火通信科技股份有限公司 HLS live broadcast and multicast live broadcast connection method and device
CN113473158A (en) * 2021-06-30 2021-10-01 北京百度网讯科技有限公司 Live broadcast data processing method, device, electronic equipment, medium and program product

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201410550D0 (en) * 2014-06-13 2014-07-30 Scott Lionel Data transmission

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306959A (en) * 2015-10-24 2016-02-03 广东医群科技有限公司 Low-delay adaptive network live broadcast system,
CN108289187A (en) * 2017-07-31 2018-07-17 深圳银澎云计算有限公司 Network direct broadcasting accesses video-meeting method and system
CN108924609A (en) * 2018-07-13 2018-11-30 广州虎牙信息科技有限公司 Method, electronic equipment, device and the storage medium of transmission of flow media data
CN108965428A (en) * 2018-07-13 2018-12-07 广州虎牙信息科技有限公司 The transmission method of live data, device, electronic equipment, system
CN109151497A (en) * 2018-08-06 2019-01-04 广州虎牙信息科技有限公司 A kind of even wheat live broadcasting method, device, electronic equipment and storage medium
CN110365997A (en) * 2019-08-06 2019-10-22 全播教育科技(广东)有限公司 A kind of the interactive teaching live broadcasting method and system of low latency
CN110536146A (en) * 2019-08-19 2019-12-03 广州点云科技有限公司 A kind of live streaming based on cloud game is started broadcasting method, apparatus and storage medium
CN111064973A (en) * 2019-11-28 2020-04-24 湖北工业大学 Live broadcast system based on IPV9
CN112367525A (en) * 2020-10-20 2021-02-12 北京大学 Online classroom video live broadcasting system and method based on classroom old equipment
CN113285947A (en) * 2021-05-21 2021-08-20 烽火通信科技股份有限公司 HLS live broadcast and multicast live broadcast connection method and device
CN113473158A (en) * 2021-06-30 2021-10-01 北京百度网讯科技有限公司 Live broadcast data processing method, device, electronic equipment, medium and program product

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HLS流媒体技术在广播电视网络直播系统的应用;魏雪飞;周祥;;广播电视信息(第09期);全文 *

Also Published As

Publication number Publication date
CN113965769A (en) 2022-01-21

Similar Documents

Publication Publication Date Title
CN110536146B (en) Live broadcast method and device based on cloud game and storage medium
CN113965769B (en) Live broadcast system of online education
KR101722673B1 (en) Method and system for providing time machine function in live broadcast
US9203910B2 (en) Geofiltering for content by location
KR101633769B1 (en) System and method for secure asynchronous event notification for adaptive streaming based on iso base media file format
US20130080268A1 (en) Multi-platform media syndication customization
US20130080579A1 (en) Dynamically-executed syndication services
CN106254951B (en) A kind of net cast creation method and its system, access device, management equipment
US20130144714A1 (en) Method, Apparatus and System for Supporting Advertisement Contents in HTTP Streaming Play Mode
US20090222515A1 (en) Methods and apparatus for transferring data
KR20170007427A (en) Token-based authentication and authorization information signaling and exchange for adaptive streaming
US8621576B2 (en) System and method of multimedia access
WO2013097454A1 (en) Video inter-cut method, device and system
CN103702178B (en) A kind of playback method and electronic equipment
US20150206208A1 (en) Method and System for Charging and Fee Sharing According to Network Video Playing Amount
KR102586630B1 (en) Receiving devices, transmitting devices, and data processing methods
US20130339500A1 (en) Simulation of Network Conditions for Video Delivery
US9485296B1 (en) Distribution network providing customized content at delivery
CN113256375A (en) Cloud system streaming processing method and related device
KR101313592B1 (en) Computing device and method for streaming
CN108200452B (en) Web video online playing system capable of preventing downloading and control method thereof
KR101784131B1 (en) Method for providing video using messaging service, api server, and streaming server for providing video
WO2017197817A1 (en) Data processing method and apparatus, electronic device and server
US9283467B1 (en) Method and apparatus for automated collection and sharing of sporting event information
US10911813B1 (en) Providing metadata for live media streams

Legal Events

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