Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a data transmission method and a corresponding data transmission apparatus, electronic device and storage medium that overcome or at least partially solve the above problems.
in order to solve the above problems, an embodiment of the present invention discloses a data transmission method, which is applied to a monitoring system, where the monitoring system includes a server and a client; the server side comprises a first main User Datagram Protocol (UDP) port and a first standby UDP port, and the client side comprises a second main UDP port and a second standby UDP port; the method comprises the following steps:
the server transmits first data through the first main UDP port and the second main UDP port;
the server transmits first feedback information through the first standby UDP port and the second standby UDP port;
When the first feedback information meets a first preset condition, the server transmits second data through the first standby UDP port and the second standby UDP port, and transmits second feedback information through the first main UDP port and the second main UDP port;
the first feedback information is the buffer remaining space information of a main UPD port receiving the first data; the second feedback information is the buffer residual space information of the backup UPD port for receiving the second data; the second data is data which is not transmitted in the first data.
Preferably, the first data comprises first target data; the step of the server side transmitting the target first data through the first main UDP port and the second main UDP port includes:
The server generates the first target data;
And the server side sends the first target data to the second main UPD port by adopting the first main UPD port.
Preferably, the first feedback information includes first main feedback information, and the first main feedback information is generated by the client using buffer remaining space information of a second main UDP port; the step of the server side transmitting the first feedback information through the first standby UDP port and the second standby UDP port includes:
And the server side receives first main feedback information sent by the second standby UDP port by adopting the first standby UDP port.
Preferably, the second data comprises second target input data; the step of the server side transmitting second data through the first standby UDP port and the second standby UDP port includes:
the server side sends the second target data to the second standby UDP port by adopting the first standby UDP port;
The second target data is data which is not transmitted in the first target data.
Preferably, the second feedback information includes first backup feedback information, and the first backup feedback information is generated by the client using the buffer remaining space information of the second backup UDP port; the step of the server side transmitting second feedback information through the first main UDP port and the second main UDP port includes:
and the server side receives first standby feedback information sent by the second main UDP port by adopting the first main UDP port.
Preferably, the first data comprises third target data; the client is used for generating the third target data; the step of the server side transmitting the first data through the first main UDP port and the second main UDP port includes:
and the server side receives third target data sent by the second main UPD port by adopting the first main UPD port.
Preferably, the first feedback information comprises second primary feedback information; the step of the server side transmitting the first feedback information through the first standby UDP port and the second standby UDP port includes:
The server side generates second main feedback information by adopting the buffer residual space information of a first main UDP port;
and the server side sends the second main feedback information to the second standby UDP by adopting the first standby UDP port.
preferably, the second data comprises fourth target data; the step of the server side transmitting second data through the first standby UDP port and the second standby UDP port includes:
the server side receives fourth target data sent by the second standby UDP port by adopting the first standby UDP port;
Wherein the fourth target data is data that is not transmitted in the third target data.
preferably, the second feedback information includes second feedback information; the step of the server side transmitting second feedback information through the first main UDP port and the second main UDP port includes:
The server side generates the second standby feedback information by adopting the buffer residual space information of the first standby UDP port
And the server side sends the second backup feedback information to the second main UDP port by adopting the first main UDP port.
the embodiment of the invention also discloses a data transmission device which is applied to a monitoring system, wherein the monitoring system comprises a server side and a client side; the server side comprises a first main User Datagram Protocol (UDP) port and a first standby UDP port, and the client side comprises a second main UDP port and a second standby UDP port; the device comprises:
a first transmission module, configured to transmit, by the server, first data through the first main UDP port and the second main UDP port;
A feedback module, configured to transmit, by the server, first feedback information through the first standby UDP port and the second standby UDP port;
A second transmission module, configured to, when the first feedback information meets a first preset condition, transmit, by the server, second data through the first standby UDP port and the second standby UDP port, and transmit, by the server, second feedback information through the first main UDP port and the second main UDP port;
the first feedback information is the buffer remaining space information of a main UPD port receiving the first data; the second feedback information is the buffer residual space information of the backup UPD port for receiving the second data; the second data is data which is not transmitted in the first data.
Preferably, the first data comprises first target data; the first transmission module includes:
a first target generation module, configured to generate the first target data by the server;
And the first target sending module is used for sending the first target data to the second main UPD port by the server side through the first main UPD port.
preferably, the first feedback information comprises first primary feedback information; the feedback module includes:
The first main feedback generation module is used for generating the buffer residual space information of the second main UDP port by the client;
and the first master feedback sending module is used for the server to receive the first master feedback information sent by the second standby UDP port by using the first standby UDP port.
Preferably, the second data comprises second target input data; the second transmission module includes:
A second target sending module, configured to send, by the server, the second target data to the second standby UDP port by using the first standby UDP port;
the second target data is data which is not transmitted in the first target data.
Preferably, the second feedback information includes first feedback information, and the feedback module includes:
the first standby feedback generation module is used for generating the buffer residual space information of the second standby UDP port by the client;
And the first standby feedback sending module is used for the server side to receive the first standby feedback information sent by the second main UDP port by using the first main UDP port.
preferably, the first data comprises third target data; the first transmission module includes:
A third target generation module, configured to generate the third target data by the client;
and the third target sending module is used for the server side to receive third target data sent by the second main UPD port by adopting the first main UPD port.
Preferably, the first feedback information comprises second primary feedback information; the feedback module includes:
a second main feedback generation module, configured to generate, by the server, the second main feedback information by using the buffer remaining space information of the first main UDP port;
And the second main feedback sending module is used for sending the second main feedback information to the second standby UDP by the server side through the first standby UDP port.
Preferably, the second data comprises fourth target data; reaching the second transmission module includes:
A fourth target sending module, configured to receive, by the server, fourth target data sent by the second standby UDP port by using the first standby UDP port;
Wherein the fourth target data is data that is not transmitted in the third target data.
preferably, the second feedback information includes second feedback information; the feedback module includes:
a second standby feedback generation module, configured to generate, by the server, the second standby feedback information by using the buffer remaining space information of the first standby UDP port;
And the second standby feedback sending module is used for sending the second standby feedback information to the second main UDP port by the server side through the first main UDP port.
The embodiment of the invention also discloses an electronic device, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the data transmission method are realized.
the embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the steps of the data transmission method when being executed by a processor.
The embodiment of the invention has the following advantages:
In the embodiment of the application, the server transmits first data through the first main UDP port and the second main UDP port, and transmits first feedback information through the first standby UDP port and the second standby UDP port, when the first feedback information meets a first preset condition, the server transmits second data through the first standby UDP port and the second standby UDP port, and transmits second feedback information through the first main UDP port and the second main UDP port, so that the data transmission ports can be switched according to the buffer state of the main UDP port and the standby UDP port, and data packet loss caused by too low residual space of the buffer of the UDP port at a data receiving end is avoided.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core concepts of the embodiments of the present invention is that two UDP ports are respectively disposed in a server and a client of a monitoring system. When the server and the client transmit data, if the residual space of the buffer area of the UDP port of the data receiving end which transmits the data currently reaches a certain threshold value, the server and the client both switch to another UDP port to transmit the data, so that the data packet loss of the data receiving end caused by the excessively low residual space of the buffer area of the UDP port is avoided.
referring to fig. 1, a flowchart illustrating a first step of a data transmission method according to a first embodiment of the present invention is shown, where the first embodiment of the present invention may be applied to a monitoring system, where the monitoring system includes a server and a client; the server side comprises a first main UDP port and a first standby UDP port, and the client side comprises a second main UDP port and a second standby UDP port;
the embodiment of the invention specifically comprises the following steps:
Step 101, the server transmits first data through the first main UDP port and the second main UDP port;
UDP (User data Protocol) is a connectionless Protocol for transmitting data packets. The UDP port may be a UDP Socket.
the server and the client may transmit first data through the UDP port, specifically, the first data is media data, and the media data may include one or more of audio information, video information, and text information. In an initial state, the server side communicates with the client side through the first main UDP port, and the client side communicates with the server side through the second main UDP port.
The monitoring system can be applied to video networking or the internet. When the monitoring system is applied to the video network, the server and the client are video network terminals. When the monitoring system is applied to the Internet, the server and the client are Internet terminals.
102, the server transmits first feedback information through the first standby UDP port and the second standby UDP port;
the first feedback information is the buffer remaining space information of the primary UPD port receiving the first data. In an embodiment of the present application, the first feedback information may include first main feedback information and second main feedback information.
in the embodiment of the application, in the process that the server transmits the first data through the first main UDP port and the second main UDP port, the server may feed back the buffer remaining space information of the first main UDP port through the first standby UDP port, the client may feed back the buffer remaining space information of the second main UDP port through the second standby UDP port, and the server and the client may transmit the first feedback information through the first standby UDP port and the second standby UDP port, so that the server and the client may know the feedback information of the first main UDP port and the second main UDP port in time and perform corresponding operations according to the feedback information.
103, when the first feedback information meets a first preset condition, the server transmits second data through the first standby UDP port and the second standby UDP port, and the server transmits second feedback information through the first main UDP port and the second main UDP port;
the second feedback information is the buffer remaining space information of the spare UPD port receiving the second data; the second data is data which is not transmitted in the first data. In an embodiment of the present application, the second feedback information may include first feedback information and second feedback information. The second data may include second target data and fourth target data.
Further, in an embodiment of the present application, the first preset condition may be that the remaining buffer space of the first primary UPD port reaches an upper limit. When the remaining space information of the buffer of the first main UPD port of the first data reaches the upper limit, the server may use the first standby UDP port and the second standby UDP port to transmit second data, where the second data is data that is not transmitted in the first data. At this time, the first main UDP port feeds back the buffer area residual information of the first standby UDP port, the second main UDP port feeds back the buffer area residual information of the second standby UDP port, and the server and the client may transmit the second feedback information through the first main UDP port and the second main UDP port, so that the server and the client can know the feedback information of the first standby UDP port and the second standby UDP port in time and determine whether to switch the data transmission port according to the feedback information, thereby avoiding data packet loss caused by too low buffer area residual space of the UDP port at the receiving end.
Referring to fig. 2, a flowchart illustrating steps of an example of a data transmission method of the present invention is shown. Firstly, two UDP sockets are respectively established in a server and a client, namely a first main UDP Socket, a first standby UDP Socket, a second main UDP Socket and a second standby UDP Socket, wherein the main UDP Socket is used for sending and receiving data for the first time, and the standby UDP Socket is used for feeding back receiving buffer area information of the main UDP Socket of a receiving end. After the main UDP Socket is used for sending data, judging whether the buffer area residual space of the main UDP Socket for currently receiving the data reaches the upper limit, if so, switching to the standby UDP Socket for sending and receiving the data, and at the moment, feeding back the buffer area residual space information of the standby UDP Socket by using the main UDP Socket; if not, continuing to use the main UDP Socket to send and receive data, and feeding back the residual space information of the buffer area of the main UDP Socket by the standby UDP Socket. And after the data sent by the UDP Socket is determined, returning to the step of judging whether the buffer residual space of the main UDP Socket currently receiving the data reaches the upper limit or not.
In this embodiment of the present invention, a server transmits first data through the first main UDP port and the second main UDP port, transmits first feedback information through the first standby UDP port and the second standby UDP port, transmits second data through the first standby UDP port and the second standby UDP port when the first feedback information meets a first preset condition, and transmits second feedback information through the first main UDP port and the second main UDP port. According to the data transmission method and device, the buffer zone residual information of the UDP port is fed back through the first feedback information, when the buffer zone residual space of the current UDP port for data transmission reaches a certain threshold value, the current UDP port is switched to another UDP port for data transmission, and therefore the phenomenon that data packet loss occurs due to the fact that the buffer zone residual space of the UDP port is too low at a data receiving end can be avoided.
referring to fig. 3, a flowchart of steps of a second embodiment of the data transmission method of the present invention is shown, and is applied to a monitoring system, where the monitoring system includes a server and a client; the server side comprises a first main UDP port and a first standby UDP port, and the client side comprises a second main UDP port and a second standby UDP port;
The embodiment of the invention takes the server as the sending end, and specifically comprises the following steps:
step 301, the server transmits first target data through the first main UDP port and the second main UDP port;
in the embodiment of the invention, the server generates the first target data, and the first target data is sent to the second main UDP port by adopting the first main UDP port so as to complete data transmission between the server and the client. The first target data may be media data, and the media data may include one or more of audio information, video information, and text information.
step 302, the server transmits first main feedback information through the first standby UDP port and the second standby UDP port;
in this embodiment of the present invention, the first main feedback information is generated by the client using the buffer remaining space information of the second main UDP port, and when the server uses the first main UDP port to send the first target data to the second main UDP port, the client may feed back the buffer remaining space information of the second main UDP port through the second standby UDP port, and send the generated first main feedback information to the first standby UDP port through the second standby UDP port.
The server receives first main feedback information sent by the second standby UDP port through the first standby UDP port, so that whether the data transmission port is switched or not is determined according to the first main feedback information, and data packet loss caused by too low residual space of a buffer area of the second main UDP port is avoided.
Step 303, when the first main feedback information meets a first preset condition, the server transmits second target data through the first standby UDP port and the second standby UDP port;
the server transmits first standby feedback information through the first main UDP port and the second main UDP port;
the second target data is data which is not transmitted in the first target data.
Specifically, the server side sends first target data to a second main UDP port by using a first main UDP port, switches a data transmission sending port when first main feedback information, that is, buffer remaining space information of the second main UDP port reaches an upper limit, sends second target data by using a first standby UDP port, switches a data transmission receiving port by the client side, receives second target data sent by the first standby UDP port by using a second standby UDP port, generates first standby feedback information by using buffer remaining space information of the first standby UDP port, and sends the first standby feedback information to the first main UDP port through the second main UDP port. The server side receives first standby feedback information sent by the second main UDP port by adopting the first main UDP port, so that whether the data transmission port is switched or not is determined according to the first standby feedback information, and data packet loss caused by too low residual space of a buffer area of the second standby UDP port is avoided.
in the embodiment of the invention, the server side adopts the first main UDP port to send the first target data to the second main UDP port, and receives the first main feedback information sent by the second main UDP port through the first main UDP port, and then when the first main feedback information meets the first preset condition, the server side and the client side switch the data transmission ports, adopt the first main UDP port to send the second target data to the second main UDP port, and receive the first main feedback information sent by the second main UDP port through the first main UDP port, so that the data transmission ports can be switched according to the buffer residual space states of the main UDP port and the standby UDP port, and the data packet loss caused by the excessively low buffer residual space of the receiving end UDP port is avoided.
referring to fig. 4, a flowchart of a third embodiment of the data transmission method of the present invention is shown, and is applied to a monitoring system, where the monitoring system includes a server and a client; the server side comprises a first main UDP port and a first standby UDP port, and the client side comprises a second main UDP port and a second standby UDP port;
The embodiment of the invention takes the server as the receiving end, and specifically comprises the following steps:
step 401, the server transmits third target data through the first main UDP port and the second main UDP port;
in the embodiment of the present invention, the server serves as a receiving end, the client generates third target data, the third target data is sent to the server through the second main UDP port, and the server receives the third target data sent by the second main UDP port through the first main UDP port.
step 402, the server transmits second main feedback information through the first standby UDP port and the second standby UDP port;
when the server receives third target data sent by a second main UDP port through a first main UDP port, the server generates second main feedback information by using the buffer residual space information of the first UDP port, then the second main feedback information is sent to a second standby UDP port through a first standby UDP port, and the client receives the second main feedback information sent by the first standby UDP port through the second standby UDP port, so that the buffer residual space information of the first main UDP port can be known and mastered at any time, and whether the second main feedback information meets preset conditions or not is judged.
Step 403, when the second master feedback information meets a first preset condition, the server transmits fourth target data through the first standby UDP port and the second standby UDP port;
the server transmits second backup feedback information through the first main UDP port and the second main UDP port;
The fourth target data is data that is not transmitted in the third target data, and the first preset condition is that the buffer remaining space information of the first main UDP port reaches an upper limit.
specifically, when the client determines that the second main feedback information meets the first preset condition, the client switches the sending port for data transmission, and the client sends the fourth target data to the first standby UDP port by using the second standby UDP port, and receives the second standby feedback information sent by the first main UDP port through the second main UDP port, the server receives the fourth target data sent by the second standby UDP port through the first standby UDP port, and generating second backup feedback information by using the buffer residual space information of the first backup UDP port, then the second backup feedback information is sent to the two main UDP ports through the first main UDP port, therefore, whether the information of the residual space of the buffer area of the first backup UDP port reaches the upper limit or not can be judged according to the second backup feedback information, and then when the information of the residual space of the buffer area of the first standby UDP port reaches the upper limit, the transmission port is switched, and the data packet loss caused by the excessively low residual space of the buffer area of the UDP port is avoided.
specifically, when the buffer remaining space information of the first primary UPD port meets the preset condition, the client may send second data using the second backup UDP port, where the second data includes fourth target data, and the fourth target data is data that is not transmitted in the third target data. And the server side receives fourth target data sent by the second standby UDP port by using the first standby UDP port, and generates second feedback information by using the buffer remaining space information of the first standby UDP port, where the second feedback information may be generated by the server side by using the buffer remaining space information of the first standby UDP port, and the second feedback information may include the second standby feedback information. And then the server side sends the second standby feedback information to the client side through the first main UDP port, and the client side receives the second standby feedback information sent by the first main UDP port through the second main UDP port so as to judge whether the second standby feedback information meets the preset condition or not, and then the data transmission port can be switched according to the change of the state of the buffer area, so that the problem of data packet loss is avoided.
In the embodiment of the invention, the server side adopts the first main UDP port to receive third target data sent by the second main UDP port, and sends two pieces of main feedback information to the second standby UDP port through the first standby UDP port, and then switches the data transmission ports when the second main feedback information meets the first preset condition, and the client side adopts the second standby UDP port to send fourth target data to the first standby UDP port and receives the second standby feedback information sent by the first main UDP port through the second main UDP port, so that the data transmission ports can be switched according to the residual space state of the buffer areas of the main and standby UDP ports, and the data packet loss caused by the excessively low residual space of the buffer areas of the UDP ports at the receiving end is avoided.
it should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
referring to fig. 5, a block diagram of a data transmission apparatus according to an embodiment of the present invention is shown, and is applied to a monitoring system, where the monitoring system includes a server and a client; the server side comprises a first main User Datagram Protocol (UDP) port and a first standby UDP port, and the client side comprises a second main UDP port and a second standby UDP port; the method specifically comprises the following modules:
a first transmission module 501, configured to transmit first data through the first main UDP port and the second main UDP port by the server;
A feedback module 502, configured to transmit, by the server, first feedback information through the first standby UDP port and the second standby UDP port;
A second transmission module 503, configured to, when the first feedback information meets a first preset condition, transmit second data through the first standby UDP port and the second standby UDP port by the server, and transmit second feedback information through the first main UDP port and the second main UDP port by the server;
the first feedback information is the buffer remaining space information of a main UPD port receiving the first data; the second feedback information is the buffer residual space information of the backup UPD port for receiving the second data; the second data is data which is not transmitted in the first data.
in a preferred embodiment of the present invention, the first data includes first target data; the first transmission module includes:
a first target generation module, configured to generate the first target data by the server;
and the first target sending module is used for sending the first target data to the second main UPD port by the server side through the first main UPD port.
in a preferred embodiment of the present invention, the first feedback information comprises first primary feedback information; the feedback module includes:
the first main feedback generation module is used for generating the buffer residual space information of the second main UDP port by the client;
And the first master feedback sending module is used for the server to receive the first master feedback information sent by the second standby UDP port by using the first standby UDP port.
in a preferred embodiment of the present invention, the second data comprises second target input data; the second transmission module includes:
a second target sending module, configured to send, by the server, the second target data to the second standby UDP port by using the first standby UDP port;
the second target data is data which is not transmitted in the first target data.
In a preferred embodiment of the present invention, the second feedback information includes first backup feedback information, and the feedback module includes:
the first standby feedback generation module is used for generating the buffer residual space information of the second standby UDP port by the client;
and the first standby feedback sending module is used for the server side to receive the first standby feedback information sent by the second main UDP port by using the first main UDP port.
In a preferred embodiment of the present invention, the first data includes third target data; the first transmission module includes:
a third target generation module, configured to generate the third target data by the client;
and the third target sending module is used for the server side to receive third target data sent by the second main UPD port by adopting the first main UPD port.
in a preferred embodiment of the present invention, the first feedback information comprises second primary feedback information; the feedback module includes:
A second main feedback generation module, configured to generate, by the server, the second main feedback information by using the buffer remaining space information of the first main UDP port;
And the second main feedback sending module is used for sending the second main feedback information to the second standby UDP by the server side through the first standby UDP port.
In a preferred embodiment of the present invention, the second data includes fourth target data; reaching the second transmission module includes:
A fourth target sending module, configured to receive, by the server, fourth target data sent by the second standby UDP port by using the first standby UDP port;
Wherein the fourth target data is data that is not transmitted in the third target data.
in a preferred embodiment of the present invention, the second feedback information includes second standby feedback information; the feedback module includes:
A second standby feedback generation module, configured to generate, by the server, the second standby feedback information by using the buffer remaining space information of the first standby UDP port;
and the second standby feedback sending module is used for sending the second standby feedback information to the second main UDP port by the server side through the first main UDP port.
for the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiment of the invention also discloses an electronic device, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the steps of the data transmission method are realized.
The embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the computer program realizes the steps of the data transmission method when being executed by a processor.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
while preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The data transmission method, the data transmission device, the electronic device and the storage medium provided by the present invention are described in detail, and a specific example is applied in the text to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.