Information transmission method, device, computer equipment and storage medium
By using two channels to transmit encrypted information and key information respectively in information transmission, the problem of insufficient data security and efficiency in the existing technology is solved, and efficient and safe information transmission is achieved.
Patent Information
- Application Number
- CN202111335513.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-11
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-11-11
AI Technical Summary
Existing information transmission methods have shortcomings in ensuring data security and efficiency. Traditional encryption methods require huge data operations, which are labor-intensive, costly and low-efficiency.
An information transmission method is adopted to ensure the security and efficiency of information transmission by obtaining the information to be transmitted and key information, and using two channels to transmit encrypted information and key information respectively. Specific steps include responding to the information transmission request, obtaining the information to be transmitted and the key information, encrypting the information to be transmitted according to the key information, and transmitting it through the public channel and the private channel. The receiving node decrypts the information according to the key information to obtain the original information.
It improves the security and efficiency of information transmission, reduces the labor and cost of data calculation, and improves transmission efficiency.
Smart Images

Figure CN114244562B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of network security technology, and in particular to an information transmission method, apparatus, computer equipment and storage medium. Background Art
[0002] The full arrival of the information age has made the secure transmission of information a more prominent issue. As a network code that carries information reception and transmission, whether its security can be guaranteed is not only a major issue in the technical field, but also has attracted the attention of the general public.
[0003] Cryptography is a key technology in ensuring user information security. Technical personnel basically use relevant methods in the field of cryptography to ensure data security. The most common methods are data encryption, hash functions, and message recognition. However, due to the lack of effective technical support, in the traditional operating model, technical personnel need to perform huge data calculations, which is labor-intensive and costly. At the same time, the efficiency of existing information transmission methods is still relatively low. Summary of the invention
[0004] Based on this, it is necessary to provide an information transmission method, device, computer equipment and storage medium to address the above technical problems.
[0005] An information transmission method, comprising:
[0006] In response to the information transmission request, obtaining the information to be transmitted and the key information;
[0007] Encrypting the information to be transmitted according to the key information to obtain encrypted information;
[0008] Sending the encrypted information to a receiving node via a first channel;
[0009] The key information is sent to the receiving node through the second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0010] In one embodiment, the step of obtaining the information to be transmitted and the key information in response to the information transmission request includes:
[0011] Determine a next hop node identifier according to the information transmission request;
[0012] The information to be transmitted and the key information are respectively obtained from a preset limited field according to the next hop node identifier.
[0013] In one of the embodiments, acquiring the information to be transmitted from a preset limited field according to the next hop node identifier includes:
[0014] Determining a time point corresponding to the information transmission request;
[0015] According to the time node, a corresponding row vector is selected from the preset finite field as the information to be transmitted.
[0016] In one embodiment, encrypting the information to be transmitted to obtain encrypted information includes:
[0017] Obtaining the amount of information to be transmitted;
[0018] If the amount of information is not the preset amount of information, the information to be transmitted is converted into the preset amount of information and then encrypted to obtain the encrypted information.
[0019] In one embodiment, the first channel is a public channel; the second channel is a private channel corresponding to the receiving node.
[0020] A method for receiving information, comprising:
[0021] Sending an information transmission request carrying identification information to a server; the server sending the information transmission request to a corresponding source node according to the identification information;
[0022] receiving encryption information returned by the source node in the first channel, and receiving key information returned by the source node in the second channel;
[0023] After the encrypted information is decrypted according to the key information, the information to be transmitted is obtained.
[0024] An information transmission device, comprising:
[0025] A request response module, used to respond to an information transmission request and obtain information to be transmitted and key information;
[0026] An information encryption module, used to encrypt the information to be transmitted according to the key information to obtain encrypted information;
[0027] A first sending module, used to send the encrypted information to a receiving node through a first channel;
[0028] The second sending module is used to send the key information to the receiving node through the second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0029] An information receiving device, the device comprising:
[0030] A request sending module, used to send an information transmission request carrying identification information to a server; the server sends the information transmission request to a corresponding source node according to the identification information;
[0031] An information receiving module, used to receive the encrypted information returned by the source node in the first channel, and to receive the key information returned by the source node in the second channel;
[0032] The information decryption module is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0033] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0034] In response to the information transmission request, obtaining the information to be transmitted and the key information;
[0035] Encrypting the information to be transmitted according to the key information to obtain encrypted information;
[0036] Sending the encrypted information to a receiving node via a first channel;
[0037] The key information is sent to the receiving node through the second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0038] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:
[0039] In response to the information transmission request, obtaining the information to be transmitted and the key information;
[0040] Encrypting the information to be transmitted according to the key information to obtain encrypted information;
[0041] Sending the encrypted information to a receiving node via a first channel;
[0042] The key information is sent to the receiving node through the second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0043] The above-mentioned information transmission method, device, computer equipment and storage medium, the method includes: in response to an information transmission request, obtaining information to be transmitted and key information; encrypting the information to be transmitted according to the key information to obtain encrypted information; sending the encrypted information to a receiving node through a first channel; sending the key information to a receiving node through a second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted. The present application encrypts the information to be transmitted using the key information in response to an information transmission request, and transmits the encrypted information and the key information respectively through two channels, so that the information to be transmitted and the key information are transmitted separately, thereby improving the security and efficiency of information transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 An application environment diagram of an information transmission method in an embodiment;
[0045] Figure 2 is a flow chart of an information transmission method in one embodiment;
[0046] Figure 3 A schematic diagram of a process for obtaining information to be transmitted and key information in an embodiment;
[0047] Figure 4 An application environment diagram of an information receiving method in an embodiment;
[0048] Figure 5 is a structural block diagram of an information transmission device in an embodiment;
[0049] Figure 6 is a structural block diagram of an information receiving device in one embodiment;
[0050] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] The information transmission method provided in this application can be applied to Figure 1In the application environment shown. Among them, the terminal 11 communicates with the server 12 and the receiving node 13 through the network. The terminal 11 responds to the information transmission request sent by the server 12, obtains the information to be transmitted and the key information; the terminal 11 encrypts the information to be transmitted according to the key information to obtain the encrypted information; the terminal 11 sends the encrypted information to the receiving node 13 through the first channel; the terminal 11 sends the key information to the receiving node 13 through the second channel; the receiving node 13 is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0053] The terminal 11 and the receiving node 13 may be, but are not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices, and the server 12 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0054] In one embodiment, Figure 2 As shown, a method for information transmission is provided, which is applied to Figure 1 The terminal 11 in the example is used as an example to illustrate, and the following steps are included:
[0055] Step 21, in response to the information transmission request, obtain the information to be transmitted and the key information.
[0056] Among them, channel refers to the communication channel used by the information to be transmitted during the transmission process, and is the medium for the transmission of the information to be transmitted; channels can be divided into public channels and private channels according to their types. Public channels can be accessed by any terminal or object without restrictions; while private channels are usually only open and connected to a few specific objects, and the outside world has no way of knowing or having access to them. Therefore, private channels have higher security.
[0057] Among them, the key information is a parameter, which is a parameter input into an algorithm for converting plain text into cipher text or converting cipher text into plain text. Usually, the key is divided into symmetric key and asymmetric key.
[0058] Specifically, the terminal receives an information transmission request sent by the server, and determines the information to be transmitted and the corresponding key to form key information according to the information transmission request.
[0059] Step 22: Encrypt the information to be transmitted according to the key information to obtain encrypted information.
[0060] Specifically, after the terminal obtains the key information and the information to be transmitted, it uses the key information to encrypt the information to be transmitted, and uses the encrypted information to be transmitted as the encrypted information.
[0061] Step 23: Send the encrypted information to the receiving node through the first channel.
[0062] The first channel refers to a channel with public channel properties, that is, the first channel can be accessed by other nodes, terminals, etc. except the receiving node; the receiving node is another terminal connected to the terminal through the first channel.
[0063] Specifically, the terminal initiates a communication connection with the receiving node through the first channel; after the communication connection is established, the encrypted information is sent to the receiving node through the first channel.
[0064] Step 24, sending the key information to the receiving node through the second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0065] The second channel refers to a channel having private channel attributes.
[0066] Specifically, the terminal initiates a communication connection with the receiving node through the second channel; after the communication connection is established, the key information is sent to the receiving node through the second channel. After the receiving node obtains the encrypted information and the key information at the same time, it can use the key information to decrypt the encrypted information, thereby obtaining the information to be transmitted in the encrypted information, and completing the information transmission from the terminal to the receiving node.
[0067] The above-mentioned information transmission method includes: in response to an information transmission request, obtaining information to be transmitted and key information; encrypting the information to be transmitted according to the key information to obtain encrypted information; sending the encrypted information to a receiving node through a first channel; sending the key information to a receiving node through a second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted. The present application encrypts the information to be transmitted using the key information in response to an information transmission request, and transmits the encrypted information and the key information respectively through two channels, so that the information to be transmitted and the key information are transmitted separately, thereby improving the security and efficiency of information transmission.
[0068] In one embodiment, Figure 3 As shown, step 21, in response to the information transmission request, obtains the information to be transmitted and the key information, including:
[0069] Step 31, determining the next hop node identifier according to the information transmission request;
[0070] Step 32: Obtain the information to be transmitted and the key information from the preset finite field according to the next hop node identifier.
[0071] Among them, the next-hop node (next-hop) is a node corresponding to the address of the output transmission determined by the route in the field of data transmission, and the next-hop node identifier can identify the next-hop node.
[0072] A finite field is a field that contains only a finite number of elements.
[0073] Specifically, the terminal obtains corresponding information to be transmitted and key information from a preset limited field according to the next hop node identifier; the acquisition method may be a random acquisition method.
[0074] This embodiment obtains the information to be transmitted and the key information from a preset limited field respectively through the next hop node identifier, thereby improving the randomness of obtaining the information to be transmitted and the key information and further improving the security of the information to be transmitted.
[0075] In one embodiment, obtaining information to be transmitted from a preset finite field according to a next hop node identifier includes: determining a time node corresponding to an information transmission request; and selecting a corresponding row vector from a preset finite field as information to be transmitted according to the time node.
[0076] The preset finite field includes an n-dimensional row vector.
[0077] Specifically, assuming that the preset finite field is F q , then let For the presupposed finite field F q The n-dimensional row vector on the source node satisfies relationship.
[0078] This embodiment determines the information to be transmitted by presetting a row vector in a finite field, thereby improving the randomness of determining the information to be transmitted.
[0079] In one embodiment, encrypting the information to be transmitted to obtain encrypted information includes: obtaining the information amount of the information to be transmitted; if the information amount is not a preset information amount, converting the information to be transmitted to the preset information amount and then encrypting it to obtain encrypted information.
[0080] Specifically, the terminal can change the original amount of information to be transmitted while encrypting the information to be transmitted; for example, when the terminal needs to send a k-bit message X to be transmitted, the terminal can first encode the k-bit message X to be transmitted into n bits.
[0081] This embodiment achieves re-encoding of the information to be transmitted and adjustment of the information amount of the encrypted information by changing the information amount of the information to be transmitted.
[0082] In one embodiment, another information transmission method is provided, which can be applied to a security anti-eavesdropping scenario based on an identity identification algorithm; wherein the terminal is used as a source node, the receiving node is used as a sink node, the first channel is used as a public channel, and the second channel is used as a secure channel. The method includes:
[0083] Step S1, setting two nodes and two links in the terminal network, the two nodes are a source node and a sink node, and the two links are a secure channel and a public channel;
[0084] Step S2, the source node can send a message to the destination node through a secure channel and a public channel;
[0085] Step S3, assuming that the source node is from the finite field F q Select message X, and then select key K independently of message X;
[0086] Step S4: The key K is evenly distributed in the finite field F. q ;
[0087] Step S5, the source node uses the identity identification algorithm to encrypt the coding coefficient of the message X with the key K of the next hop node;
[0088] Step S6, generate ciphertext E, the source node sends the ciphertext E through the public channel, and sends the key K through the secure channel;
[0089] Step S7: When the sharer recognizes the key K, the message X can be received.
[0090] Specifically, two nodes and two links are set in the terminal network. The two nodes are the source node and the sink node, and the two links are the secure channel and the public channel. The source node can send messages to the sink node through the secure channel and the public channel. Assume that the source node is from a finite field F q Select a message X from the finite field F, and then select a key K independently of the message X; the key K is uniformly distributed over the finite field F q ; The source node uses the identity algorithm to encrypt the coding coefficient of message X with the key K of the next hop node; Generate ciphertext E, the source node sends the ciphertext E through the public channel, and sends the key K through the secure channel; When the sharer recognizes the key K, the message X can be received. The attacker can obtain the message transmitted in the public channel, but cannot obtain the message transmitted in the secure channel. The secure channel and the public channel are noise-free, ensuring that the destination node can recover the message X sent by the source node. During the transmission process of the intermediate transmission node, the data message transmitted to the next hop node has a different randomized encryption value.
[0091] Specifically, in the finite field F q Next, order is a finite field F q The n-dimensional row vector on the source node, the message X is sent by the source node per unit time, and
[0092] Specifically, in a secret sharing system provided in the above scenario, there is a finite field Fq The randomly selected message X and n sharers, where the sharers are represented by [n] = {1, 2,..., n}; the message X can be shared by the n sharers in the following way: only the authorized subsets in [n] can recover the message X; other non-authorized subsets in [n] cannot obtain any information in the message X. Further, the sharers use a (r, n) threshold secret sharing mechanism to share the message X, where r is the number of authorized subsets in [n], and r < n; among the n sharers, any r sharers can recover the message X from the information they obtain, while any r - 1 sharers cannot recover the message X. Let S = (s1, s2,... s k ) be the k-bit message that the channel node needs to send, and let X = (x1, x2,... x n ) be the encoded n-bit message. When the n-bit message is sent to the destination node, assume that the attacker can steal r bits of the message X. When the attacker reads the r-bit message, identity recognition is immediately performed, and through a linear coding scheme based on the (n, n - k) MDS code C, the attacker cannot obtain any information about the message X by eavesdropping. The linear coding scheme randomly performs linear network coding. The intermediate transmission node only needs to randomly select local coding vectors over the finite field F q and linearly combine the selected coding vectors with the data messages received by the intermediate transmission node, and then send the combined data messages to the downstream link for transmission to the destination node.
[0093] It should be noted that the source node can encrypt the coding coefficients based on the next-hop node identifier using the IBC (Identity-Based Cryptography) algorithm and attach them to the coded data packet; at the same time, the source node signs the coded data packet. Secondly, the intermediate coding node verifies the received coded data packet. After passing the verification, it recodes the data packet that meets the coding conditions. Similarly, it encrypts the coding coefficients using the next-hop node identifier and signs the sent coded data packet. Finally, the destination node verifies the received coded data packet. Only the coded packet that passes the verification can the destination node decode it to obtain the original data. In addition, key pre-distribution and message authentication codes (MACs) can also be used. Based on the multicast characteristic, the legitimate nodes generate multiple MACs for each data using the destination node key. Each MAC is attached to the source data. Therefore, each node can verify the received data using its own key and can filter out the contaminated data with a high probability. Through the secure network coding scheme against eavesdropping attacks and contamination attacks, the security of the linear network coding is thus ensured.
[0094] In one embodiment, as Figure 4 shown, an information receiving method is provided, including the following steps:
[0095] Step 41, sending an information transmission request carrying identification information to the server; the server sends the information transmission request to the corresponding source node according to the identification information;
[0096] Step 42, receiving the encryption information returned by the source node in the first channel, and receiving the key information returned by the source node in the second channel;
[0097] Step 43, after decrypting the encrypted information according to the key information, the information to be transmitted is obtained.
[0098] Specifically, the receiving node sends an information transmission request carrying identification information to the server, and the server sends the information transmission request to the corresponding source node according to the identification information; the source node responds to the information transmission request and obtains the information to be transmitted and the key information; the source node encrypts the information to be transmitted according to the key information to obtain the encrypted information; the source node sends the encrypted information to the receiving node through the first channel; the source node sends the key information to the receiving node through the second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted. This application improves the security and transmission efficiency of information transmission.
[0099] It should be understood that although Figure 2-4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-4 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.
[0100] In one embodiment, Figure 5 As shown, an information transmission device is provided, the device comprising:
[0101] The request response module 51 is used to obtain the information to be transmitted and the key information in response to the information transmission request;
[0102] The information encryption module 52 is used to encrypt the information to be transmitted according to the key information to obtain encrypted information;
[0103] A first sending module 53, used to send the encrypted information to a receiving node through a first channel;
[0104] The second sending module 54 is used to send the key information to the receiving node through the second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0105] In one embodiment, the request response module 51 is further used to determine the next hop node identifier according to the information transmission request; and obtain the information to be transmitted and the key information from a preset finite field according to the next hop node identifier.
[0106] In one embodiment, the request response module 51 is further used to determine a time node corresponding to the information transmission request; and select a corresponding row vector from a preset finite field as the information to be transmitted according to the time node.
[0107] In one embodiment, the information encryption module 52 is further used to obtain the information volume of the information to be transmitted; if the information volume is not the preset information volume, the information to be transmitted is converted into the preset information volume and then encrypted to obtain encrypted information.
[0108] For the specific definition of the information transmission device, please refer to the definition of the information transmission method above, which will not be repeated here. Each module in the above-mentioned information transmission device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0109] In one embodiment, Figure 6 As shown, an information receiving device is provided, the device comprising:
[0110] The request sending module 61 is used to send an information transmission request carrying identification information to the server; the server sends the information transmission request to the corresponding source node according to the identification information;
[0111] The information receiving module 62 is used to receive the encrypted information returned by the source node in the first channel, and receive the key information returned by the source node in the second channel;
[0112] The information decryption module 63 is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0113] For the specific definition of the information receiving device, please refer to the definition of the information receiving method above, which will not be repeated here. Each module in the above-mentioned information receiving device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0114] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, an information transmission method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0115] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0116] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0117] In response to the information transmission request, obtaining the information to be transmitted and the key information;
[0118] Encrypt the information to be transmitted according to the key information to obtain encrypted information;
[0119] Sending the encrypted information to the receiving node via the first channel;
[0120] The key information is sent to the receiving node through the second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0121] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining a next hop node identifier according to an information transmission request; and obtaining information to be transmitted and key information from a preset finite field according to the next hop node identifier.
[0122] In one embodiment, when the processor executes the computer program, the following steps are further implemented: determining a time node corresponding to the information transmission request; and selecting a corresponding row vector from a preset finite field as the information to be transmitted according to the time node.
[0123] In one embodiment, when the processor executes the computer program, the following steps are also implemented: obtaining the amount of information to be transmitted; if the amount of information is not the preset amount of information, converting the information to be transmitted into the preset amount of information and then encrypting it to obtain encrypted information.
[0124] In one embodiment, when the processor executes the computer program, the following steps are also implemented: sending an information transmission request carrying identification information to the server; the server sends the information transmission request to the corresponding source node based on the identification information; receiving the encrypted information returned by the source node in the first channel, and receiving the key information returned by the source node in the second channel; decrypting the encrypted information based on the key information to obtain the information to be transmitted.
[0125] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0126] In response to the information transmission request, obtaining the information to be transmitted and the key information;
[0127] Encrypt the information to be transmitted according to the key information to obtain encrypted information;
[0128] Sending the encrypted information to the receiving node via the first channel;
[0129] The key information is sent to the receiving node through the second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted.
[0130] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining a next hop node identifier according to an information transmission request; and obtaining information to be transmitted and key information from a preset finite field according to the next hop node identifier.
[0131] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining a time node corresponding to the information transmission request; and selecting a corresponding row vector from a preset finite field as the information to be transmitted according to the time node.
[0132] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: obtaining the amount of information to be transmitted; if the amount of information is not the preset amount of information, converting the information to be transmitted into the preset amount of information and then encrypting it to obtain encrypted information.
[0133] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: sending an information transmission request carrying identification information to the server; the server sends the information transmission request to the corresponding source node based on the identification information; receiving the encrypted information returned by the source node in the first channel, and receiving the key information returned by the source node in the second channel; decrypting the encrypted information based on the key information to obtain the information to be transmitted.
[0134] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the above-mentioned computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0135] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0136] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. An information transmission method, characterized in that: include: In response to the information transmission request, obtaining the information to be transmitted and the key information; Encrypting the information to be transmitted according to the key information to obtain encrypted information; Sending the encrypted information to a receiving node via a first channel; Sending the key information to the receiving node via a second channel; The receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted; The step of obtaining the information to be transmitted and the key information in response to the information transmission request includes: Determine a next hop node identifier according to the information transmission request; The key information is respectively obtained from a preset finite field according to the next hop node identifier, and a time node corresponding to the information transmission request is determined. According to the time node, a corresponding row vector is selected from the preset finite field as the information to be transmitted.
2. The method according to claim 1, characterized in that: The step of encrypting the information to be transmitted to obtain encrypted information includes: Acquire the amount of information to be transmitted; If the amount of information is not the preset amount of information, the information to be transmitted is converted into the preset amount of information and then encrypted to obtain the encrypted information.
3. The method according to any one of claims 1 to 2, characterized in that: The first channel is a public channel; the second channel is a private channel corresponding to the receiving node.
4. A method for receiving information, characterized in that: include: Sending an information transmission request carrying identification information to the server; The server sends the information transmission request to the corresponding source node according to the identification information; receiving encryption information returned by the source node in the first channel, and receiving key information returned by the source node in the second channel; After decrypting the encrypted information according to the key information, the information to be transmitted is obtained; The source node is used to determine the next hop node identifier according to the information transmission request; According to the next hop node identifier, the key information is respectively obtained from a preset finite field, and a time node corresponding to the information transmission request is determined, and according to the time node, a corresponding row vector is selected from the preset finite field as the information to be transmitted; The information to be transmitted is encrypted according to the key information to obtain the encrypted information.
5. An information transmission device, characterized in that: The device comprises: A request response module, used to respond to an information transmission request and obtain information to be transmitted and key information; An information encryption module, used to encrypt the information to be transmitted according to the key information to obtain encrypted information; A first sending module, used to send the encrypted information to a receiving node through a first channel; A second sending module is used to send the key information to the receiving node through a second channel; the receiving node is used to decrypt the encrypted information according to the key information to obtain the information to be transmitted; The request response module is also used to determine the next hop node identifier according to the information transmission request; obtain the key information from the preset finite field according to the next hop node identifier, and determine the time node corresponding to the information transmission request, and select the corresponding row vector from the preset finite field as the information to be transmitted according to the time node.
6. The device according to claim 5, characterized in that The information encryption module is further used to obtain the information amount of the information to be transmitted; if the information amount is not the preset information amount, the information to be transmitted is converted into the preset information amount and then encrypted to obtain the encrypted information.
7. The device according to claim 5, characterized in that The first channel is a public channel; the second channel is a private channel corresponding to the receiving node.
8. An information receiving device, characterized in that: The device comprises: A request sending module, used to send an information transmission request carrying identification information to a server; the server sends the information transmission request to a corresponding source node according to the identification information; An information receiving module, used to receive the encrypted information returned by the source node in the first channel, and to receive the key information returned by the source node in the second channel; An information decryption module, used to decrypt the encrypted information according to the key information to obtain information to be transmitted; The source node is used to determine a next-hop node identifier according to the information transmission request; obtain the key information from a preset finite field according to the next-hop node identifier, and determine a time node corresponding to the information transmission request, and select a corresponding row vector from the preset finite field as the information to be transmitted according to the time node; encrypt the information to be transmitted according to the key information to obtain the encrypted information.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Encrypted communication method, server and encrypted communication system
CN101197674A
Construction and message forwarding method of anonymous communication network based on ring architecture
CN111970244A
Method and system for randomly transmitting secret key under multi-link condition
CN113328851A
Data security hidden transmission method and system based on P2P network routing node
CN113572727A
Power information acquisition and transmission system based on quantum encryption
CN209265678U
