CN103731654A - Information embedding system and information extracting system using 2D/3D videos - Google Patents

Information embedding system and information extracting system using 2D/3D videos Download PDF

Info

Publication number
CN103731654A
CN103731654A CN201310717324.2A CN201310717324A CN103731654A CN 103731654 A CN103731654 A CN 103731654A CN 201310717324 A CN201310717324 A CN 201310717324A CN 103731654 A CN103731654 A CN 103731654A
Authority
CN
China
Prior art keywords
module
control information
flag
message
video
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.)
Granted
Application number
CN201310717324.2A
Other languages
Chinese (zh)
Other versions
CN103731654B (en
Inventor
李芝棠
程俊霞
宋广华
赵娟
吴颖
邹明光
冯兵
肖津
花广路
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huazhong University of Science and Technology
Original Assignee
Huazhong University of Science and Technology
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 Huazhong University of Science and Technology filed Critical Huazhong University of Science and Technology
Priority to CN201310717324.2A priority Critical patent/CN103731654B/en
Publication of CN103731654A publication Critical patent/CN103731654A/en
Application granted granted Critical
Publication of CN103731654B publication Critical patent/CN103731654B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an information embedding method using 2D/3D videos. The method includes the steps that the 2D/3D videos are obtained, embedding control information, a message and a secret key are received, wherein the embedding control information, the message and the secret key are input by a user, the message input by the user is packaged to generate a plurality of bit strings serving as dense segments, the embedding control information is packaged to generate a bit string, the bit strings generated in the step (3) are encrypted by using an encryption algorithm to generate encrypted and embedded control information dense segments, a counter is set with i=1, the mark CI_flag used for marking first-time complete embedment of the embedding control information is set to be zero, the mark Cnt_embed used for marking the number of times for repeated embedment of the information is set to be zero, the i<th> frame of the 2D/3D videos is decoded, and whether the decoded i<th> frame meets the processing condition of a control information embedding algorithm or not is judged. The technical problems that in the prior art, a steganography algorithm can not directly provide support for a covert communication system and can not be directly applied to the 2D/3D videos are solved.

Description

A kind of information embedded system and information extracting system that uses 2D/3D video
Technical field
The invention belongs to information steganography, H.264 encoding and decoding technique and computer network communication field, more specifically, relate to a kind of information embedded system and information extracting system of the 2D/3D of use video.
Background technology
For the covert communications of making no sign between transmit leg and recipient, researcher has proposed to utilize steganographic algorithm Information hiding process to be controlled to realize the method for confidential corespondence both at home and abroad.In current known license, for the relevant scheme of convert communication system, mainly can be divided into two classes.The first kind is mainly concrete hidden writing and steganalysis algorithm, and complete concealment system implementation is not discussed.Through retrieval, relate at present approximately 66 of the relevant Chinese patents of steganographic algorithm, approximately 115 of world patents.Most variations is specific algorithm, during embedding, secret information is embedded on the position that meets algorithm condition continuously, during extraction, for all position information extractions that meet algorithm condition.Equations of The Second Kind relates to complete convert communication system, but hidden carrier is text and audio frequency, does not use 2D or 3D video.In Chinese invention patent specification CN101577619A, disclose a kind of voice messaging and hidden real-time secret signalling, by Information hiding, computer, password combines with the technology such as communicate by letter, by connecting public telephone network PSTN, mobile communication GSM/CDMA, video conference and voip network, utilize voice messaging to hide and extraction algorithm, G.721 the secret voice of MELP2.4KBps are hidden in to Qualcomm Code Excited Linear Prediction (QCELP), G.728, in GSM and G.729 public voice, in common communication channel, set up private communication channel and carry out the real-time secure communication of secret voice messaging.
Two current class patents have been considered respectively concrete steganographic algorithm and take the covert communications scheme that text, image and audio frequency be carrier.The former is mainly various steganographic algorithms, do not apply it in actual communication system, thereby its shortcoming is: first, the proposition of algorithm also needs a large amount of follow-up studies to the realization of system, its feasibility and exploitativeness need practice further check; Secondly all kinds of steganographic algorithms do not provide concrete application scenario, make its application prospect uncertain.Therefore, the proposition of a large amount of steganographic algorithms, has enriched to a certain extent the means that covert communications is realized, but has also been not enough to meet actual convert communication system needs.。The carrier that the latter utilizes is mainly text, image and audio frequency, and its scheme can not directly apply to 2D and 3D video, this be due to Information hiding and its carrier closely related.Under current internet develop rapidly and the popular background of 2D/3D camera technique, its scheme has restricted convert communication system further developing in network multimedia field greatly.
Summary of the invention
Above defect or Improvement requirement for prior art, the invention provides a kind of information embedding method and system of the 2D/3D of use video, its object is, solves the steganographic algorithm that exists in existing method and cannot be directly can not directly apply to the technical problem of 2D and 3D video for provide support problem and existing scheme of convert communication system.
For achieving the above object, according to one aspect of the present invention, provide a kind of information embedding method of the 2D/3D of use video, comprised the following steps:
(1) obtain 2D/3D video, and receive embedding control information, message and the key of user's input;
(2) message of user input is encapsulated, using and generate a plurality of Bit Strings as close section, the total quantity of close section is message hop count, and each close section comprises paragraph header identifier, segment identification number, segment data length, segment data and section tail identifier;
(3) embedding control information is encapsulated, to generate a Bit String, embed close section of control information, embed control information and comprise paragraph header flag bit, the embedding control information of user's input, message hop count and section tail identifier;
(4) Bit String that uses cryptographic algorithm to generate step (3) is encrypted, close section of control information after embedding after encrypting with generation, and counter i=1 is set, the sign CI_flag that embeds control information complete embedding for the first time for identifying is set to 0, and the sign Cnt_embed that repeats to embed number of times for identification message is set to 0;
(5) the i frame of 2D/3D video is decoded, and judge that whether decoded i frame meets the treatment conditions that control information embeds algorithm, if met, proceeds to step (6), otherwise proceeds to step (7);
(6) use control information to embed algorithm close section of the control information after the encryption of step (4) generation is embedded to i frame, and judgement symbol CI_flag is 0 or 1, if 0 this sign CI_flag is set to 1, then proceed to step (9), if 1 directly proceeds to step (9);
(7) whether judgement symbol CI_flag is 1, and whether decoded i frame meet the treatment conditions of the embedding algorithm that user selects, if CI_flag be 1 and meet treatment conditions; proceed to step (8), otherwise proceed to step (9);
(8) close section of embedding i frame of a plurality of message that the embedding algorithm that user selects generates step (2), and judge whether whole embeddings, if sign Cnt_embed=Cnt_embed+1 is set, then proceeds to step (9), otherwise proceed to step (9);
(9) i frame is write to the H.264 2D/3D video file of form;
(10) judge whether i frame is the last frame of 2D/3D video, if it is represent to have generated the new 2D/3D video that contains message, then proceed to step (11), otherwise i=i+1 is set, then return to step (5);
(11) whether judgement symbol Cnt_embed is greater than 0, if point out the redundancy that embeds message to equal Cnt_embed to user, otherwise points out video capacity not enough to user, needs to change video.
Preferably, in step (2), to the message of user's input, be to encapsulate by following form:
Figure BDA0000444578100000031
Preferably, in step (3), by embedding control information, be to encapsulate by following form:
Figure BDA0000444578100000032
An information embedded system of using 2D/3D video, comprising:
The first module, for obtaining 2D/3D video, and receives embedding control information, message and the key that user inputs;
The second module, for the message of user input is encapsulated, usings and generates a plurality of Bit Strings as close section, and the total quantity of close section is message hop count, and each close section comprises paragraph header identifier, segment identification number, segment data length, segment data and section tail identifier;
The 3rd module, for embedding control information is encapsulated, to generate a Bit String, embeds close section of control information, embeds control information and comprises paragraph header flag bit, the embedding control information of user's input, message hop count and section tail identifier;
Four module, for the Bit String that uses cryptographic algorithm to generate the 3rd module, be encrypted, close section of control information after embedding after encrypting with generation, and counter i=1 is set, the sign CI_flag that embeds control information complete embedding for the first time for identifying is set to 0, and the sign Cnt_embed that repeats to embed number of times for identification message is set to 0;
The 5th module, for the i frame of 2D/3D video is decoded, and judges that whether decoded i frame meets the treatment conditions that control information embeds algorithm, if met, proceeds to the 6th module, otherwise proceeds to the 7th module;
The 7th module, for using control information to embed algorithm, close section of the control information after the encryption of four module generation is embedded to i frame, and judgement symbol CI_flag is 0 or 1, if 0 this sign CI_flag is set to 1, then proceed to the 9th module, if 1 directly proceeds to the 9th module;
Whether the 7th module, be 1 for judgement symbol CI_flag, and whether decoded i frame meet the treatment conditions of the embedding algorithm that user selects, if CI_flag be 1 and meet treatment conditions; proceed to step the eight modules, otherwise proceed to the 9th module;
The 8th module, close section of embedding i frame of a plurality of message that the embedding algorithm of selecting for user generates the second module, and judge whether whole embeddings, if sign Cnt_embed=Cnt_embed+1 is set, then proceed to the 9th module, otherwise proceed to the 9th module;
The 9th module, for writing i frame the H.264 2D/3D video file of form;
The tenth module, for judging whether i frame is the last frame of 2D/3D video, if it is represents to have generated the new 2D/3D video that contains message, then proceeds to the 11 module, otherwise i=i+1 is set, and then returns to the 5th module;
Whether the 11 module, be greater than 0 for judgement symbol Cnt_embed, if point out the redundancy that embeds message to equal Cnt_embed to user, otherwise points out video capacity not enough to user, needs to change video.
Another object of the present invention is to provide a kind of information extracting method and system of the 2D/3D of use video, its object is, solves the steganographic algorithm that exists in existing method and cannot be directly can not directly apply to the technical problem of 2D and 3D video for provide support problem and existing scheme of convert communication system.
According to another aspect of the present invention, a kind of information extracting method of the 2D/3D of use video is provided, comprise the following steps:
(1) obtain and carry close 2D/3D video, the secret key of extraction of user's input, and judge that whether secret key is correct, if correctly proceed to step (2), else process finishes;
(2) counter i=1 is set, for identify control information for the first time the sign CI_flag of complete extraction be set to 0, for the sign Extra_flag of identification message complete extraction, be set to 0;
(3) the i frame of 2D/3D video is decoded, judgement symbol CI_flag be whether 0 and decoded i frame whether meet the treatment conditions of control information extraction algorithm, if sign CI_flag is 0 and meets extraction algorithm treatment conditions, proceed to step (4), otherwise proceed to step (5);
(4) use control information extraction algorithm to extract close section of control information, and selection algorithm sign, algorithm condition and message hop count are extracted, and CI_flag is set to 1;
(5) whether judgement symbol CI_flag is 1, and whether decoded i frame meet the treatment conditions of extraction algorithm, if CI_flag be 1 and meet treatment conditions; proceed to step (6), otherwise proceed to step (7);
(6) according to extraction algorithm, extract close section of message, and from close section, analyze segment number and segment data;
(7) judge whether that close section of all message all extracts, if it is sign Extra_flag is set to 1, and has new message to need to accept to user's prompting, then proceeds to step (8), otherwise proceeds to step (8);
(8) judge whether i frame is the last frame of 2D/3D video, if so, then proceed to step (9), otherwise i=i+1 is set, then return to step (3);
(9) whether judgement symbol Extra_flag is 1, if it is to user prompting, has new message to need to receive, otherwise points out and in viewing time section, fail to extract information to user.
Preferably, step (4) is according to following form, selection algorithm sign, algorithm condition and message hop count to be extracted:
Preferably, step (6) is according to following form, from close section, to analyze segment number and segment data:
Figure BDA0000444578100000062
An information extracting system that uses 2D/3D video, comprising:
The first module, carries close 2D/3D video for obtaining, the secret key of extraction of user's input, and judge that whether secret key is correct, if correctly proceed to the second module, else process finishes;
The second module, for counter i=1 is set, for identify control information for the first time the sign CI_flag of complete extraction be set to 0, for the sign Extra_flag of identification message complete extraction, be set to 0;
The 3rd module, for the i frame of 2D/3D video is decoded, judgement symbol CI_flag be whether 0 and decoded i frame whether meet the treatment conditions of control information extraction algorithm, if sign CI_flag is 0 and meets extraction algorithm treatment conditions, proceed to four module, otherwise proceed to the 5th module;
Four module, for using control information extraction algorithm to extract close section of control information, and extracts selection algorithm sign, algorithm condition and message hop count, and CI_flag is set to 1;
Whether the 5th module, be 1 for judgement symbol CI_flag, and whether decoded i frame meet the treatment conditions of extraction algorithm, if CI_flag be 1 and meet treatment conditions; proceed to the 6th module, otherwise proceed to the 7th module;
The 6th module for extracting close section of message according to extraction algorithm, and analyzes segment number and segment data from close section;
The 7th module, for judging whether that close section of all message all extracts, if it is sign Extra_flag is set to 1, and has new message to need to accept to user's prompting, then proceeds to the 8th module, otherwise proceeds to the 8th module;
The 8th module, for judging whether i frame is the last frame of 2D/3D video, if so, then proceeds to the 9th module, otherwise i=i+1 is set, and then returns to the 3rd module;
Whether the 9th module, be 1 for judgement symbol Extra_flag, if it is to user prompting, has new message to need to receive, otherwise point out and in viewing time section, fail to extract information to user.
In general, the above technical scheme of conceiving by the present invention compared with prior art, can obtain following beneficial effect:
1, compare with general coded communication, the present invention can not only hiding data itself (identical with coded communication), and can also hide metadata (coded communication usually exposes encryption behavior itself).
2, compare with current other covert communications scheme, the present invention accounts for 90% of internet traffic as the 2D/3D network video stream of hidden carrier, has open, popular, a large amount of and public attribute, is the hands-down best camouflage environment of covert communications;
3, compare with current other covert communications scheme, the present invention can guarantee the extraction of broadcasting limit, recipient limit, can ensure the real-time of covert communications;
4, compare with current other covert communications scheme, the present invention can guarantee that recipient cuts extraction at any time at any time, can improve the anti-steganalysis ability of covert communications;
5, compare with current other covert communications scheme, the present invention has a set of steganographic algorithm with intellectual property, can ensure validity and the diversity of steganographic algorithm.
6, the present invention can be applied in the various occasions that need covert communications, as the business secret covert communications under general environment and the covert communications of individual privacy, and the diplomatic covert communications under particular surroundings and military covert communications, for example, embassy in foreign countries or personnel under being supervised by the powerful supervision of the other side country, and conventional military communication means is subject to supervise military unit or the personnel that are obstructed under environment.
Accompanying drawing explanation
Fig. 1 is the flow chart that the present invention uses the information embedding method of 2D/3D video.
Fig. 2 is the flow chart that the present invention uses the information extracting method of 2D/3D video.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.In addition,, in each execution mode of described the present invention, involved technical characterictic just can not combine mutually as long as do not form each other conflict.
As shown in Figure 1, the present invention uses the information embedding method of 2D/3D video to comprise the following steps:
(1) obtain 2D/3D video, and receive embedding control information, message and the key of user's input; Particularly, the embedding control information of user's input comprises the embedding algorithm condition relevant with this algorithm that user selects, the information that the present invention need to hide transmission transmit leg calls " hiding message ", can be referred to as message, and to arrange its maximum length be L≤4096 Chinese character (or 65536Bits), this has met the generally needs of covert communications.In order to strengthen robustness and the anti-steganalysis of covert communications, L is divided into some message sections, the length of each message section is 16 Chinese characters (or 256Bits), so L maximum can be divided into 256 message sections;
(2) according to following form (being called form 1 in this specification), the message of user's input is encapsulated, to generate a plurality of Bit Strings, the Bit String in the present invention, this step being generated is called close section an of message, the total quantity of close section is message hop count, and each close section comprises paragraph header identifier, segment identification number, segment data length, segment data and section tail identifier;
Figure BDA0000444578100000091
(3) according to following form (being called form 2 in this specification), embedding control information is encapsulated, to generate a Bit String, in the present invention, this Bit String is called and embeds close section of control information; Particularly, embed control information and comprise paragraph header flag bit, the embedding control information of user's input, message hop count and section tail identifier, altogether 64bit.
Figure BDA0000444578100000092
(4) Bit String that uses asymmetric RSA Algorithm to generate step (3) is encrypted, close section of control information after embedding after encrypting with generation, and counter i=1 is set, the sign CI_flag that embeds control information complete embedding for the first time for identifying is set to 0, and the sign Cnt_embed that repeats to embed number of times for identification message is set to 0; Should be appreciated that this place is not limited to RSA Algorithm for the cryptographic algorithm of encrypting, can be also other cryptographic algorithm.
(5) the i frame of 2D/3D video is decoded, and judge that whether decoded i frame meets the treatment conditions that control information embeds algorithm, if met, proceeds to step (6), otherwise proceeds to step (7);
(6) use control information to embed algorithm close section of the control information after the encryption of step (4) generation is embedded to i frame, and judgement symbol CI_flag is 0 or 1, if 0 this sign CI_flag is set to 1, then proceed to step (9), if 1 directly proceeds to step (9);
(7) whether judgement symbol CI_flag is 1, and whether decoded i frame meet the treatment conditions of the embedding algorithm that user selects, if CI_flag be 1 and meet treatment conditions; proceed to step (8), otherwise proceed to step (9);
(8) close section of embedding i frame of a plurality of message that the embedding algorithm that user selects generates step (2), and judge whether whole embeddings, if sign Cnt_embed=Cnt_embed+1 is set, then proceeds to step (9), otherwise proceed to step (9);
(9) i frame is write to the H.264 2D/3D video file of form;
(10) judge whether i frame is the last frame of 2D/3D video, if it is represent to have generated the new 2D/3D video that contains message, then proceed to step (11), otherwise i=i+1 is set, then return to step (5);
(11) whether judgement symbol Cnt_embed is greater than 0, if point out the redundancy that embeds message to equal Cnt_embed to user, otherwise points out video capacity not enough to user, needs to change video.
The present invention uses the information embedded system of 2D/3D video to comprise:
The first module, for obtaining 2D/3D video, and receives embedding control information, message and the key that user inputs; Particularly, the embedding control information of user's input comprises the embedding algorithm condition relevant with this algorithm that user selects, the information that the present invention need to hide transmission transmit leg calls " hiding message ", can be referred to as message, and to arrange its maximum length be L≤4096 Chinese character (or 65536Bits), this has met the generally needs of covert communications.In order to strengthen robustness and the anti-steganalysis of covert communications, L is divided into some message sections, the length of each message section is 16 Chinese characters (or 256Bits), so L maximum can be divided into 256 message sections;
The second module, for the message of user's input being encapsulated according to following form (this specification is called form 1), to generate a plurality of Bit Strings, the Bit String in the present invention, this step being generated is called close section an of message, the total quantity of close section is message hop count, and each close section comprises paragraph header identifier, segment identification number, segment data length, segment data and section tail identifier;
Figure BDA0000444578100000101
The 3rd module, for embedding control information being encapsulated according to following form (this specification is called form 2), to generate a Bit String, in the present invention is called this Bit String and embeds close section of control information; Particularly, embed control information and comprise paragraph header flag bit, the embedding control information of user's input, message hop count and section tail identifier, altogether 64bit.
Figure BDA0000444578100000111
Four module, for the Bit String that uses asymmetric RSA Algorithm to generate the 3rd module, be encrypted, close section of control information after embedding after encrypting with generation, and counter i=1 is set, the sign CI_flag that embeds control information complete embedding for the first time for identifying is set to 0, and the sign Cnt_embed that repeats to embed number of times for identification message is set to 0; Should be appreciated that this place is not limited to RSA Algorithm for the cryptographic algorithm of encrypting, can be also other cryptographic algorithm.
The 5th module, for the i frame of 2D/3D video is decoded, and judges that whether decoded i frame meets the treatment conditions that control information embeds algorithm, if met, proceeds to the 6th module, otherwise proceeds to the 7th module;
The 7th module, for using control information to embed algorithm, close section of the control information after the encryption of four module generation is embedded to i frame, and judgement symbol CI_flag is 0 or 1, if 0 this sign CI_flag is set to 1, then proceed to the 9th module, if 1 directly proceeds to the 9th module;
Whether the 7th module, be 1 for judgement symbol CI_flag, and whether decoded i frame meet the treatment conditions of the embedding algorithm that user selects, if CI_flag be 1 and meet treatment conditions; proceed to step the eight modules, otherwise proceed to the 9th module;
The 8th module, close section of embedding i frame of a plurality of message that the embedding algorithm of selecting for user generates the second module, and judge whether whole embeddings, if sign Cnt_embed=Cnt_embed+1 is set, then proceed to the 9th module, otherwise proceed to the 9th module;
The 9th module, for writing i frame the H.264 2D/3D video file of form;
The tenth module, for judging whether i frame is the last frame of 2D/3D video, if it is represents to have generated the new 2D/3D video that contains message, then proceeds to the 11 module, otherwise i=i+1 is set, and then returns to the 5th module;
Whether the 11 module, be greater than 0 for judgement symbol Cnt_embed, if point out the redundancy that embeds message to equal Cnt_embed to user, otherwise points out video capacity not enough to user, needs to change video.
As shown in Figure 2, the present invention uses the information extracting method of 2D/3D video to comprise the following steps:
(1) obtain and carry close 2D/3D video, the secret key of extraction of user's input, and judge that whether secret key is correct, if correctly proceed to step (2), else process finishes.
(2) counter i=1 is set, for identify control information for the first time the sign CI_flag of complete extraction be set to 0, for the sign Extra_flag of identification message complete extraction, be set to 0.
(3) the i frame of 2D/3D video is decoded, judgement symbol CI_flag be whether 0 and decoded i frame whether meet the treatment conditions of control information extraction algorithm, if sign CI_flag is 0 and meets extraction algorithm treatment conditions, proceed to step (4), otherwise proceed to step (5);
(4) use control information extraction algorithm to extract close section of control information, and according to following form (the present invention is called form 1 by form), selection algorithm sign, algorithm condition and message hop count are extracted, and CI_flag is set to 1;
Figure BDA0000444578100000121
(5) whether judgement symbol CI_flag is 1, and whether decoded i frame meet the treatment conditions of extraction algorithm, if CI_flag be 1 and meet treatment conditions; proceed to step (6), otherwise proceed to step (7);
(6) according to extraction algorithm, extract close section of message, and from close section, analyze segment number and segment data according to following form (the present invention encourages this form and is called form 2).
Figure BDA0000444578100000122
(7) judge whether that close section of all message all extracts, if it is sign Extra_flag is set to 1, and has new message to need to accept to user's prompting, then proceeds to step (8), otherwise proceeds to step (8);
(8) judge whether i frame is the last frame of 2D/3D video, if so, then proceed to step (9), otherwise i=i+1 is set, then return to step (3);
(9) whether judgement symbol Extra_flag is 1, if it is to user prompting, has new message to need to receive, otherwise points out and in viewing time section, fail to extract information to user.
The present invention uses the information extracting system of 2D/3D video to comprise:
The first module, carries close 2D/3D video for obtaining, the secret key of extraction of user's input, and judge that whether secret key is correct, if correctly proceed to the second module, else process finishes.
The second module, for counter i=1 is set, for identify control information for the first time the sign CI_flag of complete extraction be set to 0, for the sign Extra_flag of identification message complete extraction, be set to 0.
The 3rd module, for the i frame of 2D/3D video is decoded, judgement symbol CI_flag be whether 0 and decoded i frame whether meet the treatment conditions of control information extraction algorithm, if sign CI_flag is 0 and meets extraction algorithm treatment conditions, proceed to four module, otherwise proceed to the 5th module;
Four module, for using control information extraction algorithm to extract close section of control information, and extracts selection algorithm sign, algorithm condition and message hop count according to following form (the present invention is called form 1 by form), and CI_flag is set to 1;
Whether the 5th module, be 1 for judgement symbol CI_flag, and whether decoded i frame meet the treatment conditions of extraction algorithm, if CI_flag be 1 and meet treatment conditions; proceed to the 6th module, otherwise proceed to the 7th module;
The 6th module for extracting close section of message according to extraction algorithm, and analyzes segment number and segment data according to following form (the present invention encourages this form and is called form 2) from close section.
Figure BDA0000444578100000141
The 7th module, for judging whether that close section of all message all extracts, if it is sign Extra_flag is set to 1, and has new message to need to accept to user's prompting, then proceeds to the 8th module, otherwise proceeds to the 8th module;
The 8th module, for judging whether i frame is the last frame of 2D/3D video, if so, then proceeds to the 9th module, otherwise i=i+1 is set, and then returns to the 3rd module;
Whether the 9th module, be 1 for judgement symbol Extra_flag, if it is to user prompting, has new message to need to receive, otherwise point out and in viewing time section, fail to extract information to user.
Those skilled in the art will readily understand; the foregoing is only preferred embodiment of the present invention; not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. an information embedding method that uses 2D/3D video, is characterized in that, comprises the following steps:
(1) obtain 2D/3D video, and receive embedding control information, message and the key of user's input;
(2) message of user input is encapsulated, using and generate a plurality of Bit Strings as close section, the total quantity of close section is message hop count, and each close section comprises paragraph header identifier, segment identification number, segment data length, segment data and section tail identifier;
(3) embedding control information is encapsulated, to generate a Bit String, embed close section of control information, embed control information and comprise paragraph header flag bit, the embedding control information of user's input, message hop count and section tail identifier;
(4) Bit String that uses cryptographic algorithm to generate step (3) is encrypted, close section of control information after embedding after encrypting with generation, and counter i=1 is set, the sign CI_flag that embeds control information complete embedding for the first time for identifying is set to 0, and the sign Cnt_embed that repeats to embed number of times for identification message is set to 0;
(5) the i frame of 2D/3D video is decoded, and judge that whether decoded i frame meets the treatment conditions that control information embeds algorithm, if met, proceeds to step (6), otherwise proceeds to step (7);
(6) use control information to embed algorithm close section of the control information after the encryption of step (4) generation is embedded to i frame, and judgement symbol CI_flag is 0 or 1, if 0 this sign CI_flag is set to 1, then proceed to step (9), if 1 directly proceeds to step (9);
(7) whether judgement symbol CI_flag is 1, and whether decoded i frame meet the treatment conditions of the embedding algorithm that user selects, if CI_flag be 1 and meet treatment conditions; proceed to step (8), otherwise proceed to step (9);
(8) close section of embedding i frame of a plurality of message that the embedding algorithm that user selects generates step (2), and judge whether whole embeddings, if sign Cnt_embed=Cnt_embed+1 is set, then proceeds to step (9), otherwise proceed to step (9);
(9) i frame is write to the H.264 2D/3D video file of form;
(10) judge whether i frame is the last frame of 2D/3D video, if it is represent to have generated the new 2D/3D video that contains message, then proceed to step (11), otherwise i=i+1 is set, then return to step (5);
(11) whether judgement symbol Cnt_embed is greater than 0, if point out the redundancy that embeds message to equal Cnt_embed to user, otherwise points out video capacity not enough to user, needs to change video.
2. information embedding method according to claim 1, is characterized in that, in step (2), to the message of user's input, is to encapsulate by following form:
Figure FDA0000444578090000021
3. information embedding method according to claim 1, is characterized in that, in step (3), by embedding control information, is to encapsulate by following form:
Figure FDA0000444578090000022
4. an information embedded system of using 2D/3D video, is characterized in that, comprising:
The first module, for obtaining 2D/3D video, and receives embedding control information, message and the key that user inputs;
The second module, for the message of user input is encapsulated, usings and generates a plurality of Bit Strings as close section, and the total quantity of close section is message hop count, and each close section comprises paragraph header identifier, segment identification number, segment data length, segment data and section tail identifier;
The 3rd module, for embedding control information is encapsulated, to generate a Bit String, embeds close section of control information, embeds control information and comprises paragraph header flag bit, the embedding control information of user's input, message hop count and section tail identifier;
Four module, for the Bit String that uses cryptographic algorithm to generate the 3rd module, be encrypted, close section of control information after embedding after encrypting with generation, and counter i=1 is set, the sign CI_flag that embeds control information complete embedding for the first time for identifying is set to 0, and the sign Cnt_embed that repeats to embed number of times for identification message is set to 0;
The 5th module, for the i frame of 2D/3D video is decoded, and judges that whether decoded i frame meets the treatment conditions that control information embeds algorithm, if met, proceeds to the 6th module, otherwise proceeds to the 7th module;
The 7th module, for using control information to embed algorithm, close section of the control information after the encryption of four module generation is embedded to i frame, and judgement symbol CI_flag is 0 or 1, if 0 this sign CI_flag is set to 1, then proceed to the 9th module, if 1 directly proceeds to the 9th module;
Whether the 7th module, be 1 for judgement symbol CI_flag, and whether decoded i frame meet the treatment conditions of the embedding algorithm that user selects, if CI_flag be 1 and meet treatment conditions; proceed to step the eight modules, otherwise proceed to the 9th module;
The 8th module, close section of embedding i frame of a plurality of message that the embedding algorithm of selecting for user generates the second module, and judge whether whole embeddings, if sign Cnt_embed=Cnt_embed+1 is set, then proceed to the 9th module, otherwise proceed to the 9th module;
The 9th module, for writing i frame the H.264 2D/3D video file of form;
The tenth module, for judging whether i frame is the last frame of 2D/3D video, if it is represents to have generated the new 2D/3D video that contains message, then proceeds to the 11 module, otherwise i=i+1 is set, and then returns to the 5th module;
Whether the 11 module, be greater than 0 for judgement symbol Cnt_embed, if point out the redundancy that embeds message to equal Cnt_embed to user, otherwise points out video capacity not enough to user, needs to change video.
5. an information extracting method that uses 2D/3D video, is characterized in that, comprises the following steps:
(1) obtain and carry close 2D/3D video, the secret key of extraction of user's input, and judge that whether secret key is correct, if correctly proceed to step (2), else process finishes;
(2) counter i=1 is set, for identify control information for the first time the sign CI_flag of complete extraction be set to 0, for the sign Extra_flag of identification message complete extraction, be set to 0;
(3) the i frame of 2D/3D video is decoded, judgement symbol CI_flag be whether 0 and decoded i frame whether meet the treatment conditions of control information extraction algorithm, if sign CI_flag is 0 and meets extraction algorithm treatment conditions, proceed to step (4), otherwise proceed to step (5);
(4) use control information extraction algorithm to extract close section of control information, and selection algorithm sign, algorithm condition and message hop count are extracted, and CI_flag is set to 1;
(5) whether judgement symbol CI_flag is 1, and whether decoded i frame meet the treatment conditions of extraction algorithm, if CI_flag be 1 and meet treatment conditions; proceed to step (6), otherwise proceed to step (7);
(6) according to extraction algorithm, extract close section of message, and from close section, analyze segment number and segment data;
(7) judge whether that close section of all message all extracts, if it is sign Extra_flag is set to 1, and has new message to need to accept to user's prompting, then proceeds to step (8), otherwise proceeds to step (8);
(8) judge whether i frame is the last frame of 2D/3D video, if so, then proceed to step (9), otherwise i=i+1 is set, then return to step (3);
(9) whether judgement symbol Extra_flag is 1, if it is to user prompting, has new message to need to receive, otherwise points out and in viewing time section, fail to extract information to user.
6. information extracting method according to claim 5, is characterized in that, step (4) is according to following form, selection algorithm sign, algorithm condition and message hop count to be extracted:
Figure FDA0000444578090000041
7. information extracting method according to claim 5, is characterized in that, step (6) is according to following form, from close section, to analyze segment number and segment data:
Figure FDA0000444578090000051
8. an information extracting system that uses 2D/3D video, is characterized in that, comprising:
The first module, carries close 2D/3D video for obtaining, the secret key of extraction of user's input, and judge that whether secret key is correct, if correctly proceed to the second module, else process finishes;
The second module, for counter i=1 is set, for identify control information for the first time the sign CI_flag of complete extraction be set to 0, for the sign Extra_flag of identification message complete extraction, be set to 0;
The 3rd module, for the i frame of 2D/3D video is decoded, judgement symbol CI_flag be whether 0 and decoded i frame whether meet the treatment conditions of control information extraction algorithm, if sign CI_flag is 0 and meets extraction algorithm treatment conditions, proceed to four module, otherwise proceed to the 5th module;
Four module, for using control information extraction algorithm to extract close section of control information, and extracts selection algorithm sign, algorithm condition and message hop count, and CI_flag is set to 1;
Whether the 5th module, be 1 for judgement symbol CI_flag, and whether decoded i frame meet the treatment conditions of extraction algorithm, if CI_flag be 1 and meet treatment conditions; proceed to the 6th module, otherwise proceed to the 7th module;
The 6th module for extracting close section of message according to extraction algorithm, and analyzes segment number and segment data from close section;
The 7th module, for judging whether that close section of all message all extracts, if it is sign Extra_flag is set to 1, and has new message to need to accept to user's prompting, then proceeds to the 8th module, otherwise proceeds to the 8th module;
The 8th module, for judging whether i frame is the last frame of 2D/3D video, if so, then proceeds to the 9th module, otherwise i=i+1 is set, and then returns to the 3rd module;
Whether the 9th module, be 1 for judgement symbol Extra_flag, if it is to user prompting, has new message to need to receive, otherwise point out and in viewing time section, fail to extract information to user.
CN201310717324.2A 2013-12-23 2013-12-23 A kind of information insertion system and information extracting system using 2D/3D video Active CN103731654B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310717324.2A CN103731654B (en) 2013-12-23 2013-12-23 A kind of information insertion system and information extracting system using 2D/3D video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310717324.2A CN103731654B (en) 2013-12-23 2013-12-23 A kind of information insertion system and information extracting system using 2D/3D video

Publications (2)

Publication Number Publication Date
CN103731654A true CN103731654A (en) 2014-04-16
CN103731654B CN103731654B (en) 2015-08-26

Family

ID=50455559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310717324.2A Active CN103731654B (en) 2013-12-23 2013-12-23 A kind of information insertion system and information extracting system using 2D/3D video

Country Status (1)

Country Link
CN (1) CN103731654B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123945A (en) * 2014-06-12 2014-10-29 华中科技大学 Embedding method and extracting method for wav-format audio information
CN106686407A (en) * 2016-12-13 2017-05-17 北京互动百科网络技术股份有限公司 Automatic identification encryption and decryption method and system for video data transmission
CN107809652A (en) * 2016-08-29 2018-03-16 中国人民解放军信息工程大学 A kind of implicit information transmission method, apparatus and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512769A (en) * 2002-12-31 2004-07-14 天津大学 Video frequency data copying control system and method
CN101488852A (en) * 2009-01-13 2009-07-22 华中科技大学 IP voice concealed communication method based on m sequence
CN102158768A (en) * 2011-05-11 2011-08-17 上海交通大学 MP4 file encapsulation format-based video authentication watermark embedding and extraction method
CN102905134A (en) * 2012-10-22 2013-01-30 山东省计算中心 Adaptive video digital steganography method
CN103338385A (en) * 2012-02-08 2013-10-02 Vixs系统公司 Video processing system and corresponding method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1512769A (en) * 2002-12-31 2004-07-14 天津大学 Video frequency data copying control system and method
CN101488852A (en) * 2009-01-13 2009-07-22 华中科技大学 IP voice concealed communication method based on m sequence
CN102158768A (en) * 2011-05-11 2011-08-17 上海交通大学 MP4 file encapsulation format-based video authentication watermark embedding and extraction method
CN103338385A (en) * 2012-02-08 2013-10-02 Vixs系统公司 Video processing system and corresponding method
CN102905134A (en) * 2012-10-22 2013-01-30 山东省计算中心 Adaptive video digital steganography method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
孟铁东: "视频隐写检测技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
李卓: "图像信息隐藏与隐写分析算法的研究", 《中国博士学位论文全文数据库 信息科技辑》 *
罗伟玲: "基于H.264的视频水印的研究与应用", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123945A (en) * 2014-06-12 2014-10-29 华中科技大学 Embedding method and extracting method for wav-format audio information
CN104123945B (en) * 2014-06-12 2017-01-18 华中科技大学 Embedding method and extracting method for wav-format audio information
CN107809652A (en) * 2016-08-29 2018-03-16 中国人民解放军信息工程大学 A kind of implicit information transmission method, apparatus and system
CN107809652B (en) * 2016-08-29 2020-02-18 中国人民解放军信息工程大学 Implicit information transmission method, device and system
CN106686407A (en) * 2016-12-13 2017-05-17 北京互动百科网络技术股份有限公司 Automatic identification encryption and decryption method and system for video data transmission
CN106686407B (en) * 2016-12-13 2019-07-23 北京互动百科网络技术股份有限公司 A kind of automatic identification encrypting and decrypting method and system for video data transmission

Also Published As

Publication number Publication date
CN103731654B (en) 2015-08-26

Similar Documents

Publication Publication Date Title
Zhou et al. Secure reversible image data hiding over encrypted domain via key modulation
Mazurczyk et al. Steganography in modern smartphones and mitigation techniques
CN103605950B (en) Method and system for hiding signature in credible two-dimensional code
Abikoye et al. Efficient data hiding system using cryptography and steganography
CN105426709A (en) JPEG image information hiding based private information communication method and system
Bhole et al. Steganography over video file using Random Byte Hiding and LSB technique
CN106845242B (en) Hidden information detection and extraction method based on IS4 software features
CN104036531B (en) Information hiding method based on vector quantization and bintree
CN105303075B (en) Adaptive Text Watermarking method based on PDF format
CN103442156A (en) Image steganography and secret information extraction method based on intelligent mobile terminal
CN105162686A (en) Multi-form instant information hiding communication method and system based on image medium
CN110322386A (en) A kind of insertion of digital text watermarking and detection method and device
CN103731654B (en) A kind of information insertion system and information extracting system using 2D/3D video
CN109547663A (en) A kind of improvement LSB image latent writing method of combining cipher
CN101860743B (en) Real-time digital video watermarking method based on MPEG-2 standard
CN111988639B (en) Video encryption and decryption method based on cryptographic algorithm and reversible steganography
CN103004177B (en) Data transmission security is improved
Samphaiboon Steganography via running short text messages
CN102984122A (en) Internet protocol (IP) voice covert communication method based on adaptive multi-rate wideband (AMR-WB) code rate camouflage
CN103617589A (en) Information hiding method based on local histogram
CN103533457B (en) Multimedia digital watermark embedding and separation method and device
Bajaj et al. Steganography using HTML Web Pages as a Carrier: A Survey
Gupta et al. Video Steganography Using Discrete Wavelet Transform and Artificial Intelligence
Bhattacharyya et al. A novel approach of data hiding using pixel mapping method (PMM)
Ezhilarasi et al. Video Steganography and Security Cryptography

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant