Traceability management method, device and equipment for Beidou module product and medium

By symmetric encryption processing and traceability management of Beidou modules, the problems of key performance and supply chain traceability of Beidou terminal positioning modules are solved, efficient equipment authentication and compliance verification are achieved, and the safety and reliability of Beidou equipment are improved. sex.

CN119051893AActive Publication Date: 2024-11-29CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411024553.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-29
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

The existing technology cannot efficiently confirm the key performance technical parameters of the positioning module used by the Beidou terminal and the supply chain traceability, which makes it difficult for the industry to ensure the accuracy and reliability of Beidou equipment.

Method used

By symmetrically encrypting the key information of Beidou module products, an encryption license is generated, and stored and verified in the module, ensuring the authentication and traceability management of module identity.

Benefits of technology

It has realized efficient certification and compliance verification of Beidou modules, ensured the positioning performance of the equipment and supply chain transparency, and improved the safety and reliability of the entire industry.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119051893A_ABST
    Figure CN119051893A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of data processing, and particularly relates to a source tracing management method and device for a Beidou module product, equipment and a medium. According to the method, an encryption license is generated for the Beidou module through a module unique identifier and a symmetric encryption algorithm based on each Beidou module, and the encryption license is stored in the module. And then reading and decrypting the encryption license of the module, comparing the encryption license with the unique identifier of the module, and confirming the identity of the module, so that the use compliance of the Beidou module can be verified with high efficiency and high quality when the Beidou module is applied on a large scale.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data processing technology, and specifically relates to a traceability management method, device, equipment and medium for Beidou module products. Background Art

[0002] Symmetric key encryption, also known as single-key encryption, refers to an encryption method that uses the same key for encryption and decryption. The sender uses the key to convert plaintext into ciphertext, and the receiver uses the same key to convert the ciphertext back into plaintext. The biggest advantage of symmetric encryption is its fast encryption speed, which is suitable for encryption of large amounts of data. Its processing speed is much faster than asymmetric encryption, and its implementation is simple, which can effectively save computing resources. Symmetric encryption is widely used in network transmission, file encryption, database encryption and other fields, especially in environments that require high-speed data processing. Symmetric key technology has been widely used in the field of data encryption due to its efficiency and practicality.

[0003] Asymmetric key technology, also known as public key cryptography, is a method of encryption and decryption using a pair of keys, which includes a public key and a confidential private key. The public key can be made public to anyone, while the private key must be kept strictly confidential. The basis of this technology is that data encrypted with a public key can only be decrypted with the corresponding private key, and vice versa. Asymmetric key technology is very important in network security because it solves the problem of key distribution and provides the function of digital signature. Generally speaking, when using a key length with the same confidentiality, the processing speed of asymmetric cryptography is only a few hundredths of that of symmetric cryptography. Therefore, asymmetric cryptography is not suitable for encrypting very long message content and frequent encryption scenarios, and cannot meet the frequent writing requirements of ID modules.

[0004] As the Beidou satellite navigation system is increasingly used in the industry, the requirements for the accuracy and reliability of Beidou terminals are becoming increasingly higher. Summary of the invention

[0005] The purpose of the present invention is to provide a traceability management method, device, equipment and medium for Beidou module products to solve the problem that the prior art cannot efficiently confirm the key performance technical parameters of the positioning module used by Beidou terminals in the industry and the supply chain traceability.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] In a first aspect, the present invention provides a traceability management method for Beidou module products, comprising:

[0008] Acquire key information corresponding to the Beidou module product, and store the key information in the corresponding Beidou module product; wherein the key information includes module manufacturer information, module model and software version number, and a module unique identifier representing the identity of each Beidou module product;

[0009] Generate plaintext bit string data based on the key information of the Beidou module product;

[0010] Perform symmetric encryption processing based on the plaintext bit string data to obtain encrypted ciphertext data;

[0011] Performing a MAC operation on the encrypted ciphertext data to obtain a MAC check value;

[0012] Concatenate the encrypted ciphertext data and the MAC check value to obtain an encrypted license;

[0013] For Beidou module products that have been integrated into Beidou terminals, read the encryption license in the Beidou module product and obtain the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license;

[0014] The module manufacturer information, module model, software version number and module unique identifier contained in the encryption license are compared with the key information stored in the Beidou module product; if the comparison results are consistent, the Beidou module product passes the authentication; if the comparison results are inconsistent, the Beidou module product authentication fails.

[0015] Furthermore, key information corresponding to the Beidou module product is obtained, and the key information is stored in the corresponding Beidou module product; wherein the key information is replaced by codes in the form of numbers and / or English letters, and a mapping relationship between the key information and the corresponding code is established; and the corresponding code is saved in the corresponding Beidou module product.

[0016] Furthermore, the module manufacturer information, module model and software version number are respectively replaced by two ASCII characters, and the module unique identifier is replaced by ten ASCII characters.

[0017] Further, plaintext bit string data is generated based on the key information of the Beidou module product, including:

[0018] Convert the two ASCII characters corresponding to the module manufacturer information, the two ASCII characters corresponding to the module model, the two ASCII characters corresponding to the software version number, and the ten ASCII characters corresponding to the module unique identifier into a bit string to obtain 16 bytes of plain text bit string data.

[0019] Further, symmetric encryption processing is performed based on the plaintext bit string data to obtain encrypted ciphertext data, including:

[0020] Filling the plaintext bit string data to obtain plaintext bit string filling data that conforms to the block multiple of the grouping algorithm;

[0021] Symmetric encryption is performed based on the plaintext bit string padding data to obtain encrypted ciphertext data.

[0022] Furthermore, for the Beidou module product that has been integrated into the Beidou terminal, read the encryption license in the Beidou module product to obtain the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license, including:

[0023] Split the encrypted license to obtain the encrypted ciphertext data and MAC check value;

[0024] Perform MAC verification operation based on the encrypted ciphertext data and MAC verification value; if the MAC verification fails, it means that the encryption license has been modified and an error is returned; if the MAC verification succeeds, perform symmetric decryption based on the encrypted ciphertext data to obtain the decrypted plaintext data;

[0025] Defilling is performed based on the decrypted plaintext data; after successful defilling, a defilling result is obtained, which includes the module manufacturer information, module model, software version number and module unique identifier contained in the encrypted license; if defilling fails, an error is returned and exited.

[0026] Furthermore, the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license are compared with the key information stored in the Beidou module product; if the comparison results are consistent, the Beidou module product passes the authentication; if the comparison results are inconsistent, the Beidou module product authentication fails, including:

[0027] Module manufacturer information comparison: Take the first two codes of the solution filling result and compare them with the module manufacturer information. If the comparison fails, return an error and exit; if the comparison passes, perform module model comparison;

[0028] Module model comparison: Take the third and fourth digits of the solution filling result and compare them with the module model. If the comparison fails, return an error and exit; if the comparison passes, compare the software version number;

[0029] Software version number comparison: Take the fifth and sixth digits of the solution filling result and compare them with the software version number. If the comparison fails, return an error and exit; if the comparison passes, perform a module unique identification comparison;

[0030] Module unique identification comparison: Take the last ten digits of the solution filling result and compare it with the module unique identification. If the comparison fails, an error is returned and exited; if the comparison passes, the current Beidou module product is successfully authenticated.

[0031] In a second aspect, the present invention provides a traceability management device for Beidou module products, including:

[0032] A data acquisition module, used to acquire key information corresponding to a Beidou module product, and store the key information in the corresponding Beidou module product; wherein the key information includes module manufacturer information, module model and software version number, and a module unique identifier representing the identity of each Beidou module product;

[0033] A first data processing module, used to generate plaintext bit string data based on the key information of the Beidou module product;

[0034] A second data processing module, used for performing symmetric encryption processing based on the plaintext bit string data to obtain encrypted ciphertext data;

[0035] A second data processing module is used to perform MAC operation on the encrypted ciphertext data to obtain a MAC check value;

[0036] A fourth data processing module, used for concatenating the encrypted ciphertext data and the MAC check value to obtain an encrypted license;

[0037] The fifth data processing module is used to read the encryption license in the Beidou module product for the Beidou module product that has been integrated into the Beidou terminal, and obtain the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license;

[0038] The data authentication module is used to compare the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license with the key information stored in the Beidou module product; when the comparison results are consistent, the Beidou module product passes the authentication; when the comparison results are inconsistent, the Beidou module product authentication fails.

[0039] According to a third aspect of the present invention, an electronic device is provided, comprising a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the traceability management method for Beidou module products as described above.

[0040] In a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by a processor, the traceability management method for Beidou module products as described above is implemented.

[0041] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0042] The present invention provides a traceability management method for a Beidou module product. Based on the module unique identifier of each Beidou module and a symmetric encryption algorithm, an encryption license is generated for the Beidou module and stored in the module. Afterwards, the module's encryption license is read and decrypted, and compared with the module unique identifier of the module to confirm the module identity, so that when the Beidou module is applied on a large scale, the compliance of the use of the Beidou module can be verified efficiently and with high quality. The traceability management device, electronic device, and computer-readable storage medium for a Beidou module product provided by the present invention also solve the problems raised in the background technology section.

[0043] This solution uses module encryption licenses to assist testing agencies in quickly inspecting Beidou equipment to determine whether the equipment's positioning performance meets industry requirements. When industry users inspect Beidou equipment upon arrival, they can also quickly inspect batches of equipment by authenticating the Beidou module encryption license in the equipment to achieve efficient equipment acceptance. When industry users are counting the online rate and compliance rate of Beidou equipment in the industry, they can also verify the encryption license of the Beidou module in the equipment to achieve efficient and real-time data verification. When Beidou equipment is connected to the business system, it can also verify the module license in the device to ensure the compliance and credibility of the accessed equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The drawings constituting a part of the present application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0045] Figure 1 This is a flow chart of a traceability management method for a Beidou module product according to an embodiment of the present invention;

[0046] Figure 2 This is a structural block diagram of a traceability management device for a Beidou module product according to an embodiment of the present invention;

[0047] Figure 3 The present invention is a structural block diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0049] The following detailed description is an exemplary description, which is intended to provide further detailed description of the present invention. Unless otherwise specified, all technical terms used in the present invention have the same meaning as those generally understood by those skilled in the art to which the present application belongs. The terms used in the present invention are only for describing specific embodiments, and are not intended to limit exemplary embodiments according to the present invention.

[0050] Example 1

[0051] MAC: (message authentication code) Message authentication code, also known as message authentication code, is the output of the message authentication algorithm.

[0052] ASCII code: (American Standard Code for Information Interchange): American Standard Code for Information Interchange. It is a computer coding system based on the Latin alphabet. It is the most common information exchange standard.

[0053] like Figure 1 As shown, an embodiment of the present invention provides a traceability management method for Beidou module products, including:

[0054] S1. Obtain key information corresponding to the Beidou module product, and store the key information in the corresponding Beidou module product; wherein the key information includes module manufacturer information, module model and software version number, and a module unique identifier representing the identity of each Beidou module product.

[0055] S2. Generate plaintext bit string data based on the key information of the Beidou module product.

[0056] S3. Perform symmetric encryption processing based on the plaintext bit string data to obtain encrypted ciphertext data.

[0057] S4. Perform MAC operation on the encrypted ciphertext data to obtain a MAC check value.

[0058] S5. Concatenate the encrypted ciphertext data and the MAC check value to obtain an encrypted license.

[0059] S6. For the Beidou module product that has been integrated into the Beidou terminal, read the encryption license in the Beidou module product to obtain the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license.

[0060] S7. Compare the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license with the key information stored in the Beidou module product; if the comparison results are consistent, the Beidou module product passes the authentication; if the comparison results are inconsistent, the Beidou module product authentication fails.

[0061] This solution provides a method for generating and authenticating Beidou module product encryption licenses, which is conducive to the management of Beidou terminals in the industry: only modules that have obtained licenses can be integrated and applied by Beidou terminals, avoiding the use of Beidou modules that do not meet the requirements, and effectively realizing the management of the supply chain source. It can realize real-time information sharing in all links, improve transparency and collaboration efficiency; at the same time, it builds a trusted basic support system for Beidou upper-layer applications in the industry, thereby improving the security and reliability of Beidou terminals in the entire industry and ensuring the information security and business stability of enterprises.

[0062] In an optional embodiment, the present invention further provides a traceability management method for Beidou module products, including:

[0063] Step 1: Test the key performance parameters of the module samples provided by the module manufacturer. The test objects include module hardware and supporting software.

[0064] Step 2: Replace the manufacturer information, module model, and software version number of the qualified module with digital or English letter codes, establish a mapping relationship, and save it in the database. In the subsequent production process, the code corresponding to the manufacturer information, module model, and software version number needs to be saved in the module and can be read.

[0065] Step 3: For each module product of the module category that has been put into storage, generate an encryption license based on the National Encryption 4 algorithm by reading the manufacturer information, module model, the code corresponding to the software version number, and the unique identifier representing the identity of each module product. The encryption license is saved in the module and can be read and cannot be overwritten.

[0066] Step 4: For modules that have been integrated into Beidou terminals, read the encrypted license in the module and decode it to obtain the module manufacturer information, module model, software version number, and module unique identifier contained in the encrypted license, and compare them with the above information directly read from the module. If they are consistent, the module product passes the certification.

[0067] Specifically, the method comprises the following steps:

[0068] S100, obtaining key information corresponding to the Beidou module product, and storing the key information in the corresponding Beidou module product; wherein the key information includes module manufacturer information, module model and software version number, and a module unique identifier representing the identity of each Beidou module product.

[0069] In a preferred embodiment, before the step of obtaining the key information corresponding to the Beidou module product, a step of performing quality inspection on the Beidou module product is also included, specifically including:

[0070] The key performance parameters of the Beidou module samples provided by the module manufacturers are tested, and the key information and key performance parameters of the Beidou module products corresponding to the Beidou module samples that pass the test results are stored in the database.

[0071] Among them, the detection objects include module hardware and supporting software.

[0072] In an optional embodiment, key information corresponding to a Beidou module product is obtained and stored in the corresponding Beidou module product; wherein the key information is replaced by codes in the form of numbers and / or English letters, and a mapping relationship between the key information and the corresponding code is established; and the corresponding code is stored in the corresponding Beidou module product.

[0073] As a specific example, the module manufacturer information, module model and software version number are respectively replaced by two ASCII characters, and the module unique identifier is replaced by ten ASCII characters.

[0074] S200. Generate plaintext bit string data based on the key information of the Beidou module product.

[0075] In an optional embodiment, plaintext bit string data is generated based on the key information of the Beidou module product, including: converting the two ASCII code characters corresponding to the module manufacturer information, the two ASCII code characters corresponding to the module model, the two ASCII code characters corresponding to the software version number, and the ten ASCII code characters corresponding to the module unique identifier into a bit string to obtain 16 bytes of plaintext bit string data.

[0076] S300: Perform symmetric encryption processing based on the plaintext bit string data to obtain encrypted ciphertext data.

[0077] In an optional embodiment, symmetric encryption processing is performed based on the plaintext bit string data to obtain encrypted ciphertext data, including: padding the plaintext bit string data to obtain plaintext bit string padding data that conforms to the block multiple of the grouping algorithm; and symmetric encryption is performed based on the plaintext bit string padding data to obtain encrypted ciphertext data.

[0078] As a specific example, based on the plaintext bit string data, pre-processing is performed before encryption, and the plaintext bit string data is padded to obtain 32-byte plaintext bit string padded data that meets the block multiple of the grouping algorithm from the 16-byte plaintext bit string data; based on the 32-byte plaintext bit string padded data, symmetric encryption is performed using the National Secret 4 algorithm to obtain 32-byte encrypted ciphertext data.

[0079] S400: Perform MAC operation on the encrypted ciphertext data to obtain a MAC check value.

[0080] In an optional embodiment, based on the encrypted ciphertext data, a MAC operation is performed on the encrypted ciphertext using the National Secret 4 algorithm to obtain a 16-byte MAC check value.

[0081] S500: Concatenate the encrypted ciphertext data and the MAC check value to obtain an encrypted license.

[0082] In an optional embodiment, 32 bytes of encrypted ciphertext data are concatenated with 16 bytes of MAC check value to obtain 48 bytes of data as module encryption license data.

[0083] S600: For a Beidou module product that has been integrated into a Beidou terminal, read the encryption license in the Beidou module product, and obtain the module manufacturer information, module model, software version number, and module unique identifier contained in the encryption license.

[0084] In an optional embodiment, for a Beidou module product that has been integrated into a Beidou terminal, an encryption license in the Beidou module product is read to obtain the module manufacturer information, module model, software version number, and module unique identifier contained in the encryption license, including:

[0085] 1) Split the encrypted license to obtain the encrypted ciphertext data and MAC check value;

[0086] As a specific example, when splitting the data, the 48-byte module encryption license data is split to obtain 32-byte encrypted ciphertext data and 16-byte MAC check value data, which are input into the authentication process.

[0087] 2) Perform MAC verification operation based on the encrypted ciphertext data and the MAC verification value; if the MAC verification fails, it means that the encryption license has been modified and an error is returned; if the MAC verification succeeds, symmetric decryption is performed based on the encrypted ciphertext data to obtain the decrypted plaintext data;

[0088] As a specific example, based on the encrypted ciphertext data and MAC check value data, the MAC check operation is performed using the National Secret 4 algorithm. If the check fails, it means that the encryption license has been modified and an error is returned to exit, otherwise continue. Based on the 32-byte encrypted ciphertext data, the National Secret 4 algorithm is used for symmetric decryption to obtain 32 bytes of decrypted plaintext data.

[0089] 3) Perform defilling based on the decrypted plaintext data; obtain the defilling result after successful defilling, which includes the module manufacturer information, module model, software version number and module unique identifier contained in the encrypted license; return an error and exit if the defilling fails.

[0090] As a specific example, based on 32 bytes of decrypted plaintext data, defilling is performed to obtain a 16-byte defilling result. If defilling fails, it means that the source of the encrypted license data is illegal, and an error is returned to exit; otherwise, the process continues.

[0091] S700. Compare the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license with the key information stored in the Beidou module product; if the comparison results are consistent, the Beidou module product passes the authentication; if the comparison results are inconsistent, the Beidou module product authentication fails.

[0092] In an optional embodiment, the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license are compared with the key information stored in the Beidou module product; when the comparison results are consistent, the Beidou module product passes the authentication; when the comparison results are inconsistent, the Beidou module product authentication fails, including:

[0093] 1) Module manufacturer information comparison: Take the first two codes of the solution filling result and compare them with the module manufacturer information. If the comparison fails, return an error and exit; if the comparison passes, perform module model comparison;

[0094] 2) Module model comparison: Take the third and fourth digits of the solution filling result and compare them with the module model. If the comparison fails, return an error and exit; if the comparison passes, compare the software version number;

[0095] 3) Software version number comparison: Take the fifth and sixth digits of the solution filling result and compare them with the software version number. If the comparison fails, return an error and exit; if the comparison passes, perform a module unique identification comparison;

[0096] 4) Module unique identification comparison: Take the last ten digits of the solution filling result and compare it with the module unique identification. If the comparison fails, an error is returned and exited; if the comparison passes, the current Beidou module product is successfully authenticated.

[0097] As a specific example, based on the 16-byte destuffing result, data is taken in sequence for comparison:

[0098] Take the first two ASCII characters of the decompressed filling result and compare them with the module manufacturer information. If they are different, it means that the module manufacturer information is inconsistent. Return an error and exit. Otherwise, continue.

[0099] Take the third and fourth ASCII characters of the decompressed filling result and compare them with the module model. If they are different, the module models are inconsistent. Return an error and exit. Otherwise, continue.

[0100] Take the fifth and sixth ASCII characters of the decompressed filling result and compare them with the software version number. If they are different, it means the software version numbers are inconsistent. Return an error and exit. Otherwise, continue.

[0101] Take the last ten ASCII characters of the decompression and filling result and compare them with the module unique identifier. If they are different, it means that the module unique identifier is inconsistent. Return an error and exit. Otherwise, continue;

[0102] The above data comparisons are all successful, indicating that the module encryption license has passed the authentication.

[0103] Example 2

[0104] like Figure 2 As shown, based on the same inventive concept as the above embodiment, the present invention also provides a traceability management device for Beidou module products, including:

[0105] A data acquisition module, used to acquire key information corresponding to a Beidou module product, and store the key information in the corresponding Beidou module product; wherein the key information includes module manufacturer information, module model and software version number, and a module unique identifier representing the identity of each Beidou module product;

