CN106549797B - With network method, network distribution device and router - Google Patents

With network method, network distribution device and router Download PDF

Info

Publication number
CN106549797B
CN106549797B CN201610873802.2A CN201610873802A CN106549797B CN 106549797 B CN106549797 B CN 106549797B CN 201610873802 A CN201610873802 A CN 201610873802A CN 106549797 B CN106549797 B CN 106549797B
Authority
CN
China
Prior art keywords
distribution
router
performance
broadcast message
duration
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
CN201610873802.2A
Other languages
Chinese (zh)
Other versions
CN106549797A (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.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea Refrigeration Equipment 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 Midea Group Co Ltd, Guangdong Midea Refrigeration Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201610873802.2A priority Critical patent/CN106549797B/en
Publication of CN106549797A publication Critical patent/CN106549797A/en
Application granted granted Critical
Publication of CN106549797B publication Critical patent/CN106549797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Landscapes

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

Abstract

The invention proposes one kind to match network method, network distribution device and router, wherein and it is described to match the relationship that network method includes: the first performance parameter and the first parameter preset threshold value according to router, it determines and net mode is matched to log equipment.The technical solution determines according to the performance of router and matches net mode to log equipment, meets the distribution demand of the router of different size, and realize optimization matches net mode, improves the distribution performance of router, improves the usage experience of user.

Description

With network method, network distribution device and router
Technical field
The present invention relates to Smart Home technical fields, match network method, a kind of network distribution device and one in particular to one kind Kind router.
Background technique
Currently, some routers also has the function of connecting fastly, but often this connects process faster or slower fastly, in the routing of low side When device connects fastly, equipment successfully obtains SSID (Service Set Identifier, service set) and password and successfully The speed of link generally requires 50 seconds or more even 2 minutes, and when high-end router and low side log equipment connect distribution fastly Wait to send there is also the broadcast packet of distribution causes very much log equipment packet loss high fastly, so that it be made to slow down with net spee.
Therefore, how to promote router matches net spee, becomes technical problem urgently to be resolved.
Summary of the invention
The present invention is directed to solve at least one of the technical problems existing in the prior art or related technologies.
For this purpose, an object of the present invention is to provide one kind to match network method.
It is another object of the present invention to propose a kind of network distribution device.
Yet another object of the invention is that proposing a kind of router.
To realize that at least one above-mentioned purpose, embodiment according to an aspect of the present invention propose one kind and match network method, Include: the relationship of the first performance parameter and the first parameter preset threshold value according to router, determines the distribution side to log equipment Formula.
Embodiment according to the present invention matches network method, by determining the first performance parameter of router, and by the primary Energy parameter is compared with default first performance parameter threshold, to determine the performance of router, is determined according to the performance of router Net mode is matched to log equipment, meets the distribution demand of the router of different size, realize optimization matches net mode, The distribution performance of router is improved, the usage experience of user is improved.
Specifically, the performance parameter that router can be determined by the frequency and memory size of CPU, for example, due to CPU Frequency is relatively low or memory equal hardware resources make the lower router of performance, referred to as low end router less, since the frequency of CPU is high Or memory waits the higher router of hardware resources performance, referred to as high-end router enough, by the way that the first parameter preset threshold value is arranged, Divide low side and high-end router.
According to one embodiment of present invention, in the above-mentioned technical solutions, it is preferable that joined according to the first performance of router Several relationships with the first parameter preset threshold value determine and match net mode to log equipment, specifically includes the following steps: detecting When first performance parameter is less than or equal to the first parameter preset threshold value, according to the preset first circulation period, circulation executes distribution Operation, until the default distribution time terminates.
Embodiment according to the present invention matches network method, is detecting first performance parameter less than or equal to the first default ginseng When number threshold value, show that the performance of router is poor, at this time by the way that according in the preset first circulation period, circulation executes distribution behaviour Make, until the default distribution time terminates, realizes the efficient distribution of low end router.
Specifically, when low end router and high-end log equipment pass through " broadcast packet " distribution, due to log equipment performance Higher, each distribution bottleneck is router side, if allowing the CPU major part efficiency of router to improve the speed of broadcast packet It operates on hair broadcast packet, then its DHCP (Dynamic Host Configuration Protocol, dynamic host configuration association View, to internal network or Internet service provider's automatic IP address allocation) service will receive influence, and equally make equipment in acquisition IP When it is slack-off, by the way that according to preset cycle period, circulation executes specified net operation of matching, including sends distribution broadcast message And the operation such as configuration IP address, realize the maximization application to router performance.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that a first circulation period It is interior, specifically includes the following steps: distribution broadcast message is sent according to maximum transmission speed, until suspending after the first duration; According to the IP address of optimal performance parameter configuration log equipment, until suspending after the second duration, followed with completing one first The ring period.
Embodiment according to the present invention matches network method, by sending speed according to maximum respectively in a cycle period Degree, which executes, sends distribution broadcast message, and suspends after executing the first duration, and according to optimal performance parameter configuration log equipment IP address, and execute the second duration after suspend, make send distribution broadcast message with configuration log equipment IP address replace into Row makes the efficiency for the IP address operation for sending distribution broadcast message and configuring log equipment be attained by maximum, to promote low side The distribution performance of router.
Specifically, router time segment is separately operable " sending distribution broadcast message " and DHCP service, detailed process are: The maximum value (interval time of each packet is a1) that " sending distribution broadcast message " performance reaches low end router is improved first, this Process maintains t0_1 seconds, and then pause " sending distribution broadcast message ", improves the performance of DHCP service, and maintain t0_2 seconds, This process is constantly recycled until distribution preset time T terminates.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that a first circulation period It is interior, it is specific further comprising the steps of: distribution broadcast message to be sent according to maximum transmission speed, until after third duration temporarily Stop;According to the address IP of optimal performance parameter configuration log equipment, until suspending after the 4th duration;It is performed simultaneously transmission The operation of distribution broadcast message and configuration of IP address function, until suspending after the 5th duration, to complete a first circulation week Phase.
Embodiment according to the present invention with network method can by executing three operations respectively in a cycle period In the case where performance not consider log equipment, completes to match net operation to log equipment, realize the quick of log equipment Distribution.
Specifically, router time segment is separately operable " sending distribution broadcast message " and DHCP service, improves " hair first Delivery net broadcast message " performance reaches the maximum value (interval time of each packet is b1) of low end router, this process maintains t1_ 1 second, then pause " sending distribution broadcast message ", improved the performance of DHCP service, and maintain t1_2 seconds, then allows and " send Two threads of distribution broadcast message " and DHCP service are run t1_3 seconds in the same priority, wherein " hair broadcast packet is " each The interval time of packet is b2), this process is constantly recycled until distribution preset time T terminates.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that according to the primary of router The relationship of energy parameter and parameter preset threshold value determines the net mode of matching of log equipment, specific further comprising the steps of: to detect When first performance parameter is greater than the first parameter preset threshold value, the second performance parameter of log equipment is obtained;Detect the second performance ginseng Whether number is less than or equal to the second parameter preset threshold value;Detecting the second performance parameter less than or equal to the second parameter preset threshold When value, according to the preset second circulation period, circulation, which executes, matches net operation, until the default distribution time terminates.
Embodiment according to the present invention matches network method, is detecting first performance parameter greater than the first parameter preset threshold value When, show that router is high-end router in performance, at this time by the communication interaction with log equipment, receives log equipment hair The second performance parameter sent is detecting that it is default that the second performance parameter is less than or equal to second to determine the performance of log equipment When parameter threshold, show the log equipment for having performance poor, at this time according to the preset second circulation period, tames and execute distribution Operation terminates up to the default distribution time, realizes quick distribution of the high-end router to low side log equipment.
Since the log equipment performance is lower when high-end router passes through " broadcast packet " distribution with low side devices, such as The broadcast pack receiving and transmitting that fruit routes end is too fast, and low side devices is caused the case where packet loss occur, to need to repeat to send distribution broadcast Information, directly results in that distribution is slow, if directly the speed of distribution broadcast message is slowed down, if that in distribution space simultaneously There are low side log equipment and high-end devices, and the distribution that can also directly result in high-end log equipment slows, in order in parallel not With the log equipment of performance, the speed for sending distribution broadcast message can be controlled according to the performance of different log equipments, to complete With network process.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that a second circulation period It is interior, specifically includes the following steps: distribution broadcast message is sent according to the first transmission speed, until suspending after the 6th duration; Distribution broadcast message is sent according to the second transmission speed, until suspending after the 7th duration;It is sent according to third transmission speed Distribution broadcast message, until suspending after the 8th duration, to complete a second circulation period.
Embodiment according to the present invention matches network method, wide by pressing the transmission distribution of the first transmission speed in the 6th duration Information is broadcast, sends distribution broadcast message by the second transmission speed in the 7th duration, and is sent in the 8th duration by third Speed send distribution broadcast message, meet the networking demand of the log equipment of different performance, it is therefore prevented that high-end log equipment by It reduces in sending distribution broadcast message speed slowly and causes to match since self performance is poor with net spee and low side log equipment The loss of net broadcast message.
Specifically, router sends the interval time of " high speed distribution broadcast message " each packet as c1, which maintains T2_1, the interval time that router sends " middle speed distribution broadcast message " each packet is c2, which maintains t2_2, router The interval time for sending " low velocity distribution broadcast message " each packet is c3, which maintains t2_3, and above-mentioned three constantly recycle Until time T terminates.
Embodiment according to the second aspect of the invention proposes a kind of network distribution device, comprising: determination unit is used for root According to the first performance parameter of router and the relationship of the first parameter preset threshold value, determines and net mode is matched to log equipment.
The network distribution device of embodiment according to the present invention, by determining the first performance parameter of router, and by the primary Energy parameter is compared with default first performance parameter threshold, to determine the performance of router, is determined according to the performance of router Net mode is matched to log equipment, meets the distribution demand of the router of different size, realize optimization matches net mode, The distribution performance of router is improved, the usage experience of user is improved.
Specifically, the performance parameter that router can be determined by the frequency and memory size of CPU, for example, due to CPU Frequency is relatively low or memory equal hardware resources make the lower router of performance, referred to as low end router less, since the frequency of CPU is high Or memory waits the higher router of hardware resources performance, referred to as high-end router enough, by the way that the first parameter preset threshold value is arranged, Divide low side and high-end router.
According to one embodiment of present invention, in the above-mentioned technical solutions, it is preferable that include: first with net unit, be used for When detecting that first performance parameter is less than or equal to the first parameter preset threshold value, according to preset first circulation period, circulation It executes and matches net operation, until the default distribution time terminates.
The network distribution device of embodiment according to the present invention is detecting first performance parameter less than or equal to the first default ginseng When number threshold value, show that the performance of router is poor, at this time by the way that according in the preset first circulation period, circulation executes distribution behaviour Make, until the default distribution time terminates, realizes the efficient distribution of low end router.
Specifically, when low end router and high-end log equipment pass through " broadcast packet " distribution, due to log equipment performance Higher, each distribution bottleneck is router side, if allowing the CPU major part efficiency of router to improve the speed of broadcast packet It operates on hair broadcast packet, then its DHCP (Dynamic Host Configuration Protocol, dynamic host configuration association View, to internal network or Internet service provider's automatic IP address allocation) service will receive influence, and equally make equipment in acquisition IP When it is slack-off, by the way that according to preset cycle period, circulation executes specified net operation of matching, including sends distribution broadcast message And the operation such as configuration IP address, realize the maximization application to router performance.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that further include: transmission unit is used In sending distribution broadcast message according to emission maximum value, until suspending after the first duration;Configuration unit, for according to optimal Performance parameter configures the IP address of log equipment, until suspending after the second duration, to complete a first circulation period.
The network distribution device of embodiment according to the present invention, by sending speed according to maximum respectively in a cycle period Degree, which executes, sends distribution broadcast message, and suspends after executing the first duration, and according to optimal performance parameter configuration log equipment IP address, and execute the second duration after suspend, make send distribution broadcast message with configuration log equipment IP address replace into Row makes the efficiency for the IP address operation for sending distribution broadcast message and configuring log equipment be attained by maximum, to promote low side The distribution performance of router.
Specifically, router time segment is separately operable " sending distribution broadcast message " and DHCP service, detailed process are: The maximum value (interval time of each packet is a1) that " sending distribution broadcast message " performance reaches low end router is improved first, this Process maintains t0_1 seconds, and then pause " sending distribution broadcast message ", improves the performance of DHCP service, and maintain t0_2 seconds, This process is constantly recycled until distribution preset time T terminates.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that transmission unit is also used to: pressing Distribution broadcast message is sent according to emission maximum value, until suspending after third duration;Configuration unit is also used to: according to optimality The IP address of energy parameter configuration log equipment, until suspending after the 4th duration;Network distribution device further include: execution unit is used The operation of distribution broadcast message and configuration of IP address function are sent in being performed simultaneously, until suspending after the 5th duration, to complete One first circulation period.
The network distribution device of embodiment according to the present invention, embodiment according to the present invention matches network method, by one It executes three operations in cycle period respectively, in the case where the performance that can not consider log equipment, completes to log equipment With net operation, the quick distribution of log equipment is realized.
Specifically, router time segment is separately operable " sending distribution broadcast message " and DHCP service, improves " hair first Delivery net broadcast message " performance reaches the maximum value (interval time of each packet is b1) of low end router, this process maintains t1_ 1 second, then pause " sending distribution broadcast message ", improved the performance of DHCP service, and maintain t1_2 seconds;Then it allows and " sends Two threads of distribution broadcast message " and DHCP service are run t1_3 seconds in the same priority, wherein " hair broadcast packet is " each The interval time of packet is b2), this process is constantly recycled until distribution preset time T terminates.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that further include: acquiring unit is used In when detecting that first performance parameter is greater than the first parameter preset threshold value, the second performance parameter of log equipment is obtained;Detection Unit, for detecting whether the second performance parameter is less than or equal to the second parameter preset threshold value;Second matches net unit, for examining When measuring the second performance parameter less than or equal to the second parameter preset threshold value, according to the preset second circulation period, circulation is executed With net operation, until the default distribution time terminates.
The network distribution device of embodiment according to the present invention is detecting first performance parameter greater than the first parameter preset threshold value When, show that router is high-end router in performance, at this time by the communication interaction with log equipment, receives log equipment hair The second performance parameter sent is detecting that it is default that the second performance parameter is less than or equal to second to determine the performance of log equipment When parameter threshold, show the log equipment for having performance poor, at this time according to the preset second circulation period, tames and execute distribution Operation terminates up to the default distribution time, realizes quick distribution of the high-end router to low side log equipment.
Since the log equipment performance is lower when high-end router passes through " broadcast packet " distribution with low side devices, such as The broadcast pack receiving and transmitting that fruit routes end is too fast, and low side devices is caused the case where packet loss occur, to need to repeat to send distribution broadcast Information, directly results in that distribution is slow, if directly the speed of distribution broadcast message is slowed down, if that in distribution space simultaneously There are low side log equipment and high-end devices, and the distribution that can also directly result in high-end log equipment slows, in order in parallel not With the log equipment of performance, the speed for sending distribution broadcast message can be controlled according to the performance of different log equipments, to complete With network process.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that transmission unit is also used to: pressing Distribution broadcast message is sent according to the first transmission speed, until suspending after the 6th duration;Transmission unit is also used to: according to second Transmission speed sends distribution broadcast message, until suspending after the 7th duration;Transmission unit is also used to: sending speed according to third Degree sends distribution broadcast message, until suspending after the 8th duration, to complete a second circulation period.
The network distribution device of embodiment according to the present invention, it is wide by pressing the transmission distribution of the first transmission speed in the 6th duration Information is broadcast, sends distribution broadcast message by the second transmission speed in the 7th duration, and is sent in the 8th duration by third Speed send distribution broadcast message, meet the networking demand of the log equipment of different performance, it is therefore prevented that high-end log equipment by It reduces in sending distribution broadcast message speed slowly and causes to match since self performance is poor with net spee and low side log equipment The loss of net broadcast message.
Specifically, router sends the interval time of " high speed distribution broadcast message " each packet as c1, which maintains T2_1, the interval time that router sends " middle speed distribution broadcast message " each packet is c2, which maintains t2_2, router The interval time for sending " low velocity distribution broadcast message " each packet is c3, which maintains t2_3, and above-mentioned three constantly recycle Until time T terminates.
Embodiment according to the third aspect of the invention we proposes a kind of intelligent router, comprising: such as the skill of second aspect Any one network distribution device described in art scheme, therefore, intelligent router have and above-mentioned second aspect technical solution in it is any The identical technical effect of network distribution device described in, details are not described herein.
Through the invention, it is determined according to the performance of router and net mode is matched to log equipment, meet different size The distribution demand of router, realize optimization matches net mode, improves the distribution performance of router, improves making for user With experience.
Detailed description of the invention
Above-mentioned and/or additional aspect of the invention and advantage will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 shows the flow diagram according to an embodiment of the invention with network method;
Fig. 2 shows the schematic block diagrams of network distribution device according to an embodiment of the invention;
Fig. 3 shows the schematic block diagram of router according to an embodiment of the invention;
Fig. 4 shows the flow diagram with network method according to another embodiment of the invention;
Fig. 5 shows the flow diagram with network method of still another embodiment in accordance with the present invention;
Fig. 6 shows the flow diagram with network method according to still another embodiment of the invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 shows the flow diagram according to an embodiment of the invention with network method.
As shown in Figure 1, according to an embodiment of the invention match network method, comprising:
Step 102, according to the relationship of the first performance parameter of router and the first parameter preset threshold value, determination sets networking Standby matches net mode.
Embodiment according to the present invention matches network method, by determining the first performance parameter of router, and by the primary Energy parameter is compared with default first performance parameter threshold, to determine the performance of router, is determined according to the performance of router Net mode is matched to log equipment, meets the distribution demand of the router of different size, realize optimization matches net mode, The distribution performance of router is improved, the usage experience of user is improved.
Specifically, the performance parameter that router can be determined by the frequency and memory size of CPU, for example, due to CPU Frequency is relatively low or memory equal hardware resources make the lower router of performance, referred to as low end router less, since the frequency of CPU is high Or memory waits the higher router of hardware resources performance, referred to as high-end router enough, by the way that the first parameter preset threshold value is arranged, Divide low side and high-end router.
According to one embodiment of present invention, in the above-mentioned technical solutions, it is preferable that joined according to the first performance of router Several relationships with the first parameter preset threshold value determine and match net mode to log equipment, specifically includes the following steps: detecting When first performance parameter is less than or equal to the first parameter preset threshold value, according to the preset first circulation period, circulation executes distribution Operation, until the default distribution time terminates.
Embodiment according to the present invention matches network method, is detecting first performance parameter less than or equal to the first default ginseng When number threshold value, show that the performance of router is poor, at this time by the way that according in the preset first circulation period, circulation executes distribution behaviour Make, until the default distribution time terminates, realizes the efficient distribution of low end router.
Specifically, when low end router and high-end log equipment pass through " broadcast packet " distribution, due to log equipment performance Higher, each distribution bottleneck is router side, if allowing the CPU major part efficiency of router to improve the speed of broadcast packet It operates on hair broadcast packet, then its DHCP (Dynamic Host Configuration Protocol, dynamic host configuration association View, to internal network or Internet service provider's automatic IP address allocation) service will receive influence, and equally make equipment in acquisition IP When it is slack-off, by the way that according to preset cycle period, circulation executes specified net operation of matching, including sends distribution broadcast message And the operation such as configuration IP address, realize the maximization application to router performance.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that a first circulation period It is interior, specifically includes the following steps: distribution broadcast message is sent according to maximum transmission speed, until suspending after the first duration; According to the IP address of optimal performance parameter configuration log equipment, until suspending after the second duration, followed with completing one first The ring period.
Embodiment according to the present invention matches network method, by sending speed according to maximum respectively in a cycle period Degree, which executes, sends distribution broadcast message, and suspends after executing the first duration, and according to optimal performance parameter configuration log equipment IP address, and execute the second duration after suspend, make send distribution broadcast message with configuration log equipment IP address replace into Row makes the efficiency for the IP address operation for sending distribution broadcast message and configuring log equipment be attained by maximum, to promote low side The distribution performance of router.
Specifically, router time segment is separately operable " sending distribution broadcast message " and DHCP service, detailed process are: The maximum value (interval time of each packet is a1) that " sending distribution broadcast message " performance reaches low end router is improved first, this Process maintains t0_1 seconds, and then pause " sending distribution broadcast message ", improves the performance of DHCP service, and maintain t0_2 seconds, This process is constantly recycled until distribution preset time T terminates.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that a first circulation period It is interior, it is specific further comprising the steps of: distribution broadcast message to be sent according to maximum transmission speed, until after third duration temporarily Stop;According to the address IP of optimal performance parameter configuration log equipment, until suspending after the 4th duration;It is performed simultaneously transmission The operation of distribution broadcast message and configuration of IP address function, until suspending after the 5th duration, to complete a first circulation week Phase.
Embodiment according to the present invention with network method can by executing three operations respectively in a cycle period In the case where performance not consider log equipment, completes to match net operation to log equipment, realize the quick of log equipment Distribution.
Specifically, router time segment is separately operable " sending distribution broadcast message " and DHCP service, improves " hair first Delivery net broadcast message " performance reaches the maximum value (interval time of each packet is b1) of low end router, this process maintains t1_ 1 second, then pause " sending distribution broadcast message ", improved the performance of DHCP service, and maintain t1_2 seconds;Then it allows and " sends Two threads of distribution broadcast message " and DHCP service are run t1_3 seconds in the same priority, wherein " hair broadcast packet is " each The interval time of packet is b2), this process is constantly recycled until distribution preset time T terminates.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that according to the primary of router The relationship of energy parameter and parameter preset threshold value determines the net mode of matching of log equipment, specific further comprising the steps of: to detect When first performance parameter is greater than the first parameter preset threshold value, the second performance parameter of log equipment is obtained;Detect the second performance ginseng Whether number is less than or equal to the second parameter preset threshold value;Detecting the second performance parameter less than or equal to the second parameter preset threshold When value, according to the preset second circulation period, circulation, which executes, matches net operation, until the default distribution time terminates.
Embodiment according to the present invention matches network method, is detecting first performance parameter greater than the first parameter preset threshold value When, show that router is high-end router in performance, at this time by the communication interaction with log equipment, receives log equipment hair The second performance parameter sent is detecting that it is default that the second performance parameter is less than or equal to second to determine the performance of log equipment When parameter threshold, show the log equipment for having performance poor, at this time according to the preset second circulation period, tames and execute distribution Operation terminates up to the default distribution time, realizes quick distribution of the high-end router to low side log equipment.
Since the log equipment performance is lower when high-end router passes through " broadcast packet " distribution with low side devices, such as The broadcast pack receiving and transmitting that fruit routes end is too fast, and low side devices is caused the case where packet loss occur, to need to repeat to send distribution broadcast Information, directly results in that distribution is slow, if directly the speed of distribution broadcast message is slowed down, if that in distribution space simultaneously There are low side log equipment and high-end devices, and the distribution that can also directly result in high-end log equipment slows, in order in parallel not With the log equipment of performance, the speed for sending distribution broadcast message can be controlled according to the performance of different log equipments, to complete With network process.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that a second circulation period It is interior, specifically includes the following steps: distribution broadcast message is sent according to the first transmission speed, until suspending after the 6th duration; Distribution broadcast message is sent according to the second transmission speed, until suspending after the 7th duration;It is sent according to third transmission speed Distribution broadcast message, until suspending after the 8th duration, to complete a second circulation period.
Embodiment according to the present invention matches network method, wide by pressing the transmission distribution of the first transmission speed in the 6th duration Information is broadcast, sends distribution broadcast message by the second transmission speed in the 7th duration, and is sent in the 8th duration by third Speed send distribution broadcast message, meet the networking demand of the log equipment of different performance, it is therefore prevented that high-end log equipment by It reduces in sending distribution broadcast message speed slowly and causes to match since self performance is poor with net spee and low side log equipment The loss of net broadcast message.
Specifically, router sends the interval time of " high speed distribution broadcast message " each packet as c1, which maintains T2_1, the interval time that router sends " middle speed distribution broadcast message " each packet is c2, which maintains t2_2, router The interval time for sending " low velocity distribution broadcast message " each packet is c3, which maintains t2_3, and above-mentioned three constantly recycle Until time T terminates.
Fig. 2 shows the schematic block diagrams of network distribution device according to an embodiment of the invention.
As shown in Fig. 2, network distribution device 200 according to an embodiment of the invention, comprising: determination unit 202 is used for root According to the first performance parameter of router and the relationship of the first parameter preset threshold value, determines and net mode is matched to log equipment.
The network distribution device 200 of embodiment according to the present invention, by determining the first performance parameter of router, and by first Performance parameter is compared with default first performance parameter threshold, true according to the performance of router to determine the performance of router It is fixed that net mode is matched to log equipment, the distribution demand of the router of different size is met, the distribution side of optimization is realized Formula improves the distribution performance of router, improves the usage experience of user.
Specifically, the performance parameter that router can be determined by the frequency and memory size of CPU, for example, due to CPU Frequency is relatively low or memory equal hardware resources make the lower router of performance, referred to as low end router less, since the frequency of CPU is high Or memory waits the higher router of hardware resources performance, referred to as high-end router enough, by the way that the first parameter preset threshold value is arranged, Divide low side and high-end router.
According to one embodiment of present invention, in the above-mentioned technical solutions, it is preferable that it include: first with net unit 204, For when detecting that first performance parameter is less than or equal to the first parameter preset threshold value, according to the preset first circulation period, Circulation, which executes, matches net operation, until the default distribution time terminates.
The network distribution device 200 of embodiment according to the present invention is detecting that it is pre- that first performance parameter is less than or equal to first When setting parameter threshold value, show that the performance of router is poor, at this time by matching according in the preset first circulation period, circulation is executed Net operation realizes the efficient distribution of low end router until the default distribution time terminates.
Specifically, when low end router and high-end log equipment pass through " broadcast packet " distribution, due to log equipment performance Higher, each distribution bottleneck is router side, if allowing the CPU major part efficiency of router to improve the speed of broadcast packet It operates on hair broadcast packet, then its DHCP (Dynamic Host Configuration Protocol, dynamic host configuration association View, to internal network or Internet service provider's automatic IP address allocation) service will receive influence, and equally make equipment in acquisition IP When it is slack-off, by the way that according to preset cycle period, circulation executes specified net operation of matching, including sends distribution broadcast message And the operation such as configuration IP address, realize the maximization application to router performance.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that further include: transmission unit 206, for sending distribution broadcast message according to emission maximum value, until suspending after the first duration;Configuration unit 208 is used In the IP address according to optimal performance parameter configuration log equipment, until suspending after the second duration, to complete one first Cycle period.
The network distribution device 200 of embodiment according to the present invention, by being sent respectively according to maximum in a cycle period Speed, which executes, sends distribution broadcast message, and suspends after executing the first duration, and set according to the networking of optimal performance parameter configuration Standby IP address, and suspend after executing the second duration, replace transmission distribution broadcast message with the IP address for configuring log equipment It carries out, the efficiency for the IP address operation for sending distribution broadcast message and configuring log equipment is made to be attained by maximum, it is low to be promoted Hold the distribution performance of router.
Specifically, router time segment is separately operable " sending distribution broadcast message " and DHCP service, detailed process are: The maximum value (interval time of each packet is a1) that " sending distribution broadcast message " performance reaches low end router is improved first, this Process maintains t0_1 seconds, and then pause " sending distribution broadcast message ", improves the performance of DHCP service, and maintain t0_2 seconds, This process is constantly recycled until distribution preset time T terminates.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that transmission unit 206 is also used In: distribution broadcast message is sent according to emission maximum value, until suspending after third duration;Configuration unit 208 is also used to: being pressed According to the IP address of optimal performance parameter configuration log equipment, until suspending after the 4th duration;Network distribution device 200 further include: Execution unit 210 sends the operation of distribution broadcast message and configuration of IP address function for being performed simultaneously, until passing through the 5th duration After suspend, to complete a first circulation period.
The network distribution device 200 of embodiment according to the present invention, embodiment according to the present invention matches network method, by one It executes three operations in a cycle period respectively, in the case where the performance that can not consider log equipment, completes to log equipment Match net operation, realize the quick distribution of log equipment.
Specifically, router time segment is separately operable " sending distribution broadcast message " and DHCP service, improves " hair first Delivery net broadcast message " performance reaches the maximum value (interval time of each packet is b1) of low end router, this process maintains t1_ 1 second;Then pause " sending distribution broadcast message " is improved the performance of DHCP service, and is maintained t1_2 seconds;Then it allows and " sends Two threads of distribution broadcast message " and DHCP service are run t1_3 seconds in the same priority, wherein " hair broadcast packet is " each The interval time of packet is b2), this process is constantly recycled until distribution preset time T terminates.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that further include: acquiring unit 212, for when detecting that first performance parameter is greater than the first parameter preset threshold value, obtaining the second performance ginseng of log equipment Number;Detection unit 214, for detecting whether the second performance parameter is less than or equal to the second parameter preset threshold value;Second distribution list Member 216, for detect the second performance parameter be less than or equal to the second parameter preset threshold value when, according to preset second circulation In the period, circulation, which executes, matches net operation, until the default distribution time terminates.
The network distribution device 200 of embodiment according to the present invention is detecting first performance parameter greater than the first parameter preset When threshold value, show that router is high-end router in performance, at this time by the communication interaction with log equipment, receives networking and set The second performance parameter that preparation is sent is detecting the second performance parameter less than or equal to second to determine the performance of log equipment When parameter preset threshold value, show the log equipment for having performance poor, at this time according to the preset second circulation period, tames and execute With net operation until the default distribution time terminates, quick distribution of the high-end router to low side log equipment is realized.
Since the log equipment performance is lower when high-end router passes through " broadcast packet " distribution with low side devices, such as The broadcast pack receiving and transmitting that fruit routes end is too fast, and low side devices is caused the case where packet loss occur, to need to repeat to send distribution broadcast Information, directly results in that distribution is slow, if directly the speed of distribution broadcast message is slowed down, if that in distribution space simultaneously There are low side log equipment and high-end devices, and the distribution that can also directly result in high-end log equipment slows, in order in parallel not With the log equipment of performance, the speed for sending distribution broadcast message can be controlled according to the performance of different log equipments, to complete With network process.
According to one embodiment of present invention, in any of the above-described technical solution, it is preferable that transmission unit 206 is also used In: distribution broadcast message is sent according to the first transmission speed, until suspending after the 6th duration;Transmission unit 206 is also used to: Distribution broadcast message is sent according to the second transmission speed, until suspending after the 7th duration;Transmission unit 206 is also used to: being pressed Distribution broadcast message is sent according to third transmission speed, until suspending after the 8th duration, to complete a second circulation period.
The network distribution device 200 of embodiment according to the present invention, by matching in the 6th duration by the transmission of the first transmission speed Net broadcast message sends distribution broadcast message by the second transmission speed in the 7th duration, and third is pressed in the 8th duration Transmission speed sends distribution broadcast message, meets the networking demand of the log equipment of different performance, it is therefore prevented that high-end networking is set It is standby to reduce and made with net spee and low side log equipment due to self performance difference due to sending distribution broadcast message speed slowly At the loss of distribution broadcast message.
Specifically, router sends the interval time of " high speed distribution broadcast message " each packet as c1, which maintains t2_1;The interval time that router sends " middle speed distribution broadcast message " each packet is c2, which maintains t2_2;Router The interval time for sending " low velocity distribution broadcast message " each packet is c3, which maintains t2_3, and above-mentioned three constantly recycle Until time T terminates.
Fig. 3 shows the schematic block diagram of router according to an embodiment of the invention.
As shown in Fig. 3, router 300 according to an embodiment of the invention, comprising: any in technical solution as above Network distribution device 200 described in, therefore, the intelligent router 300 have and any one of above-mentioned technical proposal described in distribution The identical technical effect of device 200, details are not described herein.
Fig. 4 shows the flow diagram with network method according to another embodiment of the invention.
As shown in figure 4, according to another embodiment of the invention match network method, comprising:
Step 402, low end router initiates to match net operation;
Step 404, it opens and sends distribution broadcast information function, and sending performance is promoted to highest, maintain t0_1 seconds;
Step 406, stop sending distribution broadcast information function, open DHCP service, maintain t0_2 seconds;
Step 408, judge whether practical distribution time t reaches default distribution time T, when judging result is "Yes", knot Shu Jincheng, when judging result is "No", return step 404.
Embodiment according to the present invention matches network method, by sending speed according to maximum respectively in a cycle period Degree, which executes, sends distribution broadcast message, and suspends after executing the first duration, and according to optimal performance parameter configuration log equipment IP address, and execute the second duration after suspend, make send distribution broadcast message with configuration log equipment IP address replace into Row makes the efficiency for the IP address operation for sending distribution broadcast message and configuring log equipment be attained by maximum, to promote low side The distribution performance of router.
Fig. 5 shows the flow diagram with network method of still another embodiment in accordance with the present invention.
As shown in figure 5, still another embodiment in accordance with the present invention matches network method, comprising:
Step 502, low end router initiates to match net operation;
Step 504, it opens and sends distribution broadcast information function, and sending performance is promoted to highest, maintain t1_1 seconds;
Step 506, stop sending distribution broadcast information function, open DHCP service, maintain t1_2 seconds;
Step 508, it while sending distribution broadcast information function and executing DHCP service, maintain t1_3 seconds;
Step 510, judge whether practical distribution time t reaches default distribution time T, when judging result is "Yes", knot Shu Jincheng, when judging result is "No", return step 504.
Embodiment according to the present invention with network method can by executing three operations respectively in a cycle period In the case where performance not consider log equipment, completes to match net operation to log equipment, realize the quick of log equipment Distribution.
Fig. 6 shows the flow diagram with network method according to still another embodiment of the invention.
As shown in fig. 6, still another embodiment in accordance with the present invention matches network method, comprising:
Step 602, high-end router initiates to match net operation;
Step 604, high speed sends distribution broadcast information function, and the interval time of each packet is c1, maintains t2_1 seconds;
Step 606, middling speed sends distribution broadcast information function, and the interval time of each packet is c1, maintains t2_2 seconds;
Step 608, low speed sends distribution broadcast information function, and the interval time of each packet is c1, maintains t2_3 seconds;
Step 610, judge whether practical distribution time t reaches default distribution time T, when judging result is "Yes", knot Shu Jincheng, when judging result is "No", return step 604.
Embodiment according to the present invention matches network method, is detecting first performance parameter greater than the first parameter preset threshold value When, show that router is high-end router in performance, at this time by the communication interaction with log equipment, receives log equipment hair The second performance parameter sent is detecting that it is default that the second performance parameter is less than or equal to second to determine the performance of log equipment When parameter threshold, show the log equipment for having performance poor, at this time according to the preset second circulation period, tames and execute distribution Operation terminates up to the default distribution time, realizes quick distribution of the high-end router to low side log equipment.
Embodiment according to the present invention matches network method, determines the distribution side to log equipment according to the performance of router Formula meets the distribution demand of the router of different size, and realize optimization matches net mode, improves the distribution of router Performance improves the usage experience of user.
The technical scheme of the present invention has been explained in detail above with reference to the attached drawings, is determined according to the performance of router to log equipment Match net mode, meet the distribution demand of the router of different size, realize optimization with net mode, improve routing The distribution performance of device, improves the usage experience of user.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (9)

1. one kind matches network method, it is suitable for router, the router is used to carry out distribution to log equipment, which is characterized in that Include:
According to the relationship of the first performance parameter of the router and the first parameter preset threshold value, determine to the log equipment With net mode;
Wherein, described first is determined according to the memory size of the CPU frequency of the router and/or the router Performance parameter;
The relationship of the first performance parameter according to the router and the first parameter preset threshold value is determined and is set to the networking Standby matches net mode, specifically includes the following steps:
When detecting that the first performance parameter is less than or equal to the first parameter preset threshold value, followed according to preset first In the ring period, circulation, which executes, matches net operation, until the default distribution time terminates;
Within a first circulation period, specifically includes the following steps:
Distribution broadcast message is sent according to maximum transmission speed, until suspending after the first duration;
According to the IP address of log equipment described in optimal performance parameter configuration, until suspending after the second duration, to complete one A first circulation period.
2. according to claim 1 match network method, which is characterized in that specific to go back within a first circulation period The following steps are included:
Distribution broadcast message is sent according to maximum transmission speed, until suspending after third duration;
According to the IP address of log equipment described in optimal performance parameter configuration, until suspending after the 4th duration;
It is performed simultaneously and sends the distribution broadcast message operation and configure the IP address operation, until after the 5th duration temporarily Stop, to complete a first circulation period.
3. according to claim 1 or 2 match network method, which is characterized in that the first performance according to the router The relationship of parameter and parameter preset threshold value determines the net mode of matching of the log equipment, specific further comprising the steps of:
When detecting that the first performance parameter is greater than the first parameter preset threshold value, the second performance of the log equipment is obtained Parameter;
Detect whether second performance parameter is less than or equal to the second parameter preset threshold value;
When detecting that second performance parameter is less than or equal to the second parameter preset threshold value, followed according to preset second In the ring period, circulation, which executes, matches net operation, until the default distribution time terminates.
4. according to claim 3 match network method, which is characterized in that specific to wrap within a second circulation period Include following steps:
The distribution broadcast message is sent according to the first transmission speed, until suspending after the 6th duration;
The distribution broadcast message is sent according to the second transmission speed, until suspending after the 7th duration;
The distribution broadcast message is sent according to third transmission speed, until suspending after the 8th duration, to complete an institute State the second circulation period.
5. a kind of network distribution device, is suitable for router, the router is used to carry out distribution to log equipment, which is characterized in that Include:
Determination unit, for according to the first performance parameter of the router and the relationship of the first parameter preset threshold value, determination pair The log equipment matches net mode;
Wherein, described first is determined according to the memory size of the CPU frequency of the router and/or the router Performance parameter;
First matches net unit, for detecting the first performance parameter less than or equal to the first parameter preset threshold value When, according to the preset first circulation period, circulation, which executes, matches net operation, until the default distribution time terminates;
Transmission unit, for sending distribution broadcast message according to emission maximum value, until suspending after the first duration;
Configuration unit, for the IP address according to log equipment described in optimal performance parameter configuration, until after the second duration Pause, to complete a first circulation period.
6. network distribution device according to claim 5, which is characterized in that
The transmission unit is also used to: distribution broadcast message is sent according to emission maximum value, until suspending after third duration;
The configuration unit is also used to: according to the IP address of log equipment described in optimal performance parameter configuration, until passing through the 4th Suspend after duration;
The network distribution device further include:
Execution unit sends the distribution broadcast message operation and the configuration IP address operation for being performed simultaneously, until warp Suspend after crossing the 5th duration, to complete a first circulation period.
7. network distribution device according to claim 5 or 6, which is characterized in that further include:
Acquiring unit, for when detecting that the first performance parameter is greater than the first parameter preset threshold value, described in acquisition Second performance parameter of log equipment;
Detection unit, for detecting whether second performance parameter is less than or equal to the second parameter preset threshold value;
Second matches net unit, for detecting second performance parameter less than or equal to the second parameter preset threshold value When, according to the preset second circulation period, circulation execution is described to match net operation, until the default distribution time terminates.
8. network distribution device according to claim 7, which is characterized in that
The transmission unit is also used to: the distribution broadcast message is sent according to the first transmission speed, until passing through the 6th duration After suspend;
The transmission unit is also used to: the distribution broadcast message is sent according to the second transmission speed, until passing through the 7th duration After suspend;
The transmission unit is also used to: the distribution broadcast message is sent according to third transmission speed, until passing through the 8th duration After suspend, to complete a second circulation period.
9. a kind of router, which is characterized in that including the network distribution device as described in any one of claim 5 to 8.
CN201610873802.2A 2016-09-30 2016-09-30 With network method, network distribution device and router Active CN106549797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610873802.2A CN106549797B (en) 2016-09-30 2016-09-30 With network method, network distribution device and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610873802.2A CN106549797B (en) 2016-09-30 2016-09-30 With network method, network distribution device and router

Publications (2)

Publication Number Publication Date
CN106549797A CN106549797A (en) 2017-03-29
CN106549797B true CN106549797B (en) 2019-12-03

Family

ID=58368372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610873802.2A Active CN106549797B (en) 2016-09-30 2016-09-30 With network method, network distribution device and router

Country Status (1)

Country Link
CN (1) CN106549797B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040951B (en) * 2017-05-12 2020-04-14 深圳市物朗智能科技有限公司 Method for automatically selecting wireless network configuration mode of intelligent equipment
CN108847976B (en) * 2018-06-12 2021-01-26 广东美的制冷设备有限公司 Distribution network control method, mobile terminal, device and computer readable storage medium
CN112332996B (en) * 2020-04-20 2023-05-26 深圳Tcl新技术有限公司 Terminal distribution network method, device, equipment and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067287B (en) * 2013-01-18 2015-08-05 浙江工商大学 Forwarding and realizing under control separation architecture the method for virtual programmable router
US9565277B2 (en) * 2014-06-27 2017-02-07 iPhotonix Dual-homed external network access in a distributed internet protocol (IP) router
CN105120456A (en) * 2015-09-08 2015-12-02 南京创维信息技术研究院有限公司 Method and system for intelligent device to access to wireless network quickly
CN105245695B (en) * 2015-09-11 2018-10-26 惠州Tcl移动通信有限公司 A kind of method and system improving wechat AirKiss compatibility
CN105764117A (en) * 2016-04-12 2016-07-13 广东欧珀移动通信有限公司 Method and device for accessing network

Also Published As

Publication number Publication date
CN106549797A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN106549797B (en) With network method, network distribution device and router
US9288120B2 (en) Data center bridging network configuration and management
CN107925629B (en) Method and device for sending data message in IPv6 network
US20160323193A1 (en) Service Routing Method, Device, and System
CN107086934B (en) The configuration method and gateway of networking equipment
CN112671904B (en) Method and device for transmitting equipment state information, storage medium and electronic device
CN105554754A (en) Method and system for accessing WIFI module of the internet of things to network
US20130039183A1 (en) Telecommunication quality of service control
CN103858467B (en) Cooperative multi-point measurement method, base station and user equipment
WO2019128989A1 (en) Method for achieving intelligent router quality of service, router and electronic device
CN106302016B (en) The method and system of small flow quick obtaining network physical bandwidth
Kukreja et al. SDN based automated testbed for evaluating multipath TCP
Keeney et al. Towards real-time management of virtualized telecommunication networks
CN106255177A (en) The transmission method of a kind of equipment state and device
CN109714742A (en) A kind of Internet of Things Wi-Fi module network self-adapting switching method
CN105790988B (en) Method and device for realizing operation maintenance management function
CN105245695B (en) A kind of method and system improving wechat AirKiss compatibility
Wang et al. An optimal slicing strategy for SDN based smart home network
CN110140328A (en) For running the method and control unit of the communication network including multiple communication equipments of industrial automation system
CN104320322B (en) A kind of message control method and equipment
CN105049367A (en) Traffic distribution method of aggregated link and access device
Chen et al. Realization of 5g network slicing using open source softwares
Chaurasia et al. Performance evaluation of software-defined wireless networks in it-sdn and mininet-wifi
CN110086676A (en) A kind of configuration method and relevant device of distribution router
CN109951397B (en) Message processing 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