CN111050206A - Method and device for acquiring video and audio data - Google Patents
Method and device for acquiring video and audio data Download PDFInfo
- Publication number
- CN111050206A CN111050206A CN201811191354.3A CN201811191354A CN111050206A CN 111050206 A CN111050206 A CN 111050206A CN 201811191354 A CN201811191354 A CN 201811191354A CN 111050206 A CN111050206 A CN 111050206A
- Authority
- CN
- China
- Prior art keywords
- video data
- audio
- gateway
- equipment
- terminal
- 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
Links
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/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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- 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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
- H04N21/4363—Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The application discloses a method and a device for acquiring audio and video data, wherein a plurality of terminal devices in a family are networked through a gateway device, after networking, the gateway device locks all frequency points of digital television broadcasting, acquires program information of each frequency point and sends the program information to the plurality of terminal devices in a local area network, and after a client triggers control information according to the program information, the gateway device returns the audio and video data which the user wants to watch to the corresponding terminal devices according to the control information. According to the method and the device, the interconnection and intercommunication of each terminal device in the local area network are realized by networking a plurality of terminal devices, and only the gateway device is ensured to have the function of transmitting audio and video data to the plurality of terminal devices, so that the problems that in the prior art, a plurality of set top box devices are required to be configured and bear a plurality of service expenses when a plurality of terminal devices in a family watch real-time television programs are solved, and the cost of using digital television broadcasting services by a plurality of terminals is saved.
Description
Technical Field
The invention relates to the technical field of networks, in particular to a method and a device for acquiring audio and video data.
Background
The digital set-top box is basically a necessary device for every town home. At present, a digital set-top box can only output data to a television correspondingly. Each household usually has a plurality of rooms and a plurality of electronic equipment terminals, and each person has different hobbies and may want to watch real-time television programs of a broadcast television network on the plurality of rooms or the plurality of electronic equipment terminals, such as mobile phones, tablets and the like, a plurality of set top boxes need to be equipped, and the use cost of a plurality of digital videos is borne. This is costly and unacceptable to the home user.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for acquiring audio/video data, so as to overcome the problem in the prior art that a large amount of cost is required to be invested when multiple rooms or multiple terminals of a home want to watch a real-time television program.
In order to achieve the purpose, the invention provides the following technical scheme:
a method for acquiring audio and video data is applied to gateway equipment and comprises the following steps:
the gateway equipment networks a plurality of terminal equipment;
the gateway equipment locks all frequency points of digital television broadcasting and acquires program information of each frequency point;
the gateway equipment transmits the program information of each frequency point to the plurality of terminal equipment;
the gateway equipment respectively receives the control information sent by different terminal equipment, respectively returns audio and video data to the corresponding terminal equipment according to the received control information, and the audio and video data returned by the different terminal equipment are the same audio and video data or different audio and video data.
Optionally, the networking of the plurality of terminal devices by the gateway device includes:
the gateway equipment receives authentication information of the terminal equipment and accesses the terminal equipment to an ad hoc local area network after the authentication information is verified successfully.
Optionally, the method further includes:
the gateway device performs demultiplexing, descrambling and/or encryption processing on the audio/video data received from the digital television broadcast network.
Optionally, the gateway device receives control information sent by different terminal devices respectively, and returns audio and video data to corresponding terminal devices respectively according to the received control information, including:
and the gateway equipment respectively receives the control information sent by different terminal equipment and respectively returns the TS stream files to the corresponding terminal equipment according to the received control information.
Optionally, the method further includes:
and when the internal resources of the gateway equipment are insufficient, distributing system resources for each service module according to the priority level of the preset service function.
A method for obtaining audio and video data is applied to an APP terminal and comprises the following steps:
the APP terminal sends a network access application to the gateway equipment, wherein the network access application comprises a network access password;
after the access password passes the verification, the APP terminal becomes the terminal equipment in the local area network established by the gateway equipment;
the APP end receives program information of each frequency point sent by the gateway equipment after all frequency points are locked;
the APP terminal sends control information generated by a user according to the program information trigger to the gateway equipment;
and the APP terminal receives audio and video data corresponding to the control information from the gateway equipment.
Optionally, the audio and video data is a TS stream file, and the method further includes:
and the APP terminal decodes and plays the TS stream file for output.
A device for obtaining audio and video data is applied to gateway equipment and comprises:
the networking module is used for networking a plurality of terminal devices;
the frequency point locking module is used for locking all frequency points of digital television broadcasting, acquiring program information of each frequency point and generating a program information guide EPG;
the information sending module is used for transmitting the program information of all the frequency points to the plurality of terminal devices;
and the data return module is used for receiving the control information sent by the terminal equipment and returning audio and video data to the terminal equipment according to the control information.
Optionally, the gateway device is specifically configured to: receiving authentication information of terminal equipment, and accessing the terminal equipment to a local area network of the self-organization after the authentication information is verified successfully.
The utility model provides an obtain audio and video data's device, is applied to the APP end, includes:
the network access application module is used for sending a network access application to the gateway equipment, wherein the network access application comprises a network access password;
the network access determining module is used for determining terminal equipment in a local area network formed by the gateway equipment after the network access password passes verification;
the information receiving module is used for receiving the program information of all the frequency points sent by the gateway equipment after all the frequency points are locked;
the information sending module is used for sending control information generated by a user according to the triggering of the program information to the gateway equipment;
and the data receiving module is used for receiving the audio and video data corresponding to the control information from the gateway equipment.
According to the technical scheme, compared with the prior art, the embodiment of the invention discloses a method and a device for acquiring audio and video data. According to the method and the device, the interconnection and intercommunication of each terminal device in the local area network are realized by networking a plurality of terminal devices, and only the gateway device is ensured to have the function of transmitting audio and video data to the plurality of terminal devices, so that the problems that in the prior art, a plurality of set top box devices are required to be configured and bear a plurality of service expenses when a plurality of terminal devices in a family watch real-time television programs are solved, and the cost of using digital television broadcasting services by a plurality of terminals is saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for acquiring audio/video data according to an embodiment of the present invention;
fig. 2 is a logic diagram of DVB service information service according to an embodiment of the present invention;
fig. 3 is a software structure model diagram of a gateway device and a terminal device disclosed in the embodiment of the present invention;
fig. 4 is a logic diagram of a live broadcast service disclosed in an embodiment of the present invention;
fig. 5 is a flowchart of another method for acquiring audio/video data according to the embodiment of the present invention;
fig. 6 is a flowchart of another method for acquiring audio/video data according to the embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus for acquiring audio/video data according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another apparatus for acquiring audio and video data disclosed in the embodiment of the present invention;
fig. 9 is a schematic structural diagram of another apparatus for acquiring audio/video data 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.
Fig. 1 is a flowchart of a method for acquiring audio and video data according to an embodiment of the present invention, where the method for acquiring audio and video data according to this embodiment is applicable to a gateway device, and referring to fig. 1, the method for acquiring audio and video data may include:
step 101: the gateway device organizes a plurality of terminal devices.
The establishment of a lan by a gateway device is a relatively mature technology in the field and the principle thereof will not be described in detail here. In this embodiment, the gateway device may implement the functions of home networking, a data gateway, and a media gateway, and after the gateway device is started and successfully networked, may provide a data set media forwarding function for a plurality of terminal devices accessing a local area network.
In this embodiment, the gateway device has a home networking function, and the terminal devices, such as the smart phone, the ipad, the PC, and the smart television, can access the gateway device through connection modes, such as ethernet connection and wireless (e.g., wifi) connection, to implement home networking. The gateway device has functions of network routing, data exchange, support for common internet protocols including, but not limited to, IPV4 and IPV6, and support for firewalls. The networking modes of the gateway device include, but are not limited to, ethernet networking, wifi networking, and MoCA (Multimedia over Coax Alliance) networking.
Step 102: and the gateway equipment locks all frequency points of the digital television broadcast and acquires the program information of each frequency point.
In a specific implementation, a tuner device of FULL BAND (FULL BAND) may be configured in the gateway device to lock all frequency points of digital television broadcasting at one time, and reduce frequency locking time when switching frequency points. Meanwhile, the gateway device can simultaneously provide demultiplexing of multi-channel video stream data, and mutual influence of program watching at different frequency points is avoided.
In this embodiment, the program search function of the gateway device first locks the main frequency point to receive the NIT table, then sequentially locks the frequency points according to the NIT table description, and receives PAT, PMT, and SDT tables in the PSI/SI information table at the locked frequency points to complete the collection of all program information, including how many frequency points, how many sets of programs available for playing at each frequency point, the name of each program, the related PCR _ PID (program reference clock PID), V _ PID (video PID), a _ PID (audio PID), and the like. The gateway device locks all frequency points of the digital television broadcast, and acquires corresponding program information under the locked frequency points, namely, a program information guide, namely, EPG is generated.
Step 103: and the gateway equipment transmits the program information of all the frequency points to the plurality of terminal equipment.
The gateway device can provide DVB (Digital Video Broadcasting) service information service, can realize the search and monitoring of DVB live program information, stores the searched data in flash, and provides services such as program information acquisition, updating notification and the like for terminal devices in a local area network.
Fig. 2 is a logic diagram of a DVB service information service according to an embodiment of the present invention, and referring to fig. 2, when a gateway device is powered on and started for the first time or an application function actively searches for a program, a complete automatic search is performed, and the searched DVB program information is stored in a flash and is provided for a corresponding application function module in a terminal device to use.
In this embodiment, the DVB program service information service of the gateway device may provide the following data for the corresponding application function module in the terminal device: 1. a list of channels. 2. And specific attribute information corresponding to each channel, such as channel name, channel number, frequency point, symbol rate, modulation mode and other related information. 3. The EIT data information includes information of a program currently being broadcast and information of a program for 7 days on all channels.
After the DVB service information service is started, in a non-search process, the gateway device may further implement the following functions: 1. when Tuner is idle, receiving and updating EIT (Event Information Table) data by frequency locking; 2. when the Tuner locks the live broadcast frequency point, monitoring the update of NIT/PAT/PMT; 3. responding to the data request of the application function module and returning correct data; a searching process, returning to the current state that the data service can not be provided; 4. and informing the application function module of data updating.
Step 104: the gateway equipment respectively receives the control information sent by different terminal equipment and respectively returns audio and video data to the corresponding terminal equipment according to the received control information.
The audio and video data returned to different terminal devices can be the same audio and video data or different audio and video data.
If the audio and video data may be a TS stream file, the gateway device respectively receives control information sent by different terminal devices, and respectively returns the audio and video data to corresponding terminal devices according to the received control information, which may include: and the gateway equipment respectively receives the control information sent by different terminal equipment and respectively returns the TS stream files to the corresponding terminal equipment according to the received control information.
In this embodiment, the method for acquiring audio and video data includes networking a plurality of terminal devices in a home through a gateway device, locking all frequency points of digital television broadcasting by the gateway device after networking, acquiring program information of each frequency point and sending the program information to the plurality of terminal devices in a local area network, and after a client triggers control information according to the program information, returning, by the gateway device, audio and video data that the user wants to watch to a corresponding terminal device according to the control information. According to the method, the plurality of terminal devices are networked to realize interconnection and intercommunication of each terminal device in the local area network, and the gateway device is ensured to have the function of transmitting audio and video data to the plurality of terminal devices, so that the problems that in the prior art, a plurality of terminal devices in a family need to be provided with a plurality of sets of devices when watching real-time television programs and bear a plurality of service fees are solved, and the cost of using digital television broadcasting services by a plurality of terminals is saved.
In the above embodiment, the gateway device may be a gateway set top box, and may include a gateway communication module and a service function module. In a specific implementation, the gateway communication module may be a DOCSIS3.0 function module, and interacts with a CMTS (Cable Modem) device to complete DOCSIS3.0 network access, interacts with a service function module, and is responsible for access of an application module of each Terminal device. The service function module is mainly used for completing control, TS data receiving, demultiplexing, descrambling, encrypting and distributing of the FULL-BAND Tuner.
Fig. 3 is a software structure model diagram of a gateway device and a terminal device, where a gateway module represents a gateway set-top box and an application module represents a terminal device. As shown in fig. 3, the interaction between the gateway set-top box and the application module and other intelligent terminals such as ipad and smart phone may adopt UPnP protocol as the interaction basic protocol. Due to the characteristics of openness, automatic detection and discovery and portability of the UPnp protocol, the UPnp protocol can be widely applied to devices such as gateways, mobile phones, flat panels and set-top boxes.
In the above embodiment, the gateway device and the broadcasting and television HFC network coaxial line may be connected by a splitter. The gateway equipment is connected to a cable line and is converted into an IP packet through a built-in cable modem, on one hand, the network can be shared by a built-in AP module, on the other hand, the IP packet can be encapsulated into a MoCA data packet through a MoCA module and forwarded out, and then the MoCA data packet is distributed to each room through a coaxial cable, so that the gateway equipment can be directly used for a PC or a set top box supporting MoCA Ethernet Bridge to access the network and a router supporting MoCA/WIFI to perform networking again.
The main function of the DOCSIS Cable Modem system is to transparently transmit IP packets between the front end and the client, and the DOCSIS system includes: a CMTS-cable modem termination system located at the front end; the coaxial network and the CM modem are positioned at a user end.
In an illustrative example, the networking, by the gateway device, of the plurality of terminal devices may include: the gateway equipment receives authentication information of the terminal equipment and accesses the terminal equipment to an ad hoc local area network after the authentication information is verified successfully.
When a terminal device including a corresponding application module accesses a home gateway (i.e., a local area network established by a gateway device) environment, authentication, which may include device authentication and service right authentication, needs to be initiated to the gateway device first. After the authentication is successful, the terminal device can obtain a corresponding token, when subsequent terminal devices access the service provided by the home gateway, the token tokens are required to be carried to receive normal service, otherwise, the gateway device does not provide related service for the terminal device.
Fig. 4 is a logic diagram of a live broadcast service disclosed in an embodiment of the present invention, and as shown in fig. 4, in an example of a live broadcast service, a live broadcast service in a gateway device may provide a broadcast interface of a live broadcast program for an application module in a terminal device, the application module only needs to notify the live broadcast service of the gateway device of a channel number, a program number, and a channel name of a program to be broadcast, the live broadcast service provides a broadcast address of descrambled clear stream data to the application module according to an authentication condition of the application module, and the application function module only needs to broadcast a video stream according to an address provided by the live broadcast service and a corresponding protocol, so as to implement the live broadcast program.
The gateway device adopts FULL-BAND Tuner, can support not less than demultiplexing of 4 TS flows, combine CA and descramble not less than 4 TS flows at the same time, there is a stream media distribution service protocol supporting the multiprotocol in the gateway device, can support not less than 4 data to transmit at the same time.
The TS stream is a transport packet that packets video, audio, PSI, and other data and transmits the packets, and the PID in the TS stream is used to distinguish different data. The length of a TS transmission packet is fixed, generally 188 bytes are used for program transmission, a receiving end (terminal equipment) can directly inject by using a TS stream demultiplexer, and good support is provided for audio and video synchronization; for example, protocol transmission requiring the RTMP and RTSP can be supported by adding RTP header information and payload data after the TS packet header.
Therefore, TS stream can be adopted for transmission between the gateway device and the application module, and DRM or other modes can be selected for encryption to perform data encryption protection and then transmission is performed.
Fig. 5 is a flowchart of another method for acquiring audio and video data according to the embodiment of the present invention, where the method shown in fig. 5 is applied to a gateway device, and as shown in fig. 5, the method for acquiring audio and video data may include:
step 501: the gateway device organizes a plurality of terminal devices.
Step 502: and the gateway equipment locks all frequency points of the digital television broadcast and acquires the program information of each frequency point.
Step 503: and the gateway equipment transmits the program information of all the frequency points to the plurality of terminal equipment.
Step 504: the gateway device performs demultiplexing, descrambling and/or encryption processing on audio/video data received from the digital television broadcast network.
Step 505: the gateway equipment receives the control information sent by different terminal equipment respectively and returns the processed audio and video data to the corresponding terminal equipment respectively according to the received control information.
The audio and video data returned to different terminal devices can be the same audio and video data or different audio and video data.
In this embodiment, after receiving the audio and video data from the digital television broadcast network, the gateway device first performs demultiplexing, descrambling and/or encryption processing on the audio and video data, so as to ensure the security of normal analysis and subsequent transmission of the audio and video data, and lay a good foundation for normal playing of an application module in the terminal device.
In each of the above embodiments, the method for acquiring audio and video data may further include a step of allocating system resources to each service module according to a preset priority level of a service function when the internal resources of the gateway device are insufficient.
The main functions of the resource coordination service of the gateway device are as follows: when the internal resources of the system are insufficient, the system resources are coordinated and scheduled, the priority authority for resource use is allocated, and the system resources are prevented from being maliciously preempted.
The resource scheduling is mainly embodied in the aspects of TUNER + DEMOD and DEMUX (demultiplexer), and can support demultiplexing and descrambling of multiple TS streams. Therefore, in the case of such resource shortage, the following principles can be followed: 1. the priority of the TV live broadcast service is higher than that of the on-demand service; 2. the priority of the service function module in the gateway set top box is higher than that of the service application function modules of other terminals.
The gateway device will perform authentication control on the accessed terminal device, and filter the illegal access.
In the above embodiments, the broadcasting HFC network coaxial line and the gateway device may be connected through a splitter, and support MoCA router networking.
In the last coaxial network of hundreds of meters of HFC, the bidirectional network reconstruction is carried out by utilizing the MoCA scheme, and the method has the advantages of high user bandwidth, strong service support capability, high deployment speed, excellent anti-interference capability, good subsequent capacity expansion and upgrading compatibility and the like.
Most importantly, the QOS is a problem, and the time delay is not more than 250ms for voice communication, while the WIFI technology reaches 400 ms. It is known from practical tests that the delay of the WIFI technology is about 50ms in a one-to-one test, and the delay reaches about 600ms in a one-to-thirty-two test, that is, the jitter reaches 500ms in a network. This is not allowed in video communication and voice communication. The jitter must be less than 40 ms. The jitter of MOCA is about 10ms, and the requirements of video communication and voice communication can be met.
Fig. 6 is a further method for acquiring audio/video data, which is disclosed in the embodiment of the present invention and is applied to an APP end, and as shown in fig. 6, the method may include:
step 601: the APP terminal sends a network access application to the gateway device, and the network access application comprises a network access password.
The network access application may correspond to the authentication information in the foregoing embodiment. The APP terminal can be understood as a terminal device.
And step 602, after the network access password is verified, the APP terminal becomes a terminal device in a local area network established by the gateway device.
Specifically, the token of authentication and certification is used as a token of each access, so that the access validity of the terminal equipment is protected. Different user terminal equipment is connected with the gateway for the first time to generate a unique token, the token is required to be used in subsequent communication, otherwise, illegal access is realized, and the safety can be greatly improved. the token is encrypted for transmission, the token corresponds to the mac address of the client one by one, and the token cannot be verified to pass even if the token is illegally stolen.
Step 603: and the APP end receives the program information of all the frequency points sent by the gateway equipment after all the frequency points are locked.
Step 604: and the APP terminal sends control information generated by the user according to the program information trigger to the gateway equipment.
The control information may be control information for determining to watch a certain live program, or may be control information for determining to watch a certain on-demand program.
Step 605: and the APP terminal receives audio and video data corresponding to the control information from the gateway equipment.
And after receiving the control information sent by the terminal equipment, the gateway equipment returns the audio and video data corresponding to the control information to the terminal equipment so as to be played by the terminal equipment.
The audio and video data may be, but is not limited to, a TS stream file.
In other embodiments, after the APP receives the TS stream file corresponding to the control information from the gateway device, the method for acquiring audio and video data may further include: and the APP terminal decodes, plays and outputs the TS stream file so as to enable a user of the APP terminal to watch audio and video programs.
In this embodiment, the APP side can apply for adding the lan of the gateway device component, and on the premise that the gateway device has the function of outputting audio and video data to a plurality of terminal devices, it can be realized that a plurality of terminal devices in one home gateway enjoy the real-time program playing service at the same time.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
The method is described in detail in the embodiments disclosed above, and the method of the present invention can be implemented by various types of apparatuses, so that the present invention also discloses an apparatus, and the following detailed description will be given of specific embodiments.
Fig. 7 is a schematic structural diagram of an apparatus for acquiring audio and video data according to an embodiment of the present invention, where the apparatus may be applied to a gateway device, and referring to fig. 7, the apparatus 70 for acquiring audio and video data may include:
a networking module 701, configured to network multiple terminal devices.
The establishment of a lan by a gateway device is a relatively mature technology in the field and the principle thereof will not be described in detail here. In this embodiment, the gateway device may implement the functions of home networking, a data gateway, and a media gateway, and after the gateway device is started and successfully networked, may provide a data set media forwarding function for a plurality of terminal devices accessing a local area network.
In this embodiment, the gateway device has a home networking function, and the terminal device, such as a mobile phone, a pad, a PC, a smart television, and other devices, may access the gateway device through an ethernet connection, a wireless (such as wifi) connection, and other connection modes to implement home networking. The gateway device has functions of network routing, data exchange, support for common internet protocols including, but not limited to, IPV4 and IPV6, and support for firewalls. The networking modes of the gateway device include, but are not limited to, ethernet networking, wifi networking and MoCA networking.
A frequency point locking module 702, configured to lock all frequency points of the digital television broadcast, and acquire program information of each frequency point.
In specific implementation, the FULL-BAND tuner device may be configured in the gateway device to lock all frequency points of the digital television broadcast at one time, and reduce the frequency locking time when switching the frequency points. Meanwhile, the gateway equipment can simultaneously provide demultiplexing of multi-path video stream data, and mutual influence of program watching at different frequency points is avoided.
An information sending module 703 is configured to send the program information of all the frequency points to the plurality of terminal devices.
The gateway equipment can provide DVB service information service, can realize the search and monitoring of DVB live program information, stores the searched data in a flash, and provides services such as program information acquisition, updating notification and the like for terminal equipment in a local area network.
When the gateway equipment is started for the first time or the application function actively searches programs, complete automatic search is carried out once, and the searched DVB program information is stored in the flash and is used for being provided for a corresponding application function module in the terminal equipment.
And the data returning module 704 is configured to receive control information sent by the terminal device, and return audio and video data to the terminal device according to the control information.
The audio and video data returned to different terminal devices can be the same audio and video data or different audio and video data.
The audio and video data may be a TS stream file, and the data return module 704 is specifically configured to: and the gateway equipment respectively receives the control information sent by different terminal equipment and respectively returns the TS stream files to the corresponding terminal equipment according to the received control information.
In this embodiment, the apparatus for acquiring audio and video data implements interconnection and intercommunication of each terminal device in the local area network by networking a plurality of terminal devices, and only the gateway device is ensured to have a function of transmitting audio and video data to the plurality of terminal devices, thereby avoiding the problem that in the prior art, a plurality of terminal devices in a household need to configure a plurality of sets of apparatuses for watching digital television broadcasting and bear a plurality of service charges, and saving the cost of using digital television broadcasting services by a plurality of terminals.
In an illustrative example, the gateway device 701 may be specifically configured to: receiving authentication information of terminal equipment, and accessing the terminal equipment to a local area network of the self-organization after the authentication information is verified successfully.
Fig. 8 is a schematic structural diagram of another apparatus for acquiring audio and video data according to an embodiment of the present invention, where the apparatus is applicable to a gateway device, and as shown in fig. 8, the apparatus 80 for acquiring audio and video data may include:
a networking module 701, configured to network multiple terminal devices.
A frequency point locking module 702, configured to lock all frequency points of the digital television broadcast, and acquire program information of each frequency point.
An information sending module 703 is configured to send the program information of all the frequency points to the plurality of terminal devices.
The data processing module 801 is configured to perform demultiplexing, descrambling and/or encryption processing on the audio/video data received from the digital television broadcast network.
And the data returning module 704 is configured to receive control information sent by the terminal device, and return audio and video data to the terminal device according to the control information.
The audio and video data returned to different terminal devices can be the same audio and video data or different audio and video data.
In this embodiment, after receiving the audio and video data from the digital television broadcast network, the gateway device first performs demultiplexing, descrambling and/or encryption processing on the audio and video data, so as to ensure the security of normal analysis and subsequent transmission of the audio and video data, and lay a good foundation for normal playing of an application module in the terminal device.
In each of the above embodiments, the apparatus for acquiring audio and video data may further include a resource scheduling module, configured to allocate system resources to each service module according to a preset priority level of a service function when the internal resources of the gateway device are insufficient.
The main functions of the resource scheduling module are as follows: when the internal resources of the system are insufficient, the system resources are coordinated and scheduled, the priority authority for resource use is allocated, and the system resources are prevented from being maliciously preempted.
Fig. 9 is a schematic structural diagram of another apparatus for acquiring audio/video data according to an embodiment of the present invention, where the apparatus is applied to an APP end, and referring to fig. 9, an apparatus 90 for acquiring audio/video data may include:
a network access application module 901, configured to send a network access application to the gateway device, where the network access application includes a network access password.
The network access application may correspond to the authentication information in the foregoing embodiment. The APP terminal can be understood as a terminal device.
A network access determining module 902, configured to determine, after the network access password is verified, to become a terminal device in a local area network established by the gateway device.
Specifically, the token of authentication and certification is used as a token of each access, so that the access validity of the terminal equipment is protected. Different user terminal equipment is connected with the gateway for the first time to generate a unique token, the token is required to be used in subsequent communication, otherwise, illegal access is realized, and the safety can be greatly improved. the token is encrypted for transmission, the token corresponds to the mac address of the client one by one, and the token cannot be verified to pass even if the token is illegally stolen.
An information receiving module 903, configured to receive program information of all frequency points sent by the gateway device after all frequency points are locked.
And an information sending module 904, configured to send control information generated according to the program information trigger by the user to the gateway device.
The control information may be control information for determining to watch a certain live program, or may be control information for determining to watch a certain on-demand program.
A data receiving module 905, configured to receive, from the gateway device, audio and video data corresponding to the control information.
And after receiving the control information sent by the terminal equipment, the gateway equipment returns the audio and video data corresponding to the control information to the terminal equipment so as to be played by the terminal equipment.
The audio and video data may be, but is not limited to, a TS stream file.
In other embodiments, the apparatus for obtaining audio/video data may further include a decoding output module, configured to decode and play and output the TS stream file, so that a user at the APP end can watch a video.
In this embodiment, the APP side can apply for the lan that joins the gateway device component, and on the premise that the gateway device has the function of outputting audio and video data to a plurality of terminal devices, it can be realized that a plurality of terminal devices in a home gateway enjoy the service of playing real-time television programs simultaneously.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for obtaining audio and video data is applied to gateway equipment and is characterized by comprising the following steps:
the gateway equipment networks a plurality of terminal equipment;
the gateway equipment locks all frequency points of digital television broadcasting and acquires program information of each frequency point;
the gateway equipment transmits the program information of each frequency point to the plurality of terminal equipment;
the gateway equipment respectively receives the control information sent by different terminal equipment, respectively returns audio and video data to the corresponding terminal equipment according to the received control information, and the audio and video data returned by the different terminal equipment are the same audio and video data or different audio and video data.
2. The method for acquiring audio/video data according to claim 1, wherein the gateway device networks a plurality of terminal devices, and the method comprises:
the gateway equipment receives authentication information of the terminal equipment and accesses the terminal equipment to an ad hoc local area network after the authentication information is verified successfully.
3. The method for acquiring audio-video data according to claim 1, further comprising:
the gateway device performs demultiplexing, descrambling and/or encryption processing on the audio/video data received from the digital television broadcast network.
4. The method for acquiring audio and video data according to claim 1, wherein the gateway device respectively receives control information sent by different terminal devices, and respectively returns audio and video data to corresponding terminal devices according to the received control information, and the method comprises:
and the gateway equipment respectively receives the control information sent by different terminal equipment and respectively returns the TS stream files to the corresponding terminal equipment according to the received control information.
5. The method for acquiring audio-video data according to claim 1, further comprising:
and when the internal resources of the gateway equipment are insufficient, distributing system resources for each service module according to the priority level of the preset service function.
6. A method for obtaining audio and video data is applied to an APP terminal, and is characterized by comprising the following steps:
the APP terminal sends a network access application to the gateway equipment, wherein the network access application comprises a network access password;
after the access password passes the verification, the APP terminal becomes the terminal equipment in the local area network established by the gateway equipment;
the APP end receives program information of each frequency point sent by the gateway equipment after all frequency points are locked;
the APP terminal sends control information generated by a user according to the program information trigger to the gateway equipment;
and the APP terminal receives audio and video data corresponding to the control information from the gateway equipment.
7. The method according to claim 6, wherein the audio/video data is a TS stream file, and further comprising:
and the APP terminal decodes and plays the TS stream file for output.
8. The utility model provides a device for obtain audio and video data, is applied to gateway equipment, its characterized in that includes:
the networking module is used for networking a plurality of terminal devices;
the frequency point locking module is used for locking all frequency points of digital television broadcasting, acquiring program information of each frequency point and generating a program information guide EPG;
the information sending module is used for transmitting the program information of all the frequency points to the plurality of terminal devices;
and the data return module is used for receiving the control information sent by the terminal equipment and returning audio and video data to the terminal equipment according to the control information.
9. The apparatus according to claim 8, wherein the gateway device is specifically configured to: receiving authentication information of terminal equipment, and accessing the terminal equipment to a local area network of the self-organization after the authentication information is verified successfully.
10. The utility model provides an obtain audio and video data's device is applied to the APP end, its characterized in that includes:
the network access application module is used for sending a network access application to the gateway equipment, wherein the network access application comprises a network access password;
the network access determining module is used for determining terminal equipment in a local area network formed by the gateway equipment after the network access password passes verification;
the information receiving module is used for receiving the program information of all the frequency points sent by the gateway equipment after all the frequency points are locked;
the information sending module is used for sending control information generated by a user according to the triggering of the program information to the gateway equipment;
and the data receiving module is used for receiving the audio and video data corresponding to the control information from the gateway equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811191354.3A CN111050206B (en) | 2018-10-12 | 2018-10-12 | Method and device for acquiring video and audio data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811191354.3A CN111050206B (en) | 2018-10-12 | 2018-10-12 | Method and device for acquiring video and audio data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111050206A true CN111050206A (en) | 2020-04-21 |
CN111050206B CN111050206B (en) | 2023-05-23 |
Family
ID=70229937
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811191354.3A Active CN111050206B (en) | 2018-10-12 | 2018-10-12 | Method and device for acquiring video and audio data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111050206B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007028324A1 (en) * | 2005-09-09 | 2007-03-15 | Huawei Technologies Co., Ltd. | A set top box and a device for realizing multiple tv sets supported by a single set top box |
CN102255782A (en) * | 2011-06-15 | 2011-11-23 | 中山大学 | Channel management method for digital television and digital home network system |
CN103369400A (en) * | 2013-06-28 | 2013-10-23 | 华为技术有限公司 | System, method and device for sharing digital television program |
CN104053041A (en) * | 2014-06-05 | 2014-09-17 | 东莞中山大学研究院 | Multi-television service system based on home network |
CN105163138A (en) * | 2015-08-21 | 2015-12-16 | 深圳市九洲电器有限公司 | CA (Conditional Access) authentication method and CA authentication system of video gateway |
CN205566546U (en) * | 2016-02-23 | 2016-09-07 | 北京联合大学 | Control system of a STB of two TV set sharings |
-
2018
- 2018-10-12 CN CN201811191354.3A patent/CN111050206B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007028324A1 (en) * | 2005-09-09 | 2007-03-15 | Huawei Technologies Co., Ltd. | A set top box and a device for realizing multiple tv sets supported by a single set top box |
CN102255782A (en) * | 2011-06-15 | 2011-11-23 | 中山大学 | Channel management method for digital television and digital home network system |
CN103369400A (en) * | 2013-06-28 | 2013-10-23 | 华为技术有限公司 | System, method and device for sharing digital television program |
CN104053041A (en) * | 2014-06-05 | 2014-09-17 | 东莞中山大学研究院 | Multi-television service system based on home network |
CN105163138A (en) * | 2015-08-21 | 2015-12-16 | 深圳市九洲电器有限公司 | CA (Conditional Access) authentication method and CA authentication system of video gateway |
CN205566546U (en) * | 2016-02-23 | 2016-09-07 | 北京联合大学 | Control system of a STB of two TV set sharings |
Also Published As
Publication number | Publication date |
---|---|
CN111050206B (en) | 2023-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11455376B2 (en) | Apparatus and methods for content distribution to packet-enabled devices via a network bridge | |
US9191415B2 (en) | Method and system for providing virtual gateway services | |
CN100525192C (en) | Broadband access device, system and method | |
US8494516B2 (en) | Delivery of subscription services to roaming users through head end equipment | |
US8503447B2 (en) | Broadcast receiver and channel information processing method | |
US8108901B2 (en) | Managing access to high definition content | |
EP2219380A2 (en) | Personal TV gateway STB / router | |
US20130227283A1 (en) | Apparatus and methods for providing content to an ip-enabled device in a content distribution network | |
CN106231396B (en) | A kind of set-top box of the shared processing of program resource, system and method | |
JP2006238433A (en) | System for providing broadcasting service of internet protocol base and its method | |
CN101159830A (en) | Apparatus for receiving adaptive broadcast signal and method thereof | |
CN104869473A (en) | Video distribution network system integrating Internet and radio and television network | |
US20060085833A1 (en) | Open cable digital broadcasting system having multiple DSG channel and method for acquiring home DSG channel in the same system | |
US20090109278A1 (en) | Integrated Devices for Multimedia Content Delivery and Video Conferencing | |
US8612456B2 (en) | Scheduling recording of recommended multimedia programs | |
WO2009120010A2 (en) | Apparatus and method for providing contents in internet broadcasting system | |
CN111050206B (en) | Method and device for acquiring video and audio data | |
CN107786875A (en) | Distributed digital video broadcast for cable system and its implementation | |
US10757479B2 (en) | Media interface device | |
KR101410316B1 (en) | Wire and wireless iptv service system and method thereof | |
CN104796762A (en) | Digital TV program content cross-terminal simulcasting method | |
WO2012065416A1 (en) | Method for controlling iptv programs and home gateway | |
Fulton et al. | DOCSIS as a foundation for residential and commercial community networking over hybrid fiber coax | |
KR101183478B1 (en) | System and method of packet transmission for subscriber in digital cable braodcasting environment | |
CN111131859A (en) | Method and device for forwarding TS (transport stream) through router and router |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |