CN112866390A - Data transmission method, device, terminal equipment and storage medium - Google Patents

Data transmission method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN112866390A
CN112866390A CN202110082196.3A CN202110082196A CN112866390A CN 112866390 A CN112866390 A CN 112866390A CN 202110082196 A CN202110082196 A CN 202110082196A CN 112866390 A CN112866390 A CN 112866390A
Authority
CN
China
Prior art keywords
link
data packet
network speed
router
video networking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110082196.3A
Other languages
Chinese (zh)
Other versions
CN112866390B (en
Inventor
祁孟飞
杨春晖
刘佳昌
刘佳奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN202110082196.3A priority Critical patent/CN112866390B/en
Publication of CN112866390A publication Critical patent/CN112866390A/en
Application granted granted Critical
Publication of CN112866390B publication Critical patent/CN112866390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS

Abstract

The embodiment of the invention provides a data transmission method, a data transmission device, terminal equipment and a storage medium, wherein the data transmission method comprises the following steps: receiving a service data packet sent by terminal equipment; grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet; the video networking service data packet is sent to the server end data link router at a first transmission network speed of the video networking link, the internet service data packet is sent to the server end data link router at a second transmission network speed of the internet link, so that the server end data link router sends the video networking service data packet and the internet service data packet to the server, and therefore the data packet to be transmitted can be reasonably distributed through the internet link and the video networking link, network bandwidth is effectively utilized, and data transmission efficiency is improved.

Description

Data transmission method, device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a data transmission method, an apparatus, a terminal device, and a storage medium.
Background
With the continuous development of the video network, a video network link is independently added on the existing internet link, and data transmission can be independently carried out through the internet link and the video network link when service is carried out.
In the process of executing the service, if one network link is adopted to transmit service data, and the other network link is in an idle or low-consumption state, the maximum performance of the two network links cannot be exerted, and how to improve the data transmission rate is a problem which needs to be solved urgently at present.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a data transmission method, apparatus, terminal device and storage medium that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a data transmission method, where the method is applied to a user-end data link router, and includes:
receiving a service data packet sent by terminal equipment;
grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by a server-side data link router according to a first test data packet sent by a client-side data link router through the video networking link and a second test data packet sent by the internet link;
and sending the video networking service data packet to a server data link router at a first transmission network speed of the video networking link, and sending the internet service data packet to the server data link router at a second transmission network speed of the internet link, so that the server data link router sends the video networking service data packet and the internet service data packet to a server.
Optionally, before receiving the service data packet sent by the terminal device, the method further includes:
the server-side data link router receives the first test data packet sent by the user-side data link router through a video network link;
the server data link router acquires first receiving time for receiving the first test data packet;
the server data link router determines a first transmission network speed of the video network according to the size of the first test data packet and the first receiving time;
the server side data link router receives the second test data packet sent by the user side data link router through an internet link;
the server data link router acquires second receiving time for receiving the second test data packet;
the server data link router determines a second transmission network speed of the internet according to the size of the second test data packet and the second receiving time;
the server data link router determines the ratio of a first transmission network speed of the video network to a second transmission network speed of the Internet as the first transmission rate ratio;
and the server side data link router sends the transmission rate ratio to the user side data link router.
Optionally, the method further comprises:
and the server data link router acquires the first transmission network speed and the second transmission network speed every other preset time period.
Optionally, in a case where a first transmission line speed of the video network and/or a second transmission line speed of the internet is changed, the method further includes:
the server data link router acquires a third transmission network speed of the video networking link and a fourth transmission network speed of the internet link;
the server data link router determines a second transmission rate ratio according to a third transmission network speed of the video networking link and a fourth transmission network speed of the internet link;
and the server-side data link router determines a rate change value according to the first transmission rate ratio and the second transmission rate ratio.
Optionally, the method further comprises:
the server data link router judges the rate change rate value;
if the rate change rate value is greater than the preset rate of change, the server data link router adjusts the third transmission network speed of the video networking link to the fifth transmission network speed of the video networking link, and/or
Adjusting the fourth transmission network speed of the internet link to a sixth transmission network speed of the internet link;
and the server data link router sends the fifth transmission network speed of the video networking link and/or the sixth transmission network speed of the internet link to the user data link router.
Optionally, the server-side data link router receives the first test packet sent by the user-side data link router over the video networking link, and the method further includes:
setting a first upper threshold of a transmission rate of a video networking link; wherein the first transmission network speed, the third transmission network speed and the fifth transmission network speed are less than the first upper threshold;
and setting a second upper limit threshold of the transmission rate of the internet link, wherein the second transmission network speed, the fourth transmission network speed and the sixth transmission network speed are less than the first upper limit threshold.
Optionally, the sending the video networking service data packet to a server data link router at a first transmission network speed of the video networking link includes:
performing video networking protocol packaging on the video networking service data packet to obtain a video networking protocol service data packet;
and sending the service data packet of the video networking protocol to a server data link router at the first transmission network speed of the video networking link.
In a second aspect, an embodiment of the present invention provides a data transmission apparatus, where the apparatus is applied to a data link router of a user side, and the apparatus includes:
the receiving module is used for receiving a service data packet sent by the terminal equipment;
the aggregation module is used for grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by the server-side data link router according to a first test data packet sent by the client-side data link router through the video networking link and a second test data packet sent by the internet link;
and the sending module is used for sending the video networking service data packet to a server data link router at a first transmission network speed of the video networking link and sending the internet service data packet to the server data link router at a second transmission network speed of the internet link, so that the server data link router sends the video networking service data packet and the internet service data packet to a server.
Optionally, the server data link router further includes a determining module, where the determining module is configured to:
receiving the first test data packet sent by the user end data link router through a video networking link;
acquiring first receiving time for receiving the first test data packet;
determining a first transmission network speed of the video network according to the size of the first test data packet and the first receiving time;
receiving the second test data packet sent by the user side data link router through an internet link;
acquiring second receiving time for receiving the second test data packet;
determining a second transmission network speed of the internet according to the size of the second test data packet and the second receiving time;
determining the ratio of a first transmission network speed of the video network to a second transmission network speed of the Internet as the first transmission rate ratio;
and sending the transmission rate ratio to the user side data link router.
Optionally, the server data link router further includes a monitoring module, where the monitoring module is configured to:
and acquiring the first transmission network speed and the second transmission network speed every other preset time period.
Optionally, the server data link router further includes an adjusting module, where the adjusting module is configured to:
acquiring a third transmission network speed of a video networking link and a fourth transmission network speed of an internet link;
determining a second transmission rate ratio according to the third transmission network speed of the video networking link and the fourth transmission network speed of the internet link;
and determining a rate change value according to the first transmission rate ratio and the second transmission rate ratio.
Optionally, the adjusting module is further configured to:
judging the rate change value;
if the rate change rate value is larger than the preset rate of change, the third transmission network speed of the video networking link is adjusted to be the fifth transmission network speed of the video networking link, and/or
Adjusting the fourth transmission network speed of the internet link to a sixth transmission network speed of the internet link;
and sending the fifth transmission network speed of the video networking link and/or the sixth transmission network speed of the Internet link to the user side data link router.
Optionally, the apparatus further comprises a setting module, the setting module is configured to:
setting a first upper threshold of a transmission rate of a video networking link; wherein the first transmission network speed, the third transmission network speed and the fifth transmission network speed are less than the first upper threshold;
and setting a second upper limit threshold of the transmission rate of the internet link, wherein the second transmission network speed, the fourth transmission network speed and the sixth transmission network speed are less than the first upper limit threshold.
Optionally, the sending module is configured to:
performing video networking protocol packaging on the video networking service data packet to obtain a video networking protocol service data packet;
and sending the service data packet of the video networking protocol to a server data link router at the first transmission network speed of the video networking link.
In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the data transmission method provided by the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed, the computer program implements the data transmission method provided in the first aspect.
The embodiment of the invention has the following advantages:
the data transmission method, the data transmission device, the terminal equipment and the storage medium provided by the embodiment of the invention receive the service data packet sent by the terminal equipment; grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by a server end data link router according to a first test data packet sent by a client end data link router through the video networking link and a second test data packet sent by the internet link; the video networking service data packet is sent to the server end data link router at a first transmission network speed of the video networking link, the internet service data packet is sent to the server end data link router at a second transmission network speed of the internet link, so that the server end data link router sends the video networking service data packet and the internet service data packet to the server, and therefore the data packet to be transmitted can be reasonably distributed through the internet link and the video networking link, network bandwidth is effectively utilized, and data transmission efficiency is improved.
Drawings
FIG. 1 is a flow chart of the steps of one embodiment of a data transmission method of the present invention;
FIG. 2 is a flow chart of steps in another data transmission method embodiment of the present invention;
FIG. 3 is a flow chart of steps in another data transmission method embodiment of the present invention;
FIG. 4 is a flow chart of steps of yet another data transmission method embodiment of the present invention;
FIG. 5 is a flow chart of the steps of yet another data transmission method embodiment of the present invention;
FIG. 6 is a block diagram of an embodiment of a data transmission apparatus according to the present invention;
fig. 7 is a schematic structural diagram of a terminal device of the present invention.
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.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
Based on the characteristics of the video network, one of the core concepts of the embodiment of the invention is provided, and the service data packet sent by the terminal equipment is received; grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by a server end data link router according to a first test data packet sent by a client end data link router through the video networking link and a second test data packet sent by the internet link; the video networking service data packet is sent to the server end data link router at a first transmission network speed of the video networking link, the internet service data packet is sent to the server end data link router at a second transmission network speed of the internet link, so that the server end data link router sends the video networking service data packet and the internet service data packet to the server, and therefore the data packet to be transmitted can be reasonably distributed through the internet link and the video networking link, network bandwidth is effectively utilized, and data transmission efficiency is improved.
An embodiment of the present invention provides a data transmission method, which is used for transmitting a service data packet through a video networking link and an internet link. The execution main body of the embodiment is a data transmission device, and is arranged on a data link router of a user side.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a data transmission method according to the present invention is shown, where the method may be applied to a client data link router, and specifically includes the following steps:
s101, receiving a service data packet sent by terminal equipment;
specifically, the video networking link aggregation router provided in the embodiment of the present invention includes three RJ45 network ports, where the RJ45 network interface is used for a user to access an IP internet, a video networking, or a user computer or a server, the video networking link aggregation router may be disposed at a user side or a server side, the router disposed at the user side is a user side data link router, the router disposed at the server side is a server side data link router, the user side data link router is connected to a terminal device, the terminal device may be a video networking terminal or an internet terminal, and the server side data link router is connected to the server, so as to implement double link aggregation from the user side to the server side.
The user end data link router receives a service data packet sent by the terminal device, wherein the service data packet may be sent by a video networking terminal or an internet terminal, that is, the user end data link router may be connected to the terminal device through an internet link and a video networking link.
S102, grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an Internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link to a second transmission network speed of the Internet link, and the transmission rate ratio is determined by a server-side data link router according to a first test data packet sent by a client-side data link router through the video networking link and a second test data packet sent by the Internet link;
specifically, a client data link router and a server data link router are connected with an internet link through an internet link, the client data link sends a first test data packet to the server data link router through the internet link in advance, and the server data link router determines a first transmission network speed of the internet link according to the first test data packet;
the user end data link router sends a second test data packet to the server end data link router in advance through the Internet link, and the server end data link router determines a second transmission network speed of the Internet link according to the second test data packet;
the server data link router determines a first transmission rate ratio according to the first transmission network speed and the second transmission network speed, and sends the first transmission rate ratio to the client data link router;
the user end data link router groups the service data packets according to the first transmission rate comparison to obtain video networking service data packets and internet service data packets;
illustratively, the service data packets are allocated according to a first transmission rate ratio, for example, the first transmission rate ratio is a ratio of internet-of-view to internet rate of 3: and 1, transmitting three video network service data packets through the video network, and transmitting one internet service data packet through the internet.
S103, the video networking service data packet is sent to a server data link router at a first transmission network speed of the video networking link, and the Internet service data packet is sent to the server data link router at a second transmission network speed of the Internet link, so that the server data link router sends the video networking service data packet and the Internet service data packet to a server.
Specifically, the client data link router encapsulates the video networking service data packet by adopting a video networking protocol, the encapsulated video networking service data packet is sent to the server data link router at a first transmission network speed through the video networking link, the internet service data packet is sent to the server data link router at a second transmission network speed through the internet link, the server data link router de-encapsulates the encapsulated video networking service data packet, then encapsulates the video networking service data packet into the internet protocol internet service data packet, and then sends the internet service data packet encapsulated into the internet protocol and the received internet service data packet to the server through the internet link.
The data transmission method provided by the embodiment of the invention receives the service data packet sent by the terminal equipment; grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by a server end data link router according to a first test data packet sent by a client end data link router through the video networking link and a second test data packet sent by the internet link; the video networking service data packet is sent to the server end data link router at a first transmission network speed of the video networking link, the internet service data packet is sent to the server end data link router at a second transmission network speed of the internet link, so that the server end data link router sends the video networking service data packet and the internet service data packet to the server, and therefore the data packet to be transmitted can be reasonably distributed through the internet link and the video networking link, network bandwidth is effectively utilized, and data transmission efficiency is improved.
The present invention further provides a supplementary description of the data transmission method provided in the above embodiment.
As shown in fig. 2, which is a flowchart illustrating steps of another embodiment of a data transmission method according to the present invention, a video networking link aggregation router according to an embodiment of the present invention, the video network link aggregation router comprises three RJ45 network ports, the RJ45 network interface is used for accessing IP internet by users, accessing video network, accessing user computer terminals or servers, the video network link aggregation router can be arranged at a user terminal or a service terminal, a router arranged at the user terminal is a user terminal data link router, a router arranged at the service terminal is a service terminal data link router, the user terminal data link router is connected with a terminal device, the terminal equipment can be a video networking terminal or an internet terminal, and the server side data link router is connected with the server and used for realizing double-link aggregation from the user side to the server side. The data transmission method comprises the following steps:
s201, setting a first upper limit threshold of a transmission rate of a video networking link; wherein the first transmission network speed, the third transmission network speed and the fifth transmission network speed are less than the first upper threshold;
s202, setting a second upper limit threshold of the transmission rate of the Internet link, wherein the second transmission network speed, the fourth transmission network speed and the sixth transmission network speed are less than the first upper limit threshold.
Specifically, the link aggregation router, i.e., the server data link router and the client data link router, may set an upper threshold of a transmission rate of each link, so as to avoid greatly occupying a certain link bandwidth.
S203, the server data link router acquires a first transmission rate ratio in advance;
specifically, the server side data link router acquires the first transmission network speed and the second transmission network speed every other preset time period;
illustratively, a Client side link router (Client router) sends a data packet response signaling to a Server data link router (Server router) every 1 second, and the response time of the internet and the video network links is respectively tested to respectively obtain the transmission rates of the two links.
Specifically, S203 includes:
step A1, receiving the first test data packet sent by the user end data link router through the video network link;
step A2, the server data link router obtains a first receiving time for receiving the first test data packet;
step A3, the server data link router determines a first transmission network speed of the video network according to the size of the first test data packet and the first receiving time;
specifically, the server data link router determines a first transmission network speed of the video network according to the ratio of the size of the first test data packet to the first receiving time.
Step A4, the server data link router receives the second test data packet sent by the user data link router through the Internet link;
step A5, the server data link router obtains a second receiving time for receiving the second test data packet;
step A6, the server data link router determines a second transmission network speed of the Internet according to the size of the second test data packet and the second receiving time;
specifically, the server data link router determines a second transmission network speed of the internet according to a ratio of the size of the second test data packet to the second receiving time.
Step A7, the server data link router determines the ratio of the first transmission network speed of the video network to the second transmission network speed of the Internet as the first transmission rate ratio;
s204, the server data link router sends the first transmission rate ratio to the user data link router;
s205, receiving a service data packet sent by the terminal equipment;
s206, grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an Internet service data packet;
s207, sending the video networking service data packet to a server data link router at a first transmission network speed of the video networking link, and sending the Internet service data packet to the server data link router at a second transmission network speed of the Internet link;
specifically, the client data link router performs video networking protocol encapsulation on the video networking service data packet to obtain a service data packet of a video networking protocol;
and the client data link router sends the service data packet of the video networking protocol to the server data link router at the first transmission network speed of the video networking link.
S208, the server side data link router sends the video networking service data packet and the Internet service data packet to a server.
Fig. 3 is a flow chart of steps of another embodiment of the data transmission method of the present invention, as shown in fig. 3, in the case that the first transmission speed of the video network and/or the second transmission speed of the internet is changed, the method further includes:
s301, a server data link router acquires a third transmission network speed of a video networking link and a fourth transmission network speed of an internet link;
s302, the server data link router determines a second transmission rate ratio according to a third transmission rate of the video networking link and a fourth transmission rate of the Internet link;
s303, the server data link router determines a rate change value according to the first transmission rate ratio and the second transmission rate ratio;
s304, the server data link router judges the rate change rate value;
s305, if the rate change rate value is larger than the preset rate of change, the server data link router adjusts the third transmission network speed of the video networking link to the fifth transmission network speed of the video networking link, and/or
Adjusting the fourth transmission network speed of the internet link to a sixth transmission network speed of the internet link;
s306, the server data link router sends the fifth transmission network speed of the video networking link and/or the sixth transmission network speed of the Internet link to the user data link router.
Illustratively, the first transmission rate ratio is 3: 1, a server data link router monitors a first transmission network speed and a first transmission network speed in real time to obtain a third transmission network speed of a video networking link and a fourth transmission network speed of an internet link, determines a second transmission rate ratio according to the third transmission network speed of the video networking link and the fourth transmission network speed of the internet link, for example, the first transmission rate ratio is 3.4:1, and then determines a rate change rate value according to the first transmission rate ratio and the second transmission rate ratio; 3: 1-3; 3.4:1 ═ 3.4; (3.4-3)/3, which is 13%, is smaller than the preset change rate, for example, the preset change rate is 20%, and the transmission rate is not adjusted;
3: 1-3; 3.6:1 ═ 3.6; (3.8-3)/3% is greater than a preset rate of change, for example, the preset rate of change is 20%, then the third transmission network speed of the video networking link is adjusted to the fifth transmission network speed of the video networking link, and/or the fourth transmission network speed of the internet link is adjusted to the sixth transmission network speed of the internet link.
Fig. 4 is a flowchart illustrating steps of another embodiment of a data transmission method according to the present invention, and as shown in fig. 4, an embodiment of the present invention provides a link aggregation router for video networking, the video network link aggregation router comprises three RJ45 network ports, the RJ45 network interface is used for accessing IP internet by users, accessing video network, accessing user computer terminals or servers, the video network link aggregation router can be arranged at a user terminal or a service terminal, a router arranged at the user terminal is a user terminal data link router, a router arranged at the service terminal is a service terminal data link router, the user terminal data link router is connected with a terminal device, the terminal equipment can be a video networking terminal or an internet terminal, and the server side data link router is connected with the server and used for realizing double-link aggregation from the user side to the server side.
Wherein, the access side of the video network link aggregation router (Client router): the Client router can communicate with the Server router, test the transmission rate of the two links in real time, automatically allocate the data packet proportion of the two links according to the transmission rate ratio, and perform video networking protocol encapsulation on the data packets transmitted through the video networking;
video networking link aggregation router service side (Server router): the Server router can respond to the speed measurement signaling of the Client router in real time, decapsulate the received video network data, and send the data packets received by the two links to the Server together.
Fig. 5 is a flowchart of steps of another embodiment of a data transmission method according to the present invention, as shown in fig. 5, the data transmission method includes:
s501, the Client router initiates a data packet response signaling through two links;
specifically, the video network link aggregation router comprises three RJ45 network ports, wherein a first user accesses an IP internet, a second user accesses the video network, and a third user accesses a user computer terminal or a server;
each user side (Client) and Server side are respectively provided with a link aggregation router for realizing the double-link aggregation from the user side to the Server side;
the link aggregation router can set the upper limit threshold of the transmission rate of each link, so that a certain link bandwidth is prevented from being greatly occupied;
s502, the Server router receives and respectively returns responses;
s503, the Client router respectively obtains response time of the two links;
a Client side link router (Client router) sends a data packet response signaling to a Server data link router (Server router) every 1 second, and respectively tests the response time of the internet and the video network links to respectively obtain the transmission rates of the two links;
s504, the Client router obtains a rate ratio and distributes transmission ratio of two links of a data packet;
the Server router obtains a rate ratio through the transmission rates of the two links, and distributes the data packets in proportion, wherein the rate ratio of the video networking to the Internet is 3: 1, transmitting three data packets through a video network, and transmitting a fourth data packet through the internet;
s505, the Client router tests the speed in real time and adjusts the transmission ratio in real time;
calculating the rate ratio every second, if the ratio change is lower than 20%, the transmission rate is not adjusted, and if the ratio change is over 20%, the data packet distribution is adjusted in real time;
s506, the Server router receives the data packets of the two links and transmits the data packets to the Server.
And the data packet transmitted through the video network is encapsulated into video network protocol data through the Client router, and the data packet is de-encapsulated and restored when the data reaches the Server router.
The video network link aggregation router provided by the embodiment of the invention can fully utilize the bandwidth of the IP internet and the video network link, improve the information transmission rate, and when one link fails, the other link can be used as a backup link to realize the switching of the non-sensing network; the link aggregation router can measure the speed of the two links in real time and automatically allocate the transmission proportion of the data packets according to the speed measurement condition; data packets transmitted over the video network support encapsulation as a video networking protocol.
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.
The data transmission method provided by the embodiment of the invention receives the service data packet sent by the terminal equipment; grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by a server end data link router according to a first test data packet sent by a client end data link router through the video networking link and a second test data packet sent by the internet link; the video networking service data packet is sent to the server end data link router at a first transmission network speed of the video networking link, the internet service data packet is sent to the server end data link router at a second transmission network speed of the internet link, so that the server end data link router sends the video networking service data packet and the internet service data packet to the server, and therefore the data packet to be transmitted can be reasonably distributed through the internet link and the video networking link, network bandwidth is effectively utilized, and data transmission efficiency is improved.
Another embodiment of the present invention provides a data transmission apparatus, configured to execute the data transmission method provided in the foregoing embodiment.
Referring to fig. 6, a block diagram of a data transmission apparatus according to an embodiment of the present invention is shown, where the apparatus may be applied to a client data link router, and specifically includes the following modules: a receiving module 601, an aggregation module 602, and a sending module 603, wherein:
the receiving module 601 is configured to receive a service data packet sent by a terminal device;
the aggregation module 602 is configured to group the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, where the first transmission rate ratio is a ratio of a first transmission network speed of a video networking link to a second transmission network speed of an internet link, and the transmission rate ratio is determined by the server data link router according to a first test data packet sent by the client data link router through the video networking link and a second test data packet sent by the internet link;
the sending module 603 is configured to send the video networking service data packet to a server data link router at a first transmission network speed of the video networking link, and send the internet service data packet to the server data link router at a second transmission network speed of the internet link, so that the server data link router sends the video networking service data packet and the internet service data packet to a server.
The data transmission device provided by the embodiment of the invention receives the service data packet sent by the terminal equipment; grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by a server end data link router according to a first test data packet sent by a client end data link router through the video networking link and a second test data packet sent by the internet link; the video networking service data packet is sent to the server end data link router at a first transmission network speed of the video networking link, the internet service data packet is sent to the server end data link router at a second transmission network speed of the internet link, so that the server end data link router sends the video networking service data packet and the internet service data packet to the server, and therefore the data packet to be transmitted can be reasonably distributed through the internet link and the video networking link, network bandwidth is effectively utilized, and data transmission efficiency is improved.
The data transmission device provided by the above embodiment is further described in an additional embodiment of the present invention.
Optionally, the server data link router further includes a determining module, where the determining module is configured to:
receiving the first test data packet sent by the user end data link router through a video networking link;
acquiring first receiving time for receiving the first test data packet;
determining a first transmission network speed of the video network according to the size of the first test data packet and the first receiving time;
receiving the second test data packet sent by the user side data link router through an internet link;
acquiring second receiving time for receiving the second test data packet;
determining a second transmission network speed of the internet according to the size of the second test data packet and the second receiving time;
determining the ratio of a first transmission network speed of the video network to a second transmission network speed of the Internet as the first transmission rate ratio;
and sending the transmission rate ratio to the user side data link router.
Optionally, the server data link router further includes a monitoring module, where the monitoring module is configured to:
and acquiring the first transmission network speed and the second transmission network speed every other preset time period.
Optionally, the server data link router further includes an adjusting module, where the adjusting module is configured to:
acquiring a third transmission network speed of a video networking link and a fourth transmission network speed of an internet link;
determining a second transmission rate ratio according to the third transmission network speed of the video networking link and the fourth transmission network speed of the internet link;
and determining a rate change value according to the first transmission rate ratio and the second transmission rate ratio.
Optionally, the adjusting module is further configured to:
judging the rate change value;
if the rate change rate value is larger than the preset rate of change, the third transmission network speed of the video networking link is adjusted to be the fifth transmission network speed of the video networking link, and/or
Adjusting the fourth transmission network speed of the internet link to a sixth transmission network speed of the internet link;
and sending the fifth transmission network speed of the video networking link and/or the sixth transmission network speed of the Internet link to the user side data link router.
Optionally, the apparatus further comprises a setting module, the setting module is configured to:
setting a first upper threshold of a transmission rate of a video networking link; wherein the first transmission network speed, the third transmission network speed and the fifth transmission network speed are less than the first upper threshold;
and setting a second upper limit threshold of the transmission rate of the internet link, wherein the second transmission network speed, the fourth transmission network speed and the sixth transmission network speed are less than the first upper limit threshold.
Optionally, the sending module is configured to:
performing video networking protocol packaging on the video networking service data packet to obtain a video networking protocol service data packet;
and sending the service data packet of the video networking protocol to a server data link router at the first transmission network speed of the video networking link.
It should be noted that the respective implementable modes in the present embodiment may be implemented individually, or may be implemented in combination in any combination without conflict, and the present application is not limited thereto.
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 data transmission device provided by the embodiment of the invention receives the service data packet sent by the terminal equipment; grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by a server end data link router according to a first test data packet sent by a client end data link router through the video networking link and a second test data packet sent by the internet link; the video networking service data packet is sent to the server end data link router at a first transmission network speed of the video networking link, the internet service data packet is sent to the server end data link router at a second transmission network speed of the internet link, so that the server end data link router sends the video networking service data packet and the internet service data packet to the server, and therefore the data packet to be transmitted can be reasonably distributed through the internet link and the video networking link, network bandwidth is effectively utilized, and data transmission efficiency is improved.
Still another embodiment of the present invention provides a terminal device, configured to execute the data transmission method provided in the foregoing embodiment.
Fig. 7 is a schematic structural diagram of a terminal device of the present invention, and as shown in fig. 7, the terminal device includes: at least one processor 701 and memory 702;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the data transmission method provided by the above-mentioned embodiments.
The terminal device provided in this embodiment receives a service data packet sent by the terminal device; grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by a server end data link router according to a first test data packet sent by a client end data link router through the video networking link and a second test data packet sent by the internet link; the video networking service data packet is sent to the server end data link router at a first transmission network speed of the video networking link, the internet service data packet is sent to the server end data link router at a second transmission network speed of the internet link, so that the server end data link router sends the video networking service data packet and the internet service data packet to the server, and therefore the data packet to be transmitted can be reasonably distributed through the internet link and the video networking link, network bandwidth is effectively utilized, and data transmission efficiency is improved.
Yet another embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the computer program implements the data transmission method provided in any one of the above embodiments.
According to the computer-readable storage medium of the embodiment, a service data packet sent by a terminal device is received; grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by a server end data link router according to a first test data packet sent by a client end data link router through the video networking link and a second test data packet sent by the internet link; the video networking service data packet is sent to the server end data link router at a first transmission network speed of the video networking link, the internet service data packet is sent to the server end data link router at a second transmission network speed of the internet link, so that the server end data link router sends the video networking service data packet and the internet service data packet to the server, and therefore the data packet to be transmitted can be reasonably distributed through the internet link and the video networking link, network bandwidth is effectively utilized, and data transmission efficiency is improved.
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, electronic 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 electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing electronic device, 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 electronic devices 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 electronic device to cause a series of operational steps to be performed on the computer or other programmable electronic device to produce a computer implemented process such that the instructions which execute on the computer or other programmable electronic device 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 electronic device 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 electronic device. 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 electronic device that comprises the element.
The data transmission method and the data transmission device provided by the invention are described in detail, and the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the embodiments is only used for helping to understand the method and the core idea of the 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.

Claims (10)

1. A data transmission method, applied to a client data link router, the method comprising:
receiving a service data packet sent by terminal equipment;
grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by a server-side data link router according to a first test data packet sent by a client-side data link router through the video networking link and a second test data packet sent by the internet link;
and sending the video networking service data packet to a server data link router at a first transmission network speed of the video networking link, and sending the internet service data packet to the server data link router at a second transmission network speed of the internet link, so that the server data link router sends the video networking service data packet and the internet service data packet to a server.
2. The method of claim 1, wherein before receiving the service data packet sent by the terminal device, the method further comprises:
the server-side data link router receives the first test data packet sent by the user-side data link router through a video network link;
the server data link router acquires first receiving time for receiving the first test data packet;
the server data link router determines a first transmission network speed of the video network according to the size of the first test data packet and the first receiving time;
the server side data link router receives the second test data packet sent by the user side data link router through an internet link;
the server data link router acquires second receiving time for receiving the second test data packet;
the server data link router determines a second transmission network speed of the internet according to the size of the second test data packet and the second receiving time;
the server data link router determines the ratio of a first transmission network speed of the video network to a second transmission network speed of the Internet as the first transmission rate ratio;
and the server side data link router sends the first transmission rate ratio to the user side data link router.
3. The method of claim 2, further comprising:
and the server data link router acquires the first transmission network speed and the second transmission network speed every other preset time period.
4. The method of claim 3, wherein in the event that a change occurs in the first transmission rate of the video network and/or the second transmission rate of the internet, the method further comprises:
the server data link router acquires a third transmission network speed of the video networking link and a fourth transmission network speed of the internet link;
the server data link router determines a second transmission rate ratio according to a third transmission network speed of the video networking link and a fourth transmission network speed of the internet link;
and the server-side data link router determines a rate change value according to the first transmission rate ratio and the second transmission rate ratio.
5. The method of claim 4, further comprising:
the server data link router judges the rate change rate value;
if the rate change rate value is greater than the preset rate of change, the server data link router adjusts the third transmission network speed of the video networking link to the fifth transmission network speed of the video networking link, and/or
Adjusting the fourth transmission network speed of the internet link to a sixth transmission network speed of the internet link;
and the server data link router sends the fifth transmission network speed of the video networking link and/or the sixth transmission network speed of the internet link to the user data link router.
6. The method as claimed in claim 2, wherein the first test data packet sent by the client data link router over the video network link is received at the server data link router, and the method further comprises:
setting a first upper threshold of a transmission rate of a video networking link; wherein the first transmission network speed, the third transmission network speed and the fifth transmission network speed are less than the first upper threshold;
and setting a second upper limit threshold of the transmission rate of the internet link, wherein the second transmission network speed, the fourth transmission network speed and the sixth transmission network speed are less than the first upper limit threshold.
7. The method of claim 1, wherein sending the video networking service packet to a server data link router at a first transport network speed of the video networking link comprises:
performing video networking protocol packaging on the video networking service data packet to obtain a video networking protocol service data packet;
and sending the service data packet of the video networking protocol to a server data link router at the first transmission network speed of the video networking link.
8. A data transmission apparatus, applied to a client data link router, the apparatus comprising:
the receiving module is used for receiving a service data packet sent by the terminal equipment;
the aggregation module is used for grouping the service data packets according to a preset first transmission rate ratio to obtain a video networking service data packet and an internet service data packet, wherein the first transmission rate ratio is the ratio of a first transmission network speed of a video networking link and a second transmission network speed of an internet link, and the transmission rate ratio is determined by the server-side data link router according to a first test data packet sent by the client-side data link router through the video networking link and a second test data packet sent by the internet link;
and the sending module is used for sending the video networking service data packet to a server data link router at a first transmission network speed of the video networking link and sending the internet service data packet to the server data link router at a second transmission network speed of the internet link, so that the server data link router sends the video networking service data packet and the internet service data packet to a server.
9. A terminal device, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executes the computer program stored by the memory to implement the data transfer method of any of claims 1-7.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when executed, implements the data transmission method of any one of claims 1-7.
CN202110082196.3A 2021-01-21 2021-01-21 Data transmission method, device, terminal equipment and storage medium Active CN112866390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110082196.3A CN112866390B (en) 2021-01-21 2021-01-21 Data transmission method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110082196.3A CN112866390B (en) 2021-01-21 2021-01-21 Data transmission method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112866390A true CN112866390A (en) 2021-05-28
CN112866390B CN112866390B (en) 2024-03-29

Family

ID=76008777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110082196.3A Active CN112866390B (en) 2021-01-21 2021-01-21 Data transmission method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112866390B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595834A (en) * 2021-08-09 2021-11-02 海南视联通信技术有限公司 Method and device for detecting data processing capacity of video networking equipment
CN114401277A (en) * 2021-12-31 2022-04-26 格美安(北京)信息技术有限公司 Data dynamic distribution method, storage medium and system based on hybrid network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020164521A1 (en) * 2019-02-12 2020-08-20 Oppo广东移动通信有限公司 Data packet distribution method and apparatus, and mobile terminal and storage medium
CN111818010A (en) * 2020-05-26 2020-10-23 视联动力信息技术股份有限公司 Data transmission method and device, electronic equipment and storage medium
CN112118411A (en) * 2020-08-14 2020-12-22 视联动力信息技术股份有限公司 Data transmission method, device, terminal equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020164521A1 (en) * 2019-02-12 2020-08-20 Oppo广东移动通信有限公司 Data packet distribution method and apparatus, and mobile terminal and storage medium
CN111818010A (en) * 2020-05-26 2020-10-23 视联动力信息技术股份有限公司 Data transmission method and device, electronic equipment and storage medium
CN112118411A (en) * 2020-08-14 2020-12-22 视联动力信息技术股份有限公司 Data transmission method, device, terminal equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595834A (en) * 2021-08-09 2021-11-02 海南视联通信技术有限公司 Method and device for detecting data processing capacity of video networking equipment
CN114401277A (en) * 2021-12-31 2022-04-26 格美安(北京)信息技术有限公司 Data dynamic distribution method, storage medium and system based on hybrid network

Also Published As

Publication number Publication date
CN112866390B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
US10432709B2 (en) Load balancing method, load balancing system, load balancing device and topology reduction method
US9154396B2 (en) Passive measurement of available link bandwidth
US10484463B2 (en) Load balancing system, load balancing device and topology management method
US20020161829A1 (en) System and method for providing internet broadcasting data based on hierarchical structure
CN108632931B (en) Data transmission method, device, equipment and medium based on 5G network
CN104009938A (en) Method and system for long connections based on router level
CN105991689B (en) HTTP message processing method and system, HTTP client and server
US20150271226A1 (en) Transport accelerator implementing a multiple interface architecture
CN112866390B (en) Data transmission method, device, terminal equipment and storage medium
CN102420868B (en) The providing method of service, apparatus and system
CN113301299B (en) Multi-channel video transmission method, system, terminal and storage medium
CN113055946A (en) Service data transmission method, device, terminal equipment and storage medium
US20150127837A1 (en) Relay apparatus and data transfer method
CN111741248A (en) Data transmission method, device, terminal equipment and storage medium
CN108551571B (en) Monitoring video distribution method, device and system and distribution server
CN111224889A (en) Data transmission method and device
CN112260946B (en) Link failure processing method and device, terminal equipment and storage medium
EP3560152B1 (en) Determining the bandwidth of a communication link
CN112118411A (en) Data transmission method, device, terminal equipment and storage medium
CN111669333A (en) Data transmission method and device, computing equipment and storage medium
CN114338625B (en) Real-time communication method, device, equipment and storage medium
CN111669610B (en) Live video transmission method, system, device, server, electronic equipment and storage medium
CN110753071B (en) Information acquisition method and device
CN111193624A (en) Data packet transmission method and device, terminal equipment and storage medium
CN112422395A (en) Data transmission method, device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant