CN108777813B - Switching method, device, terminal and storage medium of scrambled digital television program - Google Patents

Switching method, device, terminal and storage medium of scrambled digital television program Download PDF

Info

Publication number
CN108777813B
CN108777813B CN201810689987.0A CN201810689987A CN108777813B CN 108777813 B CN108777813 B CN 108777813B CN 201810689987 A CN201810689987 A CN 201810689987A CN 108777813 B CN108777813 B CN 108777813B
Authority
CN
China
Prior art keywords
descrambler
list
idle
program
packet identifier
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
CN201810689987.0A
Other languages
Chinese (zh)
Other versions
CN108777813A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201810689987.0A priority Critical patent/CN108777813B/en
Publication of CN108777813A publication Critical patent/CN108777813A/en
Application granted granted Critical
Publication of CN108777813B publication Critical patent/CN108777813B/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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4383Accessing a communication channel
    • H04N21/4384Accessing a communication channel involving operations to reduce the access time, e.g. fast-tuning for reducing channel switching latency
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42607Internal components of the client ; Characteristics thereof for processing the incoming bitstream
    • H04N21/42623Internal components of the client ; Characteristics thereof for processing the incoming bitstream involving specific decryption arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4385Multiplex stream processing, e.g. multiplex stream decrypting
    • H04N21/43853Multiplex stream processing, e.g. multiplex stream decrypting involving multiplex stream decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4623Processing of entitlement messages, e.g. ECM [Entitlement Control Message] or EMM [Entitlement Management Message]

Landscapes

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

Abstract

The embodiment of the invention discloses a switching method, a device, a terminal and a storage medium of a scrambled digital television program, when a switching instruction for indicating to switch a current program to a target program is received, a packet identifier corresponding to an original stream of the target program can be obtained from a transport stream, a descrambler corresponding to the packet identifier corresponding to the original stream of the current program is added to a preset idle descrambler list, if the idle descrambler list comprises a descrambler matched with the packet identifier corresponding to the original stream of the target program, the target program is descrambled through the descrambler, the processing process of applying for the descrambler can be reduced, and the switching speed of the scrambled digital television program is accelerated.

Description

Switching method, device, terminal and storage medium of scrambled digital television program
Technical Field
The embodiment of the invention relates to the technical field of digital television scrambling, in particular to a method, a device, a terminal and a storage medium for switching scrambled digital television programs.
Background
Digital television is popularized in China, a variety of program contents are provided for people, the signal transmission loss of the digital television is small compared with that of an analog television, the transmission quality is high, and for the scrambled digital television, the switching of a user is slow when the channel is changed.
In the prior art, some fast switching procedures for implementing scrambled numbers from the viewpoint of CW (Control Word) optimization have appeared.
However, the descrambling process of the scrambled digital television program involves not only the descrambling process of the program using the CW control word but also the calling process of the descrambler.
Disclosure of Invention
The invention provides a switching method, a device, a terminal and a storage medium of a scrambled digital television program, which aim to solve the problem of slow switching of the scrambled digital television.
In a first aspect, an embodiment of the present invention provides a method for switching scrambled digital television programs, including:
receiving a switching instruction for indicating to switch the current program to a target program;
acquiring a packet identifier corresponding to an original stream of the target program from a transport stream;
adding a descrambler corresponding to a packet identifier corresponding to the current program original stream to a preset idle descrambler list;
and if the idle descrambler list comprises a descrambler matched with the packet identifier corresponding to the original stream of the target program, descrambling the target program through the descrambler.
In a second aspect, an embodiment of the present invention further provides a switching device for scrambling a digital television program, including:
the switching instruction receiving module is used for receiving a switching instruction for indicating that the current program is switched to the target program;
the packet identifier acquisition module is used for acquiring a packet identifier corresponding to an original stream of the target program from a transport stream;
an adding module, configured to add a descrambler corresponding to a packet identifier corresponding to the current program to a preset idle descrambler list;
and the first descrambling module is used for descrambling the target program through the descrambler if the idle descrambler list comprises the descrambler matched with the packet identifier corresponding to the target program.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the handover method described above.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the above-mentioned handover method.
According to the switching method, device, terminal and storage medium of the scrambled digital television program provided by the embodiment of the invention, when a switching instruction for indicating to switch the current program to the target program is received, the packet identifier corresponding to the original stream of the target program can be obtained from the transport stream, the descrambler corresponding to the packet identifier corresponding to the original stream of the current program is added to a preset idle descrambler list, and if the idle descrambler list comprises the descrambler matched with the packet identifier corresponding to the original stream of the target program, the target program is descrambled through the descrambler, so that the processing process of applying for the descrambler can be reduced, and the switching speed of the scrambled digital television program is accelerated.
Moreover, in the using process of the user, the number of times of switching the user is increased, and the descramblers corresponding to the packet identifiers corresponding to the original stream of the current program are increasingly added to the idle descrambler list, which is also beneficial to improving the probability that the idle descrambler list comprises the descramblers matched with the packet identifiers corresponding to the original stream of the target program, so that the user can more easily realize the switching method of the embodiment of the invention in the using process of the digital television.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for switching scrambled digital television programs according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a method for switching scrambled digital television programs according to a second embodiment of the present invention;
fig. 3 is a block diagram of a switching apparatus for scrambling digital tv programs according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of steps of a method for switching a scrambled digital television program according to an embodiment of the present invention, where the embodiment is applicable to a situation of changing channels of a scrambled digital television, and the method may be executed by a set-top box and/or a digital television, and specifically includes the following steps:
step 101, receiving a switching instruction for switching a current program to a target program.
Specifically, when a user watches the digital television, the user can usually send a switching instruction through a button on a remote controller, a set top box or the digital television, the set top box or the digital television of the embodiment of the invention can receive a "switching instruction indicating to switch the current program to the target program", the set top box or the television receives the instruction and responds correspondingly, program information of the target program is read from a database, and the target program can be uniquely determined through the program information, so that the program can be switched correctly.
And 102, acquiring a packet identifier corresponding to the original stream of the target program from the transport stream.
Generally, a Transport Stream TS (Transport Stream, simply referred to as TS) may include multiple programs, where there are a current Program and a target Program, the Transport Stream is formed by periodically arranging and forming a series of 188-byte-long TS packets, and a Program association table PAT (Program association table) and a Program map table (PMT (Program map table) that describe multiplexing information of a single Program are carried in payloads of the TS packets.
After determining the target program through the program information, a packet identifier PID (packet identifier) corresponding to the target program may be found in the PAT, and then a TS packet whose PID value in the TS packet header is consistent with the packet identifier is found, i.e. the PMT of the target program, where the PMT includes the packet identifier PID corresponding to all ES original streams of the program, for example, the PID of a video stream in an original stream ESVAnd PID of audio streamaAfter reading PAT and PMT, the user determines the PID corresponding to the original stream of the target programVAnd PIDaIn the subsequent decoding process, the PID number is PIDVAll TS packets of (1) are grouped into a video PES with PID number being PIDaAll the TS packets of (a) are grouped into an audio PES, and if the ES stream is not scrambled, the video PES and the audio PES may be directly decoded by a decoder, and if the ES stream is scrambled,then descrambling before decoding is required.
And 103, adding a descrambler corresponding to the packet identifier corresponding to the original stream of the current program to a preset idle descrambler list.
Specifically, in the practical application process of the embodiment of the present invention, when a user switches programs, the current program is already descrambled and played, in the prior art, when a digital television program is switched, a descrambler used for the current program is released from a memory after being used, however, the embodiment of the present invention does not do so, but adds a descrambler corresponding to a packet identifier corresponding to an original stream of the current program to a "preset idle descrambler list", and caches the list in a device memory, so that when a target program needs to be descrambled by the descrambler, the "idle descrambler list" can be directly called, thereby reducing the time for switching the target program.
The "preset idle descrambler list" is set by a person skilled in the art, and may be set according to packet identifiers corresponding to original streams of television programs frequently watched by a user, for example, the television programs CCTV1 and CCTV2 frequently watched by the user, the packet identifiers corresponding to the original streams are PID10 and PID20, PID30 and PID40, respectively, and correspondingly, the idle descrambler list may set a list of 4 descramblers including "PID 10-descrambler, PID 20-descrambler, PID 30-descrambler, PID 40-descrambler".
It should be noted that, when setting, a person skilled in the art of the "preset idle descrambler list" does not necessarily need to follow the procedure described in step 103, and the specific setting method may be selected by himself, and even the descrambler type in the "preset idle descrambler list" may be set to be zero, that is, the initial state of the idle descrambler is not included in the descrambler type.
Illustratively, the current program is CCTV3, and its original stream has packet identifiers PID50 and PID60, and the "idle descrambler list" includes 6 descramblers, PID 10-descrambler, PID 20-descrambler, PID 30-descrambler, PID 40-descrambler, PID 50-descrambler, and PID-60-descrambler, in step 103 of the embodiment of the present invention.
It is understood that the execution order of steps 102 and 103 is not limited, and may be simultaneous or sequential.
And 104, if the idle descrambler list comprises a descrambler matched with the packet identifier corresponding to the original stream of the target program, descrambling the target program through the descrambler.
Exemplarily, the target program is CCTV5, the packet identifiers corresponding to the original stream of the target program CCTV5 obtained from the transport stream in step 102 are PID50 and PID20, and accordingly, the descramblers matched with the packet identifiers PID50 and PID20 corresponding to the CCTV5 are PID 50-descrambler and PID 20-descrambler, and the example in step 103 is continued, and the descrambler matched with the packet identifiers corresponding to the original stream of the CCTV5 is included in the idle list, so that the CCTV5 can be descrambled by the PID 50-descrambler and the PID 20-descrambler in the idle descrambler list, and the decoding operation is performed after descrambling, thereby completing the playing of the CCTV5 program, without re-applying for a new PID 50-descrambler and PID 20-descrambler, thereby reducing the processing procedure of applying for the descrambler and speeding up the switching process of the scrambled digital television program.
It should be noted that, since there may be a plurality of packet identifiers corresponding to the original stream of the target program, and accordingly, there are a plurality of types of descramblers matching the packet identifiers, the case where the free descrambler list includes the descramblers matching the packet identifiers corresponding to the original stream of the target program does not require to include all matched descramblers, and it is also possible to include only one matched descrambler in the free descrambler list, only in this case, when the target program calls the descrambler, the descrambler having a match in the free descrambler list may directly call the descrambler in the free descrambler list, and the descrambler having a mismatch needs to be reapplied.
It should be noted that, the idea of optimizing the switching method in the embodiment of the present invention is to optimize the application process of the descrambler, when the embodiment of the present invention is used to switch the scrambled digital television program, after the descrambler matched with the packet identifier corresponding to the original stream of the target program is matched from the idle descrambler list, ECM (entitlement control message) data still needs to be read from the TS packet of the original stream of the target program, the ECM data is sent to the smart card for decryption, a corresponding CW control word is obtained, and then the CW control word is used to descramble the target program in combination with the descrambler already existing in the idle descrambler list in the embodiment of the present invention.
In summary, in the method for switching scrambled digital television programs provided in the embodiments of the present invention, when a switching instruction indicating to switch a current program to a target program is received, a packet identifier corresponding to an original stream of the target program may be obtained from a transport stream, a descrambler corresponding to the packet identifier corresponding to the original stream of the current program is added to a preset idle descrambler list, and if the idle descrambler list includes a descrambler matched with the packet identifier corresponding to the original stream of the target program, the target program is descrambled by the descrambler, a processing procedure of applying for the descrambler may be reduced, so as to accelerate a switching speed of the scrambled digital television programs, and in a use process of a user, as a switching frequency of the user increases, the descrambler corresponding to the packet identifier corresponding to the original stream of the current program is increasingly added to the idle descrambler list, this is also advantageous to increase the probability that the free descrambler list includes a descrambler matching the packet identifier corresponding to the original stream of the target program, so that the user can more easily implement the switching method of the embodiment of the present invention during the process of using the digital television.
Example two
Referring to fig. 2, fig. 2 is a flowchart of steps of a switching method for a scrambled digital television program according to a second embodiment of the present invention, where the switching method according to the second embodiment of the present invention is an improvement on the switching method according to the second embodiment of the present invention, so as to achieve a better beneficial effect, and the switching method according to the second embodiment of the present invention may include the following steps:
step 201, presetting an idle descrambler list, and adding a specified descrambler type in the idle descrambler list.
Specifically, the process of presetting the idle descrambler list may refer to step 103, which is not described again in the embodiment of the present invention, and the specified descrambler type may also refer to step 103, where the specified descrambler type may be zero, or may also be a descrambler type corresponding to a packet identifier corresponding to an original stream of a television program frequently viewed by a user.
Step 202, receiving a switching instruction for switching the current program to the target program.
Step 203, obtaining the packet identifier corresponding to the original stream of the target program from the transport stream.
And step 204, adding a descrambler corresponding to the packet identifier corresponding to the original stream of the current program into a preset idle descrambler list.
Step 205, if the idle descrambler list includes a descrambler matched with the packet identifier corresponding to the original stream of the target program, descrambling the target program through the descrambler.
The steps 202 and 205 refer to the related descriptions of the step 101 and 104 in the embodiment, respectively, and the detailed description of the embodiment of the present invention is omitted.
It should be noted that step 201 is only required to be performed before step 204, and the specific execution order of step 201, step 202, and step 203 is not limited in this embodiment of the present invention.
Step 206, releasing the idle descrambler list when in shutdown or maintaining the power supply of the idle descrambler list through a backup power supply.
In the embodiment of the present invention, as described above, the idle descrambler list is cached in the device memory, and when the device is powered off and powered off, the idle descrambler list cannot be stored, so in the embodiment of the present invention, when the device is powered off, the idle descrambler list is released, and certainly, in order not to release a descrambler in the idle descrambler list, the backup power supply may maintain power supply to the idle descrambler list in the power off state in a manner of the backup power supply, so that when the device is powered on and powered on next time, the descrambler in the idle descrambler list can still function, and the switching speed of the scrambled digital television is increased.
In a preferred embodiment of the present invention, the handover method may further include:
and step 207, releasing part of descramblers if the number of descramblers in the idle descrambler list exceeds a preset threshold value.
In the embodiment of the present invention, since the idle descrambler list is cached in the device memory, when the number of descramblers in the idle descrambler list is too large, the processing speed of the device may be affected, so that it is necessary to set a threshold value of the number of descramblers, when the number of descramblers in the idle descrambler list exceeds a preset threshold value, a part of the descramblers is released, wherein a specific number of the descramblers is decomposed, the embodiment of the present invention is not specifically limited, and may be a descrambler that is not called in the descrambler list for a long time, or n descramblers that are called for the least number of times, and the specific value of n may depend on that after the n descramblers are released, the number of descramblers in the idle descrambler list is less than or equal to the threshold value of the number of the descramblers, so that the descrambler list does not occupy too much device memory, and the processing speed of the device is ensured.
In a preferred embodiment of the present invention, as a descrambler corresponding to a packet identifier corresponding to an original stream of a current program is added to a preset idle descrambler list, a situation that descramblers in the idle descrambler list are duplicated may occur, and therefore, to cope with this situation, the handover method in the embodiment of the present invention may further include the following steps:
and step 208, if the types of the descramblers in the idle descrambler list are the same, performing deduplication processing on the types of the descramblers.
In a preferred embodiment of the present invention, the handover method in the embodiment of the present invention may further include the following steps:
step 209, if the free descrambler list does not include a descrambler matched with the packet identifier corresponding to the target program, reapplication for the descrambler matched with the packet identifier to descramble the target program.
In the embodiment of the present invention, if the descrambler matching the packet identifier corresponding to the target program cannot be found in the idle descrambler list, which indicates that there is no descrambler matching the packet identifier corresponding to the target program cached in the device memory, in order to implement the switching and playing of the digital television program, the descrambler calling method in the prior art may be used to reapply the descrambler matching the packet identifier to descramble the target program, thereby completing the normal switching process of the digital television program.
In summary, the switching method for the scrambled digital television provided by the second embodiment of the present invention optimizes more situations and further improves the switching speed of the scrambled digital television program on the basis of maintaining the advantages of the method of the second embodiment.
EXAMPLE III
Fig. 3 is a block diagram of a switching device for scrambling a digital television program according to a third embodiment of the present invention, where the switching device may specifically include:
a switching instruction receiving module 301, configured to receive a switching instruction indicating to switch a current program to a target program;
a packet identifier obtaining module 302, configured to obtain a packet identifier corresponding to an original stream of the target program from a transport stream;
an adding module 303, configured to add a descrambler corresponding to the packet identifier corresponding to the current program to a preset idle descrambler list;
a first descrambling module 304, configured to descramble the target program through a descrambler if the free descrambler list includes a descrambler that matches the packet identifier corresponding to the target program.
In a preferred embodiment of the present invention, the switching device further includes:
and the idle descrambler list presetting module is used for presetting an idle descrambler list, and adding a specified descrambler type in the idle descrambler list.
In a preferred embodiment of the present invention, the switching device further includes:
the first releasing module is used for releasing the idle descrambler list when the device is powered off or maintaining the power supply to the idle descrambler list through a backup power supply.
In a preferred embodiment of the present invention, the switching device further includes:
and the second release module is used for releasing part of the descramblers if the number of the descramblers in the idle descrambler list exceeds a preset threshold value.
In a preferred embodiment of the present invention, the switching device further includes:
and the deduplication module is used for performing deduplication processing on the types of the descramblers if the types of the descramblers in the idle descrambler list are the same.
In a preferred embodiment of the present invention, the switching device further includes:
and the second descrambling module is used for reapplicating the descrambler matched with the packet identifier to descramble the target program if the descrambler matched with the packet identifier corresponding to the target program is not included in the idle descrambler list.
The switching device for the scrambled digital television programs provided by the embodiment of the invention can execute the switching method for the scrambled digital television programs provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a terminal according to a fourth embodiment of the present invention, as shown in fig. 4, the terminal includes a processor 40, a memory 41, an input device 42, and an output device 43; the number of the processors 40 in the terminal may be one or more, and one processor 40 is taken as an example in fig. 4; the processor 40, the memory 41, the input device 42 and the output device 43 in the terminal may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
The memory 41 serves as a computer-readable storage medium, and may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for selecting a captured avatar by a camera in the embodiment of the present invention (for example, the switching instruction receiving module 301, the packet identifier obtaining module 302, the adding module 303, and the first descrambling module 304 in the apparatus). The processor 40 executes various functional applications and data processing of the terminal by running software programs, instructions and modules stored in the memory 41, that is, the above-mentioned switching method of the scrambled digital television program is realized.
The memory 41 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 41 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 41 may further include memory located remotely from processor 40, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 42 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. The output device 43 may include a display device such as a display screen.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a method for switching scrambled digital television programs, the method including:
receiving a switching instruction for indicating to switch the current program to a target program;
acquiring a packet identifier corresponding to an original stream of the target program from a transport stream;
adding a descrambler corresponding to a packet identifier corresponding to the current program original stream to a preset idle descrambler list;
and if the idle descrambler list comprises a descrambler matched with the packet identifier corresponding to the original stream of the target program, descrambling the target program through the descrambler.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the switching method of the scrambled digital television program provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the above switching apparatus for scrambling a digital television program, each unit and each module included in the above switching apparatus are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (9)

1. A switching method for scrambling digital television programs is characterized by comprising the following steps:
receiving a switching instruction for indicating to switch the current program to a target program;
acquiring a packet identifier corresponding to an original stream of the target program from a transport stream;
adding a descrambler corresponding to a packet identifier corresponding to the current program original stream to a preset idle descrambler list;
if the idle descrambler list comprises a descrambler matched with the packet identifier corresponding to the original stream of the target program, descrambling the target program through the descrambler;
and releasing part of descramblers if the number of the descramblers in the idle descrambler list exceeds a preset threshold value.
2. The switching method according to claim 1, wherein before the adding the descrambler corresponding to the packet identifier corresponding to the current program to a preset list of idle descramblers, the method further comprises:
a list of free descramblers is preset, and a specified descrambler category is added to the list of free descramblers.
3. The handover method according to claim 1, further comprising:
releasing the idle descrambler list when in shutdown or maintaining power supply to the idle descrambler list through a backup power supply.
4. The handover method according to any one of claims 1 to 3, further comprising:
and if the idle descrambler list does not comprise a descrambler matched with the packet identifier corresponding to the target program, reapplying the descrambler matched with the packet identifier to descramble the target program.
5. A switching apparatus for scrambling a digital television program, comprising:
the switching instruction receiving module is used for receiving a switching instruction for indicating that the current program is switched to the target program;
the packet identifier acquisition module is used for acquiring a packet identifier corresponding to an original stream of the target program from a transport stream;
an adding module, configured to add a descrambler corresponding to a packet identifier corresponding to the current program to a preset idle descrambler list;
a first descrambling module, configured to descramble the target program through a descrambler if the idle descrambler list includes the descrambler matched with the packet identifier corresponding to the target program;
and the second release module is used for releasing part of the descramblers when the number of the descramblers in the idle descrambler list exceeds a preset threshold value.
6. The switching device according to claim 5, further comprising:
and the idle descrambler list presetting module is used for presetting an idle descrambler list, and adding a specified descrambler type in the idle descrambler list.
7. The switching device according to claim 5, further comprising:
the first releasing module is used for releasing the idle descrambler list when the device is powered off or maintaining the power supply to the idle descrambler list through a backup power supply.
8. A terminal, characterized in that the terminal comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the handover method of any one of claims 1-4.
9. A storage medium containing computer-executable instructions for performing the handover method of any one of claims 1 to 4 when executed by a computer processor.
CN201810689987.0A 2018-06-28 2018-06-28 Switching method, device, terminal and storage medium of scrambled digital television program Active CN108777813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810689987.0A CN108777813B (en) 2018-06-28 2018-06-28 Switching method, device, terminal and storage medium of scrambled digital television program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810689987.0A CN108777813B (en) 2018-06-28 2018-06-28 Switching method, device, terminal and storage medium of scrambled digital television program

Publications (2)

Publication Number Publication Date
CN108777813A CN108777813A (en) 2018-11-09
CN108777813B true CN108777813B (en) 2021-04-20

Family

ID=64030625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810689987.0A Active CN108777813B (en) 2018-06-28 2018-06-28 Switching method, device, terminal and storage medium of scrambled digital television program

Country Status (1)

Country Link
CN (1) CN108777813B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399197A (en) * 2019-08-12 2021-02-23 深圳市茁壮网络股份有限公司 Method, device, server and medium for converting IP (Internet protocol) playing into scrambled video stream playing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574918A (en) * 2003-05-20 2005-02-02 三星电子株式会社 Scramble release device for scrambled digital broadcasting streams in broadcasting communication convergence system
CN1868206A (en) * 2003-08-13 2006-11-22 汤姆森许可公司 Pre-processing of descrambling data to reduce channel-change time
CN102665105A (en) * 2012-05-15 2012-09-12 山东泰信电子有限公司 Method for realizing rapid channel change of digital television terminal
CN105245941A (en) * 2015-09-30 2016-01-13 青岛海信宽带多媒体技术有限公司 Encryption television program switching method and device
CN106412698A (en) * 2016-11-08 2017-02-15 深圳创维数字技术有限公司 Method and device for realizing digital television fast descrambling
CN106658151A (en) * 2016-11-29 2017-05-10 深圳创维数字技术有限公司 Method and device for rapidly changing station of digital television

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1879376A3 (en) * 2006-06-13 2011-04-06 Samsung Electronics Co., Ltd. Fast channel switching method and apparatus for digital broadcast receiver
CN101466005B (en) * 2008-11-14 2010-06-02 深圳创维数字技术股份有限公司 Method for recording TV program for digital television and digital television
CN101521777B (en) * 2009-03-31 2011-02-16 深圳创维数字技术股份有限公司 DTV frequency channel switching method, DTV frequency channel switching system and DTV receiving terminal
CN102595236B (en) * 2012-01-31 2016-05-18 深圳创维数字技术股份有限公司 A kind of method of Set Top Box and changing channels of digital television thereof
CN103997664B (en) * 2014-05-07 2018-05-01 深圳市九洲电器有限公司 The de-scrambling method and system of a kind of audio/video flow

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1574918A (en) * 2003-05-20 2005-02-02 三星电子株式会社 Scramble release device for scrambled digital broadcasting streams in broadcasting communication convergence system
CN1868206A (en) * 2003-08-13 2006-11-22 汤姆森许可公司 Pre-processing of descrambling data to reduce channel-change time
CN102665105A (en) * 2012-05-15 2012-09-12 山东泰信电子有限公司 Method for realizing rapid channel change of digital television terminal
CN105245941A (en) * 2015-09-30 2016-01-13 青岛海信宽带多媒体技术有限公司 Encryption television program switching method and device
CN106412698A (en) * 2016-11-08 2017-02-15 深圳创维数字技术有限公司 Method and device for realizing digital television fast descrambling
CN106658151A (en) * 2016-11-29 2017-05-10 深圳创维数字技术有限公司 Method and device for rapidly changing station of digital television

Also Published As

Publication number Publication date
CN108777813A (en) 2018-11-09

Similar Documents

Publication Publication Date Title
EP2991361B1 (en) Method, device, and system for improving channel change speed
CN101521777B (en) DTV frequency channel switching method, DTV frequency channel switching system and DTV receiving terminal
CN103888832B (en) A kind of playback terminal accesses the treating method and apparatus of data source switching
JP2008517536A5 (en)
JP2001069106A (en) Stream multiplexing/demultiplexing device
WO2018099331A1 (en) Method and apparatus for switching digital television channels
CN101946489A (en) Methods and apparatus to reduce channel switching time
CN102006511A (en) Method and device for looking back live program and terminal
CN113422984B (en) Video processing method and device, electronic equipment and storage medium
US8806525B2 (en) Method to optimize reception of entitlement management messages in a Pay-TV system
CN108777813B (en) Switching method, device, terminal and storage medium of scrambled digital television program
CN106412698B (en) Method and device for realizing quick descrambling of digital television
CN105430490A (en) Flexible control and switching method for live channels
CN105516796B (en) set-top box multi-screen interactive management method and system
CN105245941B (en) A kind of encrypted television program switching method and device
CN108289240B (en) Method, terminal and computer readable medium for quickly changing channels of digital television
US7039191B2 (en) Chaining key broadcasting reception system and chaining key broadcasting reception method
CN107592558B (en) Interaction method and device for CA middleware in set top box
CN108259962B (en) Program switching method, set top box and storage medium
CN108156513B (en) Program descrambling and recording method, set top box and storage medium
CN103281572A (en) DVB (Digital Video Broadcasting) condition receiving device capable of descrambling integrated basic data and normal data
CN107306356A (en) Video information describes file acquisition method and content distributing server, set top box, system
CN108632681B (en) Method, server and terminal for playing media stream
CN103997664A (en) Descrambling method and system for audio and video streams
CN101951483B (en) The changing method of the television channel of mobile terminal and mobile terminal

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