CN100550653C - A kind of Code And Decode method of variable length structural information - Google Patents
A kind of Code And Decode method of variable length structural information Download PDFInfo
- Publication number
- CN100550653C CN100550653C CNB2005101343211A CN200510134321A CN100550653C CN 100550653 C CN100550653 C CN 100550653C CN B2005101343211 A CNB2005101343211 A CN B2005101343211A CN 200510134321 A CN200510134321 A CN 200510134321A CN 100550653 C CN100550653 C CN 100550653C
- Authority
- CN
- China
- Prior art keywords
- information
- field
- burst
- variable length
- byte
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000012795 verification Methods 0.000 claims description 16
- 108010076504 Protein Sorting Signals Proteins 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 7
- 125000004122 cyclic group Chemical group 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000000354 decomposition reaction Methods 0.000 claims description 3
- 230000009467 reduction Effects 0.000 claims description 3
- 244000287680 Garcinia dulcis Species 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 239000000203 mixture Substances 0.000 description 4
- 230000002950 deficient Effects 0.000 description 3
- 238000007639 printing Methods 0.000 description 3
- 241001269238 Data Species 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000006854 communication Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 150000001875 compounds Chemical class 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 238000013524 data verification Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The present invention relates to a kind of Code And Decode method of variable length structural information, belong to the information coding technique field.In the prior art, when the embedded structure information data is burst in the Information Hiding Techniques, can't accomplish in as far as possible little length range, to hide information as much as possible.Method of the present invention, all son field information constitutes a structurized information, and the different different implications of code field representative is combined into complete burst; Insert the redundancy bytes of some in the front of burst, uses special key that burst is encrypted after, carry out data correctness again and check, the front of at last check code being inserted the cyphertext strings of information sequence obtains final sequence.Adopt method of the present invention, the form of each field information can be various, and each the field information arrangement mode in the burst is more reasonable, and what comprise contains much information, and the coefficient of safety and the correct recognition rata of information all are improved largely.
Description
Technical field
The invention belongs to the information coding technique field, be specifically related to a kind of Code And Decode method of variable length structural information.
Background technology
Information Hiding Techniques is how to study a certain Information hiding in another disclosed information, transmits hiding information by disclosed transmission then.Because to contain the media releasing that hides Info is disclosed, and possible tester is difficult to judge to hide Info whether exist from public information, is difficult to more intercept and capture hide Info, thereby reaches the purpose of safety of guarantee information.As digital digital watermark, it is a branch in Investigation of Information Hiding Technology field as a kind of protection and data security maintenance technology of effective digital product copyright.Digital watermark technology is the mark (watermark) that will have certain sense; the method of utilizing numeral to embed is hidden in the digital products such as digital picture, sound, document, books, video; in order to the ownership of proof creator to its works; guarantee the integrality and the reliability of digital information by detection and analysis simultaneously, thereby become intellectual property protection and the false proof effective means of digital multimedia watermark.In digital watermark technology, the mark that embeds is watermark, represent the content of certain meaning, it can be signals such as text, sound, image or video, but no matter be which kind of type, when carrying out the embedding of watermark, most algorithms all require it at first is converted into the sequence of two-value (0 and 1 or-1 and 1), that is to say that watermark information is the byte stream or the byte serial of a certain meaning of representative, just can read the content information of being hidden after the detection soon.Certainly in order to prevent that the assailant from obtaining to be directly acquainted with behind the watermark data content of watermark information from carrier, can use certain means that watermark information is become one and seem rambling binary sequence, such as scrambling algorithm by encryption or image, detected data word throttling is as long as after the inverse operation operation of the scrambling algorithm of process deciphering or image, the tester just can parse the definite implication of byte stream information representative equally fully.
But what many times often need to embed is not only simple byte stream information, also needs the embedded structure information data, has only by certain method to decomposite multiple field information, just can obtain the implication of its representative in actual applications.As in the secure document print technology, can come embed watermark information by the additional background shading in document bottom, in the process that document is printed, can in background shading, imbed name, the time-write interval of printing person's name, printer, the information such as physical address of computer, and the background shading data are printed simultaneously with normal document data.Can obtain view data by scanned document in case of necessity, obtain byte information stream after detecting, the information that show this moment does not have complete meaning, needs extra field disintegration could obtain each field information.Though what read is the information of each independent field, but need in advance each field information to be combined into a complete byte stream before embedding.The pretreated object of any Information Hiding Techniques all is a complete burst, and this burst should accomplish to hide information as much as possible in as far as possible little length range.Present technology can not address this problem well, its main defective exists: do not have rational coding method, for coded message as much as possible, each field name in the storage organization body not, the specific structural information so can only encode is such as the above-mentioned structural data that is used to describe secure document print of coding; The certain maximum length of each son field content fixed allocation in the structured message is even the content of this field is not enough or when be sky, still just distributed the memory space of fixed length, thereby caused the waste of space encoder; Because each the son field content and the length of structured message are fixed, can't dynamically realize expansion; Because the restriction of coded system, have only the formation of knowing structure in advance and the length restriction of each son field just can be correctly decoded out coded message.
Summary of the invention
At the defective that exists in the prior art, the objective of the invention is defective at prior art, a kind of Code And Decode method of variable length structural information is proposed.This method can realize that burst should accomplish in as far as possible little length range to hide information as much as possible, and each son field content of structured message and length can dynamic expansion, do not need to know in advance that structure also can correctly read and decompose field.
For reaching above purpose, the technical solution used in the present invention is: a kind of Code And Decode method of variable length structural information may further comprise the steps:
(1) obtain and handle structured message, described structured message is meant the set of the information that comprises a plurality of independent son field titles and content; The code page that adopts by all characters in the structured message all is converted into the individual character throttling with all characters in the structured message, obtains a complete burst; Total field number, the length of each field name and the length of each field contents in the computation structure information then, and with the length records of the length of the code page of structured message, total field number, each field name and each field contents in the byte stream of redundant information;
(2) byte stream that will write down redundant information combines with the burst that step (1) obtains;
(3) burst after the middle combination of step (2) is encrypted and the data check processing, obtained final coded signal sequence.
Further, for making the present invention obtain better invention effect, obtain the structured message that will carry out encoding process in the step (1), decomposite the content of each field name and each field, and the data code of taking out them is combined into a substring byte stream, then each substring byte stream is merged into a burst;
Further again, for making the present invention obtain better invention effect, when decompositing the content of each field name and each field in the step (1), the pure item for numeral of field contents is converted into binary mode (0 or 1) expression, merge with the byte stream of representing the respective field name then, and the content of this field of sign is a digital form in redundant information;
Further, obtain better invention effect, in the step (1), when analyzing each field name and each field contents, the double-byte characters of Unicode coding is transferred to the character string of byte by corresponding code page for making the present invention.
Further, obtain better invention effect for making the present invention, in the step (2), the front that the byte stream of redundant information is inserted into burst obtains a new sequence;
Further, for making the present invention obtain better invention effect, in the step (3), use key that the new sequence that obtains in the step (2) is carried out encryption, and use general data check algorithm that the ciphertext byte stream string that obtains is carried out data check, the burst after finally being encoded in the foremost that at last checking data that obtains is inserted into cyphertext strings.Described general data check algorithm is the cyclic redundancy check (CRC) code algorithm.
Corresponding with above-mentioned coding method, a kind of coding/decoding method of variable length structural information may further comprise the steps:
At first obtain coded signal sequence when a. decoding;
B. take out checking data in the stem of burst and carry out the data correctness verification, verification is by back execution in step c, otherwise execution in step e;
C. the burst after using identical key to verification is decrypted processing, and reduction is the byte stream burst expressly;
D. take out the redundant information byte stream of the burst previous section that step c obtains, progressively carry out field decomposition and conversion according to the length of the code page that writes down in the redundant information, total field number, each field name and the length of each field contents, and the redundant information byte stream is deleted from the burst that step c obtains;
E. withdraw from decode procedure, and show decoded information.
Further, obtain better invention effect for making the present invention, use the cyclic redundancy check (CRC) code algorithm that the ciphertext byte serial is carried out the correctness verification among the step b, the data check process is deleted checking data after finishing from burst; If the data correctness verification is obstructed out-of-date among the step b, then in step e, directly show null character (NUL).
Further, obtain better invention effect for making the present invention, whether in the steps d, going back the record field content in the redundant information is digital form, if be digital form, then the field contents of the digital form that decomposites be converted into numeral and show.
Further again, for making the present invention obtain better invention effect, from the burst that steps d, obtains, decomposite each field name and field contents successively according to the length of each field name and the length of field contents, then the byte stream of non-numeric field name and field contents is converted to Unicode wide character string by code page.
Effect of the present invention is: the Code And Decode method of the structured message that the present invention says is supported various character set types, and the form of each field information is varied, and each the field information arrangement mode in the burst is more reasonable, and what comprise contains much information; The variable-length of structured message does not need to know in advance that structure just can correctly read and decompose field; The coefficient of safety and the correct recognition rata of information all are improved largely, and possess certain anti-interference and inspection error correcting capability.Method of the present invention allows the multiple information of hybrid coding, supports monocase collection or character sets multiple, can be widely used in technical fields such as communication, electronic document and printing document.
Description of drawings
Fig. 1 is the byte schematic diagram of storage code page or leaf;
Fig. 2 is the byte schematic diagram of storage field number;
Whether Fig. 3 is to comprise field name length, field contents length and is the byte schematic diagram of the sign of numeral;
Fig. 4 is the schematic diagram that field name and field contents merge storage;
Fig. 5 is the burst schematic diagram that has redundant information;
Fig. 6 is with the ciphertext byte serial schematic diagram after the secret key encryption;
Fig. 7 is the burst schematic diagram that contains the CRC-16 check code;
Fig. 8 is the coding method flow chart of structured message of the present invention;
Fig. 9 is the coding/decoding method flow chart of structured message of the present invention.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is further described:
As shown in Figure 1,16 grids are represented two bytes, are used for identifying the affiliated code page (Code Page) of current structure body character string, and in the plaintext coded signal sequence, it is in the position of two bytes in foremost in the sequence.What many times receive is Unicode coding or double byte input, and for single-byte character, such as the ASCII character character, is with two bytes store equally.If also use two byte-identifiers when encoding, can cause very big space waste.If know code page this moment, just can be converted to the single-byte character string to the strings of double-byte characters of input, thus the space saved, and realize that the unit encoding sequence length is built-in and gone into more information.When decoding, also can the single-byte character string be converted to the Unicode coded sequence by code page, thus decoding and demonstration that can be correct.
As shown in Figure 2, a byte is used for the number of marking structure body son field, that is to say 255 field informations of can encoding at most, can satisfy the information coding of general structure, can expand to two or multibyte size more certainly in case of necessity.
As shown in Figure 3, represent the space of two byte-sized equally, be divided into three sections contents altogether.Whether a leftmost representative is digital form, and wherein " 1 " represents digital form, and " 0 " is nonnumeric form, because digital information can be represented with byte still less.IP address such as a computer of input is " 172.16.255.254 ", if need at least to represent 11 characters with character string, but in calculator memory, just can represent it, so it only takies the space of four bytes in coded sequence with four unsigned char variablees.7 middle length that are used for identifying each field name, this moment, the length restriction of field name was 127 bytes.The length of two last each field contents of byte-identifier amounts to 65535 words, and these two length can expand equally as required.When encoding, identifying the title length of all fields and the combination of bytes of field contents length becomes a substring, comes the byte back of all field numbers of sign, and the length of this substring is three times of all Field Counts.
As shown in Figure 4, a plurality of bytes of sign are divided into two parts, the title of first's storage field, and the number of used byte has been kept at the mid portion of Fig. 3; The content of second portion storage field, the number of used byte has been kept at the right-hand component of Fig. 3.The content first place of the title of each field and field is connected to form a substring, and then follows the substring of the composition of other fields to be merged into a long substring in proper order, has represented real significant content in the coded signal sequence.When decoding, decompose step by step according to the length of field name shown in Figure 3 and the length of field contents, until title that obtains each field and field contents information, and then will obtain complete structure of each word structure composition.
As shown in Figure 5, the structure that has identified the whole burst that contains redundant information is formed, comprising four parts.First has stored code page schematic diagram shown in Figure 1, is used for the character set under the marking structure body character string, so that being correctly decoded and showing of character also can be saved memory space; Second portion has been stored the number of field in the structure; Third part is Fig. 3 schematic diagram representative content; Each minor structure in the last part has been stored each field name and field contents information respectively.
As seen from Figure 5, the whole burst that contains redundant information is an expressly byte serial fully, if intercepting and capturing this section byte stream, any decoding person just can understand the content information of wherein hiding soon, consideration for fail safe, use key that this plaintext byte serial is encrypted, thereby obtain ciphertext byte serial as shown in Figure 6, key is preserved by specific decoding person, can not correctly translate true content even obtained these byte serials.
Further set forth whole Code And Decode process below in conjunction with an embodiment, as shown in Figure 8, a kind of coding method of variable length structural information comprises the steps:
At first, variable length structural information is carried out Methods for Coding, may further comprise the steps:
(1) obtains and handle structured message and obtain a complete burst;
In the process that document is printed, need the attaching print extraneous information sometimes, as IP address, time-write interval and date and the customized information of user's name, computer.At first these information combination are become a structure,, specifically describe as follows comprising the title and the content information of each son field:
A) user's name: SupermanQww;
B) Computer IP address: 172.16.7.191;
C) time of date printed: 2005;
D) month of date printed: 11;
E) date of date printed: 14;
F) time-write interval hour: 12;
G) time-write interval minute: 30;
H) the second number of time-write interval: 15;
I) user defined character: this document must could be read by password.
In above-mentioned structure, the first half of each minor structure is a field name, and latter half is the particular content information of field.The code page that all characters adopt in the structure is that 936 (ANSI/OEM-Simplified Chinese (PRC, Singapore)), two bytes that are used to store as shown in Figure 1.By code page all characters in the said structure all are converted to the individual character throttling and represent, especially for user-defined character information in last minor structure, the byte stream after the conversion can save the space of 8 bytes.
Next the field number in the computation structure body is 9, with a byte records as shown in Figure 2, is placed on the back of code page byte.In when decoding, read total number that this byte obtains field after, then order reads 27 byte datas, the information of wherein per three minor structures that adjacent byte constituted representative as shown in Figure 3.In the present embodiment, first in the minor structure of (2)~(8) is " 1 ", and first of (1) and (9) minor structure is " 0 ".As an example, make a concrete analysis of the composition situation of three bytes in the structure (2) quickly:
100011000000000000000100, wherein primary " 1 " represents that the content of this field is a digital form, and ensuing 0001100 to represent the length of the title of field be 12, and last 16 to represent the length of field contents be 4.Number by minor structure shown in Figure 3 is 9, accounts for the space of 27 bytes altogether.The real actual content of coding is made up of a string minor structure, and wherein each minor structure comprises two parts, is respectively the field name and the field contents that are linked in sequence.In structure (2), field name is " Computer IP address " equally, and the content of field " 172.16.7.191 " can be represented with four bytes, is respectively 10101100,00010000,00000111 and 10111111.Because having identified its length in the byte of front field contents length is 4, when reading this section byte stream, is decomposed into four numerals automatically, rather than handles according to the mode of character.A plaintext burst that comprises each son field title and content will be obtained after the similar processing of other minor structures.
(2) byte stream that will write down redundant information combines with the burst that step (1) obtains;
The redundant information sequence is formed in the back that byte stream shown in Figure 3 is appended to code page byte and field length byte, obtains a complete plaintext burst then with after burst that step (1) obtains combines, as shown in Figure 5.Certainly the redundant information byte stream can exchange with the order of actual content byte stream.
(3) burst after the middle combination of step (2) is encrypted and the data check processing, obtained final coded signal sequence;
For the coefficient of safety of raising information coding, at first use key that the plaintext burst that obtains in the above-mentioned steps (2) is carried out encryption, this key is preserved by relevant decoding person, and imports as password.Decoding person at first inputs password, is decrypted as key with the input password then, and whole particular contents that could the awareness information sequence when having only password correct, thus guarantee information possesses very high fail safe in communication process.
Ciphertext byte stream after using general data check algorithm to encryption is then handled, the calculation check data.In the present embodiment, select the Cyclic Redundancy Check yardage to calculate to obtain 16 check code, and information of check code is inserted into the front of cipher-text information string, obtain final coded signal sequence, as shown in Figure 7.Wherein check code part mainly is to carry out the data correctness verification when being used for detecting.
In the present embodiment, above-mentioned structured message is printed in the document print procedure simultaneously, and the carrier that hides Info is the document of paper medium.And when needing decoding, must be earlier by scanner or other image acquisition equipments with digital document, identify by digital image processing method again and hide the ciphertext byte stream of going into.But in order to overcome the attack of the each side of in printing and scanning process, bringing, and the error recovered of the information that reduces as much as possible, use the cyclic redundancy check (CRC) code algorithm that the ciphertext byte serial is carried out the correctness verification, the check code that obtains is inserted into the front of cipher-text information sequence, be responsible for the correctness of all information of checking, such as selecting the CRC-16 check code in the present embodiment, obtain two byte data check codes, merge into final coded signal sequence together with the ciphertext byte serial.
As shown in Figure 9, the coding/decoding method of a kind of variable length structural information of the present invention may further comprise the steps:
At first obtain coded signal sequence when a. decoding;
Must will from image, identify the original word throttling during decoding as input, the byte of top sign checking data in the first fetch squence, in the present embodiment, preceding two byte-identifier CRC-16 checking datas of ciphertext sequence.
B. take out checking data in the stem of burst and carry out the data correctness verification, verification is by back execution in step c, otherwise execution in step e;
Carry out the data correctness checking with the checking data that extracts,, then point out error message and show null character (NUL) if verification is not passed through; After the data check process is passed through, the byte of sign checking data is deleted from the original word throttling, thereby obtain a new byte serial O
1
C. the burst after using identical key to verification is decrypted processing, and reduction is the byte stream burst expressly;
With the password of the correct input of user as secret key decryption literary composition byte serial O
1, obtain expressly byte serial O
2
D. progressively carry out field decomposition and conversion according to the redundant information of burst previous section;
O
2Byte serial comprises predefined redundant information, and preceding two bytes of fetch squence just can calculate the code page under the character string, and code page is 936 here.Calculate by the 3rd byte that total number of field is 9 in the structure, then order intercepts 27 bytes, average out to is 9 groups successively, judge respectively whether each field is digital form, and calculate the length of each field name length and field contents, thereby extract the content information of the title and the field of each field according to these information order in remaining byte stream.At last according to field contents whether be that the attribute of digital form is handled respectively, utilize code page that the single-byte character string is converted to the Unicode Unified coding respectively for minor structure (1) and (9), and then export correct the demonstration; For minor structure (2)~(8), be converted to digital form respectively and export.
In the present embodiment, the time-write interval in the structure and the display mode of date printed can have multiple, can be shown as " YYYY-MM-DD ", " DD-MM-YYYY " etc. such as date printed.
E. withdraw from decode procedure, and show decoded information.
Code And Decode method of the present invention is applicable to any Information hiding algorithm, and the sequence behind the coding comprises complete data structure information, is not needing to know under the prerequisite of structure information, still identification that can be correct and reading; And coded system is more reasonable, is beneficial to any expansion of structure information.When carrying out the embedding of coding transmission and information certainly, can use any data compression method that burst is further handled, in the hope of obtaining shorter code length.
Above-mentioned steps be one preferred embodiment.Those skilled in the art be not difficult to draw other implementation method and without prejudice to overall thought of the present invention.
Wherein, identifying byte length, arrangement mode and the field name of various redundant informations and the compound mode of field contents can change.
Wherein, different data verification methods can be used, the redundant information of the adjustment of data can also be added according to the difference of hidden method, such as using unnecessary parity check bit for the ciphertext byte serial.
Claims (13)
1. the coding method of a variable length structural information may further comprise the steps:
(1) obtain and handle structured message, described structured message is meant the set of the information that comprises a plurality of independent son field titles and content; The code page that adopts by all characters in the structured message all is converted into the individual character throttling with all characters in the structured message, obtains a complete burst; Total field number, the length of each field name and the length of each field contents in the computation structure information then, and with the length records of the length of the code page of structured message, total field number, each field name and each field contents in the byte stream of redundant information;
(2) byte stream that will write down redundant information combines with the burst that step (1) obtains;
(3) burst after the middle combination of step (2) is encrypted and the data check processing, obtained final coded signal sequence.
2. the coding method of a kind of variable length structural information as claimed in claim 1, it is characterized in that: obtain the structured message that will carry out encoding process in the step (1), decomposite the content of each field name and each field, and the data code of taking out them is combined into a substring byte stream, then each substring byte stream is merged into a burst.
3. the coding method of a kind of variable length structural information as claimed in claim 2, it is characterized in that: when decompositing the content of each field name and each field in the step (1), the pure item for numeral of field contents is converted into binary mode to be represented, merge with the byte stream of representing the respective field name then, and the content of this field of sign is a digital form in redundant information.
4. the coding method of a kind of variable length structural information as claimed in claim 1, it is characterized in that: in the step (1), when analyzing each field name and each field contents, the double-byte characters of Unicode coding is transferred to the character string of byte by corresponding code page.
5. the coding method of a kind of variable length structural information as claimed in claim 1 is characterized in that: in the step (2), the front that the byte stream of redundant information is inserted into burst obtains a new sequence.
6. as the coding method of claim 1,2,3,4 or 5 described a kind of variable length structural informations, it is characterized in that: in the step (3), use key that the new sequence that obtains in the step (2) is carried out encryption, and use general data check algorithm that the ciphertext byte stream string that obtains is carried out data check, the burst after finally being encoded in the foremost that at last checking data that obtains is inserted into cyphertext strings.
7. the coding method of a kind of variable length structural information as claimed in claim 6 is characterized in that: in the step (3), general data check algorithm is the cyclic redundancy check (CRC) code algorithm.
8. the coding/decoding method of a variable length structural information may further comprise the steps:
At first obtain coded signal sequence when a. decoding;
B. take out checking data in the stem of burst and carry out the data correctness verification, verification is by back execution in step c, otherwise execution in step e;
C. the burst after using identical key to verification is decrypted processing, and reduction is the byte stream burst expressly;
D. take out the redundant information byte stream of the burst previous section that step c obtains, progressively carry out field decomposition and conversion according to the length of the code page that writes down in the redundant information, total field number, each field name and the length of each field contents then, and the redundant information byte stream is deleted from the burst that step c obtains;
E. withdraw from decode procedure, and show decoded information.
9. the coding/decoding method of a kind of variable length structural information as claimed in claim 8 is characterized in that: use the cyclic redundancy check (CRC) code algorithm that the ciphertext byte serial is carried out the correctness verification among the step b.
10. the coding/decoding method of a kind of variable length structural information as claimed in claim 9 is characterized in that: after the data check process finishes among the step b, checking data is deleted from burst.
11. the coding/decoding method of a kind of variable length structural information as claimed in claim 10 is characterized in that: among the step b data correctness verification obstructed out-of-date, in step e, directly show null character (NUL).
12. Code And Decode method as claim 8,9,10 or 11 described a kind of variable length structural informations, it is characterized in that: in the steps d, whether go back the record field content in the redundant information is digital form, if be digital form, then the field contents of the digital form that decomposites be converted into numeral and show.
13. the coding/decoding method of a kind of variable length structural information as claimed in claim 12, it is characterized in that: from the burst that steps d, obtains, decomposite each field name and field contents successively according to the length of each field name and the length of field contents, then the byte stream of non-numeric field name and field contents is converted to Unicode wide character string by code page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101343211A CN100550653C (en) | 2005-12-14 | 2005-12-14 | A kind of Code And Decode method of variable length structural information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005101343211A CN100550653C (en) | 2005-12-14 | 2005-12-14 | A kind of Code And Decode method of variable length structural information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1777040A CN1777040A (en) | 2006-05-24 |
CN100550653C true CN100550653C (en) | 2009-10-14 |
Family
ID=36766385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005101343211A Expired - Fee Related CN100550653C (en) | 2005-12-14 | 2005-12-14 | A kind of Code And Decode method of variable length structural information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100550653C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103646121A (en) * | 2013-12-27 | 2014-03-19 | 税友软件集团股份有限公司 | Identifier code, application method and device |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1980122B (en) * | 2006-11-16 | 2012-11-14 | 北京尧天网迅科技有限公司 | Method for increasing information transmission safety |
CN103942500B (en) * | 2014-05-11 | 2017-02-22 | 西安科技大学 | Hash ciphertext re-encryption method based on noise and decryption method after re-encryption |
CN103942501B (en) * | 2014-05-11 | 2017-01-18 | 西安科技大学 | Hash ciphertext re-encrypting method and decryption method after re-encryption |
CN105100111A (en) * | 2015-08-26 | 2015-11-25 | 成都卫士通信息产业股份有限公司 | Information transmission protection method and information transmission protection system |
CN106502971B (en) * | 2016-10-27 | 2020-04-21 | 青岛海信移动通信技术股份有限公司 | Input information processing method and device and mobile terminal |
CN108121727B (en) * | 2016-11-28 | 2021-08-24 | 北京国双科技有限公司 | Landing page URL (Uniform resource locator) checking method and device |
CN106850191B (en) * | 2017-02-19 | 2020-03-10 | 郑州云海信息技术有限公司 | Encryption and decryption method and device for communication protocol of distributed storage system |
CN107784119A (en) * | 2017-11-16 | 2018-03-09 | 郑州云海信息技术有限公司 | A kind of method that feature name number of words limits in solution SAP system |
CN110474930B (en) * | 2019-09-29 | 2022-03-11 | 国家计算机网络与信息安全管理中心 | Information transmission-based secure interaction method and device |
CN111178010B (en) * | 2019-12-20 | 2024-02-09 | 国久大数据有限公司 | Method and system for displaying digital signature, data editing method and terminal |
-
2005
- 2005-12-14 CN CNB2005101343211A patent/CN100550653C/en not_active Expired - Fee Related
Non-Patent Citations (4)
Title |
---|
基于内容的英文文本数字水印算法涉及与实现. 肖湘蓉,孙星明.计算机工程,第31卷第22期. 2005 |
基于内容的英文文本数字水印算法涉及与实现. 肖湘蓉,孙星明.计算机工程,第31卷第22期. 2005 * |
认证水印技术的研究. 张永平,郭宝龙.计算机工程与应用,第01期. 2004 |
认证水印技术的研究. 张永平,郭宝龙.计算机工程与应用,第01期. 2004 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103646121A (en) * | 2013-12-27 | 2014-03-19 | 税友软件集团股份有限公司 | Identifier code, application method and device |
CN103646121B (en) * | 2013-12-27 | 2016-03-16 | 税友软件集团股份有限公司 | A kind of identification code and using method and device |
Also Published As
Publication number | Publication date |
---|---|
CN1777040A (en) | 2006-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100550653C (en) | A kind of Code And Decode method of variable length structural information | |
US7738658B2 (en) | Electronic forms including digital watermarking | |
CN100447812C (en) | Document data waterprint embedded method | |
CN109785222B (en) | Method for quickly embedding and extracting information of webpage | |
CN105303075B (en) | Adaptive Text Watermarking method based on PDF format | |
CN103049682A (en) | Character pitch encoding-based dual-watermark embedded text watermarking method | |
EP1726117A2 (en) | Watermark payload encryption methods and systems | |
CN102646179A (en) | PDF (Portable Document Format) document information embedding and extraction method based on PDF documents | |
CN104517045B (en) | Digital document guard method and system | |
CN104063731A (en) | Two-dimension code anti-counterfeiting printing and verification method adopting digital watermark technology | |
CN102622562A (en) | PDF (Portable Document Format) file information embedding and extracting method based on PDF cross reference table | |
CN103544408A (en) | Method for embedment and extraction of PDF document hidden information according to composite font | |
Ahmed et al. | Comparison of eight proposed security methods using linguistic steganography text | |
CN101460974A (en) | Generation of code words for image watermarking | |
Coatrieux et al. | Watermarking medical images with anonymous patient identification to verify authenticity | |
CN102226906A (en) | Information hiding system specified to htm/html | |
CN103530574B (en) | A kind of hide Info embedding and extracting method based on English PDF document | |
Yaghobi et al. | Text steganography in webometrics | |
CN116362953B (en) | High-precision map watermarking method based on invisible characters | |
CN100550049C (en) | The embedding grammar of printed matter anti-counterfeit digital water print and detection method thereof | |
CN102142073A (en) | System for preventing and identifying disclosure of paper documents based on hidden watermarks | |
Cao et al. | Approaches to obtaining fingerprints of steganography tools which embed message in fixed positions | |
CN107680608B (en) | Fountain code-based fragile watermark self-recovery method | |
Jaiswal et al. | Implementation of a new technique for web document protection using unicode | |
CN111382398A (en) | Method, device and equipment for information processing, hidden information analysis and embedding |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091014 |
|
CF01 | Termination of patent right due to non-payment of annual fee |