Data transmission method, system, storage medium and device based on shared key

By adopting a data transmission method based on shared keys in the cloud HIS system, the initial data is encrypted and decrypted in plain text, which solves the time-consuming problem of server-side decryption and improves data processing performance and security.

CN118368062BActive Publication Date: 2024-09-06QINGDAO RUNZE GUANGHE TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410789460.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-06
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

In the cloud HIS system, it takes a long time for the server to decrypt the data after receiving it, resulting in a decrease in data processing performance.

Method used

Using a data transmission method based on shared keys, a security key is randomly generated on the server side and used to encrypt the initial data in plain text. The generated encrypted data is transmitted to the server, and the server then performs decryption processing to improve decryption. speed.

Benefits of technology

It effectively improves the decryption speed and data processing efficiency of the server, while ensuring data security and avoiding data leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118368062B
    Figure CN118368062B
Patent Text Reader

Abstract

The present invention discloses a data transmission method, system, storage medium and device based on a shared key, and relates to the technical field of data transmission. The method comprises: sending a data transmission request to a preset server, so that the server randomly generates a security key according to a preset key generation rule; obtaining a security key, and performing plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data; transmitting the encrypted data to the server. The initial data is encrypted and decrypted in plaintext and in a shared key manner, which can effectively improve the decryption speed of the server; in addition, even if the encrypted data is plaintext, after the security key is implanted into the plaintext data, the data security can be effectively guaranteed, and the server decrypts the encrypted plaintext data, which is more efficient and the server processing speed is faster, which solves the problem in the prior art that the server is time-consuming to perform decryption processing after receiving the decrypted data, resulting in a decrease in the performance of the server in processing data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to a data transmission method, system, storage medium and device based on a shared key. Background Art

[0002] In the development process of cloud HIS system, the client and server are always required to communicate and transmit data continuously. The normal operation is to use plain text or cipher text during data transmission.

[0003] Among them, if plain text is used, data leakage will occur after the data packet is intercepted; if ciphertext is used for transmission, although the data will not be leaked, after the data reaches the server, the server needs to decrypt and process the data. The decryption process is relatively time-consuming, which leads to a decrease in the performance of the server in processing data. Summary of the invention

[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a data transmission method, system, storage medium and device based on a shared key, aiming to solve the problem in the prior art that the decryption processing of the decrypted data by the server is time-consuming, resulting in a decrease in the performance of the server in processing data.

[0005] A first aspect of the present invention is to provide a data transmission method based on a shared key, the method comprising:

[0006] Sending a data transmission request to a preset server, so that the server randomly generates a security key according to a preset key generation rule;

[0007] Obtain the security key, and perform plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data;

[0008] The encrypted data is transmitted to the server.

[0009] According to one aspect of the above technical solution, a data transmission request is sent to a preset server, so that the server randomly generates a security key according to a preset key generation rule, specifically including:

[0010] When the server receives the data transmission request, it selects a preset number of target random numbers from the pre-provided random numbers, and randomly combines the target random numbers to obtain a first subkey;

[0011] Identify the time node when the client sends the data transmission request to the server, convert the time node into a timestamp, and obtain a second subkey;

[0012] Obtaining the network identifier of the client to obtain a third subkey;

[0013] The first subkey, the second subkey and the third subkey are combined to obtain a security key.

[0014] According to one aspect of the above technical solution, combining the first subkey, the second subkey and the third subkey to obtain a security key specifically includes:

[0015] Combining the first subkey, the second subkey and the third subkey in order to obtain a security key;

[0016] Alternatively, the first subkey, the second subkey and the third subkey are randomly combined to obtain the security key.

[0017] According to one aspect of the above technical solution, the random number includes a number type, a letter type, and a character type.

[0018] According to one aspect of the above technical solution, obtaining the security key, and performing plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data specifically includes:

[0019] Identify the total number of bits of the security key;

[0020] Loop through the security key to obtain each bit of data in the security key and the corresponding position index value;

[0021] Taking the position index value as the character insertion interval, inserting the bit data of each bit into the initial data in sequence according to the insertion interval;

[0022] If the character length is exceeded, the same operation is repeated after the data is processed until all the data bits of the security key are inserted into the initial data, and different end characters are added after the last character is processed in each round to obtain the first processed data;

[0023] Performing a flip operation on the first processed data to obtain second processed data;

[0024] The total number of bits of the security key is used as the number of cycles to obtain encrypted data.

[0025] According to one aspect of the above technical solution, after the server receives the encrypted data, decrypting the encrypted data to obtain real data specifically includes:

[0026] The encrypted data is subjected to inverse processing to obtain real data in the encrypted data corresponding to the initial data.

[0027] A second aspect of the present invention is to provide a data transmission system based on a shared key, which is applied to the data transmission method described in the above technical solution, and the system comprises:

[0028] A transmission request module, used to send a data transmission request to a preset server, so that the server randomly generates a security key according to a preset key generation rule;

[0029] A data encryption module, used to obtain the security key, and perform plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data;

[0030] A data transmission module is used to transmit the encrypted data to the server.

[0031] According to one aspect of the above technical solution, the data encryption module is specifically used for:

[0032] Identify the total number of bits of the security key;

[0033] Loop through the security key to obtain each bit of data in the security key and the corresponding position index value;

[0034] Taking the position index value as the character insertion interval, inserting the bit data of each bit into the initial data in sequence according to the insertion interval;

[0035] If the character length is exceeded, the same operation is repeated after the data is processed until all the data bits of the security key are inserted into the initial data, and different end characters are added after the last character is processed in each round to obtain the first processed data;

[0036] Performing a flip operation on the first processed data to obtain second processed data;

[0037] The total number of bits of the security key is used as the number of cycles to obtain encrypted data.

[0038] A third aspect of the present invention is to provide a computer-readable storage medium having a computer program stored thereon, which implements the method described in the above technical solution when executed by a processor.

[0039] The fourth aspect of the present invention is to provide a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the method described in the above technical solution when executing the computer program.

[0040] Compared with the prior art, the data transmission method, system, storage medium and device based on shared key shown in the present invention have the following beneficial effects:

[0041] The cloud computing-based hospital information system, namely cloud HIS, uses a shared key method to achieve secure transmission of initial data. Each time the client requests the server, it will obtain a security key from the server, and then encrypt the initial data to be transmitted in plain text according to the security key, and then transmit the encrypted data to the server to achieve secure data transmission. The initial data is encrypted in plain text and shared key, and decrypted in shared key mode, which can effectively improve the decryption speed of the server; in addition, even if the encrypted data is plain text, after the security key is implanted into the plain text data, the data security can be effectively guaranteed, and the server can decrypt the encrypted plain text data more efficiently, and the server processing speed is faster. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0043] Figure 1 Schematic diagram of the flow of a data transmission method based on a shared key in the first embodiment of the present invention;

[0044] Figure 2 4 is a structural block diagram of a data transmission system based on a shared key in a second embodiment of the present invention. DETAILED DESCRIPTION

[0045] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings. Several embodiments of the present invention are shown in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.

[0046] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0048] Embodiment 1

[0049] See also Figure 1 The first embodiment of the present invention provides a data transmission method based on a shared key, which is applied to a cloud HIS, i.e., a hospital information system based on cloud computing. In this embodiment, the method includes steps S10 to S30:

[0050] Step S10, sending a data transmission request to a preset server, so that the server randomly generates a security key according to a preset key generation rule.

[0051] In this embodiment, the data transmission method based on shared keys is used for the secure transmission of data, and plain text encryption is performed before data transmission and plain text decryption is performed after data transmission, which can increase the security of data transmission and improve the data extraction efficiency of the server.

[0052] It should be noted that the client is the user end and the server is the background system. When the user needs to transmit data, the client initiates a data transmission request to the preset server. After the server receives the data transmission request, it will randomly generate a security key according to the preset key generation rules and feed the security key back to the client to achieve key sharing, that is, shared key.

[0053] The security key is randomly generated according to the key generation rules. It is random, but the key generation rules are strictly enforced. The security key includes numbers, uppercase and lowercase letters, and special characters, and randomly combines numbers, uppercase and lowercase letters, and special characters.

