CN104902311A - Method for sharing audio/video resources, shared gateway and system - Google Patents

Method for sharing audio/video resources, shared gateway and system Download PDF

Info

Publication number
CN104902311A
CN104902311A CN201510283365.4A CN201510283365A CN104902311A CN 104902311 A CN104902311 A CN 104902311A CN 201510283365 A CN201510283365 A CN 201510283365A CN 104902311 A CN104902311 A CN 104902311A
Authority
CN
China
Prior art keywords
data
program
mobile terminal
information
intelligent mobile
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.)
Granted
Application number
CN201510283365.4A
Other languages
Chinese (zh)
Other versions
CN104902311B (en
Inventor
赵伟
胡云生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201510283365.4A priority Critical patent/CN104902311B/en
Publication of CN104902311A publication Critical patent/CN104902311A/en
Application granted granted Critical
Publication of CN104902311B publication Critical patent/CN104902311B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/418External card to be used in combination with the client device, e.g. for conditional access
    • H04N21/4181External card to be used in combination with the client device, e.g. for conditional access for conditional access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • H04N21/43853Multiplex stream processing, e.g. multiplex stream decrypting involving multiplex stream decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]

Landscapes

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

Abstract

The embodiment of the invention provides a method for sharing audio/video resources, a shared gateway and a system, relates to the field of audio/video play, and is used for using an intelligent mobile terminal to play DVB audio/video data. The method comprises the steps as follows: receiving a program play request message transmitted by the intelligent mobile terminal; determining program identification according to the program play request message; obtaining program information corresponding to the program identification according to the program identification; obtaining transport stream TS data according to the program information; descrambling the TS data to obtain clear stream TS data corresponding to the program identification; recording audio data and video data from the clear stream TS data, and performing real-time stream transmission HLS slicing processing to the audio data and the video data to obtain play TS data; transmitting the TS data to the intelligent mobile terminal. The method for sharing audio/video resources, the shared gateway and the system of the invention are suitable for a scene of using the intelligent mobile terminal to play the program of DVB.

Description

Audio and video resource sharing method, sharing gateway and system
Technical Field
The invention relates to the field of audio and video playing, in particular to an audio and video resource sharing method, a sharing gateway and a system.
Background
With the rapid development of digital television technology, more and more video terminals acquire video resources through digital televisions. The digital television is a system from end to end which transmits and processes programs by a digital signal method from program collection, program production, program transmission to a terminal user.
In the prior art, transmission and playing of digital television are basically implemented based on DVB (digital video Broadcasting) technology. In a DVB digital television system, a video terminal generally includes an AV input interface, and is connected to a set-top box through the AV input interface to receive video resources. That is, after receiving the digital television broadcast signal, the set-top box performs related processing such as decoding and the like, and sends the processed signal to the video terminal through the AV input interface of the video terminal, so that the video terminal can receive the video resource and perform corresponding playing.
However, with the improvement of living conditions, more and more families no longer have only a video terminal such as a television, and many families have smart mobile terminals such as mobile phones and tablet computers at the same time, and the smart mobile terminals can also be used as video terminals. At this time, the user hopes that the DVB audio and video data can be played through the mobile phone, the tablet personal computer and other intelligent mobile terminals. However, due to the limitation of the prior art, the playing of the DVB audio and video data in the intelligent mobile terminal cannot be realized.
Disclosure of Invention
The embodiment of the invention provides a method, a shared gateway and a system for sharing audio and video resources, which are used for realizing that an intelligent mobile terminal plays DVB audio and video data.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for sharing audio and video resources, including: receiving a program playing request message sent by an intelligent mobile terminal; determining a program identifier according to the program playing request message; acquiring program information corresponding to the program identifier according to the program identifier; acquiring transport stream TS data according to the program information; descrambling the TS data to obtain clear stream TS data corresponding to the program identification; recording audio data and video data from the clear stream TS data, and performing real-time streaming HLS slicing processing on the audio data and the video data to obtain playing TS data; and sending the TS data to the intelligent mobile terminal.
In a second aspect, an embodiment of the present invention provides a shared gateway, including: the receiving unit is used for receiving a program playing request message sent by the intelligent mobile terminal; a determining unit, configured to determine a program identifier according to the program playing request message received by the receiving unit; the obtaining unit is used for obtaining program information corresponding to the program identification according to the program identification determined by the determining unit; the acquiring unit is further configured to acquire transport stream TS data according to the program information; a descrambling unit, configured to descramble the TS data acquired by the acquiring unit to obtain clear stream TS data corresponding to the program identifier; the processing unit is used for recording audio data and video data from the clear stream TS data obtained by the descrambling unit and carrying out real-time streaming HLS slicing processing on the recorded audio data and video data to obtain playing TS data; and the sending unit is used for sending the playing TS data obtained by the processing unit to the intelligent mobile terminal.
In a third aspect, an embodiment of the present invention provides a system for sharing audio and video resources, including: sharing a gateway and an intelligent mobile terminal; wherein, the shared gateway is the shared gateway described in the above embodiment; and the intelligent mobile terminal is used for receiving the playing TS data sent by the shared gateway.
The embodiment of the invention provides a method, a shared gateway and a system for sharing audio and video resources, which comprise the following steps: the sharing gateway receives a program playing request message sent by the intelligent mobile terminal; determining a program identifier according to the program playing request message; acquiring program information corresponding to the program identifier according to the program identifier; acquiring TS data according to the program information; descrambling the TS data to obtain clear stream TS data corresponding to the program identifier; recording audio data and video data from clear stream TS data, and performing HLS slicing processing on the audio data and the video data to obtain playing TS data; and sending the played TS data to the intelligent mobile terminal. Therefore, after receiving the program playing request message, the shared gateway can determine the program identifier according to the program playing request message, and then acquire the program information according to the program identifier, so that the program corresponding to the program information can be locked according to the program information, and the TS data of the program can be acquired. And descrambling the obtained TS data to obtain clear stream TS data, thereby converting the scrambled TS data sent by the broadcast television network into the clear stream TS data. According to the method, the audio data and the video data are recorded from the clear stream TS data, and the recorded audio data and video data are subjected to HLS slicing processing to obtain the playing TS data, so that the shared gateway can record the required audio data and video data according to the descrambled clear stream TS data, and can obtain the playing TS data capable of being sent to the intelligent mobile terminal after the HLS slicing processing is performed on the audio data and the video data, and the playing TS data can be sent to the intelligent mobile terminal. In summary, the invention can achieve the purpose of playing DVB audio/video data by the intelligent mobile terminal through the method.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for sharing audio and video resources according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another audio and video resource sharing process provided in the embodiment of the present invention;
fig. 3 is a schematic structural diagram of a shared gateway according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an audio and video resource sharing system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a method for sharing audio and video resources, as shown in fig. 1, including:
101. and receiving a program playing request message sent by the intelligent mobile terminal.
Specifically, when a user needs to watch a program of DVB (Digital video broadcasting) through the smart mobile terminal, the user sends an interface playing request message to the shared gateway through the smart mobile terminal.
Further, the broadcast request message may carry a program identifier of the program that the user needs to watch.
It should be noted that the program identifier is an identifier capable of indicating a program, and may be a program number, a program name, or other program related information, which is not limited in the present invention.
Further, the program playing request message may also carry the program type.
Further, since the user needs to watch the program of DVB, the program type thereof is the DVB type.
Illustratively, when a user needs to watch a DVB program through the intelligent mobile terminal, a program playing request message is sent to the shared gateway through the intelligent mobile terminal. Assuming that the user wishes to watch center 1 station, the program identifier of center 1 station may be added to the broadcast program request message and sent to the shared gateway. The shared gateway receives a broadcast program request message.
102. And determining the program identifier according to the program playing request message.
Specifically, after receiving the program playing request message, the shared gateway may analyze the program playing request message, and determine a program identifier of a program corresponding to the audio/video data that needs to be sent to the mobile terminal. If the shared gateway analyzes that the program playing request message does not carry the program identifier, the shared gateway can acquire the program identifier at the position where the historical program identifier is recorded. Namely, the program identifier of the historical program is used as the program identifier of the program of the audio and video data to be sent to the intelligent mobile terminal. If the shared gateway analyzes that the program playing request message carries the program identifier, the shared gateway can directly obtain the program identifier carried in the program playing request message, and the program identifier is used as the program identifier of the program which needs to be watched by the user.
Further, when the program playing request message carries the program type, the shared gateway may also analyze the program type when analyzing the program playing request message.
It should be noted that the program identifier is used to identify the program at the video terminal. The video terminal is a terminal for playing programs, and can be a digital television or an intelligent mobile terminal.
It should be noted that the historical program is a program watched when the user stops watching the DVB program through the smart mobile terminal the previous time. For example, when the user stops watching DVB programs through the smart mobile terminal for the previous time, the program being watched is the center 1 station, and at this time, the historical program recorded by the shared gateway is the center 1 station.
As described in the above example, after receiving the play request message, the shared gateway parses the play request message, parses that the play request message carries a program identifier, and uses the program identifier as a program identifier of a program that a user needs to watch.
It should be noted that, in the digital television system, after all audio and video data and other data information are encoded at the sending end, before sending to the receiving end, the audio and video data and other data information must be packed according to the MPEG (Moving Picture Experts Group) published video and audio compression international standard, i.e., the MPEG-2 standard, to form a TS (Transport Stream) packet with a fixed length, where the packet length is 188 bytes or 204 bytes. For these packets with the same length, if there is no guiding information, the receiving end cannot find the required code stream. For this purpose, the MPEG-2 standard defines specifically PSI (Program Specification Information), which is used to automatically set and guide the receiver to decode.
The PSI information consists of the following four tables: (1) PAT (Program Association Table); (2) PMT (Program Map Table); (3) NIT (Network Information Table); (4) CAT (Conditional Access Table).
The PAT records the PIDs (Packet identifiers) of all PMT tables, and the first record content of the PAT, i.e., program 0, is always reserved for network data, including the PIDs of the NIT table.
The PMT table may contain a plurality of digital code streams, each having a unique PID associated therewith. Different channels have different PMTs, i.e., a different PMT represents a different channel. Thus, the matching of the PMT table and PAT table can detect all PIDs of all programs existing in DVB data stream, so that the digital TV channel searching is completed by means of these two tables.
The PID of CAT is 0x 01. Private information of the transmitting end is described in CAT.
The NIT may provide program information for the current data stream and may also provide program information for streams associated with the current data stream.
Further, the PSI information provides information that the receiving end can automatically set to enable it to decode different program streams in the multiplexed stream. But PSI information cannot provide identification information about services and programs. And the SI (Service Information) is used to describe the data of the transmission system, the transmission content, and the broadcast data stream schedule, and the receiving end can automatically tune through the SI Information to provide additional Information for the user.
103. And acquiring program information corresponding to the program identifier according to the program identifier.
Wherein, the program information at least comprises: frequency point information, symbol rate, modulation mode, audio and video PID, PMT PID, Service ID.
It should be noted that the Service ID is an identifier uniquely identifying one program. The frequency point information is the frequency of the program signal. The audio and video PID comprises an audio PID and a video PID, wherein the audio PID is used for marking audio data, and the video PID is used for marking video data. The PMT PID is used to label PMT data. The symbol rate is the number of symbols transmitted per unit time, i.e. the number of bits transmitted per second.
Specifically, after determining the program identifier, the shared gateway may search for the program information corresponding to the different pre-stored program identifiers according to the program identifier. That is, the program information corresponding to the different pre-stored program identifiers is searched by using the determined program identifier as an index, and when one item matched with the determined program identifier is found, the program information corresponding to the program identifier can be obtained.
It should be noted that, in the shared gateway, different program identifiers and program information corresponding to the program identifiers are stored.
Further, in the shared gateway, program identifiers and program information of different types of programs may be stored. At this time, it is also necessary to determine program information according to the program genre. The method comprises the step of pre-storing the DVB type of the program watched by a user through the intelligent mobile terminal in the shared gateway. After the shared gateway analyzes the program playing request message, when the program playing request message carries the program type, the shared gateway can analyze the program type. At this time, the shared gateway uses the program type analyzed from the program playing request message as the program type of the program that the user needs to watch.
And when the program type is not carried in the program playing request message, the sharing gateway cannot analyze the program type, and at the moment, the sharing gateway takes the pre-stored program type DVB type as the program type of the program which needs to be watched by the user. In this way, the shared gateway determines the program type when determining the program identifier. At this time, acquiring the program information according to the program identifier includes: and acquiring program information according to the program identification and the program type. That is to say, after determining the program identifier and the program type, the shared gateway queries the pre-stored program information according to the program type and the program identifier, so as to obtain the program information corresponding to the program type and the program identifier.
It should be noted that, different program types are pre-stored in the shared gateway, and different program information corresponding to different program identifiers may be stored in the manner shown in table one below, of course, the storage manner may also be shown in table two below, or may be in other forms, which is not limited in this respect.
Watch 1
Watch two
Further, the program information may further include: a service name ServiceName, etc., which are not intended to limit the present invention.
As described in the above example, when determining the program identifier of the program that the user needs to watch, the shared gateway may also determine the program of which the program type is the DVB type, and assuming that the program identifier is the program number, that is, the shared gateway determines the program information through the program number. If the program number of the central station 1 is 12, the shared gateway can determine that the program number of the program that the user needs to watch is 12 and the program type is DVB type. The shared gateway can search the stored program information according to the program number and the program type, and determine the program information corresponding to the program type of DVB and the program number of 12.
104. And acquiring transport stream TS data according to the program information.
Specifically, the tuner of the shared gateway locks the frequency according to the frequency point information, the symbol rate and the modulation mode in the program information, and then can receive the TS data sent by the broadcast television network in the locked frequency point.
As described in the above example, after determining the program information of the central station 1, the shared gateway may perform frequency locking according to the frequency point information, the symbol rate, and the modulation method of the central station 1, filter out the received TS data of other channels, and only retain the TS data corresponding to the central station 1.
105. And descrambling the TS data to obtain clear stream TS data corresponding to the program identifier.
It should be noted that, due to the development of DVB technology, users are faced with an increasing choice of digital television programs. Due to the increased investment cost of DVB technology, a certain viewing fee is required to be charged to the user. The Conditional Access System (Conditional Access System) is responsible for ensuring that DVB services are only received by authorized users, and its main functions are to scramble signals, encrypt electronic keys of users and establish a user management System that ensures that authorized users can receive scrambled programs.
In the CA system, the DVB service is ensured to be received only by the users authorized to receive the DVB service by a transmission scrambling and descrambling method. The transmission scrambling is to use a scrambling sequence to disturb video data, audio data or data code stream at a sending end to scramble data. The scrambling sequence is generated by a pseudo-random sequence generator, and the scrambling sequence generated by the pseudo-random sequence generator can be deduced under the condition that the initial conditions are known. The initial condition of the pseudo-random sequence generator is controlled by a Control Word (CW). If the control word CW is sent to the pseudo-random sequence generator at the receiving end, then the descrambling sequence can be obtained, and then the original signal is restored by the descrambling sequence. It can be seen that the core of the conditional reception of the program is the transmission of the control word. Because the control word is transmitted through the public network along with the scrambling information, any user needs to see the control word, and therefore the control word needs to be encrypted and then transmitted. The Key for encrypting the control word is a Service Key (SK).
To further ensure that only the user who paid or is about to pay can watch the selected television program, the service key needs to be encrypted for protection. This encryption process can be performed completely according to each user characteristic, because the key for encrypting the service key is determined by the user characteristic, and is generally called Personal Distribution Key (PDK). The PDK is typically provided in a Smart Card (Smart Card) at the receiving end.
The working principle of encrypting and scrambling audio and video data at a sending end is as follows: at a signal sending end, a pseudo-random sequence generator generates a Control Word (CW), and scrambling operation is carried out on audio and video data to be sent according to the control word provided by the pseudo-random sequence generator. And performing encryption operation on the Control word according to a service key provided by a CA system, placing the encrypted Control word in Entitlement Control Message (ECM), performing encryption operation on the service key according to an individual distribution key, and placing the encrypted service key in Entitlement Management Message (EMM). The ECM also includes information such as program source, time, content category, and program price. The EMM also includes addresses, user authorization information, and the like. And transmitting the EMM, the ECM and the scrambled audio/video data to be transmitted to a receiving end.
It should be noted that, in the embodiment of the present invention, the shared gateway receives audio and video data sent by the broadcast television network, so that the broadcast television network is a sending end. The shared gateway is a receiving end.
Specifically, after acquiring the TS data, the shared gateway needs to descramble the TS data because the received data is the data obtained by combining the scrambled TS data and the EMM and the ECM due to the transmission mechanism of the broadcast television network. Firstly, after receiving scrambled TS data, EMM and ECM compounded data, the shared gateway finds a PMT table according to a PMT PID in program information, and the PID of CAT is 0x01, so that the CAT table can be found according to the PID of CAT table. The ECM PID is obtained from the PMT table and the EMM PID is obtained from the CAT table. And finding corresponding encrypted EMM information according to the EMM PID, wherein a PDK is stored in the smart card in the shared gateway, so that the shared gateway can decrypt the service key in the EMM through the PDK stored in the smart card, thereby decrypting the service key in the EMM. And finding corresponding encrypted ECM information by using the ECM _ PID, and decrypting the control word in the ECM according to the service key so as to decrypt the control word in the ECM. And finally, descrambling the scrambled TS data by the control word obtained by decryption to obtain clear stream TS data. Since TS data of a plurality of programs is transmitted in one frequency point. Therefore, the clear stream TS data obtained by the shared gateway includes clear stream TS data of a plurality of programs. The ServiceID is an identifier that uniquely identifies one program, i.e., the serviceids of different programs are different. The TS data of different programs have different Service IDs. Thus, the shared gateway can find out the clear stream TS data corresponding to the program identifier from the descrambled clear stream TS data according to the Service ID in the program information corresponding to the program identifier.
As described in the above example, after the shared gateway acquires the TS data of the central station 1, that is, the TS data of the program number 12, the TS data is scrambled on the broadcast television network side, and the intelligent mobile terminal cannot directly play the TS data, and needs to descramble the TS data first, so the shared gateway finds the PMT table according to the PMT ID in the program information of the central station 1 acquired in step 103, and further acquires the ECM PID in the PMT table. And finding out the CAT table according to the PID of the CAT table, and further acquiring the EMM PID in the CAT table. The shared gateway finds out corresponding encrypted EMM information according to the EMM PID, and a PDK is stored in the smart card in the shared gateway, so that the shared gateway can decrypt the service key in the EMM through the PDK stored in the smart card, and the service key in the EMM is decrypted. And finding corresponding encrypted ECM information by using the ECM _ PID, and decrypting the control word in the ECM according to the service key so as to decrypt the control word in the ECM. And finally, descrambling the scrambled audio and video data by the control word obtained by decryption to obtain clear stream TS data. And according to the Service ID in the program information of the central station 1, the clear stream TS data corresponding to the program number 12 is found out in the clear stream TS data. That is, the corresponding clear stream TS data of the central station 1 is found.
106. And recording audio data and video data from the clear stream TS data, and performing real-time streaming HLS slicing processing on the audio data and the video data to obtain playing TS data.
Specifically, after the shared gateway obtains the clear stream TS data corresponding to the program identifier, since the data may include, besides the audio data and the video data, table information, compressed information, and the like, if the clear stream TS data corresponding to the program number is directly sent to the intelligent mobile terminal, the intelligent mobile terminal cannot decode the clear stream TS data corresponding to the program number through hard decoding, and cannot normally play the clear stream TS data. Therefore, the shared gateway can find out audio data and video data in the clear stream TS data corresponding to the program number according to the audio and video PID in the program information, and copy the audio data and the video data, that is, record the audio data and the video data. At this time, the shared gateway subjects the recorded audio/video data and video data to HLS (Hyper Text Transfer Protocol ) Live Streaming based on the HTTP Protocol) Protocol to HLS slicing processing, thereby obtaining TS data.
It should be noted that the audio data and the video data recorded in the clear stream TS data may be recorded in the form of TS data. That is, TS data including only audio data and video data is recorded in the TS data. Further, when the audio data and the video data are recorded in the clear stream TS data, the audio data and the video data are recorded according to the sequence in the clear stream TS data, and the audio data and the video data are not recorded separately, that is, the audio data and the video data are not recorded first, or the video data and the audio data are recorded first.
Further, the shared gateway digitally encodes and compresses the audio data and the video data, and encapsulates them into a data stream conforming to the MPEG-2 format. The data stream is divided into a series of continuous TS data, namely playing TS data, and when the TS data is divided, an m3u8 index file is generated at the same time. The m3u8 index file stores information such as a URL (Uniform resource Locator) and a time length of each TS data.
Further, since the HLS slicing process is performed, the divided play TS data is 188 bytes of data. Therefore, in order to ensure the integrity of the broadcast TS data and the fluency of the program broadcast by the intelligent mobile terminal, the audio data and the video data are recorded from the clear stream TS data, and HLS slicing processing is performed on the audio data and the video data, so as to obtain the broadcast TS data, including: and caching the recorded audio data and video data into a cache region, and performing HLS slicing processing on the audio data and the video data cached in the cache region when the cache value of the cache region reaches a preset threshold value to obtain played TS data.
Specifically, in order to ensure the fluency of playing, the shared gateway may cache the recorded audio data and video data into the buffer area, and when the cache value of the buffer area reaches a preset threshold value, perform HLS slicing processing on the audio data and video data cached in the buffer area to obtain playing TS data.
The cache value of the cache region refers to the size of the portion of the cache region where the data is cached.
That is to say, after the shared gateway caches the recorded audio data and video data in the buffer area, if the size of the portion of the buffer area where the audio data and the video data are cached reaches the preset threshold, the portion of the buffer area where the buffer value reaches the preset threshold is processed by HLS slicing, and then the first TS data with the size of the preset threshold can be divided into 188 bytes of playing TS data.
It should be noted that the preset threshold is preset according to actual requirements, and the size of the preset threshold is related to factors such as a dividing rule for dividing and playing the TS data by the shared gateway, a transmission rate of the TS data, and the like.
As described in the above example, assuming that the preset threshold is 188 bytes by 512 bytes and the buffer area is 188 bytes by 1024 bytes, the shared gateway records the clear stream TS data corresponding to the program identifier according to the audio/video PID in the program information, and buffers the recorded audio data and video data into the buffer area. When the buffer value of the buffer reaches 188 × 512 bytes, that is, 188 × 512 bytes of audio data and video data are buffered in the buffer, the buffer reaches a preset threshold, and at this time, the shared gateway performs HLS slicing on the 188 × 512 bytes of audio data and video data that are buffered, so as to divide the audio data and video data into a series of 188 bytes of playing TS data, and simultaneously generate an m3u8 index file.
107. And sending the played TS data to the intelligent mobile terminal.
Specifically, after dividing the recorded first TS data into broadcast TS data, the shared gateway transmits the broadcast TS data to the intelligent mobile terminal by using an HTTP (HyperText Transfer Protocol).
It should be noted that, when the shared gateway sends the TS audio/video data to the intelligent mobile terminal through the HTTP protocol, the shared gateway also sends the m3u8 index file to the intelligent mobile terminal, so that the intelligent mobile terminal can correctly analyze each TS data through the m3u8 index file.
As described in the above example, after obtaining the broadcast TS data, the shared gateway transmits the broadcast TS data to the smart mobile terminal by using HTTP.
The embodiment of the invention provides a method for sharing audio and video resources, wherein after receiving a program playing request message, a sharing gateway can determine a program identifier according to the program playing request message, and further acquire program information according to the program identifier, so that a program corresponding to the program information can be locked according to the program information, and TS data of the program can be acquired. And descrambling the obtained TS data to obtain clear stream TS data, thereby converting the scrambled TS data sent by the broadcast television network into the clear stream TS data. According to the method, the audio data and the video data are recorded from the clear stream TS data, and the recorded audio data and video data are subjected to HLS slicing processing to obtain the playing TS data, so that the shared gateway can record the required audio data and video data according to the descrambled clear stream TS data, and can obtain the playing TS data capable of being sent to the intelligent mobile terminal after the HLS slicing processing is performed on the audio data and the video data, and the playing TS data can be sent to the intelligent mobile terminal. In summary, the invention can achieve the purpose of playing DVB audio/video data by the intelligent mobile terminal through the method.
An embodiment of the present invention provides a method for sharing audio and video resources, as shown in fig. 2, including:
201. the shared gateway determines whether the shared gateway stores the relevant information of the program.
The related information of the program refers to information required when the program is played, such as PSI, SI information, program information, and the like of the program.
Specifically, when the shared gateway is initialized, it may check whether the shared gateway stores the related information of the program, that is, check whether each table stores the related information. For example, it may be checked whether or not frequency point Information is recorded in an NIT (Network Information Table) Table.
It should be noted that when the shared gateway determines that the shared gateway itself stores the related information of the program, the analysis step 203 may be executed without acquiring the related information of the program. When the shared gateway determines that the shared gateway does not have the related information of the stored program, the related information of the program needs to be acquired first. At which point step 202 is performed.
202. And the shared gateway performs channel searching processing to acquire the relevant information of the program.
The channel searching processing refers to a process of acquiring audio and video data of each program broadcasted by the broadcast television network.
Specifically, there is the main frequency point information that is set up in advance in the shared gateway, shared gateway adjusts the tuner to the frequency (like 498MHZ) that the main frequency point information of presetting corresponds earlier this moment, if this frequency has digital signal, shared gateway can receive the TS data, shared gateway can look for whether this moment has the TS data packet that PID equals 0x0000, if have, this TS data packet records the information of PAT, analyze this TS data packet this moment and acquire all PMT tables be PID, be PID promptly. And then searching the TS data packet recorded with the PMT information according to each PMT PID, if the TS data packet recorded with the PMT information is found, analyzing the TS data packet recorded with the PMT information, and acquiring and storing the related information of all programs in the frequency band. If the TS data packet recorded with the PAT information or the TS data packet recorded with the PMT information is not found, the frequency band is indicated to have no digital signal, and the next frequency scanning is carried out until the related information of all programs is obtained.
It should be noted that, after acquiring each piece of relevant information, the shared gateway stores it in the corresponding table respectively. For example, after analyzing a TS packet in which PAT information is recorded, the analyzed PIDs of all PMTs are stored in the PAT table.
203. The shared gateway obtains the version number of the current service description segment SDT.
Specifically, the broadcast and television network broadcasts the version number of the current SDT (Service description section) in real time. At this time, after the shared gateway is powered on, the shared gateway can receive the current SDT version number sent by the broadcast television network.
204. The shared gateway determines whether the current SDT version number is the same as the stored SDT version number.
Specifically, after receiving the current SDT version number, the shared gateway may compare the received current SDT version number with its own stored SDT version number, and determine whether the current SDT version number is the same as the stored SDT version number.
When the shared gateway determines that the current SDT version number is the same as the stored SDT version number, the broadcasting and television network does not update programs of the DVB type, and at the moment, the shared gateway does not need to update the program information of each program stored by the shared gateway. At this time, step 206 is directly performed without performing step 205.
If the current SDT version number is not the same as the stored SDT version number, step 205 is performed.
205. And if the current SDT version number is different from the stored SDT version number, the shared gateway updates the stored SDT version number according to the current SDT version number, and performs channel searching processing again to update the stored program information.
Specifically, when the shared gateway determines that the current SDT version number is different from the stored SDT version number, it indicates that the broadcast television network has not updated the program of the DVB type, and at this time, the shared gateway needs to update the stored SDT version number, perform channel re-search processing, re-acquire related information of the program, and further update the stored program information.
It should be noted that, the shared gateway performs the channel searching again, and the process of obtaining the related information of the program may refer to step 202 and is not described herein again.
206. And the shared gateway establishes communication connection with the intelligent mobile terminal.
Specifically, when a user needs to watch a DVB-type program through the intelligent mobile terminal, a communication connection needs to be established with a shared network capable of providing DVB-type audio and video data for the intelligent mobile terminal.
Further, the establishing of the communication connection between the shared gateway and the intelligent mobile terminal includes:
and the shared gateway receives the verification information sent by the intelligent mobile terminal. And the shared gateway determines whether the verification information is correct or not according to the stored user information. And when the verification information is correct, the shared gateway establishes communication connection with the intelligent mobile terminal.
That is, in order to prevent an unauthorized user from viewing a DVB-type program through the smart mobile terminal, the shared network needs to ask the user to transmit authentication information through his smart mobile terminal before establishing a communication connection with the smart mobile terminal. At this time, the shared gateway can receive the verification information sent by the intelligent mobile terminal, and then can compare the received verification information with the stored user information with the authority, if one item matched with the verification information is found in the stored user information with the authority, the fact that the user has the watching authority can be determined, and the fact that the received verification information is correct is determined. If one item matched with the verification information is not found in the stored user information with the authority, the user can be determined to have no authority, and the received verification information is determined to be wrong. And establishing communication connection with the intelligent mobile terminal when the received verification information is determined to be correct.
It should be noted that, the intelligent mobile terminal and the shared gateway may establish a wired communication connection or a wireless communication connection, which is not limited in the present invention.
207. And the shared gateway acquires the program list information according to the stored program information.
Wherein the program listing information includes a program identification of at least one program.
Specifically, after establishing communication connection with the intelligent mobile terminal, the shared gateway may acquire that the program type of the program that the user needs to watch through the intelligent mobile terminal is the DVB type, and at this time, the program identifier and the program information corresponding to the DVB type may be generated by searching for information of different program information corresponding to different program identifiers and different pre-stored different program types according to the program type, and according to the program identifier and the corresponding program information, program list information including program identifiers of all DVB types of programs recorded in the shared gateway is generated.
It should be noted that, the program list information may also include other contents, such as a service name, and the like, which is not limited herein.
It should be noted that, the method for acquiring, by the shared gateway, that the program type of the program that the user needs to watch through the smart mobile terminal is the DVB type may be preset, where the program type of the program that the user watches through the smart mobile terminal is the DVB type. Therefore, after the communication connection is established between the sharing gateway and the intelligent mobile terminal, the sharing gateway can acquire the program type of the program which needs to be watched by the user through the intelligent mobile terminal according to the preset type.
Or after the shared gateway establishes communication connection with the intelligent mobile user, the shared gateway receives the program type required to be watched and sent by the user through the communication connection. If the program type of the program which the user needs to watch through the intelligent mobile terminal is the DVB type, the shared gateway can receive the message containing the program type of the program which the user watches, so that the message can be analyzed to know that the program type of the program which the user needs to watch through the intelligent mobile terminal is the DVB type.
Certainly, the shared gateway may also obtain, through other methods, that the program type of the program that the user needs to watch through the intelligent mobile terminal is the DVB type, which is not limited in the present invention.
208. And the shared gateway sends the program list information to the intelligent mobile terminal through communication connection.
Specifically, after acquiring the program list information, the shared gateway may send the program list information to the intelligent mobile terminal through the communication connection.
209. And the shared gateway receives a program playing request message sent by the intelligent mobile terminal.
Specifically, refer to step 101, which is not described herein again.
Further, the program playing request message may also carry the program type.
Further, since the user needs to watch the program of DVB, the program type thereof is the DVB type.
It should be noted that the intelligent mobile terminal may be a mobile terminal device such as a mobile phone, a tablet computer, and a palm computer.
210. And sharing the gateway program playing request message and determining the program identifier.
Specifically, refer to step 102, which is not described herein again.
211. And the shared gateway acquires the program information according to the program identifier.
Wherein, the program information at least comprises: frequency point information, symbol rate, modulation mode, audio and video PID, PMT PID and Service ID.
Specifically, refer to step 103, which is not described herein again.
212. And the shared gateway acquires the TS data according to the program information.
Specifically, refer to step 104, which is not described herein again.
213. And descrambling the TS data by the shared gateway for processing to obtain clear stream TS data corresponding to the program identifier.
Specifically, refer to step 105, which is not described herein again.
214. And the shared gateway records the audio data and the video data from the clear stream TS data and performs HLS slicing processing on the audio data and the video data to obtain playing TS data.
Specifically, refer to step 106, which is not described herein again.
215. And the shared gateway sends the played TS data to the intelligent mobile terminal.
Specifically, refer to step 107, which is not described herein again.
216. The shared gateway obtains the version number of the current service description segment SDT.
Specifically, after the shared gateway establishes connection with the intelligent mobile terminal, since the broadcast television network does not have fixed time for updating the program, there is a situation that after the shared gateway establishes connection with the intelligent mobile terminal, the shared gateway sends the program list stored in the shared gateway to the intelligent mobile terminal, and the broadcast television network updates the program content, so that the shared gateway needs to periodically obtain the current SDT version number.
The process of acquiring the current SDT version number by the shared gateway is the same as that in step 203, and is not described herein again.
217. The shared gateway determines whether the current SDT version number is the same as the stored SDT version number.
Specifically, reference to step 204 is not repeated herein.
It should be noted that, the shared gateway performs the following steps differently according to the determination result. If the current SDT version number is determined to be the same as the stored SDT version number, the broadcast television network does not update the program content, and at this time, the shared gateway does not execute step 217 and 219, but executes the relevant step of sending the audio and video data to the intelligent mobile terminal. When the shared gateway determines that the current SDT version number is different from the stored SDT version number, it indicates that the broadcast television network has updated the program content, and then the shared gateway executes step 217.
218. And if the current SDT version number is different from the stored SDT version number, the shared gateway updates the stored SDT version number according to the current SDT version number, and performs channel searching processing again to update the stored program information.
Specifically, refer to step 205, which is not described herein again.
219. And the shared gateway updates the program list information according to the updated program information and sends the updated program list information to the intelligent mobile terminal through communication connection.
Specifically, refer to step 207, which is not described herein again.
It should be noted that the execution sequence between steps 216-219 and 209-215 is not limited by the present invention. Step 209-; step 216 and step 219 may be performed first, and then step 209 and step 215 may be performed. Only one case is shown in the figure.
It should be noted that the shared gateway according to the embodiment of the present invention may also implement the function of the existing set top box, that is, the DVB-type audio/video data broadcast by the broadcast television network is sent to the digital television, so that the digital television can play the DVB-type audio/video data. That is to say, the shared gateway according to the embodiment of the present invention may support the digital television to play the DVB-type audio/video data, and may also support the intelligent mobile terminal to play the DVB-type audio/video data.
The embodiment of the invention provides a method, a shared gateway and a system for sharing audio and video resources, which comprise the following steps: the sharing gateway receives a program playing request message sent by the intelligent mobile terminal; determining a program identifier according to the program playing request message; acquiring program information corresponding to the program identifier according to the program identifier; acquiring TS data according to the program information; descrambling the TS data to obtain clear stream TS data corresponding to the program identifier; recording audio data and video data from clear stream TS data, and performing HLS slicing processing on the audio data and the video data to obtain playing TS data; and sending the played TS data to the intelligent mobile terminal. Therefore, after receiving the program playing request message, the shared gateway can determine the program identifier according to the program playing request message, and then acquire the program information according to the program identifier, so that the program corresponding to the program information can be locked according to the program information, and the TS data of the program can be acquired. And descrambling the obtained TS data to obtain clear stream TS data, thereby converting the scrambled TS data sent by the broadcast television network into the clear stream TS data. According to the method, the audio data and the video data are recorded from the clear stream TS data, and the recorded audio data and video data are subjected to HLS slicing processing to obtain the playing TS data, so that the shared gateway can record the required audio data and video data according to the descrambled clear stream TS data, and can obtain the playing TS data capable of being sent to the intelligent mobile terminal after the HLS slicing processing is performed on the audio data and the video data, and the playing TS data can be sent to the intelligent mobile terminal. In summary, the invention can achieve the purpose of playing DVB audio/video data by the intelligent mobile terminal through the method.
An embodiment of the present invention provides a shared gateway, as shown in fig. 3, including:
the receiving unit 301 is configured to receive a program playing request message sent by the intelligent mobile terminal.
Further, the program playing request message carries a program identifier.
Further, the program playing request message carries the program type.
A determining unit 302, configured to determine a program identifier according to the program playing request message received by the receiving unit 301.
An obtaining unit 303, configured to obtain program information corresponding to the program identifier according to the program identifier determined by the determining unit 302.
Wherein, the program information at least comprises: frequency point information, symbol rate, modulation mode, audio/video packet identification code PID, program mapping table packet identification code PMT PID and Service identification ID.
The obtaining unit 303 is further configured to obtain TS data according to the program information.
And a descrambling unit 304, configured to descramble the TS data acquired by the acquiring unit 303 to obtain clear stream TS data corresponding to the program identifier.
A processing unit 305, configured to record audio data and video data from the clear stream TS data obtained by the descrambling unit 304, and perform real-time streaming HLS slicing processing on the recorded audio data and video data to obtain broadcast TS data.
Specifically, the processing unit 305 is specifically configured to record audio data and video data from the clear stream TS data obtained by the descrambling unit 304, cache the recorded audio data and video data in a buffer area, and perform HLS slicing on the audio data and video data cached in the buffer area when a cache value of the buffer area reaches a preset threshold value, so as to obtain played TS data.
A sending unit 306, configured to send the played TS data to the smart mobile terminal.
Further, the receiving unit 301 is further configured to receive authentication information sent by the smart mobile terminal.
The determining unit 302 is further configured to determine whether the verification information received by the receiving unit 301 is correct according to the stored user information.
The processing unit 305 is further configured to establish a communication connection with the smart mobile terminal when the determining unit 302 determines that the verification information is correct.
The obtaining unit 303 is further configured to obtain program list information according to the stored program information.
The sending unit 306 is specifically configured to send the program list information to the intelligent mobile terminal through a communication connection.
Further, the obtaining unit 303 is further configured to obtain a version number of the current service description segment SDT.
The determining unit 302 is further configured to determine whether the current SDT version number acquired by the acquiring unit 303 is the same as the stored SDT version number.
The processing unit 305 is further configured to update the stored SDT version number according to the current SDT version number if the determining unit 302 determines that the current SDT version number is different from the stored SDT version number, and perform channel searching again to update the stored program information.
At this time, the processing unit 303 is further configured to update the program list information according to the updated program information.
The sending unit 306 is further configured to send the updated program list information to the intelligent mobile terminal through the communication connection.
It should be noted that the shared gateway according to the embodiment of the present invention may also implement the function of the existing set top box, that is, the DVB-type audio/video data broadcast by the broadcast television network is sent to the digital television, so that the digital television can play the DVB-type audio/video data. That is to say, the shared gateway according to the embodiment of the present invention may support the digital television to play the DVB-type audio/video data, and may also support the intelligent mobile terminal to play the DVB-type audio/video data.
It should be noted that, for specific description of some functional modules in the shared gateway provided in the embodiment of the present invention, reference may be made to corresponding contents in the embodiment of the method of the present invention, and details are not described here again.
An embodiment of the present invention provides a video resource sharing system, as shown in fig. 4, including: sharing gateway 501 and intelligent mobile terminal 502.
The shared gateway 501 is the shared gateway described in the above embodiments.
It should be noted that the shared gateway 501 according to the embodiment of the present invention may also implement the function of the existing set top box, that is, send the DVB-type audio/video data broadcast by the broadcast television network to the digital television, so that the digital television can play the DVB-type audio/video data. That is to say, the shared gateway 501 according to the embodiment of the present invention may support the digital television to play the DVB-type audio/video data, and may also support the intelligent mobile terminal to play the DVB-type audio/video data.
And the intelligent mobile terminal 502 is configured to receive the broadcast TS data sent by the shared gateway 501.
The embodiment of the invention provides a method, a shared gateway and a system for sharing audio and video resources, which comprise the following steps: the sharing gateway receives a program playing request message sent by the intelligent mobile terminal; determining a program identifier according to the program playing request message; acquiring program information corresponding to the program identifier according to the program identifier; acquiring TS data according to the program information; descrambling the TS data to obtain clear stream TS data corresponding to the program identifier; recording audio data and video data from clear stream TS data, and performing HLS slicing processing on the audio data and the video data to obtain playing TS data; and sending the played TS data to the intelligent mobile terminal. Therefore, after receiving the program playing request message, the shared gateway can determine the program identifier according to the program playing request message, and then acquire the program information according to the program identifier, so that the program corresponding to the program information can be locked according to the program information, and the TS data of the program can be acquired. And descrambling the obtained TS data to obtain clear stream TS data, thereby converting the scrambled TS data sent by the broadcast television network into the clear stream TS data. According to the method, the audio data and the video data are recorded from the clear stream TS data, and the recorded audio data and video data are subjected to HLS slicing processing to obtain the playing TS data, so that the shared gateway can record the required audio data and video data according to the descrambled clear stream TS data, and can obtain the playing TS data capable of being sent to the intelligent mobile terminal after the HLS slicing processing is performed on the audio data and the video data, and the playing TS data can be sent to the intelligent mobile terminal. In summary, the invention can achieve the purpose of playing DVB audio/video data by the intelligent mobile terminal through the method.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. A method for sharing audio and video resources is characterized by comprising the following steps:
receiving a program playing request message sent by an intelligent mobile terminal;
determining a program identifier according to the program playing request message;
acquiring program information corresponding to the program identifier according to the program identifier;
acquiring transport stream TS data according to the program information;
descrambling the TS data to obtain clear stream TS data corresponding to the program identification;
recording audio data and video data from the clear stream TS data, and performing real-time streaming HLS slicing processing on the audio data and the video data to obtain playing TS data;
and sending the TS data to the intelligent mobile terminal.
2. The method according to claim 1, wherein the recording of audio data and video data from the clear stream TS data and the real-time streaming HLS slicing of the audio data and the video data to obtain playing TS data comprises:
and caching the recorded audio data and video data into a cache region, and when the cache value of the cache region reaches a preset threshold value, performing HLS slicing processing on the audio data and the video data cached in the cache region to obtain played TS data.
3. The method according to claim 1 or 2,
before the receiving of the program playing request message sent by the intelligent mobile terminal, the method further includes:
receiving verification information sent by the intelligent mobile terminal;
determining whether the verification information is correct or not according to the stored user information;
when the verification information is correct, establishing communication connection with the intelligent mobile terminal;
acquiring program list information according to the stored program information;
and sending the program list information to the intelligent mobile terminal through the communication connection.
4. The method of claim 3, further comprising:
acquiring the SDT version number of the current service description section;
determining whether the current SDT version number is the same as a stored SDT version number;
and if the current SDT version number is different from the stored SDT version number, updating the stored SDT version number according to the current SDT version number, and performing channel searching again to update the stored program information.
5. A shared gateway, comprising:
the receiving unit is used for receiving a program playing request message sent by the intelligent mobile terminal;
a determining unit, configured to determine a program identifier according to the program playing request message received by the receiving unit;
the obtaining unit is used for obtaining program information corresponding to the program identification according to the program identification determined by the determining unit;
the acquiring unit is further configured to acquire transport stream TS data according to the program information;
a descrambling unit, configured to descramble the TS data acquired by the acquiring unit to obtain clear stream TS data corresponding to the program identifier;
the processing unit is used for recording audio data and video data from the clear stream TS data obtained by the descrambling unit and carrying out real-time streaming HLS slicing processing on the recorded audio data and video data to obtain playing TS data;
and the sending unit is used for sending the playing TS data obtained by the processing unit to the intelligent mobile terminal.
6. The shared gateway of claim 5,
the processing unit is specifically configured to record audio data and video data from the clear stream TS data obtained by the descrambling unit, cache the recorded audio data and video data in a cache region, and perform HLS slicing on the audio data and video data cached in the cache region when a cache value of the cache region reaches a preset threshold value, so as to obtain played TS data.
7. The shared gateway of claim 5 or 6, further comprising:
the receiving unit is further configured to receive verification information sent by the intelligent mobile terminal;
the determining unit is further configured to determine whether the verification information received by the receiving unit is correct according to the stored user information;
the processing unit is further configured to establish a communication connection with the smart mobile terminal when the determining unit determines that the verification information is correct;
the acquiring unit is further configured to acquire program list information according to the stored program information;
the sending unit is specifically configured to send the program list information to the intelligent mobile terminal through the communication connection.
8. The shared gateway of claim 7,
the acquiring unit is further configured to acquire a current service description segment SDT version number;
the determining unit is further configured to determine whether the current SDT version number acquired by the acquiring unit is the same as the stored SDT version number;
the processing unit is further configured to update the stored SDT version number according to the current SDT version number if the determining unit determines that the current SDT version number is different from the stored SDT version number, and perform channel searching again to update the stored program information.
9. A system for audio-video resource sharing, comprising: sharing a gateway and an intelligent mobile terminal; wherein,
the shared gateway is the shared gateway of any one of claims 5-8;
and the intelligent mobile terminal is used for receiving the playing TS data sent by the shared gateway.
CN201510283365.4A 2015-05-28 2015-05-28 A kind of shared method of audio and video resources, shared gateway and system Active CN104902311B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510283365.4A CN104902311B (en) 2015-05-28 2015-05-28 A kind of shared method of audio and video resources, shared gateway and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510283365.4A CN104902311B (en) 2015-05-28 2015-05-28 A kind of shared method of audio and video resources, shared gateway and system

