Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram for the secret communication method for text carrier that the embodiment of the present invention one provides, such as Fig. 1
Shown, this method includes:
101, it is searched comprising the carrier with matched first word of the first secret information to be transmitted from carrier text library
Text.
In the present embodiment, it before being transmitted to the first secret information, needs to search in carrier text library and wait for
The carrier text of transmission should include matched first word of the first secret information in carrier text to be transmitted, to realize the
One secret information is embedded in carrier text to be transmitted to realize the purpose of secret communication.
102, it is matched from word and searches the corresponding wrong word of first word in knowledge base, the word matches knowledge
Library includes the corresponding wrong word of each correct word that statistics obtains.
In the present embodiment, count and collect the word in corpus, and by manually carrying out statistics and total to word
Knot forms all kinds of wrong words corresponding with word in corpus, including:Phonetic class mistake, is such as stepping on charging (just:Registration fee);
Font class mistake is such as embraced and is included (just:Including);Chinese idiom mistake, (just such as bamboo or wicker fence road basket thread:It drives a cart in ragged clothes to blaze a new trail);Homophone mistake, it is such as elegant outer
In favour (just:It is beautiful and intelligent);More/few character errors, (just such as radioactivity member element:Radioactive element)/mark's Leninism is (just:
Marxism-Leninism) and the lively field of dislocation mistake face (just:Lively scene) etc. a variety of mistakes.Word matches knowledge base packet
Include statistics obtain each correct word and with its corresponding to wrong word.It is matched according to the first secret information to be transmitted
The first word the corresponding wrong word of the first word is searched in word matches knowledge base.Word matches the structure of knowledge base,
Even if the first vector text of transmission is read by non-targeted task, but matches knowledge base in no word, first can not be also extracted
The first embedded secret information in carrier text, to further realize the secret provided by the present invention for text carrier
The safety of communication means.
103, first word in the carrier text is replaced with into the corresponding wrong word of first word, it is raw
At the first vector text for carrying the first secret information.
In the present embodiment, the first word in the carrier text found is substituted for corresponding wrong word, from
And the first vector text for carrying the first secret information is generated, replaced first vector text is difficult to find information insertion
Trace;Along with misspelling vocabulary is relatively common in some news clients and website, it is difficult to find out correct vocabulary and
Difference between error vocabulary, so the concealment of watermark information is also fine.
104, the first vector text for carrying first secret information is sent.
In the present embodiment, after generating first vector text, first vector text is carried out by network transmission platform
Transmission, network transmission platform, including network instant communication platform, mail transmission platform and network information management platform etc..
Secret communication method provided in this embodiment for text carrier establishes the carrier text comprising various fields
The operations such as library carries out paragraph assembling according to keyword search carrier text, and to carrier text, and word is replaced form new to be passed
Defeated carrier text;Establish the wrong word comprising secret information corresponding word to be transmitted and secret information corresponding word to be transmitted
Word match knowledge base, by according to word match knowledge base the secret information for including in transmission carrier text to be passed is substituted for
Corresponding mistake word, realizes safe transmission of the secret information based on text carrier.
Fig. 2 is the flow diagram of the secret communication method provided by Embodiment 2 of the present invention for text carrier, such as Fig. 2
It is shown, on the basis of embodiment one, is matched in knowledge base from word described in 102 and search the corresponding mistake of first word
Accidentally after word, this method includes:
If 201, there is no the corresponding wrong words of first word in the word pairing knowledge base, from institute's predicate
It searches the synonym or near synonym of first word in language pairing knowledge base, and the word is matched described in knowledge base the
The corresponding wrong word of synonym or near synonym of one word is as the corresponding wrong word of first word.
In the present embodiment, the corresponding wrong word of first word is searched in the pairing knowledge base from word
Later, it if there is no the corresponding wrong word of the first word in word pairing knowledge base, is searched in word matches knowledge base
With the wrong word corresponding to the synonym or near synonym of the first word and the synonym or near synonym with the first word, with
The synonym of one word or the first word of wrong word pair corresponding near synonym are replaced, and replaced word is after transport
When being decrypted, although the synonym or near synonym and the first word of the first word are different, the meaning of one's words is close, to secret
The meaning of one's words of information does not influence, so as to realize the purpose of secret transmissions.
Secret communication method provided in this embodiment for text carrier is not present if being matched in knowledge base by word
The corresponding wrong word of first word then searches the synonym or near synonym and its mistake of the first word in word matches knowledge base
Accidentally word is replaced the first word with the wrong word of the synonym of the first word or near synonym, realizes arbitrarily
The safe transmission of secret information.
Fig. 3 is the flow diagram for the secret communication method for text carrier that the embodiment of the present invention three provides, such as Fig. 3
Shown, this method further includes:
301, the Second support text for carrying the second secret information is received.
In the present embodiment, the Second support text that is transmitted by network transmission platform is received, in Second support text
Including through replaced second secret information of wrong word.
302, from filtering out the word for belonging to the wrong word in word pairing knowledge base in the Second support text
Language, and it is determined as pending word.
In the present embodiment, after receiving the Second support text transmitted by network transmission platform, from second
The word for belonging to the wrong word in the word pairing knowledge base is found out in all words in carrier text, and these
Word is determined as pending word.
303, judge whether the pending word carried out word replacement, looked into if so, being matched in knowledge base from word
The corresponding correct word of the pending word is looked for, and it is corresponding just that the pending word replaced with the pending word
True word obtains second secret information.
In the present embodiment, the word of the wrong word in the word pairing knowledge base is belonged in Second support text
A part may be the mistake carried in former Second support text, and another part is then the wrong word through replacement, therefore need to be treated
Processing word is judged, judges whether it is the second secret information replaced by wrong word, if so, being matched from word
After searching the corresponding wrong word of pending word in the wrong word of knowledge base, the corresponding correct word of the mistake word is obtained
The correct word found is assembled, then can obtain the second secret information by language.
Secret communication method provided in this embodiment for text carrier, by the Second support text to receiving into
Row, which is searched, to be judged, it is determined that the pending word through replacement, and match in knowledge base from word that search pending word corresponding
Correct word is counter is replaced, and the correct word found is assembled, then can obtain the second secret information, realizes pair
The decryption of the secret information received replaces the replacement of secret information with anti-by matching knowledge base based on word, further
The safety for realizing the secret communication method provided by the present invention for text carrier.
Fig. 4 is the flow diagram for the secret communication method for text carrier that the embodiment of the present invention four provides, such as Fig. 4
Shown, on the basis of embodiment three, 302 specifically include:
401, using text proofreading technology, the wrong word in the Second support text is analyzed.
In the present embodiment, after receiving Second support text, is found out by text proofreading technology first
All wrong words in two carrier texts.Text proofreading technology refers to using the words grade based on binary succession relation inspection
Chinese text automatic error-detecting technology, succession relation refer to the neighbouring relations between having the words of tandem, including word word connecting pass
System and word succession relation.
402, the erroneous words in the word pairing knowledge base in the wrong word in the Second support text, will be belonged to
The word of language is determined as the pending word.
In the present embodiment, the word of the wrong word of word match knowledge base is belonged in searching Second support text
Before, all wrong words are first gone out based on text proofreading technology screening, further, finds out and belongs to from these wrong words
The word of the wrong word of word match knowledge base improves the efficiency of lookup, and then improve to reduce the range of data search
Decryption efficiency.
Secret communication method provided in this embodiment for text carrier, by Second support text mistake into
The dual screening of row, finally finds out the second secret information to be transmitted, realizes the decryption to the second secret information.
Fig. 5 is the flow diagram for the secret communication method for text carrier that the embodiment of the present invention five provides, such as Fig. 5
It is shown, on the basis of aforementioned any embodiment, before 101, further include:
501, by big data oriented acquisition technology, multiple texts are obtained.
In the present embodiment, before establishing carrier text library, first full media data should be acquired, full media are big
Data, including mainstream media's data, newpapers and periodicals data, microblog data, wechat data, mobile news client, picture enclosure.Due to
The data of acquisition are enough, it can be ensured that when carrying out secret information transmission every time, the carrier text searched is different from,
So as to increase the safety of secret communication.
502, according to preset each field, clustering is carried out to the multiple text, establishes the carrier text library, institute
It includes the corresponding text collection in each field to state carrier text library.
In the present embodiment, collected big data text is subjected to clustering, for example is divided into sport category, news
The fields such as class, amusement, military affairs, diplomacy;Text disappears again automatically, to the automatic weight that disappears of text, can reduce article redundancy, avoid
Article repeats publication etc., can also realize the automatic function of searching Similar Text and recommend to searcher;And carrier text library is established,
Carrier text library includes a large amount of carrier text files that category is distinguished, and collected big data text is carried out cluster point
Analysis can realize the effect for simplifying search.
Correspondingly, 101 specifically include:
503, the corresponding specific area of current key word is determined, and the specific area described in the carrier text library corresponds to
Text collection in, search and the text of the Keywords matching.
Wherein, the keyword can be by User Defined.In the present embodiment, it is transmitted to secret information
When, first according to the corresponding specific area of current key word, find the corresponding text of corresponding specific area in carrier text library
Set, and the text with Keywords matching is searched in input in the corresponding text collection of specific area.
504, paragraph recombination, sentence adjustment and synonym are carried out to the text found to replace, generates the first vector
Text.
In the present embodiment, the text found is subjected to the recombination of the paragraph between different files, sentence adjusts and synonymous
Word replacement method, dynamic generation first vector text can not reach document retrieval to reach by common network search engines
Purpose.
Secret communication method provided in this embodiment for text carrier passes through the oriented acquisition receipts to full media data
Collect a large amount of carrier text file, and to collected carrier text file carry out cluster disappear again it is equal operate, it is literary to establish carrier
Part library constructs carrier to be transmitted by the way that carrier text is carried out the operations such as paragraph recombination, sentence adjustment and synonym replacement
Text achievees the purpose that document retrieval can not be reached by common network search engines, concealed logical to further improve
The crypticity for believing carrier text is effectively reduced and is maliciously monitored and risk of attacks.
Fig. 6 is the structural schematic diagram for the secret communication device for text carrier that the embodiment of the present invention six provides, such as Fig. 6
Shown, which includes:
Carrier String searching module 61, for from carrier text library search include and the first secret information to be transmitted
The carrier text for the first word matched;
Mistake word searching module 62, for the extraction from the carrier text and first secret information matched the
One word, and matched from word and search the corresponding wrong word of first word in knowledge base, the word matches knowledge base
The corresponding wrong word of each correct word obtained including statistics;
Carrier text generation module 63, for first word in the carrier text to be replaced with first word
The corresponding wrong word of language, generates the first vector text for carrying the first secret information;
Sending module 64, for sending the first vector text for carrying first secret information.
In the present embodiment, before being transmitted to the first secret information, carrier String searching module 61 is in carrier
Carrier text to be transmitted is searched in text library, should include matched first word of the first secret information in carrier text to be transmitted
First secret information is embedded in carrier text to be transmitted to realize the purpose of secret communication by language with realizing.Mistake word is looked into
Module 62 is looked for search the first word in word matches knowledge base according to matched first word of the first secret information to be transmitted
The corresponding wrong word of language.The first word in the carrier text found is substituted for corresponding by carrier text generation module 63
Mistake word, to generate the first vector text for carrying the first secret information.Carrier text generation module 63 generates the
After one carrier text, first vector text is transmitted by sending module 64 by network transmission platform, network transmission platform, packet
Include network instant communication platform, mail transmission platform and network information management platform etc..
Secret communication device provided in this embodiment for text carrier establishes the carrier text comprising various fields
The operations such as library carries out paragraph assembling according to keyword search carrier text, and to carrier text, and word is replaced form new to be passed
Defeated carrier text;Establish the wrong word comprising secret information corresponding word to be transmitted and secret information corresponding word to be transmitted
Word match knowledge base, by according to word match knowledge base the secret information for including in transmission carrier text to be passed is substituted for
Corresponding mistake word, realizes safe transmission of the secret information based on text carrier.
Fig. 7 is the structural schematic diagram for the secret communication device for text carrier that the embodiment of the present invention seven provides, such as Fig. 7
Shown, which further includes:
Word replacement module 71, for searching the corresponding mistake of first word in the pairing knowledge base from word
After word, if there is no the corresponding wrong words of first word in word pairing knowledge base, from the word
The synonym or near synonym of first word are searched in pairing knowledge base, and the word is matched first described in knowledge base
The corresponding wrong word of synonym or near synonym of word is as the corresponding wrong word of first word.
In the present embodiment, first word is searched in wrong word searching module 62 matches knowledge base from word
After corresponding mistake word, if there is no the corresponding wrong words of the first word, word to replace in word pairing knowledge base
Module 71 searches the synonym with the synonym of the first word or near synonym and with the first word in word matches knowledge base
Or the wrong word corresponding near synonym, the first word of wrong word pair corresponding to the synonym or near synonym with the first word
It being replaced, when replaced word is decrypted after transport, although different with the first word, the meaning of one's words is close,
The meaning of one's words of secret information is not influenced, so as to realize the purpose of secret transmissions.
Secret communication device provided in this embodiment for text carrier is not present if being matched in knowledge base by word
The corresponding wrong word of first word then searches the synonym or near synonym and its mistake of the first word in word matches knowledge base
Accidentally word is replaced the first word with the wrong word of the synonym of the first word or near synonym, realizes arbitrarily
The safe transmission of secret information.
Fig. 8 is the structural schematic diagram for the secret communication device for text carrier that the embodiment of the present invention eight provides, such as Fig. 8
Shown, which further includes:
Receiving module 81, for receiving the Second support text for carrying the second secret information.
Screening module 82, for from filtering out the mistake belonged in word pairing knowledge base in the Second support text
The accidentally word of word, and it is determined as pending word.
Judgment module 83 is replaced for judging whether the pending word carried out word, if so, being matched from word
The corresponding correct word of the pending word is searched in knowledge base, and the pending word is replaced with into the pending word
The corresponding correct word of language obtains second secret information.
In the present embodiment, the Second support text that the reception of receiving module 81 is transmitted by network transmission platform, second
Comprising through replaced second secret information of wrong word in carrier text.It is put down by network transmission when receiving module 81 is received
After the Second support text of platform transmission, screening module 82 is found out from all words in Second support text belongs to described
Word matches the word of the wrong word in knowledge base, and these words are determined as pending word.In Second support text
A word part for the wrong word belonged in the word pairing knowledge base may be the mistake carried in former Second support text
Accidentally, another part is then the wrong word through replacement, therefore judgment module 83 to pending word need to judge whether judge it
For the second secret information replaced by wrong word, if so, from searching and waiting in the wrong word that word matches knowledge base
After managing the corresponding wrong word of word, the corresponding correct word of the mistake word is obtained, the correct word found is subjected to group
Dress, then can obtain the second secret information.
Secret communication device provided in this embodiment for text carrier, by the Second support text to receiving into
Row, which is searched, to be judged, it is determined that the pending word through replacement, and match in knowledge base from word that search pending word corresponding
Correct word is counter is replaced, and the correct word found is assembled, then can obtain the second secret information, realizes pair
The decryption of the secret information received replaces the replacement of secret information with anti-by matching knowledge base based on word, further
The safety for realizing the secret communication method provided by the present invention for text carrier.
Fig. 9 is the structural schematic diagram for the secret communication device for text carrier that the embodiment of the present invention nine provides, such as Fig. 9
Shown, on the basis of embodiment eight, which includes:
Analytic unit 91 analyzes the wrong word in the Second support text for utilizing text proofreading technology.
First searching unit 92, for the word pairing in the wrong word in the Second support text, will to be belonged to
The word of wrong word in knowledge base is determined as the pending word.
In the present embodiment, after receiving module 81 receives Second support text, analytic unit 91 passes through first
Text proofreading technology finds out wrong word all in Second support text.Text proofreading technology refers to using based on binary
The words grade Chinese text automatic error-detecting technology of succession relation inspection, succession relation refers to the phase between having the words of tandem
Adjacent relationship, including word word succession relation and word succession relation.Belong to word in screening module 82 screens Second support text
Before the word of wrong word with knowledge base, all wrong words are first gone out based on text proofreading technology screening, further, the
One searching unit 92 finds out the word for the wrong word for belonging to word match knowledge base from these wrong words, to reduce
The range of data search improves the efficiency of lookup, and then improves decryption efficiency.
Secret communication device provided in this embodiment for text carrier, by Second support text mistake into
The dual screening of row, finally finds out the second secret information to be transmitted, realizes the decryption to the second secret information.
Figure 10 is the structural schematic diagram for the secret communication device for text carrier that the embodiment of the present invention ten provides, and is such as schemed
Shown in 10, on the basis of aforementioned any embodiment, which further includes:
Acquisition module 11, for according to the first secret information to be transmitted, being searched comprising described from carrier text library
Before the first vector text of first secret information, by big data oriented acquisition technology, multiple texts are obtained.
Cluster Analysis module 12, for according to preset each field, carrying out clustering to the multiple text, establishing institute
Carrier text library is stated, the carrier text library includes the corresponding text collection in each field.
The carrier String searching module 61, including:
Second searching unit 13, for determining the corresponding specific area of current key word, and from the carrier text library
In the corresponding text collection of the specific area, the text with the Keywords matching is searched.
Recomposition unit 14 replaces for carrying out paragraph recombination, sentence adjustment and synonym to the text found, generates institute
State first vector text.
In the present embodiment, before establishing carrier text library, should first pass through acquisition module 11 to full media data into
Row acquisition, full media big data, including mainstream media's data, newpapers and periodicals data, microblog data, wechat data, mobile news client
End, picture enclosure.Since the data of acquisition are enough, it can be ensured that when carrying out secret information transmission every time, search
Carrier text is different from, so as to increase the safety of secret communication.Cluster Analysis module 12 is by collected big data
Text carries out clustering, for example is divided into the fields such as sport category, news category, amusement, military affairs, diplomacy;Text disappears again automatically, right
The automatic weight that disappears of text, can reduce article redundancy, article is avoided to repeat publication etc., can also realize and search Similar Text automatically
And the function of recommending to searcher;And carrier text library is established, carrier text library includes a large amount of carriers text that category is distinguished
Collected big data text is carried out clustering, can realize the effect for simplifying search by this document.To secret information into
When row transmission, the second searching unit 13 first is found corresponding in carrier text library according to the corresponding specific area of current key word
The corresponding text collection of specific area, and input is searched and the text of Keywords matching in the corresponding text collection of specific area
This.The text found is carried out the recombination of the paragraph between different files, sentence adjustment and synonym replacement method by recomposition unit 14,
Dynamic generation first vector text, to achieve the purpose that document retrieval can not be reached by common network search engines.
Secret communication device provided in this embodiment for text carrier passes through the oriented acquisition receipts to full media data
Collect a large amount of carrier text file, and to collected carrier text file carry out cluster disappear again it is equal operate, it is literary to establish carrier
Part library constructs carrier to be transmitted by the way that carrier text is carried out the operations such as paragraph recombination, sentence adjustment and synonym replacement
Text achievees the purpose that document retrieval can not be reached by common network search engines, concealed logical to further improve
The crypticity for believing carrier text is effectively reduced and is maliciously monitored and risk of attacks.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
Specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.