CN107889095B - Method for realizing wireless data transmission by adopting multilink channel - Google Patents

Method for realizing wireless data transmission by adopting multilink channel Download PDF

Info

Publication number
CN107889095B
CN107889095B CN201711160630.5A CN201711160630A CN107889095B CN 107889095 B CN107889095 B CN 107889095B CN 201711160630 A CN201711160630 A CN 201711160630A CN 107889095 B CN107889095 B CN 107889095B
Authority
CN
China
Prior art keywords
wireless data
data card
transmission
wireless
card
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.)
Active
Application number
CN201711160630.5A
Other languages
Chinese (zh)
Other versions
CN107889095A (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.)
Guangdong Zhongxing Newstart Technology Co ltd
Original Assignee
Guangdong Zhongxing Newstart 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 Guangdong Zhongxing Newstart Technology Co ltd filed Critical Guangdong Zhongxing Newstart Technology Co ltd
Priority to CN201711160630.5A priority Critical patent/CN107889095B/en
Publication of CN107889095A publication Critical patent/CN107889095A/en
Application granted granted Critical
Publication of CN107889095B publication Critical patent/CN107889095B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/12Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality

Abstract

The embodiment of the invention discloses a method for realizing wireless data transmission by adopting a multilink channel, which comprises the following steps: dialing all the wireless data cards in the plurality of wireless data cards, and establishing corresponding transmission tunnels for the wireless data cards which are successfully dialed; the method comprises the steps of carrying out a real-time state monitoring process on each successfully dialed wireless data card, and acquiring the current running state of each wireless data card in the successfully dialed wireless data cards in real time; calculating the priority of a data card transmission tunnel corresponding to each wireless data card according to the current running state of each wireless data card; and scheduling the locally received data message to different transmission tunnels for wireless data transmission based on the priority of the data card transmission tunnel. By implementing the embodiment of the invention, the method for realizing wireless data transmission by adopting the multi-link channel achieves the effects of increasing the network transmission bandwidth and providing stable network service.

Description

Method for realizing wireless data transmission by adopting multilink channel
Technical Field
The invention relates to the technical field of wireless communication, in particular to a method for realizing wireless data transmission by adopting a multilink channel.
Background
The concept of multilink was originally proposed in fixed networks and was originally intended to solve the problem of network access stability. Typically multiple Internet access links provided by different ISPs at the same time. The multilink solution is being adopted by more and more enterprises as it can provide better availability and performance. The increase in availability comes from the use of multiple links, while the increase in performance is due to the increased bandwidth resulting from the simultaneous use of multiple links.
The traditional single data card internet access has several obvious disadvantages: 1) the theoretical uploading and downloading rate of a single card is limited, and the 4G theoretical network speed of the current domestic mainstream is 50Mbps in the uplink and 100Mbps in the downlink; 2) the signal intensity of a single card and a single operator is limited by the network coverage condition of the operator, and the network signal intensity at any time and any place cannot be good.
Disclosure of Invention
The invention aims to overcome the defects of the prior art, and provides a method for realizing wireless data transmission by adopting a multilink channel, so as to achieve the effects of increasing network transmission bandwidth and providing stable network service.
In order to solve the above problems, the present invention provides a method for implementing wireless data transmission by using a multilink channel, comprising the following steps:
after a plurality of wireless data card hardware units are powered on, all wireless data cards in the wireless data card hardware units are dialed, and a corresponding transmission tunnel is established for the wireless data card which is successfully dialed, wherein the transmission tunnel is used for transmitting wireless data, and the transmission tunnel corresponding to the wireless data card which is successfully dialed is connected to the same server on the internet;
the method comprises the steps of carrying out a real-time state monitoring process on the wireless data cards which are successfully dialed, and acquiring the current operation state of each wireless data card in the wireless data cards which are successfully dialed in real time, wherein the current operation state comprises the following steps: the current wireless signal quality, the current mobile communication system, the current PING packet time delay and the current data card instant flow;
calculating the priority of a data card transmission tunnel corresponding to each wireless data card according to the current running state of each wireless data card;
after the corresponding transmission tunnel is created for the wireless data card which is successfully dialed, a routing scheduling algorithm is started, and the locally received data message is scheduled to different transmission tunnels for wireless data transmission based on the priority of the data card transmission tunnel;
when the data messages in all the transmission tunnels are converged to the same server on the internet, the data messages transmitted based on all the transmission tunnels are restored into a complete data message, and the complete data message is forwarded to the internet by the same server.
The number of the wireless data cards in the hardware unit supporting the wireless data cards is at least 2.
The dialing process for all wireless data cards in the hardware unit supporting multiple wireless data cards comprises:
detecting whether a plurality of hardware units supporting wireless data cards are inserted with SIM cards, and jumping to an initial state to continue waiting if the SIM cards are not detected; if the SIM card is detected, the network state registered by the SIM card is continuously inquired, the dialing mode of the wireless data card is set according to the registered network state, and the dialing process is started based on the dialing mode.
The creating of the corresponding transmission tunnel for the wireless data card with successful dialing comprises the following steps:
obtaining an IP address aiming at the wireless data card with successful dialing;
a transport tunnel is created based on the IP address.
The calculating the priority of the data card transmission tunnel corresponding to each wireless data card according to the current operation state of each wireless data card comprises:
acquiring the current wireless signal quality corresponding to each wireless data card, and calculating a wireless signal quality factor coefficient corresponding to each wireless data card according to a wireless signal quality factor calculation rule;
acquiring a current mobile communication system corresponding to each wireless data card, and calculating a wireless system factor coefficient corresponding to each wireless data card according to a mobile communication system calculation rule;
acquiring uplink instant flow data and downlink instant flow data corresponding to each wireless data card, and calculating an instant flow factor coefficient corresponding to each wireless data card according to an instant flow calculation rule;
acquiring a PING time delay value when the instant flow is less than 0.2MB and a current PING time delay value, and calculating a time delay factor coefficient corresponding to each wireless data card according to a data card time delay calculation rule;
and calculating a communication priority transmission weight value corresponding to each wireless data card according to the wireless signal quality factor coefficient, the wireless system factor coefficient, the instant flow factor coefficient and the time delay factor coefficient according to a communication priority transmission weight calculation rule.
The scheduling of the locally received data message to different transmission tunnels for wireless data transmission based on the priority of the data card transmission tunnel comprises:
calculating the number of transmission tunnels currently used for scheduling and the number of distribution packets of each transmission tunnel according to the number of the wireless data cards successfully dialed;
and sequentially sending the locally received data messages according to the packet sending number distributed in the current round.
The restoring the data packet transmitted based on all the transmission tunnels into a complete data packet includes:
and after receiving the flow of each wireless data card, the same server strips the tunnel, restores the original data message and forwards the original data message to the internet to complete data communication.
The transmission tunnel is a UDP tunnel, a TCP tunnel or a GRE tunnel.
In the embodiment of the invention, the multilink concept in the fixed network is used for reference, the multilink mode is adopted in the wireless network to realize the transmission of wireless communication data, the data cards of a plurality of operators are simultaneously integrated in the equipment, the data cards of the plurality of operators are used as the data transmission outlet, and the intelligent routing scheduling algorithm is used for scheduling the locally accessed data flow to different data cards. The network flow superposition is expected to be achieved, network fluctuation is effectively avoided, and the requirement of stable transmission is met.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for implementing wireless data transmission by using multiple link channels according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for calculating a communication priority transmission weight value according to an embodiment of the present invention;
fig. 3 is a flow chart of a method of calculating a wireless signal quality factor in an embodiment of the invention;
FIG. 4 is a flow chart of a method of calculating a wireless system factor in an embodiment of the invention;
FIG. 5 is a flow chart of a method for calculating an instant traffic factor of a wireless data card in an embodiment of the present invention;
FIG. 6 is a flow chart of a method for calculating a time delay factor of a wireless data card in an embodiment of the invention;
fig. 7 is a flowchart of a method for calculating a communication priority transmission weight value of a wireless data card according to an embodiment of the present invention;
fig. 8 is a flowchart of a packet routing scheduling process in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the method for realizing wireless data transmission by adopting the multilink channel, after a plurality of wireless data card hardware units are powered on, all wireless data cards in the wireless data card hardware units are dialed, and a corresponding transmission tunnel is established for the wireless data card which is successfully dialed, wherein the transmission tunnel is used for transmitting wireless data, and the transmission tunnel corresponding to the wireless data card which is successfully dialed is connected to the same server on the internet; the method comprises the steps of carrying out a real-time state monitoring process on the wireless data cards which are successfully dialed, and acquiring the current operation state of each wireless data card in the wireless data cards which are successfully dialed in real time, wherein the current operation state comprises the following steps: the current wireless signal quality, the current mobile communication system, the current PING packet time delay and the current data card instant flow; calculating the priority of a data card transmission tunnel corresponding to each wireless data card according to the current running state of each wireless data card; after the corresponding transmission tunnel is created for the wireless data card which is successfully dialed, a routing scheduling algorithm is started, and the locally received data message is scheduled to different transmission tunnels for wireless data transmission based on the priority of the data card transmission tunnel; when the data messages in all the transmission tunnels are converged to the same server on the internet, the data messages transmitted based on all the transmission tunnels are restored into a complete data message, and the complete data message is forwarded to the internet by the same server.
It should be noted that the above-mentioned transmission tunnel can be UDP tunnel, TCP tunnel, GRE tunnel, etc.
Accordingly, fig. 1 shows a flowchart of a method for implementing wireless data transmission by using multiple link channels in an embodiment of the present invention, where the flowchart includes the following steps:
s101, after a plurality of wireless data card hardware units are powered on, all wireless data cards in the wireless data card hardware units are dialed, and a corresponding transmission tunnel is established for the wireless data card which is dialed successfully;
in the specific implementation process, the hardware device capable of supporting a plurality of (the number is more than or equal to 2) data cards to run the embedded system at the same time is selected, that is, in the embodiment of the invention, at least 2 wireless data cards in the hardware unit capable of supporting a plurality of wireless data cards are supported.
It should be noted that the transmission tunnel is used for wireless data transmission, and the transmission tunnels corresponding to the wireless data cards which are successfully dialed are all connected to the same server on the internet;
it should be noted that, after the device is powered on, it needs to detect whether the SIM card is inserted into the hardware unit supporting multiple wireless data cards, and if the SIM card is not detected, it jumps to the initial state to continue waiting; if the SIM card is detected, the network state registered by the SIM card is continuously inquired, the dialing mode of the wireless data card is set according to the registered network state, and the dialing process is started based on the dialing mode. After the device is powered on, the current wireless signal quality of each data card hardware unit is detected, whether the data card hardware unit is inserted into the SIM card is judged, and if the SIM card is not detected, the device jumps to the initial state to continue waiting. If the SIM card is detected, the network state registered by the SIM card is continuously inquired, the dialing mode of the data card is set according to the registered network condition, and finally, the dialing process is started. And if the data card is not dialed successfully, jumping to a power-on initial state to restart the dialing processing flow. The SIM card is a (Subscriber identity Module) card, which is also called a Subscriber Identity Module (SIM) card or a smart card. PING is the network latency to link to the internet, generally the higher the number in milliseconds, the more the network is.
It should be noted that, here, creating a corresponding transmission tunnel for a wireless data card with successful dialing includes: obtaining an IP address aiming at the wireless data card with successful dialing; a transport tunnel is created based on the IP address. If the wireless data card is successfully dialed, a transmission tunnel is established according to the IP acquired by the current data card, and the dialing processing of the data card is completed.
It should be noted that the Transmission tunnel may be a User Datagram Protocol (UDP) UDP tunnel, a Transmission Control Protocol (TCP) tunnel, a Generic Routing Encapsulation (GRE) tunnel, and so on.
S102, performing a real-time state monitoring process on the successfully dialed wireless data cards, and acquiring the current running state of each wireless data card in the successfully dialed wireless data cards in real time;
in a specific implementation process, the current operating state includes: the current wireless signal quality, the current mobile communication system, the current PING packet time delay and the current data card instant flow.
S103, calculating the priority of the data card transmission tunnel corresponding to each wireless data card according to the current operation state of each wireless data card;
and when a data card real-time state monitoring process is started, calculating a communication priority transmission weighted value W of each data card according to the current wireless signal quality of the wireless data card, the current mobile communication system, the current PING packet time delay and the current instant flow of the current data card.
Specifically, fig. 2 shows a flowchart of a method for calculating a communication priority transmission weight value in the embodiment of the present invention, which includes the following steps:
s201, obtaining the current wireless signal quality corresponding to each wireless data card, and calculating a wireless signal quality factor coefficient R corresponding to each wireless data card according to a wireless signal quality factor calculation rule;
s202, acquiring a current mobile communication system corresponding to each wireless data card, and calculating a wireless system factor M corresponding to each wireless data card according to a mobile communication system calculation rule;
s203, acquiring uplink instant flow data and downlink instant flow data corresponding to each wireless data card, and calculating an instant flow factor coefficient F corresponding to each wireless data card according to an instant flow calculation rule;
s204, acquiring a PING time delay value when the instant flow is less than 0.2MB and a current PING time delay value, and calculating a time delay factor coefficient P corresponding to each wireless data card according to a data card time delay calculation rule;
and S205, calculating a communication priority transmission weight value W corresponding to each wireless data card according to the wireless signal quality factor coefficient, the wireless system factor coefficient, the instant flow factor coefficient and the time delay factor coefficient and a communication priority transmission weight calculation rule.
In the method shown in fig. 2, the current wireless signal quality corresponding to each wireless data card is obtained, and the wireless signal quality factor coefficient corresponding to each wireless data card is calculated according to the wireless signal quality factor calculation rule; acquiring a current mobile communication system corresponding to each wireless data card, and calculating a wireless system factor coefficient corresponding to each wireless data card according to a mobile communication system calculation rule; acquiring uplink instant flow data and downlink instant flow data corresponding to each wireless data card, and calculating an instant flow factor coefficient corresponding to each wireless data card according to an instant flow calculation rule; acquiring a PING time delay value when the instant flow is less than 0.2MB and a current PING time delay value, and calculating a time delay factor coefficient corresponding to each wireless data card according to a data card time delay calculation rule; and calculating a communication priority transmission weight value corresponding to each wireless data card according to the wireless signal quality factor coefficient, the wireless system factor coefficient, the instant flow factor coefficient and the time delay factor coefficient according to a communication priority transmission weight calculation rule.
Specifically, fig. 3 shows a flowchart of a method for calculating a quality factor of a wireless signal in an embodiment of the present invention, which includes the following steps:
s301, acquiring the wireless signal quality RSSI;
s302, judging whether the RSSI value is greater than or equal to a first signal threshold value, if so, entering S303, and if not, entering S304;
S303、R=R1;
s304, judging whether the RSSI is greater than or equal to a second signal threshold value, namely judging whether the RSSI is between the first signal threshold value and the second signal threshold value, if so, entering S305, and if not, entering S306;
it should be noted that the first signal threshold is larger than the second signal threshold.
S305、R=R2;
S306, judging whether the RSSI is greater than or equal to a third signal threshold, namely judging whether the RSSI is located between the second signal threshold and the third signal threshold, if so, entering S307, and if not, entering S308;
it should be noted that the second signal threshold is larger than the third signal threshold.
S307、R=R3;
S308, judging whether the RSSI is greater than or equal to a fourth signal threshold, namely judging whether the RSSI is located between the third signal threshold and the fourth signal threshold, if so, entering S309, and if not, entering S310;
it should be noted that the third signal threshold is greater than the fourth signal threshold.
S309、R=R4;
S310、R=R5。
It should be noted that, since the RSSI has a signal level, the RSSI value and different signal thresholds are determined, and then the corresponding wireless signal quality factor coefficient R is obtained. The first signal threshold, the second signal threshold, the third signal threshold, and the fourth signal threshold may be set differently according to different scenarios, such as setting the first signal threshold to 24, setting the second signal threshold to 19, setting the third signal threshold to 14, setting the fourth signal threshold to 10, and so on, and for different signal threshold conditions, the wireless signal quality factor values for different signal threshold conditions are also different.
Specifically, fig. 4 shows a flowchart of a method for calculating a wireless standard factor in the embodiment of the present invention, which includes the following steps:
s401, acquiring a wireless mode of a wireless data card;
s402, judging whether the wireless mode of the wireless data card is 4G, if so, entering S403, and if not, entering S404;
S403、M=M1;
s404, judging whether the wireless system of the wireless data card is a Unicom 3G, if so, entering S405, and if not, entering S406;
the Unicom 3G adopts global universal WCDMA technology and can provide various information services including video telephone, wireless internet access, mobile phone television, mobile phone music and the like.
S405、M=M2;
S406, judging whether the wireless mode of the wireless data card is telecom or mobile 3G, if so, entering S407, and if not, entering S408;
china telecom 3G uses CDMA2000 standard, China Mobile 3G uses TD-SCDMA standard.
S407、M=M3;
S408, judging whether the wireless mode of the wireless data card is 2G, if so, entering S409, and if not, entering S410;
S409、M=M4;
S410、M=M4。
it should be noted that, here, the mobile communication system corresponding to the wireless data card with successful dialing is first obtained, and the corresponding wireless system factor coefficient is calculated for the corresponding mobile communication system, that is, each wireless data card in the wireless data cards can obtain one corresponding wireless system factor coefficient M according to the method flow shown in fig. 4, so as to be used for calculating the subsequent communication priority transmission weight value W.
Specifically, fig. 5 shows a flowchart of a method for calculating an instant traffic factor of a wireless data card in the embodiment of the present invention, which includes the following steps:
s501, acquiring an uplink instant flow of the wireless data card;
s502, acquiring the downlink instant flow of the wireless data card;
s503, calculating the current instant total flow;
the current instant total flow rate is the upstream instant flow rate 2+ the downstream instant flow rate.
S504, judging whether the current instant total flow is less than 1MB, if so, entering S505, otherwise, entering S506;
S505、F=1MB;
s506 and B are the instantaneous total flow rate.
It should be noted that, here, first, the uplink instant traffic and the downlink instant traffic are obtained for the wireless data card for which the dialing is successful, after the current uplink instant traffic and the current downlink instant traffic of each wireless data card are obtained, the current instant total traffic of each wireless data card is calculated, then, the current instant total traffic is determined, if the current instant total traffic is greater than or equal to 1MB, the instant traffic factor coefficient F is made to be the instant total traffic, and if the current instant total traffic is less than 1MB, the instant traffic factor coefficient F is made to be 1 MB.
Specifically, fig. 6 shows a flowchart of a method for calculating a time delay factor of a wireless data card in the embodiment of the present invention, which specifically includes the following steps:
s601, acquiring a PING time delay value Tb when the instant flow is less than 0.2 MB;
s602, acquiring a current PING time delay value Tc;
s603, judging whether Tc is less than 2 times of Tb, if so, entering S604, and if so, entering S605;
S604、P=1;
s605, judging whether Tc is more than 2 times of Tb and less than 3 times of Tb, if so, entering S606, and if so, entering S607;
S606、P=1.5;
s607, judging whether Tc is more than 3 times Tb and less than 6 times Tb, if so, entering S608, and if so, entering S609;
S608、P=2;
S609、P=3。
it should be noted that, here, first, a PING delay value Tb when the instant traffic corresponding to each wireless data card is smaller than 0.2MB is obtained, then, a current PING delay value Tc is obtained, then, a relationship between Tc and Tb is calculated according to a calculation rule, and based on a calculation rule of a wireless data card delay factor, each wireless data card is calculated to obtain a corresponding P value, where the P values are 1, 1.5, 2, and 3 under corresponding conditions.
Specifically, fig. 7 shows a flowchart of a method for calculating a communication priority transmission weight value of a wireless data card in the embodiment of the present invention, which specifically includes the following steps:
s701, obtaining a calculation factor R, M, F, P;
in the method flow shown in fig. 3 to fig. 6, the corresponding R, M, F, P equivalent value can be calculated for each wireless data card, and the value can finally implement the calculation process of the communication priority transmission weight value W.
S702, determining whether M is M1 and R is R1 corresponding to the wireless data card, if so, entering S703, and if not, entering S704;
S703、W=1*F*P;
s704, determining whether M is M1 and R is R2 corresponding to the wireless data card, if so, entering S705, and if not, entering S706;
S705、W=2*F*P;
s706, determining whether M is M1 and R is R3 corresponding to the wireless data card, if so, entering S707, and if not, entering S708;
S707、W=8*F*P;
s708, determining whether M is M2 and R is R1 corresponding to the wireless data card, if so, entering S709, and if not, entering S710;
S709、W=3*F*P;
s710, determining whether M is M2 and R is R2 corresponding to the wireless data card, if so, entering S711, and if not, entering S712;
S711、W=5*F*P;
s712, determining whether M is M2 and R is R3 corresponding to the wireless data card, if so, entering S713, and if not, entering S714;
S713、W=20*F*P;
s714, determining whether M is M3 and R is R1 corresponding to the wireless data card, if so, entering S715, otherwise, entering S716;
S715、W=6*F*P;
s716, determining whether M is M3 and R is R2 corresponding to the wireless data card, if yes, going to S717, and if not, going to S718;
S717、W=12*F*P;
s718, determining whether M is M3 and R is R3 corresponding to the wireless data card, if so, entering S719, and if not, entering S720;
S719、W=40*F*P;
S720、W=1000*F*P。
based on the method shown in fig. 7, the calculation may be completed for each communication priority transmission weight value W of the calculation wireless data card, but is not limited to the calculation method shown in fig. 7, after the calculation of the calculation factor R, M, F, P and the like in each wireless data card is completed, the calculation rule for W in each wireless data card satisfies the following:
when M is M1 and R is R1, W is 1F P;
when M is M1 and R is R2, W is 2F P;
when M is M1 and R is R3, W is 8F P;
when M is M2 and R is R1, W is 3F P;
when M is M2 and R is R2, W is 5F P;
when M is M2 and R is R3, W is 20F P;
when M is M3 and R is R1, W is 6F P;
when M is M3 and R is R2, W is 12F P;
when M is M3 and R is R3, W is 40F P;
when the condition is not met, the W corresponding to the wireless data card is 1000F P.
It should be noted that the smaller the communication priority transmission weight value W, the higher the channel transmission priority.
S104, after the corresponding transmission tunnel is created for the wireless data card which is successfully dialed, a routing scheduling algorithm is started, and the locally received data message is scheduled to different transmission tunnels for wireless data transmission based on the priority of the data card transmission tunnel;
in the specific implementation process, the number of transmission tunnels used for scheduling currently and the number of distribution packets of each transmission tunnel are calculated according to the number of the wireless data cards with successful dialing; and sequentially sending the locally received data messages according to the packet sending number distributed in the current round.
The number of the transmission tunnels which can be used for scheduling currently and the number of the distributed packets of each transmission tunnel can be calculated according to the number of the available data cards, and then the locally received data packets are sequentially sent according to the number of the distributed packets in the current round. If the number of the transmission packets allocated this time is completely transmitted or the scheduling time is used completely, a new routing scheduling cycle is entered, and fig. 8 shows a flowchart of a method for routing and scheduling the data packets in the embodiment of the present invention, which specifically includes the following steps:
s801, calculating the corresponding priority transmission weight of the wireless data card according to W;
because the invention realizes wireless data transmission based on a plurality of wireless data card hardware units, each wireless data card has a corresponding W value after the calculation, and the priority transmission weight of the corresponding wireless data card can be set based on the W value.
S802, acquiring the number of network cards of the currently available wireless data cards;
s803, judging whether the network card data is greater than 0, if so, entering S804, and if not, entering S804;
s804, delaying for 1S, recalculating W, and calculating the corresponding wireless data card priority transmission weight according to W;
s805, calculating the number of tunnel packets and the starting time of the current packet sending period;
s806, judging whether the packet sending period is overtime or not, if the packet sending period is overtime, recalculating W, and calculating the corresponding priority transmission weight of the wireless data card according to W, if the packet sending period is not overtime, entering S807;
s807, judging whether the packet in the current packet sending period is sent completely, if the packet is sent completely, recalculating W, and calculating the priority transmission weight of the corresponding wireless data card according to W, if the packet is not sent completely, entering S808;
and S808, polling and transmitting the packet.
It should be noted that, after entering the polling packet sending, the processes from S806 to S807 are performed, and the polling packet sending process is not required to be entered until the packet sending of the current packet sending period is completed.
S105, when the data messages in all the transmission tunnels are converged to the same server on the internet, restoring the data messages transmitted based on all the transmission tunnels into a complete data message, and forwarding the complete data message to the internet from the same server.
And after receiving the flow of each wireless data card, the same server strips the tunnel, restores the original data message and forwards the original data message to the internet to complete data communication.
After the steps are completed, the multilink uplink equipment environment is successfully built. By the intelligent routing scheduling algorithm, the network bandwidth and the wireless operation quality of each data card are fully utilized, the network flow superposition is achieved, the network fluctuation is effectively avoided, and the requirement of stable transmission is met
In summary, the hardware according to the embodiment of the present invention supports N (N is greater than or equal to 2) wireless data card hardware units, performs hardware expansion on a single data card application system, and enhances bandwidth utilization capability in a multilink uplink application environment in a wireless network. The transmission tunnel of the wireless data card is in a tunnel mode, so that under the condition of single service flow, data transmission can be bound on a plurality of tunnels for simultaneous transmission. The problem that specific stream data can be transmitted on each data card tunnel at the same time is solved, the bandwidth of multiple data cards is fully utilized, and the problem that the bandwidth of a single card is limited is solved. And the real-time wireless quality condition of the data card, the bandwidth resource and other running state values are used as the basis of the routing scheduling algorithm. The current available bandwidth of each data card is evaluated in real time, the network transmission bandwidth of the equipment is fully optimized, network fluctuation is effectively avoided, and the requirement of stable transmission is met. And establishing a server at the cloud end for terminating the tunnel, recovering the original internet message of the user, and then forwarding the original internet message to the internet, and vice versa. The processing mode can enable the upper layer application of the user to have no perception on the whole bottom layer multilink transmission process, and the user can use the multilink transmission process without any modification. Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
In addition, the method flow for implementing wireless data transmission by using a multilink channel provided by the embodiment of the present invention is described in detail above, a specific example is applied in the present document 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 of the present invention and the core idea thereof; 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 (8)

1. A method for realizing wireless data transmission by adopting a multilink channel is characterized by comprising the following steps:
after a plurality of wireless data card hardware units are powered on, all wireless data cards in the wireless data card hardware units are dialed, and a corresponding transmission tunnel is established for the wireless data card which is successfully dialed, wherein the transmission tunnel is used for transmitting wireless data, and the transmission tunnel corresponding to the wireless data card which is successfully dialed is connected to the same server on the internet;
the method comprises the steps of carrying out a real-time state monitoring process on the wireless data cards which are successfully dialed, and acquiring the current operation state of each wireless data card in the wireless data cards which are successfully dialed in real time, wherein the current operation state comprises the following steps: the current wireless signal quality, the current mobile communication system, the current PING packet time delay and the current data card instant flow;
calculating the priority of a data card transmission tunnel corresponding to each wireless data card according to the current running state of each wireless data card;
after the corresponding transmission tunnel is created for the wireless data card which is successfully dialed, a routing scheduling algorithm is started, and the locally received data message is scheduled to different transmission tunnels for wireless data transmission based on the priority of the data card transmission tunnel;
when the data messages in all the transmission tunnels are converged to the same server on the internet, the data messages transmitted based on all the transmission tunnels are restored into a complete data message, and the complete data message is forwarded to the internet by the same server.
2. The method of claim 1, wherein at least 2 wireless data cards are provided in the hardware unit supporting multiple wireless data cards.
3. The method of claim 1, wherein the dialing all wireless data cards in the hardware unit supporting multiple wireless data cards comprises:
detecting whether a plurality of hardware units supporting wireless data cards are inserted with SIM cards, and jumping to an initial state to continue waiting if the SIM cards are not detected; if the SIM card is detected, the network state registered by the SIM card is continuously inquired, the dialing mode of the wireless data card is set according to the registered network state, and the dialing process is started based on the dialing mode.
4. The method of claim 3, wherein the creating a corresponding transmission tunnel for the wireless data card with successful dialing comprises:
obtaining an IP address aiming at the wireless data card with successful dialing;
a transport tunnel is created based on the IP address.
5. The method as claimed in claim 1, wherein the calculating the priority of the data card transmission tunnel corresponding to each wireless data card according to the current operating status of each wireless data card comprises:
acquiring the current wireless signal quality corresponding to each wireless data card, and calculating a wireless signal quality factor coefficient corresponding to each wireless data card according to a wireless signal quality factor calculation rule;
acquiring a current mobile communication system corresponding to each wireless data card, and calculating a wireless system factor coefficient corresponding to each wireless data card according to a mobile communication system calculation rule;
acquiring uplink instant flow data and downlink instant flow data corresponding to each wireless data card, and calculating an instant flow factor coefficient corresponding to each wireless data card according to an instant flow calculation rule;
acquiring a PING time delay value when the instant flow is less than 0.2MB and a current PING time delay value, and calculating a time delay factor coefficient corresponding to each wireless data card according to a data card time delay calculation rule;
and calculating a communication priority transmission weight value corresponding to each wireless data card according to the wireless signal quality factor coefficient, the wireless system factor coefficient, the instant flow factor coefficient and the time delay factor coefficient according to a communication priority transmission weight calculation rule.
6. The method of claim 1, wherein the scheduling the locally received data packets to different transmission tunnels for wireless data transmission based on the priority of the data card transmission tunnel comprises:
calculating the number of transmission tunnels currently used for scheduling and the number of distribution packets of each transmission tunnel according to the number of the wireless data cards successfully dialed;
and sequentially sending the locally received data messages according to the packet sending number distributed in the current round.
7. The method of claim 1, wherein the recovering the data packet transmitted based on all the transmission tunnels into a complete data packet comprises:
and after receiving the flow of each wireless data card, the same server strips the tunnel, restores the original data message and forwards the original data message to the internet to complete data communication.
8. The method for implementing wireless data transmission by using multilink channel according to any of claims 1 to 7, wherein said transmission tunnel is UDP tunnel, or TCP tunnel, or GRE tunnel.
CN201711160630.5A 2017-11-20 2017-11-20 Method for realizing wireless data transmission by adopting multilink channel Active CN107889095B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711160630.5A CN107889095B (en) 2017-11-20 2017-11-20 Method for realizing wireless data transmission by adopting multilink channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711160630.5A CN107889095B (en) 2017-11-20 2017-11-20 Method for realizing wireless data transmission by adopting multilink channel

Publications (2)

Publication Number Publication Date
CN107889095A CN107889095A (en) 2018-04-06
CN107889095B true CN107889095B (en) 2020-11-03

Family

ID=61777654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711160630.5A Active CN107889095B (en) 2017-11-20 2017-11-20 Method for realizing wireless data transmission by adopting multilink channel

Country Status (1)

Country Link
CN (1) CN107889095B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311807B (en) * 2019-06-06 2022-04-08 东南大学 Network condition self-adaptive monitoring method for electric hanging basket data acquisition system
CN110933773B (en) * 2019-11-20 2020-08-18 北京连山时代科技有限公司 Link monitoring method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665109A (en) * 2012-04-19 2012-09-12 中兴通讯股份有限公司 Transmitting and receiving method of multimedia video data and corresponding devices
CN106559827A (en) * 2015-09-25 2017-04-05 努比亚技术有限公司 Mobile terminal, multi-channel data transmission method, device, access terminal and network node

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7609700B1 (en) * 2005-03-11 2009-10-27 At&T Mobility Ii Llc QoS channels for multimedia services on a general purpose operating system platform using data cards

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665109A (en) * 2012-04-19 2012-09-12 中兴通讯股份有限公司 Transmitting and receiving method of multimedia video data and corresponding devices
CN106559827A (en) * 2015-09-25 2017-04-05 努比亚技术有限公司 Mobile terminal, multi-channel data transmission method, device, access terminal and network node

Also Published As

Publication number Publication date
CN107889095A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN109155762B (en) Data transmission method and device
CN110831075A (en) Data transmission method and device and service switching method and device
JP3761486B2 (en) Wireless LAN system, main device and program
KR102319836B1 (en) Method and apparatus for determining method of communication between base station and terminal in wireless communication system
US9876722B2 (en) Data multi-stream transmission method and device
US11337217B2 (en) Method, device and system for controlling air interface resource
CN112585922B (en) Auxiliary method, information providing method, stream transmission method and device
CN111586784B (en) Data transmission method and device
CN110493890A (en) A kind of connection restoration methods, access and mobile management function to ps domain entity and user equipment
CN107222887B (en) Communication performance testing method and device for base station wireless side transmission path
CN107196834B (en) Message processing method and device
CN106664650A (en) Methods of transmitting data using at least one of a plurality of wireless accesses, user equipment, and network element
CN110769500A (en) Communication method and device
CN107889095B (en) Method for realizing wireless data transmission by adopting multilink channel
CN114979839A (en) Transmission control protocol proxy method and communication device
CN106027599B (en) Data transmission channel establishing method, system and server
CN102802200B (en) Data message sending method and equipment
US20230164682A1 (en) Selection of a radio access technology for communicating data between network devices
CN113315648A (en) Method and apparatus for performing virtualized network functions
KR20200084029A (en) Network nodes and methods in mesh networks
CN112838983A (en) Data transmission method, system, device, proxy server and storage medium
CN107484204B (en) Method and device for relieving uplink burst of base station
WO2022223031A1 (en) Communication processing method for data transmission and related device
CN114614956B (en) Battery-aware carrier activation
CN108886766B (en) Control information transmission method and device

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