EPC coding encryption method for aviation equipment based on improved Fesitel

By converting aviation equipment codes into EPC codes and adopting improved Feistel network encryption, the problem of insufficient security of EPC codes is solved, format retention and security improvement are achieved, the code conversion process of military and civilian aviation equipment is simplified, and information interaction and operational efficiency are optimized.

CN119276466BActive Publication Date: 2025-09-05CHINA AERO POLYTECH ESTAB +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411671346.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-09-05
Estimated Expiration
2044-11-21

AI Technical Summary

Technical Problem

The existing EPC coding has security deficiencies, making it difficult to ensure the security of sensitive information. Traditional encryption algorithms cannot provide high-strength encryption protection while retaining the coding format, affecting the information interaction and operational efficiency of military and civilian aviation equipment.

Method used

The aircraft equipment code is converted into the EPC code standard format, and an improved Feistel network is used for format-preserving encryption. By splitting the EPC code into a scrambling code, a left half, and a right half, a pseudo-random sequence is generated for iterative encryption to ensure that the code format remains unchanged and improve security.

Benefits of technology

It achieves the goal of improving information security and simplifying code conversion while retaining the EPC coding standard format, optimizing the operational efficiency and information traceability of military and civilian aviation equipment, and providing higher security protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276466B_ABST
    Figure CN119276466B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of coding, and more particularly to an improved Festel-based encryption method for EPC codes of aircraft equipment. The method comprises the following steps: S1, mapping the aircraft equipment code to the EPC code; S2, encrypting the aircraft equipment EPC code using the improved Festel network, including the following substeps: S21, segmenting the EPC code into scrambling, left, and right halves; S22, generating a pseudorandom sequence using a pseudorandom number generator; S23, obtaining a binary number as a round key based on the pseudorandom sequence; and S24, iterative encryption to obtain a final encrypted result. The present invention maps traditional aircraft equipment codes to EPC codes and encrypts them using the improved Feistel network. This method not only enhances information uniformity and traceability, but also ensures data security while preserving the standard format of the EPC code.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of coding, and in particular to an EPC coding encryption method for aviation equipment based on an improved Fesitel. Background Art

[0002] Currently, military and civilian aircraft equipment share significant commonalities, but due to differing encoding standards, information exchange is complex and difficult, hindering material allocation and operational efficiency. With the rapid development of the Internet of Things (IoT), the number of avenues for information exchange has significantly increased. As an efficient means of exchange, the EPC (Electronic Product Code) has become crucial in the global flow of goods. Mapping traditional aircraft equipment codes to EPC codes would not only enhance information uniformity and traceability, but also simplify interoperable code conversion between military and civilian equipment.

[0003] However, existing EPC codes lack security, making them inadequate for protecting sensitive information. Direct code mapping can pose a risk of information leakage, making improving the security of EPC codes a pressing issue. Traditional encryption algorithms, such as AES and DES, while providing strong encryption protection, are generally unsuitable for structured data like EPC codes. This is because these algorithms convert the encoded data into an unreadable ciphertext format, making it unsuitable for information exchange under the encoding standard.

[0004] The Feistel network, also known as the Feistel structure, is a classic symmetric encryption model widely used in various block ciphers, such as DES (Data Encryption Standard). Due to its unique encryption structure and wide applicability, the Feistel network has gained widespread use, particularly in data encryption and secure communications. By splitting data into two parts, alternating the data in each encryption round and performing complex operations with pseudo-random sequences, the encryption process ensures high security. The iterative nature of the Feistel network also ensures a high degree of symmetry during encryption and decryption, making it possible to implement format-preserving encryption (FPE) using the Feistel network.

[0005] Therefore, if the Feistel network can be improved and applied to the encryption of EPC codes for aircraft equipment, it would be possible to ensure data security while preserving the standard EPC code format. This structured encryption method not only improves information security but also simplifies the code conversion process for military and civilian aircraft equipment, optimizing overall operational efficiency and information traceability, thereby providing higher security for aircraft equipment management systems. Summary of the Invention

[0006] In order to overcome the defects of the prior art, the purpose of the present invention is to convert the aviation equipment code into the EPC code standard format and perform format-preserving encryption, which not only simplifies the code conversion process but also improves the security of information.

[0007] The present invention provides an improved Fesitel-based EPC coding encryption method for aviation equipment, the specific steps of which are:

[0008] S1, mapping of aircraft equipment codes to EPC codes;

[0009] The aviation equipment code consists of a classification code, a base name code, and a variety code, each of which is represented by 0-9 or letters. The EPC code consists of a header, a domain name management, an object classification, and a serial number, each of which is represented in binary.

[0010] When mapping the aircraft equipment code to the EPC code, the EPC code header is determined according to the converted EPC code version;

[0011] The classification code in the aviation equipment code has two digits each representing a first-level classification, a total of 4 digits, which are mapped to the object classification part of the EPC code;

[0012] The base name code in the aircraft equipment code is 5 digits in total, of which 4 digits are mapped to the domain name management of the EPC code, and 1 digit is mapped to the remaining position of the object classification part of the EPC code;

[0013] The variety code in the aircraft equipment code is 9 digits in total, of which the first and second digits are mapped to the domain name management of the EPC code; the third digit is mapped to the object classification of the EPC code, and the remaining 4-9 digits of the variety code are mapped to the serial number of the EPC code;

[0014] S2, using the improved Fesitel network to encrypt the EPC code of aviation equipment;

[0015] S21, segmenting the EPC code;

[0016] The EPC version number is used as the scrambling code tweak, and the remaining bit data is divided into the left half and the right half;

[0017] S22, generating a pseudo-random sequence;

[0018] The key, tweak, and the current iteration round are combined as a seed and the HMAC pseudo-random number generator is used to generate a pseudo-random sequence s. The HMAC pseudo-random number generator is specifically:

[0019]

[0020] Where K is the key; seed is the seed obtained by concatenating the key K, the scrambling code tweak, and the current iteration index using a string; the iteration index is initially 1 and increments by 1 after each iteration; the key K and the seed are used as input; H() is the hash function, ipad and opad are the padding constants for the inner and outer layers, respectively, used to scramble the key; ∥ is the standard string concatenation operator;

[0021] S23, obtaining a binary number as the round key F;

[0022] Each bit of the pseudo-random sequence s is 0-9. After intercepting the pseudo-random sequence and converting it into a binary number, the binary number with the same digits as the left half or the right half is intercepted as the round key F;

[0023] S24, iterative encryption;

[0024] Left is XORed bit by bit with F to obtain the intermediate result temp. At this time, left is replaced by right, and right is replaced by temp to complete one iteration. After a specified number of iterations, tweak, left, and right are re-joined to obtain the final encryption result.

[0025] Preferably, the aviation equipment code is 18 bits and the EPC code is 96 bits.

[0026] Preferably, the specific process of mapping the S1 aviation equipment code to the EPC code is:

[0027] When the aircraft equipment code is mapped to the EPC code, the EPC code header is 8 bits, which is determined by the version of the EPC code being converted;

[0028] The classification code in the aviation equipment coding adopts a two-level classification, one-level and two-level classification. Each two digits represent the first level classification, and the value ranges from 01 to 99. The number of solutions that can be represented by the four-digit classification code is 99 × 99 = 9801, and the corresponding binary digits are 14 bits. The object classification part of the EPC code has a total of 24 bits of binary code, which is mapped to the object classification part of the EPC code. After the mapping is completed, 10 bits remain.

[0029] In the aviation equipment code, the base name code is 5 digits in total. The base name code consists of Arabic numerals 0 to 9 and uppercase letters except I and O. There are 34 schemes for the value of each digit, and each scheme is represented by a binary number. In order to distinguish, each digit of the base name code is represented by a 6-bit binary code. The domain name management in the EPC code is 28 bits, and the object classification is 10 bits. The first 4 bits of the base name code are mapped to the domain name management in the EPC code, and the last bit of the base name code is mapped to the EPC object classification. Therefore, after the mapping is completed, in the EPC code, the domain name management has 4 binary bits and the object classification has 4 binary bits.

[0030] In the aircraft equipment coding, the variety code has a total of 9 digits, of which the 1st and 2nd digits are fixed values ​​86 or 87 and are used to distinguish the coding agency. Therefore, the 1st and 2nd digits of the variety code can be represented in the EPC code with only 1 binary bit. The 1st and 2nd digits of the variety code are mapped to the domain name management office of the EPC code. At this time, there are 3 binary digits remaining in the domain name management office of the EPC code; the 3rd digit of the variety code has a specific meaning in the aircraft equipment coding, including {0~9,M,S}, a total of 12 schemes, which are distinguished by 4-bit binary coding, so the 3rd digit is mapped to the object classification of the EPC code; the remaining 4-9 digits of the variety code are the variety serial code, which consists of Arabic numerals 0~9 and uppercase letters except I and O. Each character of the variety serial code 4-9 is still represented by a 6-bit binary code, so the variety serial code requires a total of 36 binary bits, and the serial number part of the EPC code is 36 bits. The variety serial code is completely mapped to the serial number of the EPC code.

[0031] Preferably, in S21, the first 8 bits of the EPC version number are used as the scrambling code tweak, and the remaining 88 bits of data are divided equally into a left half (left) and a right half (right), wherein the first 44 bits are left and the last 44 bits are right.

[0032] Preferably, in S22, the hash function is SHA-256, and the values ​​of ipad and opad are 0x36 and 0x5c respectively.

[0033] Preferably, in S23, each bit of the pseudo-random sequence s has a value of 0-9, and an 8-bit binary number is used to represent the different values ​​of each bit. The first 6 bits of the pseudo-random sequence are intercepted and converted into binary to obtain a 48-bit binary number, and then the first 44 bits of the binary number are intercepted as the round key F.

[0034] Preferably, the decryption process further includes: using the same pseudo-random number generation mechanism and XOR operation as encryption, reversely executing the operation of the Feistel network, and gradually recovering the plaintext.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] 1. This invention maps traditional aviation equipment codes to EPC codes, which not only enhances the uniformity and traceability of information, but also simplifies the interoperability code conversion between military and civilian equipment.

[0037] 2. This invention improves upon the existing Feistel network and applies it to the encryption of EPC codes for aircraft equipment, ensuring data security while preserving the standard format of EPC codes. This structured encryption method enhances information security and provides a higher level of security for aircraft equipment management systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a flow chart of the EPC coding encryption method for aviation equipment based on the improved Fesitel;

[0039] Figure 2 This is an example diagram of the mapping process from aviation equipment code to EPC code;

[0040] Figure 3 This is a schematic diagram of the improved Feistel network coding process. DETAILED DESCRIPTION

[0041] To better understand the technical solutions of the present invention, the specific embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and embodiments. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0042] The present invention proposes an EPC coding encryption method for aviation equipment based on improved Fesitel, such as Figure 1 The specific implementation steps are as follows:

[0043] S1, aircraft equipment code is mapped to EPC code.

[0044] The aircraft equipment code consists of a classification code, a base name code, and a variety code, each represented by Arabic numerals 0 to 9 or a capital letter. The EPC code consists of a header, domain name management, object classification, and a serial number, each represented in binary. Currently, aircraft equipment codes are 18 bits long, while the EPC code in this embodiment is 96 bits long.

[0045] When the aircraft equipment code is mapped to the EPC code, the EPC code header is determined according to the version of the converted EPC code. Currently, the EPC code header is usually 8 bits, which is used to indicate the EPC code version.

