[go: up one dir, main page]

CN109743219A - Traffic rate optimization method, device and computer readable storage medium - Google Patents

Traffic rate optimization method, device and computer readable storage medium Download PDF

Info

Publication number
CN109743219A
CN109743219A CN201910225472.XA CN201910225472A CN109743219A CN 109743219 A CN109743219 A CN 109743219A CN 201910225472 A CN201910225472 A CN 201910225472A CN 109743219 A CN109743219 A CN 109743219A
Authority
CN
China
Prior art keywords
traffic rate
default
slave
data
communication efficiency
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.)
Pending
Application number
CN201910225472.XA
Other languages
Chinese (zh)
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
Guangdong Midea HVAC Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
Guangdong Midea HVAC 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 HVAC Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201910225472.XA priority Critical patent/CN109743219A/en
Publication of CN109743219A publication Critical patent/CN109743219A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a kind of traffic rate optimization methods, comprising the following steps: the host obtains the corresponding communication efficiency value of each default traffic rate in traffic rate table;Determine the maximum communication efficiency value in the corresponding communication efficiency value of each default traffic rate;Using the corresponding default traffic rate of the maximum communication efficiency value as the traffic rate between the slave.The invention also discloses a kind of traffic rate optimization device and computer readable storage mediums.The present invention can be directed to different communication environments, and the optimal communication rate of asynchronous wired communication system is set dynamically, improves the communication efficiency of asynchronous wired communication system, to realize under severe communication environment, by reducing traffic rate, improve communication reliability;Under good communication environment, by improving traffic rate, responsiveness is improved.

Description

