Method and device for realizing signal source option secret key generation and analysis processing, processor and computer readable storage medium thereof

The explicit content maps the explicit content through multi -dictionary method, generate custom display content, and solve the problem of error input of signal source software key generation and parsing processing. A variety of application scenarios.

CN119341736APending Publication Date: 2025-01-21TRANSCOM INSTR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411277656.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

There are errors in the generation and parsing of existing signal source software keys, especially when numbers and letters are similar, resulting in user error input, affecting the stability and security of the system.

Method used

The multi -dictionary method is adopted to perform random position mapping on the explicit content, generates custom display content, and builds the structure of the keys through a combination of random numbering and analytical positions to improve the randomness and concealment of the category.

Benefits of technology

Effectively reduce the possibility of error input, improve the randomness and concealment of the keys, and have a wide range of applications, suitable for different application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119341736A_ABST
    Figure CN119341736A_ABST
Patent Text Reader

Abstract

The invention relates to a method for realizing signal source option secret key generation and analysis processing, which comprises a secret key generation step and a secret key registration and use step, and the secret key generation step specifically comprises the following processing processes: forming a plaintext according to input; encrypting the plaintext to generate a secret key; recording a secret key; the secret key registration and use step specifically comprises the following processing processes: decrypting a secret key; if the secret key conforming to the equipment exists, returning a plaintext; otherwise, returning an error; if the secret key exists, adding an option function on the original basic secret key; writing the encrypted secret key into a text file; otherwise, re-encrypting; and writing the encrypted secret key into the text file. By adopting the method and the device for generating and analyzing the secret key of the signal source option, the processor and the computer readable storage medium, a writing party can decide which letters and numbers are allowed to be displayed. Meanwhile, due to the multi-dictionary mode, different results can be displayed according to different definitions of the compiler.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal source technology, and in particular to the field of signal source software keys, and specifically refers to a method, device, processor and computer-readable storage medium thereof for realizing signal source option key generation and analysis processing. Background Art

[0002] The usual signal source software will add additional functions based on the basic functions. These functions are generally activated selectively by users who purchase keys. The functions may be composed of pure software or a combination of software and hardware. Based on different applications, the key algorithm can also be one-way (encryption into a summary) or two-way (encryption and key decryption can derive the encrypted content). The key usually exists as a set of numbers, but there are some exceptions where there are combinations of letters and arrays, when the key is composed of numbers and letters. There will be some letters and arrays that are very similar, such as 0 (number 0) and O (capital o), etc., which can easily lead to user misunderstanding and incorrect input. In different fonts, they may look very similar, so some solutions have been born, such as pure digital keys that do not generate letters, or purely alphabetic keys. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and to provide a method, device, processor and computer-readable storage medium for realizing signal source option key generation and analysis processing which have small errors, simple operation and a wide range of applications.

[0004] In order to achieve the above-mentioned purpose, the method, device, processor and computer-readable storage medium for realizing signal source option key generation and analysis processing of the present invention are as follows:

[0005] The method for realizing signal source option key generation and analysis processing has the main characteristics that the method comprises a key generation step and a key registration and use step.

[0006] The key generation step specifically includes the following processing:

[0007] (1-1) Form plaintext according to input;

[0008] (1-2) Encrypt the plaintext and generate a secret key;

[0009] (1-3) Record the secret key;

[0010] The key registration and use steps specifically include the following processing procedures:

[0011] (2-1) Decrypt the secret key;

[0012] (2-2) Determine whether there is a secret key that matches the device. If so, return the plain text and continue with step (2-3); otherwise, return an error;

[0013] (2-3) Determine whether there is a secret key. If yes, proceed to step (2-4); otherwise, proceed to step (2-6);

[0014] (2-4) Add optional functions to the original basic key;

[0015] (2-5) Write the encrypted key to the text file and end the steps;

[0016] (2-6) Re-encryption;

[0017] (2-7) Write the encrypted key to a text file.

[0018] Preferably, the secret key includes a random content portion Remaining, a valid ciphertext Encrypt and a parsing bit Analysis, and the valid ciphertext Encrypt and the parsing bit Analysis are combined and arranged and stored in the secret key, or are shuffled and stored in the secret key.

[0019] Preferably, the first bit of the analysis bit Analysis stores the dictionary interpretation value, and the last 4 bits store the CRC interpretation value.

[0020] Preferably, the plaintext is encrypted in step (1-2), specifically comprising the following steps:

[0021] (1-2.1) Calculate and record the position of the valid ciphertext Encrypt and the position of the analysis bit Analysis in the remaining part of the random content;

[0022] (1-2.2) Translate the position of the valid ciphertext Encrypt and the position of the analysis bit Analysis into readable characters according to the positioning dictionary;

[0023] (1-2.3) Fill the remaining digits of the random content part Remaining with random numbers and translate them into readable characters according to the random dictionary.

[0024] The device for realizing signal source option key generation and analysis processing has the following main features: the device comprises:

[0025] a processor configured to execute computer executable instructions;

[0026] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the method for generating and analyzing the signal source option key are implemented.

[0027] The processor for realizing signal source option key generation and analysis processing has the main feature that 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 realizing signal source option key generation and analysis processing are realized.

[0028] 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 generating and analyzing the signal source option key.

[0029] By adopting the method, device, processor and computer-readable storage medium for realizing signal source option key generation and analysis processing of the present invention, the author can decide which letters and numbers are allowed to be displayed. At the same time, due to the multi-dictionary method, different results can be displayed according to different definitions of the author, and the obtained ciphertext is highly random and highly concealed, and has a wide range of applications. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 The present invention is a flowchart of the key generation method for realizing signal source option key generation and analysis processing.

[0031] Figure 2 The present invention is a flowchart of key registration for the method of signal source option key generation and analysis processing.

[0032] Figure 3 A schematic diagram of the key composition of the method for realizing signal source option key generation and analysis processing of the present invention.

[0033] Figure 4 The present invention is a schematic diagram of the composition of parsed bits for the method of realizing signal source option key generation and parsing processing. DETAILED DESCRIPTION

[0034] In order to more clearly describe the technical content of the present invention, further description is given below in conjunction with specific embodiments.

[0035] The method for realizing signal source option key generation and analysis processing of the present invention includes a key generation step and a key registration and use step.

[0036] The key generation step specifically includes the following processing:

[0037] (1-1) Form plaintext according to input;

[0038] (1-2) Encrypt the plaintext and generate a secret key;

[0039] (1-3) Record the secret key;

[0040] The key registration and use steps specifically include the following processing procedures:

[0041] (2-1) Decrypt the secret key;

[0042] (2-2) Determine whether there is a secret key that matches the device. If so, return the plain text and continue with step (2-3); otherwise, return an error;

[0043] (2-3) Determine whether there is a secret key. If yes, proceed to step (2-4); otherwise, proceed to step (2-6);

[0044] (2-4) Add optional functions to the original basic key;

[0045] (2-5) Write the encrypted key to the text file and end the steps;

[0046] (2-6) Re-encryption;

[0047] (2-7) Write the encrypted key to a text file.

[0048] As a preferred embodiment of the present invention, the secret key includes a random content portion Remaining, a valid ciphertext Encrypt and a parsing bit Analysis, and the valid ciphertext Encrypt and the parsing bit Analysis are combined and arranged and stored in the secret key, or are shuffled and stored in the secret key.

[0049] As a preferred implementation manner of the present invention, the first bit of the analysis bit Analysis stores a dictionary interpretation value, and the last 4 bits store a CRC interpretation value.

[0050] As a preferred embodiment of the present invention, the plaintext is encrypted in step (1-2), specifically comprising the following steps:

[0051] (1-2.1) Calculate and record the position of the valid ciphertext Encrypt and the position of the analysis bit Analysis in the remaining part of the random content;

[0052] (1-2.2) Translate the position of the valid ciphertext Encrypt and the position of the analysis bit Analysis into readable characters according to the positioning dictionary;

[0053] (1-2.3) Fill the remaining digits of the random content part Remaining with random numbers and translate them into readable characters according to the random dictionary.

[0054] The device for realizing signal source option key generation and analysis processing of the present invention, wherein the device comprises:

[0055] a processor configured to execute computer executable instructions;

[0056] The memory stores one or more computer executable instructions. When the computer executable instructions are executed by the processor, the various steps of the method for generating and analyzing the signal source option key are implemented.

[0057] The processor of the present invention is used to implement signal source option key generation and analysis processing, 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 option key generation and analysis processing are implemented.

[0058] 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 realizing signal source option key generation and analysis processing.

[0059] In a specific embodiment of the present invention, a method for generating and decrypting a signal source limited display key is provided.

[0060] The technical solution adopted in this scheme is to perform random multi-dictionary position mapping on the plaintext content, so that the plaintext is converted into custom display content, thereby eliminating the content that you do not want to be displayed in the ciphertext. In addition, since multiple dictionaries are randomly selected and random codes are used to fill in the vacancies, the obtained ciphertext is highly random and has a high degree of concealment.

[0061] Figure 1 and Figure 2 This is a simple diagram of key generation and use, which only describes the overall process relationship. The core is the encryption and decryption algorithm, which will be explained in detail below.

[0062] Since the algorithm is a multi-dictionary encryption composed of dictionaries as the basis, it is necessary to define dictionaries of different categories and dictionary contents. The number of dictionaries is defined according to actual needs. If the processing flow is more complicated, multiple interpretation dictionaries are defined.

[0063] The key algorithm defines the structure of the generated key content: random content filling, valid ciphertext, and parsing bit, where the length of the parsing bit is mainly determined by the encryption process. For this algorithm, the longer the key, the higher the security.

[0064] Assume that in a specific embodiment, the secret key Key is 30 bits, the analysis bit Analysis is 5 bits, and the effective ciphertext Encrypt is 10 bits.