[0046] The classification codes used in aircraft equipment coding use a two-level classification system, with each two digits representing a level one classification, ranging from 01 to 99. The four-digit classification code can represent a total of 99 × 99 = 9801 possible solutions, corresponding to approximately 14 binary bits (log29801≈14). This is then mapped to the object classification portion of the EPC code. The object classification portion of the EPC code consists of 24 binary bits, leaving 10 bits remaining after the mapping is complete.

[0047] In aircraft equipment coding, the base name code consists of 5 digits. The base name code consists of Arabic numerals 0 through 9 and uppercase letters (excluding "I" and "O"). Each digit can have 34 possible values, each represented by a binary number. At least six binary digits are required to distinguish each digit. Therefore, each digit of the base name code is represented by a 6-bit binary code. The complete base name code consists of 5 digits, requiring a total of 30 binary digits. However, in the EPC code, the domain name management only has 28 digits, so the last digit of the base name code is placed in the EPC object classification. After mapping, the EPC code has 4 binary digits remaining for the domain name management and 4 binary digits remaining for the object classification.

[0048] In aircraft equipment coding, the variety code consists of 9 digits, with the first and second digits being fixed at 86 or 87 to distinguish the coding agency. Therefore, the first and second digits of the variety code can be represented in the EPC code using only one binary bit. Mapping the first and second digits of the variety code to the EPC domain name management field leaves three binary bits remaining. The third digit of the variety code has a specific meaning in aircraft equipment coding, including {0-9, M, S}, with 12 possible options, requiring four binary bits to distinguish them. Therefore, mapping the third digit to the object classification of the EPC code uses the remaining four binary bits. The remaining 4-9 digits of the variety code are the variety serial code, consisting of Arabic numerals 0-9 and uppercase letters except "I" and "O." The binary code uses the same encoding as the base name code. That is, each character in digits 4-9 of the variety serial code is still represented by a six-bit binary code, resulting in a total of 36 binary bits required for the variety serial code. The serial number part of the EPC code is 36 bits, and the variety serial code can be completely mapped to the serial number of the EPC code.

[0049] The following takes the aviation equipment code 162032ZD5871A45ZF6 as an example, and the EPC code uses 96-bit EPC-96TYPEI as an example. The specific mapping process is as follows Figure 2 shown.

[0050] First, for the reference name code and the variety serial code in the variety code, set the corresponding relationship between the binary code and the Arabic numerals 0 to 9 and the capital letters except "I" and "O", as shown in Table 1. The specific scheme is as follows:

[0051] Table 1

[0052] Code 0 1 2 3 ... 9 A B C ... Y Z Dictionary values 0 1 2 3 ... 9 10 11 12 ... 32 33

[0053] Taking the letter Z as an example, it corresponds to the largest dictionary value 33, and its binary value can be expressed as 100001. Each bit of the variety serial code in the base name code and variety code is converted according to Table 1. If it is less than six bits, 0 is added to the first bit.

[0054] For the third digit of the variety code, set the corresponding relationship between the binary code and {0-9, M, S}, as shown in Table 2. The specific scheme is as follows:

[0055] Table 2

[0056] Code 0 1 2 ... 9 M S Dictionary values 0 1 2 ... 9 10 11

[0057] The third digit of the variety code has 12 options, which are distinguished by 4-bit binary code.

[0058] Secondly, the EPC-encoded header is given according to the EPC-96 TYPE I standard.

[0059] Next, the aviation equipment classification code is 1620. It can be seen that the first-level classification is 16 and the second-level classification is 20. Converting 16 and 20 into the corresponding binary is 00100000010100, which is mapped to the last 14 bits of the object classification of the EPC code.

[0060] Then, the aircraft equipment base name code is 32ZD5. According to the corresponding relationship in Table 1, the corresponding values ​​of 32ZD5 are 3, 2, 33, 13, and 5, respectively. Therefore, the value is converted into the corresponding binary code 000011000010100001001101000101. The binary code of the first 4 bits of the code is mapped to the last 24 bits of the EPC code domain name management part, and the binary code of the fifth bit of the base name code is mapped to the first 6 bits of the EPC code object classification.