[0054] More specifically, in this embodiment, a data transmission request is sent to a preset server, so that the server randomly generates a security key according to a preset key generation rule, specifically including steps S11 to S14:

[0055] Step S11, when the server receives the data transmission request, it selects a preset number of target random numbers from the pre-provided random numbers, and randomly combines the target random numbers to obtain a first subkey.

[0056] In this embodiment, the random number includes a number type, a letter type, and a character type, and the letter type is further divided into uppercase and lowercase letters. When generating a security key, a preset number of target random numbers are selected from the pre-provided random numbers, and then used as the first subkey of the security key to obtain the first element constituting the security key.

[0057] For example, a 6-10-bit target random number is randomly selected from the numbers 0-9, lowercase letters az, uppercase letters AZ, special characters !@#$%^&*()_+{}:”?><, etc., such as 9y6&4“<, and then the above target random number is placed in the random position of the security key to obtain the first subkey.

[0058] Step S12, identifying the time node when the client sends the data transmission request to the server, converting the time node into a timestamp, and obtaining a second subkey.

[0059] In this embodiment, the generation of the security key also includes the generation of the second subkey. When generating the security key, the time node when the client sends a data transmission request to the server is identified, and then the time node is converted into a timestamp based on the timestamp conversion model, which is used as the second subkey of the security key to obtain the second element constituting the security key.

[0060] For example, the time node when the client sends a data transmission request to the server is 2023-11-15 14:26:45. After the timestamp is converted by the preset timestamp conversion model, the converted timestamp is 1700029605, and 1700029605 is used as the second subkey of the security key.

[0061] Step S13, obtaining the network identification of the client and obtaining the third subkey.

[0062] In this embodiment, the generation of the security key, in addition to the random number shown by the first subkey and the timestamp shown by the second subkey, also includes a third subkey output based on the client network identifier. Only when the first subkey, the second subkey and the third subkey are obtained at the same time, can the security key be generated.

[0063] For example, when the client requests the server, it obtains the hash value (HashCode value) of the network connection object, that is, the client's network identifier, such as 0167892, and then uses 0167892 as the third subkey of the security key to obtain the third element that constitutes the security key.

[0064] Step S14: Combine the first subkey, the second subkey and the third subkey to obtain a security key.

[0065] In this embodiment, the first sub-key, the second sub-key, and the third sub-key are combined in sequence to obtain a security key. For example, the first sub-key 9y6&4“<, the second sub-key 1700029605, and the third sub-key 0167892 are combined in sequence, and 9y6&4“<1700029>6050167892 is output, thus obtaining a random security key.

[0066] In some other feasible embodiments, the first sub-key, the second sub-key, and the third sub-key may not be combined in sequence. For example, the second sub-key is placed at the front, and the first sub-key and the third sub-key are arranged behind it.

[0067] That is to say, in this embodiment, the generation of each character in the security key is random. The first sub-key, the second sub-key, and the third sub-key that constitute the three elements of the security key are random. Then, the security key includes combinations of multiple elements. Without obtaining the security key or key authorization, the cracking difficulty is high, so the security is high.

[0068] Step S20: Obtain the security key, and perform plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data.

[0069] In this embodiment, after randomly generating the security key on the server side, the server side sends the security key to the client to achieve the sharing of the security key, and then performs plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data.

[0070] Among them, obtaining the security key and performing plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data specifically includes steps S21 - S26:

[0071] Step S21: Identify the total number of digits of the security key.

[0072] Specifically, after receiving the security key sent by the server side, the security key will be identified to identify the total number of characters occupied in the security key. For example, the total number of digits of the above security key 9y6&4“<1700029>6050167892 is 24 digits.

[0073] Step S22: Perform a circular traversal of the security key to obtain each bit of data in the security key and its corresponding position index value.

[0074] As shown in Table 1, it is a comparison table of each bit of data in the security key and its corresponding position index value.

[0075] Table 1

[0076]

[0077] Step S23, using the position index value as the character insertion interval, inserting the bit data of each bit into the initial data in sequence according to the insertion interval.

