Live broadcast method and device based on private video transmission protocol

By receiving live broadcast requests from the client, initiating streaming requests, pushing video data streams to protocol conversion services, generating CDN playback addresses for content review, it solves the problem that real-time monitoring videos under private protocols are difficult to share publicly and playback flexibility, and achieves an efficient and smooth live broadcast experience.

CN119520832APending Publication Date: 2025-02-25CHINA UNICOM ONLINE INFORMATION TECHNOLOGY CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411579915.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

In the prior art, real-time surveillance videos under private protocols are difficult to be shared publicly, and playback flexibility is limited. It requires integration of SDK or downloading APP. The process is complex and cumbersome, and the playback fluency is poor, resulting in poor user experience.

Method used

By receiving the client's live broadcast request, launching a stream pull request based on the terminal flag, pulling the video data stream based on the data stream transmission channel, pushing it to the protocol conversion service, generating a CDN playback address for content review, and users watch live content through various client applications.

Benefits of technology

There is no need to integrate SDK, simplify processes, reduce bandwidth usage, improve playback fluency, improve user experience, and meet the public's needs for viewing in different network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520832A_ABST
    Figure CN119520832A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication. The invention provides a live broadcast method and device based on a private video transmission protocol, and the method comprises the steps: receiving a live broadcast request from a client, and initiating a pull stream request according to a terminal mark in the live broadcast request; based on the established data stream transmission channel, pulling protocol video data stream data from the corresponding terminal; the streaming media pushes the private protocol video data stream to the protocol conversion service; and sending the generated video stream address as a back-to-source address to a distribution service to generate a CDN playing address, auditing the live broadcast content based on the generated CDN playing address, and selecting the live broadcast content passing the content auditing by a user through various client applications to watch. According to the invention, the private protocol video data stream is pushed to the protocol conversion service, the video data stream converted by the private protocol can be obtained, the occupied broadband is small, the video data stream is not influenced by the network environment, and the playing fluency is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technology and provides a live broadcast method and device based on a private video transmission protocol. Background Art

[0002] With the rapid development of informatization, the Internet and video technology, users have an increasing demand for real-time monitoring. The demand for real-time video is no longer limited to the field of security protection. There is a demand for live broadcast viewing in many occasions and scenes, such as scenic spot landscape promotion, restaurant dining environment promotion, and real-time viewing of scenic spot / restaurant queues. However, real-time monitoring under traditional private protocols is often limited to specific playback software, which is difficult to achieve public sharing, limiting the scope of information dissemination and utilization value. Through technical means, the real-time monitoring video of the enterprise standard protocol can be safely and efficiently converted, and slow live broadcast services can be provided to the outside world to meet the public's demand for live viewing in various scenes. Therefore, it is particularly important to be able to convert the real-time monitoring video under the enterprise standard protocol into a public slow live broadcast method.

[0003] The existing technology has the following problems: limited flexibility, playback requires the integration of SDK to meet the needs of, for example, H5 pages, mini-programs, large-screen playback, etc. Users need to download and register an APP to watch, and the process is complicated and cumbersome; the playback fluency is poor, and private protocol video streams cannot be connected to CDN distribution. When users watch videos, one person uses one video stream, which is directly pulled from the video source station. The bandwidth is large and is affected by the network environment, resulting in poor playback fluency such as freezes, which leads to a poor user experience.

[0004] Therefore, it is necessary to provide a live broadcast method based on a private video transmission protocol to solve the above problems. Summary of the invention

[0005] The present invention provides a live broadcast method and device based on a private video transmission protocol to solve the problems in the prior art that the playback flexibility is limited, SDK integration or APP download is required, the entire playback process is complicated and cumbersome, the stream needs to be pulled directly from the video source station during playback, resulting in large bandwidth occupancy and poor playback fluency due to the influence of the network environment, such as freezes during the viewing process, and poor user experience. The technical problems to be solved by the present invention are achieved through the following technical solutions.