[0061] Finally, the aviation equipment variety code is 871A45ZF6, the first two digits of which are the coding agency code 87, corresponding to the binary value 1, mapped to the 4th bit of the EPC code domain name management part, the 3rd bit of the variety code is 1, according to Table 2, the corresponding value is 1, so the corresponding binary value is 0001, mapped to the 7th to 10th bits of the EPC code object classification, the remaining sequence code A45ZF6 also obtains the corresponding value according to Table 1 and corresponds to the binary value, and the remaining sequence code corresponding to the binary is completely mapped to the serial number part of the EPC code.

[0062] When all mappings are completed, the aircraft equipment EPC code is obtained. There are still 3 redundant binary bits in the aircraft equipment EPC code, which can be used for subsequent expansion of the aircraft equipment code mapping to the EPC code, ensuring the scalability of the aircraft equipment code to EPC code mapping.

[0063] S2, uses the improved Fesitel network to encrypt the EPC code of aviation equipment.

[0064] The traditional Feistel network does not pay attention to the format of plaintext and ciphertext during the encryption process. Instead, it disrupts the order of data through multiple rounds of iterative exchanges between left and right groups. However, after the EPC code is encrypted, it is necessary to ensure that the EPC code remains in binary format and its length remains unchanged. Therefore, the present invention combines the format-preserving encryption algorithm with the traditional Feistel network to maintain the format integrity of the EPC code during the encryption process. At the same time, because the EPC code header contains important version number information and does not contain aircraft equipment coding information, the 96-bit binary data of the EPC code is innovatively split into tweak (scrambling code), left (left half) and right (right half). Among them, tweak is used to resolve the conflict problem that may be caused by local encryption. The specific steps are:

[0065] S21, segment the EPC code.

[0066] The first 8 bits of the EPC version number are used as a scrambling code (tweak), and the remaining 88 bits of data are divided equally into a left half (left) and a right half (right), with the first 44 bits representing the left portion and the last 44 bits representing the right portion. The improved Fesitel network introduces a tweak, allowing each EPC code to incorporate external information, the version number, into the encryption process. This ensures that even if the EPC code portion is identical when using different versions of the EPC code for aircraft equipment, identical ciphertext will not be generated, thus avoiding encryption conflicts and resolving conflicts that may arise from local encryption. In this invention, the first 8 bits of the EPC version number are used as a tweak. This portion of data is not encrypted during the encryption process, but rather remains intact as an auxiliary parameter in the encryption operation. This ensures that the specific encoded portion (version number) remains consistent after encryption and is not modified. The remaining 88 bits of data are divided equally into a left half (left) and a right half (right), with the first 44 bits representing the left portion and the last 44 bits representing the right portion, for subsequent encryption processing.

[0067] S22, generate a pseudo-random sequence.

[0068] The key, tweak, and the current iteration round are combined as a seed and a HMAC (Hash-based Message Authentication Code) pseudo-random number generator is used to generate a pseudo-random sequence. The HMAC pseudo-random number generator is specifically:

[0069]

[0070] Where K is the key; seed is the concatenation of the key K, the scrambling code tweak, and the current iteration index using a string; the iteration index is initialized to 1 and increments by 1 after each iteration; the key K and the seed are used as input; H() is the hash function. In this embodiment, the hash function selected is SHA-256, which ensures the security of the message and key after double hashing; ipad and opad are the inner and outer padding constants, respectively. In this embodiment, the standard values ​​are 0x36 and 0x5c, used to scramble the key; ∥ is the standard string concatenation operator. The HMAC algorithm generates a highly random and secure pseudo-random sequence s by performing an exclusive-or operation on the key K and the two padding constants ipad and opad, respectively, and performing two hash operations on the seed. The result is a highly random and secure pseudo-random sequence s. The length of the pseudo-random sequence s is determined by the output length of the hash function, such as 32 bytes for SHA-256. In this embodiment, the seed changes regularly according to the iteration round, ensuring that the generated pseudo-random sequence s is different each time and that the corresponding pseudo-random sequence s is generated during decryption.

