CN108512686B - Multi-device data transmission method, device and system - Google Patents

Multi-device data transmission method, device and system Download PDF

Info

Publication number
CN108512686B
CN108512686B CN201710121991.2A CN201710121991A CN108512686B CN 108512686 B CN108512686 B CN 108512686B CN 201710121991 A CN201710121991 A CN 201710121991A CN 108512686 B CN108512686 B CN 108512686B
Authority
CN
China
Prior art keywords
network access
access device
utilization rate
access equipment
auxiliary network
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
CN201710121991.2A
Other languages
Chinese (zh)
Other versions
CN108512686A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710121991.2A priority Critical patent/CN108512686B/en
Publication of CN108512686A publication Critical patent/CN108512686A/en
Application granted granted Critical
Publication of CN108512686B publication Critical patent/CN108512686B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a multi-device data transmission method, a device and a system, wherein the method comprises the following steps: the main network access equipment acquires the running condition of the current network; the main network access equipment judges whether to transmit data through the auxiliary network access equipment according to the operation condition; and if so, the main network access device sends the data stream to the auxiliary network access device according to a preset rule, and the auxiliary network access device transmits the data. By the method, the auxiliary network access equipment can share part of data transmission service for the main network access equipment, so that the function of expanding network bandwidth is achieved, and load balance of the main network access equipment is realized.

Description

Multi-device data transmission method, device and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for transmitting data of multiple devices.
Background
Network access devices, such as gateway devices, are hubs that connect external networks with user networks, providing rich and efficient network services for people's daily life. There are various external broadband access methods for the gateway device, such as Digital Subscriber Line (DSL), ethernet, passive Optical Network (PON), etc.
In actual networking, the network access device accesses the network through the above DSL, ethernet, PON and other uplink modes, the distance from the network access device to the local side device is often long, the uplink transmission rate of the network is low, the bandwidth is insufficient, and some service development cannot be satisfied. Taking DSL uplink as an example, fig. 1 is a schematic diagram of connection of an existing DSL network, and as shown in fig. 1, a network Access device accesses a network in a DSL uplink manner, and a distance from the network Access device to a Digital Subscriber Line Access Multiplexer (DSLAM) of a local side device is long. In addition, a single network access device is often connected to multiple end user devices at the same time, which is heavy.
For the above-mentioned problems of low uplink transmission rate, insufficient bandwidth and heavy load of the network access device in the networking situation of the single network access device, the prior art cannot provide a good solution.
Disclosure of Invention
The invention provides a multi-device data stream transmission method, a multi-device data stream transmission device and a multi-device data stream transmission system, which aim to solve the problems of insufficient network uplink bandwidth, low data transmission rate and heavy load of network access devices in the prior art.
In order to solve the above problems, the technical solution of the embodiment of the present invention is implemented as follows:
a multi-device data transmission method, comprising:
the main network access equipment acquires the running condition of the current network;
the main network access equipment judges whether to transmit data through auxiliary network access equipment or not according to the operating condition;
and if the judgment result is yes, the main network access equipment sends data flow to the auxiliary network access equipment according to a preset rule, and data transmission is carried out through the auxiliary network access equipment.
Further, the determining, by the primary network access device, whether to transmit data through the auxiliary network access device according to the operation condition includes:
comparing the uplink bandwidth utilization rate of the current network with a first minimum threshold value and/or comparing the Central Processing Unit (CPU) utilization rate with a second minimum threshold value;
and judging whether the uplink bandwidth utilization rate is greater than the first minimum threshold or whether the CPU utilization rate is greater than the second minimum threshold.
Further, the sending, by the main network access device, the data stream to the auxiliary network access device according to a preset rule includes:
sending the data stream to the auxiliary network access device according to a first preset proportion under the condition that the uplink bandwidth utilization rate is greater than the first minimum threshold, less than a first maximum threshold and the CPU utilization rate is less than a second maximum threshold, or the CPU utilization rate is greater than the second minimum threshold, less than a second maximum threshold and the uplink bandwidth utilization rate is less than the first maximum threshold;
and sending the data stream to the auxiliary network access equipment according to a second preset proportion under the condition that the uplink bandwidth utilization rate is greater than the first maximum threshold value or the CPU utilization rate is greater than the second maximum threshold value, wherein the second preset proportion is greater than the first preset proportion.
Further, the sending, by the main network access device, the data stream to the auxiliary network access device according to a preset rule includes:
searching a characteristic entry corresponding to the data flow from a connection tracking record table, wherein the characteristic entry comprises a source IP address, a destination IP address, a source port, a destination port and a protocol type;
and sending the data stream of which the feature item is not found to the auxiliary network access equipment according to the preset rule.
Further, the sending, according to the preset rule, the data stream for which the feature entry is not found to the auxiliary network access device includes:
when the uplink bandwidth utilization rate is greater than a first minimum threshold, less than a first maximum threshold and the CPU utilization rate of a central processing unit is less than a second maximum threshold, or the CPU utilization rate is greater than a second minimum threshold, less than a second maximum threshold and the uplink bandwidth utilization rate is less than the first maximum threshold, sending the data stream in which the feature entry is not found to the auxiliary network access device according to a third preset proportion;
and sending the data stream of which the feature entry is not found to the auxiliary network access equipment according to a fourth preset proportion under the condition that the uplink bandwidth utilization rate is greater than the first maximum threshold or the CPU utilization rate is greater than the second maximum threshold, wherein the fourth preset proportion is greater than the third preset proportion.
Further, before obtaining the operation condition of the current network, the method further includes:
the master network access equipment performs identity verification on the access equipment;
and under the condition that the access equipment is auxiliary network access equipment, configuring routing information for connecting the auxiliary network access equipment.
Further, the identity verification of the access device includes:
sending a detection message to the access equipment, wherein a destination Media Access Control (MAC) address of the detection message is an MAC address of the access equipment, and a destination IP address and a source IP address of the detection message are addresses of different network segments;
and under the condition that the host redirection message is not received, determining the access equipment as auxiliary network access equipment.
Further, after determining that the access device is an auxiliary network access device, the method further includes:
the main network access equipment sends a network control information protocol ICMP request message to a server through the auxiliary network access equipment;
under the condition of receiving the corresponding ICMP response message, determining that the network connection state corresponding to the auxiliary network access equipment is normal;
and under the condition that the corresponding ICMP response message is not received, determining that the network connection state corresponding to the auxiliary network access equipment is abnormal.
Further, the IP address of the auxiliary network access device and the IP address of the main network access device are the same network segment address.
The embodiment of the present invention further provides a multi-device data transmission apparatus, which is applied to a main network access device, and is characterized in that the apparatus includes:
the acquisition module is used for acquiring the running condition of the current network;
the judging module is used for judging whether data are transmitted through the auxiliary network access equipment or not according to the operating condition;
and the sending module is used for sending the data stream to the auxiliary network access equipment according to a preset rule and carrying out data transmission through the auxiliary network access equipment under the condition that the judgment result is yes.
Further, the judging module includes:
the comparison submodule is used for comparing the uplink bandwidth utilization rate of the current network with a first minimum threshold value and/or comparing the CPU utilization rate of a central processing unit with a second minimum threshold value;
and the generation submodule is used for judging whether the uplink bandwidth utilization rate is greater than the first minimum threshold or whether the CPU utilization rate is greater than the second minimum threshold.
Further, the sending module includes:
a first sending sub-module, configured to send the data stream to the auxiliary network access device according to a first preset proportion when the uplink bandwidth usage rate is greater than the first minimum threshold, less than a first maximum threshold, and the CPU usage rate is less than a second maximum threshold, or the CPU usage rate is greater than the second minimum threshold, less than the second maximum threshold, and the uplink bandwidth usage rate is less than the first maximum threshold;
and a second sending submodule, configured to send the data stream to the auxiliary network access device according to a second preset proportion when the uplink bandwidth utilization is greater than the first maximum threshold or the CPU utilization is greater than the second maximum threshold, where the second preset proportion is greater than the first preset proportion.
Further, the sending module includes:
a searching module, configured to search a feature entry corresponding to the data flow from a connection tracking record table, where the feature entry includes a source IP address, a destination IP address, a source port, a destination port, and a protocol type, and the connection tracking record table is set in the main network access device;
and the third sending submodule is used for sending the data stream of which the feature item is not found to the auxiliary network access equipment according to the preset rule.
Further, the apparatus further comprises:
the verification module is used for verifying the identity of the access equipment;
a configuration module, configured to configure routing information for connecting to the auxiliary network access device when the access device is the auxiliary network access device.
Further, the verification module includes:
a fourth sending sub-module, configured to send a detection packet to the access device, where a destination media access control MAC address of the detection packet is an MAC address of the access device, and the destination IP address and a source IP address of the detection packet are addresses in different network segments;
and the determining submodule is used for determining the access equipment as auxiliary network access equipment under the condition that the host redirection message is not received.
The embodiment of the invention also provides a multi-device data transmission system, which is characterized by comprising the main network access device and the auxiliary network access device:
the main network access device is used for acquiring the operation condition of the current network; judging whether to transmit data through the auxiliary network access equipment or not according to the operating condition; if the judgment result is yes, sending a data stream to the auxiliary network access equipment according to a preset rule, and carrying out data transmission through the auxiliary network access equipment;
and the auxiliary network access equipment is used for receiving and transmitting the data stream sent by the main network access equipment.
By the method, the auxiliary network access equipment can share part of data transmission service for the main network access equipment, so that the function of expanding network bandwidth is achieved, and load balance of the main network access equipment is realized.
Drawings
Figure 1 is a schematic diagram of a prior art DSL network connection;
fig. 2 is a flowchart of a multi-device data transmission method according to a first embodiment of the present invention;
fig. 3 is a block diagram of a multi-device data transmission apparatus according to a second embodiment of the present invention;
fig. 4 is a block diagram of a multi-device data transmission apparatus according to a second embodiment of the present invention;
fig. 5 is a block diagram of a multi-device data transmission apparatus according to a second embodiment of the present invention;
fig. 6 is a block diagram of a multi-device data transmission apparatus according to a second embodiment of the present invention;
fig. 7 is a block diagram of a multi-device data transmission apparatus according to a second embodiment of the present invention;
fig. 8 is a block diagram six of a multi-device data transmission apparatus according to a second embodiment of the present invention;
fig. 9 is a block diagram seven of a multi-device data transmission apparatus according to a second embodiment of the present invention;
fig. 10 is a block diagram of a multi-device data transmission system according to a third embodiment of the present invention.
Detailed Description
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments. It should be noted that "first" and "second" are used only for distinction and do not indicate a sequential order.
Example one
The embodiment of the invention provides a multi-device data transmission method. Fig. 2 is a flowchart of a multi-device data transmission method according to an embodiment of the present invention, and as shown in fig. 2, the method includes the following steps:
step S202, the main network access device obtains the operation condition of the current network;
step S204, the main network access device judges whether to transmit data through the auxiliary network access device according to the operation condition;
step S206, if the determination result is yes, the main network access device sends the data stream to the auxiliary network access device according to a preset rule, and performs data transmission through the auxiliary network access device.
By the method, the main network access device distributes the data stream to the auxiliary network access device, receives the message from the auxiliary network access device and forwards the message to the local area network LAN side device, and the auxiliary network access device can take over the role of sharing part of data transmission service for the main network access device, so that the function of expanding the network bandwidth is achieved, and the household LAN side device cannot sense the existence of a plurality of network access devices.
Further, the determining, by the main network access device, whether to transmit data through the auxiliary network access device according to the operating condition includes: comparing the uplink bandwidth utilization rate of the current network with a first minimum threshold value and/or comparing the Central Processing Unit (CPU) utilization rate with a second minimum threshold value; and judging whether the uplink bandwidth utilization rate is greater than the first minimum threshold or whether the CPU utilization rate is greater than the second minimum threshold.
The method determines whether to adopt the auxiliary network access equipment to send the data stream by judging the operating conditions of the current network. The operation conditions of the network include, but are not limited to, two standards of bandwidth utilization rate and CPU utilization rate, and can be adaptively adjusted according to actual needs. It can be seen that the auxiliary network access device will operate as long as any one of the operating conditions reaches a preset minimum threshold.
Further, the sending the data stream to the auxiliary network access device according to the preset rule includes: when the uplink bandwidth utilization rate is greater than the first minimum threshold, less than the first minimum threshold and the CPU utilization rate is less than the second maximum threshold, or the CPU utilization rate is greater than the second minimum threshold, less than the second maximum threshold and the uplink bandwidth utilization rate is less than the first maximum threshold, sending the data stream to the auxiliary network access device in a first preset proportion; and sending the data stream to the auxiliary network access equipment according to a second preset proportion under the condition that the uplink bandwidth utilization rate is greater than the first maximum threshold value or the CPU utilization rate is greater than the second maximum threshold value.
It should be noted that the first minimum threshold, the second maximum threshold, the first preset ratio, and the second preset ratio may be freely configured according to actual needs. Further, normally, the second predetermined ratio should be greater than the first predetermined ratio. However, the case where the second predetermined ratio is less than or equal to the first predetermined ratio is not excluded.
Further, the sending the data stream to the auxiliary network access device according to the preset rule may further include the following method: searching a characteristic entry corresponding to the data flow from a connection tracking record table, wherein the characteristic entry comprises a source IP address, a destination IP address, a source port, a destination port and a protocol type; and sending the data stream of which the feature item is not found to the auxiliary network access equipment according to the preset rule.
When the data stream requested by the user terminal on the LAN side reaches the main network access device, the main network access device first searches the connection tracking record table. A network access device, such as a gateway, implements a state firewall, where a connection tracking record table is provided to record information and state of each connection, and each connection generally includes at least information of a source IP, a destination IP, a protocol, a destination port, and a source port. More information may be included in general, such as information in both the direction of initiation and the direction of response. Whether the connection of the current data flow is an existing connection or a new connection can be judged by searching the connection tracking record table. If the connection information corresponding to the current data stream is found, the connection is indicated to be an existing connection, and the main network access device still processes the connection. The main network access device continues to process the original connection, so that the time for searching the route can be saved.
Further, the sending the data stream for which the feature entry is not found to the auxiliary network access device according to the preset rule includes: when the uplink bandwidth utilization rate is greater than a first minimum threshold, less than a first maximum threshold and the CPU utilization rate of the central processing unit is less than a second maximum threshold, or the CPU utilization rate is greater than a second minimum threshold, less than the second maximum threshold and the uplink bandwidth utilization rate is less than the first maximum threshold, sending the data stream for which the feature entry is not found to the auxiliary network access device according to a third preset proportion; and sending the data stream of which the feature entry is not found to the auxiliary network access equipment according to a fourth preset proportion under the condition that the uplink bandwidth utilization rate is greater than the first maximum threshold or the CPU utilization rate is greater than the second maximum threshold.
The data stream corresponding to the feature entry not found can be marked with a mark, and then the routing table is found according to the mark value and sent to the auxiliary network access equipment according to the rule.
It should be noted that the third preset proportion and the fourth preset proportion may be freely configured according to actual needs. For example, the third predetermined proportion is 80% and the fourth predetermined proportion is 100%. Further, normally, the fourth predetermined ratio should be greater than the third predetermined ratio. However, the case where the fourth predetermined ratio is less than or equal to the third predetermined ratio is not excluded. It should be noted that the numerical values of the third preset ratio and the fourth preset ratio are not necessarily related to the numerical values of the first preset ratio and the second preset ratio, and the case that the fourth preset ratio is equal to the first preset ratio or the second preset ratio and the third preset ratio is equal to the first preset ratio or the second preset ratio is not excluded.
Further, before obtaining the operation condition of the current network, the method further includes: carrying out identity verification on the access equipment; and configuring the routing information for connecting the auxiliary network access equipment under the condition that the access equipment is the auxiliary network access equipment.
Configuring the routing information for connecting the auxiliary network access device herein refers to configuring the routing information between the main network access device and the auxiliary network access device. After the routing information is configured, the data transmission can be carried out between the main network access equipment and the auxiliary network access equipment. Of course, when the auxiliary network access device goes offline, the record information such as the configured route entry needs to be deleted.
Further, the identity verification of the access device includes: sending a detection message to the access device, wherein a destination Media Access Control (MAC) address of the detection message is an MAC address of the access device, and a destination IP address and a source IP address of the detection message are addresses of different network segments; under the condition that the host redirection message is not received, determining the access equipment as auxiliary network access equipment; and under the condition of receiving the host redirection message, determining the access equipment as the user equipment.
The main network access device sends a detection message to the tested device, the destination MAC of the message is the MAC of the tested device, the destination IP of the message is an address of a network segment different from the IP address of the main network access device, and the message can be an actually existing IP address, such as a hundred-degree IP, or a virtual address. The message protocol may be a network control message protocol ICMP or a user datagram protocol UDP. If receiving ICMP message redirected by user, it shows that the tested device is LAN side common user device of main network access device, and it needs to access network by network access device; and conversely, the tested device is the auxiliary network access device.
The situation that the host redirection message is not received comprises the following steps: 1) Receiving an ICMP message which is inaccessible to the network, and indicating that the WAN connection configuration of the auxiliary network access equipment is wrong; 2) If no message is received, it indicates that the auxiliary network access device may successfully send out the detection message, or may not successfully send out the message, or the destination IP is an address that does not exist. Therefore, a diagnostic method using an Internet Packet explorer (ping) is required to further check whether the network is connected.
Further, after determining that the access device is an auxiliary network access device, the method further includes: sending a network control information protocol ICMP request message to a server through the auxiliary network access equipment; under the condition of receiving the corresponding ICMP response message, determining that the network connection state corresponding to the auxiliary network access equipment is normal; and under the condition that the corresponding ICMP response message is not received, determining that the network connection state corresponding to the auxiliary network access equipment is abnormal. At this time, the destination MAC of the ICMP request message is the MAC of the device under test, and the destination IP of the message is the address of a network segment different from the IP address of the main network access device, and must be an actually existing IP address.
Of course, before sending the ICMP request message, the main network access device may first determine whether the ICMP message that is inaccessible to the network is received, and if the ICMP message that is inaccessible to the network is received, it may directly determine that the network connection state corresponding to the auxiliary network access device is abnormal, and naturally, subsequent sending of the ICMP request message is not required.
The identity verification of the access device and the verification of the network connection condition of the auxiliary network access device can be carried out simultaneously by using the ICMP request message as a detection message for sending. At this time, the main network access device may determine whether the access device is an auxiliary network access device at one time, and how the network condition of the auxiliary network access device is: 1) Receiving ICMP message redirected by user, which shows that the tested device is LAN side common user device of main network access device; 2) Receiving an ICMP message which is inaccessible to the network, and indicating that the tested equipment is auxiliary network access equipment and the WAN connection configuration is wrong; 3) Under the condition of receiving the ICMP response message, the detected equipment is the auxiliary network access equipment, and the network connection state corresponding to the auxiliary network access equipment is normal; 4) And if no message is received, the tested device is the auxiliary network access device, and the network connection state corresponding to the auxiliary network access device is abnormal.
It should be noted that before the auxiliary network access device accesses the main network access device, a Dynamic Host Configuration Protocol (DHCP) service function of the auxiliary network access device should be closed, and an IP address of the auxiliary network access device should be configured to be in the same network segment as that of the main network access device. For example, the LAN side segment of the main network access device is 192.168.1.1/24, the address of the auxiliary network access device is 192.168.1.254. In addition, the wide area network WAN connection of the auxiliary network access device is configured to be able to dial-up successfully to access the network. The main and auxiliary network access devices can be connected by a network cable through an Ethernet interface on the LAN side.
Example two
The second embodiment of the invention provides a multi-device data transmission device which is applied to main network access equipment. Fig. 3 is a block diagram of a multi-device data transmission apparatus according to a second embodiment of the present invention, as shown in fig. 3, the apparatus includes:
an obtaining module 32, configured to obtain an operating condition of a current network;
a determining module 34, configured to determine whether to transmit data through the auxiliary network access device according to the operation condition;
a sending module 36, configured to send the data stream to the auxiliary network access device according to a preset rule if the determination result is yes, and perform data transmission through the auxiliary network access device.
Further, fig. 4 is a block diagram of a second apparatus for transmitting a multi-device data stream according to a second embodiment of the present invention, and as shown in fig. 4, the determining module 34 includes:
a comparison submodule 42, configured to compare the uplink bandwidth utilization of the current network with a first minimum threshold, and/or compare the CPU utilization of the central processing unit with a second minimum threshold;
the generating submodule 44 is configured to determine whether the uplink bandwidth utilization is greater than the first minimum threshold or whether the CPU utilization is greater than the second minimum threshold.
Further, fig. 5 is a block diagram of a multi-device data stream transmission apparatus according to the second embodiment of the present invention, and as shown in fig. 5, the sending module 36 includes:
a first sending submodule 52, configured to send the data stream to the auxiliary network access device according to a first preset proportion when the uplink bandwidth usage rate is greater than the first minimum threshold, is less than a first maximum threshold, and the CPU usage rate is less than a second maximum threshold, or the CPU usage rate is greater than the second minimum threshold, is less than the second maximum threshold, and the uplink bandwidth usage rate is less than the first maximum threshold;
a second sending submodule 54, configured to send the data stream to the auxiliary network access device according to a second preset proportion when the uplink bandwidth utilization is greater than the first maximum threshold or the CPU utilization is greater than the second maximum threshold, where the second preset proportion is greater than the first preset proportion.
Further, fig. 6 is a block diagram of a multi-device data stream transmission apparatus according to a second embodiment of the present invention, and as shown in fig. 6, the sending module 36 may also have the following structure:
a searching module 62, configured to search a feature entry corresponding to the data flow from the connection tracking record table, where the feature entry includes a source IP address, a destination IP address, a source port, a destination port, and a protocol type;
and a third sending submodule 64, configured to send the data stream in which the feature entry is not found to the auxiliary network access device according to the preset rule.
Further, fig. 7 is a block diagram of a multi-device data streaming apparatus according to a second embodiment of the present invention, as shown in fig. 7, the apparatus further includes:
a verification module 72, configured to perform identity verification on the access device;
a configuration module 74, configured to configure routing information for connecting to the auxiliary network access device if the access device is the auxiliary network access device.
Further, fig. 8 is a block diagram six of a multi-device data stream transmission apparatus according to a second embodiment of the present invention, as shown in fig. 8, the checking module 72 includes:
a fourth sending submodule 84, configured to send a detection message to the access device, where a destination media access control MAC address of the detection message is an MAC address of the access device, and an IP address of the detection message and a source IP address of the detection message are addresses of different network segments;
a determining submodule 86, configured to determine that the access device is an auxiliary network access device when the host redirection packet is not received; and under the condition of receiving the host redirection message, determining the access equipment as the user equipment.
Further, fig. 9 is a block diagram seven of an apparatus for transmitting a multi-device data stream according to a second embodiment of the present invention, as shown in fig. 9, the apparatus further includes:
a second sending module 92, configured to send a network control information protocol ICMP request message to the server through the auxiliary network access device;
a determining module 94, configured to determine that a network connection state corresponding to the auxiliary network access device is normal when the ICMP response message is received; and under the condition that the ICMP response message is not received, determining that the network connection state corresponding to the auxiliary network access equipment is abnormal.
EXAMPLE III
The third embodiment of the invention provides a multi-device data transmission system. Fig. 10 is a block diagram of a multi-device data streaming system according to a third embodiment of the present invention, and as shown in fig. 10, the apparatus includes a primary network access device 101 and an auxiliary network access device 102:
the master network access device 101 is configured to obtain an operating condition of a current network; judging whether to transmit data through the auxiliary network access equipment or not according to the operation condition; if the judgment result is yes, sending the data stream to the auxiliary network access equipment according to a preset rule, and carrying out data transmission through the auxiliary network access equipment;
the auxiliary network access device 102 is configured to receive and transmit the data stream sent by the main network access device.
It should be noted that the uplink connection mode of the main network access device 101 and the auxiliary network access device 102 may be the same or different.
Example four
The fourth embodiment of the invention also provides a storage medium. Optionally, in the fourth embodiment, the storage medium may be configured to store program codes for performing the following steps:
s1, a main network access device acquires the operation condition of a current network;
s2, the main network access device judges whether to transmit data through the auxiliary network access device according to the operation condition;
and S3, under the condition that the judgment result is yes, the main network access equipment sends the data stream to the auxiliary network access equipment according to a preset rule, and data transmission is carried out through the auxiliary network access equipment.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and various media capable of storing program codes.
Alternatively, in this embodiment, the processor executes the steps S1, S2, and S3 according to program codes stored in the storage medium.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent replacements, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (14)

1. A multi-device data transmission method, comprising:
the main network access equipment acquires the operation condition of the current network;
the main network access device judges whether to transmit data through an auxiliary network access device or not according to the operation condition, wherein the operation condition of the current network comprises the uplink bandwidth utilization rate and/or the Central Processing Unit (CPU) utilization rate;
if the judgment result is yes, the main network access device sends data flow to the auxiliary network access device according to a preset rule, and data transmission is carried out through the auxiliary network access device;
the main network access device judges whether to transmit data through the auxiliary network access device according to the operation condition, and the method comprises the following steps:
comparing the uplink bandwidth utilization rate of the current network with a first minimum threshold and a first maximum threshold to obtain a first comparison result;
comparing the CPU utilization rate with a second minimum threshold and a second maximum threshold to obtain a second comparison result;
determining a first preset proportion or a second preset proportion according to the first comparison result and the second comparison result;
the main network access device sends data stream to the auxiliary network access device according to a preset rule, and the method comprises the following steps:
and sending the data stream to the auxiliary network access equipment according to the first preset proportion or the second preset proportion.
2. The method of claim 1, wherein the primary network access device sending a data stream to the secondary network access device according to a preset rule comprises:
sending the data stream to the auxiliary network access device according to a first preset proportion under the condition that the uplink bandwidth utilization rate is greater than the first minimum threshold, less than a first maximum threshold and the CPU utilization rate is less than a second maximum threshold, or the CPU utilization rate is greater than the second minimum threshold, less than a second maximum threshold and the uplink bandwidth utilization rate is less than the first maximum threshold;
and sending the data stream to the auxiliary network access equipment according to a second preset proportion under the condition that the uplink bandwidth utilization rate is greater than the first maximum threshold value or the CPU utilization rate is greater than the second maximum threshold value, wherein the second preset proportion is greater than the first preset proportion.
3. The method of claim 1, wherein the primary network access device sending a data stream to the secondary network access device according to a preset rule comprises:
searching a characteristic entry corresponding to the data flow from a connection tracking record table, wherein the characteristic entry comprises a source IP address, a destination IP address, a source port, a destination port and a protocol type;
and sending the data stream of which the feature item is not found to the auxiliary network access equipment according to the preset rule.
4. The method of claim 3, wherein the sending the data stream without the found feature entry to the secondary network access device according to the preset rule comprises:
when the uplink bandwidth utilization rate is greater than a first minimum threshold, less than a first maximum threshold and the CPU utilization rate of a central processing unit is less than a second maximum threshold, or the CPU utilization rate is greater than a second minimum threshold, less than a second maximum threshold and the uplink bandwidth utilization rate is less than the first maximum threshold, sending the data stream in which the feature entry is not found to the auxiliary network access device according to a third preset proportion;
and sending the data stream of which the feature item is not found to the auxiliary network access equipment according to a fourth preset proportion under the condition that the uplink bandwidth utilization rate is greater than the first maximum threshold or the CPU utilization rate is greater than the second maximum threshold, wherein the fourth preset proportion is greater than the third preset proportion.
5. The method of any of claims 1-4, wherein prior to obtaining the operational status of the current network, the method further comprises:
the main network access equipment performs identity verification on the access equipment;
and under the condition that the access equipment is auxiliary network access equipment, configuring routing information for connecting the auxiliary network access equipment.
6. The method of claim 5, wherein the verifying the identity of the access device comprises:
sending a detection message to the access equipment, wherein a destination Media Access Control (MAC) address of the detection message is an MAC address of the access equipment, and a destination IP address and a source IP address of the detection message are addresses of different network segments;
and under the condition that the host redirection message is not received, determining the access equipment as auxiliary network access equipment.
7. The method of claim 6, wherein after determining that the access device is an auxiliary network access device, the method further comprises:
the main network access equipment sends a network control information protocol ICMP request message to a server through the auxiliary network access equipment;
under the condition of receiving a corresponding ICMP response message, determining that the network connection state corresponding to the auxiliary network access equipment is normal;
and under the condition that the corresponding ICMP response message is not received, determining that the network connection state corresponding to the auxiliary network access equipment is abnormal.
8. The method of claim 7, wherein the IP address of the secondary network access device is the same network segment address as the IP address of the primary network access device.
9. A multi-device data transmission device applied to a main network access device is characterized by comprising:
the acquisition module is used for acquiring the running condition of the current network;
the judging module is used for judging whether data is transmitted through auxiliary network access equipment or not according to the operation condition, wherein the operation condition of the current network comprises the uplink bandwidth utilization rate and/or the Central Processing Unit (CPU) utilization rate;
the sending module is used for sending a data stream to the auxiliary network access equipment according to a preset rule and carrying out data transmission through the auxiliary network access equipment under the condition that the judgment result is yes;
the judging module comprises:
the comparison submodule is used for comparing the uplink bandwidth utilization rate of the current network with a first minimum threshold and a first maximum threshold to obtain a first comparison result; comparing the CPU utilization rate with a second minimum threshold and a second maximum threshold to obtain a second comparison result; determining a first preset proportion or a second preset proportion according to the first comparison result and the second comparison result;
the sending module is specifically configured to send the data stream to the auxiliary network access device according to the first preset proportion or the second preset proportion.
10. The apparatus of claim 9, wherein the sending module comprises:
a first sending sub-module, configured to send the data stream to the auxiliary network access device according to a first preset proportion when the uplink bandwidth usage rate is greater than the first minimum threshold, less than a first maximum threshold, and the CPU usage rate is less than a second maximum threshold, or the CPU usage rate is greater than the second minimum threshold, less than the second maximum threshold, and the uplink bandwidth usage rate is less than the first maximum threshold;
and a second sending submodule, configured to send the data stream to the auxiliary network access device according to a second preset proportion when the uplink bandwidth utilization is greater than the first maximum threshold or the CPU utilization is greater than the second maximum threshold, where the second preset proportion is greater than the first preset proportion.
11. The apparatus of claim 9, wherein the sending module comprises:
a searching module, configured to search a feature entry corresponding to the data flow from a connection tracking record table, where the feature entry includes a source IP address, a destination IP address, a source port, a destination port, and a protocol type, and the connection tracking record table is set in the main network access device;
and the third sending submodule is used for sending the data stream of which the characteristic item is not found to the auxiliary network access equipment according to the preset rule.
12. The apparatus of any of claims 9-11, further comprising:
the verification module is used for verifying the identity of the access equipment;
a configuration module, configured to configure routing information for connecting to the auxiliary network access device when the access device is the auxiliary network access device.
13. The apparatus of claim 12, wherein the verification module comprises:
a fourth sending submodule, configured to send a detection packet to the access device, where a destination Media Access Control (MAC) address of the detection packet is an MAC address of the access device, and a destination IP address and a source IP address of the detection packet are addresses of different network segments;
and the determining submodule is used for determining the access equipment as auxiliary network access equipment under the condition that the host redirection message is not received.
14. A multi-device data transmission system comprising a primary network access device and a secondary network access device:
the main network access device is used for acquiring the running condition of the current network; judging whether data is transmitted through auxiliary network access equipment or not according to the operation condition, wherein the operation condition of the current network comprises the uplink bandwidth utilization rate and/or the CPU utilization rate; if the judgment result is yes, sending a data stream to the auxiliary network access equipment according to a preset rule, and carrying out data transmission through the auxiliary network access equipment;
the auxiliary network access device is used for receiving and transmitting the data stream sent by the main network access device;
the master network access device is specifically configured to compare the uplink bandwidth utilization rate of the current network with a first minimum threshold and a first maximum threshold, and obtain a first comparison result; comparing the CPU utilization rate with a second minimum threshold and a second maximum threshold to obtain a second comparison result; determining a first preset proportion or a second preset proportion according to the first comparison result and the second comparison result;
and sending the data stream to the auxiliary network access equipment according to the first preset proportion or the second preset proportion.
CN201710121991.2A 2017-02-28 2017-02-28 Multi-device data transmission method, device and system Active CN108512686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710121991.2A CN108512686B (en) 2017-02-28 2017-02-28 Multi-device data transmission method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710121991.2A CN108512686B (en) 2017-02-28 2017-02-28 Multi-device data transmission method, device and system

Publications (2)

Publication Number Publication Date
CN108512686A CN108512686A (en) 2018-09-07
CN108512686B true CN108512686B (en) 2023-02-21

Family

ID=63374398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710121991.2A Active CN108512686B (en) 2017-02-28 2017-02-28 Multi-device data transmission method, device and system

Country Status (1)

Country Link
CN (1) CN108512686B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101223513A (en) * 2005-07-15 2008-07-16 微软公司 Background network bandwidth sharing behind gateway devices
WO2008112694A2 (en) * 2007-03-12 2008-09-18 Citrix Systems, Inc. Systems and methods for load balancing based on user selected metrics
CN102811464A (en) * 2011-05-31 2012-12-05 株式会社Ntt都科摩 Mobile Internet access nodes (MiANs), and method and system for converging bandwidths of MiANs
CN104703222A (en) * 2013-12-10 2015-06-10 华为技术有限公司 Method for transmitting data and routers
CN105516281A (en) * 2015-11-30 2016-04-20 武汉理工大学 Low energy consumption and load balance transfer calculating method and device based on mobile cloud environment
CN105656731A (en) * 2014-11-14 2016-06-08 华为技术有限公司 Data transmission method, device and system
CN105991459A (en) * 2015-02-15 2016-10-05 上海帝联信息科技股份有限公司 Source-returning route distribution method, apparatus and system of CDN node

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107154898A (en) * 2016-03-02 2017-09-12 中兴通讯股份有限公司 A kind of connection control method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101223513A (en) * 2005-07-15 2008-07-16 微软公司 Background network bandwidth sharing behind gateway devices
WO2008112694A2 (en) * 2007-03-12 2008-09-18 Citrix Systems, Inc. Systems and methods for load balancing based on user selected metrics
CN102811464A (en) * 2011-05-31 2012-12-05 株式会社Ntt都科摩 Mobile Internet access nodes (MiANs), and method and system for converging bandwidths of MiANs
CN104703222A (en) * 2013-12-10 2015-06-10 华为技术有限公司 Method for transmitting data and routers
CN105656731A (en) * 2014-11-14 2016-06-08 华为技术有限公司 Data transmission method, device and system
CN105991459A (en) * 2015-02-15 2016-10-05 上海帝联信息科技股份有限公司 Source-returning route distribution method, apparatus and system of CDN node
CN105516281A (en) * 2015-11-30 2016-04-20 武汉理工大学 Low energy consumption and load balance transfer calculating method and device based on mobile cloud environment

Also Published As

Publication number Publication date
CN108512686A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
US10693788B2 (en) Network validation with dynamic tunneling
CN109391560B (en) Network congestion notification method, proxy node and computer equipment
EP2222027A1 (en) A method for transmitting bfd message, a method and device for detecting link failure
US20060280189A1 (en) Residential gateway discovery
WO2011110118A2 (en) Fault detection method and system
CN112654049B (en) Method, system, node and medium for configuring a wireless communication coverage extension system
CA2774281C (en) User access method, system, access server, and access device
WO2017032058A1 (en) Network switching method and apparatus, and computer readable storage medium
US20040109447A1 (en) Method and system for providing layer-4 switching technologies
US20060187820A1 (en) Vector routing-revised
EP2218214B1 (en) Network location service
CN107070790B (en) Route learning method and routing equipment
US8971311B2 (en) Methods, systems and computer readable media for supporting a plurality of real-time transport protocol (RTP) multiplexing enablement methods in a media gateway
CN107896182B (en) Message forwarding method and device
US20140324950A1 (en) Connection method and management server
CN103457794B (en) Method and system for confirming faults of IP bearer network
US7746949B2 (en) Communications apparatus, system and method of creating a sub-channel
CN108512686B (en) Multi-device data transmission method, device and system
CN103856571B (en) A kind of adaptive networking connection method and system
CN111083060B (en) Network flow control method
CN108965363B (en) Method and equipment for processing message
JP5278358B2 (en) Network connection device
CN105634810B (en) method and system for accessing universal plug and play device and access device
JP5135292B2 (en) IP telephone exchange and IP telephone system
KR101896551B1 (en) Separated network bridge system and control method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
GR01 Patent grant
GR01 Patent grant