Traffic rate optimization method, device and computer readable storage medium
Technical field
The present invention relates to field of communication technology more particularly to a kind of traffic rate optimization methods, device and computer-readable Storage medium.
Background technique
In wired asynchronous communication networks, transmitting terminal and receiving end will have identical message transmission rate.Traffic rate It determines to send the time that data need, influence response speed, traffic rate is higher, and call duration time is shorter, improves communication efficiency;But It is that traffic rate is excessively high, may cause communication success rate reduces, and causes sending times to increase, reduces communication efficiency again instead.
Currently, since communication network distribution is extremely complex changeable, influencing the factor of traffic rate in asynchronous wire communication It is very more, optimal communication rate can not be obtained in advance, therefore, generally use fixed communication rate.But if using fixed logical Believe rate, then needs to consider all communication environments, determine traffic rate according to the communication reliability of most complex communication environment, it is past It is very low toward traffic rate is dropped to, cause communication efficiency low.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of traffic rate optimization method, device and computer-readable storage mediums Matter, it is intended to solve the technical problem low using the communication efficiency of the communication system of fixed communication rate.
To achieve the above object, the present invention provides a kind of traffic rate optimization method, is applied to equipped with host and multiple The asynchronous wired communication system of slave, the traffic rate optimization method the following steps are included:
The host obtains the corresponding communication efficiency value of each default traffic rate in traffic rate table;
Determine the maximum communication efficiency value in the corresponding communication efficiency value of each default traffic rate;
Using the corresponding default traffic rate of the maximum communication efficiency value as the traffic rate between the slave.
Further, in one embodiment, it is corresponding to obtain each default traffic rate in traffic rate table for the host Communication efficiency value the step of include:
The host traverses the traffic rate table, and according to the default traffic rate currently traversed, sends test frame number According to the extremely slave;
When the test frame data are sent completely, based on the test frame data that the slave receives, determine current time The corresponding communication efficiency value of the default traffic rate gone through, until traffic rate table traversal is completed.
Further, in one embodiment, described when the test frame data are sent completely, it is received based on the slave The test frame data arrived, the step of determining the default traffic rate that currently traverses corresponding communication efficiency value include:
When the test frame data are sent completely, the corresponding number of test frame data that each slave receives is obtained According to frame number;
Frame number based on the data determines the corresponding communication efficiency value of default traffic rate currently traversed.
Further, in one embodiment, the frame number based on the data determines the default traffic rate currently traversed The step of corresponding communication efficiency value includes:
The sum of the data frame number for calculating each slave obtains data frame sum;
Default traffic rate frame sum based on the data and currently traversed, determines the communication efficiency value.
Further, in one embodiment, described when the test frame data are sent completely, obtain each slave The step of test frame data received corresponding data frame number includes:
When the test frame data are sent completely, acquisition request is sent to the slave, wherein is receiving described obtain When taking request, the corresponding data frame number of default test frame data that the slave feedback reception arrives to the host.
Further, in one embodiment, described when receiving the acquisition request, what the slave feedback reception arrived The step of default test frame data corresponding data frame number includes:
When receiving the acquisition request, the slave carries out legitimate verification, meter to the test frame data received The data frame number of the test frame data by legitimate verification is calculated, and feeds back the data frame number to the host.
Further, in one embodiment, it is described using the corresponding default traffic rate of the maximum communication efficiency value as The step of traffic rate between the slave includes:
When the maximum communication efficiency value includes multiple, the corresponding default communication speed of multiple maximum communication efficiency values is obtained In rate, maximum default traffic rate;
Using maximum default traffic rate as the traffic rate between the slave.
In addition, to achieve the above object, the present invention also provides a kind of traffic rates to optimize device, the traffic rate optimization Device includes: memory, processor and to be stored in the traffic rate that can be run on the memory and on the processor excellent Change program, when the traffic rate optimization program is executed by the processor the step of traffic rate optimization method above-mentioned.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium Traffic rate optimization program is stored on storage medium, the traffic rate optimization program is realized above-mentioned when being executed by processor The step of traffic rate optimization method.
The present invention obtains the corresponding communication efficiency value of each default traffic rate in traffic rate table by the host, Then the maximum communication efficiency value in the corresponding communication efficiency value of each default traffic rate is determined, then by the maximum communication The corresponding default traffic rate of efficiency value can be directed to different communication loops as the traffic rate between the slave Border is set dynamically the optimal communication rate of asynchronous wired communication system, the communication efficiency of asynchronous wired communication system is improved, with reality Now under severe communication environment, by reducing traffic rate, communication reliability is improved;Under good communication environment, pass through raising Traffic rate improves responsiveness.
Detailed description of the invention
Fig. 1 is the structural representation of traffic rate optimization device in hardware running environment that the embodiment of the present invention is related to Figure;
Fig. 2 is the flow diagram of traffic rate optimization method first embodiment of the present invention;
Fig. 3 is each default in host acquisition traffic rate table in traffic rate optimization method second embodiment of the present invention The refinement flow diagram of the step of traffic rate corresponding communication efficiency value;
Fig. 4 is the base in traffic rate optimization method 3rd embodiment of the present invention when the test frame data are sent completely In the test frame data that the slave receives, the step of determining the default traffic rate currently traversed corresponding communication efficiency value Refinement flow diagram;
Fig. 5 is that frame number, determination currently traverse based on the data in traffic rate optimization method fourth embodiment of the present invention Default traffic rate corresponding communication efficiency value the step of refinement flow diagram;
Fig. 6 is in the 5th embodiment of traffic rate optimization method of the present invention that the maximum communication efficiency value is corresponding default The refinement flow diagram for the step of traffic rate is as traffic rate between the slave.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is traffic rate optimization device in hardware running environment that the embodiment of the present invention is related to Structural schematic diagram.
As shown in Figure 1, traffic rate optimization device may include: processor 1001, such as CPU, network interface 1004, User interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing between these components Connection communication.User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional User interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include standard Wireline interface, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable Memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned The storage device of processor 1001.
Optionally, traffic rate optimization device can also include camera, RF (Radio Frequency, radio frequency) circuit, Sensor, voicefrequency circuit, WiFi module etc..Wherein, sensor such as optical sensor, motion sensor and other sensings Device.Certainly, traffic rate optimization device can also configure gyroscope, barometer, hygrometer, thermometer, infrared sensor etc. its His sensor, details are not described herein.
It will be understood by those skilled in the art that traffic rate shown in Fig. 1 optimizes apparatus structure not structure pairwise communications The restriction of rate optimized device may include perhaps combining certain components or different than illustrating more or fewer components Component layout.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe that module, Subscriber Interface Module SIM and traffic rate optimize program.
In traffic rate optimization device shown in Fig. 1, network interface 1004 is mainly used for connecting background server, and rear Platform server carries out data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data with client Communication;And processor 1001 can be used for that the traffic rate stored in memory 1005 is called to optimize program.
In the present embodiment, traffic rate optimization device includes: memory 1005, processor 1001 and is stored in described deposit On reservoir 1005 and can be run on the processor 1001 traffic rate optimization program, wherein processor 1001 calling deposit When the traffic rate optimization program stored in reservoir 1005, and execute following operation:
The host obtains the corresponding communication efficiency value of each default traffic rate in traffic rate table;
Determine the maximum communication efficiency value in the corresponding communication efficiency value of each default traffic rate;
Using the corresponding default traffic rate of the maximum communication efficiency value as the traffic rate between the slave.
Further, processor 1001 can call the traffic rate stored in memory 1005 to optimize program, also execute It operates below:
The host traverses the traffic rate table, and according to the default traffic rate currently traversed, sends test frame number According to the extremely slave;
When the test frame data are sent completely, based on the test frame data that the slave receives, determine current time The corresponding communication efficiency value of the default traffic rate gone through, until traffic rate table traversal is completed.
Further, processor 1001 can call the traffic rate stored in memory 1005 to optimize program, also execute It operates below:
When the test frame data are sent completely, the corresponding number of test frame data that each slave receives is obtained According to frame number;
Frame number based on the data determines the corresponding communication efficiency value of default traffic rate currently traversed.
Further, processor 1001 can call the traffic rate stored in memory 1005 to optimize program, also execute It operates below:
The sum of the data frame number for calculating each slave obtains data frame sum;
Default traffic rate frame sum based on the data and currently traversed, determines the communication efficiency value.
Further, processor 1001 can call the traffic rate stored in memory 1005 to optimize program, also execute It operates below:
When the test frame data are sent completely, acquisition request is sent to the slave, wherein is receiving described obtain When taking request, the corresponding data frame number of default test frame data that the slave feedback reception arrives to the host.
The present invention also provides a kind of traffic rate optimization methods, are traffic rate optimization method of the present invention referring to Fig. 2, Fig. 2 The flow diagram of first embodiment.
In the present embodiment, traffic rate optimization method is applied to the asynchronous wire communication equipped with host and multiple slaves System, for example, asynchronous wired communication system is central air-conditioning communication system, the host of the asynchronous wired communication system is outdoor Machine, slave are multiple indoor units.
The traffic rate optimization method the following steps are included:
Step S100, the host obtain the corresponding communication efficiency value of each default traffic rate in traffic rate table;
In the present embodiment, traffic rate table is preset, which includes multiple default traffic rates.Host The corresponding communication efficiency value of each default traffic rate in traffic rate table is obtained, for a certain pre- in the traffic rate table If traffic rate, when host is communicated by the default traffic rate with slave, test frame is sent to each slave, slave determines it The test frame number received, communication efficiency value are calculated by the default traffic rate and test frame number.
Specifically, before this step, host traverses the traffic rate table, and according to the default communication speed currently traversed Rate, sends test frame data to slave, when testing frame data and being sent completely, test frame that host is received based on each slave Data determine the corresponding communication efficiency value of default traffic rate currently traversed, until traffic rate table traversal is completed, into And obtain the corresponding communication efficiency value of each default traffic rate in traffic rate table.
Step S200 determines the maximum communication efficiency value in the corresponding communication efficiency value of each default traffic rate;
In the present embodiment, when getting the corresponding communication efficiency value of each default traffic rate, host will be each logical Letter efficiency value is compared, with the maximum communication efficiency value in the corresponding communication efficiency value of each default traffic rate of determination.
Step S300, using the corresponding default traffic rate of the maximum communication efficiency value as logical between the slave Believe rate.
In the present embodiment, maximum communication efficiency value is being determined, it is corresponding pre- which obtains the maximum communication efficiency value If traffic rate, and using the corresponding default traffic rate of the maximum communication efficiency value as the communication speed between each slave Rate.
And then it is directed to different communication environment, asynchronous wired communication system dynamic acquisition optimal communication rate.Compared to fixation Baud rate can improve communication reliability by reducing traffic rate under severe communication environment;Under good communication environment, Responsiveness can be improved by improving traffic rate.And it is judged automatically by traffic rate, does not need manual operation
The traffic rate optimization method that the present embodiment proposes is obtained each default in traffic rate table by the host The corresponding communication efficiency value of traffic rate then determines the maximum communication in the corresponding communication efficiency value of each default traffic rate Efficiency value, then using the corresponding default traffic rate of the maximum communication efficiency value as the communication speed between the slave Rate, and then it can be directed to different communication environments, the optimal communication rate of asynchronous wired communication system is set dynamically, improves asynchronous The communication efficiency of wired communication system, by reducing traffic rate, improves reliable communications to realize under severe communication environment Property;Under good communication environment, by improving traffic rate, responsiveness is improved.
Based on first embodiment, the second embodiment of traffic rate optimization method of the present invention is proposed, referring to Fig. 3, in this reality It applies in example, step S100 includes:
Step S110, the host traverse the traffic rate table, and according to the default traffic rate currently traversed, send Frame data are tested to the slave;
Step S120, when the test frame data are sent completely, based on the test frame data that the slave receives, really The corresponding communication efficiency value of default traffic rate traversed before settled, until traffic rate table traversal is completed.
In the present embodiment, host traverses the traffic rate table, and according to the default traffic rate currently traversed, sends Frame data are tested to slave, specifically, host ergodic communication Speedometer Drive, the default traffic rate currently traversed, and send The default traffic rate currently traversed to each slave so that each slave according to the default traffic rate currently traversed with Main-machine communication, alternatively, each slave is stored with the traffic rate table, host sends control instruction in ergodic communication Speedometer Drive To each slave, each slave obtains the default communication currently traversed with host speed according to control instruction ergodic communication Speedometer Drive The identical default traffic rate of rate, and traffic rate is preset according to this and receives or sends data to host.
Wherein, host presets test frame data, and the corresponding legitimate verification of setting test frame data in slave Rule, slave carry out legitimate verification when receiving test frame data, to each test frame.It should be noted that test frame Data include multiple pre-set test frames.
When test frame data are sent completely, the test frame data that host is received based on slave, what determination currently traversed The default corresponding communication efficiency value of traffic rate, specifically, host send acquisition request to each slave, wherein are receiving When acquisition request, the corresponding data frame number of default test frame data that each slave feedback reception arrives to the host, the data Frame number is the quantity of data frame legal in the test frame data received, the test frame number that each slave of Framework computing receives The default communication speed for according to the sum of corresponding data frame number, obtaining data frame sum, and according to data frame sum and currently traversing Rate determines the corresponding communication efficiency value of default traffic rate currently traversed, then continues ergodic communication Speedometer Drive, until described Traffic rate table traversal is completed, and then obtains the corresponding communication efficiency value of each default traffic rate in traffic rate table.
The traffic rate optimization method that the present embodiment proposes, by the host traversal traffic rate table, and according to The default traffic rate currently traversed sends test frame data to the slave, when the test frame data are sent completely, base In the test frame data that the slave receives, the corresponding communication efficiency value of default traffic rate currently traversed is determined, until The traffic rate table traversal is completed, and enables the host to accurately obtain the corresponding communication efficiency value of each default traffic rate, And then it is accurate determine the corresponding default traffic rate of optimal communication rate, that is, maximum communication efficiency value, further improving asynchronous has The communication efficiency of line communication system.
Based on second embodiment, the 3rd embodiment of traffic rate optimization method of the present invention is proposed, referring to Fig. 4, in this reality It applies in example, step S120 includes:
Step S121 obtains the test frame number that each slave receives when the test frame data are sent completely According to corresponding data frame number;
Step S122, frame number, determines the corresponding communication efficiency value of default traffic rate currently traversed based on the data.
In the present embodiment, it after host sends test frame data to the slave, obtains each slave and receives The corresponding data frame number of the test frame data arrived, specifically, host send acquisition request to each slave, wherein are receiving When acquisition request, the corresponding data frame number of default test frame data that each slave feedback reception arrives to the host, the data Frame number is the quantity of data frame legal in the test frame data received.
Then, it is based on data frame number, determines the corresponding communication efficiency value of default traffic rate currently traversed, specifically, The sum of corresponding data frame number of the test frame data that each slave of Framework computing receives obtains data frame sum, and according to number According to frame sum and the current default traffic rate that traverses, the corresponding communication efficiency of default traffic rate currently traversed is determined Value.
Further, in one embodiment, step S121 includes: and sends when the test frame data are sent completely Acquisition request is to the slave, wherein when receiving the acquisition request, default test frame that the slave feedback reception arrives The corresponding data frame number of data is to the host.
It should be noted that when the test frame data are sent completely, host can be when completing lasting after the moment When length reaches preset duration, acquisition request is sent to the slave.Wherein, which can be default logical according to what is currently traversed Letter rate is rationally arranged, so that lesser default traffic rate corresponds to longer preset duration, and biggish default communication The corresponding shorter preset duration of rate.
Wherein, when receiving the acquisition request, the slave carries out legitimacy to the test frame data received and tests Card, calculates the data frame number of the test frame data by legitimate verification, and feeds back the data frame number to the host.
The postamble of test frame includes the verification information of test frame, and slave can be by preset rules to each in test frame data A test frame carries out legitimate verification, and counts quantity, that is, data frame number of the test frame by legitimate verification.
The traffic rate optimization method that the present embodiment proposes, it is each by obtaining when the test frame data are sent completely The corresponding data frame number of the test frame data that a slave receives, then frame number, determination currently traverse based on the data The corresponding communication efficiency value of default traffic rate, and then can be according to the test frame number and default traffic rate of each slave Communication efficiency value accurately is obtained, further improves the communication efficiency of asynchronous wired communication system.
Based on 3rd embodiment, the fourth embodiment of traffic rate optimization method of the present invention is proposed, referring to Fig. 5, in this reality It applies in example, step S122 includes:
Step S1221 calculates the sum of the data frame number of each slave, obtains data frame sum;
The default traffic rate that step S1222 frame sum based on the data and is currently traversed determines the communication effect Rate value.
In the present embodiment, when obtaining the corresponding data frame number of test frame data that each slave receives, host meter The sum of the data frame number for calculating each slave obtains data frame sum, then traverses based on data frame sum and currently Default traffic rate, determines communication efficiency value, and specifically, communication efficiency value is Kb1=F (B1) * ∑ (N1, N2~Nm), and B1 is Default traffic rate, F (B1) are function N1 relevant to default traffic rate, and N2~Nm is the test frame that each slave receives The corresponding data frame number of data.Wherein, F (B1)=B1, alternatively, F (B1)=B1*B1, certainly, F (B1) can also be according to difference Communication media determine.
For example, for the central air-conditioning communication system for being equipped with m platform slave (interior machine), every at a certain traffic rate B1 The message number that slave receives is respectively N1, N2 ... Nm, then the communication efficiency value under B1 traffic rate is Kb1=F (B1) * ∑ (N1, N2~Nm).
The traffic rate optimization method that the present embodiment proposes is obtained by calculating the sum of the data frame number of each slave To data frame sum, then frame sum and the default traffic rate that currently traverses based on the data, determine that the communication is imitated Rate value can obtain data frame sum according to the test frame number of each slave, and then according to data frame sum and default communication Rate accurately obtains communication efficiency value, further improves the communication efficiency of asynchronous wired communication system.
Based on the above embodiment, the 5th embodiment for proposing traffic rate optimization method of the present invention, referring to Fig. 6, in this reality It applies in example, step S300 includes:
It is corresponding to obtain multiple maximum communication efficiency values when the maximum communication efficiency value includes multiple by step S310 In default traffic rate, maximum default traffic rate;
Step S320, using maximum default traffic rate as the traffic rate between the slave.
In the present embodiment, when getting maximum communication efficiency value, if maximum communication efficiency value include it is multiple, obtain The corresponding default traffic rate of multiple maximum communication efficiency values, and compare the multiple default traffic rates got, it is more with determination In a default traffic rate, maximum default traffic rate, then using maximum default traffic rate as with the slave it Between traffic rate, to improve communication efficiency.
The traffic rate optimization method that the present embodiment proposes, by obtaining when the maximum communication efficiency value includes multiple It takes in the corresponding default traffic rate of multiple maximum communication efficiency values, maximum default traffic rate, by maximum default communication Rate is as the traffic rate between the slave, by using maximum default traffic rate as between host and slave Traffic rate further improves communication efficiency.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium On be stored with traffic rate optimization program, traffic rate optimization program realizes following operation when being executed by processor:
The host obtains the corresponding communication efficiency value of each default traffic rate in traffic rate table;
Determine the maximum communication efficiency value in the corresponding communication efficiency value of each default traffic rate;
Using the corresponding default traffic rate of the maximum communication efficiency value as the traffic rate between the slave.
Further, following operation is also realized when the traffic rate optimization program is executed by processor:
The host traverses the traffic rate table, and according to the default traffic rate currently traversed, sends test frame number According to the extremely slave;
When the test frame data are sent completely, based on the test frame data that the slave receives, determine current time The corresponding communication efficiency value of the default traffic rate gone through, until traffic rate table traversal is completed.
Further, following operation is also realized when the traffic rate optimization program is executed by processor:
When the test frame data are sent completely, the corresponding number of test frame data that each slave receives is obtained According to frame number;
Frame number based on the data determines the corresponding communication efficiency value of default traffic rate currently traversed.
Further, following operation is also realized when the traffic rate optimization program is executed by processor:
The sum of the data frame number for calculating each slave obtains data frame sum;
Default traffic rate frame sum based on the data and currently traversed, determines the communication efficiency value.
Further, following operation is also realized when the traffic rate optimization program is executed by processor:
When the test frame data are sent completely, acquisition request is sent to the slave, wherein is receiving described obtain When taking request, the corresponding data frame number of default test frame data that the slave feedback reception arrives to the host.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (9)

1. a kind of traffic rate optimization method, which is characterized in that applied to the asynchronous cable modem for being equipped with host and multiple slaves Letter system, the traffic rate optimization method the following steps are included:
The host obtains the corresponding communication efficiency value of each default traffic rate in traffic rate table;
Determine the maximum communication efficiency value in the corresponding communication efficiency value of each default traffic rate;
Using the corresponding default traffic rate of the maximum communication efficiency value as the traffic rate between the slave.
2. traffic rate optimization method as described in claim 1, which is characterized in that the host obtains in traffic rate table The step of each default traffic rate corresponding communication efficiency value includes:
The host traverses the traffic rate table, and according to the default traffic rate currently traversed, sends test frame data extremely The slave;
When the test frame data are sent completely, currently traversed based on the test frame data that the slave receives, determination The default corresponding communication efficiency value of traffic rate, until traffic rate table traversal is completed.
3. traffic rate optimization method as claimed in claim 2, which is characterized in that described to have been sent in the test frame data Cheng Shi determines the corresponding communication efficiency of default traffic rate currently traversed based on the test frame data that the slave receives The step of value includes:
When the test frame data are sent completely, the corresponding data frame of test frame data that each slave receives is obtained Number;
Frame number based on the data determines the corresponding communication efficiency value of default traffic rate currently traversed.
4. traffic rate optimization method as claimed in claim 3, which is characterized in that the frame number based on the data determines The step of default traffic rate currently traversed corresponding communication efficiency value includes:
The sum of the data frame number for calculating each slave obtains data frame sum;
Default traffic rate frame sum based on the data and currently traversed, determines the communication efficiency value.
5. traffic rate optimization method as claimed in claim 3, which is characterized in that described to have been sent in the test frame data Cheng Shi, the step of obtaining test frame data that each slave receives corresponding data frame number include:
When the test frame data are sent completely, acquisition request is sent to the slave, wherein ask receiving the acquisition When asking, the corresponding data frame number of default test frame data that the slave feedback reception arrives to the host.
6. traffic rate optimization method as claimed in claim 5, which is characterized in that described to receive the acquisition request When, the slave feedback reception to default test frame data corresponding data frame number the step of include:
When receiving the acquisition request, the slave carries out legitimate verification to the test frame data received, calculates logical The data frame number of the test frame data of legitimate verification is crossed, and feeds back the data frame number to the host.
7. such as traffic rate optimization method as claimed in any one of claims 1 to 6, which is characterized in that described to lead to the maximum The corresponding default traffic rate of letter efficiency value includes: as the step of traffic rate between the slave
When the maximum communication efficiency value includes multiple, the corresponding default traffic rate of multiple maximum communication efficiency values is obtained In, maximum default traffic rate;
Using maximum default traffic rate as the traffic rate between the slave.
8. a kind of traffic rate optimizes device, which is characterized in that the traffic rate optimization device includes: memory, processor And it is stored in the traffic rate optimization program that can be run on the memory and on the processor, the traffic rate optimization The step of traffic rate optimization method as described in any one of claims 1 to 5 is realized when program is executed by the processor.
9. a kind of computer readable storage medium, which is characterized in that be stored with communication speed on the computer readable storage medium Rate optimizes program, and the traffic rate optimization program is realized as described in any one of claims 1 to 5 when being executed by processor The step of traffic rate optimization method.
CN201910225472.XA 2019-03-22 2019-03-22 Traffic rate optimization method, device and computer readable storage medium Pending CN109743219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910225472.XA CN109743219A (en) 2019-03-22 2019-03-22 Traffic rate optimization method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910225472.XA CN109743219A (en) 2019-03-22 2019-03-22 Traffic rate optimization method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109743219A true CN109743219A (en) 2019-05-10

Family

ID=66371297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910225472.XA Pending CN109743219A (en) 2019-03-22 2019-03-22 Traffic rate optimization method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109743219A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601335A (en) * 2020-04-22 2020-08-28 烽火通信科技股份有限公司 Wireless network performance test method and wireless AP

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100034106A1 (en) * 2008-08-08 2010-02-11 Broadcom Corporation Throughput-based rate adaptation for wireless transmissions
CN106302696A (en) * 2016-08-11 2017-01-04 珠海格力电器股份有限公司 Device and method for determining communication rate of air conditioning unit
CN106452671A (en) * 2016-09-28 2017-02-22 青岛海尔空调电子有限公司 Internal unit and external unit communication method of multi-split air-conditioner

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100034106A1 (en) * 2008-08-08 2010-02-11 Broadcom Corporation Throughput-based rate adaptation for wireless transmissions
CN106302696A (en) * 2016-08-11 2017-01-04 珠海格力电器股份有限公司 Device and method for determining communication rate of air conditioning unit
CN106452671A (en) * 2016-09-28 2017-02-22 青岛海尔空调电子有限公司 Internal unit and external unit communication method of multi-split air-conditioner

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601335A (en) * 2020-04-22 2020-08-28 烽火通信科技股份有限公司 Wireless network performance test method and wireless AP

