Method and device for realizing signal source key generation and analysis processing based on private key, processor and computer readable storage medium thereof
By defining the private key generation and analysis processing methods composed of Matrix Key and Matrix Map, the problem of insufficient security in the signal source software option system is solved, and high security and widely applicable signal source key generation and Analysis protects the matching and functional permissions of hardware and software, and reduces the occurrence of unexpected situations.
Patent Information
- Application Number
- CN202411459736.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-18
- Publication Date
- 2025-01-07
AI Technical Summary
The prior art has shortcomings in protecting the security of computer hardware and software, especially in signal source software option systems, which are difficult to effectively realize high security and wide applicability of private key key generation and parsing processing.
By defining the composition of Matrix Key, Matrix Map and option keys, calculating IDs, collecting and splicing Content text, randomly creating Remaining bytes, searching for location information on Matrix Map according to Matrix Key index, and encrypting it to realize the signal source Key generation and parsing. This method includes the steps of option generation, option parsing and registration to ensure the matching of hardware and software and the identification of functional permissions.
It effectively protects the matching of software and hardware, reduces the occurrence of unexpected situations, such as overheating and short circuits, ensures safe use of users, and better matches the usage scenarios of signal sources through the identification of functional permissions.
Smart Images

Figure CN119276493A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information security, and in particular to the field of signal source software option systems, and specifically refers to a method, device, processor and computer-readable storage medium thereof for realizing signal source key generation and analysis processing based on a private key. Background Art
[0002] Information security, as defined by ISO, is the technical and managerial security protection established and collected for data processing systems in order to protect computer hardware, software, and data from being destroyed, altered, or leaked due to accidental or malicious reasons. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, device, processor and computer-readable storage medium for signal source key generation and parsing based on a private key, which has high security, high matching and a wide range of applications.
[0004] In order to achieve the above-mentioned purpose, the method, device, processor and computer-readable storage medium thereof for realizing signal source key generation and analysis processing based on private key of the present invention are as follows:
[0005] The method for realizing signal source key generation and analysis processing based on a private key has the following main features:
[0006] (1) Generate options;
[0007] (2) Perform option analysis and registration;
[0008] The step (1) specifically comprises the following steps:
[0009] (1.1) Define the composition of Matrix Key, Matrix Map and option key;
[0010] (1.2) Calculate ID;
[0011] (1.3) Collect content text, collect data according to business needs, and splice it according to any rules to form readable text that needs to be encrypted;
[0012] (1.4) Randomly create Remaining and generate random bytes of length 0 to N;
[0013] (1.5) Find the theoretical position information of each byte of the Content text on the Matrix Map according to the index of the Matrix Key;
[0014] (1.6) Search for data at that location on the Matrix Map according to the location information;
[0015] (1.7) Splice in order;
[0016] (1.8) Filter the encrypted content according to task requirements and output content that meets business needs.
[0017] Preferably, the step (2) specifically comprises the following steps:
[0018] (2.1) Enter the option file storage mode;
[0019] (2.2) Obtain the option key from the registration window;
[0020] (2.3) Find the ID according to the merge rule and parse the corresponding Matrix Map index;
[0021] (2.4) Reversely obtain the actual readable content according to step (1.5);
[0022] (2.5) Collect device hardware information and option information from the device;
[0023] (2.6) Perform information comparison and verification to check whether the hardware information matches; if successful, notify the host computer to prompt that the registration is successful, open the function, and continue to step (2.7); if the registration fails, continue to step (2.8);
[0024] (2.7) Record the Edit Time of the option file;
[0025] (2.8) Notify the host computer of the registration failure and indicate the reason.
[0026] Preferably, the step (1.2) is specifically as follows:
[0027] Generate 4 bytes randomly and synthesize an INT data according to the remainder group.
[0028] Preferably, the step (2.7) is specifically as follows:
[0029] Add the option key to Keys, add the option function to Options, and record the expiration time. Perform secondary encryption on the entire option file and store it on the hard disk.
[0030] The main feature of the device for realizing signal source key generation and analysis processing based on a private key is that the device comprises:
[0031] a processor configured to execute computer executable instructions;
[0032] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for generating and parsing a signal source key based on a private key are implemented.
[0033] The processor for realizing signal source key generation and analysis processing based on private key has the main feature that the processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the above-mentioned method for realizing signal source key generation and analysis processing based on private key are realized.
[0034] The main feature of the computer-readable storage medium is that a computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for signal source key generation and analysis processing based on a private key.
[0035] The method, device, processor and computer-readable storage medium thereof for realizing signal source key generation and analysis based on a private key of the present invention can protect the matching of software and hardware, as well as the identification of functional permissions. In terms of protecting software and hardware matching: for the signal source, the correct matching of software and hardware can greatly reduce the occurrence of unexpected situations, such as overheating, short circuit, etc., and protect the user's safety. Secondly, the identification of functional permissions: the signal source is a signal generating instrument, which belongs to precision instruments and meters, and the functional permissions can better match the usage scenario. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 The present invention is a flowchart of a method for realizing signal source key generation and analysis processing based on a private key.
[0037] Figure 2 It is a schematic diagram of the option generation part of the method for realizing signal source key generation and analysis processing based on private key of the present invention.
[0038] Figure 3 The diagram is a schematic diagram of the optional key composition of the method for realizing signal source key generation and analysis processing based on a private key of the present invention.
[0039] Figure 4 The present invention is a schematic diagram of the option registration process of the method for realizing signal source key generation and analysis processing based on a private key.
[0040] Figure 5 The diagram is a schematic diagram of the storage mode of the option file of the method for realizing signal source key generation and analysis processing based on the private key of the present invention. DETAILED DESCRIPTION
[0041] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.
[0042] The method for realizing signal source key generation and analysis based on a private key of the present invention comprises the following steps:
[0043] (1) Generate options;
[0044] (2) Perform option analysis and registration;
[0045] The step (1) specifically comprises the following steps:
[0046] (1.1) Define the composition of Matrix Key, Matrix Map and option key;
[0047] (1.2) Calculate ID;
[0048] (1.3) Collect content text, collect data according to business needs, and splice it according to any rules to form readable text that needs to be encrypted;
[0049] (1.4) Randomly create Remaining and generate random bytes of length 0 to N;
[0050] (1.5) Find the theoretical position information of each byte of the Content text on the Matrix Map according to the index of the Matrix Key;
[0051] (1.6) Search for data at that location on the Matrix Map according to the location information;
[0052] (1.7) Splice in order;
[0053] (1.8) Filter the encrypted content according to task requirements and output content that meets business needs.
[0054] As a preferred embodiment of the present invention, the step (2) specifically comprises the following steps:
[0055] (2.1) Enter the option file storage mode;
[0056] (2.2) Obtain the option key from the registration window;
[0057] (2.3) Find the ID according to the merge rule and parse the corresponding Matrix Map index;
[0058] (2.4) Reversely obtain the actual readable content according to step (1.5);
[0059] (2.5) Collect device hardware information and option information from the device;
[0060] (2.6) Perform information comparison and verification to check whether the hardware information matches; if successful, notify the host computer to prompt that the registration is successful, open the function, and continue to step (2.7); if the registration fails, continue to step (2.8);
[0061] (2.7) Record the Edit Time of the option file;
[0062] (2.8) Notify the host computer of the registration failure and indicate the reason.
[0063] As a preferred embodiment of the present invention, the step (1.2) is specifically as follows:
[0064] Generate 4 bytes randomly and synthesize an INT data according to the remainder group.
[0065] As a preferred embodiment of the present invention, the step (2.7) is specifically as follows:
[0066] Add the option key to Keys, add the option function to Options, and record the expiration time. Perform secondary encryption on the entire option file and store it on the hard disk.
[0067] The device for realizing signal source key generation and analysis processing based on a private key of the present invention, wherein the device comprises:
[0068] a processor configured to execute computer executable instructions;
[0069] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for generating and parsing a signal source key based on a private key are implemented.
[0070] The processor of the present invention is used to implement signal source key generation and analysis processing based on a private key, wherein the processor is configured to execute computer executable instructions, and when the computer executable instructions are executed by the processor, the various steps of the above-mentioned method for implementing signal source key generation and analysis processing based on a private key are implemented.
[0071] The computer-readable storage medium of the present invention stores a computer program thereon, and the computer program can be executed by a processor to implement the various steps of the above-mentioned method for signal source key generation and analysis processing based on a private key.
[0072] In a specific implementation of the present invention, in order to achieve the above requirements for device security, the present invention provides a generation algorithm for a signal source limiting option and an option registration algorithm.
[0073] Figure 1The overall process relationship is described, which is mainly divided into two parts. The first part is the option generation part, and the second part is the option parsing and registration part.
[0074] Figure 2 This is the optional Key generation part, which is mainly composed of the private key Matrix Key and Matrix Map, as well as the location mapping Encrypt Algorithm.
[0075] The Matrix Key (randomly generated, the rule is that the data has uniqueness) used by the system is an N×N matrix as the private key. Since it is not a one-way trapdoor function, the inverse transformation does not need to rely on the trapdoor, and the private key can be used directly. MatrixKey is the position information matrix of the text to be encrypted on the Matrix Map, one-to-one correspondence.
[0076] Matrix Map consists of several groups of N×N matrices. Matrix Map is randomly generated, and the rule is one-to-one correspondence with MatrixKey data, and there is no one-to-many situation.
[0077] Figure 4 This is the option registration process, which mainly consists of the registration process, private key Matrix Key and Matrix Map, and location map Decrypt Algorithm. Matrix Key and Matrix Map are as described in the text.
[0078] Step 1: Assume that 11×11 Matrix Key and 11×11 Matrix Map are defined, and the option key is composed of:
[0079] First, ID is the index number of the Matrix Map, which determines the encryption matrix used for this encryption and decryption. Remaining is composed of 0 to N bytes of random bytes, and Content is readable and meaningful content to be encrypted.
[0080] Step 2: Calculate the ID. Since the ID is composed of 4 bytes, 4 bytes (0 to 255) can be randomly generated, and then an INT can be synthesized according to the remainder group.
[0081] Step 3: Collect Content. Here you can collect data according to business needs and splice it according to any rules to form readable text that needs to be encrypted.
[0082] Step 4: Randomly create Remaining, which can generate random bytes of 0 to N length (0 to 255).
[0083] Step 5: Find the theoretical position information of each byte of Content on the Matrix Map according to the index of the Matrix Key.
[0084] Step 6: Search for the data at that location on the Matrix Map according to the location information.
[0085] Step 7: Follow Figure 3 Sequential splicing.
[0086] Step 8: Filter the encrypted content according to task requirements and output content that meets business needs.
[0087] Step 9: Assume the option file storage mode:
[0088] Step 10: Obtain the option key from the registration window.
[0089] Step 11: Find the ID according to the merge rule and parse the corresponding Matrix Map index according to step 2.
[0090] Step 12: Reverse the process of step 5 to obtain the actual readable content.
[0091] Step 13: Collect device hardware information and option information from the device.
[0092] Step 14: Perform information comparison and verification, mainly to check whether the hardware information matches.
[0093] Step 15: If successful, notify the host computer to prompt that the registration is successful, open the function, and execute step 16. If the registration fails, execute step 17.
[0094] Step 16: If successful, the option file Edit Time is recorded. The option key is added to Keys, the option function is added to Options, and the expiration time is recorded, which is calculated from the moment of activation. Then the entire option file is encrypted twice and stored on the hard disk.
[0095] Step 17: If the registration fails, the host computer will be notified of the registration failure and the reason will be prompted.
[0096] The technical solution of the present invention interprets the seed matrix of the encryption and decryption rules as a private key, which is easy to understand; the original encryption rules are written in the form of a matrix. Since the matrix can be customized and extended, a reservation is made for future version iterations. The encryption rules can be defined arbitrarily. The technical solution of the present invention performs an encryption method of random dictionary map mapping based on the seed matrix of position mapping, and also includes random length disrupting characters. If misunderstanding is caused, the private key can be changed to a seed matrix or an encryption algorithm matrix or a rule matrix. The matrix map can be changed to a readable character set set.
[0097] The technical solution of the present invention uses an encryption rule matrix to encrypt a readable character set, outputs a readable character set, and does not generate public or private keys.
[0098] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.
[0099] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.
[0100] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.
[0101] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.
[0102] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0103] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the corresponding program may be stored in a computer-readable storage medium, which, when executed, includes one of the steps of the method embodiment or a combination thereof.
[0104] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0105] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0106] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" 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 may be combined in any one or more embodiments or examples in a suitable manner.
[0107] The method, device, processor and computer-readable storage medium thereof for realizing signal source key generation and analysis based on a private key of the present invention can protect the matching of software and hardware, as well as the identification of functional permissions. In terms of protecting software and hardware matching: for the signal source, the correct matching of software and hardware can greatly reduce the occurrence of unexpected situations, such as overheating, short circuit, etc., and protect the user's safety. Secondly, the identification of functional permissions: the signal source is a signal generating instrument, which belongs to precision instruments and meters, and the functional permissions can better match the usage scenario.
[0108] In this specification, the present invention has been described with reference to specific embodiments thereof. However, it is apparent that various modifications and variations may be made without departing from the spirit and scope of the present invention. Therefore, the specification and drawings should be regarded as illustrative rather than restrictive.
Claims
1. A method for realizing signal source key generation and analysis processing based on a private key, characterized in that: The method comprises the following steps: (1) Generate options; (2) Perform option analysis and registration; The step (1) specifically comprises the following steps: (1.1) Define the composition of Matrix Key, Matrix Map and option key; (1.2) Calculate ID; (1.3) Collect content text, collect data according to business needs, and splice it according to any rules to form readable text that needs to be encrypted; (1.4) Randomly create Remaining and generate random bytes of length 0 to N; (1.5) Find the theoretical position information of each byte of the Content text on the Matrix Map according to the index of the Matrix Key; (1.6) Search for data at that location on the Matrix Map according to the location information; (1.7) Splice in order; (1.8) Filter the encrypted content according to task requirements and output content that meets business needs.
2. The method for realizing signal source key generation and analysis processing based on private key according to claim 1, characterized in that: The step (2) specifically comprises the following steps: (2.1) Enter the option file storage mode; (2.2) Obtain the option key from the registration window; (2.3) Find the ID according to the merge rule and parse the corresponding Matrix Map index; (2.4) Reversely obtain the actual readable content according to step (1.5); (2.5) Collect device hardware information and option information from the device; (2.6) Perform information comparison and verification to check whether the hardware information matches; if successful, notify the host computer to prompt that the registration is successful, open the function, and continue to step (2.7); if the registration fails, continue to step (2.8); (2.7) Record the Edit Time of the option file; (2.8) Notify the host computer of the registration failure and indicate the reason.
3. The method for realizing signal source key generation and analysis processing based on private key according to claim 1, characterized in that: The step (1.2) is specifically: Generate 4 bytes randomly and synthesize an INT data according to the remainder group.
4. The method for realizing signal source key generation and analysis processing based on private key according to claim 2, characterized in that: The step (2.7) is specifically: Add the option key to Keys, add the option function to Options, and record the expiration time. Perform secondary encryption on the entire option file and store it on the hard disk.
5. A device for realizing signal source key generation and analysis processing based on a private key, characterized in that: The device comprises: a processor configured to execute computer executable instructions; A memory storing one or more computer executable instructions, wherein when the computer executable instructions are executed by the processor, each step of the method for realizing signal source key generation and parsing processing based on a private key as described in any one of claims 1 to 4 is implemented.
6. A processor for realizing signal source key generation and analysis processing based on a private key, characterized in that: The processor is configured to execute computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for signal source key generation and parsing based on a private key described in any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program can be executed by a processor to implement the various steps of the method for realizing signal source key generation and parsing processing based on a private key as described in any one of claims 1 to 4.