Nothing Special   »   [go: up one dir, main page]

CN111954036A - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN111954036A
CN111954036A CN202010683213.4A CN202010683213A CN111954036A CN 111954036 A CN111954036 A CN 111954036A CN 202010683213 A CN202010683213 A CN 202010683213A CN 111954036 A CN111954036 A CN 111954036A
Authority
CN
China
Prior art keywords
scrambling
information
data
video data
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010683213.4A
Other languages
Chinese (zh)
Inventor
朱英龙
范志刚
卢涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202010683213.4A priority Critical patent/CN111954036A/en
Publication of CN111954036A publication Critical patent/CN111954036A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream decryption

Landscapes

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

Abstract

The disclosure provides an information processing method and device, and relates to the technical field of information processing. The method comprises the steps of obtaining data to be scrambled from original data; the data to be scrambled comprises video data; generating scrambling information; encrypting the scrambling information to obtain scrambling key information, and adding the scrambling key information into a custom data field of the original data; scrambling the video data according to the scrambling information; sending target data to an image receiving end, wherein the target data carries scrambling key information and video data after scrambling processing; and enabling the image receiving end to descramble the scrambled video data according to the scrambling information obtained by decrypting the scrambling key information to obtain the video data. The video data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, the transmission protocol is not required to be modified, and the universality of scrambling and descrambling processing is improved.

Description

Information processing method and device
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to an information processing method and apparatus.
Background
In order to improve the safety of audio and video data in transmission and avoid audio and video data leakage and illegal playing, the audio and video data needs to be scrambled, so that an unauthorized user cannot normally play the audio and video data even if the unauthorized user obtains the audio and video data.
In the related art, audio and video data is usually scrambled and descrambled in an encapsulation protocol by modifying the encapsulation protocol of the audio and video data.
However, in the above technology, the encapsulation protocol needs to be destroyed, so that the technology cannot be interfaced with third-party software, thereby reducing the universality of scrambling and descrambling processing.
Disclosure of Invention
The embodiment of the disclosure provides an information processing method and an information processing device, which can solve the problem of reducing the universality of scrambling and descrambling processing in the prior art. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, an information processing method is provided, which is applied to an image sending end, and the method includes:
acquiring data to be scrambled and a custom data field; the data to be scrambled comprises video data;
generating scrambling information;
encrypting the scrambling information to obtain scrambling key information, and adding the scrambling key information to the custom data field;
scrambling the video data according to the scrambling information;
sending target data to an image receiving end, wherein the target data carries the scrambling key information and the video data after scrambling processing; and enabling the image receiving end to descramble the scrambled video data according to the scrambling information obtained by decrypting the scrambling key information to obtain the video data.
The embodiment of the disclosure provides an information processing method, which includes generating scrambling information when video data are obtained, encrypting the scrambling information to obtain scrambling key information, adding the scrambling key information to a custom data field of original data, scrambling the video data according to the scrambling information, packaging the scrambling key information and the scrambled video data into target data, sending the target data to an image receiving end, enabling the image receiving end to decrypt the scrambling key information to obtain the scrambling information, and descrambling the scrambled video data according to the scrambling information obtained through decryption to obtain the video data. Therefore, the video data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, the transmission protocol is not required to be modified, and the universality of scrambling and descrambling processing is improved.
In one embodiment, the data to be scrambled further comprises audio data;
before the sending the target data to the image receiving end, the method further comprises:
scrambling the audio data according to the scrambling information; the target data also carries audio data after scrambling processing.
In this embodiment, scrambling processing may also be performed on the audio data, so as to improve the security of the audio data.
In one embodiment, the generating scrambling information comprises:
generating seeds according to a preset algorithm;
and generating a random number with preset bits according to the seeds, and determining the random number as the scrambling information.
In the embodiment, the scrambling information is a random number, which can ensure that the scrambling information generated each time is different to the maximum extent and improve the security of scrambling.
In one embodiment, the encrypting the scrambling information to obtain scrambling key information includes:
acquiring a target encryption algorithm;
and encrypting the scrambling information by adopting a preset character string key and the target encryption algorithm to obtain the scrambling key information.
In one embodiment, the obtaining the target encryption algorithm comprises:
determining a security level of the original data;
determining a corresponding target encryption algorithm according to the security level; the target data also carries the type identification of the target encryption algorithm.
In the embodiment, the corresponding target encryption algorithm can be determined according to the security level, a complex encryption algorithm is adopted when the security level is high, and a common encryption algorithm is adopted when the security level is low, so that the data security can be improved, and the processing load of a processor can be reduced.
In one embodiment, the scrambling the video data according to the scrambling information comprises:
and carrying out first XOR operation on the scrambling information and the video data to obtain scrambled video data.
In the embodiment, the video data is scrambled by adopting exclusive-or operation, and the scrambling mode is reliable and safe.
In one embodiment, the scrambling the audio data according to the scrambling information includes:
and carrying out second XOR operation on the scrambling information and the audio data to obtain scrambled audio data.
In the embodiment, the audio data is scrambled by adopting exclusive-or operation, and the scrambling mode is reliable and safe.
According to a second aspect of the embodiments of the present disclosure, there is provided an information processing method applied to an image receiving end, the method including:
receiving target data; the target data carries the scrambling key information and the video data after scrambling processing;
decrypting the scrambling key information to obtain scrambling information;
and descrambling the video data after scrambling according to the scrambling information to obtain the video data.
The embodiment of the disclosure provides an information processing method, which includes generating scrambling information when video data are obtained, encrypting the scrambling information to obtain scrambling key information, adding the scrambling key information to a custom data field of original data, scrambling the video data according to the scrambling information, packaging the scrambling key information and the scrambled video data into target data, sending the target data to an image receiving end, enabling the image receiving end to decrypt the scrambling key information to obtain the scrambling information, and descrambling the scrambled video data according to the scrambling information obtained through decryption to obtain the video data. Therefore, the video data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, the transmission protocol is not required to be modified, and the universality of scrambling and descrambling processing is improved.
In one embodiment, the target data also carries audio data after scrambling processing; the method further comprises the following steps:
and descrambling the audio data after scrambling according to the scrambling information to obtain the audio data.
In one embodiment, the decrypting the scrambling key information to obtain the scrambling information includes:
acquiring a target decryption algorithm;
and decrypting the scrambling key information by adopting a preset character string key and a target decryption algorithm to obtain the scrambling information.
In one embodiment, the target data further carries a type identifier of the target encryption algorithm;
the obtaining the target decryption algorithm comprises:
and determining the target decryption algorithm according to the type identifier of the target encryption algorithm.
In an embodiment, the descrambling the video data after the scrambling process according to the scrambling information to obtain the video data includes:
and performing a third XOR operation on the scrambled video data and the scrambling information to obtain the video data.
In an embodiment, the descrambling the audio data after the scrambling process according to the scrambling information to obtain the audio data includes:
and carrying out fourth XOR operation on the audio data after the scrambling processing and the scrambling information to obtain the audio data.
According to a third aspect of the embodiments of the present disclosure, there is provided an information processing apparatus applied to an image transmitting end, the apparatus including:
the first acquisition module is used for acquiring data to be scrambled from the original data; the data to be scrambled comprises video data;
a generation module for generating scrambling information;
the encryption module is used for encrypting the scrambling information to obtain scrambling key information and adding the scrambling key information into a custom data field of the original data;
the first scrambling module is used for scrambling the video data according to the scrambling information;
the sending module is used for sending target data to an image receiving end, wherein the target data carries the scrambling key information and the video data after scrambling processing; and enabling the image receiving end to descramble the scrambled video data according to the scrambling information obtained by decrypting the scrambling key information to obtain the video data.
The embodiment of the disclosure provides an information processing apparatus, which generates scrambling information when video data is acquired, encrypts the scrambling information to obtain scrambling key information, adds the scrambling key information to a custom data field of original data, scrambles the video data according to the scrambling information, packs the scrambling key information and the scrambled video data into target data, and sends the target data to an image receiving end, so that the image receiving end decrypts the scrambling key information to obtain the scrambling information, and descrambles the scrambled video data according to the scrambled information obtained by decryption to obtain the video data. Therefore, the video data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, the transmission protocol is not required to be modified, and the universality of scrambling and descrambling processing is improved.
In one embodiment, the data to be scrambled further comprises audio data; the device further comprises:
the second scrambling module is used for scrambling the audio data according to the scrambling information; the target data also carries audio data after scrambling processing.
In one embodiment, the generating module comprises a generating submodule and a first determining submodule;
the generation submodule is used for generating seeds according to a preset algorithm;
and the determining submodule is used for generating a random number with preset bits according to the seeds and determining the random number as the scrambling information.
In one embodiment, the encryption module comprises a first obtaining sub-module and an encryption sub-module;
the first obtaining submodule is used for obtaining a target encryption algorithm;
and the encryption submodule is used for encrypting the scrambling information by adopting a preset character string key and the target encryption algorithm to obtain the scrambling key information.
In one embodiment, the first obtaining sub-module includes a first determining unit and a second determining unit;
the first determining unit is used for determining the security level of the original data;
the second determining unit is used for determining a corresponding target encryption algorithm according to the security level; the target data also carries the type identification of the target encryption algorithm.
In one embodiment, the first scrambling module comprises a first scrambling submodule;
and the first scrambling submodule is used for carrying out a first exclusive-or operation on the scrambling information and the video data to obtain scrambled video data.
In one embodiment, the second scrambling module comprises a second scrambling submodule;
and the second scrambling submodule is used for carrying out second exclusive-or operation on the scrambling information and the audio data to obtain scrambled audio data.
According to a fourth aspect of the embodiments of the present disclosure, applied to an image receiving end, the apparatus includes:
the receiving module is used for receiving target data; the target data carries the scrambling key information and the video data after scrambling processing;
the decryption module is used for decrypting the scrambling key information to obtain scrambling information;
and the first descrambling module is used for descrambling the video data after scrambling according to the scrambling information to obtain the video data.
The embodiment of the disclosure provides an information processing apparatus, which generates scrambling information when video data is acquired, encrypts the scrambling information to obtain scrambling key information, adds the scrambling key information to a custom data field of original data, scrambles the video data according to the scrambling information, packs the scrambling key information and the scrambled video data into target data, and sends the target data to an image receiving end, so that the image receiving end decrypts the scrambling key information to obtain the scrambling information, and descrambles the scrambled video data according to the scrambled information obtained by decryption to obtain the video data. Therefore, the video data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, the transmission protocol is not required to be modified, and the universality of scrambling and descrambling processing is improved.
In one embodiment, the target data also carries audio data after scrambling processing; further comprising:
and the second descrambling module is used for descrambling the audio data after scrambling according to the scrambling information to obtain the audio data.
In one embodiment, the decryption module comprises a second obtaining sub-module and a decryption sub-module;
the second obtaining submodule is used for obtaining a target decryption algorithm;
and the decryption submodule is used for decrypting the scrambling key information by adopting a preset character string key and a target decryption algorithm to obtain the scrambling information.
In one embodiment, the target data further carries a type identifier of the target encryption algorithm; the second obtaining submodule comprises a third determining unit;
the third determining unit is used for determining the target decryption algorithm according to the type identifier of the target encryption algorithm.
In one embodiment, the first descrambling module comprises a first descrambling submodule;
and the first descrambling submodule is used for performing a third XOR operation on the scrambled video data and the scrambling information to obtain the video data.
In one embodiment, the second descrambling module comprises a second descrambling submodule;
and the second descrambling submodule is used for performing a fourth exclusive-or operation on the scrambled audio data and the scrambling information to obtain the audio data.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1a is a flowchart of an information processing method provided by an embodiment of the present disclosure;
fig. 1b is a schematic structural diagram of a scrambler provided in the embodiment of the present disclosure;
FIG. 1c is a schematic diagram of a control word generator according to an embodiment of the present disclosure;
FIG. 1d is a schematic diagram of an encryptor according to an embodiment of the present disclosure;
fig. 1e is a schematic structural diagram of a first interleaver provided in the embodiment of the present disclosure;
fig. 1f is a schematic structural diagram of a second interleaver provided in the embodiment of the present disclosure;
fig. 2 is a flowchart of an information processing method provided by an embodiment of the present disclosure;
fig. 3a is a flowchart of an information processing method provided by an embodiment of the present disclosure;
fig. 3b is a schematic structural diagram of a descrambler provided by an embodiment of the present disclosure;
fig. 3c is a schematic structural diagram of a decryptor provided in an embodiment of the present disclosure;
FIG. 3d is a schematic structural diagram of a first de-weaving device according to an embodiment of the disclosure;
fig. 3e is a schematic structural diagram of a second de-weaving device provided in the embodiment of the disclosure;
fig. 4 is a flowchart of an information processing method provided by an embodiment of the present disclosure;
FIG. 5 is an interaction diagram of an information processing method provided by an embodiment of the present disclosure;
FIG. 6 is an interaction diagram of an information processing method provided by an embodiment of the present disclosure;
fig. 7a is a structural diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 7b is a structural diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 7c is a block diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 7d is a block diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 7e is a structural diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 7f is a block diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 7g is a structural diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 8a is a structural diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 8b is a structural diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 8c is a structural diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 8d is a block diagram of an information processing apparatus provided in an embodiment of the present disclosure;
fig. 8e is a structural diagram of an information processing apparatus provided in an embodiment of the present disclosure; fig. 8f is a structural diagram of an information processing apparatus according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the present disclosure provides an information processing method, which is applied to an image sending end, and as shown in fig. 1a, the information processing method includes the following steps:
step 101, obtaining data to be scrambled from original data.
Wherein the data to be scrambled comprises video data.
In an example, the image sending end may obtain the collected data through the collecting device, encode the collected data to obtain the original data, and obtain the data to be scrambled from the original data.
It should be noted that, the present disclosure does not limit the encoding standard of the collected data, as long as the encoding standard includes the custom data field, for example, the encoding standard of the collected data is h.264, the h.264 Video data includes multiple types of loads after the NALU (network abstraction Layer unit type) header, the loads mainly include VCL (Video Coding Layer) and SEI (Supplemental Enhancement Information), the data that needs to be scrambled is VCL data, and the SEI may carry the custom data field, that is, the SEI may carry the scrambling key Information.
It should be noted that, before transmission, video data and/or audio data generally need to be packed and encapsulated, a TS (Transport Stream) protocol is an audio and video packing standard specified by the international organization of Moving Picture Experts Group (MPEG), and the TS protocol has three basic concepts, where the TS is a Transport Stream, the PES (packetized ES) is load data of the TS, the ES (Elementary Stream) is an Elementary Stream, the ES is original data of the TS, and in this embodiment, the ES is video data, and the ES data is packed to obtain the PES.
Step 102, generating scrambling information.
Optionally, generating seeds according to a preset algorithm; and generating a random number with preset bits according to the seeds, and determining the random number as the scrambling information.
Illustratively, a scrambler is arranged at an image sending end, and as shown in fig. 1b, the scrambler is a schematic structural diagram of the scrambler, and includes a control word generator, a first interleaver, a second interleaver, an encryptor, a packing module and a sending module, where the control word generator is connected to the encryptor, the first interleaver and the second interleaver respectively, one end of the packing module is connected to the first interleaver and the second interleaver respectively, and the other end of the packing module is connected to the sending module; the first interleaver is configured to receive original video data and the second interleaver is configured to receive original audio data.
For example, as shown in fig. 1c, it is a schematic diagram of a control word generator, the preset algorithm is a hash algorithm, a seed is generated by using the hash algorithm, then the seed is sent to a random number generator, the random number generator generates a random number with preset bits by using the seed, for example, a random number with 64 bits is generated, and the random number is determined as scrambling information. Therefore, the scrambling information generated each time is different to the maximum extent, and the scrambling safety is improved.
It should be noted that the present disclosure does not limit the type of the preset algorithm, and other algorithms, such as a random number algorithm, may also be used.
It should be noted that, the specific number of the preset bits in the present disclosure is not limited, and can be specifically set according to actual requirements.
And 103, encrypting the scrambling information to obtain scrambling key information, and adding the scrambling key information to a custom data field of the original data.
Illustratively, when the scrambling information is generated, the scrambling information is encrypted to obtain scrambling key information, and then the scrambling key information is added to the custom data field of the original data; for example, taking h.264 video data as an example, scrambling key information is added to the SEI field.
Optionally, obtaining a target encryption algorithm; and encrypting the scrambling information by adopting a preset character string key and the target encryption algorithm to obtain the scrambling key information.
For example, as shown in fig. 1d, which is a schematic structural diagram of an encryptor, when generating scrambling information, a control word generator sends the scrambling information to the encryptor, the encryptor obtains a preset encryption algorithm, determines the preset encryption algorithm as a target encryption algorithm, obtains a preset character string key, encrypts the scrambling information according to the character string key and the target encryption algorithm to obtain scrambling key information, and adds the scrambling key information to a custom data field of original audio data; for example, the preset Encryption algorithm is an Advanced Encryption Standard (AES) Encryption algorithm, the scrambling information is a 64-bit random number, the 64-bit random number uses a character string key, and the Encryption is performed by the AES Encryption algorithm to obtain 128-bit scrambling key information, so that the scrambling information can use a ciphertext mode in the transmission process to prevent interception, and the scrambling security is further improved.
Further, obtaining the target encryption algorithm may be implemented as follows:
determining a security level of the original data; determining a corresponding target encryption algorithm according to the security level; the target data also carries the type identification of the target encryption algorithm.
For example, the image sending end may pre-store a corresponding list of the type, the security level, and the encryption algorithm of the original data, and may obtain a corresponding target encryption algorithm according to the security level of the original data, that is, when the original data is obtained, the content of the original data is analyzed to determine the type of the original data, and then the corresponding security level and the encryption algorithm are determined according to the type of the original data; for example, when the type of the original data is determined to be a conference video, the corresponding security level is determined to be a high level, and the corresponding target encryption algorithm is a relatively complex encryption algorithm; when the type of the original data is determined to be a news video, the corresponding security level is determined to be a low level, and the corresponding target encryption algorithm is a relatively simple encryption algorithm. And when the corresponding target encryption algorithm is determined, the type identification of the target encryption algorithm is carried in the target data and is sent to the image receiving end, so that the image receiving end can conveniently determine the corresponding target decryption algorithm according to the type identification of the target encryption algorithm.
It should be noted that, when determining the target encryption algorithm, the target encryption algorithm may also be determined according to the type of the data to be scrambled, and when the data to be scrambled is video data, the encryption algorithm a is adopted; and when the data to be scrambled are video data and audio data, adopting an encryption algorithm B.
And 104, scrambling the video data according to the scrambling information.
Optionally, a first xor operation is performed on the scrambling information and the video data to obtain scrambled video data.
For example, as shown in fig. 1e, when the control word generator generates the scrambling information, the control word generator further sends the scrambling information to the first interleaver, and when the first interleaver acquires the original video data, the first interleaver analyzes the original video data to acquire the video data, and then scrambles the video data by using the received scrambling information; taking h.264 video data as an example, VCL data is identified from the h.264 video data, and then the generated scrambling information is used to scramble the VCL data, where the specific scrambling method is as follows: the first interleaver performs a first exclusive-or operation on the scrambled information and the video data, that is, performs a first exclusive-or operation on the scrambled information and the VCL data to obtain the scrambled video data.
It should be noted that, the present disclosure may also perform other operations on the video data and the scrambling information to obtain the scrambled video data, which may be specifically selected according to the user requirement, and is not limited thereto.
It should be noted that, when performing the scrambling operation on the video data, the performance of the processor can be optimized, and the 32-bit processor performs the exclusive or operation by using 32 bits as a unit; the 64-bit processor performs an exclusive-or operation in units of 64 bits, and the interference data adopts a big-end format.
105, sending target data to an image receiving end, wherein the target data carries the scrambling key information and the video data after scrambling processing; and enabling the image receiving end to descramble the scrambled video data according to the scrambling information obtained by decrypting the scrambling key information to obtain the video data.
Illustratively, after scrambling video data, a first interleaver replaces the previous video data with the scrambled video data (the previous video data is not scrambled), adds scrambling key information to a custom data field, then sends modified original data, namely target data to a packing module, the packing module packs the target data, and sends the packed target data to a sending module, the sending module sends the packed target data to an image receiving terminal, so that the image receiving terminal decodes the target data when receiving the packed target data, obtains the scrambled video data and the scrambling key information, decrypts the scrambling key information to obtain scrambled information, and descrambles the scrambled video data according to the scrambling information to obtain the video data.
The embodiment of the disclosure provides an information processing method, which includes generating scrambling information when video data are obtained, encrypting the scrambling information to obtain scrambling key information, adding the scrambling key information to a custom data field of original data, scrambling the video data according to the scrambling information, packaging the scrambling key information and the scrambled video data into target data, sending the target data to an image receiving end, enabling the image receiving end to decrypt the scrambling key information to obtain the scrambling information, and descrambling the scrambled video data according to the scrambling information obtained through decryption to obtain the video data. Therefore, the video data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, the transmission protocol is not required to be modified, and the universality of scrambling and descrambling processing is improved.
Further, as shown in fig. 2, the data to be scrambled further includes audio data; before step 105 is executed, the following step 106 is further included:
and 106, scrambling the audio data according to the scrambling information.
And the target data also carries the audio data after scrambling processing.
Optionally, a second xor operation is performed on the scrambling information and the audio data to obtain scrambled audio data.
Illustratively, the control word generator further sends the generated scrambling information to a second interleaver, and the second interleaver analyzes the original audio information to obtain audio data when acquiring the original audio information, and then scrambles the audio data by using the received scrambling information; taking ACC (Advanced Audio Coding ) Audio Data as an example, the ACC Audio Data includes ADIF (Audio Data exchange Format) and ADTS (Audio Data Transport Stream) Data, where the ADIF is mainly used for storage, the ADTS Data is mainly used for transmission, the structure of the ADTS Data is relatively simple, and the loads of the ADTS Data are all Audio Data, so that when the ADTS Data is identified from the ACC Audio Data, the second interleaver scrambles all the ADTS Data by using the generated scrambling information, and the specific scrambling method is as follows: as shown in fig. 1f, the second interleaver performs a second xor operation on the scrambled information and the audio data, that is, performs a second xor operation on the scrambled information and the ADTS data, so as to obtain the scrambled audio data.
It should be noted that, the present disclosure may also perform other operations on the audio data and the scrambling information to obtain the scrambled audio data, which may be specifically selected according to the user requirement, and is not limited thereto.
It should be noted that, when performing scrambling operation on audio data, the scrambling operation can be optimized according to the performance of the processor, and the 32-bit processor performs exclusive or operation by using 32 bits as a unit; the 64-bit processor performs an exclusive-or operation in units of 64 bits, and the interference data adopts a big-end format.
The embodiment of the disclosure provides an information processing method, which includes generating scrambling information when video data and audio data are obtained, encrypting the scrambling information to obtain scrambling key information, adding the scrambling key information to a custom data field, scrambling the video data according to the scrambling information, scrambling the audio data according to the scrambling information, packaging the scrambling key information, the video data after scrambling and the audio data after scrambling into target data, sending the target data to an image receiving end, enabling the image receiving end to decrypt the scrambling key information to obtain the scrambling information, and descrambling the video data after scrambling and the audio data after scrambling according to the scrambling information obtained by decryption to obtain the video data and original audio information. It can be known that, in the present disclosure, video data and audio data are scrambled according to scrambling information, scrambling key information is further added to a custom data field of original data, a package protocol itself does not need to be destroyed, and a transmission protocol also does not need to be modified, an intermediate transmission medium can support the information processing method of this embodiment as long as a TS protocol is supported, that is, a scrambling and descrambling method does not need to perform additional analysis processing on the TS protocol, if a third party stores target data during transmission, the third party cannot obtain correct video data and audio data without knowing interference information and a target descrambling algorithm, and the target encryption algorithm is integrated at an image sending end, a target decryption algorithm is integrated at an image receiving end, and the intermediate transmission medium does not need to make any changes, thereby improving the universality of scrambling and descrambling processing.
The embodiment of the present disclosure provides an information processing method, applied to an image receiving end, as shown in fig. 3a, the information processing method includes the following steps:
step 301, receiving target data.
And the target data carries the scrambling key information and the video data after scrambling processing.
Illustratively, a descrambler is disposed at an image receiving end, and as shown in fig. 3b, the descrambler is a schematic structural diagram of the descrambler, and includes a decapsulation module, a first de-interleaver, a second de-interleaver, and a decryptor, where the decryptor is respectively connected to the first de-interleaver and the second de-interleaver, the decapsulation module is respectively connected to the decryptor, the first de-interleaver, and the second de-interleaver, and the decapsulation module receives target data, decapsulates the target data, obtains scrambling key information and video data after scrambling, and stores the obtained scrambling key information and the video data after scrambling.
And 302, decrypting the scrambling key information to obtain scrambling information.
Optionally, obtaining a target decryption algorithm; and decrypting the scrambling key information by adopting a preset character string key and a target decryption algorithm to obtain the scrambling information.
The preset character string key of the image receiving end is the same as the preset character string key of the image sending end.
For example, as shown in fig. 3c, the schematic diagram of the structure of the decryptor is shown, the decryptor identifies the custom data field, extracts the scrambling key information from the custom data field, and obtains the preset decryption algorithm, determines the preset decryption algorithm as the target decryption algorithm, obtains the preset character string key, and then decrypts the scrambling key information according to the character string key and the target decryption algorithm to obtain the scrambling information. For example, taking h.264 video data as an example, the preset decryption algorithm is an AES decryption algorithm, 128-bit scrambling key information is obtained from the SEI data, the 128-bit scrambling key information is decrypted by the AES decryption algorithm, and a 64-bit random number generated by the image sending end is obtained, that is, the scrambling information generated by the image sending end is obtained.
Further, under the condition that the target data also carries the type identifier of the target encryption algorithm, acquiring the target decryption algorithm can be realized in the following manner:
and determining the target decryption algorithm according to the type identifier of the target encryption algorithm.
Illustratively, when the target data received by the image receiving end carries the type identifier of the target encryption algorithm, a decryption algorithm identical to the type identifier of the target encryption algorithm is searched in a pre-stored decryption algorithm list, and the decryption algorithm is determined as the target decryption algorithm, so that the target decryption algorithm is matched with the target encryption algorithm.
And 303, descrambling the video data after the scrambling processing according to the scrambling information to obtain the video data.
Optionally, a third difference or operation is performed on the video data after the scrambling processing and the scrambling information, so as to obtain the video data.
For example, as shown in fig. 3d, when obtaining the scrambling information, the decryptor sends the scrambling information to the first decryptor, and the first decryptor obtains the stored video data after scrambling, and performs a third difference or operation on the scrambling information and the video data after scrambling, taking h.264 video data as an example, that is, performs the third difference or operation on the scrambling information and the VCL data after scrambling, and obtains VCL data, that is, obtains video data.
It should be noted that, the present disclosure may also perform other operations on the scrambled video data and the scrambling information to obtain the video data, which may be specifically selected according to the user requirement, and is not limited to this.
It should be noted that, when performing descrambling operation on the video data after scrambling processing, the video data can be optimized according to the performance of the processor, and the 32-bit processor performs xor operation by using 32 bits as a unit; the 64-bit processor performs an exclusive-or operation in units of 64 bits, and the interference data adopts a big-end format.
The embodiment of the disclosure provides an information processing method, which includes generating scrambling information when video data are obtained, encrypting the scrambling information to obtain scrambling key information, adding the scrambling key information to a custom data field of original data, scrambling the video data according to the scrambling information, packaging the scrambling key information and the scrambled video data into target data, sending the target data to an image receiving end, enabling the image receiving end to decrypt the scrambling key information to obtain the scrambling information, and descrambling the scrambled video data according to the scrambling information obtained through decryption to obtain the video data. Therefore, the video data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, the transmission protocol is not required to be modified, and the universality of scrambling and descrambling processing is improved.
Further, as shown in fig. 4, the target data also carries audio data after scrambling; the method further comprises the following step 304:
and 304, descrambling the audio data after the scrambling processing according to the scrambling information to obtain the audio data.
Optionally, a fourth xor operation is performed on the audio data after the scrambling process and the scrambling information, so as to obtain the audio data.
For example, when the target data carries the scrambled video data and the scrambled audio data, the decapsulation module needs to separate and store the scrambled video data and the scrambled audio data; then, as shown in fig. 3e, when the decryptor obtains the scrambling information, the decryptor further sends the scrambling information to the second decryptor, the second decryptor obtains the stored audio data after scrambling, and performs a fourth xor operation on the scrambling information and the audio data after scrambling, taking ACC audio data as an example, that is, performing the fourth xor operation on the scrambling information and the ADTS data after scrambling to obtain the ADTS data, that is, obtaining the audio data.
It should be noted that, the present disclosure may also perform other operations on the scrambled audio data and the scrambling information to obtain the audio data, which may be specifically selected according to the user requirement, and is not limited thereto.
It should be noted that, when performing descrambling operation on the scrambled audio data, the descrambling operation can be optimized according to the performance of the processor, and the 32-bit processor performs xor operation by using 32 bits as a unit; the 64-bit processor performs an exclusive or operation in units of 64 bits.
The embodiment of the disclosure provides an information processing method, which includes generating scrambling information when video data and audio data are obtained, encrypting the scrambling information to obtain scrambling key information, adding the scrambling key information to a custom data field, scrambling the video data according to the scrambling information, scrambling the audio data according to the scrambling information, packaging the scrambling key information, the video data after scrambling and the audio data after scrambling into target data, sending the target data to an image receiving end, enabling the image receiving end to decrypt the scrambling key information to obtain the scrambling information, and descrambling the video data after scrambling and the audio data after scrambling according to the scrambling information obtained by decryption to obtain the video data and original audio information. Therefore, the video data and the audio data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, and the transmission protocol is not required to be modified, so that the universality of scrambling and descrambling processing is improved.
The embodiment of the present disclosure provides an information processing method, which is applied to an image sending end and an image receiving end, and as shown in fig. 5, the information processing method includes the following steps:
step 501, the image sending end obtains data to be scrambled from the original data.
Wherein the data to be scrambled comprises video data.
Step 502, the image sending end generates scrambling information.
Optionally, generating seeds according to a preset algorithm; and generating a random number with preset bits according to the seeds, and determining the random number as the scrambling information.
Step 503, the image sending end encrypts the scrambling information to obtain scrambling key information, and adds the scrambling key information to the custom data field of the original data.
Optionally, obtaining a target encryption algorithm; and encrypting the scrambling information by adopting a preset character string key and the target encryption algorithm to obtain the scrambling key information.
Further, determining the security level of the original data; and determining a corresponding target encryption algorithm according to the security level.
And step 504, the image sending end carries out scrambling processing on the video data according to the scrambling information.
Optionally, a first xor operation is performed on the scrambling information and the video data to obtain scrambled video data.
And step 505, the image sending end sends the target data to the image receiving end.
And the target data carries the scrambling key information and the video data after scrambling processing.
And step 506, the image receiving end decrypts the scrambling key information to obtain scrambling information.
Optionally, obtaining a target decryption algorithm; and decrypting the scrambling key information by adopting a preset character string key and a target decryption algorithm to obtain the scrambling information.
Further, the target decryption algorithm is determined according to the type identification of the target encryption algorithm.
And 507, descrambling the scrambled video data by the image receiving end according to the scrambling information to obtain the video data.
Optionally, a third difference or operation is performed on the video data after the scrambling processing and the scrambling information, so as to obtain the video data.
The embodiment of the disclosure provides an information processing method, which includes generating scrambling information when video data are obtained, encrypting the scrambling information to obtain scrambling key information, adding the scrambling key information to a custom data field of original data, scrambling the video data according to the scrambling information, packaging the scrambling key information and the scrambled video data into target data, sending the target data to an image receiving end, enabling the image receiving end to decrypt the scrambling key information to obtain the scrambling information, and descrambling the scrambled video data according to the scrambling information obtained through decryption to obtain the video data. Therefore, the video data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, the transmission protocol is not required to be modified, and the universality of scrambling and descrambling processing is improved.
The embodiment of the present disclosure provides an information processing method, which is applied to an image sending end and an image receiving end, and as shown in fig. 6, the information processing method includes the following steps:
step 601, the image sending end obtains data to be scrambled from the original data.
The data to be scrambled comprises video data and audio data.
Step 602, the image sending end generates scrambling information.
Optionally, generating seeds according to a preset algorithm; and generating a random number with preset bits according to the seeds, and determining the random number as the scrambling information.
Step 603, the image sending end encrypts the scrambling information to obtain scrambling key information, and adds the scrambling key information to the custom data field of the original data.
Optionally, obtaining a target encryption algorithm; and encrypting the scrambling information by adopting a preset character string key and the target encryption algorithm to obtain the scrambling key information.
Further, determining the security level of the original data; and determining a corresponding target encryption algorithm according to the security level.
And step 604, the image sending end scrambles the video data according to the scrambling information.
Optionally, a first xor operation is performed on the scrambling information and the video data to obtain scrambled video data.
And 605, the image sending end scrambles the audio data according to the scrambling information.
Optionally, a second xor operation is performed on the scrambling information and the audio data to obtain scrambled audio data.
And step 606, the image sending end sends the target data to the image receiving end.
The target data carries the scrambling key information, the video data after scrambling processing and the audio data after scrambling processing.
Further, the target data also carries a type identifier of the target encryption algorithm.
And step 607, the image receiving end decrypts the scrambling key information to obtain the scrambling information.
Optionally, obtaining a target decryption algorithm; and decrypting the scrambling key information by adopting a preset character string key and a target decryption algorithm to obtain the scrambling information.
Further, the target decryption algorithm is determined according to the type identification of the target encryption algorithm.
And 608, the image receiving end descrambles the scrambled video data according to the scrambling information to obtain the video data.
Optionally, a third difference or operation is performed on the video data after the scrambling processing and the scrambling information, so as to obtain the video data.
And 609, the image receiving end descrambles the scrambled audio data according to the scrambling information to obtain the audio data.
Optionally, a fourth xor operation is performed on the audio data after the scrambling process and the scrambling information, so as to obtain the audio data.
The embodiment of the disclosure provides an information processing method, which includes generating scrambling information when video data and audio data are obtained, encrypting the scrambling information to obtain scrambling key information, adding the scrambling key information to a custom data field, scrambling the video data according to the scrambling information, scrambling the audio data according to the scrambling information, packaging the scrambling key information, the video data after scrambling and the audio data after scrambling into target data, sending the target data to an image receiving end, enabling the image receiving end to decrypt the scrambling key information to obtain the scrambling information, and descrambling the video data after scrambling and the audio data after scrambling according to the scrambling information obtained by decryption to obtain the video data and original audio information. Therefore, the video data and the audio data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, and the transmission protocol is not required to be modified, so that the universality of scrambling and descrambling processing is improved.
Based on the information processing method described in the embodiments corresponding to fig. 1 and fig. 3, the following is an embodiment of the apparatus of the present disclosure, which can be used to execute an embodiment of the method of the present disclosure.
The embodiment of the present disclosure provides an information processing apparatus, which is applied to an image sending end, and as shown in fig. 7a, the information processing apparatus 70 includes: a first obtaining module 701, a generating module 702, an encrypting module 703, a first scrambling module 704 and a sending module 705.
The first obtaining module 701 is configured to obtain data to be scrambled from original data; the data to be scrambled includes video data.
A generating module 702 is configured to generate scrambling information.
The encryption module 703 is configured to encrypt the scrambling information to obtain scrambling key information, and add the scrambling key information to the custom data field of the original data.
A first scrambling module 704, configured to perform scrambling processing on the video data according to the scrambling information.
A sending module 705, configured to send target data to an image receiving end, where the target data carries the scrambling key information and the video data after scrambling processing; and enabling the image receiving end to descramble the scrambled video data according to the scrambling information obtained by decrypting the scrambling key information to obtain the video data.
In one embodiment, as shown in fig. 7b, the data to be scrambled further includes audio data; the apparatus also includes a second scrambling module 706.
The second scrambling module 706 is configured to perform scrambling processing on the audio data according to the scrambling information; the target data also carries audio data after scrambling processing.
In one embodiment, as shown in fig. 7c, the generating module 702 includes a generating submodule 7021 and a first determining submodule 7022.
The generating submodule 7021 is configured to generate a seed according to a preset algorithm.
The determining submodule 7022 is configured to generate a random number with preset bits according to the seed, and determine the random number as the scrambling information.
In one embodiment, as shown in fig. 7d, the encryption module 703 includes a first obtaining sub-module 7031 and an encryption sub-module 7032.
The first obtaining sub-module 7031 is configured to obtain a target encryption algorithm.
The encryption submodule 7032 is configured to encrypt the scrambling information by using a preset character string key and the target encryption algorithm, so as to obtain the scrambling key information.
In one embodiment, as shown in fig. 7e, the first obtaining sub-module 7031 includes a first determining unit 70311 and a second determining unit 70312.
The first determining unit 70311 is configured to determine a security level of the original data.
The second determining unit 70312 is configured to determine a corresponding target encryption algorithm according to the security level; the target data also carries the type identification of the target encryption algorithm.
In one embodiment, as shown in fig. 7f, the first scrambling module 704 includes a first scrambling submodule 7041.
The first scrambling submodule 7041 is configured to perform a first xor operation on the scrambling information and the video data to obtain scrambled video data.
In one embodiment, as shown in fig. 7g, the second scrambling module 706 includes a second scrambling submodule 7061.
The second scrambling submodule 7061 is configured to perform a second xor operation on the scrambling information and the audio data to obtain scrambled audio data.
The embodiment of the disclosure provides an information processing apparatus, which generates scrambling information when video data is acquired, encrypts the scrambling information to obtain scrambling key information, adds the scrambling key information to a custom data field of original data, scrambles the video data according to the scrambling information, packs the scrambling key information and the scrambled video data into target data, and sends the target data to an image receiving end, so that the image receiving end decrypts the scrambling key information to obtain the scrambling information, and descrambles the scrambled video data according to the scrambled information obtained by decryption to obtain the video data. Therefore, the video data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, the transmission protocol is not required to be modified, and the universality of scrambling and descrambling processing is improved.
The embodiment of the present disclosure provides an information processing apparatus, which is applied to an image receiving end, and as shown in fig. 8a, the information processing apparatus 80 includes: a receiving module 801, a decryption module 802 and a first descrambling module 803.
The receiving module 801 is configured to receive target data; the target data carries the scrambling key information and the video data after scrambling processing.
And a decryption module 802, configured to decrypt the scrambling key information to obtain scrambling information.
A first descrambling module 803, configured to descramble the scrambled video data according to the scrambling information, so as to obtain video data.
In one embodiment, as shown in fig. 8b, the target data also carries the audio data after scrambling; the information processing apparatus 80 further includes a second descrambling module 804.
The second descrambling module 804 is configured to descramble the audio data after the scrambling process according to the scrambling information, so as to obtain the audio data.
In one embodiment, as shown in fig. 8c, the decryption module 802 includes a second fetch sub-module 8021 and a decryption sub-module 8022.
The second obtaining sub-module 8021 is configured to obtain a target decryption algorithm.
The decryption submodule 8022 is configured to decrypt the scrambling key information by using a preset character string key and a target decryption algorithm, so as to obtain the scrambling information.
In one embodiment, as shown in fig. 8d, the target data also carries a type identifier of the target encryption algorithm; the second acquisition sub-module 8021 includes a third determination unit 80211.
Wherein, the third determining unit 80211 is configured to determine the target decryption algorithm according to the type identifier of the target encryption algorithm.
In one embodiment, as shown in fig. 8e, the first descrambling module 803 comprises a first descrambling submodule 8031.
The first descrambling submodule 8031 is configured to perform a third exclusive or operation on the scrambled video data and the scrambling information to obtain the video data.
In one embodiment, as shown in figure 8f, the second descrambling module 804 comprises a second descrambling submodule 8041.
The second descrambling submodule 8041 is configured to perform a fourth xor operation on the scrambled audio data and the scrambling information to obtain the audio data.
The embodiment of the disclosure provides an information processing apparatus, which generates scrambling information when video data is acquired, encrypts the scrambling information to obtain scrambling key information, adds the scrambling key information to a custom data field of original data, scrambles the video data according to the scrambling information, packs the scrambling key information and the scrambled video data into target data, and sends the target data to an image receiving end, so that the image receiving end decrypts the scrambling key information to obtain the scrambling information, and descrambles the scrambled video data according to the scrambled information obtained by decryption to obtain the video data. Therefore, the video data are scrambled according to the scrambling information, the scrambling key information is added into the custom data field of the original data, the packaging protocol is not required to be damaged, the transmission protocol is not required to be modified, and the universality of scrambling and descrambling processing is improved.
Based on the information processing method described in the embodiment corresponding to fig. 1, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the information processing method described in the embodiment corresponding to fig. 1, which is not described herein again.
Based on the information processing method described in the embodiment corresponding to fig. 3, the embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a read-only memory, a random access memory, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the information processing method described in the embodiment corresponding to fig. 3, which is not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (15)

1. An information processing method is applied to an image sending end, and the method comprises the following steps:
acquiring data to be scrambled from original data; the data to be scrambled comprises video data;
generating scrambling information;
encrypting the scrambling information to obtain scrambling key information, and adding the scrambling key information to a custom data field of the original data;
scrambling the video data according to the scrambling information;
sending target data to an image receiving end, wherein the target data carries the scrambling key information and the video data after scrambling processing; and enabling the image receiving end to descramble the scrambled video data according to the scrambling information obtained by decrypting the scrambling key information to obtain the video data.
2. The method of claim 1, wherein the data to be scrambled further comprises audio data;
before the sending the target data to the image receiving end, the method further comprises:
scrambling the audio data according to the scrambling information; the target data also carries audio data after scrambling processing.
3. The method of claim 1, wherein the generating scrambling information comprises:
generating seeds according to a preset algorithm;
and generating a random number with preset bits according to the seeds, and determining the random number as the scrambling information.
4. The method of claim 1, wherein the encrypting the scrambling information to obtain scrambling key information comprises:
acquiring a target encryption algorithm;
and encrypting the scrambling information by adopting a preset character string key and the target encryption algorithm to obtain the scrambling key information.
5. The method of claim 4, wherein obtaining the target encryption algorithm comprises:
determining a security level of the original data;
determining a corresponding target encryption algorithm according to the security level; the target data also carries the type identification of the target encryption algorithm.
6. The method of claim 1, wherein the scrambling the video data according to the scrambling information comprises:
and carrying out first XOR operation on the scrambling information and the video data to obtain scrambled video data.
7. The method of claim 2, wherein the scrambling the audio data according to the scrambling information comprises:
and carrying out second XOR operation on the scrambling information and the audio data to obtain scrambled audio data.
8. An information processing method, applied to an image receiving end, the method comprising:
receiving target data; the target data carries the scrambling key information and the video data after scrambling processing;
decrypting the scrambling key information to obtain scrambling information;
and descrambling the video data after scrambling according to the scrambling information to obtain the video data.
9. The method according to claim 8, wherein the target data further carries scrambled audio data; the method further comprises the following steps:
and descrambling the audio data after scrambling according to the scrambling information to obtain the audio data.
10. The method of claim 8, wherein decrypting the scrambling key information to obtain the scrambling information comprises:
acquiring a target decryption algorithm;
and decrypting the scrambling key information by adopting a preset character string key and a target decryption algorithm to obtain the scrambling information.
11. The method of claim 10, wherein the target data further carries an identification of a type of the target encryption algorithm;
the obtaining the target decryption algorithm comprises:
and determining the target decryption algorithm according to the type identifier of the target encryption algorithm.
12. The method of claim 8, wherein the descrambling the video data after the scrambling process according to the scrambling information to obtain video data comprises:
and performing a third XOR operation on the scrambled video data and the scrambling information to obtain the video data.
13. The method of claim 9, wherein the descrambling the audio data after the scrambling process according to the scrambling information to obtain audio data comprises:
and carrying out fourth XOR operation on the audio data after the scrambling processing and the scrambling information to obtain the audio data.
14. An information processing apparatus, applied to an image transmitting end, the apparatus comprising:
the first acquisition module is used for acquiring data to be scrambled from the original data; the data to be scrambled comprises video data;
a generation module for generating scrambling information;
an encryption module for encrypting the scrambling information to obtain scrambling key information and adding the scrambling key information to the custom data field of the original data
The first scrambling module is used for scrambling the video data according to the scrambling information;
the sending module is used for sending target data to an image receiving end, wherein the target data carries the scrambling key information and the video data after scrambling processing; and enabling the image receiving end to descramble the scrambled video data according to the scrambling information obtained by decrypting the scrambling key information to obtain the video data.
15. An information processing apparatus, applied to an image receiving end, the apparatus comprising:
the receiving module is used for receiving target data; the target data carries the scrambling key information and the video data after scrambling processing;
the decryption module is used for decrypting the scrambling key information to obtain scrambling information;
and the first descrambling module is used for descrambling the video data after scrambling according to the scrambling information to obtain the video data.
CN202010683213.4A 2020-07-15 2020-07-15 Information processing method and device Pending CN111954036A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010683213.4A CN111954036A (en) 2020-07-15 2020-07-15 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010683213.4A CN111954036A (en) 2020-07-15 2020-07-15 Information processing method and device

Publications (1)

Publication Number Publication Date
CN111954036A true CN111954036A (en) 2020-11-17

Family

ID=73340594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010683213.4A Pending CN111954036A (en) 2020-07-15 2020-07-15 Information processing method and device

Country Status (1)

Country Link
CN (1) CN111954036A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022193570A1 (en) * 2021-03-17 2022-09-22 Tcl华星光电技术有限公司 Scrambling device and scrambling method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070204290A1 (en) * 2004-09-01 2007-08-30 Huawei Technologies Co., Ltd. Method for Protecting Contents of Broadband Video/Audio Broadcast
CN101119170A (en) * 2007-08-20 2008-02-06 北京航空航天大学 Frequency modulated subcarrier based user management method
CN101202624A (en) * 2007-12-24 2008-06-18 北京创毅视讯科技有限公司 Method and system of document transmission
KR20130139680A (en) * 2012-06-13 2013-12-23 한국전자통신연구원 Method for transmitting/receiving scrambling information in digital broadcasting system, transmitting apparatus, and receiving apparatus
CN106254382A (en) * 2016-09-13 2016-12-21 浙江宇视科技有限公司 The processing method and processing device of media data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070204290A1 (en) * 2004-09-01 2007-08-30 Huawei Technologies Co., Ltd. Method for Protecting Contents of Broadband Video/Audio Broadcast
CN101119170A (en) * 2007-08-20 2008-02-06 北京航空航天大学 Frequency modulated subcarrier based user management method
CN101202624A (en) * 2007-12-24 2008-06-18 北京创毅视讯科技有限公司 Method and system of document transmission
KR20130139680A (en) * 2012-06-13 2013-12-23 한국전자통신연구원 Method for transmitting/receiving scrambling information in digital broadcasting system, transmitting apparatus, and receiving apparatus
CN106254382A (en) * 2016-09-13 2016-12-21 浙江宇视科技有限公司 The processing method and processing device of media data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何鑫等: "《Windows.NET Server组网与维护实用教程》", 30 April 2003, 西安电子科技大学出版社, pages: 194 - 195 *
胡霞;肖有平;: "数字电视条件接收系统", 中国有线电视, no. 11, 15 June 2006 (2006-06-15) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022193570A1 (en) * 2021-03-17 2022-09-22 Tcl华星光电技术有限公司 Scrambling device and scrambling method

Similar Documents

Publication Publication Date Title
KR101345569B1 (en) Methods of scrambling and descrambling units of data
JP2012510743A (en) Content decryption apparatus and encryption system using additional key layer
WO2011120901A1 (en) Secure descrambling of an audio / video data stream
JP3998178B2 (en) Content copyright protection device and program thereof
JP6596131B2 (en) Transmitting apparatus, receiving apparatus and conditional access system
US9219606B2 (en) Method and device for digital data blocks encryption and decryption
JP2005244534A (en) Device and method for cipher communication
CN111954036A (en) Information processing method and device
WO2015034020A1 (en) Transmission device, reception device, limited reception system, and limited reception method
JP6641434B2 (en) Transmission device
JP6543395B2 (en) Transmitter, receiver and conditional access system
JP6539388B2 (en) Transmitter, receiver and conditional access system
JP2006129535A (en) Scramble broadcasting system of stream media data
JP2004172870A (en) Scramble broadcasting system for streamed-media data

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