CN113747183A - Live video sharing method and system and readable storage medium - Google Patents
Live video sharing method and system and readable storage medium Download PDFInfo
- Publication number
- CN113747183A CN113747183A CN202110879000.3A CN202110879000A CN113747183A CN 113747183 A CN113747183 A CN 113747183A CN 202110879000 A CN202110879000 A CN 202110879000A CN 113747183 A CN113747183 A CN 113747183A
- Authority
- CN
- China
- Prior art keywords
- live program
- target live
- code stream
- data
- program code
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000012795 verification Methods 0.000 claims description 20
- 238000004891 communication Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 10
- 230000000694 effects Effects 0.000 abstract description 2
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440263—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
Abstract
The invention provides a live video sharing method, which comprises the following steps: the invention provides a live video sharing method, which is applied to a digital terminal and comprises the following steps: acquiring a target live program code stream according to a trigger instruction; decoding the target live program code stream and forwarding the target live program code stream to first playing equipment; slicing the decoded target live program code stream, adding check data and writing the check data into a built-in database; and forwarding the target live program data in the built-in database to second playing equipment through a 5G module. The invention also discloses a system and a storage medium. According to the invention, the live program video stream is distributed through the digital terminal, and the high-resolution original live program code stream data obtained by decoding, frequency locking and slicing the live program code stream is sent to the third-party playing equipment through the 5G network while the playing effect of the first playing equipment is not influenced, so that a user obtains real-time live watching experience of high-resolution.
Description
Technical Field
The invention relates to the field of communication, in particular to a live video sharing method and system and a readable storage medium.
Background
With the development of science and technology and the popularization of intelligent equipment, the front-end video source is also developed from high definition to high resolution and high definition such as 4K/8K. The current DVB digital terminals can generally support 4K resolution, and a few digital terminals support 8K resolution output. For users to watch conveniently, most digital terminals provide DVB programs to be shared with a mobile phone or another television device for watching. High definition and 4K/8K video occupy higher bandwidth. For example, after H.265 coding, the code rate of a 4K video is 2-10 times that of a high-definition video, and the requirement on the bandwidth is 22.5-75M. 8K and VR set higher requirements for bandwidth, the bandwidth requirement of 8K video is 4 times of 4K, about 90M-300M, and VR is 4-16 times of 4K, about 300M-1.2G. However, due to the limitation of network bandwidth, the current live DVB programs are transcoded, high-resolution transcoding is recoded to low-resolution, and then the high-resolution transcoding is shared to third-party playing equipment such as a mobile phone terminal. With the increase of 4K/8K resources, the experience of a user on ultra-high definition resources is greatly damaged by the current transcoding mode, and the watching requirement of the user on the 4K/8K resources cannot be met.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a live video sharing method, and aims to solve the technical problems that the video resolution is low and the watching requirements of a user on high-definition resources cannot be met due to transcoding and recoding in the existing live video method.
In order to achieve the above object, the present invention provides a live video sharing method applied to a digital terminal, including:
acquiring a target live program code stream according to a trigger instruction;
decoding the target live program code stream and forwarding the target live program code stream to first playing equipment;
slicing the decoded target live program code stream, adding check data and writing the check data into a built-in database;
and forwarding the target live program data in the built-in database to second playing equipment through a 5G module.
Preferably, the step of obtaining the program code stream according to the request of the playing device includes:
the digital terminal comprises at least two tuners, wherein the at least two tuners comprise a first tuner and a second tuner;
the first tuner receives a target live program code stream issued by a DVB network, decodes the target live program code stream and forwards the target live program code stream to the first playing equipment;
and the second tuner slices the decoded target live program code stream, adds check data and writes the check data into a built-in database.
Preferably, the step of decoding and forwarding the target live program code stream to a first playing device includes:
determining a corresponding target live program according to the received trigger instruction;
acquiring a target live program code stream from a DVB network and decoding to obtain target live program data;
and forwarding the target live program data to first playing equipment, wherein the first playing equipment comprises a television terminal bound with the digital terminal.
Preferably, before slicing the decoded target live program code stream, adding the check data, and writing the check data into the built-in database, the method further includes:
detecting whether the target live program code stream is encrypted or scrambled;
descrambling the encrypted or scrambled target live program code stream to obtain target live program data;
and circularly recording the descrambled target live program data.
Preferably, the step of circularly recording the descrambled target live program data further includes:
starting a new process to slice the target live program data while recording;
and adding check data to the sliced target live program data and writing the check data into a built-in database.
Preferably, the digital terminal and the second playing device are connected to the same 5G communication network through a 5G module;
and the second playing device is connected with a 5G module of the digital terminal through a 5G network to obtain target live program data in a built-in database. In addition, in order to achieve the above object, the present invention further provides a live video sharing method, applied to a playing device, including:
the digital terminal is connected to the same 5G network;
sending a target live program playing request to the digital terminal;
acquiring target live program data slice data with verification in a built-in database of the digital terminal through a 5G module of the digital terminal;
verifying the target live program data according to a preset protocol;
if the target live program data passes the verification, caching the target live program data;
and when the target live program is cached to a preset memory, playing the target live program.
In addition, to achieve the above object, the present invention further provides a live video sharing system, including:
the digital terminal is used for analyzing the high-resolution target live program data from DVB broadcast according to the playing request of the playing equipment and transmitting the data to the playing equipment through a 5G network;
the 5G base station is used for transmitting the high-resolution live program data in the DVB broadcast to the playing equipment;
and the playing equipment is used for acquiring and playing the high-resolution live program data through the 5G network.
Preferably, the digital terminal includes:
the first tuner is used for receiving a target live program code stream transmitted by a DVB network, decoding and forwarding the target live program code stream to the first playing equipment;
and the second tuner is used for carrying out frequency locking and slicing on the target live program code stream and writing the target live program code stream into a built-in database.
In addition, to achieve the above object, the present invention also provides a computer readable storage mechanism comprising: the computer-readable storage medium stores a live video sharing program, and the interface loading program realizes any one of the live video sharing methods when being executed by the processor.
The invention provides a live video sharing method, which is applied to a digital terminal and comprises the following steps: acquiring a target live program code stream according to a trigger instruction; decoding the target live program code stream and forwarding the target live program code stream to first playing equipment; slicing the decoded target live program code stream, adding check data and writing the check data into a built-in database; and forwarding the target live program data in the built-in database to second playing equipment through a 5G module. The digital terminal distributes the live program video stream without influencing the playing effect of the first playing device, and simultaneously, the digital terminal transmits the high-resolution original live program code stream data obtained by decoding, frequency locking and slicing the live program code stream to the third-party playing device through the 5G network, so that a user obtains better live watching experience of real-time high-resolution.
Drawings
FIG. 1 is a schematic diagram of a terminal \ device structure of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a live video sharing method according to an embodiment (or a first embodiment) of the present invention;
FIG. 3 is a detailed flowchart of step S20 in FIG. 2;
FIG. 4 is a detailed flowchart of step S30 in FIG. 2;
fig. 5 is a flowchart illustrating a live video sharing method according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a live video sharing system according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: in the prior art, most digital terminals provide DVB programs to be shared with a mobile phone or another television device for viewing, so that users can conveniently view the DVB programs. However, due to the limitation of network bandwidth, the current live DVB programs are transcoded, high-resolution transcoding is recoded to low-resolution, and then the high-resolution transcoding is shared to third-party playing equipment such as a mobile phone terminal. With the increase of 4K/8K resources, the experience of a user on ultra-high definition resources is greatly damaged by the current transcoding mode, and the watching requirement of the user on the 4K/8K resources cannot be met.
The invention provides a live video sharing method, which is based on a 5G network, is applied to a digital terminal and comprises the following steps: connecting the playing device and the same 5G network and establishing binding handshake; acquiring a live broadcast code stream according to a request of second playing equipment; decoding the live code stream and forwarding the decoded live code stream to the first playing device, and meanwhile, carrying out frequency locking and slicing on the live code stream and adding verification data; and forwarding the slice frequency-locked live streaming data added with the verification to the second playing device through a 5G network. Therefore, the program code stream is subjected to frequency locking slicing through the idle tuner of the terminal equipment and is sent to third-party playing equipment through the 5 network, high-speed transmission of the live video stream is achieved, and the requirement that a user obtains real-time high-definition video resolution is met.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal of the embodiment of the invention can be a PC, and can also be a mobile terminal device with a display function, such as a smart phone, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, dynamic video Experts compress standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, dynamic video Experts compress standard Audio Layer 3) player, a portable computer, and the like.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a live video sharing program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to invoke a live video sharing program stored in the memory 1005 and perform the following operations:
acquiring a target live program code stream according to a trigger instruction;
decoding the target live program code stream and forwarding the target live program code stream to first playing equipment;
slicing the decoded target live program code stream, adding check data and writing the check data into a built-in database;
and forwarding the target live program data in the built-in database to second playing equipment through a 5G module.
Further, the processor 1001 may call a live video sharing program stored in the memory 1005, and further perform the following operations:
the method further comprises the following steps:
the digital terminal comprises at least two tuners, wherein the at least two tuners comprise a first tuner and a second tuner;
the first tuner receives a target live program code stream issued by a DVB network, decodes the target live program code stream and forwards the target live program code stream to the first playing equipment;
and the second tuner slices the decoded target live program code stream, adds check data and writes the check data into a built-in database.
Further, the processor 1001 may call a live video sharing program stored in the memory 1005, and further perform the following operations:
the step of decoding and forwarding the target live program code stream to a first playing device comprises the following steps:
determining a corresponding target live program according to the received trigger instruction;
acquiring a target live program code stream from a DVB network and decoding to obtain target live program data;
and forwarding the target live program data to first playing equipment, wherein the first playing equipment comprises a television terminal bound with the digital terminal.
Further, the processor 1001 may call a live video sharing program stored in the memory 1005, and further perform the following operations:
before slicing the decoded target live program code stream, adding check data and writing the check data into the built-in database, the method further comprises the following steps:
detecting whether the target live program code stream is encrypted or scrambled;
descrambling the encrypted or scrambled target live program code stream to obtain target live program data;
and circularly recording the descrambled target live program data.
Further, the processor 1001 may call a live video sharing program stored in the memory 1005, and further perform the following operations:
the step of circularly recording the descrambled target live program data further comprises:
starting a new process to slice the target live program data while recording;
and adding check data to the sliced target live program data and writing the check data into a built-in database.
Further, the processor 1001 may call a live video sharing program stored in the memory 1005, and further perform the following operations:
the step of sending the target live program data in the database to the second playing device through the 5G module comprises the following steps:
the digital terminal and the second playing device are connected to the same 5G communication network through a 5G module;
and the second playing device is connected with a 5G module of the digital terminal through a 5G network to obtain target live program data in a built-in database. Further, the processor 1001 may call a live video sharing program stored in the memory 1005, and further perform the following operations:
the digital terminal is connected to the same 5G network;
sending a target live program playing request to the digital terminal;
acquiring target live program data slice data with verification in a built-in database of the digital terminal through a 5G module of the digital terminal;
verifying the target live program data according to a preset protocol;
if the target live program data passes the verification, caching the target live program data;
and when the target live program is cached to a preset memory, playing the target live program.
Referring to fig. 2, a first embodiment of a live video sharing method according to the present invention provides a live video sharing method, including:
step S10, acquiring a target live program code stream according to the trigger instruction;
step S20, decoding the target live program code stream and forwarding the target live program code stream to first playing equipment; step S30, slicing the decoded target live program code stream, adding check data and writing the check data into a built-in database;
and step S40, forwarding the target live program data in the built-in database to a second playing device through the 5G module.
Specifically, in this embodiment, the 5G network serves as a high bandwidth channel, and can implement real-time big data communication between the digital terminal and the playback device, and since video distribution is used, the digital terminal and the playback device are generally in the same house, so that the 5G modules of the digital terminal and the playback device are connected to the same 5G base station. The digital terminal and the playing device are both connected to the same 5G network and realize binding handshake, and the digital terminal and the playing device realize one-to-one pairing through MAC. When a data terminal receives a request of a playing device, a DVB channel list is sent to the playing device through a 5G network, a user selects a corresponding playing request to the digital terminal according to a watching requirement, the digital terminal analyzes the playing request, determines a target live program selected by the user, acquires a corresponding program code stream from a DVB broadcast data stream, and locks a signal of the requested television program from a received broadcast television signal by adopting a tuner (tuner, also called a tuner). Decoding/descrambling the signal of the live program, and playing the high-definition live program through a player of the first playing device; meanwhile, the other path of idle tuner acquires the signal of the live program, adds check data to the sliced data through frequency locking and slicing, and stores the sliced data added with the check data in a built-in hard disk. And interacting with a 5G module in second playing equipment according to the built-in 5G module, and returning the data of the requested live program to the second playing equipment.
In the embodiment, the digital terminal and the playing device are connected to the same 5G network and a binding handshake is established; acquiring a live broadcast code stream according to a request of second playing equipment; decoding the live code stream and forwarding the decoded live code stream to the first playing device, and meanwhile, carrying out frequency locking and slicing on the live code stream and adding verification data; and forwarding the slice frequency-locked live streaming data added with the verification to the second playing device through a 5G network. Therefore, the program code stream is subjected to frequency locking slicing through the idle tuner of the terminal equipment and is sent to third-party playing equipment through the 5 network, high-speed transmission of the live video stream is achieved, and the requirement that a user obtains real-time high-definition video resolution is met.
Further, based on the above embodiment 1, the live video sharing method provided by the present invention further includes:
the digital terminal comprises at least two tuners, wherein the at least two tuners comprise a first tuner and a second tuner;
the first tuner receives a target live program code stream issued by a DVB network, decodes the target live program code stream and forwards the target live program code stream to the first playing equipment;
and the second tuner slices the decoded target live program code stream, adds check data and writes the check data into a built-in database.
Specifically, in this embodiment, the digital terminal includes at least two tuners, and in order to improve the transmission efficiency of the television signal and reduce interference, the television signal usually adopts a Radio Frequency (RF) signal transmission method, that is, a video or audio signal to be transmitted is modulated (amplitude modulation AM or frequency modulation FM) onto a radio frequency carrier with a higher frequency, and is transmitted from a transmitting end; at the receiver end, in order to make the original image and sound be seen and heard by the viewer or listener originally locally, the receiver selects the carrier frequency signal carrying the desired image and sound from a large number of radio frequency signals, and then performs a series of processing on the carrier frequency signal. The chip used at the receiving end is Tuner, that is, Tuner, and functions of receiving, filtering, amplifying, gain control and the like of a Cable signal are realized. The first tuner is used for receiving, decoding and forwarding the live program and is responsible for the frequency-locked playing of the normal satellite live program of the digital terminal; and the first tuner acquires the live program from the satellite, and then performs demultiplexing/descrambling processing and high-definition live program playing through the first playing equipment. The second tuner is used for receiving the live program data, decoding and forwarding the live program data and is responsible for frequency locking of the live program and the on-demand program distribution; and the second tuner acquires the live program code stream from the satellite, decodes, slices, adds check data and stores the live program code stream into the database.
In addition, in an optional second embodiment, when the tuner slices the live video stream, a plurality of slice files are obtained, and check data are added to the plurality of slice files; storing the slice file, and establishing an index file for the slice file, wherein the index file is used for indicating the storage address of the slice file; and generating a Uniform Resource Locator (URL) of the index file, where the URL is used to locate an address of the index file and provide the index file to a second playing device, and the second playing device obtains the index file according to the URL and reads the slice file with added verification according to the index file.
In addition, referring to fig. 3, a live video sharing method according to a second embodiment of the present invention provides a live video sharing method, and based on the embodiment described in fig. 2, the step S20 further includes:
step S201, determining a corresponding target live program according to a received trigger instruction;
step S202, obtaining a target live program code stream from a DVB network and decoding to obtain target live program data;
step S203, forwarding the target live program data to a first playing device, where the first playing device includes a television terminal bound to the digital terminal.
Specifically, in this embodiment, after the digital terminal receives a live video stream, if the first playing device is a television, the live video stream is sent to the local player for playing; if the first playing is set as a set top box, the live video stream is sent to a television connected with the set top box for playing; in this way, the second tuner records the live video stream, stores the live video stream in the flash of the data terminal, slices the live video stream, stores the sliced live video stream in the database, generates a corresponding index file and sends the address of the index file to the second playing device; when a user watches the live program through a second playing device (a mobile phone, a television or other third-party devices), a 5G module built in the digital terminal is connected with a 5G network service, the second playing device is also connected to the same 5G network, and the two devices form a local area network, so that communication between the satellite live broadcast and the second playing device is formed.
Further, referring to fig. 4, a live video sharing method according to a second embodiment of the present invention provides a live video sharing method, and based on the embodiment described in fig. 2, the step S30 further includes:
step S301, detecting whether the target live program code stream is encrypted or scrambled;
step S302, descrambling the encrypted or scrambled target live program code stream to obtain target live program data;
and step S303, circularly recording the descrambled target live program data. .
Step S3031, starting a new process to slice the target live program data while recording;
step S3032, adding verification data to the sliced target live program data and writing the verification data into a built-in database.
Specifically, in this embodiment, the digital terminal detects whether a received DVB program code stream is encrypted or scrambled, decrypts/descrambles the encrypted and scrambled live broadcast code stream, starts recording, and sends the live broadcast data stream to the first playing device, the digital terminal slices the sent live broadcast data stream, adds a check code to a formed slice file, and records the live broadcast data stream of the digital terminal in a circulating manner, where the recorded area may be stored in a flash, or there may be a memory, and depending on the size of the memory of the digital terminal, another process slices the recorded live broadcast data stream, and then adds check data to the sliced data.
Further, the step S40 further includes:
step S401, the digital terminal and the second playing device are connected to the same 5G communication network through a 5G module;
step S402, the second playing device is connected with a 5G module of the digital terminal through a 5G network to obtain target live program data in a built-in database.
Specifically, in the present embodiment, the second playback device includes: besides the third-party playing equipment such as the television terminal, the mobile phone and the tablet which are in binding connection with the digital terminal, the second playing equipment and the digital terminal are connected to the same 5G communication network and are connected through the built-in 5G modules, and the second playing equipment obtains the slice file of the target live program data in the built-in database through the 5G modules of the digital terminal. And verifying whether the slice file is the target live program data according to a preset protocol, if so, downloading the slice file to a buffer of second playing equipment, and when reaching a preset memory, starting to play the target live program by the second playing equipment.
Further, referring to fig. 5, the live video sharing method of the present invention further provides a live video sharing method, applied to a playing device, including:
step S10', connecting to the same 5G network with the digital terminal;
step S20', sending a target live program playing request to the digital terminal;
step S30', acquiring target live program data slice data with verification in a built-in database of the digital terminal through a 5G module of the digital terminal;
step S40', according to the predetermined protocol, the target live program data is verified;
step S50', if passing the verification, caching the target live program data;
and step S60', when the target live program is cached in the preset memory, playing the target live program.
Specifically, the playback device in this embodiment includes: other third-party playing devices such as mobile phones, televisions, tablets and the like; a user sends a live program playing request through a playing device, firstly, the television and the digital terminal are guaranteed to realize binding handshake, and the television and the digital terminal realize 1-to-1 pairing through MAC; the television requests a DVB live broadcast list to the digital terminal; the television sends a program playing request to the digital terminal through the 5G module according to user operation; verifying a slice data address sent by the digital terminal according to a preset protocol, and acquiring corresponding live broadcast data through the live broadcast stream data address when the verification is passed; acquiring live streaming data through a 5G network channel, so that the data transmission is faster and more timely, and when a data file sent by a digital terminal is cached at a television end, the data file is checked and added into a buffer of a player; and starting playing until the player has enough buffer memory. Therefore, the problem that a high-resolution DVB live video is shared to another room (or another playing device) is solved, and the television end brings clearer real-time 4K/8K video to a client.
In the embodiment, the digital terminal and the 5G network are connected and a binding handshake is established; sending a playing request to the digital terminal; receiving a live streaming data slice address with verification sent by the digital terminal; verifying the live streaming data address according to a predetermined protocol; if the live streaming data passes the verification, the live streaming data is obtained through the live streaming data address to be cached; and when the buffer memory is stored in a preset memory, live broadcast is carried out. Therefore, the 5G transmission has enough bandwidth, so that the 4K/8K data can be rapidly and smoothly transmitted to the third-party equipment, and the third-party equipment plays the original (4K/8K) code stream data, so that a user obtains better real-time ultrahigh-definition video resolution experience.
Referring to fig. 6, a first embodiment of a live video sharing system according to the present invention provides a live video sharing system, including:
the digital terminal 10 is used for analyzing the high-resolution target live program data from the DVB broadcast according to the playing request of the playing equipment and transmitting the data to the playing equipment through a 5G network;
the 5G base station 20 is used for transmitting the high-resolution live program data in the DVB broadcast to the playing device;
and the playing device 30 is used for acquiring and playing the high-resolution live program data through the 5G network.
Further, the digital terminal 10 further includes:
the first tuner is used for receiving a target live program code stream transmitted by a DVB network, decoding and forwarding the target live program code stream to the first playing equipment;
and the second tuner is used for carrying out frequency locking and slicing on the target live program code stream and writing the target live program code stream into a built-in database.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a live video sharing program is stored on the computer-readable storage medium, and when executed by a processor, the live video sharing program implements the following operations:
acquiring a target live program code stream according to a trigger instruction;
decoding the target live program code stream and forwarding the target live program code stream to first playing equipment;
slicing the decoded target live program code stream, adding check data and writing the check data into a built-in database;
and forwarding the target live program data in the built-in database to second playing equipment through a 5G module.
Further, the live video sharing program, when executed by the processor, further implements the following operations:
the digital terminal comprises at least two tuners, wherein the at least two tuners comprise a first tuner and a second tuner;
the first tuner receives a target live program code stream issued by a DVB network, decodes the target live program code stream and forwards the target live program code stream to the first playing equipment;
and the second tuner slices the decoded target live program code stream, adds check data and writes the check data into a built-in database.
Further, the live video sharing program, when executed by the processor, further implements the following operations:
the step of decoding and forwarding the target live program code stream to a first playing device comprises the following steps:
determining a corresponding target live program according to the received trigger instruction;
acquiring a target live program code stream from a DVB network and decoding to obtain target live program data;
and forwarding the target live program data to first playing equipment, wherein the first playing equipment comprises a television terminal bound with the digital terminal.
Further, the live video sharing program, when executed by the processor, further implements the following operations:
before slicing the decoded target live program code stream, adding check data and writing the check data into the built-in database, the method further comprises the following steps:
detecting whether the target live program code stream is encrypted or scrambled;
descrambling the encrypted or scrambled target live program code stream to obtain target live program data;
and circularly recording the descrambled target live program data.
Further, the live video sharing program, when executed by the processor, further implements the following operations:
the step of circularly recording the descrambled target live program data further comprises:
starting a new process to slice the target live program data while recording;
and adding check data to the sliced target live program data and writing the check data into a built-in database.
Further, the live video sharing program, when executed by the processor, further implements the following operations:
the step of sending the target live program data in the database to the second playing device through the 5G module comprises the following steps:
the digital terminal and the second playing device are connected to the same 5G communication network through a 5G module;
and the second playing device is connected with a 5G module of the digital terminal through a 5G network to obtain target live program data in a built-in database. Further, the live video sharing program, when executed by the processor, further implements the following operations:
the digital terminal is connected to the same 5G network;
sending a target live program playing request to the digital terminal;
acquiring target live program data slice data with verification in a built-in database of the digital terminal through a 5G module of the digital terminal;
verifying the target live program data according to a preset protocol;
if the target live program data passes the verification, caching the target live program data;
and when the target live program is cached to a preset memory, playing the target live program.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. A live video sharing method is applied to a digital terminal and is characterized by comprising the following steps:
acquiring a target live program code stream according to a trigger instruction;
decoding the target live program code stream and forwarding the target live program code stream to first playing equipment;
slicing the decoded target live program code stream, adding check data and writing the check data into a built-in database;
and forwarding the target live program data in the built-in database to second playing equipment through a 5G module.
2. A live video sharing method as defined in claim 1, the method further comprising:
the digital terminal comprises at least two tuners, wherein the at least two tuners comprise a first tuner and a second tuner;
the first tuner receives a target live program code stream issued by a DVB network, decodes the target live program code stream and forwards the target live program code stream to the first playing equipment;
and the second tuner slices the decoded target live program code stream, adds check data and writes the check data into a built-in database.
3. The live video sharing method of claim 1, wherein the step of decoding and forwarding the target live program code stream to a first playing device comprises:
determining a corresponding target live program according to the received trigger instruction;
acquiring a target live program code stream from a DVB network and decoding to obtain target live program data;
and forwarding the target live program data to first playing equipment, wherein the first playing equipment comprises a television terminal bound with the digital terminal.
4. The live video sharing method according to claim 1, wherein before slicing the decoded target live program code stream, adding the check data, and writing the check data into the built-in database, the method further comprises:
detecting whether the target live program code stream is encrypted or scrambled;
descrambling the encrypted or scrambled target live program code stream to obtain target live program data;
and circularly recording the descrambled target live program data.
5. The live video sharing method of claim 4, wherein the step of cyclically recording the descrambled target live program data further comprises:
starting a new process to slice the target live program data while recording;
and adding check data to the sliced target live program data and writing the check data into a built-in database.
6. The live video sharing method of claim 1, wherein the step of sending the target live program data in the database to the second playing device through the 5G module comprises:
the digital terminal and the second playing device are connected to the same 5G communication network through a 5G module;
and the second playing device is connected with a 5G module of the digital terminal through a 5G network to obtain target live program data in a built-in database.
7. A live video sharing method is applied to playing equipment and is characterized by comprising the following steps:
the digital terminal is connected to the same 5G network;
sending a target live program playing request to the digital terminal;
acquiring target live program data slice data with verification in a built-in database of the digital terminal through a 5G module of the digital terminal;
verifying the target live program data according to a preset protocol;
if the target live program data passes the verification, caching the target live program data;
and when the target live program is cached to a preset memory, playing the target live program.
8. A live video sharing system, comprising:
the digital terminal is used for analyzing the high-resolution target live program data from DVB broadcast according to the playing request of the playing equipment and transmitting the data to the playing equipment through a 5G network;
the 5G base station is used for transmitting the high-resolution live program data in the DVB broadcast to the playing equipment;
and the playing equipment is used for acquiring and playing the high-resolution live program data through the 5G network.
9. A live video sharing system as claimed in claim 8 wherein the digital terminal comprises:
the first tuner is used for receiving a target live program code stream transmitted by a DVB network, decoding and forwarding the target live program code stream to the first playing equipment;
and the second tuner is used for carrying out frequency locking and slicing on the target live program code stream and writing the target live program code stream into a built-in database.
10. A computer-readable storage medium, wherein a video live sharing program is stored on the computer-readable storage medium, and when executed by a processor, the interface loader implements a live video sharing method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110879000.3A CN113747183A (en) | 2021-07-30 | 2021-07-30 | Live video sharing method and system and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110879000.3A CN113747183A (en) | 2021-07-30 | 2021-07-30 | Live video sharing method and system and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113747183A true CN113747183A (en) | 2021-12-03 |
Family
ID=78729813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110879000.3A Pending CN113747183A (en) | 2021-07-30 | 2021-07-30 | Live video sharing method and system and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113747183A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114286123A (en) * | 2021-12-23 | 2022-04-05 | 海宁奕斯伟集成电路设计有限公司 | Live broadcast method and device of television program |
CN114630178A (en) * | 2022-02-16 | 2022-06-14 | 山东浪潮超高清视频产业有限公司 | Message receiving system based on 5G NR broadcast and implementation method |
CN116193181A (en) * | 2022-12-20 | 2023-05-30 | 深圳创维-Rgb电子有限公司 | Media content sharing method and related device |
CN114630178B (en) * | 2022-02-16 | 2024-05-14 | 山东浪潮超高清视频产业有限公司 | Message receiving system based on 5G NR broadcast and realizing method |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070078621A (en) * | 2006-01-27 | 2007-08-01 | 삼성전자주식회사 | Device and method for processing of muli-data in terminal having digital broadcasting receiver |
CN101816137A (en) * | 2007-09-05 | 2010-08-25 | 诺基亚公司 | Method and system to enable simultaneous reception of plurality of services in DVB systems |
EP2472867A1 (en) * | 2010-12-30 | 2012-07-04 | Advanced Digital Broadcast S.A. | Coding and decoding of multiview videos |
CN104125499A (en) * | 2014-07-11 | 2014-10-29 | 小米科技有限责任公司 | Method and device for playing television programs |
US20140344861A1 (en) * | 2013-05-14 | 2014-11-20 | Tivo Inc. | Method and system for trending media programs for a user |
CN109327706A (en) * | 2018-10-10 | 2019-02-12 | 广东省南方数字电视无线传播有限公司 | Programme televised live signal acceptance method and system based on DTMB |
CN109936768A (en) * | 2017-12-19 | 2019-06-25 | 中国电信股份有限公司 | Realize the method and system using terminal viewing IPTV programme televised live |
CN110557686A (en) * | 2019-09-27 | 2019-12-10 | 四川九州电子科技股份有限公司 | System and method for realizing playing satellite low-bit-rate live broadcast program by mobile terminal |
CN110677709A (en) * | 2019-12-04 | 2020-01-10 | 深圳弘桉数据技术有限公司 | CPE (customer premises equipment) supporting live broadcast of 4K or 8K television and application system thereof |
CN111182336A (en) * | 2019-10-28 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Video data playing processing method and device, server and terminal |
CN111787404A (en) * | 2020-07-26 | 2020-10-16 | 易视腾科技股份有限公司 | Live stream playing method and device |
CN112055228A (en) * | 2020-09-30 | 2020-12-08 | 深圳弘桉数据技术有限公司 | Line card equipment supporting live broadcast of 4K or 8K television and application system thereof |
CN212381328U (en) * | 2020-09-30 | 2021-01-19 | 深圳弘桉数据技术有限公司 | Line card equipment supporting live broadcast of 4K or 8K television and application system thereof |
-
2021
- 2021-07-30 CN CN202110879000.3A patent/CN113747183A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070078621A (en) * | 2006-01-27 | 2007-08-01 | 삼성전자주식회사 | Device and method for processing of muli-data in terminal having digital broadcasting receiver |
CN101816137A (en) * | 2007-09-05 | 2010-08-25 | 诺基亚公司 | Method and system to enable simultaneous reception of plurality of services in DVB systems |
EP2472867A1 (en) * | 2010-12-30 | 2012-07-04 | Advanced Digital Broadcast S.A. | Coding and decoding of multiview videos |
US20140344861A1 (en) * | 2013-05-14 | 2014-11-20 | Tivo Inc. | Method and system for trending media programs for a user |
CN104125499A (en) * | 2014-07-11 | 2014-10-29 | 小米科技有限责任公司 | Method and device for playing television programs |
CN109936768A (en) * | 2017-12-19 | 2019-06-25 | 中国电信股份有限公司 | Realize the method and system using terminal viewing IPTV programme televised live |
CN109327706A (en) * | 2018-10-10 | 2019-02-12 | 广东省南方数字电视无线传播有限公司 | Programme televised live signal acceptance method and system based on DTMB |
CN110557686A (en) * | 2019-09-27 | 2019-12-10 | 四川九州电子科技股份有限公司 | System and method for realizing playing satellite low-bit-rate live broadcast program by mobile terminal |
CN111182336A (en) * | 2019-10-28 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Video data playing processing method and device, server and terminal |
CN110677709A (en) * | 2019-12-04 | 2020-01-10 | 深圳弘桉数据技术有限公司 | CPE (customer premises equipment) supporting live broadcast of 4K or 8K television and application system thereof |
CN111787404A (en) * | 2020-07-26 | 2020-10-16 | 易视腾科技股份有限公司 | Live stream playing method and device |
CN112055228A (en) * | 2020-09-30 | 2020-12-08 | 深圳弘桉数据技术有限公司 | Line card equipment supporting live broadcast of 4K or 8K television and application system thereof |
CN212381328U (en) * | 2020-09-30 | 2021-01-19 | 深圳弘桉数据技术有限公司 | Line card equipment supporting live broadcast of 4K or 8K television and application system thereof |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114286123A (en) * | 2021-12-23 | 2022-04-05 | 海宁奕斯伟集成电路设计有限公司 | Live broadcast method and device of television program |
CN114630178A (en) * | 2022-02-16 | 2022-06-14 | 山东浪潮超高清视频产业有限公司 | Message receiving system based on 5G NR broadcast and implementation method |
CN114630178B (en) * | 2022-02-16 | 2024-05-14 | 山东浪潮超高清视频产业有限公司 | Message receiving system based on 5G NR broadcast and realizing method |
CN116193181A (en) * | 2022-12-20 | 2023-05-30 | 深圳创维-Rgb电子有限公司 | Media content sharing method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
MX2011005940A (en) | Method of transmitting data from a receiver to a mobile device. | |
KR20150025514A (en) | Method for relaying contents in contents reproducing device | |
JP7100052B2 (en) | Electronic device and its control method | |
CN103491431A (en) | Method, terminal and system for audio and video sharing of digital television | |
CN113747183A (en) | Live video sharing method and system and readable storage medium | |
US20110302603A1 (en) | Content output system, content output method, program, terminal device, and output device | |
EP2613547A1 (en) | Mobile terminal, television receiver, and communication system including the mobile terminal and the television receiver | |
US20080229375A1 (en) | Locally stored video content having a video resolution associated with remote devices | |
US9800901B2 (en) | Apparatus, systems and methods for remote storage of media content events | |
JP2024506459A (en) | ATSC 3.0 Long Term Error Correction with Fast Channel Change for Real-Time Broadcast Mobile Applications | |
CN113056922B (en) | Receiver device including a native broadcaster application | |
JP4119838B2 (en) | Program-related information acquisition system and method | |
US11190835B2 (en) | Intelligent unload of broadcaster application on channel change | |
CN113747204A (en) | Program acquisition method, device, server and storage medium | |
KR102524389B1 (en) | Apparatus and method for executing American Digital Television Broadcasting Standards Committee (ATSC) 3.0 applications on non-ATSC 3.0 services | |
KR20100010098A (en) | Digital television system and multimedia data distribution method of it | |
CN111711835B (en) | Multi-channel audio and video integration method and system and computer readable storage medium | |
JP7096564B2 (en) | Information communication terminal device and display control method in the device | |
US10743057B2 (en) | Broadcaster application remote control key handling | |
JP2024046666A (en) | Receiving device and receiving method | |
CN109525871A (en) | Obtain method, set-top box and the storage medium of advertisement code stream | |
WO2023012747A1 (en) | Techniques for atsc 3.0 broadcast boundary area management using plural tuners with different numbers of antennae | |
KR20150075783A (en) | Method and device for transferring image data corresponding to streaming data to tv device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211203 |