[0006] The first aspect of the present invention proposes a live broadcast method based on a private video transmission protocol, the live broadcast method comprising: receiving a live broadcast request from a client, and initiating a stream pull request according to a terminal flag in the live broadcast request; based on the established data stream transmission channel, and pulling the protocol video data stream data from the corresponding terminal; the streaming media pushes the private protocol video data stream to the protocol conversion service; the generated video stream address is sent as a back-source address to the distribution service to generate a CDN playback address, and the live broadcast content is reviewed based on the generated CDN playback address; the generated video stream address is sent as a back-source address to the distribution service to generate a CDN playback address, and the live broadcast content is reviewed based on the generated CDN playback address; the user selects the live broadcast content that has passed the content review to watch through various client applications.

[0007] The second aspect of the present invention proposes a live broadcast device based on a private video transmission protocol, which executes the live broadcast method described in the first aspect of the present invention, and the live broadcast device includes: a receiving module, which receives a live broadcast request from a client, and initiates a stream pull request according to a terminal flag in the live broadcast request; a pulling module, which is based on an established data stream transmission channel and pulls protocol video data stream data from a corresponding terminal; a pushing module, in which the streaming media pushes the private protocol video data stream to a protocol conversion service; a distribution module, which sends the generated video stream address as a back-source address to a distribution service to generate a CDN playback address, and performs live broadcast content review based on the generated CDN playback address; a viewing module, in which users select live broadcast content that has passed content review to watch through various client applications.

[0008] The third aspect of the present invention provides an electronic device, comprising: 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 live broadcast method described in the first aspect of the present invention.

[0009] A fourth aspect of the present invention provides a computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the live broadcast method described in the first aspect of the present invention.

[0010] The embodiments of the present invention include the following advantages:

[0011] Compared with the prior art, the present invention receives a live broadcast request from a client, and initiates a stream pull request according to a terminal flag in the live broadcast request; based on the established data stream transmission channel, the protocol video data stream data is pulled from the corresponding terminal without the need to integrate an SDK, which can effectively simplify the process; the streaming media pushes the private protocol video data stream to the protocol conversion service, and can obtain the video data stream converted by the private protocol, which occupies a small amount of bandwidth and is not affected by the network environment, thereby improving the playback fluency; the generated video stream address is sent as the back-source address to the distribution service to generate a CDN playback address, and the live content is reviewed based on the generated CDN playback address; users choose to watch the live content that has passed the content review through various client applications, which can improve the user experience.

[0012] In addition, this method not only retains the real-time and accuracy of real-time monitoring, but also improves the viewing experience through slow live broadcast, reduces network bandwidth requirements, and facilitates public viewing in different network environments. It can effectively meet the needs of showing production conditions to the public, enhancing transparency and attracting public attention. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a flowchart of the steps of the live broadcast method based on the private video transmission protocol of the present invention;

[0014] Figure 2 It is a schematic diagram of a framework of an application example of the live broadcast method based on a private video transmission protocol of the present invention;

[0015] Figure 3 It is a partial flow chart of the live broadcast method based on the private video transmission protocol of the present invention;

[0016] Figure 4 It is a structural block diagram of a live broadcast device based on a private video transmission protocol of the present invention;

[0017] Figure 5 is a schematic structural diagram of an electronic device embodiment according to the present invention;

[0018] Figure 6 It is a schematic diagram of the structure of a computer-readable medium embodiment according to the present invention. DETAILED DESCRIPTION

[0019] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0020] In view of the above problems, the present invention proposes a live broadcast method based on a private video transmission protocol. The live broadcast method receives a live broadcast request from a client, and initiates a stream pull request according to the terminal flag in the live broadcast request; based on the established data stream transmission channel, the protocol video data stream data is pulled from the corresponding terminal, without the need to integrate SDK, which can effectively simplify the process; the streaming media pushes the private protocol video data stream to the protocol conversion service, and can obtain the video data stream converted by the private protocol, which occupies a small bandwidth and is not affected by the network environment, thereby improving the playback fluency; the generated video stream address is sent to the distribution service as the back-source address to generate a CDN playback address, and the live broadcast content is reviewed based on the generated CDN playback address; users choose to watch the live broadcast content that has passed the content review through various client applications, which can improve the user experience. In addition, the method not only retains the real-time and accuracy of real-time monitoring, but also improves the viewing experience (i.e., user experience) through the slow live broadcast form, reduces the network bandwidth requirements, and is convenient for the public to watch in different network environments in order to meet the needs of showing the production situation to the public, enhancing transparency, and attracting public attention.