Publications (2)

Publication Number Publication Date
CN104902311A true CN104902311A (en) 2015-09-09
CN104902311B CN104902311B (en) 2019-03-01

Family

ID=54034662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510283365.4A Active CN104902311B (en) 2015-05-28 2015-05-28 A kind of shared method of audio and video resources, shared gateway and system

Country Status (1)

Country Link
CN (1) CN104902311B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959784A (en) * 2016-05-30 2016-09-21 浪潮软件集团有限公司 Video sharing implementation method based on set top box
CN106210872A (en) * 2016-07-27 2016-12-07 深圳创维数字技术有限公司 A kind of live sharing method based on Set Top Box and system
CN106686400A (en) * 2016-12-27 2017-05-17 成都视达科信息技术有限公司 Multi-screen interaction method and system based on set-top box multipath descrambling
CN108513164A (en) * 2018-02-06 2018-09-07 青岛海信电器股份有限公司 A kind of program searching method and device
CN112948600A (en) * 2021-01-26 2021-06-11 四川天翼网络服务有限公司 High-performance multi-protocol audio and video storage system
CN113261300A (en) * 2018-12-20 2021-08-13 海信视像科技股份有限公司 Audio sending and playing method and smart television
CN113709412A (en) * 2020-05-21 2021-11-26 中国电信股份有限公司 Live stream processing method, device and system and computer readable storage medium
CN113747213A (en) * 2021-09-06 2021-12-03 合肥润东通信科技股份有限公司 System and method for realizing high-efficiency forwarding of DVB (digital video broadcasting) video based on coaxial gateway
CN114584794A (en) * 2020-12-01 2022-06-03 青岛海信宽带多媒体技术有限公司 Audio and video playing method and device, playing terminal and storage medium
CN117412106A (en) * 2023-09-21 2024-01-16 广州力加贺电子科技有限公司 DVB-based data processing method, device and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050186931A1 (en) * 2003-09-30 2005-08-25 Nokia Corporation Receiver module comprising a wideband antenna
CN101600059A (en) * 2008-06-06 2009-12-09 乐金电子(中国)研究开发中心有限公司 The fast automatic update method and the device of digital television program
US20100311445A1 (en) * 2009-06-08 2010-12-09 Lg Electronics Inc. Mobile terminal and method of displaying information in mobile terminal
CN103501457A (en) * 2013-09-23 2014-01-08 深圳市创维软件有限公司 Method and device for playing programs
CN103905838A (en) * 2014-03-28 2014-07-02 深圳创维-Rgb电子有限公司 Method and system for enabling terminal to play DVB services

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050186931A1 (en) * 2003-09-30 2005-08-25 Nokia Corporation Receiver module comprising a wideband antenna
CN101600059A (en) * 2008-06-06 2009-12-09 乐金电子(中国)研究开发中心有限公司 The fast automatic update method and the device of digital television program
US20100311445A1 (en) * 2009-06-08 2010-12-09 Lg Electronics Inc. Mobile terminal and method of displaying information in mobile terminal
CN103501457A (en) * 2013-09-23 2014-01-08 深圳市创维软件有限公司 Method and device for playing programs
CN103905838A (en) * 2014-03-28 2014-07-02 深圳创维-Rgb电子有限公司 Method and system for enabling terminal to play DVB services

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959784A (en) * 2016-05-30 2016-09-21 浪潮软件集团有限公司 Video sharing implementation method based on set top box
CN106210872A (en) * 2016-07-27 2016-12-07 深圳创维数字技术有限公司 A kind of live sharing method based on Set Top Box and system
WO2018019167A1 (en) * 2016-07-27 2018-02-01 深圳创维数字技术有限公司 Set top box-based live sharing method and system
CN106210872B (en) * 2016-07-27 2019-07-09 深圳创维数字技术有限公司 A kind of live streaming sharing method and system based on set-top box
CN106686400A (en) * 2016-12-27 2017-05-17 成都视达科信息技术有限公司 Multi-screen interaction method and system based on set-top box multipath descrambling
CN108513164A (en) * 2018-02-06 2018-09-07 青岛海信电器股份有限公司 A kind of program searching method and device
CN108513164B (en) * 2018-02-06 2022-04-26 海信视像科技股份有限公司 Program searching method and device
CN113261300A (en) * 2018-12-20 2021-08-13 海信视像科技股份有限公司 Audio sending and playing method and smart television
CN113709412A (en) * 2020-05-21 2021-11-26 中国电信股份有限公司 Live stream processing method, device and system and computer readable storage medium
CN113709412B (en) * 2020-05-21 2023-05-19 中国电信股份有限公司 Live stream processing method, device and system and computer readable storage medium
CN114584794A (en) * 2020-12-01 2022-06-03 青岛海信宽带多媒体技术有限公司 Audio and video playing method and device, playing terminal and storage medium
CN114584794B (en) * 2020-12-01 2023-09-22 青岛海信宽带多媒体技术有限公司 Audio and video playing method and device, intelligent set top box and storage medium
CN112948600A (en) * 2021-01-26 2021-06-11 四川天翼网络服务有限公司 High-performance multi-protocol audio and video storage system
CN112948600B (en) * 2021-01-26 2023-06-02 四川天翼网络股份有限公司 High-performance multi-protocol audio and video storage system
CN113747213A (en) * 2021-09-06 2021-12-03 合肥润东通信科技股份有限公司 System and method for realizing high-efficiency forwarding of DVB (digital video broadcasting) video based on coaxial gateway
CN117412106A (en) * 2023-09-21 2024-01-16 广州力加贺电子科技有限公司 DVB-based data processing method, device and readable storage medium
CN117412106B (en) * 2023-09-21 2024-10-18 广州力加贺电子科技有限公司 DVB-based data processing method, device and readable storage medium

Also Published As

Publication number Publication date
CN104902311B (en) 2019-03-01

Similar Documents

Publication Publication Date Title
CN104902311B (en) A kind of shared method of audio and video resources, shared gateway and system
EP2612503B1 (en) Method and system for decrypting a transport stream
KR102004681B1 (en) Method and multimedia unit for processing a digital broadcast transport stream
KR20160026857A (en) Methods, information providing system, and reception apparatus for protecting content
CN102957961A (en) Method and device for sharing encrypted digital television programs and digital television receiver
JP7363992B2 (en) Transmission method, transmitting device, receiving method, and receiving device
US8392945B2 (en) System and method for controlling alternative access to video events associated with video broadcast services
KR20060131562A (en) Digital multimedia broadcasting(dmb) system and conditional access method for restricting of dmb watching in regional
CN103281572B (en) The DVB conditional receiving device of integrated master data, normal data descrambling
CN102014306B (en) Method for simultaneously deciphering multiple charge programs by set-top box
US9100677B2 (en) Server, client device, method for generating a transport stream thereof and processing the transport stream thereof
US20120079550A1 (en) Broadcast transmitter, broadcast receiver, and broadcast transmission method
JP2007266734A (en) Content distribution system and method, and receiver
US20140040934A1 (en) Methods and apparatus for monitoring and/or collecting viewership statistics
CN108650549B (en) Digital television data management method and system
KR101175354B1 (en) System and method for securing content by using a number of conditional access systems
CN101583012A (en) Method for realizing two-stage condition receiving system and front end and final end of two-stage condition receiving system
CN103634624A (en) Digital television live broadcasting method and system based on IP (Internet protocol) network
JP2003264541A (en) Digital information distribution system and digital broadcasting receiver
JP6374692B2 (en) Transmitter and receiver
JP6374691B2 (en) Transmitter and receiver
JP2022134647A (en) transmitter and receiver
KR20140111740A (en) Settop box, display apparatus and method of controlling the same
JP6463654B2 (en) Receiver
JP6374694B2 (en) Transmitter and receiver

Legal Events

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