Similar Documents

Publication Publication Date Title
JP4212467B2 (en) Method and apparatus for separately estimating the time required to download an application program to a remote module over a wireless network
CN110505675B (en) Network connection method and device, storage medium and communication terminal
CN102938923B (en) A kind of WAP sort method based on mobile terminal and mobile terminal thereof
US9225705B2 (en) Method and system for providing a service for a mobile device and non-transitory computer-readable recording medium
CN109995877A (en) Information-pushing method and device
CN111367220B (en) Internet of things equipment control method and device
CN107864116A (en) Data transmission method, terminal and computer-readable recording medium
CN103228005A (en) Testing method and device for data service of mobile communication network
CN105915997B (en) Control display methods and device
CN109640342A (en) Smart antenna method of adjustment, device, equipment and readable storage medium storing program for executing
CN107943697A (en) Problem distribution method, device, system, server and computer-readable storage medium
CN107895537A (en) A kind of display methods of electronic map, relevant apparatus and storage medium
CN111080429A (en) Virtual resource acquisition method, device and storage medium
CN109743219A (en) Traffic rate optimization method, device and computer readable storage medium
CN106682054B (en) Terminal application recommendation method, device and system
CN113726586B (en) Network slice deployment method, device, server and computer readable storage medium
CN105138373B (en) Automotive diagnostic installation firmware upgrade method and device
JP3970709B2 (en) Mobile communication terminal, mobile communication system, and data transmission rate display method for mobile communication
US9986457B2 (en) Mobile terminal device, wireless communication method for mobile terminal device, carrier server device, and communication speed control method in carrier server device
CN104135396A (en) Method and device for displaying network speed information as well as terminal
CN205080758U (en) Parking stall inquiry management system
CN112367705A (en) Frequency domain resource allocation method, device and storage medium
HK1200563A1 (en) Method and device for collecting electronic information
CN106341436B (en) Method and device for detecting acceleration effect
CN108112052A (en) Network share method, apparatus, air regulator and the storage medium of terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190510