[0065] From the above assumptions, we can know that the secret key is composed of Figure 3 As shown. The random number length Remaining By Length Key Subtract Length Encrypt and Length Analysis The sum of. Figure 4 As shown in the figure, the valid ciphertext Encrypt and the analysis bit Analysis can be combined and stored in the secret key Key, or they can be stored in a random order in the secret key Key. If they are stored in a random order, the Remaining bits need to be occupied to record the storage location.

[0066] The parsing bit is composed as follows Figure 4 shown.

[0067] The first bit of the parsing bit stores the dictionary interpretation value, and the last 4 bits store the CRC interpretation value.

[0068] In the encryption process, a real-time random algorithm is first used to select plaintext characters, i.e., readable characters DicL (0-255 random bytes). Then, some algorithms (modulus or other forms) are used on the readable characters DicL to obtain the actually selected encryption dictionary index DicRL. The corresponding encryption dictionary is found according to the DicRL index. The character value of the plaintext character set is used as the position information. The actual character at the corresponding position in the encryption dictionary is found according to the position information. That is, each character of the plaintext is divided by the Base Custom Take the remainder to get the location of the dictionary, and then get a new character set (ciphertext). The first bit of the parsing bit stores DicL, and the second to fifth bits store the CRC calculation value to ensure the integrity of the secret key. On the CRC dictionary (the dictionary is a fixed sequence readable character set generated by the algorithm), use the same position mapping as above to find the readable character. Among them, the encryption dictionary DicRL, positioning dictionary and CRC dictionary have different byte structures and belong to different dictionaries.

[0069] Since Encrypt and Analysis are stored randomly, the bits in the Remaining part are used to record the position of Encrypt and Analysis. They can be calculated using algorithms such as remainder and bit operations, and then translated into readable characters according to the positioning dictionary. The remaining Remaining is filled with random numbers and translated into readable characters according to the random dictionary. Among them, the first bit of the analysis bit is defined by the author, and the remaining part can be translated using the encryption dictionary or generated randomly.

[0070] The decryption process is the reverse of the encryption process. The Encrypt and Analysis locations are obtained by reversing the above steps, and then they are taken out separately. CRC is used for integrity verification, and the original content is calculated by reverse calculation.

[0071] The specific implementation scheme of this embodiment can refer to the relevant description in the above embodiment, which will not be repeated here.

[0072] 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.

[0073] 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.

[0074] 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.

[0075] 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.

[0076] 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.

[0077] 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.

[0078] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0079] 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.

[0080] By adopting the method, device, processor and computer-readable storage medium for realizing signal source option key generation and analysis processing of the present invention, the author can decide which letters and numbers are allowed to be displayed. At the same time, due to the multi-dictionary method, different results can be displayed according to different definitions of the author, and the obtained ciphertext is highly random and highly concealed, and has a wide range of applications.

[0081] 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 option key generation and analysis processing, characterized in that: The method comprises a key generation step and a key registration and use step. The key generation step specifically includes the following processing: (1-1) Form plaintext according to input; (1-2) Encrypt the plaintext and generate a secret key; (1-3) Record the secret key; The key registration and use steps specifically include the following processing procedures: (2-1) Decrypt the secret key; (2-2) Determine whether there is a secret key that matches the device. If so, return the plaintext and continue with step (2-3); Otherwise, return an error; (2-3) Determine whether there is a secret key. If yes, proceed to step (2-4); otherwise, proceed to step (2-6); (2-4) Add optional functions to the original basic key; (2-5) Write the encrypted key to the text file and end the steps; (2-6) Re-encryption; (2-7) Write the encrypted key to a text file.

2. The method for realizing signal source option key generation and analysis processing according to claim 1, characterized in that: The secret key includes a random content part Remaining, a valid ciphertext Encrypt and a parsing bit Analysis. The valid ciphertext Encrypt and the parsing bit Analysis are combined and arranged and stored in the secret key, or are shuffled and stored in the secret key.

3. The method for realizing signal source option key generation and analysis processing according to claim 2, characterized in that: The first bit of the analysis bit Analysis stores the dictionary interpretation value, and the last 4 bits store the CRC interpretation value.

4. The method for realizing signal source option key generation and analysis processing according to claim 2, characterized in that: The step (1-2) of encrypting the plaintext specifically includes the following steps: (1-2.1) Calculate and record the position of the valid ciphertext Encrypt and the position of the analysis bit Analysis in the remaining part of the random content; (1-2.2) Translate the position of the valid ciphertext Encrypt and the position of the analysis bit Analysis into readable characters according to the positioning dictionary; (1-2.3) Fill the remaining digits of the random content part Remaining with random numbers and translate them into readable characters according to the random dictionary.

5. A device for realizing signal source option key generation and analysis processing, 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 option key generation and parsing processing as described in any one of claims 1 to 4 is implemented.

6. A processor for realizing signal source option key generation and analysis processing, characterized in 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 method for realizing signal source option key generation and parsing processing 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 option key generation and parsing processing as described in any one of claims 1 to 4.