[0078] Specifically, take out each bit of data and the corresponding position index value, use the position index value as the character insertion interval, and insert each bit of data into the initial data to be transmitted in sequence according to the insertion interval. As shown in Table 2, if the initial data that the client needs to transmit is "this is the test data that the client requests the server", then insert each bit of data into the initial data in sequence according to the insertion interval, and get "these 9 are the test data that the client requests the server...".

[0079] Table 2

[0080]

[0081] Step S24, if the character length is exceeded, the same operation is repeated after the data is processed until each bit of the security key is completely inserted into the initial data, and different end characters are added after the last character is processed in each round to obtain the first processed data.

[0082] Specifically, if the character length is exceeded, the processed data will be looped through the same operation until all key values ​​are processed. After each round of processing, EOF1, 2, .....n characters will be added after the last processed character as the end character, thus providing a starting position for the subsequent reverse operation. Among them, EOF1, 2, .....n are not counted as characters during the operation, and no character operations are performed. They are just placeholders, and n represents the number of loop measurements. After each operation, the subscript of the added EOF is different, and they are arranged in order to obtain the first processed data data1.

[0083] Step S25, performing a flip operation on the first processed data to obtain second processed data.

[0084] Specifically, a flip operation is performed on the first processed data data1 to obtain the second processed data data2, for example, "According to the test data, the end&service request 6 end customer y is 9 this...".

[0085] Step S26, looping with the total number of bits of the security key as the number of loops to obtain encrypted data.

[0086] Specifically, the operations of step S23, step S24 and step S25 are repeated until the total number of digits of the cyclic key is total times, forming the final valid ciphertext data data-total, and obtaining the encrypted data.

[0087] Step S30, transmitting the encrypted data to the server.

[0088] In this embodiment, after the client transmits the encrypted data to the server, the server also needs to decrypt the encrypted data, specifically, perform inverse processing on the encrypted data, so as to obtain the real data in the encrypted data corresponding to the initial data.

[0089] Specifically, the server performs a reverse operation based on the encrypted data data-total transmitted by the client to obtain the final real data. The reverse operation is the opposite operation of the client encryption process, that is, step S23, step S24 and step S25 are executed in reverse, first executing step S25, then executing step S24, and finally executing step S23, so that the encrypted data encrypted and transmitted by the client can be decrypted to obtain the real data corresponding to the initial data.

[0090] In summary, compared with the prior art, the data transmission method based on a shared key shown in this embodiment has the following beneficial effects:

[0091] The cloud computing-based hospital information system, namely cloud HIS, uses a shared key method to achieve secure transmission of initial data. Each time the client requests the server, it will obtain a security key from the server, and then encrypt the initial data to be transmitted in plain text according to the security key, and then transmit the encrypted data to the server to achieve secure data transmission. The initial data is encrypted in plain text and shared key, and decrypted in shared key mode, which can effectively improve the decryption speed of the server; in addition, even if the encrypted data is plain text, after the security key is implanted into the plain text data, the data security can be effectively guaranteed, and the server can decrypt the encrypted plain text data more efficiently, and the server processing speed is faster.

[0092] Embodiment 2

[0093] See also Figure 2 The second embodiment of the present invention provides a data transmission system based on a shared key, which is applied to a cloud HIS, i.e., a hospital information system based on cloud computing. In this embodiment, the system includes:

[0094] The transmission request module 10 is used to send a data transmission request to a preset server, so that the server randomly generates a security key according to a preset key generation rule.

[0095] In this embodiment, the data transmission system based on shared keys is used for secure data transmission, and plain text encryption is performed before data transmission and plain text decryption is performed after data transmission, which can increase the security of data transmission and improve the data extraction efficiency of the server.

[0096] It should be noted that the client is the user end and the server is the background system. When the user needs to transmit data, the client initiates a data transmission request to the preset server. After the server receives the data transmission request, it will randomly generate a security key according to the preset key generation rules and feed the security key back to the client to achieve key sharing, that is, shared key.

[0097] The security key is randomly generated according to the key generation rules. It is random, but the key generation rules are strictly enforced. The security key includes numbers, uppercase and lowercase letters, and special characters, and randomly combines numbers, uppercase and lowercase letters, and special characters.

[0098] More specifically, the transmission request module is used to:

[0099] When the server receives the data transmission request, it selects a preset number of target random numbers from the pre-provided random numbers, and randomly combines the target random numbers to obtain a first subkey.

[0100] In this embodiment, the random number includes a number type, a letter type, and a character type, and the letter type is further divided into uppercase and lowercase letters. When generating a security key, a preset number of target random numbers are selected from the pre-provided random numbers, and then used as the first subkey of the security key to obtain the first element constituting the security key.

[0101] For example, a 6-10-bit target random number is randomly selected from the numbers 0-9, lowercase letters az, uppercase letters AZ, special characters !@#$%^&*()_+{}:”?><, etc., such as 9y6&4“<, and then the above target random number is placed in the random position of the security key to obtain the first subkey.

[0102] Identify the time node when the client sends the data transmission request to the server, convert the time node into a timestamp, and obtain a second subkey.

[0103] In this embodiment, the generation of the security key also includes the generation of the second subkey. When generating the security key, the time node when the client sends a data transmission request to the server is identified, and then the time node is converted into a timestamp based on the timestamp conversion model, which is used as the second subkey of the security key to obtain the second element constituting the security key.

[0104] For example, when the client sends a data transmission request to the server at the time node of 2023-11-15 14:26:45, after timestamp conversion through a preset timestamp conversion model, the obtained timestamp is 1700029605, and 1700029605 is used as the second sub-key of the security key.

[0105] Obtain the network identifier of the client to get the third sub-key.

[0106] In this embodiment, the generation of the security key includes, in addition to the random number shown by the first sub-key and the timestamp shown by the second sub-key, a third sub-key output based on the client network identifier. Only when the first sub-key, the second sub-key, and the third sub-key are obtained simultaneously can the security key be generated.

[0107] For example, when the client requests the server, obtain the hash value (HashCode value) of the network connection object, that is, the network identifier of the client. For example, if it is 0167892, then 0167892 is used as the third sub-key of the security key to obtain the third element constituting the security key.

[0108] Combine the first sub-key, the second sub-key, and the third sub-key to obtain the security key.

[0109] In this embodiment, the combination will be carried out in the order of the first sub-key, the second sub-key, and the third sub-key to obtain the security key. For example, combine the first sub-key 9y6&4“<, the second sub-key 1700029605, and the third sub-key 0167892 in sequence, and output 9y6&4“<1700029>6050167892 to obtain a random security key.

[0110] In some other feasible embodiments, the first sub-key, the second sub-key, and the third sub-key may not be combined in sequence. For example, place the second sub-key at the front, and the first sub-key and the third sub-key are arranged behind it.

[0111] That is to say, in this embodiment, the generation of each character in the security key is random. The first sub-key, the second sub-key, and the third sub-key constituting the three elements of the security key are random. Then the security key includes a combination of multiple elements. Without obtaining the security key or key authorization, the cracking difficulty is high, so the security is high.

[0112] The data encryption module 20 is used to obtain the security key and perform plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data;

[0113] In this embodiment, after the server randomly generates a security key, the server sends the security key to the client to achieve sharing of the security key, and then encrypts the initial data to be transmitted in plain text according to the security key to obtain encrypted data.

[0114] The data encryption module 20 is specifically used for:

[0115] Identifies the total number of bits of the security key.

[0116] The security key is traversed in a loop to obtain each bit of data in the security key and a corresponding position index value.

[0117] The position index value is used as the character insertion interval, and the bit data of each bit is sequentially inserted into the initial data according to the insertion interval.

[0118] If the character length is exceeded, the same operation is repeated after the data is processed until each bit of the security key is completely inserted into the initial data, and a different end character is added after the last character is processed in each round to obtain the first processed data.

[0119] The first processed data is flipped to obtain second processed data.

[0120] The total number of bits of the security key is used as the number of cycles to obtain encrypted data.

[0121] The data transmission module 30 is used to transmit the encrypted data to the server.

[0122] In this embodiment, after the client transmits the encrypted data to the server, the server also needs to decrypt the encrypted data, specifically, perform inverse processing on the encrypted data, so as to obtain the real data in the encrypted data corresponding to the initial data.

[0123] In summary, compared with the prior art, the data transmission system based on shared keys shown in this embodiment has the following beneficial effects:

[0124] The cloud computing-based hospital information system, namely cloud HIS, uses a shared key method to achieve secure transmission of initial data. Each time the client requests the server, it will obtain a security key from the server, and then encrypt the initial data to be transmitted in plain text according to the security key, and then transmit the encrypted data to the server to achieve secure data transmission. The initial data is encrypted in plain text and shared key, and decrypted in shared key mode, which can effectively improve the decryption speed of the server; in addition, even if the encrypted data is plain text, after the security key is implanted into the plain text data, the data security can be effectively guaranteed, and the server can decrypt the encrypted plain text data more efficiently, and the server processing speed is faster.

[0125] Embodiment 3

[0126] A third embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method described in the above embodiment is implemented.

[0127] Embodiment 4

[0128] A fourth embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the method described in the above embodiments when executing the computer program.

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

[0130] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. A data transmission method based on a shared key, characterized in that: The method comprises: Sending a data transmission request to a preset server, so that the server randomly generates a security key according to a preset key generation rule; Obtain the security key, and perform plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data; Transmitting the encrypted data to the server; The step of obtaining the security key and performing plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data specifically includes: Identify the total number of bits of the security key; Loop through the security key to obtain each bit of data in the security key and the corresponding position index value; Taking the position index value as the character insertion interval, inserting the bit data of each bit into the initial data in sequence according to the insertion interval; If the character length is exceeded, the same operation is repeated after the data is processed until all the data bits of the security key are inserted into the initial data, and different end characters are added after the last character is processed in each round to obtain the first processed data; Performing a flip operation on the first processed data to obtain second processed data; The total number of bits of the security key is used as the number of cycles to obtain encrypted data.

2. The data transmission method based on a shared key according to claim 1, characterized in that: Sending a data transmission request to a preset server, so that the server randomly generates a security key according to a preset key generation rule, specifically including: When the server receives the data transmission request, it selects a preset number of target random numbers from the pre-provided random numbers, and randomly combines the target random numbers to obtain a first subkey; Identify the time node when the client sends the data transmission request to the server, convert the time node into a timestamp, and obtain a second subkey; Obtaining the network identifier of the client to obtain a third subkey; The first subkey, the second subkey and the third subkey are combined to obtain a security key.

3. The data transmission method based on shared key according to claim 2, characterized in that: Combining the first subkey, the second subkey, and the third subkey to obtain a security key specifically includes: Combining the first subkey, the second subkey and the third subkey in order to obtain a security key; Alternatively, the first subkey, the second subkey and the third subkey are randomly combined to obtain the security key.

4. The data transmission method based on shared key according to claim 2, characterized in that: The random number includes a number type, a letter type, and a character type.

5. The data transmission method based on shared key according to claim 1, characterized in that: After the server receives the encrypted data, the encrypted data is decrypted to obtain the real data, which specifically includes: The encrypted data is subjected to inverse processing to obtain real data in the encrypted data corresponding to the initial data.

6. A data transmission system based on a shared key, characterized in that: The data transmission method according to any one of claims 1 to 5, wherein the system comprises: A transmission request module, used to send a data transmission request to a preset server, so that the server randomly generates a security key according to a preset key generation rule; A data encryption module, used to obtain the security key, and perform plaintext encryption processing on the initial data to be transmitted according to the security key to obtain encrypted data; A data transmission module is used to transmit the encrypted data to the server.

7. The data transmission system based on shared key according to claim 6, characterized in that: The data encryption module is specifically used for: Identify the total number of bits of the security key; Loop through the security key to obtain each bit of data in the security key and the corresponding position index value; Taking the position index value as the character insertion interval, inserting the bit data of each bit into the initial data in sequence according to the insertion interval; If the character length is exceeded, the same operation is repeated after the data is processed until all the data bits of the security key are inserted into the initial data, and different end characters are added after the last character is processed in each round to obtain the first processed data; Performing a flip operation on the first processed data to obtain second processed data; The total number of bits of the security key is used as the number of cycles to obtain encrypted data.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and capable of being executed on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.