CN112399198A - Method, equipment and storage medium for allocating channel resources by television terminal - Google Patents

Method, equipment and storage medium for allocating channel resources by television terminal Download PDF

Info

Publication number
CN112399198A
CN112399198A CN202011464104.XA CN202011464104A CN112399198A CN 112399198 A CN112399198 A CN 112399198A CN 202011464104 A CN202011464104 A CN 202011464104A CN 112399198 A CN112399198 A CN 112399198A
Authority
CN
China
Prior art keywords
channel
live
multicast
live broadcast
internet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011464104.XA
Other languages
Chinese (zh)
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 Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN202011464104.XA priority Critical patent/CN112399198A/en
Publication of CN112399198A publication Critical patent/CN112399198A/en
Pending legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2385Channel allocation; Bandwidth allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6118Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving cable transmission, e.g. using a cable modem

Landscapes

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

Abstract

The application discloses a method, equipment and a storage medium for distributing channel resources by a television terminal, wherein the television terminal comprises a cable modem and a multicast module in communication connection with the cable modem, and the method for distributing the channel resources by the television terminal comprises the following steps: initializing a cable modem, initializing all downlink channels of the cable modem into an internet channel and locking the internet channel; receiving one or more multicast join requests, locking the internet access channels corresponding to the number of the multicast join requests as live broadcast channels, receiving live broadcast streams by using the live broadcast channels, and retransmitting the live broadcast streams to a user terminal; and receiving a multicast leaving request, and re-locking the live channel into an internet channel. The method and the device aim at improving the utilization rate of the internet surfing and live broadcasting bandwidths and increasing the flexibility of internet surfing and live broadcasting service control.

Description

Method, equipment and storage medium for allocating channel resources by television terminal
Technical Field
The present application relates to the field of televisions, and in particular, to a method, a device, and a storage medium for allocating channel resources for a television terminal.
Background
With the development of technology and the demand of people for individualization of tv programs, the conventional Digital Video Broadcasting-Cable (DVB-C) is gradually evolving to the bidirectional interactive tv. The bidirectional interactive television can meet the basic requirement of unidirectional live broadcast and can also expand the functions of bidirectional interaction and internet service.
However, the fixed number of the live channels and the fixed number of the live channels in the existing television terminal easily cause resource waste, and restrict the use performance of two services, too many live channels cause small internet bandwidth, and the idle waste of the live channels is caused when no live service is actually provided, and the small number of the live channels cannot meet the requirement of simultaneous live broadcast of multiple clients under special conditions or scenes.
The above is only for the purpose of assisting understanding of the technical solutions of the present application, and does not represent an admission that the above is prior art.
Disclosure of Invention
The embodiment of the application aims to improve the utilization rate of internet surfing and live broadcast bandwidth and increase the flexibility of internet surfing and live broadcast service control by providing a method, equipment and a storage medium for allocating channel resources by a television terminal.
The application provides a method for distributing channel resources for a television terminal, wherein the television terminal comprises a cable modem and a multicast module in communication connection with the cable modem, and the method comprises the following steps:
initializing a cable modem, initializing all downlink channels of the cable modem into an internet channel and locking the internet channel;
receiving one or more multicast join requests, locking the internet access channels corresponding to the number of the multicast join requests as live broadcast channels, receiving live broadcast streams by using the live broadcast channels, and retransmitting the live broadcast streams to a user terminal;
and receiving a multicast leaving request, and re-locking the live channel into an internet channel.
In some embodiments, the method further comprises: initializing a multicast module, acquiring a live broadcast configuration file, and asynchronously executing the pre-locking of all live broadcast channels.
In some embodiments, the receiving one or more multicast join requests and locking the internet access channels corresponding to the number of multicast join requests as the live channels includes:
receiving one or more multicast join requests, and executing unlocking of the internet access channels corresponding to the number of the multicast join requests;
and setting an attribute label for the unlocked internet channel, and locking the unlocked internet channel as a live channel.
In some embodiments, the receiving a multicast leave request and re-locking the live channel as an internet channel includes:
receiving a multicast leaving request, executing unlocking of the live broadcast channel and releasing a downlink channel where the live broadcast channel is located;
and judging whether the live broadcast channel is in a live broadcast use state, and otherwise, locking the unlocked live broadcast channel as an internet access channel according to the attribute tag.
In some embodiments, the determining whether in a live use state comprises: and judging whether a new multicast adding request is received or not in the waiting period or whether the client is on-line or not.
In some embodiments, the determining whether the live broadcasting channel is in a live broadcasting use state, and otherwise, after the unlocked live broadcasting channel is locked as an internet access channel according to the attribute tag, further includes:
and deleting the attribute tag.
In some embodiments, the attribute tag includes a mapping relationship between a channel frequency or a channel number of the downlink channel and an initial service type of the channel.
In some embodiments, the method further comprises:
when the number of the live broadcast channels reaches the maximum number defined in the live broadcast configuration file, prompting a user whether to add a new live broadcast channel;
and if the confirmation of the user terminal is received, continuously releasing the internet channel for live broadcasting until the number of the live broadcasting channels reaches the total number of the downlink channels.
The application also provides a television terminal channel resource allocation device, which comprises a cable modem and a multicast module in communication connection with the cable modem;
the multicast module is used for receiving one or more multicast join requests and forwarding the one or more multicast join requests to the cable modem; the multicast leaving device is also used for receiving the multicast leaving request and forwarding the multicast leaving request to the cable modem; and for relaying the live stream to the user terminal;
the cable modem is used for initializing all downlink channels into an internet channel and locking the internet channel; the multicast joining system is also used for locking the internet access channels corresponding to the multicast joining request quantity into live broadcast channels and receiving live broadcast streams by utilizing the live broadcast channels; and the system is used for re-locking the live channel into an internet channel.
The present application also proposes a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps in the method for allocating channel resources by a television terminal as described.
According to the embodiment of the application, all downlink channels of the cable modem are initialized into the internet channel and the internet channel is locked by initializing the cable modem, so that enough large internet bandwidth is ensured in the initial stage; then receiving one or more multicast join requests, locking the internet access channels corresponding to the number of the multicast join requests as live channels, receiving live streams by using the live channels, and retransmitting the live streams to the user terminal; and finally, receiving a multicast leaving request and re-locking the live channel into an internet channel. And the idle downlink channel is locked as an internet channel, so that the utilization rate of the channel is improved. According to the method and the device, the down channel of the internet surfing and the live broadcasting is dynamically adjusted according to needs, the utilization rate of the internet surfing and the live broadcasting channels is improved, the application of various scenes is compatible, and the application and maintenance of special configuration of operators for various scenes are saved.
Drawings
Fig. 1 is a hardware framework diagram of an embodiment of a device for allocating channel resources for a television terminal according to the present application;
fig. 2 is a signal handshake diagram of an embodiment of a device for allocating channel resources for a television terminal according to the present application;
fig. 3 is a flowchart illustrating an embodiment of a method for allocating channel resources by a television terminal according to the present application;
FIG. 4 is a block flow diagram of one embodiment of step 200 in FIG. 3;
FIG. 5 is a block flow diagram of one embodiment of step 300 in FIG. 3;
fig. 6 is a block diagram of a flow chart of another embodiment of a method for allocating channel resources by a television terminal according to the present application;
fig. 7 is a flowchart illustrating a method for allocating channel resources by a television terminal according to another embodiment of the present application.
Detailed Description
For a better understanding of the above technical solutions, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
A Cable Modem (CM for short) is a device that realizes high-speed access through a Cable television network. It is not just a modem in the traditional sense, but in fact it operates more as a lan interface (typically over TCP/IP). The coaxial cable between the subscriber's location and the cable company can be extended to a distance as required by the subscriber, and its transmission distance is not limited to 5500 meters. The Cable Modem is in communication with Cable Modem Termination Systems (CMTS) installed in Cable companies, and the CMTS terminates Cable connection output signals from subscribers and assembles these signals into the output of the Cable provider network distribution equipment.
With the development of technology and the demand of people for individualization of tv programs, the traditional Digital Video Broadcasting-Cable (DVB-C) is gradually evolving to the bidirectional interactive tv, and the bidirectional interactive scheme based on the Cable modem in the market at present has the following scheme:
the method comprises the steps that a Cable Modem (CM for short) downlink channel is divided into two parts, one part is used for internet access service, the other part is used for live broadcasting, a Cable Modem Terminal system (CMTS for short) is used by the whole network for single live broadcasting, a static multicast function is used for uninterruptedly transmitting multicast streams in a fixed channel, and after a multicast request of a user Terminal reaches the Cable Modem, the Cable Modem completes corresponding channel frequency locking and bridges the multicast streams to the user Terminal.
The scheme can not only realize data multicast on a Hybrid Fiber Coaxial (HFC) network and complete IP of the live broadcast service, but also distinguish the live broadcast service from the internet service, so that the live broadcast service is more stable, and the number of terminal systems of a networking cable modem is saved. Operators adopting the scheme in the current market generally make separate adaptation for application scenarios, such as a cable modem based on 16 × 4(16 downlink channels and 4 uplink channels), and for home users, 12 × 4(12 downlink channels and 4 uplink channels) channels are adopted for internet service and downlink 4 channels are used for live broadcast service; aiming at the scenes of hotels and the like, 4 x 4(4 downlink channels and 4 uplink channels) are adopted for internet access service, and 12 downlink channels are used for live broadcast service. Therefore, the scheme has obvious defects, and after the downlink channels are divided, the internet access bandwidth is restricted, and the number of clients which broadcast live at the same time is also restricted.
In other words, the fixed number of the internet channels and the number of the live channels in the existing television terminal easily cause resource waste, and restrict the use performance of two services, too many live channels cause a smaller internet bandwidth, and when there is no live service, the live channels are wasted in an empty state, and the small number of the live channels cannot meet the requirement of simultaneous live broadcast of multiple clients under special conditions or scenes.
In addition, due to different scenes, the current strategy adopted by operators is to define the number of downlink channels for live broadcasting in configuration files at the front end, and different configuration files are issued by devices in different scenes, so that the maintenance work is increased, and the application of the same device in different scenes is restricted.
Therefore, there is a need to improve the bandwidth utilization of internet access and live broadcast, and increase the flexibility of controlling internet access and live broadcast services. In view of this, the present application provides a method, a device and a storage medium for allocating channel resources for a television terminal.
Referring to fig. 1, a tv terminal allocating channel resource apparatus 100 is described, which includes a cable modem 101 and a multicast module 102 communicatively connected to the cable modem 101;
the multicast module 102 is configured to receive a single multicast join request or multiple multicast join requests, and forward the single multicast join request or multiple multicast join requests to the cable modem 101; and further for receiving a multicast leave request and forwarding the multicast leave request to the cable modem 101; and for relaying the live stream to the user terminal;
the cable modem 101 is configured to initialize all downlink channels into an internet channel and lock the internet channel; the multicast joining system is also used for locking the internet access channels corresponding to the multicast joining request quantity into live broadcast channels and receiving live broadcast streams by utilizing the live broadcast channels; and the system is used for re-locking the live channel into an internet channel.
The multicast module 102 may be an IPTV set-top box of an interactive television.
The server is communicatively coupled to a cable modem termination system (i.e., CMTS) at the head end for receiving resources from the server and uploading associated resources to the server. The Cable Modem receives a user command, sends a request to the CMTS through a CMTS uplink, and the CMTS downloads data according to the request, demodulates the data inside the Cable Modem and appoints users according to a command destination address.
Those skilled in the art will appreciate that the television terminal allocation channel resource apparatus 100 illustrated in fig. 1 does not constitute a limitation of the television terminal allocation channel resource apparatus 100 and may include more or fewer components than illustrated, or some components in combination, or a different arrangement of components.
In one embodiment, the tv terminal allocating channel resources device 100 performs a method for allocating channel resources by a tv terminal, including:
initializing a cable modem 101, initializing all downlink channels of the cable modem 101 into an internet channel, and locking the internet channel;
receiving one or more multicast join requests, locking the internet access channels corresponding to the number of the multicast join requests as live broadcast channels, receiving live broadcast streams by using the live broadcast channels, and retransmitting the live broadcast streams to a user terminal;
and receiving a multicast leaving request, and re-locking the live channel into an internet channel.
In one embodiment, the tv terminal allocating channel resources device 100 performs a method for allocating channel resources by a tv terminal, including:
the multicast module 102 is initialized, the live broadcast configuration file is acquired, and the pre-locking of all the live broadcast channels is asynchronously executed.
In one embodiment, the tv terminal allocating channel resources device 100 performs a method for allocating channel resources by a tv terminal, including:
the receiving of the single or multiple multicast join requests and the locking of the internet access channels corresponding to the number of the multicast join requests as the live channels comprises the following steps:
receiving one or more multicast join requests, and executing unlocking of the internet access channels corresponding to the number of the multicast join requests;
and setting an attribute label for the unlocked internet channel, and locking the unlocked internet channel as a live channel.
In one embodiment, the tv terminal allocating channel resources device 100 performs a method for allocating channel resources by a tv terminal, including:
the receiving a multicast leaving request and re-locking the live channel as an internet channel includes:
receiving a multicast leaving request, executing unlocking of the live broadcast channel and releasing a downlink channel where the live broadcast channel is located;
and judging whether the live broadcast channel is in a live broadcast use state, and otherwise, locking the unlocked live broadcast channel as an internet access channel according to the attribute tag.
In one embodiment, the tv terminal allocating channel resources device 100 performs a method for allocating channel resources by a tv terminal, including:
the judging whether the live broadcasting use state is in a live broadcasting use state comprises the following steps: and judging whether a new multicast adding request is received or not in the waiting period or whether the client is on-line or not.
In one embodiment, the tv terminal allocating channel resources device 100 performs a method for allocating channel resources by a tv terminal, including:
the judging whether the live broadcasting channel is in a live broadcasting use state, otherwise, after the unlocked live broadcasting channel is locked as an internet access channel according to the attribute tag, the method further comprises the following steps:
and deleting the attribute tag.
In one embodiment, the tv terminal allocating channel resources device 100 performs a method for allocating channel resources by a tv terminal, including:
the attribute label comprises a mapping relation between the channel frequency or the channel number of the downlink channel and the initial service type of the channel.
In one embodiment, the tv terminal allocating channel resources device 100 performs a method for allocating channel resources by a tv terminal, including:
when the number of the live broadcast channels reaches the maximum number defined in the live broadcast configuration file, prompting a user whether to add a new live broadcast channel;
and if the confirmation of the user terminal is received, continuously releasing the internet channel for live broadcasting until the number of the live broadcasting channels reaches the total number of the downlink channels.
The television terminal channel resource allocation device 100 initializes all downlink channels of the cable modem 101 into an internet channel and locks the internet channel by initializing the cable modem 101, and ensures a large enough internet bandwidth in an initial stage; then receiving one or more multicast join requests, locking the internet access channels corresponding to the number of the multicast join requests as live channels, receiving live streams by using the live channels, and retransmitting the live streams to the user terminal; and finally, receiving a multicast leaving request and re-locking the live channel into an internet channel. And the idle downlink channel is locked as an internet channel, so that the utilization rate of the channel is improved. According to the method and the device, the down channel of the internet surfing and the live broadcasting is dynamically adjusted according to needs, the utilization rate of the internet surfing and the live broadcasting channels is improved, the application of various scenes is compatible, and the application and maintenance of special configuration of operators for various scenes are saved.
Based on the hardware architecture of the foregoing television terminal channel resource allocation device 100, please refer to fig. 2 and fig. 3, a first embodiment of the television terminal channel resource allocation method according to the present application is provided below, where the television terminal includes a cable modem 101 and a multicast module 102 communicatively connected to the cable modem 101, and the television terminal channel resource allocation method includes the following steps:
s100, initializing a cable modem 101, initializing all downlink channels of the cable modem 101 into an internet channel, and locking the internet channel;
the cable modem 101 serves as a "lan interface" of the television terminal, and is used for data interaction with the server. In the existing channel resource allocation scheme, the configuration file is set, and then the configuration file at the front end is read to set the number of the downlink channels for live broadcast and the number of the downlink channels for live broadcast.
Therefore, in this step, the cable modem 101 is initialized first, and all the downlink channels of the cable modem 101 are initialized to the uplink channel and the uplink channel is locked, so that there are enough downlink channels for the internet service at the beginning, and enough bandwidth for the internet is ensured.
S200, receiving one or more multicast adding requests, locking the internet access channels corresponding to the number of the multicast adding requests as live broadcast channels, receiving live broadcast streams by using the live broadcast channels, and retransmitting the live broadcast streams to a user terminal;
specifically, the multicast module 102 receives multicast join requests from user terminals, where each multicast join request indicates that a client needs to perform a live broadcast service and needs to obtain a downlink channel for the live broadcast service. Here, the multicast module 102 may be a television set-top box. The user terminal may be a smart phone, a tablet computer, a wearable device such as a smart watch, a smart bracelet, etc. of the user.
Specifically, referring to fig. 4, step S200 includes the following steps:
s210, receiving a single or a plurality of multicast adding requests, and executing unlocking of the internet access channels corresponding to the number of the multicast adding requests;
receiving a single or multiple multicast join requests from a user terminal, unlocking the network channels corresponding to the multicast join requests at the cable modem 101, and changing the network channels after unlocking into idle downlink channels which can be used for setting to be used for live broadcast services.
S220, setting an attribute label for the unlocked internet channel, and locking the unlocked internet channel as a live channel.
In order to remember the unlocked internet channel and facilitate the unlocking of the live channel after the release, the attribute tag is set for the unlocked internet channel, and the unlocked internet channel is locked as the live channel. By setting an attribute label for the unlocked internet channel, at least one of information of a channel label, a channel frequency and a channel initial service type of a downlink channel can be seen from the attribute label. Therefore, the attribute tag includes a mapping relationship between a channel frequency or a channel number of the downlink channel and an initial service type of the channel. In some embodiments, the attribute tag includes a mapping relationship between a channel frequency, a channel number and a channel initial service type. The channel initial traffic type refers to a traffic type set for all downlink channels when downlink channel initialization is performed in step S100.
S300, receiving the multicast leaving request, and locking the live channel as an internet channel again.
And receiving multicast leaving requests of user terminals, wherein each multicast leaving request indicates that one client cancels the live broadcast service, so that a live broadcast channel for the live broadcast service can be released, and the waste of channel resources is avoided.
Specifically, referring to fig. 5, step S300 includes the following steps:
s310, receiving a multicast leaving request, executing unlocking of the live broadcast channel and releasing a downlink channel where the live broadcast channel is located;
receiving a multicast leave request sent by a user terminal, unlocking the live channels with the quantity corresponding to the multicast leave request at the cable modem 101, wherein the unlocked live channels become idle downlink channels which can be used for setting to be used for internet access service.
And S320, judging whether the live broadcasting channel is in a live broadcasting use state, and otherwise, locking the unlocked live broadcasting channel into an internet channel according to the attribute tag.
In order to further confirm whether the live channel is really required to be released, it is also required to judge whether the user terminal is in a live use state. If the system is not in the live use state, the idle downlink channel needs to be released. The determining whether the current multicast service state is the live broadcast service state may include determining whether a new multicast join request is received within a waiting period or determining whether the user terminal is online. It can be understood that if a new multicast join request is not received within a time period or the user terminal goes offline, it indicates that the live broadcast channel is temporarily in an idle state, and the user terminal has no requirement for a live broadcast service temporarily, so that an idle downlink channel needs to be released in time, and the utilization rate of the downlink channel is improved.
And when the user is judged not to be in the live broadcast use state, the unlocked live broadcast channel needs to be locked as the internet access channel according to the attribute tag. The attribute tag comprises the mapping relation between the channel frequency or the channel number of the downlink channel and the initial service type of the channel. According to the attribute tag, the downlink channel corresponding to the channel frequency or the channel number can be locked as the channel initial service type, namely the internet channel.
It should be noted that, in the above embodiment, for the case where different user terminals request to play different programs, in some special cases, a live channel is necessarily occupied by a multicast join request that is not newly joined, and a live channel is necessarily released by a multicast leave request that is left. One channel can transmit a live stream corresponding to a frequency point, if different user terminals play the same program, only one channel is occupied, current user terminals and channel information are maintained through a dynamic table, if program information corresponding to a newly added multicast join request is played, only the live stream needs to be forwarded without operating the channel, the same is true if a multicast leave request is received, and if other user terminals play the corresponding program after the live stream leaves, the live channel cannot be released.
Judging whether the live broadcasting channel is in a live broadcasting use state, otherwise, locking the unlocked live broadcasting channel as an internet channel according to the attribute tag, and then, the method further comprises the following steps: and deleting the attribute tag. Deleting the attribute tag after the step of locking the unlocked live channel to the internet channel can reduce the storage space of the attribute tag and save the cable modem 101 storage space resources.
According to the method, the cable modem 101 is initialized, all downlink channels of the cable modem 101 are initialized into the internet channel, the internet channel is locked, and a large enough internet bandwidth is ensured in the initial stage; then receiving one or more multicast join requests, locking the internet access channels corresponding to the number of the multicast join requests as live channels, receiving live streams by using the live channels, and retransmitting the live streams to the user terminal; and finally, receiving a multicast leaving request and re-locking the live channel into an internet channel. And the idle downlink channel is locked as an internet channel, so that the utilization rate of the channel is improved. According to the method and the device, the down channel of the internet surfing and the live broadcasting is dynamically adjusted according to needs, the utilization rate of the internet surfing and the live broadcasting channels is improved, the application of various scenes is compatible, and the application and maintenance of special configuration of operators for various scenes are saved.
Based on the same inventive concept, please refer to fig. 6, the present application further provides an embodiment two, which is based on the embodiment one.
Example two
The method for allocating channel resources by the television terminal of the embodiment further comprises the following steps:
s100, initializing a cable modem 101, initializing all downlink channels of the cable modem 101 into an internet channel, and locking the internet channel;
s400, initializing the multicast module 102, acquiring a live broadcast configuration file, and asynchronously executing pre-locking of all live broadcast channels;
after all downlink channels are initialized to the internet channel, the multicast join request is not received at this time, and the initialization of the multicast module 102 may be completed before the multicast join request is received, so as to obtain the live broadcast configuration file. The live broadcast configuration file records information such as preset live broadcast channel quantity, live broadcast channel frequency and the like. Before a live broadcast joining request is received, the live broadcast channel with the preset live broadcast channel frequency is pre-locked, and the parameter information such as the frequency, the level, the modulation mode and the like of the live broadcast channel is recorded, so that when the live broadcast joining request is really received, the corresponding live broadcast channel can be quickly locked, the time for locking a downlink channel is shortened, the speed of a television terminal responding to a live broadcast service requested by a user is increased, and the user experience is improved;
s200, receiving one or more multicast adding requests, locking the internet access channels corresponding to the number of the multicast adding requests as live broadcast channels, receiving live broadcast streams by using the live broadcast channels, and retransmitting the live broadcast streams to a user terminal;
s300, receiving the multicast leaving request, and locking the live channel as an internet channel again.
The specific implementation principle and manner of the steps S100, S200 and S300 are the same as those of the steps S100 to S300 in the embodiment of fig. 3, and the description of the steps S100 to S300 can be referred to specifically.
Based on the same inventive concept, please refer to fig. 7, the present application further proposes a third embodiment, which is based on the second embodiment.
EXAMPLE III
The method for allocating the channel resources by the television terminal comprises the following steps:
s100, initializing a cable modem 101, initializing all downlink channels of the cable modem 101 into an internet channel, and locking the internet channel;
s400, initializing the multicast module 102, acquiring a live broadcast configuration file, and asynchronously executing pre-locking of all live broadcast channels;
s200, receiving one or more multicast adding requests, locking the internet access channels corresponding to the number of the multicast adding requests as live broadcast channels, receiving live broadcast streams by using the live broadcast channels, and retransmitting the live broadcast streams to a user terminal;
s300, receiving a multicast leaving request, and locking the live channel as an internet channel again;
s500, when the number of the live broadcast channels reaches the maximum number defined in the live broadcast configuration file, prompting a user whether to add a new live broadcast channel; and if the confirmation of the user terminal is received, continuously releasing the internet channel for live broadcasting until the number of the live broadcasting channels reaches the total number of the downlink channels.
If the currently existing live broadcast channels exceed the maximum number defined in the live broadcast configuration file, the internet access service of the television terminal is affected, specifically, the internet access bandwidth is affected. Therefore, before more live channels for live broadcast services are added, reminding information can be sent to the user terminal, or the user is informed through a screen of the television terminal that the number of the live broadcast channels reaches the maximum number defined in the live broadcast configuration file, and then a new live broadcast channel is added, which may affect the internet access bandwidth. If the user confirms that a new live channel needs to be added, a multicast join request is sent to the multicast module 102 through the user terminal, the internet access channel is continuously unlocked, and the downlink channel is locked as the live channel to carry out the live broadcast service until the number of the live channels reaches the total number of the downlink channels, namely all the downlink channels are used for the live broadcast service.
According to the embodiment, the downstream channels of the internet surfing and the live broadcasting are dynamically adjusted according to needs, so that the bandwidth utilization rate of the internet surfing and the live broadcasting is improved, and the flexibility of controlling internet surfing and live broadcasting services is improved; meanwhile, the method is compatible with the application of various scenes, and saves the application and maintenance of operators for special configuration of various scenes.
The specific implementation principle and manner of the above steps S100, S400, S200 and S300 are the same as those of the steps S100 to S300 in the embodiment of fig. 6, and the description of the steps S100 to S300 can be referred to specifically.
The present application also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps in the method for allocating channel resources by a television terminal.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method for allocating channel resources for a television terminal, wherein the television terminal comprises a cable modem and a multicast module communicatively coupled to the cable modem, the method comprising:
initializing a cable modem, initializing all downlink channels of the cable modem into an internet channel and locking the internet channel;
receiving one or more multicast join requests, locking the internet access channels corresponding to the number of the multicast join requests as live broadcast channels, receiving live broadcast streams by using the live broadcast channels, and retransmitting the live broadcast streams to a user terminal;
and receiving a multicast leaving request, and re-locking the live channel into an internet channel.
2. The method of claim 1, further comprising: initializing a multicast module, acquiring a live broadcast configuration file, and asynchronously executing the pre-locking of all live broadcast channels.
3. The method of claim 1, wherein the receiving one or more multicast join requests and locking the internet access channels corresponding to the number of multicast join requests as live channels comprises:
receiving one or more multicast join requests, and executing unlocking of the internet access channels corresponding to the number of the multicast join requests;
and setting an attribute label for the unlocked internet channel, and locking the unlocked internet channel as a live channel.
4. The method of claim 3, wherein the receiving the multicast leave request to re-lock the live channel as an internet channel comprises:
receiving a multicast leaving request, executing unlocking of the live broadcast channel and releasing a downlink channel where the live broadcast channel is located;
and judging whether the live broadcast channel is in a live broadcast use state, and otherwise, locking the unlocked live broadcast channel as an internet access channel according to the attribute tag.
5. The method of claim 4, wherein the determining whether the device is in a live use state comprises: and judging whether a new multicast adding request is received or not in the waiting period or whether the client is on-line or not.
6. The method as claimed in claim 4, wherein the determining whether the live channel is in a live use state, and otherwise, after the unlocked live channel is locked as the internet channel according to the attribute tag, further comprises:
and deleting the attribute tag.
7. The method according to any of claims 3-6, wherein the attribute tag comprises a mapping relationship between a channel frequency or a channel number of a downlink channel and an initial service type of the channel.
8. The method of claim 1, further comprising:
when the number of the live broadcast channels reaches the maximum number defined in the live broadcast configuration file, prompting a user whether to add a new live broadcast channel;
and if the confirmation of the user terminal is received, continuously releasing the internet channel for live broadcasting until the number of the live broadcasting channels reaches the total number of the downlink channels.
9. An apparatus for allocating channel resources for a television terminal, the apparatus comprising a cable modem and a multicast module communicatively coupled to the cable modem;
the multicast module is used for receiving one or more multicast join requests and forwarding the one or more multicast join requests to the cable modem; the multicast leaving device is also used for receiving the multicast leaving request and forwarding the multicast leaving request to the cable modem; and for relaying the live stream to the user terminal;
the cable modem is used for initializing all downlink channels into an internet channel and locking the internet channel; the multicast joining system is also used for locking the internet access channels corresponding to the multicast joining request quantity into live broadcast channels and receiving live broadcast streams by utilizing the live broadcast channels; and the system is used for re-locking the live channel into an internet channel.
10. A computer readable storage medium, storing one or more programs, which are executable by one or more processors, for performing the steps in the method for allocating channel resources by a television terminal as claimed in any one of claims 1 to 8.
CN202011464104.XA 2020-12-11 2020-12-11 Method, equipment and storage medium for allocating channel resources by television terminal Pending CN112399198A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011464104.XA CN112399198A (en) 2020-12-11 2020-12-11 Method, equipment and storage medium for allocating channel resources by television terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011464104.XA CN112399198A (en) 2020-12-11 2020-12-11 Method, equipment and storage medium for allocating channel resources by television terminal

Publications (1)

Publication Number Publication Date
CN112399198A true CN112399198A (en) 2021-02-23

Family

ID=74625457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011464104.XA Pending CN112399198A (en) 2020-12-11 2020-12-11 Method, equipment and storage medium for allocating channel resources by television terminal

Country Status (1)

Country Link
CN (1) CN112399198A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645784A (en) * 2008-10-22 2010-02-10 中国科学院声学研究所 System and method for achieving business data multicast
US20110058550A1 (en) * 2008-04-30 2011-03-10 Huailong Gu Method, apparatus and system for allocating iptv resources
US20120140778A1 (en) * 2009-08-14 2012-06-07 Zte Corporation Service Bearer Method and Apparatus, Service Data Receiving Method and Receiving Terminal
CN107147593A (en) * 2016-03-01 2017-09-08 中兴通讯股份有限公司 It is managed collectively the method and device of passive light network terminal bandwidth
CN109495773A (en) * 2019-01-11 2019-03-19 鼎点视讯科技有限公司 Flux of multicast configuration method, device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110058550A1 (en) * 2008-04-30 2011-03-10 Huailong Gu Method, apparatus and system for allocating iptv resources
CN101645784A (en) * 2008-10-22 2010-02-10 中国科学院声学研究所 System and method for achieving business data multicast
US20120140778A1 (en) * 2009-08-14 2012-06-07 Zte Corporation Service Bearer Method and Apparatus, Service Data Receiving Method and Receiving Terminal
CN107147593A (en) * 2016-03-01 2017-09-08 中兴通讯股份有限公司 It is managed collectively the method and device of passive light network terminal bandwidth
CN109495773A (en) * 2019-01-11 2019-03-19 鼎点视讯科技有限公司 Flux of multicast configuration method, device and electronic equipment

Similar Documents

Publication Publication Date Title
US10142182B2 (en) Allocating processing bandwidth at a residential gateway utilizing transmission rules
US8898719B2 (en) Communication for one way devices
US11044532B2 (en) Content transfer device and content transfer method, content reproduction device and content reproduction method, content distribution system and computer program
CN110502259B (en) Server version upgrading method, video networking system, electronic equipment and storage medium
CN101159830A (en) Apparatus for receiving adaptive broadcast signal and method thereof
CN107484011B (en) Video resource decoding method and device
MX2007014332A (en) Strategies for scheduling bandwidth-consuming media events.
CN101848211A (en) Coaxial cable and IP hybrid digital TV and VOD system
US10498783B2 (en) Non-DSG mechanisms for aligning client devices with their multicast data flows in a DOCSIS network environment
CN114040232B (en) Screen projection system, screen projection method, electronic equipment and storage medium
CN110381340A (en) Video file processing system
US8839304B2 (en) Method and system for sharing channel map of digital broadcast in home network
CN103747326A (en) Continuous playing method and device for multimedia file
CN102571409B (en) Service request management system and method for realizing service across-terminal application
JP2010519668A (en) Multimedia stream distributed recording method, apparatus and computer program product
US20130340015A1 (en) Method for accessing multimedia content within a home
CA2691532C (en) Method and apparatus for delivering programming code objects to set-top terminals and the like
CN1666468A (en) Method for establishing a default connection in network, and associated source and sink devices
CN112399198A (en) Method, equipment and storage medium for allocating channel resources by television terminal
CN103731371A (en) Method for network data receiving channel management for double-module set top box
KR100742614B1 (en) Apparatus and Method for Resource Management in Data Broadcast Receiver
JPH1078931A (en) Resource management method and information service system
KR100923857B1 (en) Cable Modem and Data Receive Method thereof
CN106790205A (en) Stream media service system
WO2016082806A1 (en) Video processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210223

RJ01 Rejection of invention patent application after publication