[0021] Example 1

[0022] Refer to the following Figure 1 , Figure 2 , Figure 3 , the contents of the present invention will be described in detail.

[0023] Figure 1 It is a flow chart of the steps of the live broadcast method based on the private video transmission protocol of the present invention. Figure 2 It is a schematic diagram of a framework of an application example of the live broadcast method based on a private video transmission protocol of the present invention.

[0024] like Figure 1 As shown, in step S101, a live broadcast request from a client is received, and a stream pull request is initiated according to a terminal flag in the live broadcast request.

[0025] exist Figure 2 The application examples include clients, streaming media services (such as enterprise standard protocol streaming media services), protocol conversion services, CDN distribution services, content review services, and terminals. Among them, clients generally refer to devices that can broadcast or watch live broadcasts, which can be smart phones and tablets, but are not limited to them; terminals generally refer to monitoring devices including pan-tilt cameras, gun cameras, etc.

[0026] Specifically, the client initiates a live broadcast request (eg, a slow live broadcast request) to the streaming media service. After the streaming media service passes the authentication, it initiates a stream pull request to the terminal according to the terminal flag in the request.

[0027] In this example, the streaming service is a service that plays multimedia content such as music and videos in real time over the Internet using a private video protocol transmission technology.

[0028] The private video protocol specifically includes video data packet format, video encoding format, audio encoding format, signaling message, key frame information, and group of pictures (GOP) information.

[0029] Corresponding to the private video protocol, the customized private transmission protocol includes parameters or information related to video data packet format, video encoding format, audio encoding format, signaling messages, key frame information, picture group information, etc.

[0030] The protocol conversion service converts the customized private transmission protocol video stream into a universal protocol video stream such as Real-time Streaming Protocol (RTSP), Real-time Messaging Protocol (RTMP), http+flv, etc.

[0031] It should be noted that the above is only described as an optional example and should not be understood as a limitation to the present invention.

[0032] Next, in step S102, based on the established data stream transmission channel, the protocol video data stream data is pulled from the corresponding terminal.

[0033] Specifically, a data stream transmission channel is established based on the streaming media and the terminal, which will be explained below in conjunction with the device binding process.

[0034] During the device binding process, a data stream transmission channel is established.

[0035] During the device binding process, if Figure 3 As shown, for example, Camera is used to represent the camera device, dns is used to represent the addressing server, relay is used to represent the streaming media, and esd is used to represent the message bus.

