Multiplexing method and device of multi-program TS (Transport Stream), electronic equipment and storage medium
By determining program information when receiving a multi-program TS stream, receiving user selection operations, generating configuration parameters and processing multi-program TS stream, multiplexing and management of TV programs are realized, and the problem that traditional technology cannot realize program reuse is solved.
Patent Information
- Application Number
- CN202510457858.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-14
- Publication Date
- 2025-05-13
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art cannot realize program reuse when receiving a multi-program TS stream, resulting in the inability to effectively manage and combine TV programs.
When receiving the multi-program TS stream, the program information of the candidate programs corresponding to the multi-program TS stream is determined, the user's selection operation is received, configuration parameters are generated, and the multi-program TS stream is processed based on these configuration parameters, and the target TS stream corresponding to the target program is obtained and sent to the receiving end.
The reuse and management of TV programs are realized, and new program combinations can be generated according to user's choices, solving the problem that traditional technology cannot realize program reuse.
Smart Images

Figure CN119996764A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of TS (Transport Stream) processing, and in particular to a multiplexing method, device, electronic device and storage medium for multiplexing multi-program TS streams. Background Art
[0002] At present, in the reception and use of satellite broadcasting television programs, the receiving end does not manage the television programs. It decodes and plays as many programs as it receives, without multiplexing management of the television programs.
[0003] Therefore, how to achieve the multiplexing management of television programs is a technical problem that urgently needs to be solved. Summary of the invention
[0004] The present invention provides a method, device, electronic equipment and storage medium for multiplexing multi-program TS streams to achieve program multiplexing and obtain a new program combination.
[0005] According to one aspect of the present invention, a method for multiplexing multi-program TS streams is provided, comprising: when receiving a multi-program TS stream, determining program information of candidate programs corresponding to the multi-program TS stream, wherein the number of the multi-program TS streams is more than one, and each of the multi-program TS streams includes at least one candidate program; receiving a selection operation on the program information, and determining a target program associated with the selection operation; generating configuration parameters according to the target program, and processing the multi-program TS stream based on the configuration parameters to obtain a target TS stream corresponding to the target program; and sending the target TS stream to a receiving end.
[0006] In a possible implementation, determining the program information of the candidate programs corresponding to the multi-program TS stream includes: deserializing and decoding the multi-program TS stream through an FPGA (Field-Programmable Gate Array) to obtain the program information of the candidate programs corresponding to the multi-program TS stream; wherein the program information includes all information such as the number of programs, program names, and program PIDs.
[0007] In a possible implementation, after obtaining the program information of the candidate programs corresponding to the multi-program TS streams, the method includes: sending the program information to the CPU, so as to display the program information on a human-computer interaction interface associated with the CPU based on the CPU.
[0008] In one possible implementation, receiving a selection operation on the program information and determining a target program associated with the selection operation includes: receiving a selection operation on the human-computer interaction interface and determining a selected target program; wherein, if the number of target programs is more than one and the number of target programs is two, the two target programs are matched with at least one of the multi-program TS streams.
[0009] In a possible implementation, generating configuration parameters according to the target program includes: generating scrambling source configuration parameters and QAM (Quadrature Amplitude Modulation) modulation parameters by the CPU according to the target program; wherein the QAM modulation parameters include at least one of frequency, constellation modulation and output level.
[0010] In a possible implementation, the processing of the multi-program TS stream based on the configuration parameters to obtain the target TS stream corresponding to the target program includes: performing scrambling, RS encoding, convolution interleaving and QAM modulation on the multi-program TS stream through the FPGA according to the scrambling source configuration parameters and QAM modulation parameters to obtain the target TS stream.
[0011] In a possible implementation manner, sending the target TS stream to a receiving end includes: sending the target TS stream to a set-top box.
[0012] According to another aspect of the present invention, a multiplexing device for multiple program TS streams is provided, comprising: a program information determination module, for determining program information of candidate programs corresponding to the multiple program TS streams when receiving the multiple program TS streams, wherein the number of the multiple program TS streams is more than one, and each of the multiple program TS streams includes at least one candidate program; a target program determination module, for receiving a selection operation on the program information, and determining a target program associated with the selection operation; a target TS stream generation module, for generating configuration parameters according to the target program, and processing the multiple program TS streams based on the configuration parameters to obtain a target TS stream corresponding to the target program; and a target TS stream sending module, for sending the target TS stream to a receiving end.
[0013] According to another aspect of the present invention, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for multiplexing multi-program TS streams described in any embodiment of the present invention.
[0014] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for multiplexing multi-program TS streams described in any embodiment of the present invention when executed.
[0015] The technical solution of the embodiment of the present invention discloses a method, device, electronic device and storage medium for multiplexing multi-program TS streams. It relates to the technical field of TS stream multiplexing. The method includes: when receiving a multi-program TS stream, determining the program information of the candidate program corresponding to the multi-program TS stream, wherein the number of the multi-program TS streams is more than one, and each multi-program TS stream includes at least one candidate program; receiving a selection operation on the program information, determining the target program associated with the selection operation; generating configuration parameters according to the target program, and processing the multi-program TS stream based on the configuration parameters to obtain the target TS stream corresponding to the target program and send it to the receiving end. The technical solution of the present invention generates configuration parameters based on the user's selection operation, and then processes the multi-program TS stream based on the configuration parameters to obtain the target program TS stream, which solves the technical problem that the traditional technology directly decodes and plays the multi-program TS stream when it receives it, and cannot realize program multiplexing, thereby realizing the multiplexing of the program and obtaining a new program combination.
[0016] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A flowchart of a method for multiplexing multiple program TS streams provided by an embodiment of the present invention;
[0019] Figure 2 A schematic diagram of multiplexing modulation provided by an embodiment of the present invention;
[0020] Figure 3 An example diagram of multiplexing modulation provided by an embodiment of the present invention;
[0021] Figure 4 A schematic diagram of the structure of a multiplexing device for multiple program TS streams provided by an embodiment of the present invention;
[0022] Figure 5A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] Figure 1 The flowchart of a method for multiplexing a multi-program TS stream provided by an embodiment of the present invention is applicable to the case where a multi-program TS stream is received and then multiplexed. The method can be executed by a multiplexing device for multiplexing a multi-program TS stream. The device can be implemented in the form of hardware and / or software and can be configured in a multiplexing modulator. Figure 1 As shown, the method specifically comprises the following steps:
[0026] S110. When receiving a multi-program TS stream, determine program information of candidate programs corresponding to the multi-program TS stream.
[0027] The multi-program TS stream may be a TS stream including multiple satellite broadcast television programs, for example, multi-program TS stream 1 includes 10 programs, and multi-program TS stream 2 includes 8 programs. The number of multi-program TS streams is more than one, that is, one or more multi-program TS streams can be received at the same time, each of which includes at least one candidate program, and the candidate program may be a program included in each multi-program TS stream.
[0028] Specifically, when a multi-program TS stream is received, the candidate programs and information of the candidate programs included in each multi-program TS stream may be determined.
[0029] In a possible implementation, determining the program information of the candidate programs corresponding to the multi-program TS streams includes: deserializing and decoding the multi-program TS streams through an FPGA to obtain the program information of the candidate programs corresponding to the multi-program TS streams.
[0030] The program information includes all information such as the number of programs, program names and program PID; the number of programs indicates how many different programs are included in the multi-program TS stream; the program name is used to identify and distinguish different programs; and the program PID is a unique identifier for each program.
[0031] Specifically, FPGA is used to process multi-program TS streams, which are usually transmitted in a serial manner. Deserialization can convert the serial data stream into parallel data, and decoding can extract program information related to candidate programs from the TS stream.
[0032] In another possible implementation, after obtaining the program information of the candidate programs corresponding to the multi-program TS streams, the method further includes: sending the program information to a CPU, so as to display the program information on a human-computer interaction interface associated with the CPU based on the CPU.
[0033] In the embodiment of the present invention, the FPGA is used to deserialize and decode the multi-program TS streams, and the program information of the candidate programs is extracted. Through the communication protocol and interface, the program information is sent from the FPGA to the CPU, and then the CPU displays the program information on the human-computer interaction interface, and the user can view and select the program of interest through the interface.
[0034] S120: Receive a selection operation on the program information, and determine a target program associated with the selection operation.
[0035] Specifically, the user browses program information on the human-computer interaction interface and selects a program of interest. The CPU may receive the user's selection operation and analyze the selection operation to determine which program the user has selected, ie, the target program.
[0036] In a possible implementation, receiving a selection operation on the program information and determining a target program associated with the selection operation includes: receiving a selection operation on the human-computer interaction interface and determining a selected target program.
[0037] Wherein, the number of the target programs is more than one. If the number of the target programs is two, the two target programs are matched with at least one of the multi-program TS streams.
[0038] It should also be noted that the user can select some programs or all programs. If the number of target programs is two, the two target programs are matched with at least one multi-program TS stream, which means that the user selects more than two programs, and the more than two programs can correspond to the same multi-program TS stream or different multi-program TS streams.
[0039] S130. Generate configuration parameters according to the target program, and process the multi-program TS streams based on the configuration parameters to obtain a target TS stream corresponding to the target program.
[0040] In the embodiment of the present invention, corresponding configuration parameters can be generated according to the characteristics of the target program, such as program type, encoding format, etc. Then, the multi-program TS streams are processed based on the configuration parameters to extract the TS stream containing the target program, that is, the target TS stream.
[0041] In a possible implementation manner, generating configuration parameters according to the target program includes: generating scrambling source configuration parameters and QAM modulation parameters by the CPU according to the target program.
[0042] The QAM modulation parameters include at least one of frequency, constellation modulation and output level.
[0043] It is understandable that in order to transmit the TS stream to the user, the TS stream usually needs to be encoded and modulated. The appropriate scrambling source and QAM modulation parameters are selected to ensure stable transmission and reception of the signal.
[0044] Specifically, the CPU generates scrambling source configuration parameters and QAM modulation parameters according to the characteristics of the target program. The scrambling source configuration parameters include the specific algorithm or sequence used for scrambling. In the QAM modulation parameters, the frequency point is used to specify the center frequency of the QAM modulated signal, that is, the position of the signal in the spectrum. Constellation modulation is used to describe the distribution of symbols in the complex plane in QAM modulation, that is, the constellation diagram. The output level refers to the level value of the modulated signal output by the modulator, which is used to characterize the power intensity of the modulated signal.
[0045] In a possible implementation, the processing of the multi-program TS stream based on the configuration parameters to obtain the target TS stream corresponding to the target program includes: performing scrambling, RS encoding, convolution interleaving and QAM modulation on the multi-program TS stream through the FPGA according to the scrambling source configuration parameters and QAM modulation parameters to obtain the target TS stream.
[0046] like Figure 2As shown, it is a schematic diagram of the multiplexing modulation principle provided by an embodiment of the present invention. The multiplexing modulator of the present invention includes two parts, one part is FPGA, and the other part is CPU. FPGA is responsible for decoding and encoding of TS stream, and CPU is responsible for sending configuration parameters. The two modules work together to achieve multiplexing management of satellite broadcasting and television programs.
[0047] like Figure 3 As shown, it is an example diagram of multiplexing modulation provided by an embodiment of the present invention.
[0048] Exemplarily, when a TS stream containing 10 programs and a TS stream containing 8 programs are simultaneously connected to the multiplexing modulator, after receiving the TS program stream, the FPGA first deserializes and then decodes. After decoding, the program information in the TS stream, such as the number of programs, program name, program PID, etc., can be obtained. The FPGA sends the decoded program information to the CPU, and the CPU presents it through the human-computer interaction module as a basis for subsequent operations. For example, the subsequent FPGA scrambling code requires the CPU to send the scrambling code source configuration, which is configured through the CPU's human-computer interaction module, such as selecting 8 programs from 10 program streams, selecting 8 programs from 8 program streams, modifying the program PID, etc. After the scrambling code source configuration is sent, the FPGA performs scrambling, RS encoding, convolution interleaving, and combines into a new 16 program streams according to the QAM modulation parameters sent by the CPU, such as frequency, constellation modulation, output level, etc., and sends it to the set-top box, where the set-top box can search and play 16 programs.
[0049] S140: Send the target TS stream to the receiving end.
[0050] Specifically, sending the target TS stream to the receiving end includes: sending the target TS stream to a set-top box.
[0051] The technical solution of the embodiment of the present invention discloses a method for multiplexing multi-program TS streams, the method comprising: upon receiving a multi-program TS stream, determining program information of candidate programs corresponding to the multi-program TS stream, wherein the number of multi-program TS streams is more than one, and each multi-program TS stream includes at least one candidate program; receiving a selection operation on the program information, determining a target program associated with the selection operation; generating configuration parameters according to the target program, and processing the multi-program TS stream based on the configuration parameters to obtain a target TS stream corresponding to the target program and send it to a receiving end. The technical solution of the present invention generates configuration parameters based on the user's selection operation, and then processes the multi-program TS stream based on the configuration parameters to obtain the target program TS stream, which solves the technical problem that the traditional technology directly decodes and plays the multi-program TS stream when it is received, and cannot realize program multiplexing, thereby realizing program multiplexing and obtaining a new program combination.
[0052] Figure 4The present invention provides a schematic diagram of a multiplexing device for multiplexing TS streams of multiple programs. Figure 4 As shown, the device comprises:
[0053] The program information determination module 210 is used to determine the program information of the candidate program corresponding to the multi-program TS stream when receiving the multi-program TS stream, wherein the number of the multi-program TS stream is more than one and each of the multi-program TS streams includes at least one candidate program;
[0054] A target program determination module 220, configured to receive a selection operation on the program information and determine a target program associated with the selection operation;
[0055] A target TS stream generating module 230 generates configuration parameters according to the target program, and processes the multi-program TS streams based on the configuration parameters to obtain a target TS stream corresponding to the target program;
[0056] The target TS stream sending module 240 is used to send the target TS stream to the receiving end.
[0057] The technical solution of the embodiment of the present invention discloses a multiplexing device for multiple program TS streams, the device comprising: a program information determination module, for determining the program information of the candidate program corresponding to the multiple program TS stream when receiving the multiple program TS stream, wherein the number of the multiple program TS streams is more than one, and each of the multiple program TS streams includes at least one candidate program; a target program determination module, for receiving a selection operation on the program information, and determining the target program associated with the selection operation; a target TS stream generation module, for generating configuration parameters according to the target program, and processing the multiple program TS stream based on the configuration parameters to obtain the target TS stream corresponding to the target program; a target TS stream delivery module, for delivering the target TS stream to a receiving end. The technical solution of the present invention generates configuration parameters based on the user's selection operation, and then processes the multiple program TS stream based on the configuration parameters to obtain the target program TS stream, which solves the technical problem that the traditional technology directly decodes and plays the multiple program TS stream when receiving it, and cannot realize program multiplexing, and realizes program multiplexing to obtain a new program combination.
[0058] Optionally, the program information determination module 210 is specifically configured to:
[0059] Deserialize and decode the multi-program TS streams through FPGA to obtain program information of candidate programs corresponding to the multi-program TS streams;
[0060] The program information includes all information such as program quantity, program name and program PID.
[0061] Optionally, the device further includes a display module, which is used to send the program information of the candidate programs corresponding to the multi-program TS streams to the CPU after obtaining the program information of the candidate programs, so as to display the program information on a human-computer interaction interface associated with the CPU based on the CPU.
[0062] Optionally, the target program determination module 220 is specifically configured to:
[0063] Receiving a selection operation on the human-computer interaction interface, and determining a selected target program;
[0064] Wherein, the number of the target programs is more than one. If the number of the target programs is two, the two target programs are matched with at least one of the multi-program TS streams.
[0065] Optionally, the target TS stream generation module 230 includes:
[0066] A parameter generation submodule, used to generate scrambling source configuration parameters and QAM modulation parameters through the CPU according to the target program;
[0067] The QAM modulation parameters include at least one of frequency, constellation modulation and output level.
[0068] Optionally, the target TS stream generation module 230 includes:
[0069] The target TS stream generation submodule is used to perform scrambling, RS encoding, convolution interleaving and QAM modulation on the multi-program TS stream through the FPGA according to the scrambling source configuration parameters and QAM modulation parameters to obtain the target TS stream.
[0070] Optionally, the target TS stream sending module 240 is specifically used for:
[0071] The target TS stream is sent to the set-top box.
[0072] The multiplexing device for multiple program TS streams provided in the embodiment of the present invention can execute the multiplexing method for multiple program TS streams provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0073] Figure 5A schematic diagram of the structure of an electronic device provided for an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0074] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.
[0075] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0076] The processor 11 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a multiplexing method for multiple program TS streams.
[0077] In some embodiments, the multiplexing method of multiple program TS streams may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the multiplexing method of multiple program TS streams described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the multiplexing method of multiple program TS streams in any other appropriate manner (e.g., by means of firmware).
[0078] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0079] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0080] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0081] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0082] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0083] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0084] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0085] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for multiplexing multi-program TS streams, characterized in that: include: When receiving a multi-program TS stream, determining program information of a candidate program corresponding to the multi-program TS stream, wherein the number of the multi-program TS streams is more than one and each of the multi-program TS streams includes at least one candidate program; receiving a selection operation on the program information, and determining a target program associated with the selection operation; Generate configuration parameters according to the target program, and process the multi-program TS stream based on the configuration parameters to obtain a target TS stream corresponding to the target program; The target TS stream is sent to the receiving end.
2. The method according to claim 1, characterized in that The determining of program information of candidate programs corresponding to the multi-program TS streams includes: Deserialize and decode the multi-program TS streams through FPGA to obtain program information of candidate programs corresponding to the multi-program TS streams; The program information includes program quantity, program name and program PID.
3. The method according to claim 2, characterized in that After obtaining the program information of the candidate programs corresponding to the multi-program TS streams, the method includes: The program information is sent to a CPU, so that the program information is displayed on a human-computer interaction interface associated with the CPU based on the CPU.
4. The method according to claim 3, characterized in that The receiving a selection operation on the program information and determining a target program associated with the selection operation includes: Receiving a selection operation on the human-computer interaction interface, and determining a selected target program; Wherein, the number of the target programs is more than one. If the number of the target programs is two, the two target programs are matched with at least one of the multi-program TS streams.
5. The method according to claim 3, characterized in that: The generating configuration parameters according to the target program includes: According to the target program, generating scrambling source configuration parameters and QAM modulation parameters by the CPU; The QAM modulation parameters include at least one of frequency, constellation modulation and output level.
6. The method according to claim 5, characterized in that The processing of the multi-program TS streams based on the configuration parameters to obtain a target TS stream corresponding to the target program includes: According to the scrambling source configuration parameters and QAM modulation parameters, the multi-program TS stream is processed by the FPGA to perform scrambling, RS encoding, convolution interleaving and QAM modulation to obtain the target TS stream.
7. The method according to claim 1, characterized in that The sending the target TS stream to the receiving end includes: The target TS stream is sent to the set-top box.
8. A multiplexing device for multiple program TS streams, characterized in that: include: a program information determination module, configured to determine program information of candidate programs corresponding to a multi-program TS stream upon receiving the multi-program TS stream, wherein the number of the multi-program TS streams is more than one and each of the multi-program TS streams includes at least one candidate program; A target program determination module, configured to receive a selection operation on the program information and determine a target program associated with the selection operation; A target TS stream generation module generates configuration parameters according to the target program, and processes the multi-program TS streams based on the configuration parameters to obtain a target TS stream corresponding to the target program; The target TS stream sending module is used to send the target TS stream to the receiving end.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the method for multiplexing multi-program TS streams according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for multiplexing multi-program TS streams according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
A device of the digital TV terminal for TS stream reuse
CN101009826A
Apparatus and method for re-synthesizing signals
CN101171767A
Code stream multiplexer constituting device
CN102098541A
Signal processing method and signal processing system
CN107872607A
Method and apparatus for descrambling multi program transport streams
EP2627099A1