[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111050206B - Method and device for acquiring video and audio data - Google Patents

Method and device for acquiring video and audio data Download PDF

Info

Publication number
CN111050206B
CN111050206B CN201811191354.3A CN201811191354A CN111050206B CN 111050206 B CN111050206 B CN 111050206B CN 201811191354 A CN201811191354 A CN 201811191354A CN 111050206 B CN111050206 B CN 111050206B
Authority
CN
China
Prior art keywords
video data
audio
gateway
equipment
control information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811191354.3A
Other languages
Chinese (zh)
Other versions
CN111050206A (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.)
Shenzhen Ipanel TV Inc
Original Assignee
Shenzhen Ipanel TV Inc
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 Shenzhen Ipanel TV Inc filed Critical Shenzhen Ipanel TV Inc
Priority to CN201811191354.3A priority Critical patent/CN111050206B/en
Publication of CN111050206A publication Critical patent/CN111050206A/en
Application granted granted Critical
Publication of CN111050206B publication Critical patent/CN111050206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a method and a device for acquiring audio and video data, wherein a plurality of terminal devices in a household are networked through gateway equipment, after networking, the gateway equipment acquires program information of each frequency point in all frequency point locks of digital television broadcasting 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 equipment returns audio and video data which a user wants to watch to the corresponding terminal devices according to the control information. According to the method and the device, interconnection and intercommunication of all the terminal devices in the local area network are realized by networking the plurality of terminal devices, so that the problem that in the prior art, a plurality of set top box devices are required to be configured for watching real-time television programs by the plurality of terminal devices in one family and a plurality of service fees are borne is solved as long as the gateway device has the function of transmitting audio and video data to the plurality of terminal devices, and the cost of using digital television broadcasting services by the plurality of terminals is saved.

Description

Method and device for acquiring video and audio data
Technical Field
The present invention relates to the field of network technologies, and in particular, to a method and an apparatus for acquiring audio and video data.
Background
The digital set-top box is basically a necessary device for every town household. Currently, a digital set-top box can only correspondingly output data to a television. In each household, there are usually multiple rooms and multiple electronic equipment terminals, and each person has inconsistent hobbies and may want to watch real-time television programs of a broadcast network on multiple rooms or multiple electronic equipment terminals, such as mobile phones, tablets, etc., so that multiple set-top boxes are required to be equipped, and the use cost of multiple copies of video is borne. This is costly and not acceptable to home users.
Disclosure of Invention
In view of this, the present invention provides a method and apparatus for obtaining audio and video data, so as to overcome the problem in the prior art that a large amount of cost is required for watching real-time television programs in multiple rooms or multiple terminals of a family.
In order to achieve the above purpose, the present invention provides the following technical solutions:
a method for acquiring audio and video data is applied to gateway equipment and comprises the following steps:
the gateway equipment networking a plurality of terminal equipment;
the gateway equipment locks all frequency points of the digital television broadcast 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 receives control information sent by different terminal equipment respectively, and returns audio and video data to the corresponding terminal equipment according to the received control information respectively, wherein the audio and video data returned to the different terminal equipment are the same audio and video data or different audio and video data.
Optionally, the gateway device networks a plurality of terminal devices, including:
the gateway equipment receives authentication information of the terminal equipment and accesses the terminal equipment into the local area network of the self-group after the authentication information is verified successfully.
Optionally, the method further comprises:
the gateway device performs demultiplexing, descrambling and/or encryption processing on audio and video data received from the digital television broadcasting network.
Optionally, the gateway device receives control information sent by different terminal devices respectively, and returns audio and video data to corresponding terminal devices according to the received control information respectively, including:
the gateway equipment receives the control information sent by different terminal equipment respectively, and returns TS stream files to the corresponding terminal equipment respectively according to the received control information.
Optionally, the method further comprises:
and when the internal resources are insufficient, the gateway equipment allocates system resources for each service module according to the preset priority level of the service function.
A method for acquiring audio and video data is applied to an APP end and comprises the following steps:
the APP end sends a network access application to gateway equipment, wherein the network access application comprises a network access password;
after the network access password passes verification, the APP end becomes terminal equipment in a local area network built by the gateway equipment;
the APP terminal receives program information of each frequency point sent by the gateway equipment after all the frequency points are locked;
the APP end sends control information generated by triggering the user according to the program information to the gateway equipment;
and the APP end receives the 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 further includes:
and decoding and playing the TS stream file by the APP end.
An apparatus for acquiring audio and video data, applied to a gateway device, 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 all frequency points and generating a program information guide EPG;
the information sending module is used for sending 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 the audio and video data to the terminal equipment according to the control information.
Optionally, the gateway device is specifically configured to: and receiving authentication information of the terminal equipment, and accessing the terminal equipment into the local area network of the self-group after the authentication information is verified successfully.
An apparatus for acquiring audio and video data, applied to an APP end, comprises:
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 the terminal equipment in the local area network built by the gateway equipment after the network access password passes the verification;
the information receiving module is used for receiving the program information of all the frequency points sent by the gateway equipment after locking all the frequency points;
the information sending module is used for sending control information generated by triggering the user according to 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.
Compared with the prior art, the embodiment of the invention discloses a method and a device for acquiring audio and video data, wherein a plurality of terminal devices in a household are networked through gateway equipment, after networking, the gateway equipment acquires program information of all frequency points in all frequency point locks of digital television broadcasting, and sends the program information to a plurality of terminal devices in a local area network, and after a client triggers control information according to the program information, the gateway equipment returns 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, interconnection and intercommunication of all the terminal devices in the local area network are realized by networking the plurality of terminal devices, so that the problem that in the prior art, a plurality of set top box devices are required to be configured for watching real-time television programs by the plurality of terminal devices in one family and a plurality of service fees are borne is solved as long as the gateway device has the function of transmitting audio and video data to the plurality of terminal devices, and the cost of using digital television broadcasting services by the 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 that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for acquiring audio and 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 gateway device and terminal device according to an embodiment of the present invention;
fig. 4 is a logic diagram of a live service according to an embodiment of the present invention;
FIG. 5 is a flowchart of another method for obtaining audio/video data according to an embodiment of the present invention;
FIG. 6 is a flowchart of another method for obtaining audio/video data according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus for acquiring audio and 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 according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of another apparatus for acquiring audio and video data according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the 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 the embodiment may be applied to a gateway device, and referring to fig. 1, the method for acquiring audio and video data may include:
step 101: the gateway device networks a plurality of terminal devices.
The establishment of local area networks using gateway devices is a well established technology in the art and its principles are not described in detail here. In this embodiment, the gateway device may implement functions of home networking, data gateway and media gateway, and may provide a data set media forwarding function for a plurality of terminal devices accessing the lan after the gateway device is started and networking is successful.
In this embodiment, the gateway device has a home networking function, and the devices such as a smart phone, an ipad, a PC, and a smart television of the terminal device may access the gateway device through connection modes such as ethernet connection and wireless (e.g. wifi) to implement home networking. The gateway device has network routing, data exchange, support for common internet protocols including, but not limited to IPV4 and IPV6, support for firewalls, and the like. The networking modes of the gateway device include, but are not limited to, ethernet networking, wifi networking and MoCA (Multimedia over Coax Alliance ) networking modes.
Step 102: the gateway equipment locks all frequency points of the digital television broadcast and acquires program information of each frequency point.
In a specific implementation, a tuner device of FULL BAND can be configured in the gateway device to lock all frequency points of the digital television broadcast at one time, so that the frequency locking time when the frequency points are switched is reduced. Meanwhile, the gateway device can provide demultiplexing of the multipath video stream data at the same time, so that mutual influence of program viewing under different frequency points is avoided.
In this embodiment, the program searching function of the gateway device locks the main frequency point to collect the NIT table, then locks the frequency points in turn according to the description of the NIT table, and receives the PAT, PMT, SDT table in the PSI/SI information table under the locked frequency points to complete the collection of all program information, including how many frequency points are in total, how many sets of programs are available for playing under 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 equipment locks all frequency points of the digital television broadcast, and obtains corresponding program information under the locked frequency points, namely, a program information guide, namely, an 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 ) business information service, can realize searching and monitoring of DVB live program information, stores the searched data in flash, and provides services such as program information acquisition, update notification and the like for terminal devices in a local area network.
Fig. 2 is a logic diagram of DVB service information service disclosed in the embodiment of the present invention, and in combination with fig. 2, when a gateway device is started for the first time or an application function actively searches a program, a complete automatic search is performed, and the searched DVB program information is stored in a flash for use by a corresponding application function module in a terminal device.
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 channel list. 2. Specific attribute information corresponding to each channel, such as channel name, channel number, frequency point, symbol rate, modulation mode and other relevant information. 3. EIT data information including program information currently being played and program information for all channels for 7 days.
After the DVB service information service is started, in the non-search process, the gateway device may further implement the following functions: 1. when Tuner is idle, frequency locking is carried out to collect and update EIT (Event Information Table ) data; 2. monitoring NIT/PAT/PMT update when Tuner locks the live frequency point; 3. responding to the data request of the application function module, and returning correct data; the searching process returns to the current state and cannot provide data service; 4. and notifying the application function module of data update.
Step 104: the gateway equipment receives the control information sent by different terminal equipment respectively, and returns 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.
The audio and video data may be a TS stream file, and the gateway device may receive control information sent by different terminal devices, and return the audio and video data to the corresponding terminal devices according to the received control information, where the method may include: the gateway equipment receives the control information sent by different terminal equipment respectively, and returns TS stream files to the corresponding terminal equipment respectively 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, after networking, the gateway device acquires program information of each frequency point in all frequency point locks of digital television broadcasting and sends the program information to the plurality of terminal devices in a local area network, and after triggering control information according to the program information, the gateway device returns audio and video data which the user wants to watch to the corresponding terminal devices according to the control information. The method realizes interconnection and interworking of the terminal devices in the local area network by networking the plurality of terminal devices, and only ensures that the gateway device has the function of transmitting audio and video data to the plurality of terminal devices, thereby avoiding the problems that in the prior art, a plurality of devices are required to be configured for watching real-time television programs by the plurality of terminal devices in a family, and a plurality of service fees are borne, and saving the cost of using digital television broadcasting services by the plurality of terminals.
In the foregoing 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 CMTS (Cable Modem Terminal Systems, cable modem) devices to complete DOCSIS3.0 network access, interacts with a service function module, and is responsible for accessing application modules of each terminal device. The service function module is mainly used for completing the control of the FULL-BAND Tuner, TS data receiving, demultiplexing, descrambling, encrypting and distributing.
Fig. 3 is a software architecture model diagram of a gateway device and a terminal device according to an embodiment of the present invention, 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 the other intelligent terminals such as ipad and smart phone can use UPnP protocol as the interaction base protocol. The UPnp protocol can be widely applied to the gateway, the mobile phone, the tablet, the set top box and other devices due to the openness, the automatic detection and discovery and the portability.
In the above embodiment, the gateway device and the broadcast and television HFC network coaxial line may be connected through a splitter. The gateway equipment is connected to a cable line, is converted into an IP packet through a built-in cable modem, can be used for a built-in AP module to share a network on one hand, can be used for packaging the IP packet into a MoCA data packet through a MoCA module to be forwarded out on the other hand, and 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 be networked again.
The main purpose of the DOCSIS Cable Modem system is to transparently transmit IP packets between the head-end and the client, and the DOCSIS system includes: a CMTS-cable modem termination system located at the front end; coaxial network and CM modem, locate at customer premise.
In an illustrative example, the gateway device networking a plurality of terminal devices may include: the gateway equipment receives authentication information of the terminal equipment and accesses the terminal equipment into the local area network of the self-group after the authentication information is verified successfully.
When the terminal equipment containing the corresponding application module is accessed into the home gateway (namely, the local area network built by the gateway equipment), authentication needs to be initiated to the gateway equipment, and the authentication can comprise equipment authentication and service authority authentication. After the authentication is successful, the terminal equipment can obtain a corresponding token, and the subsequent terminal equipment needs to carry the token when accessing the service provided by the home gateway so as to receive normal service, otherwise, the gateway equipment does not provide related service for the terminal equipment.
Fig. 4 is a logic diagram of a live broadcast service disclosed in an embodiment of the present invention, and in combination with fig. 4, in an example of a live broadcast service, the live broadcast service in a gateway device may provide a playing interface of a live broadcast program for an application module in a terminal device, where 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 played, the live broadcast service provides a playing address of clear stream data through descrambling to the application module according to an authentication condition of the application module, and an application function module only needs to play a video stream according to an address provided by the live broadcast service, so that the live broadcast program can be implemented.
The gateway equipment adopts a FULL-BAND Tuner, can support the demultiplexing of not less than 4 TS streams, combines CA and simultaneously descrambles not less than 4 TS streams, has a streaming media distribution service protocol supporting multiple protocols in the gateway equipment, and can support the simultaneous forwarding of not less than 4 TS streams.
The TS stream is to pack video, audio, PSI and other data into transmission packets for transmission, and the PID in the TS stream is used for distinguishing different data. The TS transmission packet length is fixed, generally 188 bytes, and is mainly used for program transmission, and a receiving end (terminal equipment) can directly utilize a TS stream demultiplexer for injection, so that good support is provided for audio and video synchronization; for example, RTMP and RTSP protocol transmission is needed, so RTP header information and load data can be added after TS stream packet header to support.
Thus, the TS stream can also be used for transmission between the gateway device and the application module, and DRM or other modes can be selected for encryption for data encryption protection and then transmission.
Fig. 5 is a flowchart of another method for acquiring audio and video data according to an 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 networks a plurality of terminal devices.
Step 502: the gateway equipment locks all frequency points of the digital television broadcast and acquires 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 and video data received from the digital television broadcasting network.
Step 505: the gateway equipment receives the control information sent by different terminal equipment respectively, and returns 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 performs demultiplexing, descrambling and/or encryption processing on the audio and video data first, so as to ensure the security of normal analysis and subsequent transmission of the audio and video data, and lay a foundation for normal playing of the application module at the terminal device.
In the foregoing embodiments, the method for obtaining 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 gateway device has insufficient internal resources.
The main functions of the resource coordination service of the gateway equipment are as follows: under the condition of insufficient resources in the system, the system resources are coordinated and scheduled, the priority authority of the resource use is allocated, and the system resources are prevented from being preempted maliciously.
The resource scheduling is mainly embodied in TUNER+DEMOD and DEMUX (demultiplexer) aspects, and can support the demultiplexing and descrambling of multiple TS streams. In the event of such a shortage of resources, the following principle can be followed: 1. the priority of the television live broadcast service is higher than that of the on-demand service; 2. the service function module in the gateway set top box has higher priority than other terminal service application function modules.
The gateway device will authenticate the terminal device that is accessed and will filter the illegal access.
In the above embodiments, the broadcast and television HFC network coaxial line and the gateway device may be connected through a splitter, and a router supporting MoCA is networked.
In the last hundred meters of coaxial network of HFC, utilize MoCA scheme to carry on the two-way network transformation, have user bandwidth high, business support strong ability, deploy fast, antijamming capability is excellent, follow-up dilatation and upgrade a great deal of advantages such as being compatible.
Most important is the QOS problem, the requirement for voice communication is not more than 250ms in terms of time delay, whereas WIFI technology reaches 400ms. From practical tests, the WIFI technology is known to have a delay of about 50ms in one-to-one tests, and a delay of about 600ms in one-to-thirty-two tests, that is, a jitter of 500ms in a network. This is not allowed in video communication and voice communication. Jitter must be less than 40ms. The jitter of MOCA is about 10ms, which can meet the requirements of video communication and voice communication.
Fig. 6 is a schematic diagram of another method for obtaining audio and video data according to an embodiment of the present invention, where the method is applied to an APP end, and as shown in fig. 6, may include:
step 601: and the APP end sends a network access application to the gateway equipment, wherein the network access application comprises a network access password.
The network access application may correspond to the authentication information in the previous embodiment. The APP end can be understood as a terminal device.
Step 602, after the network access password passes verification, the APP end becomes a terminal device in a local area network built by the gateway device.
Specifically, the token of authentication and authentication is used as the token of each access to protect the access legitimacy of the terminal equipment. The gateway can generate a token only for the first time, and the token is needed to be used for subsequent communication, otherwise, the gateway belongs to illegal access, so that the security can be greatly improved. the token is encrypted and transmitted, the token corresponds to the mac address of the client one by one, and the token cannot pass verification after illegal theft.
Step 603: and the APP terminal receives the program information of all the frequency points sent by the gateway equipment after locking all the frequency points.
Step 604: and the APP end sends control information generated by triggering the user according to the program information to the gateway equipment.
The control information may be control information for determining to watch a live program, or may be control information for determining to watch a video-on-demand program.
Step 605: and the APP end receives the audio and video data corresponding to the control information from the gateway equipment.
After receiving the control information sent by the terminal equipment, the gateway equipment returns audio and video data corresponding to the control information to the terminal equipment for playing.
Wherein, the audio and video data can be, but not limited to, TS stream file.
In other embodiments, after the APP end receives the TS stream file corresponding to the control information from the gateway device, the method for obtaining audio and video data may further include: and the APP end decodes, plays and outputs the TS stream file so that a user of the APP end can watch the audio and video programs.
In this embodiment, the APP end can apply for a local area network added to the gateway device component, and on the premise that the gateway device has a function of outputting audio and video data to a plurality of terminal devices, the plurality of terminal devices in one home gateway can enjoy real-time program playing service at the same time.
For the foregoing method embodiments, for simplicity of explanation, the methodologies are shown as a series of acts, but one of ordinary skill in the art will appreciate that the present invention is not limited by the order of acts, as some steps may, in accordance with the present invention, occur in other orders or concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
The method is described in detail in the embodiments disclosed in the present invention, and the method can be implemented by using various types of devices, so that the present invention also discloses a device, and specific embodiments are given below for details.
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 a plurality of terminal devices.
The establishment of local area networks using gateway devices is a well established technology in the art and its principles are not described in detail here. In this embodiment, the gateway device may implement functions of home networking, data gateway and media gateway, and may provide a data set media forwarding function for a plurality of terminal devices accessing the lan after the gateway device is started and networking is successful.
In this embodiment, the gateway device has a home networking function, and the terminal device such as a mobile phone, a pad, a PC, an intelligent television, and the like can access the gateway device through an ethernet connection, a wireless (such as wifi) connection mode, and the like, so as to implement home networking. The gateway device has network routing, data exchange, support for common internet protocols including, but not limited to IPV4 and IPV6, support for firewalls, and the like. The networking modes of the gateway equipment include, but are not limited to, ethernet networking, wifi networking and MoCA networking modes.
The frequency point locking module 702 is configured to lock all frequency points of the digital television broadcast, and obtain program information of each frequency point.
In a specific implementation, a FULL-BAND tuner device may be configured in the gateway device, so as to lock all frequency points of the digital television broadcast at one time, and reduce the frequency locking time when switching frequency points. Meanwhile, the gateway equipment can simultaneously provide demultiplexing of the multipath video stream data, and the mutual influence of program watching under different frequency points is avoided.
An information sending module 703, configured to send program information of all the frequency points to the plurality of terminal devices.
The gateway equipment can provide DVB business information service, can realize searching and monitoring of DVB live program information, stores the searched data in flash, and provides services such as program information acquisition, update 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, the gateway equipment performs a complete automatic search, and stores the searched DVB program information into a flash for the corresponding application function module in the terminal equipment to use.
And the data return 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/video data may be a TS stream file, and the data return module 704 may be specifically configured to: the gateway equipment receives the control information sent by different terminal equipment respectively, and returns TS stream files to the corresponding terminal equipment respectively according to the received control information.
In this embodiment, the device for acquiring audio and video data networks a plurality of terminal devices to implement interconnection and interworking of each terminal device in the local area network, so long as the gateway device is guaranteed to have a function of transmitting audio and video data to the plurality of terminal devices, thereby avoiding the problems in the prior art that a plurality of devices are required to be configured for a plurality of terminal devices in a family to watch digital television broadcasting, and a plurality of service charges are borne, and saving the cost of using digital television broadcasting services by a plurality of terminals.
In one illustrative example, the gateway device 701 is specifically operable to: and receiving authentication information of the terminal equipment, and accessing the terminal equipment into the local area network of the self-group 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 may be applied 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 a plurality of terminal devices.
The frequency point locking module 702 is configured to lock all frequency points of the digital television broadcast, and obtain program information of each frequency point.
An information sending module 703, configured to send 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 audio/video data received from a digital television broadcast network.
And the data return 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 performs demultiplexing, descrambling and/or encryption processing on the audio and video data first, so as to ensure the security of normal analysis and subsequent transmission of the audio and video data, and lay a foundation for normal playing of the application module at the terminal device.
In the foregoing embodiments, the apparatus for obtaining 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 gateway device has insufficient internal resources.
The main functions of the resource scheduling module are as follows: under the condition of insufficient resources in the system, the system resources are coordinated and scheduled, the priority authority of the resource use is allocated, and the system resources are prevented from being preempted maliciously.
Fig. 9 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 applied to an APP end, and referring to fig. 9, the apparatus 90 for acquiring audio and video data may include:
the network access application module 901 is configured to send a network access application to a gateway device, where the network access application includes a network access password.
The network access application may correspond to the authentication information in the previous embodiment. The APP end can be understood as a terminal device.
And the network access determining module 902 is configured to determine to be a terminal device in the local area network established by the gateway device after the network access password passes the verification.
Specifically, the token of authentication and authentication is used as the token of each access to protect the access legitimacy of the terminal equipment. The gateway can generate a token only for the first time, and the token is needed to be used for subsequent communication, otherwise, the gateway belongs to illegal access, so that the security can be greatly improved. the token is encrypted and transmitted, the token corresponds to the mac address of the client one by one, and the token cannot pass verification after illegal theft.
The information receiving module 903 is configured to receive program information of all frequency points sent by the gateway device after all frequency points are locked.
And the information sending module 904 is configured to send control information generated by triggering the user according to the program information to the gateway device.
The control information may be control information for determining to watch a live program, or may be control information for determining to watch a video-on-demand program.
A data receiving module 905 is configured to receive audio/video data corresponding to the control information from the gateway device.
After receiving the control information sent by the terminal equipment, the gateway equipment returns audio and video data corresponding to the control information to the terminal equipment for playing.
Wherein, the audio and video data can be, but not limited to, TS stream file.
In other embodiments, the apparatus for obtaining audio and 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 views the video.
In this embodiment, the APP end can apply for a local area network added to the gateway device component, and on the premise that the gateway device has a function of outputting audio and video data to a plurality of terminal devices, a plurality of terminal devices in a home gateway can enjoy services of playing real-time television programs at the same time.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
It is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like 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. The software modules may be disposed 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 acquiring audio and video data, applied to a gateway device, comprising:
the gateway equipment networking a plurality of terminal equipment;
the gateway equipment locks all frequency points of the digital television broadcast and acquires program information of all frequency points, wherein each frequency point corresponds to at least one set of programs which can be played;
the gateway equipment transmits the program information of all the frequency points to the plurality of terminal equipment;
the gateway equipment receives control information sent by different terminal equipment respectively, and returns audio and video data to the corresponding terminal equipment according to the received control information respectively, wherein the audio and video data returned to the different terminal equipment are the same audio and video data or different audio and video data, and the control information is generated by triggering the user according to the program information.
2. The method for obtaining audio-video data according to claim 1, wherein the gateway device networks a plurality of terminal devices, comprising:
the gateway equipment receives authentication information of the terminal equipment and accesses the terminal equipment into the local area network of the self-group after the authentication information is verified successfully.
3. The method of obtaining audio-visual data according to claim 1, further comprising:
the gateway device performs demultiplexing, descrambling and/or encryption processing on audio and video data received from the digital television broadcasting network.
4. The method for obtaining audio and video data according to claim 1, wherein the gateway device receives control information sent by different terminal devices, and returns the audio and video data to the corresponding terminal devices according to the received control information, respectively, and the method comprises:
the gateway equipment receives the control information sent by different terminal equipment respectively, and returns TS stream files to the corresponding terminal equipment respectively according to the received control information.
5. The method of obtaining audio-visual data according to claim 1, further comprising:
and when the internal resources are insufficient, the gateway equipment allocates system resources for each service module according to the preset priority level of the service function.
6. A method for acquiring audio and video data, applied to an APP end, comprising:
the APP end sends a network access application to gateway equipment, wherein the network access application comprises a network access password;
after the network access password passes verification, the APP end becomes terminal equipment in a local area network built by the gateway equipment;
the APP terminal receives program information of all frequency points sent by the gateway equipment after all frequency points are locked, wherein each frequency point corresponds to at least one set of programs which can be played;
the APP end sends control information generated by triggering the user according to the program information to the gateway equipment;
and the APP end receives the audio and video data corresponding to the control information from the gateway equipment.
7. The method for obtaining audio and video data according to claim 6, wherein the audio and video data is a TS stream file, further comprising:
and decoding and playing the TS stream file by the APP end.
8. An apparatus for acquiring audio and video data, applied to a gateway device, comprising:
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 the digital television broadcast and acquiring program information of all frequency points, wherein each frequency point corresponds to at least one set of programs which can be played;
the information sending module is used for sending the program information of all the frequency points to the plurality of terminal devices;
the data return module is used for receiving control information sent by the terminal equipment and returning audio and video data to the terminal equipment according to the control information, wherein the control information is generated by triggering the user according to the program information.
9. The apparatus for obtaining audio-video data according to claim 8, wherein the gateway device is specifically configured to: and receiving authentication information of the terminal equipment, and accessing the terminal equipment into the local area network of the self-group after the authentication information is verified successfully.
10. An apparatus for acquiring audio and video data, applied to an APP end, comprising:
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 the terminal equipment in the local area network built by the gateway equipment after the network access password passes the verification;
the information receiving module is used for receiving the program information of all frequency points sent by the gateway equipment after all frequency points are locked, wherein each frequency point corresponds to at least one set of programs which can be played;
the information sending module is used for sending control information generated by triggering the user according to 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.
CN201811191354.3A 2018-10-12 2018-10-12 Method and device for acquiring video and audio data Active CN111050206B (en)

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 CN111050206A (en) 2020-04-21
CN111050206B true 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)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863285A (en) * 2005-09-09 2006-11-15 华为技术有限公司 Device for implementing one set-top-box to support multi-television sets
CN102255782B (en) * 2011-06-15 2012-12-05 中山大学 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
CN105163138B (en) * 2015-08-21 2018-10-23 深圳市九洲电器有限公司 Video gateway ca authentication method and system
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
CN111050206A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US11455376B2 (en) Apparatus and methods for content distribution to packet-enabled devices via a network bridge
US11457268B2 (en) Methods and apparatus for controlling unauthorized streaming of content
US8494516B2 (en) Delivery of subscription services to roaming users through head end equipment
CN101159830B (en) Apparatus for receiving adaptive broadcast signal and method thereof
EP2219380A2 (en) Personal TV gateway STB / router
US20110299543A1 (en) Method and System for Providing Virtual Gateway Services
US20100058400A1 (en) Managing Access to High Definition Content
US20090144790A1 (en) Broadcast receiver and method for receiving adaptive broadcast signal
US20090109278A1 (en) Integrated Devices for Multimedia Content Delivery and Video Conferencing
US20160150285A1 (en) Electronic program guide with on-demand cross-references
US20100153445A1 (en) Scheduling recording of recommended multimedia programs
CN101986643A (en) Mobile television program home network sharing method and system
KR100993306B1 (en) Method and system for rebooting settop box
CN111050206B (en) Method and device for acquiring video and audio data
US10757479B2 (en) Media interface device
US8826356B2 (en) Cable modem and data receiving method thereof
KR20210119357A (en) Electronic device, control method thereof, program, medium storage and internet protocol television system
KR20120014662A (en) Method and apparatus for providing contents of iptv to portable device and play the contents with the portable device
KR100862144B1 (en) IPTV music portal service system and method thereof transmitting and receiving music contents
KR101062312B1 (en) Method of providing reverse auction service and system thereof
Jacobs Management of Triple/Quad Play Services from a Cable Perspective
JP2005236569A (en) Terminal equipment for catv and bidirectional catv system

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