Method and system for setting signal authority of signal source through software
Through the software generation and parsing ciphertext files, the signal source signal permissions are not required to be returned to the factory, solving the problem of factory upgrades in the existing technology, improving work efficiency and adapting to different customer needs.
Patent Information
- Application Number
- CN202411401310.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-03-04
AI Technical Summary
The existing signal source changes the signal permissions and needs to be returned to the factory to upgrade, which reduces work efficiency.
The method of setting signal permissions through software includes receiving and setting signal permissions, generating ciphertext files, sending them to the signal source through the network port, and parsing and applying new signal permissions in the signal source.
The signal permissions can be changed without returning to the factory, which significantly improves work efficiency and allows flexibly setting signal permissions for signal source according to customer needs.
Smart Images

Figure CN119561710A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic information technology, and in particular to a method and system for setting signal permissions of a signal source through software. Background Art
[0002] In recent years, with the intensification of market competition and the improvement of corporate development needs, improving work efficiency has become the focus of attention in all walks of life. The old version of the signal source sold needs to be returned to the factory for upgrading before being sent to the customer to change the signal permissions, which reduces work efficiency. Summary of the invention
[0003] In order to solve the deficiencies mentioned in the above background technology, the purpose of the present invention is to provide a method and system for setting signal permissions of a signal source through software, so that customers can set signal permissions of the signal source through software without returning the signal to the factory.
[0004] In a first aspect, the purpose of the present invention can be achieved by the following technical solution: A method for setting signal permissions of a signal source by software, the method comprising the following steps:
[0005] Receive the set signal authority, input the set signal authority into the ciphertext generating upper computer, and output the ciphertext file;
[0006] Send the ciphertext file to the signal source through the network port of the upper computer that sends the ciphertext;
[0007] The signal source parses the ciphertext file, sets new signal permissions based on the analysis, inputs the new signal permissions into the signal source host computer, reads the signal permissions and displays the open signals for users to use.
[0008] In combination with the first aspect, in some implementations of the first aspect, the method further includes: a process of inputting the setting signal authority into a ciphertext generating upper computer and outputting a ciphertext file:
[0009] Generate ciphertext The host computer mixes the product serial number, option signal permission variable, and key, and encrypts them using the BASE16 encryption algorithm. After encryption, a CRC8 check is performed to finally generate a ciphertext file.
[0010] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the calculation process of encrypting by the BASE16 encryption algorithm:
[0011] For example, if the sent data is 3,6, according to the ASCII table, the ASCII value of 3 is 51, and the ASCII value of 6 is 54;
[0012] 51 is converted to binary 00110011, the high four bits are 3 (decimal), the low four bits are 2 (decimal)
[0013] 54 is converted to binary 00110110, the high four bits are 3 (decimal), the low four bits are 6 (decimal)
[0014] Finally, the data obtained after BASE16 encrypts 3,6 is 3,3,3,6.
[0015] In combination with the first aspect, in some implementations of the first aspect, the method further includes: a calculation process of performing CRC8 check after encryption:
[0016] Formula 1: T(x) = f(x)*2 k +R(x),
[0017] Formula 2: R(x) = f(x)*2 k / G(x)
[0018] In the above formula, T(x) represents the sending code, R(x) represents the check code, f(x) represents the data to be transmitted, G(x) represents the polynomial agreed upon by the sender and receiver, and k is equal to the length of G(x) minus 1.
[0019] For example, if the transmitted data f(x) is 0x92, converted to binary 101001, then f(x) = 101001, and the polynomial convention is G(x) = X 3 +X 2 +X 0 , expressed in binary G(x) = 1101, length is 4
[0020] k is equal to the length of G(x) minus 1, then k = 3;
[0021] In the formula, f(x)*2 k =101001*2 3 =101001000
[0022] R(x)=f(x)*2 k / G(x)=101001000 / 1101, take the remainder 3 digits 001
[0023] T(x)=f(x)*2 k +R(x)=101001001
[0024] When the receiving end divides the received data by G(x), if the remainder is 0, it means the received data is correct, otherwise it is wrong.
[0025] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: converting the data into corresponding binary numbers using the BASE16 encryption algorithm;
[0026] Then string all the binary numbers together, with 4 binary bits as a group, and convert them into the corresponding decimal numbers;
[0027] Find the corresponding character in the Base16 encoding table according to the decimal value.
[0028] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the CRC8 check process is as follows:
[0029] Set an 8-bit register to 0
[0030] XOR the byte with the highest bit of the register; shift the register left by one bit; if the XOR result is 1, XOR the register with a predefined polynomial
[0031] Repeat the above byte processing process until all bytes are processed
[0032] The final value in the register is the CRC check code.
[0033] In combination with the first aspect, in some implementations of the first aspect, the method further includes: a process in which the signal source parses the ciphertext file:
[0034] The signal source receives the ciphertext file through the network port, and then performs a CRC8 check. After the check passes, it starts to use the BASE16 decryption algorithm to decrypt the product serial number, the option signal permission variable, and the key to obtain a mixed value. The product serial number is extracted from the mixed value and compared with the signal source serial number. After the comparison is successful, the option signal permission variable is extracted from the mixed value using the key and stored in the chip. Finally, the signal is selected whether to be open based on the option signal permission variable.
[0035] In a second aspect, in order to achieve the above-mentioned object, the present invention discloses a system for setting signal permissions by software for a signal source, comprising:
[0036] The ciphertext generation module is used to receive the set signal authority, input the set signal authority into the ciphertext generation host computer, and output the ciphertext file;
[0037] The ciphertext transmission module is used to send the ciphertext file to the signal source through the network port of the upper computer that sends the ciphertext;
[0038] The ciphertext parsing module is used for the signal source to parse the ciphertext file, set new signal permissions according to the analysis, input the new signal permissions into the signal source host computer, read the signal permissions and display the open signals for users to use.
[0039] In conjunction with the second aspect, in some implementations of the second aspect, the system further includes: the ciphertext generation module inputs the set signal authority into the ciphertext generation host computer, and outputs a process of obtaining a ciphertext file:
[0040] Generate ciphertext The host computer mixes the product serial number, option signal permission variable, and key, and encrypts them using the BASE16 encryption algorithm. After encryption, it performs a CRC8 check to finally generate a ciphertext file.
[0041] The calculation process of encryption using the BASE16 encryption algorithm:
[0042] For example, if the sent data is 3,6, according to the ASCII table, the ASCII value of 3 is 51, and the ASCII value of 6 is 54;
[0043] 51 is converted to binary 00110011, the high four bits are 3 (decimal), the low four bits are 2 (decimal)
[0044] 54 is converted to binary 00110110, the high four bits are 3 (decimal), the low four bits are 6 (decimal)
[0045] Finally, the data obtained by BASE16 encrypting 3,6 is 3,3,3,6
[0046] The calculation process of CRC8 check after encryption:
[0047] Formula 1: T(x) = f(x)*2 k +R(x),
[0048] Formula 2: R(x) = f(x)*2 k / G(x)
[0049] In the above formula, T(x) represents the sending code, R(x) represents the check code, f(x) represents the data to be transmitted, G(x) represents the polynomial agreed upon by the sender and receiver, and k is equal to the length of G(x) minus 1.
[0050] For example, if the transmitted data f(x) is 0x92, converted to binary 101001, then f(x) = 101001, and the polynomial convention is G(x) = X 3 +X 2 +X 0 , expressed in binary G(x) = 1101, length is 4
[0051] k is equal to the length of G(x) minus 1, then k = 3;
[0052] In the formula, f(x)*2 k =101001*2 3 =101001000
[0053] R(x)=f(x)*2 k / G(x)=101001000 / 1101, take the remainder 3 digits 001
[0054] T(x)=f(x)*2 k +R(x)=101001001
[0055] When the receiving end divides the received data by G(x), if the remainder is 0, it means the received data is correct, otherwise it is wrong.
[0056] The BASE16 encryption algorithm converts the data into corresponding binary numbers;
[0057] Then string all the binary numbers together, with 4 binary bits as a group, and convert them into the corresponding decimal numbers;
[0058] Find the corresponding character in the Base16 encoding table according to the decimal value;
[0059] The CRC8 verification process is as follows:
[0060] Set an 8-bit register to 0
[0061] XOR the byte with the highest bit of the register; shift the register left by one bit; if the XOR result is 1, XOR the register with a predefined polynomial
[0062] Repeat the above byte processing process until all bytes are processed;
[0063] The final value in the register is the CRC check code;
[0064] The process of the signal source in the ciphertext parsing module parsing the ciphertext file:
[0065] The signal source receives the ciphertext file through the network port, and then performs a CRC8 check. After the check passes, it starts to use the BASE16 decryption algorithm to decrypt the product serial number, the option signal permission variable, and the key to obtain a mixed value. The product serial number is extracted from the mixed value and compared with the signal source serial number. After the comparison is successful, the option signal permission variable is extracted from the mixed value using the key and stored in the chip. Finally, the signal is selected whether to be open based on the option signal permission variable.
[0066] In another aspect of the present invention, in order to achieve the above-mentioned purpose, a terminal device is disclosed, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the memory stores a computer program capable of running on the processor, and when the processor loads and executes the computer program, a signal source method for setting signal permissions through software as described above is adopted.
[0067] Beneficial effects of the present invention:
[0068] The present invention can greatly improve work efficiency when customers need to switch signal source signal permissions without returning to the factory, and manufacturers can set signal source signal permissions according to different needs of customers to adapt to various types of customers. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0070] Figure 1 It is a schematic flow chart of the method of the present invention;
[0071] Figure 2 It is a schematic diagram of the design process of the host computer for generating ciphertext in the present invention;
[0072] Figure 3 It is a schematic diagram of a design flow of setting signal authority for a signal source of the present invention;
[0073] Figure 4 This embodiment generates a ciphertext host computer diagram;
[0074] Figure 5 This is the upper computer diagram of the ciphertext issued in this embodiment;
[0075] Figure 6 It is a schematic diagram of the system structure of the present invention;
[0076] Figure 7 This is a diagram showing the functional permissions of the signal source host computer before the permissions are set in the present invention;
[0077] Figure 8 The present invention generates a ciphertext host computer diagram;
[0078] Fig. 9 This is the upper computer diagram of the ciphertext issued in this embodiment;
[0079] Fig.10 The function permission display diagram of the signal source host computer after the permission is set in the present invention. DETAILED DESCRIPTION
[0080] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0081] Embodiment 1:
[0082] The following is an introduction to the relevant terms involved in the embodiments of the present application:
[0083] Encryption algorithm: The basic process of data encryption is to process the original plain text file or data according to a certain algorithm, making it an unreadable code called "ciphertext", so that it can only be displayed after the corresponding key is entered. In this way, the purpose of protecting data from being stolen or read by illegal persons is achieved. The reverse process of this process is decryption, which is the process of converting the encoded information into its original data.
[0084] like Figure 1 As shown, a method for setting signal permissions of a signal source through software includes the following steps:
[0085] S101: receiving a setting signal authority, inputting the setting signal authority into a ciphertext generating upper computer, and outputting a ciphertext file;
[0086] The process of inputting the set signal authority into the ciphertext generating host computer and outputting the ciphertext file:
[0087] Generate ciphertext The host computer mixes the product serial number, option signal permission variable, and key, and encrypts them using the BASE16 encryption algorithm. After encryption, it performs a CRC8 check to finally generate a ciphertext file.
[0088] The specific design process of the ciphertext host computer is as follows: First, design the ciphertext host computer UI interface, as follows Figure 4 Each product has a different serial number, so you are required to enter a different serial number to enhance the confidentiality and uniqueness of the product. The option function area allows you to select the signal source and various signal permissions. The signal permission of this option is turned on, and the □ code means the permission of this option is turned off. It means that the signal permission of this option will not be changed. After clicking Generate Ciphertext, the ciphertext will be displayed in the right box and a ciphertext file will be generated.
[0089] The calculation process of encryption using the BASE16 encryption algorithm is as follows:
[0090] For example, if the sent data is 3,6, according to the ASCII table, the ASCII value of 3 is 51, and the ASCII value of 6 is 54;
[0091] 51 is converted to binary 00110011, the high four bits are 3 (decimal), the low four bits are 2 (decimal)
[0092] 54 is converted to binary 00110110, the high four bits are 3 (decimal), the low four bits are 6 (decimal)
[0093] Finally, the data obtained by BASE16 encrypting 3,6 is 3,3,3,6;
[0094] The calculation process of performing CRC8 check after encryption:
[0095] Formula 1: T(x) = f(x)*2 k +R(x),
[0096] Formula 2: R(x) = f(x)*2 k / G(x)
[0097] In the above formula, T(x) represents the sending code, R(x) represents the check code, f(x) represents the data to be transmitted, G(x) represents the polynomial agreed upon by the sender and receiver, and k is equal to the length of G(x) minus 1.
[0098] For example, if the transmitted data f(x) is 0x92, converted to binary 101001, then f(x) = 101001, and the polynomial convention is G(x) = X 3 +X 2 +X 0 , expressed in binary G(x) = 1101, length is 4
[0099] k is equal to the length of G(x) minus 1, then k = 3;
[0100] In the formula, f(x)*2 k =101001*2 3 =101001000
[0101] R(x)=f(x)*2 k / G(x)=101001000 / 1101, take the remainder 3 digits 001
[0102] T(x)=f(x)*2 k +R(x)=101001001
[0103] When the receiving end divides the received data by G(x), if the remainder is 0, it means the received data is correct, otherwise it is wrong.
[0104] The BASE16 encryption algorithm converts the data into corresponding binary numbers;
[0105] Then string all the binary numbers together, with 4 binary bits as a group, and convert them into the corresponding decimal numbers;
[0106] Find the corresponding character in the Base16 encoding table according to the decimal value;
[0107] The base is 4 bits to represent one character, and the original code is one byte (8 bits) to represent one character, which means that if one character is encoded using ASCII, it will now be converted into two characters. The data volume is twice as much as before. See the following table:
[0108]
[0109] The CRC8 verification process is as follows:
[0110] Set an 8-bit register to 0
[0111] XOR the byte with the highest bit of the register; shift the register left by one bit; if the XOR result is 1, XOR the register with a predefined polynomial
[0112] Repeat the above byte processing process until all bytes are processed
[0113] The final value in the register is the CRC check code.
[0114] S102: Send the ciphertext file to the signal source through the network port of the upper computer that sends the ciphertext;
[0115] The specific design process of sending the ciphertext to the host computer is as follows: First, design the ciphertext host computer UI interface, as follows Figure 5 , add a network port connection interface. After the interface is connected to the signal source, select the ciphertext file and send it to the signal source.
[0116] S103: The signal source parses the ciphertext file, sets new signal permissions according to the analysis, inputs the new signal permissions into the signal source host computer, reads the signal permissions and displays the open signals for users to use.
[0117] The signal source parses the ciphertext file:
[0118] The signal source receives the ciphertext file through the network port, and then performs a CRC8 check. After the check passes, it starts to use the BASE16 decryption algorithm to decrypt the product serial number, the option signal permission variable, and the key to obtain a mixed value. The product serial number is extracted from the mixed value and compared with the signal source serial number. After the comparison is successful, the option signal permission variable is extracted from the mixed value using the key and stored in the chip. Finally, the signal is selected whether to be open based on the option signal permission variable.
[0119] Embodiment 2: In the second aspect, as Figure 6 As shown, in order to achieve the above-mentioned purpose, the present invention discloses a system for setting signal permissions of a signal source through software, comprising:
[0120] The ciphertext generation module 11 is used to receive the setting signal authority, input the setting signal authority into the ciphertext generation host computer, and output the ciphertext file;
[0121] The ciphertext transmission module 12 is used to send the ciphertext file to the signal source through the ciphertext upper computer using the network port;
[0122] The ciphertext parsing module 13 is used for the signal source to parse the ciphertext file, set new signal permissions according to the analysis, input the new signal permissions into the signal source host computer, read the signal permissions and display the open signals for users to use.
[0123] In conjunction with the second aspect, in some implementations of the second aspect, the system further includes: the ciphertext generation module 11 inputs the set signal authority into the ciphertext generation host computer, and outputs a process of obtaining a ciphertext file:
[0124] Generate ciphertext The host computer mixes the product serial number, option signal permission variable, and key, and encrypts them using the BASE16 encryption algorithm. After encryption, it performs a CRC8 check to finally generate a ciphertext file.
[0125] The calculation process of encryption using the BASE16 encryption algorithm:
[0126] For example, if the sent data is 3,6, according to the ASCII table, the ASCII value of 3 is 51, and the ASCII value of 6 is 54;
[0127] 51 is converted to binary 00110011, the high four bits are 3 (decimal), the low four bits are 2 (decimal)
[0128] 54 is converted to binary 00110110, the high four bits are 3 (decimal), the low four bits are 6 (decimal)
[0129] Finally, the data obtained by BASE16 encrypting 3,6 is 3,3,3,6
[0130] The calculation process of CRC8 check after encryption:
[0131] Formula 1: T(x) = f(x)*2 k +R(x),
[0132] Formula 2: R(x) = f(x)*2 k / G(x)
[0133] In the above formula, T(x) represents the sending code, R(x) represents the check code, f(x) represents the data to be transmitted, G(x) represents the polynomial agreed upon by the sender and receiver, and k is equal to the length of G(x) minus 1.
[0134] For example, if the transmitted data f(x) is 0x92, converted to binary 101001, then f(x) = 101001, and the polynomial convention is G(x) = X 3 +X 2 +X 0 , expressed in binary G(x) = 1101, length is 4
[0135] k is equal to the length of G(x) minus 1, then k = 3;
[0136] In the formula, f(x)*2 k =101001*2 3 =101001000
[0137] R(x)=f(x)*2 k / G(x)=101001000 / 1101, take the remainder 3 digits 001
[0138] T(x)=f(x)*2 k +R(x)=101001001
[0139] When the receiving end divides the received data by G(x), if the remainder is 0, it means the received data is correct, otherwise it is wrong.
[0140] The BASE16 encryption algorithm converts the data into corresponding binary numbers;
[0141] Then string all the binary numbers together, with 4 binary bits as a group, and convert them into the corresponding decimal numbers;
[0142] Find the corresponding character in the Base16 encoding table according to the decimal value;
[0143] The CRC8 verification process is as follows:
[0144] Set an 8-bit register to 0
[0145] XOR the byte with the highest bit of the register; shift the register left by one bit; if the XOR result is 1, XOR the register with a predefined polynomial
[0146] Repeat the above byte processing process until all bytes are processed;
[0147] The final value in the register is the CRC check code;
[0148] The process of the signal source in the ciphertext parsing module 13 parsing the ciphertext file:
[0149] The signal source receives the ciphertext file through the network port, and then performs a CRC8 check. After the check passes, it starts to use the BASE16 decryption algorithm to decrypt the product serial number, the option signal permission variable, and the key to obtain a mixed value. The product serial number is extracted from the mixed value and compared with the signal source serial number. After the comparison is successful, the option signal permission variable is extracted from the mixed value using the key and stored in the chip. Finally, the signal is selected whether to be open based on the option signal permission variable.
[0150] The example operation is as follows
[0151] like Figure 7 As shown, the SSB and DSB options are disabled ( Figure 7 SSB, DSB are not displayed), LFM (Linear Frequency Modulation) and CW options are enabled ( Figure 7 Display LFM, CW)
[0152] like Figure 8 As shown, input the signal source module serial number 410222070121, change the option permissions (SSB and DSB option permissions are turned on, LFM and CW option permissions are turned off, and the UC, FH, BBG, and BW option permission statuses are not changed), click "Generate Ciphertext" to generate a 47-bit ciphertext, and a file save interface will pop up, save it to the path you want.
[0153] like Fig. 9 As shown in the figure, use the option setting tool to send the file to the signal source module. The specific operations are as follows:
[0154] Connecting devices
[0155] Select a previously saved sequence file
[0156] Click to confirm the release
[0157] Signal source module restart
[0158] After setting permissions, such as Fig.10 As shown, the SSB and DSB options are turned on ( Fig.10 Display SSB, DSB), LFM (Linear Frequency Modulation) and CW option permissions are turned off ( Fig.10 Linear frequency modulation (LFM, CW) is not displayed, and the permission status of UC, FH, BBG, and BW options is not changed. The permissions are consistent with the above operations.
[0159] Based on the same inventive concept, the present invention also provides a computer device, which includes: one or more processors, and a memory for storing one or more computer programs; the program includes program instructions, and the processor is used to execute the program instructions stored in the memory. The processor 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 gates or transistor logic devices, discrete hardware components, etc. It is the computing core and control core of the terminal, which is used to implement one or more instructions, specifically for loading and executing one or more instructions in a computer storage medium to implement the above method.
[0160] It needs to be further explained that, based on the same inventive concept, the present invention also provides a computer storage medium, on which a computer program is stored, and the computer program is executed by a processor to execute the above method. The storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electrical, magnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0161] 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 disclosure. 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.
[0162] The above shows and describes the basic principles, main features and advantages of the present disclosure. Those skilled in the art should understand that the present disclosure is not limited by the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present disclosure. Without departing from the spirit and scope of the present disclosure, the present disclosure may have various changes and improvements, and these changes and improvements fall within the scope of the present disclosure to be protected.
Claims
1. A method for setting signal permissions of a signal source through software, characterized in that: The method comprises the following steps: Receive the set signal authority, input the set signal authority into the ciphertext generating upper computer, and output the ciphertext file; Send the ciphertext file to the signal source through the network port of the upper computer that sends the ciphertext; The signal source parses the ciphertext file, sets new signal permissions based on the analysis, inputs the new signal permissions into the signal source host computer, reads the signal permissions and displays the open signals for users to use.
2. The method for setting signal permissions of a signal source by software according to claim 1, characterized in that: The process of inputting the set signal authority into the ciphertext generating host computer and outputting the ciphertext file is as follows: Generate ciphertext The host computer mixes the product serial number, option signal permission variable, and key, and encrypts them using the BASE16 encryption algorithm. After encryption, a CRC8 check is performed to finally generate a ciphertext file.
3. The method for setting signal permissions of a signal source by software according to claim 2, characterized in that: The calculation process of encryption using the BASE16 encryption algorithm is as follows: Assume the sent data is 3,6. According to the ASCII table, the ASCII value of 3 is 51, and the ASCII value of 6 is 54. 51 is converted to binary 00110011, the high four bits are 3, the low four bits are 254 is converted to binary 00110110, the high four bits are 3, the low four bits are 6; Finally, the data obtained after BASE16 encrypts 3,6 is 3,3,3,6.
4. The method for setting signal permissions of a signal source by software according to claim 2, characterized in that: The calculation process of performing CRC8 check after encryption: Formula 1: T(x) = f(x)*2 k +R(x), Formula 2: R(x) = f(x)*2 k / G(x) In the formula, T(x) represents the sending code, R(x) represents the check code, f(x) represents the data to be transmitted, G(x) represents the polynomial agreed upon by the sender and receiver, and k is equal to the length of G(x) minus 1.
5. The method for setting signal permissions of a signal source by software according to claim 3, characterized in that: The BASE16 encryption algorithm converts the data into corresponding binary numbers; Then string all the binary numbers together, with 4 binary bits as a group, and convert them into the corresponding decimal numbers; Find the corresponding character in the Base16 encoding table according to the decimal value.
6. The method for setting signal permissions of a signal source by software according to claim 4, characterized in that: The CRC8 verification process is as follows: Set an 8-bit register to 0 XOR the byte with the highest bit of the register; shift the register left by one bit; if the XOR result is 1, XOR the register with a predefined polynomial Repeat the above byte processing process until all bytes are processed The final value in the register is the CRC check code.
7. The method for setting signal permissions of a signal source by software according to claim 1, characterized in that: The signal source parses the ciphertext file: The signal source receives the ciphertext file through the network port, and then performs a CRC8 check. After the check passes, it starts to use the BASE16 decryption algorithm to decrypt the product serial number, the option signal permission variable, and the key to obtain a mixed value. The product serial number is extracted from the mixed value and compared with the signal source serial number. After the comparison is successful, the option signal permission variable is extracted from the mixed value using the key and stored in the chip. Finally, the signal is selected whether to be open based on the option signal permission variable.
8. A signal source sets a signal authority system through software, characterized in that: include: The ciphertext generation module is used to receive the set signal authority, input the set signal authority into the ciphertext generation host computer, and output the ciphertext file; The ciphertext transmission module is used to send the ciphertext file to the signal source through the network port of the ciphertext upper computer; The ciphertext parsing module is used for the signal source to parse the ciphertext file, set new signal permissions according to the analysis, input the new signal permissions into the signal source host computer, read the signal permissions and display the open signals for users to use.
9. A signal source setting signal authority system by software according to claim 8, characterized in that: The ciphertext generation module inputs the set signal authority into the ciphertext generation host computer and outputs the process of obtaining the ciphertext file: Generate ciphertext The host computer mixes the product serial number, option signal permission variable, and key, and encrypts them using the BASE16 encryption algorithm. After encryption, it performs a CRC8 check to finally generate a ciphertext file. The calculation process of encryption using the BASE16 encryption algorithm: Assume the sent data is 3,6. According to the ASCII table, the ASCII value of 3 is 51, and the ASCII value of 6 is 54. 51 is converted to binary 00110011, the high four bits are 3, the low four bits are 254 is converted to binary 00110110, the high four bits are 3, the low four bits are 6; Finally, the data obtained by BASE16 encrypting 3,6 is 3,3,3,6; The calculation process of CRC8 check after encryption: Formula 1: T(x) = f(x)*2 k +R(x), Formula 2: R(x) = f(x)*2 k / G(x) In the formula, T(x) represents the sending code, R(x) represents the check code, f(x) represents the data to be transmitted, G(x) represents the polynomial agreed upon by the sender and receiver, and k is equal to the length of G(x) minus 1; The BASE16 encryption algorithm converts the data into corresponding binary numbers; Then string all the binary numbers together, with 4 binary bits as a group, and convert them into the corresponding decimal numbers; Find the corresponding character in the Base16 encoding table according to the decimal value; The CRC8 verification process is as follows: Set an 8-bit register to 0 XOR the byte with the highest bit of the register; shift the register left by one bit; if the XOR result is 1, XOR the register with a predefined polynomial Repeat the above byte processing process until all bytes are processed; The final value in the register is the CRC check code; The process of the signal source in the ciphertext parsing module parsing the ciphertext file: The signal source receives the ciphertext file through the network port, and then performs a CRC8 check. After the check passes, it starts to use the BASE16 decryption algorithm to decrypt the product serial number, the option signal permission variable, and the key to obtain a mixed value. The product serial number is extracted from the mixed value and compared with the signal source serial number. After the comparison is successful, the option signal permission variable is extracted from the mixed value using the key and stored in the chip. Finally, the signal is selected whether to be open based on the option signal permission variable.
10. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: The memory stores a computer program that can be run on the processor. When the processor loads and executes the computer program, a method for setting signal permissions through software of a signal source according to any one of claims 1 to 7 is adopted.