Data transmission method and device, storage medium and electronic equipment
By setting up a socket for the terminal in user mode and recording it in kernel mode, data can be directly searched and transmitted in kernel mode, solving the problem of low data transmission efficiency in existing technologies and achieving more efficient data transmission.
Patent Information
- Application Number
- CN202410741968.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2025-12-09
AI Technical Summary
In existing technologies, when an intermediate device transmits data, it first needs to receive the data in kernel mode, then notify the application layer, and then the application layer calls kernel mode to transmit the data, resulting in repeated calls and low efficiency.
In user space, network connections are established with multiple terminals, and a socket is set up for each connection and recorded in kernel space. When a terminal transmits data, the data is directly transmitted by looking up the socket in kernel space without reporting to the application layer.
It improves data transmission efficiency, reduces redundant calling steps, and increases data transmission speed.
Smart Images

Figure CN121098950A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data transmission, and more particularly to a data transmission method, apparatus, storage medium, and electronic device. Background Technology
[0002] With the development of the internet, different devices on the network can run application processes. If these application processes need to communicate over the network, an intermediary device can be used. For example, terminal A and terminal C can communicate over the network through an intermediary device B. Intermediary device B facilitates network communication between terminal A and terminal C.
[0003] However, in the existing technology, when the intermediate device B transmits data, it needs to receive the data in kernel mode first, then notify the application layer, and then the application layer calls the kernel mode to transmit the data. This results in repeated calls and low data transmission efficiency. Summary of the Invention
[0004] This application provides a data transmission method, apparatus, storage medium, and electronic device to solve the technical problem of low data transmission efficiency.
[0005] In a first aspect, this application provides a data transmission method, comprising: establishing a network connection in user space with each of a plurality of terminals and setting a socket for each of the network connections, wherein the socket is used to uniquely identify the network connection; recording the network connection and the socket in kernel space; when a first terminal among the plurality of terminals transmits target data to a second terminal, searching for a second network connection established with the second terminal in kernel space through the socket; after the target data is transmitted to kernel space through the first network connection established with the first terminal, directly transmitting the target data to the second terminal through the second network connection.
[0006] Secondly, this application provides a data transmission apparatus, comprising: a connection module, configured to establish a network connection with each of a plurality of terminals in user mode and to set a socket for each of the network connections, wherein the socket is used to uniquely identify the network connection; a recording module, configured to record the network connection and the socket in kernel mode; a search module, configured to search for a second network connection established with the second terminal in kernel mode through the socket when a first terminal transmits target data to a second terminal; and a transmission module, configured to directly transmit the target data to the second terminal through the second network connection after the target data has been transmitted to the kernel mode through the first network connection established with the first terminal.
[0007] As an optional example, the above-mentioned recording module includes: a recording unit, used to treat each of the above-mentioned sockets as the current socket and perform the following operations: determining the above-mentioned current socket as the main socket, determining other sockets besides the above-mentioned current socket as the child sockets of the above-mentioned current socket, determining a combination of one above-mentioned main socket and multiple child sockets as a group of sockets, and recording them in a table; or, connecting all the above-mentioned sockets to the same socket center, and recording the combination of the above-mentioned sockets and the above-mentioned socket center in the kernel mode, wherein the above-mentioned socket center is used to mark the above-mentioned multiple terminals.
[0008] As an optional example, the above-mentioned recording module includes: a deletion unit, configured to delete the third socket of the third network connection from the kernel state when the third network connection with the third terminal among the plurality of terminals is disconnected, wherein, when the kernel state does not include the third socket of the third network connection, a notification message for transmitting the first data is sent to the user state when transmitting the first data to the third terminal.
[0009] As an optional example, the search module includes: a first search unit configured to use the first socket of the first network connection established with the first terminal as the main socket, search for a target socket combination from the socket combination, wherein the main socket of the target socket combination is the first socket; search for the second socket of the second network connection from the sub-sockets of the target socket combination; and if the second socket is found, determine that the second network connection has been found.
[0010] As an optional example, the above search module includes: a second search unit, configured to traverse each socket element connected to the socket center sequentially, starting from the starting point of the socket center, wherein each socket element includes the socket center, the socket, and a pointer to the next socket element; and, if the second socket of the second network connection is reached during traversal, determine that the second network connection has been found.
[0011] As an optional example, the above transmission module includes: a transmission unit, configured to call a read function to read the target data in the first network connection; and, if the target data is read, call a write function to write the target data into the send function of the second network connection.
[0012] As an optional example, the above-mentioned apparatus further includes: a storage module, configured to record the service identifier of the target data, the terminal identifier of the first terminal, the terminal identifier of the second terminal, the first socket of the first network connection found, and the second socket of the second network connection in a log after the target data is transmitted to the kernel state through the first network connection established with the first terminal, and after the target data is directly transmitted to the second terminal through the second network connection.
[0013] Thirdly, this application provides an electronic device, comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the memory stores a computer program, and the processor is configured to implement any of the above-described data transmission methods when executing the computer program.
[0014] Fourthly, this application also provides a computer storage medium storing computer-executable instructions, which are used to execute the data transmission method described in any of the above claims of this application.
[0015] Compared with the prior art, the technical solution provided in this application has the following advantages: The solution provided in this application establishes a network connection between the user space and each of the multiple terminals, and sets a socket for each of the network connections, wherein the socket is used to uniquely identify the network connection; the network connection and the socket are recorded in the kernel space; when the first terminal transmits target data to the second terminal, the second network connection established with the second terminal is searched in the kernel space through the socket; after the target data is transmitted to the kernel space through the first network connection established with the first terminal, the target data is directly transmitted to the second terminal through the second network connection. This allows each terminal's network connection to be uniquely marked through a socket, and the network connection is determined in the kernel space through the socket, and data is transmitted from the kernel space without reporting to the application layer or waiting for application layer calls, thus improving the efficiency of data transmission. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0019] Figure 1 A flowchart illustrating a data transmission method provided in an embodiment of this application;
[0020] Figure 2 A schematic diagram illustrating a data transmission method provided in an embodiment of this application;
[0021] Figure 3 A flowchart illustrating another data transmission method provided in this application embodiment;
[0022] Figure 4 A flowchart illustrating yet another data transmission method provided in this application embodiment;
[0023] Figure 5 A flowchart illustrating yet another data transmission method provided in this application embodiment;
[0024] Figure 6 This is a schematic diagram of the structure of a data transmission device provided in an embodiment of this application;
[0025] Figure 7 This is a schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0026] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0027] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0028] To address the technical problem of low data transmission efficiency in existing technologies, this application provides a data transmission method that can improve data transmission efficiency.
[0029] Figure 1 This is a flowchart illustrating a data transmission method provided in an embodiment of this application. Figure 1 As shown, the above data transmission method includes:
[0030] S102, In user mode, establish a network connection with each of the multiple terminals and set a socket for each network connection, wherein the socket is used to uniquely identify the network connection;
[0031] S104 records network connections and sockets in kernel mode;
[0032] S106, When the first terminal among multiple terminals transmits target data to the second terminal, the second network connection established with the second terminal is found in the kernel mode through the socket;
[0033] S108, after the target data is transmitted to the kernel state through the first network connection established with the first terminal, the target data is directly transmitted to the second terminal through the second network connection.
[0034] The aforementioned terminals can be terminals running applications, and applications on different terminals can communicate with each other through an intermediary device. For example... Figure 2 In the scenario shown, the intermediate device includes kernel mode and user mode. When the target data is being transmitted, terminal A transmits the target data to the kernel mode of the intermediate device, and the kernel mode directly transmits the target data to terminal B.
[0035] The aforementioned intermediate device can establish a network connection with each participating terminal and assign a socket to each network connection, which uniquely identifies the connection. This network connection and socket can be recorded in kernel mode. When the first terminal transmits target data to the second terminal, the target data first reaches kernel mode through the first network connection between the first terminal and the intermediate device. Then, the second network connection between the intermediate device and the second terminal is located using the socket recorded in kernel mode. The target data is then directly transmitted to the second terminal through this second network connection without waiting for an application layer call.
[0036] The solution provided in this application establishes a network connection between the user space and each of the multiple terminals, and sets a socket for each network connection, wherein the socket is used to uniquely identify the network connection; the network connection and the socket are recorded in the kernel space; when the first terminal transmits target data to the second terminal, the second network connection established with the second terminal is found in the kernel space through the socket; after the target data is transmitted to the kernel space through the first network connection established with the first terminal, the target data is directly transmitted to the second terminal through the second network connection. In this way, the network connection of each terminal can be uniquely marked through the socket, the network connection can be determined in the kernel space through the socket, and the data can be transmitted from the kernel space without reporting to the application layer or waiting for the application layer to call, thus improving the efficiency of data transmission.
[0037] As an optional example, such as Figure 3 As shown, recording network connections and sockets in kernel mode includes:
[0038] S302, for each socket as the current socket, perform the following operations: determine the current socket as the main socket, determine other sockets besides the current socket as child sockets of the current socket, determine a combination of a main socket and multiple child sockets as a group of sockets, and record it in a table; or, connect all sockets to the same socket center, and record the combination of sockets and socket centers in kernel mode, where the socket center is used to mark multiple terminals.
[0039] In this embodiment, different methods can be used to record sockets. One method is to treat each socket as a primary socket and the other sockets as child sockets, recording the association between the primary socket and the other child sockets to obtain a group of sockets, which are then recorded in a table. Each socket is recorded as a primary socket, resulting in multiple tables. Another method is to record sockets as a group using pointers, with this group of sockets connected to the same socket center, and the pointers recording the order. Each time a socket is added, a pointer is added. The socket center is used to mark multiple terminals participating in the network connection.
[0040] As an optional example, recording network connections and sockets in kernel mode includes: in the event that a third network connection with a third terminal among multiple terminals is disconnected, deleting the third socket of the third network connection from kernel mode, wherein, in the case that the third socket of the third network connection is not included in kernel mode, when transmitting first data to the third terminal, sending a notification message for transmitting the first data to user mode.
[0041] In this embodiment, after the intermediate device establishes a network connection with the terminal, it can record the socket of the network connection in kernel mode. When transmitting data, it checks whether there is a corresponding network connection by searching the socket in kernel mode. Therefore, when the network connection is broken, the socket in kernel mode must be deleted. As a result, when transmitting data, since the corresponding socket cannot be found, data cannot be transmitted directly from kernel mode.
[0042] As an optional example, such as Figure 4 As shown, when the first terminal among multiple terminals transmits target data to the second terminal, the process of locating the second network connection established with the second terminal in kernel mode via sockets includes:
[0043] S402, the first socket of the first network connection established with the first terminal is used as the main socket, and the target socket combination is found from the socket combination, wherein the main socket of the target socket combination is the first socket;
[0044] S404, Locate the second socket for the second network connection from the sub-sockets of the target socket combination;
[0045] S406, if a second socket is found, determine that a second network connection has been found.
[0046] This embodiment describes how to find the second network connection when recording a socket using a primary socket and a secondary socket.
[0047] Since the first terminal is sending target data to the second terminal, the first socket can be determined first through the first network connection between the first terminal and the intermediate device. Then, based on the first socket, the second socket is searched for in a socket combination where the first socket is the primary socket. The second socket is the socket for the second network connection established between the second terminal and the intermediate device. If this socket can be found, it is determined that a second network connection exists, and the target data can be transmitted through the second network connection.
[0048] As an optional example, such as Figure 5 As shown, when the first terminal among multiple terminals transmits target data to the second terminal, the process of locating the second network connection established with the second terminal in kernel mode via sockets includes:
[0049] S502, starting from the starting point of the socket center, traverse each socket element connected to the socket center in sequence, wherein each socket element includes the socket center, the socket, and a pointer to the next socket element;
[0050] S504, if the second socket of the second network connection is found during traversal, it is determined that the second network connection has been found.
[0051] This embodiment describes how to find the second network connection when recording a socket using a socket-centric approach.
[0052] When locating a second network connection, the second socket of the second network connection is first determined. This second socket is recorded in kernel mode when the second terminal establishes the second network connection with the intermediate device. Multiple terminals involved in parameter network transmission correspond to a socket center, which can be used to identify these multiple terminals, for example, by combining the terminal identifiers of multiple terminals. Each socket can be connected to this socket center as a socket element. A socket element includes the socket center, the socket, and a pointer. The socket elements are ordered using pointers. Starting from the first socket element in the socket center, it checks if the socket within it is the second socket, and so on, searching the socket elements sequentially. If the second socket is found, it is confirmed that a second network connection exists. If the second network connection is broken, the socket element containing the second socket is deleted, and the second socket can no longer be found.
[0053] As an optional example, after the target data is transmitted to the kernel mode through the first network connection established with the first terminal, directly transmitting the target data to the second terminal through the second network connection includes: calling a read function to read the target data in the first network connection; and, if the target data is read, calling a write function to write the target data into the send function of the second network connection.
[0054] In this embodiment, the kernel state includes a read function and a write function. When the first terminal transmits the target data to the kernel state through the first network connection, the kernel state reads the target data through the read function and writes it into the send function of the second network connection, so that the target data is directly sent from the kernel state to the second terminal.
[0055] When the target data is transmitted through the first network connection, it is recorded in the sending function of the first network connection. The kernel reads the data from the sending function of the first network connection through the reading function.
[0056] As an optional example, after the target data is transmitted to the kernel mode through the first network connection established with the first terminal, and after the target data is directly transmitted to the second terminal through the second network connection, the above method further includes: recording the service identifier of the target data, the terminal identifier of the first terminal, the terminal identifier of the second terminal, the first socket of the found first network connection, and the second socket of the second network connection into the log.
[0057] In this embodiment, if the kernel sends the target data but does not report it to the upper application layer, the application layer will be unaware of it. Therefore, it is necessary to record the target data sent by the kernel and the associated information when sending the target data, such as the service identifier of the target data, the terminal identifier of the first terminal, the terminal identifier of the second terminal, the first socket of the first network connection found, and the second socket of the second network connection. All of these should be recorded in the log so that the log can be reported periodically or the user can call the log to view the sent target data.
[0058] above Figure 2 The following scenario is illustrated with examples. An intermediate device can establish network connections with terminals A and C, and these connections can be TCP connections. System function interfaces create sockets (TCP socket socks) and service IDs for the established network connections. The service ID identifies the upper-layer service, and the socket uniquely identifies the network connection. The established network connection and socket are recorded in kernel mode. When the kernel receives transmitted data from terminal A via the `tcp_recvmsg` function, it searches for the kernel mode of terminal C in the socket records using the system function `sockfd_lookup_light`. If the kernel mode of terminal C is found, it indicates that a network connection has been established between the intermediate device and terminal C, and data is sent via the `tcp_sendmsg` function. When data transmission is complete or the terminal's network connection is closed, logs are logged, including the found socket record, the data sent, and the identifiers of the sender and receiver.
[0059] Figure 6 This is a schematic diagram of a data transmission device provided in an embodiment of this application. Figure 6 As shown, the above-mentioned data transmission device includes:
[0060] The connection module 602 is used to establish a network connection with each of the multiple terminals in user mode and set a socket for each network connection, wherein the socket is used to uniquely identify the network connection;
[0061] Recording module 604 is used to record network connections and sockets in kernel mode;
[0062] The lookup module 606 is used to look up the second network connection established with the second terminal in the kernel mode through a socket when the first terminal among multiple terminals transmits target data to the second terminal.
[0063] The transmission module 608 is used to transmit the target data directly to the second terminal through the second network connection after the target data has been transmitted to the kernel state through the first network connection established with the first terminal.
[0064] The aforementioned terminals can be terminals running applications, and applications on different terminals can communicate with each other through an intermediary device. For example... Figure 2 In the scenario shown, the intermediate device includes kernel mode and user mode. When the target data is being transmitted, terminal A transmits the target data to the kernel mode of the intermediate device, and the kernel mode directly transmits the target data to terminal B.
[0065] The aforementioned intermediate device can establish a network connection with each participating terminal and assign a socket to each network connection, which uniquely identifies the connection. This network connection and socket can be recorded in kernel mode. When the first terminal transmits target data to the second terminal, the target data first reaches kernel mode through the first network connection between the first terminal and the intermediate device. Then, the second network connection between the intermediate device and the second terminal is located using the socket recorded in kernel mode. The target data is then directly transmitted to the second terminal through this second network connection without waiting for an application layer call.
[0066] The solution provided in this application establishes a network connection between the user space and each of the multiple terminals, and sets a socket for each network connection, wherein the socket is used to uniquely identify the network connection; the network connection and the socket are recorded in the kernel space; when the first terminal transmits target data to the second terminal, the second network connection established with the second terminal is found in the kernel space through the socket; after the target data is transmitted to the kernel space through the first network connection established with the first terminal, the target data is directly transmitted to the second terminal through the second network connection. In this way, the network connection of each terminal can be uniquely marked through the socket, the network connection can be determined in the kernel space through the socket, and the data can be transmitted from the kernel space without reporting to the application layer or waiting for the application layer to call, thus improving the efficiency of data transmission.
[0067] For other examples of this embodiment, please refer to the examples above, which will not be repeated here.
[0068] like Figure 7 As shown in the figure, this application provides an electronic device, including a processor 111, a communication interface 112, a memory 113, and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0069] Memory 113 is used to store computer programs;
[0070] In one embodiment of this application, the processor 111, when executing a program stored in the memory 113, implements the data transmission method provided in any of the foregoing method embodiments.
[0071] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the data transmission method provided in any of the foregoing method embodiments.
[0072] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0073] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0074] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.
[0075] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A data transmission method, characterized by, The method comprises: establishing a network connection with each of a plurality of terminals in a user mode and setting a socket for each of the network connections, wherein the socket is used to uniquely identify the network connection; recording the network connection and the socket in a kernel mode; when a first terminal of the plurality of terminals transmits target data to a second terminal, searching for a second network connection established with the second terminal in the kernel mode through the socket; after the target data is transmitted to the kernel mode through a first network connection established with the first terminal, directly transmitting the target data to the second terminal through the second network connection.
2. The method of claim 1, wherein, The recording of the network connection and the socket in the kernel mode comprises: taking each of the sockets as a current socket, and performing the following operations: determining the current socket as a master socket, determining other sockets except the current socket as child sockets of the current socket, determining a combination of one master socket and a plurality of child sockets as a group of sockets, and recording in a table; or connecting all the sockets to a same socket center, and recording a combination of the sockets and the socket center in the kernel mode, wherein the socket center is used to mark the plurality of terminals.
3. The method of claim 2, wherein, The recording of the network connection and the socket in the kernel mode comprises: in a case where a third network connection with a third terminal of the plurality of terminals is disconnected, deleting a third socket of the third network connection from the kernel mode, wherein in a case where the third socket of the third network connection is not included in the kernel mode, when transmitting first data to the third terminal, sending a notification message for transmitting the first data to the user mode.
4. The method of claim 2, wherein, The searching for the second network connection established with the second terminal in the kernel mode through the socket when the first terminal of the plurality of terminals transmits target data to the second terminal comprises: taking a first socket of the first network connection established with the first terminal as a master socket, and searching for a target socket group from the socket combination, wherein a master socket of the target socket group is the first socket; searching for a second socket of the second network connection from child sockets of the target socket group; in a case where the second socket is searched, determining that the second network connection is searched.
5. The method of claim 2, wherein, The searching for the second network connection established with the second terminal in the kernel mode through the socket when the first terminal of the plurality of terminals transmits target data to the second terminal comprises: starting from a starting point of the socket center, sequentially traversing each socket element connected to the socket center, wherein the socket element comprises the socket center, the socket, and a pointer to a next socket element; in a case where the second socket of the second network connection is traversed, determining that the second network connection is searched.
6. The method of claim 2, wherein, transmitting the target data to the second terminal through the second network connection directly after the target data is transmitted to the kernel state through the first network connection established with the first terminal comprises: calling a read function to read the target data in the first network connection; in the case of reading the target data, calling a write function to write the target data into a sending function of the second network connection.
7. The method of claim 1, wherein, after the target data is transmitted to the kernel state through the first network connection established with the first terminal, and after the target data is transmitted to the second terminal through the second network connection directly, the method further comprises: recording the service identification of the target data, the terminal identification of the first terminal, the terminal identification of the second terminal, the first socket of the first network connection found, and the second socket of the second network connection into a log.
8. A data transmission apparatus, characterized by comprising: comprise: a connection module, configured to establish a network connection with each of a plurality of terminals in a user state respectively and set a socket for each of the network connections, wherein the socket is used to uniquely identify the network connection; a recording module, configured to record the network connection and the socket in a kernel state; a finding module, configured to find a second network connection established with a second terminal in the kernel state through the socket when a first terminal of the plurality of terminals transmits target data to the second terminal; a transmission module, configured to transmit the target data to the second terminal through the second network connection directly after the target data is transmitted to the kernel state through the first network connection established with the first terminal.
9. An electronic device, comprising: comprise: at least one communication interface; at least one bus connected with the at least one communication interface; at least one processor connected with the at least one bus; at least one memory connected with the at least one bus, wherein the memory has stored a computer program, and the processor executes the computer program to implement the data transmission method in any one of claims 1 to 7.
10. A computer readable storage medium, the storage medium has stored computer executable instructions for executing the data transmission method in any one of claims 1 to 7.
10. A computer readable storage medium, the storage medium has stored computer executable instructions for executing the data transmission method in any one of claims 1 to 7.
Citation Information
Patent Citations
Kernel-mode data access method, device and system
CN103544324A
Forwarding method, module and system for network data
CN103607442A
Method for establishing socket connection in user space
CN111182008A
Apparatus, system, and method for applying firewall rules on packets in kernel space on network devices
US10505899B1