[0106] A first data processing module, used to generate plaintext bit string data based on the key information of the Beidou module product;

[0107] A second data processing module, used for performing symmetric encryption processing based on the plaintext bit string data to obtain encrypted ciphertext data;

[0108] A second data processing module is used to perform MAC operation on the encrypted ciphertext data to obtain a MAC check value;

[0109] A fourth data processing module, used for concatenating the encrypted ciphertext data and the MAC check value to obtain an encrypted license;

[0110] The fifth data processing module is used to read the encryption license in the Beidou module product for the Beidou module product that has been integrated into the Beidou terminal, and obtain the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license;

[0111] The data authentication module is used to compare the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license with the key information stored in the Beidou module product; when the comparison results are consistent, the Beidou module product passes the authentication; when the comparison results are inconsistent, the Beidou module product authentication fails.

[0112] Example 3

[0113] like Figure 3 As shown, the present invention also provides an electronic device 100 for implementing a traceability management method for Beidou module products;

[0114] The electronic device 100 includes a memory 101 , at least one processor 102 , a computer program 103 stored in the memory 101 and executable on the at least one processor 102 , and at least one communication bus 104 .

[0115] The memory 101 can be used to store a computer program 103 , and the processor 102 implements the traceability management method steps of the Beidou module product in Example 1 by running or executing the computer program stored in the memory 101 and calling the data stored in the memory 101 .

[0116] The memory 101 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data (such as audio data) created according to the use of the electronic device 100, etc. In addition, the memory 101 may include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.

[0117] At least one processor 102 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 102 may be a microprocessor or any conventional processor, etc. The processor 102 is the control center of the electronic device 100, and uses various interfaces and lines to connect various parts of the entire electronic device 100.

[0118] The memory 101 in the electronic device 100 stores a plurality of instructions to implement a traceability management method for Beidou module products, and the processor 102 can execute the plurality of instructions to implement:

[0119] Acquire key information corresponding to the Beidou module product, and store the key information in the corresponding Beidou module product; wherein the key information includes module manufacturer information, module model and software version number, and a module unique identifier representing the identity of each Beidou module product;

[0120] Generate plaintext bit string data based on the key information of the Beidou module product;

[0121] Perform symmetric encryption processing based on the plaintext bit string data to obtain encrypted ciphertext data;

[0122] Performing a MAC operation on the encrypted ciphertext data to obtain a MAC check value;

[0123] Concatenate the encrypted ciphertext data and the MAC check value to obtain an encrypted license;

[0124] For Beidou module products that have been integrated into Beidou terminals, read the encryption license in the Beidou module product and obtain the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license;

[0125] The module manufacturer information, module model, software version number and module unique identifier contained in the encryption license are compared with the key information stored in the Beidou module product; if the comparison results are consistent, the Beidou module product passes the authentication; if the comparison results are inconsistent, the Beidou module product authentication fails.

[0126] Example 4

[0127] If the module / unit integrated in the electronic device 100 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory and read-only memory (ROM, Read-Only Memory).

[0128] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0129] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0130] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0131] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0132] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A traceability management method for Beidou module products, characterized in that: include: Acquire key information corresponding to the Beidou module product, and store the key information in the corresponding Beidou module product; wherein the key information includes module manufacturer information, module model and software version number, and a module unique identifier representing the identity of each Beidou module product; Generate plaintext bit string data based on the key information of the Beidou module product; Perform symmetric encryption processing based on the plaintext bit string data to obtain encrypted ciphertext data; Performing a MAC operation on the encrypted ciphertext data to obtain a MAC check value; Concatenate the encrypted ciphertext data and the MAC check value to obtain an encrypted license; For Beidou module products that have been integrated into Beidou terminals, read the encryption license in the Beidou module product and obtain the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license; The module manufacturer information, module model, software version number and module unique identifier contained in the encryption license are compared with the key information stored in the Beidou module product; if the comparison results are consistent, the Beidou module product passes the authentication; if the comparison results are inconsistent, the Beidou module product authentication fails.

2. The traceability management method according to claim 1, characterized in that: Obtain key information corresponding to the Beidou module product, and store the key information in the corresponding Beidou module product; wherein the key information is replaced by codes in the form of numbers and / or English letters, and a mapping relationship between the key information and the corresponding code is established; and the corresponding code is stored in the corresponding Beidou module product.

3. The traceability management method according to claim 2, characterized in that: The module manufacturer information, module model and software version number are respectively replaced by two ASCII characters, and the module unique identifier is replaced by ten ASCII characters.

4. The traceability management method according to claim 3 is characterized in that: The plaintext bit string data is generated based on the key information of the Beidou module product, including: Convert the two ASCII characters corresponding to the module manufacturer information, the two ASCII characters corresponding to the module model, the two ASCII characters corresponding to the software version number, and the ten ASCII characters corresponding to the module unique identifier into a bit string to obtain 16 bytes of plain text bit string data.

5. The traceability management method according to claim 1, characterized in that: Symmetric encryption is performed based on the plaintext bit string data to obtain encrypted ciphertext data, including: Filling the plaintext bit string data to obtain plaintext bit string filling data that conforms to the block multiple of the grouping algorithm; Symmetric encryption is performed based on the plaintext bit string padding data to obtain encrypted ciphertext data.

6. The traceability management method according to claim 1, characterized in that: For Beidou module products that have been integrated into Beidou terminals, read the encryption license in the Beidou module product and obtain the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license, including: Split the encrypted license to obtain the encrypted ciphertext data and MAC check value; Perform MAC verification operation based on the encrypted ciphertext data and MAC verification value; if the MAC verification fails, it means that the encryption license has been modified and an error is returned; if the MAC verification succeeds, perform symmetric decryption based on the encrypted ciphertext data to obtain the decrypted plaintext data; Defilling is performed based on the decrypted plaintext data; after successful defilling, a defilling result is obtained, which includes the module manufacturer information, module model, software version number and module unique identifier contained in the encrypted license; if defilling fails, an error is returned and exited.

7. The traceability management method according to claim 6, characterized in that: Compare the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license with the key information stored in the Beidou module product; if the comparison results are consistent, the Beidou module product passes the certification; If the comparison results are inconsistent, the Beidou module product authentication fails, including: Module manufacturer information comparison: Take the first two codes of the solution filling result and compare them with the module manufacturer information. If the comparison fails, return an error and exit; if the comparison passes, perform module model comparison; Module model comparison: Take the third and fourth digits of the solution filling result and compare them with the module model. If the comparison fails, return an error and exit; if the comparison passes, compare the software version number; Software version number comparison: Take the fifth and sixth digits of the solution filling result and compare them with the software version number. If the comparison fails, return an error and exit; if the comparison passes, perform a module unique identification comparison; Module unique identification comparison: Take the last ten digits of the solution filling result and compare it with the module unique identification. If the comparison fails, an error is returned and exited; if the comparison passes, the current Beidou module product is successfully authenticated.

8. A traceability management device for Beidou module products, characterized in that: include: A data acquisition module, used to acquire key information corresponding to a Beidou module product, and store the key information in the corresponding Beidou module product; wherein the key information includes module manufacturer information, module model and software version number, and a module unique identifier representing the identity of each Beidou module product; A first data processing module, used to generate plaintext bit string data based on the key information of the Beidou module product; A second data processing module, used for performing symmetric encryption processing based on the plaintext bit string data to obtain encrypted ciphertext data; A second data processing module is used to perform MAC operation on the encrypted ciphertext data to obtain a MAC check value; A fourth data processing module, used for concatenating the encrypted ciphertext data and the MAC check value to obtain an encrypted license; The fifth data processing module is used to read the encryption license in the Beidou module product for the Beidou module product that has been integrated into the Beidou terminal, and obtain the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license; The data authentication module is used to compare the module manufacturer information, module model, software version number and module unique identifier contained in the encryption license with the key information stored in the Beidou module product; when the comparison results are consistent, the Beidou module product passes the authentication; when the comparison results are inconsistent, the Beidou module product authentication fails.

9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the traceability management method for Beidou module products as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed by the processor, the traceability management method for the Beidou module product as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Identifying and tracing system with unique identity and method

    CN104091272A

  • Two-dimensional codes, two-dimensional code group, traceability terminal and method, and verification method, device and system

    CN108960855A

  • Beidou data transmission method and system based on trusted beacons

    CN117155452A

  • KR20240106882A