[0036] Specifically, after the camera successfully connects to the wired network, it obtains and adds the streaming media address from the DNS, connects (or links) the camera to the streaming media, but does not log in. Then, it sends a request to the streaming media (i.e. Figure 3 The streaming media forwards the GetWiredinfo request to the message bus, performs addressing, and finds the corresponding streaming media (corresponding to Figure 3 The streaming media sends binding information to the streaming media, and after the APP scans the QR code on the body, it initiates wired binding (or initiates a binding request) to the message bus, and then the streaming media forwards the binding information to the camera. In this way, the streaming media and the terminal (such as the APP) establish a data stream transmission channel.

[0037] Specifically, according to the video that the user selects to watch in the APP or mini-program application terminal, the protocol video data stream data is pulled from the corresponding terminal according to the corresponding device information of the deployment point. The protocol video data stream data includes outdoor real-time live video data, such as real-time live data of scenic spots, real-time video data of farms, real-time data of zoo animal adoption, etc.

[0038] It should be noted that the above is only described as an optional example and should not be understood as a limitation to the present invention.

[0039] Next, in step S103, the streaming media pushes the private protocol video data stream to the protocol conversion service.

[0040] Specifically, the streaming media pushes the private protocol video data stream formed by the real-time live broadcast data of scenic spots, real-time video data of farms, real-time data of zoo animal adoption, etc. to the protocol conversion service.

[0041] After receiving the private protocol video data stream, the protocol conversion service performs protocol conversion, converts it into a universal protocol video stream, and generates a video stream address, such as an address containing characters or specific symbols related to real-time live data of scenic spots, real-time video data of farms, and real-time data of zoo animal adoption. For example, https: / / cmds-test.wojiazongguan.cn:443 / live / 347563cd6b2b.live.flv? auth_key=4879209266-8fdf036bd2e85f6eedb3aefc805d1b6e-cfd1a1ab7a5573977e4d809cd2426c2c22ed3fb80e69583c21ead7d6fef938 90909bbd1d14d00e04afdd0098bcf0167ab6146bb9177f70a7e8c22e9c31bc08eb8615633f1309083bf58500717ab1efdb4ecc3f90d1bf90b8). Among them, the protocol conversion service includes private protocol conversion, and the private protocol conversion adopts a private protocol packet algorithm, specifically parsing the private protocol packet data into raw stream data according to the MediaPackage message header definition field.

[0042] First, check the packet header information: The packet header contains some flags and fields to identify the packet type, length, timestamp, and other information. By parsing the header information, you can determine whether the packet is a video packet, an audio packet, or another type of packet. Video packets usually contain video frame data, while audio packets contain audio sample data.

[0043] The two types of data packets are distinguished based on the specific flag bits or fields in the header information. The video frame data is extracted based on the data location information defined in the MediaPackage message header, such as bit7 for video, bit1 for key frame information, and bit4 for video data configuration information, including data start position, data length and other information.

[0044] Video data extraction: Extract video frame data from data packets according to the video encoding format specifications. Video frames may be key frames (I frames), predicted frames (P frames), or bidirectional predicted frames (B frames). Each video frame usually contains pixel data of the image and related encoding information.

[0045] Processing video timestamps: Video packets usually contain timestamp information for synchronizing video playback. During the unpacking process, the timestamp needs to be extracted and compared with the timestamps of other video frames to ensure the correct playback order of the video and extract the audio and video raw stream data.

[0046] Extract audio sample data: extract audio sample data from audio data packets. Audio sample data is usually a series of digital values ​​that represent the intensity and frequency of the sound.

[0047] Processing audio timestamps: Audio packets may also contain timestamp information for synchronizing audio playback. Timestamps need to be extracted during the unpacking process and synchronized with video timestamps to ensure synchronous playback of audio and video.

[0048] Finally, after obtaining the raw stream data, it is encapsulated according to the target protocol (RTSP / RTMP / HSL / FLV) protocol standard format to finally convert it into the target protocol video data stream.

[0049] The private protocol packaging algorithm is used, including encapsulating file identifiers, using characters on designated positions to indicate whether a video tag is included, and encapsulating FLV Body (including Tag Header, Tag Data, and extended bytes of timestamp, with an extended range of 24-bit to 6-bit), etc., where FLV is FlashVideo. After packaging, it is finally converted into an FLV video data stream.

[0050] Preferably, the raw stream data is format converted and video compressed while parsing the private protocol, and the raw stream data is packaged according to the target protocol (RTSP / RTMP / HSL / FLV) protocol standard to obtain universal protocol video stream data, which is then distributed through streaming media.

[0051] It should be noted that the above is only described as an optional example and should not be understood as a limitation to the present invention.

[0052] Next, in step S104, the generated video stream address is sent as a back-to-source address to a distribution service to generate a CDN playback address, and a live content review is performed based on the generated CDN playback address.

[0053] Specifically, the generated video stream address is sent as the back-to-source address to the distribution service (specifically, CDN distribution service) to generate a CDN playback address. CDN distribution service caches video content on server nodes distributed in various regions, so that when users request a video, they can directly obtain the content from the nearest CDN node, thereby reducing transmission delays and improving playback fluency.

[0054] Preferably, CDN nodes can cache videos of different resolutions and formats according to the popularity of the videos and user needs. When a user requests a video, the CDN node selects the appropriate video version and returns it to the user based on the user's network conditions and request parameters, thereby dynamically adjusting the video's clarity and format and improving the video's adaptability and compatibility. For example, the CDN node generates distribution addresses of different resolutions (720P, 1080P, 2K) and formats (HLS, FLV, RTMP, etc.) by transcoding and compressing the source video stream based on the return-to-source address, and adapts and returns the appropriate video address based on the user's network conditions and the required video format.

[0055] After the CDN playback address is generated, the content review service is notified to pull the stream to review the live content. If illegal content is found, the live source will be cut off in time.

[0056] For example, the generated video stream address https: / / cmds-test.wojiazongguan.cn:421 / live / 3**b.live.flv?auth_key=4-890-p00000008 is sent as the back-source address to the distribution service to generate a CDN playback address.

[0057] Next, in step S105, the user selects live broadcast content that has passed content review to watch through various client applications.

[0058] Based on CDN video distribution, a video stream is pulled and pushed to the AI ​​review platform. The AI ​​review platform analyzes whether the image violates the rules by taking screenshots of the video stream.

[0059] For example, users can use the client application APP on their mobile phones or tablets to select real-time live data of scenic spots that have passed content review, real-time video data of farms, and real-time data on zoo animal adoptions for viewing.

[0060] Compared with the prior art, the present invention receives a live broadcast request from a client, and initiates a stream pull request according to a terminal flag in the live broadcast request; based on the established data stream transmission channel, the protocol video data stream data is pulled from the corresponding terminal without the need to integrate an SDK, which can effectively simplify the process; the streaming media pushes the private protocol video data stream to the protocol conversion service, and can obtain the video data stream converted by the private protocol, which occupies a small amount of bandwidth and is not affected by the network environment, thereby improving the playback fluency; the generated video stream address is sent as the back-source address to the distribution service to generate a CDN playback address, and the live content is reviewed based on the generated CDN playback address; users choose to watch the live content that has passed the content review through various client applications, which can improve the user experience.

[0061] In addition, this method not only retains the real-time and accuracy of real-time monitoring, but also improves the viewing experience through slow live broadcast, reduces network bandwidth requirements, and facilitates public viewing in different network environments. It can effectively meet the needs of showing production conditions to the public, enhancing transparency and attracting public attention.

[0062] Example 2

[0063] The following are embodiments of the device of the present invention, which can be used to implement the method embodiments of the present invention. For details not disclosed in the device embodiments of the present invention, please refer to the method embodiments of the present invention.

[0064] Figure 4 1 is a schematic diagram of an example of a live broadcast device based on a private video transmission protocol according to the present invention. Figure 4 , a live broadcast device based on a private video transmission protocol is described. The device is used to execute the live broadcast method based on a private video transmission protocol described in the first aspect of the present invention.

[0065] like Figure 4 As shown, the live broadcast device 400 includes a receiving module 410, a pulling module 420, a pushing module 430, a distribution module 440, and a viewing module 450.

[0066] In a specific embodiment, the receiving module 410 is used to receive a live broadcast request from a client, and initiate a stream pull request according to the terminal flag in the live broadcast request. The pulling module 420 pulls the protocol video data stream data from the corresponding terminal based on the established data stream transmission channel. The push module 430 streaming media pushes the private protocol video data stream to the protocol conversion service. The distribution module 440 sends the generated video stream address as the back-source address to the distribution service to generate a CDN playback address, and performs live content review based on the generated CDN playback address. The viewing module 450 allows users to select live content that has passed content review to watch through various client applications.

[0067] According to an optional implementation manner, the protocol conversion service includes private protocol conversion, and the private protocol conversion adopts a private protocol packet algorithm, specifically parsing the private protocol packet data into raw stream data according to the MediaPackage message header definition field.

[0068] According to an optional implementation, a private protocol packaging algorithm is used, which specifically includes encapsulating file identifiers, using characters on specified bits to indicate whether a video tag is included, and encapsulating FLVBody. After encapsulation, it is finally converted into an FLV video data stream, which specifically includes: an extended byte containing a timestamp, and the extension range is from 24 bits to 6 bits.

[0069] According to an optional implementation method, during the device binding process, a data stream transmission channel is established; the streaming media pushes the private protocol video data stream formed by the real-time live data of scenic spots, real-time video data of farms, and real-time data of zoo animal adoption to the protocol conversion service.

[0070] According to an optional implementation manner, the private video protocol specifically includes a video data packet format, a video encoding format, an audio encoding format, a signaling message, key frame information, and picture group information.

[0071] According to an optional implementation mode, the user selects the real-time live data of scenic spots and attractions that have passed the content review, the real-time video data of farms, and the real-time data of zoo animal adoption through the client application APP on the mobile phone or tablet for viewing.

[0072] It should be noted that due to Figure 4 Live broadcast method performed by a live broadcast device and Figure 1 The live broadcast methods in the examples are roughly the same, so the description of the same parts is omitted.

[0073] Compared with the prior art, the present invention receives a live broadcast request from a client, and initiates a stream pull request according to a terminal flag in the live broadcast request; based on the established data stream transmission channel, the protocol video data stream data is pulled from the corresponding terminal without the need to integrate an SDK, which can effectively simplify the process; the streaming media pushes the private protocol video data stream to the protocol conversion service, and can obtain the video data stream converted by the private protocol, which occupies a small amount of bandwidth and is not affected by the network environment, thereby improving the playback fluency; the generated video stream address is sent as the back-source address to the distribution service to generate a CDN playback address, and the live content is reviewed based on the generated CDN playback address; users choose to watch the live content that has passed the content review through various client applications, which can improve the user experience.

[0074] In addition, this method not only retains the real-time and accuracy of real-time monitoring, but also improves the viewing experience through slow live broadcast, reduces network bandwidth requirements, and facilitates public viewing in different network environments. It can effectively meet the needs of showing production conditions to the public, enhancing transparency, and attracting public attention.

[0075] Figure 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

[0076] like Figure 5 As shown, the electronic device is presented in the form of a general computing device. The processor may be one or more and work in coordination. The present invention does not exclude distributed processing, that is, the processor may be dispersed in different physical devices. The electronic device of the present invention is not limited to a single entity, but may also be the sum of multiple physical devices.

[0077] The memory stores a computer executable program, which is usually a machine-readable code. The computer-readable program can be executed by the processor to enable the electronic device to perform the method of the present invention, or at least part of the steps in the method.

[0078] The memory includes a volatile memory, such as a random access memory unit (RAM) and / or a cache memory unit, and may also be a non-volatile memory, such as a read-only memory unit (ROM).

[0079] Optionally, in this embodiment, the electronic device further includes an I / O interface, which is used for the electronic device to exchange data with an external device. The I / O interface can represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus using any of a variety of bus structures.

[0080] It should be understood that Figure 5 The electronic device shown is only an example of the present invention, and the electronic device of the present invention may also include elements or components not shown in the above examples. For example, some electronic devices also include display units such as display screens, and some electronic devices also include human-computer interaction elements such as buttons, keyboards, etc. As long as the electronic device can execute the computer-readable program in the memory to implement the method of the present invention or at least part of the steps of the method, it can be considered as an electronic device covered by the present invention.

[0081] Through the above description of the implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by combining software with necessary hardware. Figure 6As shown, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of commands to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the embodiment of the present invention.

[0082] The software product may be any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0083] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by a command execution system, an apparatus, or a device or for use in combination with the program. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0084] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0085] The computer-readable medium carries one or more programs. When the one or more programs are executed by a device, the computer-readable medium implements the data interaction method of the present disclosure.

[0086] Those skilled in the art will appreciate that the above modules can be distributed in the device according to the description of the embodiment, or can be changed accordingly and only used in one or more devices different from the embodiment. The modules of the above embodiments can be combined into one module, or further divided into multiple sub-modules.

[0087] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several commands to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.

[0088] It should be noted that the above detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the art to which the present application belongs.

[0089] In the above detailed description, reference is made to the accompanying drawings, which form a part of this document. In the accompanying drawings, similar symbols typically identify similar components unless the context indicates otherwise. The illustrated embodiments described in the detailed description, drawings, and claims are not meant to be limiting. Other embodiments may be used, and other changes may be made, without departing from the spirit or scope of the subject matter presented herein.

[0090] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A live broadcast method based on a private video transmission protocol, characterized in that: The live broadcast method comprises: Receive a live broadcast request from the client, and initiate a stream pull request based on the terminal flag in the live broadcast request; Based on the established data stream transmission channel, the protocol video data stream data is pulled from the corresponding terminal; The streaming media pushes the private protocol video data stream to the protocol conversion service; The generated video stream address is sent as the back-to-source address to the distribution service to generate a CDN playback address, and the live content is reviewed based on the generated CDN playback address; Users can use various client applications to choose live broadcast content that has passed content review to watch.

2. The live broadcast method according to claim 1, characterized in that: include: The protocol conversion service includes private protocol conversion, which adopts a private protocol packet algorithm to parse private protocol packet data into raw stream data according to the MediaPackage message header definition field.

3. The live broadcast method according to claim 2, characterized in that: include: A private protocol packaging algorithm is used, which specifically includes encapsulating file identifiers, using characters on specified bits to indicate whether a video tag is included, and encapsulating FLV Body. After encapsulation, it is finally converted into an FLV video data stream, which specifically includes: Contains the extended byte of the timestamp, which can be extended from a 24-bit value to a 6-bit value.

4. The live broadcast method according to claim 1, characterized in that: include: During the device binding process, a data stream transmission channel is established; The streaming media pushes the private protocol video data stream formed by the real-time live broadcast data of scenic spots, real-time video data of farms, and real-time data of zoo animal adoption to the protocol conversion service.

5. The live broadcast method according to claim 1, characterized in that: include: The private video protocol specifically includes a video data packet format, a video encoding format, an audio encoding format, a signaling message, key frame information, and picture group information.

6. The live broadcast method according to claim 1, characterized in that: include: Users can use the client application APP on their mobile phones or tablets to select real-time live data of scenic spots that have passed content review, real-time video data of farms, and real-time data on zoo animal adoptions for viewing.

7. A live broadcast device based on a private video transmission protocol, characterized in that: It implements the live broadcast method according to any one of claims 1 to 6, and the live broadcast device comprises: The receiving module receives the live broadcast request from the client and initiates a stream pull request according to the terminal flag in the live broadcast request; A pulling module, based on the established data stream transmission channel, pulls the protocol video data stream data from the corresponding terminal; Push module, the streaming media pushes the private protocol video data stream to the protocol conversion service; The distribution module sends the generated video stream address as the back-to-source address to the distribution service to generate a CDN playback address, and performs live content review based on the generated CDN playback address; In the viewing module, users can choose to watch live content that has passed content review through various client applications.

8. The live broadcast device according to claim 7, characterized in that: include: The protocol conversion service includes private protocol conversion, which adopts a private protocol packet algorithm to parse private protocol packet data into raw stream data according to the MediaPackage message header definition field.

9. The live broadcast device according to claim 8, characterized in that: include: A private protocol packaging algorithm is used, which specifically includes encapsulating file identifiers, using characters on specified bits to indicate whether a video tag is included, and encapsulating FLV Body. After encapsulation, it is finally converted into an FLV video data stream, which specifically includes: Contains the extended byte of the timestamp, which can be extended from a 24-bit value to a 6-bit value.

10. The live broadcast device according to claim 7, characterized in that: include: During the device binding process, a data stream transmission channel is established; The streaming media pushes the private protocol video data stream formed by the real-time live broadcast data of scenic spots, real-time video data of farms, and real-time data of zoo animal adoption to the protocol conversion service.

Citation Information

Patent Citations

  • Video live broadcasting method and system, transcoding server and webpage client

    CN105516739A

  • Method and system for acquiring monitoring videos

    CN106162062A

  • Live-broadcasting video forwarding method and device

    CN107592554A

  • Live broadcast processing method, device, equipment and computer-readable medium

    CN109168019A

  • Live broadcast information processing method and device, server and storage medium

    CN110944217A