WO2018205512A1 - 信息加解密方法、机顶盒、系统及存储介质 - Google Patents

信息加解密方法、机顶盒、系统及存储介质 Download PDF

Info

Publication number
WO2018205512A1
WO2018205512A1 PCT/CN2017/109080 CN2017109080W WO2018205512A1 WO 2018205512 A1 WO2018205512 A1 WO 2018205512A1 CN 2017109080 W CN2017109080 W CN 2017109080W WO 2018205512 A1 WO2018205512 A1 WO 2018205512A1
Authority
WO
WIPO (PCT)
Prior art keywords
top box
set top
information
chip
pld chip
Prior art date
Application number
PCT/CN2017/109080
Other languages
English (en)
French (fr)
Inventor
洪德胜
Original Assignee
深圳创维数字技术有限公司
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 深圳创维数字技术有限公司 filed Critical 深圳创维数字技术有限公司
Publication of WO2018205512A1 publication Critical patent/WO2018205512A1/zh

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/41Structure of client; Structure of client peripherals
    • 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
    • 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/4627Rights management associated to the content

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to an information encryption and decryption method, a set top box, a system, and a storage medium.
  • the encryption and decryption operations are performed by a third party, which results in a large workload; or an additional burden on the central processing unit (CPU), which causes the system to jam and jam, making the encryption and decryption inefficient.
  • CPU central processing unit
  • the embodiment of the invention provides an information encryption and decryption method, a set top box, a system and a storage medium, which are used for efficient and convenient encryption and decryption operations.
  • an embodiment of the present invention provides an information encryption method, where the set top box includes a programmable logic device PLD chip, and the method includes:
  • the target information is obtained;
  • the target information is saved to the set top box.
  • the encrypting the original information by using the PLD chip includes:
  • the original information is inverted by the PLD chip.
  • the set top box further includes a central processing unit CPU, and the CPU is connected to the PLD chip;
  • the method further includes:
  • the PLD chip includes a complex programmable logic device CPLD chip.
  • an embodiment of the present invention provides an information decryption method, where the set top box includes a programmable logic device PLD chip, and the method includes:
  • acquiring information specified by the play instruction is target information, where the target information includes information after the PLD chip encrypts the original information, where the original information is received by the set top box.
  • the decrypted target information is obtained;
  • the decrypted target information After the decrypted target information is obtained, the decrypted target information is played.
  • the decrypting operation of the target information by using the PLD chip includes:
  • the target information is inverted by the PLD chip.
  • the PLD chip includes a complex programmable logic device CPLD chip.
  • an embodiment of the present invention provides a set top box, where the set top box includes a programmable logic device PLD chip, and the set top box includes:
  • An acquiring module configured to obtain original information, where the original information is information obtained by the set top box from the received digital signal;
  • An encryption module configured to perform encryption operation on the original information by using the PLD chip, and obtain Goal information
  • the saving module saves the target information to the set top box.
  • the encryption module is specifically configured to perform bit swapping on the original information by using the PLD chip.
  • the encryption module is specifically configured to perform inverse operation on the original information by using the PLD chip.
  • the set top box further includes a central processing unit CPU, and the CPU is connected to the PLD chip; the set top box further includes:
  • a receiving module configured to receive, by using the PLD chip, an encryption instruction sent by the CPU
  • the cryptographic module is configured to perform, by using the PLD chip, an encryption operation sent by the CPU, and performing an encryption operation on the original information by using the PLD chip.
  • the PLD chip includes a complex programmable logic device CPLD chip.
  • an embodiment of the present invention further provides a set top box, where the set top box includes a programmable logic device PLD chip, and the set top box includes:
  • a receiving module configured to receive a play instruction
  • An acquiring module configured to acquire information specified by the play instruction as target information, where the target information includes information after the PLD chip performs an encryption operation on the original information, where the original information is a number received by the set top box Information obtained in the signal;
  • a decryption module configured to perform decryption operation on the target information by using the PLD chip, and obtain decrypted target information
  • a playing module configured to play the decrypted target information.
  • the decrypting module is specifically configured to perform bit swapping on the target information by using the PLD chip.
  • the decrypting module is specifically configured to perform inverse operation on the target information by using the PLD chip.
  • the PLD chip includes a complex programmable logic device CPLD chip.
  • an embodiment of the present invention provides an information encryption and decryption system, including: a first set top a box and a second set top box, the first set top box includes a first programmable logic device PLD chip, and the second set top box includes a second PLD chip;
  • the first set top box is configured to acquire original information, and after the first PLD chip performs an encryption operation on the original information, obtain target information, and save the target information to the set top box;
  • the second set top box is configured to receive a play instruction, acquire the target information specified by the play instruction, and perform decryption operation on the target information by using the second PLC chip, obtain the decrypted target information, and play The decrypted target information.
  • the first set top box and the second set top box belong to the same set top box
  • the first PLD chip and the second PLD chip belong to the same PLD chip
  • an embodiment of the present invention further provides an information encryption and decryption system, including: a first set top box and a second set top box, wherein the first set top box includes the set top box according to the third aspect, and the second set top box includes The set top box of the fourth aspect.
  • an embodiment of the present invention further provides a set top box, including: a processor, a memory, and a transceiver, wherein the processor, the memory, and the transceiver are connected to each other, wherein the memory is used to store a computer A program, the computer program comprising program instructions, the processor being configured to invoke the program instructions, to perform the method of the first aspect, and/or to perform the method of the second aspect.
  • an embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processor Executing the method of the first aspect, and/or the program instructions, when executed by a processor, cause the processor to perform the method of the second aspect.
  • the PLD chip By implementing the embodiment of the present invention, by adding a Programmable Logic Device (PLD) chip to the set top box, the PLD chip is used to encrypt the original information, and on the one hand, the CPU load and the encryption can be effectively reduced. The efficiency of the operation; on the other hand, the information is processed by the PLD chip to increase the portability of the system.
  • PLD Programmable Logic Device
  • FIG. 1 is a schematic flowchart of an information encryption method according to an embodiment of the present invention.
  • FIG. 2A is a schematic diagram of a scenario of data according to an embodiment of the present invention.
  • 2B is a schematic diagram of a scenario for encrypting data according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a method for decrypting information according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of an information processing method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a set top box according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another set top box according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of still another set top box according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of still another set top box according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of an encryption and decryption system according to an embodiment of the present invention.
  • the embodiment of the invention discloses an information encryption and decryption method and a set top box.
  • the burden of the CPU be effectively reduced, but the efficiency of the encryption and decryption operation can be improved;
  • the information is processed by the PLD chip, and the system can be increased. Portability. The details are described below separately.
  • FIG. 1 is an information encryption method according to an embodiment of the present invention.
  • the information encryption method may be applied to a set top box, where the set top box includes a programmable logic device PLD chip.
  • the information encryption method includes The following steps:
  • the PLD chip may also be a Complex Programmable Logic Device (CPLD) chip or the like, which is not specifically limited in the embodiment of the present invention.
  • CPLD Complex Programmable Logic Device
  • the foregoing encrypting the original information by using the PLD chip includes:
  • the original information is inverted by using the PLD chip.
  • the storage medium in the set top box may include a random access memory (RAM), a read-only memory (ROM), and an erasable programmable read only memory (Erasable Programmable Read Only). Memory, EPROM), or Compact Disc Read-Only Memory (CD-ROM).
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read only memory
  • CD-ROM Compact Disc Read-Only Memory
  • the storage medium in the set top box may be an Embedded Multi Media Card (EMMC).
  • EMMC Embedded Multi Media Card
  • the storage medium in the set top box is EMMC, and the EMMC interface is taken as an example.
  • the original data before the encryption is performed is shown in FIG. 2A, and the data bus is 8 bits, respectively.
  • the left side is the data to be stored
  • the middle is the CPLD hardware
  • the right side is the EMMC storage unit
  • the data is transformed by the CPLD hardware
  • the left D0 is converted to the right S0D6 (S indicates Source, that is, the source data D0 corresponds to the current data D6)
  • the original 0x3A has become 1000_0110 or hexadecimal 0x86 after being converted and stored by the CPLD hardware.
  • bit exchange is only an example, that is, there may be other manners of bit swapping, for example, high and low bit swapping, etc., and the embodiment of the present invention does not perform specific bit swapping. limited.
  • the encryption operation of the information based on the PLD chip can effectively reduce the workload of the Central Processing Unit (CPU).
  • CPU Central Processing Unit
  • the embodiment of the present invention further provides a method for triggering the PLD chip to encrypt the original information, where the set top box further includes a central processing unit CPU, and the CPU is connected to the PLD chip;
  • the method further includes:
  • the CPU sending the encryption instruction to the PCD chip can be understood as the CPU triggering the PCD chip, so that the PLD chip performs the encryption operation.
  • the CPU and the PLD chip can communicate through an Inter-Integrated Circuit (IIC), or can communicate through a Serial Peripheral Interface (SPI), etc., and the present invention is implemented.
  • IIC Inter-Integrated Circuit
  • SPI Serial Peripheral Interface
  • the example is not limited.
  • the target information may be maintained in the storage medium of the set top box, so as to facilitate the user to play or view the target information and the like by using the set top box.
  • the original information is encrypted by using the PLD chip, and on the one hand, the burden of the CPU can be effectively reduced. Improve the efficiency of encryption operations; on the other hand, the information is processed by the PLD chip to increase the portability of the system.
  • FIG. 3 is a schematic flowchart diagram of an information decryption method according to an embodiment of the present invention.
  • the information decryption method may be applied to a set top box, where the set top box includes a programmable logic device PLD chip, as shown in FIG.
  • the decryption method includes the following steps:
  • the target information includes information obtained by encrypting the original information by the PLD chip, and the original information is information obtained by the set top box from the received digital signal;
  • the foregoing decrypting the target information by using the PLD chip includes:
  • the target information is inverted by the PLD chip.
  • the process of the decryption operation may be bit swapping; if the process of the PLD chip encryption operation is reversed, the decryption operation may be a negation operation. . That is to say, after the decryption operation, the original data can be restored 100%.
  • the process of the encryption operation is bit swapping, and the target information is binary 1000_0110.
  • the decrypted information is binary 0010_1010.
  • the process of the encryption operation is a negation operation
  • the target information is binary 1100_0101
  • the decrypted information is 0011_1010.
  • the original information is encrypted by using the PLD chip, and then the decryption operation is performed when the user needs to play, and on the one hand, the burden of the CPU can be effectively reduced.
  • the burden of the CPU can be effectively reduced.
  • the information is processed by the PLD chip to increase the portability of the system.
  • FIG. 4 is a schematic flowchart diagram of an information processing method according to an embodiment of the present invention.
  • the information processing method is applied to a set top box, where the set top box includes an editable logic device PLD chip and a central processing unit CPU, and the PLD chip and the PLD chip are The above CPU is connected, as shown in FIG. 4, the information office
  • the method can include the following steps:
  • the PLD chip may also be a Complex Programmable Logic Device (CPLD) chip or the like, which is not limited in the embodiment of the present invention.
  • CPLD Complex Programmable Logic Device
  • the CPU and the PLD chip can communicate with each other through an Inter-Integrated Circuit (IIC), and can also communicate through a Serial Peripheral Interface (SPI), etc., which is not limited in the embodiment of the present invention.
  • IIC Inter-Integrated Circuit
  • SPI Serial Peripheral Interface
  • the encryption operation of the information is completed based on the PLD chip, and the workload of the central processing unit (CPU) can be effectively reduced.
  • the data is encrypted. Higher degrees, which effectively increase the security of information.
  • the decrypted target information is also the original information.
  • Embodiments of the present invention implement data processing based on a PLD chip to increase portability of the system, because the added PLD chip completes the encryption and decryption operation of the information, thereby reducing the workload of the CPU. Moreover, the degree of encryption of the data is very high, because each BIT has changed. In other words, the data is completely irregular, which makes it impossible for some unscrupulous merchants to decrypt. PLD is not like a chip such as a single chip microcomputer or ARM. The program can be read violently, so the security level is very high.
  • the PLD chip is used to encrypt and decrypt the original information, on the one hand, not only can effectively reduce the burden on the CPU, but also improve the efficiency of the encryption operation; on the other hand, through the PLD chip. Process information to increase system portability.
  • FIG. 5 is a schematic structural diagram of a set top box according to an embodiment of the present invention, which is used to perform the information encryption method provided by the embodiment of the present invention.
  • the set top box includes a PLD chip. As shown in FIG. 5, the set top box includes:
  • the obtaining module 501 is configured to obtain original information, where the original information is information obtained by the set top box from the received digital signal;
  • the encryption module 502 is configured to obtain the target information by performing an encryption operation on the original information by using the PLD chip.
  • the saving module 503 saves the target information to the set top box.
  • the PLD chip may also be a CPLD chip or the like, which is not limited in the embodiment of the present invention.
  • the PLD chip By implementing the embodiment of the present invention, by adding a PLD chip to the set top box, the PLD chip is used to encrypt the original information. On the one hand, the burden of the CPU can be effectively reduced, and the efficiency of the encryption operation can be improved. On the other hand, the PLD is used.
  • the chip processes the information to increase the portability of the system.
  • the encryption module 502 is specifically configured to perform bit swapping on the original information by using the PLD chip.
  • the encryption module 502 is specifically configured to perform inverse operation on the original information by using the PLD chip.
  • the encryption operation of the information is completed based on the PLD chip, and the workload of the central processing unit (CPU) can be effectively reduced.
  • the data is encrypted. Higher degrees, which effectively increase the security of information.
  • the set top box further includes a central processing unit CPU, and the CPU is connected to the PLD chip; as shown in FIG. 6, the set top box further includes:
  • the receiving module 601 is configured to receive, by using the PLD chip, an encryption instruction sent by the CPU;
  • the encryption module is configured to perform the encryption operation on the original information by using the PLD chip after receiving the encryption instruction sent by the CPU by using the PLD chip.
  • the CPU and the PLD can communicate through an Inter-Integrated Circuit (IIC) or through a Serial Peripheral Interface (Serial Peripheral Interface).
  • IIC Inter-Integrated Circuit
  • SPI Serial Peripheral Interface
  • the SPI performs communication and the like, which are not limited in the embodiment of the present invention.
  • each module may also correspond to the corresponding description of the method embodiment shown in FIG. 1 .
  • FIG. 7 is a schematic structural diagram of another set top box according to an embodiment of the present invention, for performing the information decryption method provided by the embodiment of the present invention
  • the set top box includes a PLD chip, as shown in FIG. 7, the set top box includes :
  • the receiving module 701 is configured to receive a play instruction.
  • the obtaining module 702 is configured to obtain information specified by the play instruction as target information, where the target information includes information obtained by encrypting the original information by the PLD chip, where the original information is obtained by the set top box from the received digital signal. information;
  • the decryption module 703 is configured to obtain the decrypted target information by performing the decryption operation on the target information by using the PLD chip.
  • the playing module 704 is configured to play the decrypted target information.
  • the original information is encrypted by using the PLD chip, and then the decryption operation is performed when the user needs to play, and on the one hand, the burden of the CPU can be effectively reduced.
  • the burden of the CPU can be effectively reduced.
  • the information is processed by the PLD chip to increase the portability of the system.
  • the decryption module 703 is specifically configured to perform bit swapping on the target information by using the PLD chip.
  • the decryption module 703 is specifically configured to perform the inverse operation on the target information by using the PLD chip.
  • each module may also correspond to the corresponding description of the method embodiment shown in FIG. 3 .
  • FIG. 8 is a set top box 80 according to an embodiment of the present invention.
  • the set top box 80 includes a processor 801 , a memory 802 , a transceiver 803 , and a PLD chip 804 .
  • the PCD chips 804 are connected to each other through a bus.
  • the memory 802 includes, but is not limited to, a random access memory (RAM), a read-only memory (ROM), an Erasable Programmable Read Only Memory (EPROM), or Portable read only memory (Compact Disc Read-Only Memory, CD-ROM), or alternatively, the memory is the EMMC described in the foregoing embodiment and the like. This memory 802 is used for related instructions and data.
  • the transceiver 803 is configured to receive and transmit data.
  • the PLD chip 804 includes, but is not limited to, a CPLD chip for performing encryption operations and/or decryption operations on data.
  • the processor 801 may be one or more CPUs.
  • the CPU may be a single core CPU or a multi-core CPU.
  • the processor 801, the transceiver 803, and the PLD chip 804 described in the embodiments of the present invention may implement the specific embodiments described in the first embodiment (FIG. 1), the second embodiment (FIG. 3), and the third embodiment (FIG. 4).
  • the implementation, or the functions of the set-top box as described in the foregoing embodiments may be performed.
  • the PLD chip is used to encrypt and decrypt the original information, on the one hand, the burden of the CPU can be effectively reduced, and the efficiency of the encryption operation can be improved.
  • the information is processed by the PLD chip to increase the portability of the system.
  • an embodiment of the present invention further provides an information encryption and decryption system
  • the information encryption and decryption system includes: a first set top box 901 and a second set top box 902;
  • the first set top box includes a first programmable logic device PLD chip, and the second set top box includes a second PLD chip;
  • the first set top box 901 is configured to acquire original information, and perform encryption operation on the original information by using the first PLD chip, obtain target information, and save the target information to the set top box;
  • the second set top box 902 is configured to receive a play command, acquire the target information specified by the play command, and perform decryption operation on the target information by using the second PLC chip, obtain the decrypted target information, and play the decrypted target information. Target information.
  • first set top box can also refer to the information encryption method shown in FIG. 1.
  • second set top box can also refer to the information decryption method shown in FIG. 3.
  • first set top box described in the embodiment of the present invention may also include the mold as shown in FIG. 5 or as shown in FIG. 6.
  • the block, the second set top box may include a module as shown in FIG.
  • the first set top box 901 and the second set top box 902 may be different set top boxes, or may be the same set top box, that is, in the case that the first set top box and the second set top box are different set top boxes, the first set top box The original information is encrypted by an encryption operation, and after the target information is obtained, the target information is saved into a memory, and then the target information is stored in the second set top box through the memory.
  • the data storage manner of the first set top box and the second set top box is not limited to the manner described in the embodiment of the present invention, and the data storage and the like may be performed according to other manners, which are not limited in the embodiment of the present invention.
  • the first PLC chip and the second PLC chip may be the same chip or the like, which is not limited in the embodiment of the present invention.
  • a computer readable storage medium storing a computer program, the computer program comprising program instructions, when the program instructions are executed by a processor:
  • the target information is obtained;
  • the target information is saved to the set top box.
  • the information specified by the play instruction is target information, where the target information includes information obtained by encrypting the original information by the PLD chip, and the original information is obtained by the set top box from the received digital signal. information;
  • the decrypted target information After the decrypted target information is obtained, the decrypted target information is played.
  • the computer readable storage medium may be an internal storage unit of the set top box described above in any of the foregoing embodiments, such as a hard disk or a memory of the set top box.
  • the computer readable storage medium may also be an external storage device of the set top box, such as a plug-in hard disk provided on the set top box, a smart memory card (SMC), a Secure Digital (SD) card, and a flash memory card. (Flash Card), etc.
  • the above computer readable storage medium may further include both the set top box and the above
  • the internal storage unit also includes an external storage device.
  • the computer readable storage medium described above is for storing the above computer program and other programs and data required for the set top box.
  • the computer readable storage medium described above can also be used to temporarily store data that has been output or is about to be output.
  • modules or units in all embodiments of the present invention may be implemented by a general-purpose integrated circuit, such as a CPU, or by an ASIC (Application Specific Integrated Circuit).
  • a general-purpose integrated circuit such as a CPU
  • ASIC Application Specific Integrated Circuit
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Abstract

本发明实施例涉及计算机技术领域,公开了一种信息加解密方法、机顶盒、系统及存储介质,该机顶盒包括可编程逻辑器件PLD芯片,该方法包括:获取原始信息,所述原始信息为所述机顶盒从接收到的数字信号中获取的信息;利用所述PLD芯片对所述原始信息进行加密操作后,获得目标信息;获得所述目标信息后,将所述目标信息保存至所述机顶盒。采用本发明实施例,一方面,不仅可以有效地减少CPU的负担,提高加密操作的效率;另一方面,通过PLD芯片对信息进行处理,增加系统的可移植性。

Description

信息加解密方法、机顶盒、系统及存储介质 技术领域
本发明涉及计算机技术领域,尤其涉及一种信息加解密方法、机顶盒、系统及存储介质。
背景技术
随着数字家庭技术的不断进步,机顶盒上实现的功能也越来越多。随着版权意识越来越强烈,很多运营商都对一些高清有版本的音视频进行安全管理,而如何进行加密录制以及播放成为大家关注的重心。
目前,大部分是通过以下两种方式进行加解密操作:一、基于芯片硬件调整,通过第三方定制芯片,由开发商添加加密及解密硬件;二、基于芯片软件调整,在同一芯片中,对数据录制存储进行软加密,另外在播放中再进行软解密。
上述方式中,或者通过第三方进行加解密操作,使得工作量大;或者造成中央处理器(Central Processing Unit,CPU)的额外负担,从而造成系统阻塞卡顿,使得加解密的效率低下。
发明内容
本发明实施例提供一种信息加解密方法、机顶盒、系统及存储介质,用于高效方便地进行加解密操作。
第一方面,本发明实施例提供了一种信息加密方法,机顶盒包括可编程逻辑器件PLD芯片,所述方法包括:
获取原始信息,所述原始信息为所述机顶盒从接收到的数字信号中获取的信息;
利用所述PLD芯片对所述原始信息进行加密操作后,获得目标信息;
获得所述目标信息后,将所述目标信息保存至所述机顶盒。
作为一种可选的实现方式,所述利用所述PLD芯片对所述原始信息进行加密操作包括:
利用所述PLD芯片对所述原始信息进行位交换;
或者,利用所述PLD芯片对所述原始信息进行取反运算。
作为一种可选的实现方式,所述机顶盒还包括中央处理器CPU,所述CPU与所述PLD芯片相连;
所述利用所述PLD芯片对所述原始信息进行加密操作之前,所述方法还包括:
通过所述PLD芯片接收所述CPU发送的加密指令后,执行所述利用所述PLD芯片对所述原始信息进行加密操作。
作为一种可选的实现方式,所述PLD芯片包括复杂可编程逻辑器件CPLD芯片。
第二方面,本发明实施例提供了一种信息解密方法,机顶盒包括可编程逻辑器件PLD芯片,所述方法包括:
接收到播放指令后,获取所述播放指令所指定的信息为目标信息,所述目标信息包括所述PLD芯片对原始信息进行加密操作后的信息,所述原始信息为所述机顶盒从接收到的数字信号中获取的信息;
利用所述PLD芯片对所述目标信息进行解密操作后,获得解密后的目标信息;
获得解密后的目标信息后,播放所述解密后的目标信息。
作为一种可选的实现方式,所述利用所述PLD芯片对所述目标信息进行解密操作包括:
利用所述PLD芯片对所述目标信息进行位交换;
或者,利用所述PLD芯片对所述目标信息进行取反运算。
作为一种可选的实现方式,所述PLD芯片包括复杂可编程逻辑器件CPLD芯片。
第三方面,本发明实施例提供了一种机顶盒,所述机顶盒包括可编程逻辑器件PLD芯片,所述机顶盒包括:
获取模块,用于获取原始信息,所述原始信息为所述机顶盒从接收到的数字信号中获取的信息;
加密模块,用于利用所述PLD芯片对所述原始信息进行加密操作后,获 得目标信息;
保存模块,将所述目标信息保存至所述机顶盒。
作为一种可选的实现方式,所述加密模块,具体用于利用所述PLD芯片对所述原始信息进行位交换;
或者,所述加密模块,具体用于利用所述PLD芯片对所述原始信息进行取反运算。
作为一种可选的实现方式,所述机顶盒还包括中央处理器CPU,所述CPU与所述PLD芯片相连;所述机顶盒还包括:
接收模块,用于通过所述PLD芯片接收所述CPU发送的加密指令;
所述加密模块,具体用于通过所述PLD芯片接收所述CPU发送的加密指令后,执行所述利用所述PLD芯片对所述原始信息进行加密操作。
作为一种可选的实现方式,所述PLD芯片包括复杂可编程逻辑器件CPLD芯片。
第四方面,本发明实施例还提供了一种机顶盒,所述机顶盒包括可编程逻辑器件PLD芯片,所述机顶盒包括:
接收模块,用于接收播放指令;
获取模块,用于获取所述播放指令所指定的信息为目标信息,所述目标信息包括所述PLD芯片对原始信息进行加密操作后的信息,所述原始信息为所述机顶盒从接收到的数字信号中获取的信息;
解密模块,用于利用所述PLD芯片对所述目标信息进行解密操作后,获得解密后的目标信息;
播放模块,用于播放所述解密后的目标信息。
作为一种可选的实现方式,所述解密模块,具体用于利用所述PLD芯片对所述目标信息进行位交换;
或者,所述解密模块,具体用于利用所述PLD芯片对所述目标信息进行取反运算。
作为一种可选的实现方式,所述PLD芯片包括复杂可编程逻辑器件CPLD芯片。
第五方面,本发明实施例提供了一种信息加解密系统,包括:第一机顶 盒和第二机顶盒,所述第一机顶盒包括第一可编程逻辑器件PLD芯片,所述第二机顶盒包括第二PLD芯片;
所述第一机顶盒,用于获取原始信息,并利用所述第一PLD芯片对所述原始信息进行加密操作后,获得目标信息,将所述目标信息保存至所述机顶盒;
所述第二机顶盒,用于接收播放指令,获取所述播放指令所指定的所述目标信息,利用所述第二PLC芯片对所述目标信息进行解密操作后,获得解密后的目标信息,播放所述解密后的目标信息。
作为一种可选的实现方式,所述第一机顶盒和所述第二机顶盒属于同一个机顶盒,且所述第一PLD芯片与所述第二PLD芯片属于同一个PLD芯片。
第六方面,本发明实施例还提供了一种信息加解密系统,包括:第一机顶盒和第二机顶盒,所述第一机顶盒包括如第三方面所述的机顶盒,所述第二机顶盒包括如第四方面所述的机顶盒。
第七方面,本发明实施例还提供了一种机顶盒,包括:处理器、存储器和收发器,所述处理器、所述存储器和所述收发器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如第一方面所述的方法,和/或,执行如第二方面所述的方法。
第八方面,本发明实施例还提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如第一方面所述的方法,和/或,所述程序指令当被处理器执行时使所述处理器执行如第二方面所述的方法。
本发明实施例的有益效果:
实施本发明实施例,通过在机顶盒中加入可编程逻辑器件(Programmable Logic Device,PLD)芯片,从而利用上述PLD芯片对原始信息进行加密操作,一方面,不仅可以有效地减少CPU的负担,提高加密操作的效率;另一方面,通过PLD芯片对信息进行处理,增加系统的可移植性。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对本发明实施例或背景技术中所需要使用的附图进行说明。
图1是本发明实施例提供的一种信息加密方法的流程示意图;
图2A是本发明实施例提供的一种数据的场景示意图;
图2B是本发明实施例提供的一种对数据加密的场景示意图;
图3是本发明实施例提供的一种信息解密方法的流程示意图;
图4是本发明实施例提供的一种信息处理方法的流程示意图;
图5是本发明实施例提供的一种机顶盒的结构示意图;
图6是本发明实施例提供的另一种机顶盒的结构示意图;
图7是本发明实施例提供的又一种机顶盒的结构示意图;
图8是本发明实施例提供的又一种机顶盒的结构示意图;
图9是本发明实施例提供的一种加解密系统的架构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。需要说明的是,结合附图所阐述的详细描述旨在作为对各种配置的描述,而不旨在表示其中可以实践本文所描述的概念的唯一配置。本文中所记载的装置实施例和方法实施例将在下面的详细描述中进行描述,并在附图中通过各种框、模块、单元、组件、电路、步骤、过程、算法等等(统称为“要素”)来予以示出。这些要素可以使用电子硬件、计算机软件或者其任意组合来实现。至于这些要素是实现为硬件还是软件,取决于特定应用和施加在整体系统上的设计约束。
需要说明的是,在没有明示的特别说明的情况下,本发明各实施例中的各项技术特征可视为能够进行相互组合或者结合,只要该种组合或者结合不是因为技术的原因而无法实施。为了较为充分的说明本发明,一些示例性的,可选的,或者优选的特征在本发明各实施例中与其他技术特征结合在一起进行描述,但这种结合不是必须的,而应该理解该示例性的,可选的,或者优选的特征与其他的技术特征都是彼此可分离的或者独立的,只要该种可分离 或者独立不是因为技术的原因而无法实施。方法实施例中的技术特征的一些功能性描述可以理解为执行该功能、方法或者步骤,装置实施例中的技术特征的一些功能性描述可以理解为使用该种装置来执行该功能、方法或者步骤。
本发明实施例公开了一种信息加解密方法及机顶盒,一方面,不仅可以有效地减少CPU的负担,提高加解密操作的效率;另一方面,通过PLD芯片对信息进行处理,增加系统的可移植性。以下分别进行详细说明。
请参见图1,图1是本发明实施例提供的一种信息加密方法,该信息加密方法可以应用于机顶盒,该机顶盒包括可编程逻辑器件PLD芯片,如图1所示,该信息加密方法包括以下步骤:
101、获取原始信息,上述原始信息为上述机顶盒从接收到的数字信号中获取的信息;
具体地,为提高机顶盒芯片的处理效率,本发明实施例中,PLD芯片还可以为复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)芯片等等,本发明实施例不作具体限定。
102、利用上述PLD芯片对上述原始信息进行加密操作后,获得目标信息;
具体地,上述利用上述PLD芯片对上述原始信息进行加密操作包括:
利用上述PLD芯片对上述原始信息进行位交换;
或者,利用上述PLD芯片对上述原始信息进行取反运算。
本发明实施例中,机顶盒中的存储介质可以包括随机存储记忆体(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、或便携式只读存储器(Compact Disc Read-Only Memory,CD-ROM)。但是为提高该机顶盒的处理能力以及存储容量,该机顶盒中的存储介质可以为嵌入式多媒体卡(Embedded Multi Media Card,EMMC)。
举例来说,以进行位交换来实现加密操作为例,机顶盒中的存储介质为EMMC,则以EMMC接口为例,未进行加密之前的原始数据如图2A所示,数据总线为8位,分别为D0-D7,如存储一个16进制的0x2A,二进制为0010_1010,即从高位至低位分别数据为D7=0,D6=0,D5=1,D4=0,D3=1,D2=0,D1=1,D0=0。
如图2B所示,左边为要存入的数据,中间为CPLD硬件,右边为EMMC存储单元,经过CPLD硬件对数据进行一个转变,如图2B所示,将左D0转为右S0D6(S表示source,即源数据D0对应现数据D6),依此类推,原始的0x3A经过CPLD硬件转换存储之后已经变成了1000_0110即十六进制的0x86。
可以理解的是,上述位交换仅为一种举例,也就是说,还可以有其他方式的位交换,举例来说,高低位交换等等,本发明实施例对于具体哪些位进行交换的方式不作限定。
又举例来说,将二进制为0011_1010数据进行取反运算,则得到1100_0101。
实施本实施例,基于PLD芯片完成信息的加密操作,可以有效减少中央处理器(Central Processing Unit,CPU)的工作量,另一方面,由于数据的每个比特(BIT)都进行了转变,因此数据的加密度较高,进而有效增加了信息的安全性。
作为一种可选的实现方式,本发明实施例还提供了一种触发PLD芯片对原始信息进行加密的方式,上述机顶盒还包括中央处理器CPU,上述CPU与上述PLD芯片相连;
上述利用上述PLD芯片对上述原始信息进行加密操作之前,上述方法还包括:
通过上述PLD芯片接收上述CPU发送的加密指令后,执行上述利用上述PLD芯片对上述原始信息进行加密操作。
可以理解的是,CPU向PCD芯片发送加密指令可以为理解为CPU触发了PCD芯片,从而使得PLD芯片进行加密操作。
本实施例中,CPU与PLD芯片之间可以通过集成电路总线(Inter-Integrated Circuit,IIC)进行通信,也可以通过串行外设接口(Serial Peripheral Interface,SPI)进行通信等等,本发明实施例不作限定。
103、获得上述目标信息后,将上述目标信息保存至上述机顶盒。
本发明实施例中,目标信息可以保持至机顶盒的存储介质中,以方便用户利用机顶盒播放或观看该目标信息等等。
实施本发明实施例,通过在机顶盒中加入PLD芯片,从而利用上述PLD芯片对原始信息进行加密操作,一方面,不仅可以有效地减少CPU的负担, 提高加密操作的效率;另一方面,通过PLD芯片对信息进行处理,增加系统的可移植性。
请参见图3,图3是本发明实施例提供的一种信息解密方法的流程示意图,该信息解密方法可以应用于机顶盒,该机顶盒包括可编程逻辑器件PLD芯片,如图3所示,该信息解密方法包括以下步骤:
301、接收到播放指令后,获取上述播放指令所指定的信息为目标信息;
本发明实施例中,上述目标信息包括上述PLD芯片对原始信息进行加密操作后的信息,上述原始信息为上述机顶盒从接收到的数字信号中获取的信息;
302、利用上述PLD芯片对上述目标信息进行解密操作后,获得解密后的目标信息;
具体地,上述利用上述PLD芯片对上述目标信息进行解密操作包括:
利用上述PLD芯片对上述目标信息进行位交换;
或者,利用上述PLD芯片对上述目标信息进行取反运算。
可以理解的是,若PLD芯片加密操作的过程是进行位交换,则解密操作的过程可以为位交换;若PLD芯片加密操作的过程进行了取反运算,则解密操作的过程可以为取反运算。也就是说,经过解密操作后,可以100%的复原原始数据。举例来说,以图2B为例,加密操作的过程为位交换,目标信息为二进制1000_0110,则经过PLD芯片解密操作后,解密后的信息为二进制0010_1010。又举例来说,加密操作的过程为取反运算,目标信息为二进制1100_0101,则进行取反运算后,解密后的信息为0011_1010。
303、获得解密后的目标信息后,播放上述解密后的目标信息。
实施本发明实施例,通过在机顶盒中加入PLD芯片,从而利用上述PLD芯片对原始信息进行加密操作,然后在用户需要播放的时候,进行解密操作,一方面,不仅可以有效地减少CPU的负担,提高解密操作的效率;另一方面,通过PLD芯片对信息进行处理,增加系统的可移植性。
请参阅图4,图4是本发明实施例提供的一种信息处理方法的流程示意图,该信息处理方法应用于机顶盒,该机顶盒包括可编辑逻辑器件PLD芯片以及中央处理器CPU,上述PLD芯片与上述CPU相连,如图4所示,该信息处 理方法可以包括以下步骤:
401、获取原始信息,上述原始信息为上述机顶盒从接收到的数字信号中获取的信息;
具体地,该PLD芯片还可以为复杂可编程逻辑器件(Complex Programmable Logic Device,CPLD)芯片等,本发明实施例不作限定。
CPU与PLD芯片之间可以通过集成电路总线(Inter-Integrated Circuit,IIC)进行通信,也可以通过串行外设接口(Serial Peripheral Interface,SPI)进行通信等等,本发明实施例不作限定。
402、通过上述PLD芯片接收到上述CPU发送的加密指令后,利用上述PLD芯片对上述原始信息进行位交换,获得目标信息;
实施本实施例,基于PLD芯片完成信息的加密操作,可以有效减少中央处理器(Central Processing Unit,CPU)的工作量,另一方面,由于数据的每个BIT都进行了转变,因此数据的加密度较高,进而有效增加了信息的安全性。
403、获得上述目标信息后,将上述目标信息保存至上述机顶盒;
404、在接收到播放指令的情况下,利用上述PLD芯片对上述目标信息进行位交换,获得解密后的目标信息;
可以理解的是,该解密后的目标信息也就是上述原始信息。
405、播放上述解密后的目标信息。
实施本发明实施例,基于PLD芯片对数据进行处理,增加系统的可移植性,因为是外加的PLD芯片完成了信息的加解密操作,减少了CPU的工作量。而且对数据的加密程度非常高,因为每个BIT都发生了转变,换句话说,数据完全无规律可言,这让一些不法商家无法进行解密,PLD不像单片机或是ARM之类的芯片,可以暴力破解的方法读取其中的程序,所以安全级别非常高。
也就是说,通过在机顶盒中加入PLD芯片,从而利用上述PLD芯片对原始信息进行加解密操作,一方面,不仅可以有效地减少CPU的负担,提高加密操作的效率;另一方面,通过PLD芯片对信息进行处理,增加系统的可移植性。
上述详细阐述了本发明实施例的方法,下面提供了本发明实施例的装置。
请参阅图5,图5是本发明实施例提供的一种机顶盒的结构示意图,用于执行本发明实施例提供的信息加密方法,该机顶盒包括PLD芯片,如图5所示,该机顶盒包括:
获取模块501,用于获取原始信息,上述原始信息为上述机顶盒从接收到的数字信号中获取的信息;
加密模块502,用于利用上述PLD芯片对上述原始信息进行加密操作后,获得目标信息;
保存模块503,将上述目标信息保存至上述机顶盒。
具体地,该PLD芯片还可以为CPLD芯片等,本发明实施例不作限定。
实施本发明实施例,通过在机顶盒中加入PLD芯片,从而利用上述PLD芯片对原始信息进行加密操作,一方面,不仅可以有效地减少CPU的负担,提高加密操作的效率;另一方面,通过PLD芯片对信息进行处理,增加系统的可移植性。
上述加密模块502,具体用于利用上述PLD芯片对上述原始信息进行位交换;
或者,上述加密模块502,具体用于利用上述PLD芯片对上述原始信息进行取反运算。
实施本实施例,基于PLD芯片完成信息的加密操作,可以有效减少中央处理器(Central Processing Unit,CPU)的工作量,另一方面,由于数据的每个BIT都进行了转变,因此数据的加密度较高,进而有效增加了信息的安全性。
上述机顶盒还包括中央处理器CPU,上述CPU与上述PLD芯片相连;如图6所示,上述机顶盒还包括:
接收模块601,用于通过上述PLD芯片接收上述CPU发送的加密指令;
上述加密模块,具体用于通过上述PLD芯片接收上述CPU发送的加密指令后,执行上述利用上述PLD芯片对上述原始信息进行加密操作。
本实施例中,CPU与PLD之间可以通过集成电路总线(Inter-Integrated Circuit,IIC)进行通信,也可以通过串行外设接口(Serial Peripheral Interface, SPI)进行通信等等,本发明实施例不作限定。
需要说明的是,各个模块的实现还可以对应参照图1所示的方法实施例的相应描述。
请参阅图7,图7是本发明实施例提供的另一种机顶盒的结构示意图,用于执行本发明实施例提供的信息解密方法,该机顶盒包括PLD芯片,如图7所示,该机顶盒包括:
接收模块701,用于接收播放指令;
获取模块702,用于获取上述播放指令所指定的信息为目标信息,上述目标信息包括上述PLD芯片对原始信息进行加密操作后的信息,上述原始信息为上述机顶盒从接收到的数字信号中获取的信息;
解密模块703,用于利用上述PLD芯片对上述目标信息进行解密操作后,获得解密后的目标信息;
播放模块704,用于播放上述解密后的目标信息。
实施本发明实施例,通过在机顶盒中加入PLD芯片,从而利用上述PLD芯片对原始信息进行加密操作,然后在用户需要播放的时候,进行解密操作,一方面,不仅可以有效地减少CPU的负担,提高解密操作的效率;另一方面,通过PLD芯片对信息进行处理,增加系统的可移植性。
上述解密模块703,具体用于利用上述PLD芯片对上述目标信息进行位交换;
或者,上述解密模块703,具体用于利用上述PLD芯片对上述目标信息进行取反运算。
需要说明的是,各个模块的实现还可以对应参照图3所示的方法实施例的相应描述。
请参见图8,图8是本发明实施例提供的一种机顶盒80,该机顶盒80包括处理器801、存储器802、收发器803以及PLD芯片804,所述处理器801、存储器802、收发器803以及PCD芯片804通过总线相互连接。
存储器802包括但不限于是随机存储记忆体(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、或便携式只读存储器 (Compact Disc Read-Only Memory,CD-ROM),又或者,该存储器为前述实施例所描述的EMMC等等。该存储器802用于相关指令及数据。收发器803用于接收和发送数据。
PLD芯片804包括但不限于CPLD芯片,该PLD芯片用于对数据进行加密操作和/或解密操作。
处理器801可以是一个或多个CPU,在处理器801是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。
本发明实施例所描述的处理器801、收发器803以及PLD芯片804可以实现第一实施例(图1)、第二实施例(图3)以及第三实施例(图4)所描述的具体实现方式,或者,也可以执行如前述实施例所描述的机顶盒的功能,具体功能以及详细说明请参阅方法实施例以及对应的装置实施例,在此不再一一赘述。
综上所述,通过实施本发明实施例,通过在机顶盒中加入PLD芯片,从而利用上述PLD芯片对原始信息进行加解密操作,一方面,不仅可以有效地减少CPU的负担,提高加密操作的效率;另一方面,通过PLD芯片对信息进行处理,增加系统的可移植性。
基于以上描述,如图9所示,本发明实施例还提供了一种信息加解密系统,该信息加解密系统包括:第一机顶盒901和第二机顶盒902;
其中,上述第一机顶盒包括第一可编程逻辑器件PLD芯片,上述第二机顶盒包括第二PLD芯片;
上述第一机顶盒901,用于获取原始信息,并利用上述第一PLD芯片对上述原始信息进行加密操作后,获得目标信息,将上述目标信息保存至上述机顶盒;
上述第二机顶盒902,用于接收播放指令,获取上述播放指令所指定的上述目标信息,利用上述第二PLC芯片对上述目标信息进行解密操作后,获得解密后的目标信息,播放上述解密后的目标信息。
可以理解的是,第一机顶盒的具体实现方式还可以参考图1所示的信息加密方法,第二机顶盒的具体实现方式还可以参考图3所示的信息解密方法。以及本发明实施例所描述的第一机顶盒也可以包括如图5或如图6所示的模 块,第二机顶盒可以包括如图7所示的模块。
在具体实现中,第一机顶盒901与第二机顶盒902可以为不同的机顶盒,也可以为同一个机顶盒,也就是说,在第一机顶盒和第二机顶盒为不同的机顶盒的情况下,第一机顶盒通过加密操作将原始信息进行加密,得到目标信息后,将该目标信息保存至存储器中,然后通过该存储器将目标信息存储于第二机顶盒中。可以理解的是,第一机顶盒和第二机顶盒的数据存储方式不限于本发明实施例所描述的方式,也可以依据其他方式进行数据存储等等,本发明实施例不作限定。在第一机顶盒和第二机顶盒为同一个机顶盒的情况下,第一PLC芯片和第二PLC芯片可以为同一个芯片等,本发明实施例不作限定。
在本发明的另一实施例中提供一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序包括程序指令,上述程序指令被处理器执行时实现:
获取原始信息,上述原始信息为上述机顶盒从接收到的数字信号中获取的信息;
利用上述PLD芯片对上述原始信息进行加密操作后,获得目标信息;
获得上述目标信息后,将上述目标信息保存至上述机顶盒。
或者,上述程序指令当被处理器执行时实现:
接收到播放指令后,获取上述播放指令所指定的信息为目标信息,上述目标信息包括上述PLD芯片对原始信息进行加密操作后的信息,上述原始信息为上述机顶盒从接收到的数字信号中获取的信息;
利用上述PLD芯片对上述目标信息进行解密操作后,获得解密后的目标信息;
获得解密后的目标信息后,播放上述解密后的目标信息。
上述计算机可读存储介质可以是前述任一实施例上述的机顶盒的内部存储单元,例如机顶盒的硬盘或内存。上述计算机可读存储介质也可以是上述机顶盒的外部存储设备,例如上述机顶盒上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,上述计算机可读存储介质还可以既包括上述机顶盒的 内部存储单元也包括外部存储设备。上述计算机可读存储介质用于存储上述计算机程序以及上述机顶盒所需的其他程序和数据。上述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。
本发明所有实施例中的模块或单元,可以通过通用集成电路,例如CPU,或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。
需要说明的是,对于前述的各个方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某一些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。

Claims (19)

  1. 一种信息加密方法,其特征在于,机顶盒包括可编程逻辑器件PLD芯片,所述方法包括:
    获取原始信息,所述原始信息为所述机顶盒从接收到的数字信号中获取的信息;
    利用所述PLD芯片对所述原始信息进行加密操作后,获得目标信息;
    获得所述目标信息后,将所述目标信息保存至所述机顶盒。
  2. 根据权利要求1所述的方法,其特征在于,所述利用所述PLD芯片对所述原始信息进行加密操作包括:
    利用所述PLD芯片对所述原始信息进行位交换;
    或者,利用所述PLD芯片对所述原始信息进行取反运算。
  3. 根据权利要求1或2所述的方法,其特征在于,所述机顶盒还包括中央处理器CPU,所述CPU与所述PLD芯片相连;
    所述利用所述PLD芯片对所述原始信息进行加密操作之前,所述方法还包括:
    通过所述PLD芯片接收所述CPU发送的加密指令后,执行所述利用所述PLD芯片对所述原始信息进行加密操作。
  4. 根据权利要求3所述的方法,其特征在于,所述PLD芯片包括复杂可编程逻辑器件CPLD芯片。
  5. 一种信息解密方法,其特征在于,机顶盒包括可编程逻辑器件PLD芯片,所述方法包括:
    接收到播放指令后,获取所述播放指令所指定的信息为目标信息,所述目标信息包括所述PLD芯片对原始信息进行加密操作后的信息,所述原始信息为所述机顶盒从接收到的数字信号中获取的信息;
    利用所述PLD芯片对所述目标信息进行解密操作后,获得解密后的目标信息;
    获得解密后的目标信息后,播放所述解密后的目标信息。
  6. 根据权利要求5所述的方法,其特征在于,所述利用所述PLD芯片对所述目标信息进行解密操作包括:
    利用所述PLD芯片对所述目标信息进行位交换;
    或者,利用所述PLD芯片对所述目标信息进行取反运算。
  7. 根据权利要求6所述的方法,其特征在于,所述PLD芯片包括复杂可编程逻辑器件CPLD芯片。
  8. 一种机顶盒,其特征在于,所述机顶盒包括可编程逻辑器件PLD芯片,所述机顶盒包括:
    获取模块,用于获取原始信息,所述原始信息为所述机顶盒从接收到的数字信号中获取的信息;
    加密模块,用于利用所述PLD芯片对所述原始信息进行加密操作后,获得目标信息;
    保存模块,将所述目标信息保存至所述机顶盒。
  9. 根据权利要求8所述的机顶盒,其特征在于,
    所述加密模块,具体用于利用所述PLD芯片对所述原始信息进行位交换;
    或者,所述加密模块,具体用于利用所述PLD芯片对所述原始信息进行取反运算。
  10. 根据权利要求8或9所述的机顶盒,其特征在于,所述机顶盒还包括中央处理器CPU,所述CPU与所述PLD芯片相连;所述机顶盒还包括:
    接收模块,用于通过所述PLD芯片接收所述CPU发送的加密指令;
    所述加密模块,具体用于通过所述PLD芯片接收所述CPU发送的加密指令后,执行所述利用所述PLD芯片对所述原始信息进行加密操作。
  11. 根据权利要求10所述的机顶盒,其特征在于,所述PLD芯片包括复杂可编程逻辑器件CPLD芯片。
  12. 一种机顶盒,其特征在于,所述机顶盒包括可编程逻辑器件PLD芯片,所述机顶盒包括:
    接收模块,用于接收播放指令;
    获取模块,用于获取所述播放指令所指定的信息为目标信息,所述目标信息包括所述PLD芯片对原始信息进行加密操作后的信息,所述原始信息为所述机顶盒从接收到的数字信号中获取的信息;
    解密模块,用于利用所述PLD芯片对所述目标信息进行解密操作后,获 得解密后的目标信息;
    播放模块,用于播放所述解密后的目标信息。
  13. 根据权利要求12所述的机顶盒,其特征在于,
    所述解密模块,具体用于利用所述PLD芯片对所述目标信息进行位交换;
    或者,所述解密模块,具体用于利用所述PLD芯片对所述目标信息进行取反运算。
  14. 根据权利要求13所述的机顶盒,其特征在于,PLD芯片包括复杂可编程逻辑器件CPLD芯片。
  15. 一种信息加解密系统,其特征在于,第一机顶盒和第二机顶盒,所述第一机顶盒包括第一可编程逻辑器件PLD芯片,所述第二机顶盒包括第二PLD芯片;
    所述第一机顶盒,用于获取原始信息,并利用所述第一PLD芯片对所述原始信息进行加密操作后,获得目标信息,将所述目标信息保存至所述机顶盒;
    所述第二机顶盒,用于接收播放指令,获取所述播放指令所指定的所述目标信息,利用所述第二PLC芯片对所述目标信息进行解密操作后,获得解密后的目标信息,播放所述解密后的目标信息。
  16. 根据权利要求15所述的系统,其特征在于,所述第一机顶盒和所述第二机顶盒属于同一个机顶盒,且所述第一PLD芯片与所述第二PLD芯片属于同一个PLD芯片。
  17. 一种信息加解密系统,其特征在于,包括:第一机顶盒和第二机顶盒,所述第一机顶盒包括权利要求8至11任一项所述的机顶盒,所述第二机顶盒包括权利要求12至14任一项所述的机顶盒。
  18. 一种机顶盒,其特征在于,包括:处理器、存储器和收发器,所述处理器、所述存储器和所述收发器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如权利要求1至4任一项所述的方法,和/或,执行如权利要求5至7任一项所述的方法。
  19. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计 算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1至4任一项所述的方法,和/或,所述程序指令当被处理器执行时使所述处理器执行如权利要求5至7任一项所述的方法。
PCT/CN2017/109080 2017-05-10 2017-11-02 信息加解密方法、机顶盒、系统及存储介质 WO2018205512A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710326595.3 2017-05-10
CN201710326595.3A CN107277579A (zh) 2017-05-10 2017-05-10 信息加解密方法及机顶盒

Publications (1)

Publication Number Publication Date
WO2018205512A1 true WO2018205512A1 (zh) 2018-11-15

Family

ID=60074113

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/109080 WO2018205512A1 (zh) 2017-05-10 2017-11-02 信息加解密方法、机顶盒、系统及存储介质

Country Status (2)

Country Link
CN (1) CN107277579A (zh)
WO (1) WO2018205512A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277579A (zh) * 2017-05-10 2017-10-20 深圳创维数字技术有限公司 信息加解密方法及机顶盒

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1801725A2 (en) * 2005-12-14 2007-06-27 Nvidia Corporation Chipset security offload engine
CN102111651A (zh) * 2009-12-24 2011-06-29 北京视博数字电视科技有限公司 节目录制方法、播放方法及其前端、终端设备
CN103888444A (zh) * 2014-02-24 2014-06-25 北京科东电力控制系统有限责任公司 一种配电安全认证装置及其方法
CN105828186A (zh) * 2016-03-23 2016-08-03 福建新大陆通信科技股份有限公司 一种机顶盒录制节目二次加密的方法
CN106101754A (zh) * 2016-06-21 2016-11-09 深圳创维数字技术有限公司 一种保护数据传输流的方法及装置
CN107277579A (zh) * 2017-05-10 2017-10-20 深圳创维数字技术有限公司 信息加解密方法及机顶盒

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1801725A2 (en) * 2005-12-14 2007-06-27 Nvidia Corporation Chipset security offload engine
CN102111651A (zh) * 2009-12-24 2011-06-29 北京视博数字电视科技有限公司 节目录制方法、播放方法及其前端、终端设备
CN103888444A (zh) * 2014-02-24 2014-06-25 北京科东电力控制系统有限责任公司 一种配电安全认证装置及其方法
CN105828186A (zh) * 2016-03-23 2016-08-03 福建新大陆通信科技股份有限公司 一种机顶盒录制节目二次加密的方法
CN106101754A (zh) * 2016-06-21 2016-11-09 深圳创维数字技术有限公司 一种保护数据传输流的方法及装置
CN107277579A (zh) * 2017-05-10 2017-10-20 深圳创维数字技术有限公司 信息加解密方法及机顶盒

Also Published As

Publication number Publication date
CN107277579A (zh) 2017-10-20

Similar Documents

Publication Publication Date Title
JP4551802B2 (ja) プロセッサ、メモリ、コンピュータシステムおよびデータ転送方法
JP2015070608A (ja) 永続的メモリへのデータ格納
JP2008197578A (ja) データ暗号化装置、データ復号化装置、データ暗号化方法、データ復号化方法およびデータ転送制御装置
CN1541391A (zh) 从非易失性存储卡、光盘或其它介质重放所记录的音频、视频或其它内容的系统、方法和器件
CN1290069C (zh) 分组加密/解密的方法及设备
JP7443433B2 (ja) 不揮発性メモリデバイス内部からの保護された通信
TW201719446A (zh) 包含多處理器所共享之記憶體的多處理器系統
US8635463B2 (en) Information storage apparatus, information storage method, and electronic device
WO2018205512A1 (zh) 信息加解密方法、机顶盒、系统及存储介质
JP6362811B1 (ja) 登録端末、鍵サーバ、検索システム、登録プログラム
US7194627B2 (en) Method and system for data encryption and decryption
US20060130149A1 (en) Digital rights management microprocessing architecture
US20210006391A1 (en) Data processing method, circuit, terminal device and storage medium
KR101126596B1 (ko) 단일 및 다중 aes 동작을 지원하기 위한 듀얼 모드 aes 장치 및 방법
US8234504B2 (en) Method and system for data encryption and decryption
US20220416997A1 (en) Handling unaligned transactions for inline encryption
WO2020093290A1 (zh) 一种存储控制器、文件处理方法、装置及系统
CN115348363A (zh) 一种基于国密算法的加/解密芯片、方法、设备和介质
JP2001209584A (ja) 情報暗号化装置及びその方法
WO2021203767A1 (zh) 内存访问方法、系统级芯片和电子设备
JP2006330126A (ja) 暗号化処理方法、および復号化処理方法
JP2023542936A (ja) チャネル暗号化区別のためのメタデータ調整(metadata tweak)
JP6811625B2 (ja) ファイル中継装置及びファイル中継プログラム
JP5361031B2 (ja) 暗号認証処理方法及び装置
TWI825997B (zh) 可編程安全管理裝置以及在安全裝置之間進行金鑰轉發的控制方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17909337

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17909337

Country of ref document: EP

Kind code of ref document: A1