[0071] S23, obtain a binary number as the round key F.

[0072] The HMAC pseudorandom number generator generates a pseudorandom sequence s. Each digit in the pseudorandom sequence ranges from 0 to 9, so each digit can be represented using an 8-bit binary number. The first 6 digits of the pseudorandom sequence are truncated and converted to binary to obtain a 48-bit binary number. The first 44 digits of the binary number are then truncated as the round key F. This ensures that the generated round key F is unpredictable in each round and does not repeat between rounds.

[0073] S24, iterative encryption.

[0074] Perform bit-by-bit XOR operation on left and F to get the intermediate result temp. At this time, replace left with right, and right with temp to complete one iteration. The encryption process is as follows: Figure 3 After multiple rounds of iterations, tweak, left, and right are reconstructed to obtain the final encryption result.

[0075] Through the improved Feistel structure, the present invention not only retains the original format of the EPC code, but also improves the security and anti-attack performance of data encryption.

[0076] During decryption, the same pseudo-random number generation mechanism and XOR operation as used for encryption are used to reverse the Feistel network operations and gradually recover the plaintext. This achieves efficient data decryption while ensuring security and ensuring that the decrypted result is consistent with the original data before encryption.

[0077] Finally, it should be noted that the embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. An improved Fesitel-based EPC coding encryption method for aviation equipment, characterized by: It includes the following steps: S1, mapping of aircraft equipment codes to EPC codes; The aviation equipment code consists of a classification code, a base name code, and a variety code, each of which is represented by 0-9 or letters. The EPC code consists of a header, a domain name management, an object classification, and a serial number, each of which is represented in binary. When mapping the aircraft equipment code to the EPC code, the EPC code header is determined according to the converted EPC code version; The classification code in the aviation equipment code has two digits each representing a first-level classification, a total of 4 digits, which are mapped to the object classification part of the EPC code; The base name code in the aircraft equipment code is 5 digits in total, of which 4 digits are mapped to the domain name management of the EPC code, and 1 digit is mapped to the remaining position of the object classification part of the EPC code; The variety code in the aircraft equipment code is 9 digits in total, of which the first and second digits are mapped to the domain name management of the EPC code; the third digit is mapped to the object classification of the EPC code, and the remaining 4-9 digits of the variety code are mapped to the serial number of the EPC code; S2, using the improved Fesitel network to encrypt the EPC code of aviation equipment; S21, segmenting the EPC code; The EPC version number is used as the scrambling code tweak, and the remaining bit data is divided into the left half and the right half; S22, generating a pseudo-random sequence; The key, tweak, and the current iteration round are combined as a seed and the HMAC pseudo-random number generator is used to generate a pseudo-random sequence s. The HMAC pseudo-random number generator is specifically: s=HMAC(K,seed)=H((K⊕opad)∥H((K⊕ipad)∥seed)) (1) Where K is the key; seed is the seed obtained by concatenating the key K, the scrambling code tweak, and the current iteration index using a string; the iteration index is initially 1 and increments by 1 after each iteration; the key K and the seed are used as input; H() is the hash function, ipad and opad are the padding constants for the inner and outer layers, respectively, used to scramble the key; ∥ is the standard string concatenation operator; S23, obtaining a binary number as the round key F; Each bit of the pseudo-random sequence s is 0-9. After intercepting the pseudo-random sequence and converting it into a binary number, the binary number with the same digits as the left half or the right half is intercepted as the round key F; S24, iterative encryption; Left is XORed bit by bit with F to obtain the intermediate result temp. At this time, left is replaced by right, and right is replaced by temp to complete one iteration. After a specified number of iterations, tweak, left, and right are re-joined to obtain the final encryption result.

2. The improved Fesitel-based EPC coding encryption method for aviation equipment according to claim 1, characterized in that: The aviation equipment code is 18 bits and the EPC code is 96 bits.

3. The improved Fesitel-based EPC coding encryption method for aviation equipment according to claim 2, characterized in that: The specific process of mapping the S1 aviation equipment code to the EPC code is as follows: When the aircraft equipment code is mapped to the EPC code, the EPC code header is 8 bits, which is determined by the version of the EPC code being converted; The classification code in the aviation equipment coding adopts a two-level classification, one-level and two-level classification. Each two digits represent the first level classification, and the value ranges from 01 to 99. The number of solutions that can be represented by the four-digit classification code is 99 × 99 = 9801, and the corresponding binary digits are 14 bits. The object classification part of the EPC code has a total of 24 bits of binary code, which is mapped to the object classification part of the EPC code. After the mapping is completed, 10 bits remain. In the aviation equipment code, the base name code is 5 digits in total. The base name code consists of Arabic numerals 0 to 9 and uppercase letters except I and O. There are 34 schemes for the value of each digit, and each scheme is represented by a binary number. In order to distinguish, each digit of the base name code is represented by a 6-bit binary code. The domain name management in the EPC code is 28 bits, and the object classification is 10 bits. The first 4 bits of the base name code are mapped to the domain name management in the EPC code, and the last bit of the base name code is mapped to the EPC object classification. Therefore, after the mapping is completed, in the EPC code, the domain name management has 4 binary bits and the object classification has 4 binary bits. In the aircraft equipment coding, the variety code has a total of 9 digits, of which the 1st and 2nd digits are fixed values ​​86 or 87 and are used to distinguish the coding agency. Therefore, the 1st and 2nd digits of the variety code can be represented in the EPC code with only 1 binary bit. The 1st and 2nd digits of the variety code are mapped to the domain name management office of the EPC code. At this time, there are still 3 binary digits left in the domain name management office of the EPC code; the 3rd digit of the variety code has a specific meaning in the aircraft equipment coding, including {0~9, M, S}, a total of 12 schemes, which are distinguished by 4-bit binary coding, so the 3rd digit is mapped to the object classification of the EPC code; the remaining 4-9 digits of the variety code are the variety serial code, which consists of Arabic numerals 0~9 and uppercase letters except I and O. Each character of the 4-9 digits of the variety serial code is still represented by a 6-bit binary code, so the variety serial code requires a total of 36 binary bits, and the serial number part of the EPC code is 36 bits. The variety serial code is completely mapped to the serial number of the EPC code.

4. The improved Fesitel-based EPC coding encryption method for aviation equipment according to claim 2, characterized in that: In S21, the first 8 bits of the EPC version number are used as the scrambling code tweak, and the remaining 88 bits of data are divided equally into a left half (left) and a right half (right), wherein the first 44 bits are left and the last 44 bits are right.

5. The improved Fesitel-based EPC coding encryption method for aviation equipment according to claim 2, characterized in that: In S22, the hash function is SHA-256, and the values ​​of ipad and opad are 0x36 and 0x5c respectively.

6. The improved Fesitel-based EPC coding encryption method for aviation equipment according to claim 2, characterized in that: In S23, each bit of the pseudo-random sequence s has a value of 0-9, and an 8-bit binary number is used to represent the different values ​​of each bit. The first 6 bits of the pseudo-random sequence are intercepted and converted into binary to obtain a 48-bit binary number, and the first 44 bits of the binary number are intercepted as the round key F.

7. The improved Fesitel-based EPC coding encryption method for aviation equipment according to claim 1, characterized in that: It also includes the decryption process, specifically: using the same pseudo-random number generation mechanism and XOR operation as encryption, reversely executing the operations of the Feistel network, and gradually recovering the plaintext.

Citation Information

Patent Citations

  • Code scrambling method for electronic code of RFID labeled product

    CN105512590A

  • Method and apparatus for implementing lightweight block cipher SCS

    CN108123791A