CN105024933B - The control method and device of request packet transmission frequency - Google Patents
The control method and device of request packet transmission frequency Download PDFInfo
- Publication number
- CN105024933B CN105024933B CN201410163899.9A CN201410163899A CN105024933B CN 105024933 B CN105024933 B CN 105024933B CN 201410163899 A CN201410163899 A CN 201410163899A CN 105024933 B CN105024933 B CN 105024933B
- Authority
- CN
- China
- Prior art keywords
- frequency
- value
- request packet
- server
- packet
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses the control method and device that a kind of request packet sends frequency, the described method comprises the following steps: sending detection packet by user end to server, and receive feedback information corresponding with the detection packet;According to the quantity of the quantity of the feedback information and the detection packet, loading condition information relevant to the server is generated;The transmission frequency of the request packet is controlled according to the loading condition information, and controls the client and the request packet is sent to the server.
Description
[technical field]
The present invention relates to field of computer technology, in particular to a kind of request packet sends the control method and device of frequency.
[background technique]
Server is generally used for request transmitted by processing client.For ever-increasing number of request, with client pair
The back-end services system answered needs more servers to cope with these requests, in certain back-end services systems, partial service
Processing speed, processing capacity of device and other servers etc. will appear at part server at this time there may be biggish difference
In full load condition, and the case where part server is in idle condition.
At this point, part server is not fully utilized, and when being supported in bottleneck of part server
Large effect can be caused to the stable operation of entire back-end services system again.
In view of the above-mentioned problems, current technology scheme are as follows: respond to the error code of client by server to control visitor
Family end sends frequency.
In practice, the inventor finds that the existing technology has at least the following problems:
In the above-mentioned technical solutions, there are still servers to be fully utilized, and can not find server mistake in time
The problem of load.
[summary of the invention]
In view of this, a kind of control method and device of request packet transmission frequency need to be provided, can enable the server to
It steadily runs, and enables to the server that can be fully utilized.
To solve the above problems, technical scheme is as follows:
A kind of request packet sends the control method of frequency, the described method comprises the following steps: passing through user end to server
Detection packet is sent, and receives feedback information corresponding with the detection packet;According to the quantity of the feedback information and the detection
The quantity of packet generates loading condition information relevant to the server;The request is controlled according to the loading condition information
The transmission frequency of packet, and control the client and the request packet is sent to the server.
A kind of request packet sends the control device of frequency, and described device includes: transceiver module, for passing through client to clothes
Business device sends detection packet, and for reception feedback information corresponding with the detection packet;Loading condition information generating module is used
According to the quantity of the feedback information and the quantity of the detection packet, loading condition letter relevant to the server is generated
Breath;Frequency control module is sent, for controlling the transmission frequency of the request packet according to the loading condition information, and controls institute
It states client and the request packet is sent to the server.
Compared with the prior art, request packet of the invention controls the visitor with sending the control method and device dynamic of frequency
Family end sends the frequency of the request packet to the server, so that server can steadily be run, and can make
Obtaining the server can be fully utilized.
For above content of the invention can be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate institute's accompanying drawings, makees
Detailed description are as follows:
[Detailed description of the invention]
Fig. 1 is the operating mode schematic diagram for the control method and device that request packet of the invention sends frequency;
Fig. 2 is the running environment schematic diagram for the control method and device that request packet of the invention sends frequency;
Fig. 3 is the flow chart of the first embodiment for the control method that request packet of the invention sends frequency;
Fig. 4 is in the second embodiment for the control method that request packet of the invention sends frequency according to the feedback information
The flow chart of the step of quantity of quantity and the detection packet, generation loading condition information relevant to the server;
Fig. 5 is newly-increased with respect to second embodiment by the 3rd embodiment for the control method that request packet of the invention sends frequency
The step of flow chart;
Fig. 6 be the control method that request packet of the invention sends frequency fourth embodiment with respect to first to 3rd embodiment
In the flow chart of step that increases newly of any one embodiment;
Fig. 7 is newly-increased with respect to fourth embodiment by the 5th embodiment of the control method that request packet of the invention sends frequency
The step of flow chart;
Fig. 8 be the control method that request packet of the invention sends frequency sixth embodiment with respect to first to the 5th embodiment
In the flow chart of step that increases newly of any one embodiment;
Fig. 9 is newly-increased with respect to sixth embodiment by the 7th embodiment of the control method that request packet of the invention sends frequency
The step of flow chart;
Figure 10 controls the client in the 8th embodiment for the control method of request packet transmission frequency of the invention will
The flow chart for the step of request packet is sent to the server;
Figure 11 is that the 9th embodiment of the control method that request packet of the invention sends frequency is implemented with respect to first to the 8th
The flow chart for the step that any one embodiment increases newly in example;
Figure 12 is the block diagram of the first embodiment for the control device that request packet of the invention sends frequency;
Figure 13 is the block diagram of the fourth embodiment for the control device that request packet of the invention sends frequency;
Figure 14 is the block diagram of the 5th embodiment of the control device that request packet of the invention sends frequency;
Figure 15 is the block diagram of the 7th embodiment of the control device that request packet of the invention sends frequency;
Figure 16 is the block diagram of the 9th embodiment of the control device that request packet of the invention sends frequency.
[specific embodiment]
The explanation of following embodiment is to can be used to the particular implementation of implementation to illustrate the present invention with reference to additional schema
Example.
Term " request packet " refer to client when interacting operation with server, to the server end send with
The relevant data packet of solicited message.
Term " returning packet " refers to the server end after receiving the request packet, executes correlation according to the request packet
Operation processing, obtained data packet relevant to processing result.
Term " detection packet " refers to the data packet of the working condition (including loading condition) for detecting the server.
Term " client " refers to Internet application or software, comprising: web browser (for example, QQ browser), i.e.,
When means of communication (for example, QQ), E-mail address application (for example, QQ mailbox), etc..
Term " frequency " refers to that within the unit time, the client sends the quantity of the request packet.
Term " component ", " module ", " system ", " interface " etc. refer generally to: hardware, the combination of hardware and software, software
Or software in execution.For example, component can be but be not limited to run process on a processor, processor, object, can hold
Thread, program and/or the computer of row application, execution.By diagram, both application and the controller on the controller is run
It can be component.One or more components can reside in the process and/or thread of execution, and component can be located at one
On a computer and/or it is distributed between two or more computers.
The word " embodiment " used in this specification means serving as example, example or illustration.In addition, this specification and institute
The article " one " used in attached claim can generally be interpreted to mean " one or more ", unless specified otherwise or
Guiding singular is understood from context.
Claimed theme may be implemented as generating software using standard program and/or engineering technology, consolidate
Part, hardware or any combination thereof are to control the method, apparatus or manufacture that computer realizes disclosed theme.It is used herein
Term " manufacture " be intended to comprising can be from any computer readable device, carrier or the computer program of medium access.Certainly,
Those skilled in the art will appreciate that many modifications can be carried out to the configuration, without departing from claimed theme range or
Spirit.
Fig. 1, Fig. 2 and subsequent discussion are provided to the Working mould for realizing one or more embodiments described in this paper
The description of formula, running environment.Operating mode shown in FIG. 1, running environment be only operating mode appropriate, running environment one
A example and it is not intended to any restrictions of the suggestion about the range of operating mode, the purposes of running environment or function.
The control method and device that request packet of the invention sends frequency can be applied in following equipment: including but it is unlimited
In personal computer, server computer, hand-held or laptop devices, mobile device, (for example mobile phone, individual digital are helped
Reason (PDA, Personal Digital Assistant), media player etc.), multicomputer system, consumer electronics set
Standby, minicomputer, mainframe computer, distributed computing environment including above-mentioned arbitrary system or equipment, etc..
Fig. 1 shows the operating mode of the device or system of one or more embodiment provided by this specification, wherein
The control method and device that request packet of the invention sends frequency can be applied to server 100 or client device (terminal)
Any one in 200, wherein server 100 is communicated with client device (terminal) 200 by network 300, also, is serviced
Device 100 and client device (terminal) 200 by the interaction of network 300 and exchange data.
With reference to Fig. 2, Fig. 2 is the running environment schematic diagram for the control method and device that request packet of the invention sends frequency.
Request packet of the invention sends the client device (terminal) that the control method and device of frequency are applied or run
200 or server 100 can be one of desktop computer, laptop, smart phone etc. or more than one combination
Made of system.It may include processor 1001 in the client device (terminal) 200 or server 100, memory 1002, pass
Any combination 100 in sensor 1004, clock signal generators 1006, communication interface 1005, input-output equipment 1003 etc., visitor
Processor 1001, memory 1002, sensor 1004, input-output equipment 1003, communication in family end equipment (terminal) 200 connect
Any combination 100 in mouth 1005, clock signal generators 1006 etc. sends the control of frequency for realizing request packet of the invention
Step and request packet in method processed send the function in the control device (200/ server 100 of terminal) of frequency.
With reference to Fig. 3 and Figure 12 to Figure 16, Fig. 3 is the first implementation of the control method that request packet of the invention sends frequency
The flow chart of example, Figure 12 to Figure 16 are the block diagram for the control device that request packet of the invention sends frequency.
The request packet of the present embodiment send the control method of frequency the following steps are included:
Step 301, detection packet is sent by user end to server, and receives feedback letter corresponding with the detection packet
Breath, specifically, transceiver module 1201 is by the client from feedback information described in the received server-side.
Step 302, it according to the quantity of the quantity of the feedback information and the detection packet, generates related to the server
Loading condition information.Loading condition information generating module 1202 is counted for the detection packet that the client is issued
Number (number of computations), and calculated for the feedback information received by the client.Wherein, the load feelings
Condition information can be the information of the task amount currently handled about the server, and the loading condition information can also be
Information about the portfolio that the server can also be handled at present.The loading condition information may include: the server
In the first load condition (idle state);The server is in the second load condition (normal state);At the server
In third load condition (busy state), etc..
Step 303, the transmission frequency of the request packet is controlled according to the loading condition information, and controls the client
The request packet is sent to the server.For example, being that the server is in described first in the loading condition information
In the case where load condition, sends frequency control module 1203 and control the client according to frequency A (when the first quantity/unit
Between) request packet is sent to the server;It is that the server is in second load in the loading condition information
In the case where state, the transmission frequency control module 1203 controls the client according to frequency B (when the second quantity/unit
Between) request packet is sent to the server;It is that the server is in third load in the loading condition information
In the case where state, the transmission frequency control module 1203 controls the client according to frequency C (when third quantity/unit
Between) request packet is sent to the server.
Request packet of the invention controls the client with sending the control method dynamic of frequency and sends out to the server
The frequency of the request packet is sent, so that server can steadily be run, and enables to the server can be by
Fully utilize.
With reference to Fig. 4, Fig. 4 is in the second embodiment for the control method that request packet of the invention sends frequency according to described anti-
The process of the step of quantity of the quantity of feedforward information and the detection packet, generation loading condition information relevant to the server
Figure.The present embodiment is similar to above-mentioned first embodiment, the difference is that:
In the present embodiment, the quantity of the quantity according to the feedback information and the detection packet, generate with it is described
The step of server relevant loading condition information, is (that is, step 302) includes:
Step 401, it according to the quantity of the quantity of the feedback information and the detection packet, calculates anti-in predetermined amount of time
Present overtime rate.
Step 402, the loading condition information is generated according to the overtime rate of the feedback.
Specifically, the loading condition information generating module 1202 is for the feedback information in the predetermined time
Quantity and the quantity of the detection packet are calculated, and the overtime rate of the feedback can be calculated according to the following formula:
The overtime rate of feedback=(described anti-in the quantity-predetermined time of the detection packet in the predetermined time
The quantity of feedforward information) the detection packet in/predetermined time quantity.
Wherein, the overtime rate of the feedback referred within the predetermined time, was not received by and the transmitted detection
Wrap the ratio of the quantity of corresponding feedback information and the quantity of the detection packet.
With reference to Fig. 5, Fig. 5 is that the 3rd embodiment for the control method that request packet of the invention sends frequency is implemented with respect to second
The flow chart for the step that example increases newly.The present embodiment is similar to above-mentioned second embodiment, the difference is that:
In the present embodiment, described the step of generating the loading condition information according to the overtime rate of the feedback, is (that is, step
402) include:
Step 501, preset overtime rate threshold value is read.
Step 502, the overtime rate threshold value is compared with the overtime rate of the feedback, to generate comparison result.
Step 503, the loading condition information is generated according to the comparison result.
Wherein, the overtime rate threshold value can be pre-stored in tables of data (database).
Specifically, whether the overtime rate of the loading condition information generating module 1202 feedback is greater than the time-out
Rate threshold value, and generate the comparison result.The comparison result includes following two situation: the first situation, and the feedback is super
When rate be greater than the overtime rate threshold value;Second situation, the overtime rate of the feedback are less than or equal to the overtime rate of the feedback.Institute
In the case of stating the first, the feedback information includes: that the server is in the third load condition;Described second
In the case of kind, the feedback information includes: that the server is in first load condition or the second load shape
State.
With reference to Fig. 6, Fig. 6 be the control method that request packet of the invention sends frequency fourth embodiment with respect to first to the
The flow chart for the step that any one embodiment increases newly in three embodiments.The present embodiment is with above-mentioned first into 3rd embodiment
Any one embodiment is similar, the difference is that:
In the present embodiment, the method also includes:
Step 601, the sending time and original state code of the detection packet are recorded, and records the feedback information and corresponds to
Response time and responsive state code.
Specifically, logging modle 1301 is sent to the server by the client in the transceiver module 1201 and is visited
Recorded when surveying packet the detection packet the sending time and the original state code, and receive in the client described
Detected according to the record of feedback information when feedback information packet the response time and the responsive state code.Wherein,
The responsive state code may include following two state: the server has responded;The server does not respond.
It is described to be surpassed according to the quantity of the feedback information with the quantity of the detection packet, the feedback calculated in predetermined amount of time
When rate the step of (that is, step 401) includes:
Step 602, according to the sending time, the response time, the original state code and the responsive state code
Calculate the overtime rate of the feedback.
Specifically, sending time, the response time described in the loading condition information generating module 1202, described initial
Status code and the responsive state code select the quantity of the detection packet within the predetermined time and corresponding described
The quantity of feedback information, and the overtime rate of the feedback is calculated according to above-mentioned formula.
With reference to Fig. 7, Fig. 7 is that the 5th embodiment of the control method that request packet of the invention sends frequency is implemented with respect to the 4th
The flow chart for the step that example increases newly.The present embodiment is similar to above-mentioned fourth embodiment, the difference is that:
In the present embodiment, described the step of recording the feedback information corresponding response time and responsive state code it
Before, the method also includes:
Step 701, time packet that the server is sent to the client is received.Specifically, the transceiver module 1201
Packet is received back from the server by the client.
Step 702, the detection packet that returns whether there is the feedback information, and generate testing result.Specifically, mould is detected
Block 1401 parses described time packet, and judges wherein to whether there is in the corresponding data of the feedback information, for example, judgement
With the presence or absence of the responsive state code.
Described the step of recording the feedback information corresponding response time and responsive state code includes:
It step 703, is to record the sound there are in the case where the feedback information in described time packet in the testing result
Between seasonable and the responsive state code.
With reference to Fig. 8, Fig. 8 be the control method that request packet of the invention sends frequency sixth embodiment with respect to first to the
The flow chart for the step that any one embodiment increases newly in five embodiments.In the present embodiment and the above-mentioned first to the 5th embodiment
Any one embodiment is similar, the difference is that:
In the present embodiment, the step of transmission frequency that the request packet is controlled according to loading condition information packet
It includes:
Step 801, frequency adjusted value is arranged according to the loading condition information.
Step 802, the transmission frequency of the request packet is controlled according to the frequency adjusted value.
In the present embodiment, it is in order to which the transmission frequency dynamically to the request packet carries out that the frequency adjusted value, which is arranged,
Dynamic adjusts.
With reference to Fig. 9, Fig. 9 is that the 7th embodiment of the control method that request packet of the invention sends frequency is implemented with respect to the 6th
The flow chart for the step that example increases newly.The present embodiment is similar to above-mentioned sixth embodiment, the difference is that:
In the present embodiment, the step of transmission frequency that the request packet is controlled according to the loading condition information is gone back
Include:
Step 902, first frequency value is set by the frequency adjusted value, and according to first frequency value control
The transmission frequency of request packet.
The device of the present embodiment is realized with recurrence (iteration) algorithm is dynamically arranged the frequency adjusted value.
In the initial state, described the step of frequency adjusted value is arranged according to the loading condition information are as follows:
The first frequency value is set initial frequency value (step 901) by the transmission frequency control module 1203.
It is described according to institute in the transmission frequency for controlling the request packet according to the loading condition information the step of
Before stating the step of first frequency value controls the transmission frequency of the request packet further include:
The transmission frequency control module 1203 selects the initial frequency value (step from preset frequency values sequence table
901)。
It wherein, include at least two frequency values in the frequency values sequence table, at least two frequency values are big by numerical value
Minispread.
The initial frequency value is an element in set composed by least two frequency values.The initial frequency
Rate value can be the minimum value in the frequency values sequence table, it is of course also possible to be the smallest several in the frequency values sequence table
One in a frequency values.The frequency values sequence table may be, for example, the sequence table of following numerical value:
1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584…;Wherein, above-mentioned number
It is worth respective frequencies value, the initial frequency value can be for example 1,2,3 etc..Illustrate for taking 1 below, is operated in first time
In, the first frequency value is 1.
Step 903, judge whether the load of the server is more than first threshold according to the loading condition information, and raw
At the first judging result.Wherein, the first threshold is preset, for example, the first threshold is 85%.
Step 904, the feelings of the first threshold are not above in the load that first judging result is the server
Under condition, the first frequency value is updated to the larger value adjacent with the first frequency value in the frequency values sequence table.Example
Such as, in second operation, by the first frequency value value be 2 (2 be in the frequency values sequence table it is adjacent with 1 larger
Value);In third time operation, by the first frequency value value be 3 (3 be in the frequency values sequence table it is adjacent with 2 larger
Value), so analogize.
The transmission frequency control module 1203 and judgment module 1501 repeat above-mentioned steps (step 902 and step
903), until the load that first judging result is the server is more than the first threshold.
In the case where the load that first judging result is the server is more than the first threshold, the basis
The step of loading condition information setting frequency adjusted value includes:
Step 905, second frequency value is set by the frequency adjusted value, and according to second frequency value control
The transmission frequency of request packet, wherein the second frequency value is adjacent with the first frequency value in the frequency values sequence table
Smaller value and the first frequency value average value.For example, the first frequency value value is 34 in the 8th operation, this
The load of Shi Suoshu server is more than the first threshold, then is 34 by the second frequency value (the frequency adjusted value) value
With 21 average value 28, wherein 21 be adjacent with 34 smaller value in the frequency sequence table, and 28 is by 34 and 21 average values
The value obtained after rounding up.
Step 906, the difference of the load of the first threshold and the server is judged according to the loading condition information
Whether it is less than second threshold, and generates third judging result.The second threshold can be 1%, 0.5%, such.
It step 907, will in the case where the third judging result is that the difference is greater than or equal to the second threshold
The second frequency value is updated to the average value of the first frequency value Yu the second frequency value.For example, being operated at the 9th time
In, the difference is greater than or equal to the second threshold, and the second frequency is updated to 34 (the first frequency values) and 28
The average value 31 of (the second frequency value).
The transmission frequency control module 1203 and the judgment module 1501 repeat above-mentioned steps (step 905 and
Step 906), until the third judging result is less than the second threshold for the difference.
With reference to Figure 10, Figure 10 is sent in the 8th embodiment of the control method of frequency for request packet of the invention described in control
The flow chart for the step of request packet is sent to the server by client.The present embodiment and above-mentioned 7th embodiment phase
Seemingly, the difference is that:
In the present embodiment, the step of request packet is sent to the server by control client packet
It includes:
Step 1001, according to the larger value or smaller value meter adjacent with the initial frequency value in the frequency values sequence table
Calculate initial latency.
Step 1002, judge whether the initial latency is already expired, and generate the second judging result.
Step 1003, the client is controlled when second judging result is already expired for the initial latency to institute
It states server and sends the request packet.
It step 1004, is the initial latency not out-of-date control client pause in second judging result
The request packet is sent to the server.
With reference to Figure 11, Figure 11 be the control method that request packet of the invention sends frequency the 9th embodiment with respect to first to
The flow chart for the step that any one embodiment increases newly in 8th embodiment.The present embodiment and the above-mentioned first to the 8th embodiment
In any one embodiment it is similar, the difference is that:
In the present embodiment, it is described by the client to the server send detection packet, and receive with it is described
Before the step of corresponding feedback information, is wrapped in detection, the method also includes:
Step 1101, at least two request packets are selected from the request packet received from the client.
Step 1102, the detection is generated according to the request packet to wrap.
With reference to Figure 12, Figure 12 is the block diagram of the first embodiment for the control device that request packet of the invention sends frequency.
The control device that the request packet of the present embodiment sends frequency includes transceiver module 1201, loading condition information generation mould
Block 1202 and transmission frequency control module 1203.
The transceiver module 1201 is used to send detection packet to the server by the client, and for receiving
Feedback information corresponding with the detection packet, specifically, the transceiver module 1201 are used for through the client from the clothes
Business device end receives the feedback information.
What the loading condition information generating module 1202 was used to be wrapped according to the quantity and the detection of the feedback information
Quantity generates loading condition information relevant to the server.The loading condition information generating module 1202 is also used to needle
The detection packet issued to the client is counted (number of computations), and for being received for the client
To the feedback information calculated.Wherein, the loading condition information can be currently locates about the server
The information of the task amount of reason, the loading condition information can also be the portfolio that can also be handled at present about the server
Information.The loading condition information may include: that the server is in the first load condition (idle state);The server
In the second load condition (normal state);The server is in third load condition (busy state), etc..
The transmission for sending frequency control module 1203 and being used to control the request packet according to the loading condition information
Frequency, and control the client and the request packet is sent to the server.For example, being institute in the loading condition information
It states in the case that server is in first load condition, the transmission frequency control module 1203 is for controlling the client
End sends the request packet to the server according to frequency A (the first quantity/unit time);It is in the loading condition information
In the case that the server is in second load condition, the transmission frequency control module 1203 is for controlling the visitor
Family end sends the request packet to the server according to frequency B (the second quantity/unit time);In the loading condition information
In the case where being in the third load condition for the server, the transmission frequency control module 1203 is described for controlling
Client sends the request packet to the server according to frequency C (third quantity/unit time).
Request packet of the invention controls the client with sending the control device dynamic of frequency and sends out to the server
The frequency of the request packet is sent, so that server can steadily be run, and enables to the server can be by
Fully utilize.
The second embodiment that request packet of the invention sends the control device of frequency is similar to above-mentioned first embodiment, different
Place is:
In the present embodiment, the loading condition information generating module 1202 is also used to the quantity according to the feedback information
With the quantity of the detection packet, the feedback time-out rate in predetermined amount of time is calculated, and for raw according to the overtime rate of the feedback
At the loading condition information.
Specifically, the loading condition information generating module 1202 is used for for the feedback letter in the predetermined time
The quantity of breath and the quantity of the detection packet are calculated, and the overtime rate of the feedback can be calculated according to the following formula:
The overtime rate of feedback=(described anti-in the quantity-predetermined time of the detection packet in the predetermined time
The quantity of feedforward information) the detection packet in/predetermined time quantity.
Wherein, the overtime rate of the feedback referred within the predetermined time, was not received by and the transmitted detection
Wrap the ratio of the quantity of corresponding feedback information and the quantity of the detection packet.
The 3rd embodiment that request packet of the invention sends the control device of frequency is similar to above-mentioned second embodiment, different
Place is:
In the present embodiment, the loading condition information generating module 1202 is also used to read preset overtime rate threshold value,
And for the overtime rate threshold value to be compared with the overtime rate of the feedback, to generate comparison result, and for according to institute
It states comparison result and generates the loading condition information.Wherein, the overtime rate threshold value can be pre-stored within tables of data (data
Library) in.
Specifically, whether the loading condition information generating module 1202 is greater than described for the overtime rate of the feedback
Overtime rate threshold value, and generate the comparison result.The comparison result includes following two situation: the first situation, described anti-
It presents overtime rate and is greater than the overtime rate threshold value;Second situation, the overtime rate of the feedback are less than or equal to the overtime rate of the feedback.
In the first case, the feedback information includes: that the server is in the third load condition;Described
Under second situation, the feedback information includes: that the server is in first load condition or described second negative
Load state.
With reference to Figure 13, Figure 13 is the block diagram of the fourth embodiment for the control device that request packet of the invention sends frequency.This
Embodiment is similar to above-mentioned first any one embodiment into 3rd embodiment, the difference is that:
In the present embodiment, described device further includes logging modle 1301.
The logging modle 1301 is used to record the sending time and original state code of the detection packet, and for recording
The feedback information corresponding response time and responsive state code.Specifically, the logging modle 1301 is used in the transmitting-receiving
Module 1201 by the client to the server send detection packet when record it is described detection packet the sending time and
The original state code, and for when the client receives the feedback information according to the record of feedback information institute
State the response time and the responsive state code that detection is wrapped.Wherein, the responsive state code may include following two shape
State: the server has responded;The server does not respond.
The loading condition information generating module 1202 is also used to according to the sending time, response time, described
Original state code and the responsive state code calculate the overtime rate of the feedback.Specifically, the loading condition information generating module
1202 select for the sending time, the response time, the original state code and the responsive state code described
The quantity of the quantity of the detection packet in predetermined time and the corresponding feedback information, and for according to above-mentioned formula
Calculate the overtime rate of the feedback.
With reference to Figure 14, Figure 14 is the block diagram of the 5th embodiment of the control device that request packet of the invention sends frequency.This
Embodiment is similar to above-mentioned fourth embodiment, the difference is that:
In the present embodiment, the transceiver module 1201 is also used to receive the server and is sent to returning for the client
Packet.Specifically, the transceiver module 1201 is used to be received back packet from the server by the client.
Described device further includes detection module 1401.
The detection module 1401 generates testing result for detecting the packet that returns with the presence or absence of the feedback information.
Specifically, the detection module 1401 is for parsing described time packet, and judges wherein with the presence or absence of in the feedback letter
Corresponding data are ceased, for example, it may be judged whether there are the responsive state codes.
The logging modle 1301 is used in the testing result be the case where there are the feedback informations in described time packet
Under, record the response time and the responsive state code.
Request packet of the invention sends the sixth embodiment of the control device of frequency and above-mentioned first or the 5th embodiment phase
Seemingly, the difference is that:
In the present embodiment, the transmission frequency control module 1203 is also used to that frequency is arranged according to the loading condition information
Rate adjusted value, and the transmission frequency for controlling the request packet according to the frequency adjusted value.In the present embodiment, it is arranged
The frequency adjusted value is in order to which the transmission frequency dynamically to the request packet carries out dynamic adjustment.
With reference to Figure 15, Figure 15 is the block diagram of the 7th embodiment of the control device that request packet of the invention sends frequency.This
Embodiment is similar to above-mentioned sixth embodiment, the difference is that:
In the present embodiment, the transmission frequency control module 1203 is also used to set first for the frequency adjusted value
Frequency values, and the transmission frequency for controlling the request packet according to the first frequency value.
The device of the present embodiment is realized with recurrence (iteration) algorithm is dynamically arranged the frequency adjusted value.
In the initial state, the transmission frequency control module 1203 is used to select just from preset frequency values sequence table
Beginning frequency values, and for setting the initial frequency value for the first frequency value.Wherein, in the frequency values sequence table
Including at least two frequency values, at least two frequency values are arranged by numerical values recited.The initial frequency value is at least two
An element in set composed by the frequency values.The initial frequency value can be in the frequency values sequence table most
Small value, it is of course also possible to be one in the frequency values sequence table in the smallest several frequency values.The frequency values sequence table
May be, for example, the sequence table of following numerical value:
1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584…;Wherein, above-mentioned number
It is worth respective frequencies value, the initial frequency value can be for example 1,2,3 etc..Illustrate for taking 1 below, is operated in first time
In, the first frequency value is 1.
Described device further includes judgment module 1501.
The judgment module 1501 be used for according to the loading condition information judge the server load whether be more than
First threshold, and generate the first judging result.Wherein, the first threshold is preset, for example, the first threshold is
85%.
The frequency control module 1203 that sends is also used to not have in the load that first judging result is the server
In the case where having more than the first threshold, the first frequency value is updated in the frequency values sequence table and described first
The adjacent the larger value of frequency values.Be that 2 (2 be the frequency values by the first frequency value value for example, in second operation
The larger value adjacent with 1 in sequence table);In third time operation, by the first frequency value value be 3, (3 be the frequency values
The larger value adjacent with 2 in sequence table), so analogize.
The transmission frequency control module 1203 and the judgment module 1501 are also used to repeat aforesaid operations, until
First judging result is until the load of the server is more than the first threshold.
In the case where the load that first judging result is the server is more than the first threshold, the transmission
Frequency control module 1203 is also used to set the frequency adjusted value to second frequency value, and for according to the second frequency
Value controls the transmission frequency of the request packet, wherein the second frequency value is in the frequency values sequence table with described first
The average value of the adjacent smaller value of frequency values and the first frequency value.For example, in the 8th operation, the first frequency value
Value is 34, and the load of the server at this time is more than the first threshold, then by the second frequency value, (frequency is adjusted
Value) value be 34 and 21 average value 28, wherein 21 be adjacent with 34 smaller value in the frequency sequence table, and 28 be by 34
With 21 average value round up after obtained value.
The judgment module 1501 is also used to judge the first threshold and the service according to the loading condition information
Whether the difference of the load of device is less than second threshold, and generates third judging result.The second threshold can for 1%,
0.5%, it is such.
The transmission frequency control module 1203 is also used in the third judging result be that the difference is greater than or equal to
In the case where the second threshold, the second frequency value is updated to the flat of the first frequency value and the second frequency value
Mean value.For example, the difference is greater than or equal to the second threshold in the 9th operation, the second frequency is updated to 34
The average value 31 of (the first frequency value) and 28 (the second frequency values).
The transmission frequency control module 1203 and the judgment module 1501 are also used to repeat aforesaid operations, until
The third judging result is until the difference is less than the second threshold.
Request packet of the invention sends the 8th embodiment and above-mentioned 6th or the 7th embodiment phase of the control device of frequency
Seemingly, the difference is that:
In the present embodiment, the transmission frequency control module 1203 be also used to according in the frequency values sequence table with institute
It states the adjacent the larger value of initial frequency value or smaller value calculates initial latency.
The judgment module 1501 is also used to judge whether the initial latency is already expired, and generates the second judgement knot
Fruit.
The transmission frequency control module 1203 be also used to second judging result be the initial latency
The out-of-date control client sends the request packet to the server, and for being described in second judging result
The not out-of-date control client of initial latency, which is suspended to the server, sends the request packet.
With reference to Figure 16, Figure 16 is the block diagram of the 9th embodiment of the control device that request packet of the invention sends frequency.This
Embodiment is similar to any one embodiment in above-mentioned 6th to the 8th embodiment, the difference is that:
In the present embodiment, described device further includes detection packet generation module 1601.
The detection packet generation module 1601 from the request packet received from the client for selecting at least two
A request packet, and wrapped for generating the detection according to the request packet.
The present invention is asked between client service and the server-side service of background service system by certain technical controlling
The transmission frequency asked, allow service end system can stable operation while, obtain bigger handling capacity.According to service end system
Whole volume, the reasonable frequency for controlling client and sending request, while allowing service end system that can guarantee steady operation, to the greatest extent
Machine may be adequately utilized, increases the handling capacity of system, and can be when power system capacity changes, it being capable of spontaneous, dynamic
Transmission speed is adjusted, allow whole system to reach stable state again.
The present invention primarily rests between service on the basis of request response, by sending a certain number of probe requests
To back-end services, the answer code that back-end services return is obtained, and the ratio of the shared detection packet of code dynamically adjusts according to response
Request transmission time interval, and then control client and send frequency, achieve the purpose that flow control, the program will be related to below
Flow control principle, speed regulation algorithm, flow control main points etc. are introduced.
Flow control (flow control) principle
(1) when client service initializes, starting velocity value, time packet failure threshold value, stable state is passed to and breaks through threshold value etc.
Parameter can obtain next or upper speed in velocity series to flow control system, flow control system according to initial velocity value
Value, and initial latency interval is calculated, while starting speed computational threads.
(2) when requesting server-side, flow control system can block client service according to the latency period of calculated in advance
Client request, to the waiting time after, just really send a request to server-side.At the same time, flow control system can be extracted therefrom
A certain number of request packets record time, original state code that detection packet is sent as detection packet.
(3) client gets when returning packet of server-side, the answer code of server-side can be transmitted to flow control system, flow control together
System judges whether this time packet detects packet, if it is recording its response time and status code.
(4) it after the starting of flow control system speed computational threads, can go to check that whether detection has wrapped entirely every the specified time
Packet is returned in portion, if all returning packet, calculates back packet failure rate, and whether be more than specified threshold value according to failure rate and work as
Preceding service status calculates the new velocity amplitude of current system.
Service one shares 4 kinds of states: original state, adjustment state, stable state and quickly adjusting state, every kind of state
The calculative strategy of lower velocity amplitude is all different, when original state, can search out in velocity series and thrashing rate being allowed to be more than threshold
The minimum speed value of value, and thus enter adjustment state, it eventually passes through adjustment repeatedly and obtains a stabilized speed value, into stabilization
After state, system can be according to current system failure rate with lesser step-length acceleration or deceleration, when speed is super far from stabilized speed value
When crossing certain threshold value, then enter quickly adjustment state, it in this state, can be quick according to velocity series value if failure rate is high
Slow down, so that thus failure rate is within system allowed band, and is again introduced into the adjusting stage, 3.1.3 is specific speed tune
Control algorithm.
Speed regulation algorithm is as follows:
(1) according to specified initial velocity sequence, such as: by 1,2,3,5,8,13,21,34,55,89,144,233,
377,610,987,1597,2584 ... mode sends request to the back-end, is more than threshold value until encountering load, takes overtime speed
Value and the intermediate value of a upper velocity amplitude are sent, and are continued (2).
(2) it if load is more than threshold value, takes the intermediate value of the velocity amplitude and a upper velocity series value to send, otherwise takes this
The intermediate value of intermediate value and next velocity series value is sent
(3) (2) are recycled, if system load reaches critical value in iteration section, taking current speed value is stabilized speed
Value is with the value and upper one or next velocity series value if critical value has not been reached yet in iterative boundary in system load
Section continues to start new round iteration with intermediate value, and until load reaches critical value, system reaches stable at this time, obtains current steady
Constant speed angle value then updates its value if there is last round of stabilized speed value
(4) it after system is stablized, is sent according to per second plus one velocity amplitude, whether threshold value, velocity amplitude is reached according to load
Add one or subtract one, if system is stable always, algorithm terminates, and otherwise continues (5).
(5) when transmission speed value is more than or less than the next or last velocity amplitude of stabilized speed value, or it is fast with stablizing
When the absolute value of the difference of angle value is more than a certain threshold value, system enters unstable state, if difference is positive, takes transmission speed value under
The intermediate value of one velocity series value is transmitted into adjustment state, otherwise, a velocity series value is taken to send, into quick adjustment
State until failure rate is within allowed band, and finally enters adjustment state, re-executes (2).
The implementation of the technical program can not only carry out effective monitoring to back-end services system, and can take in rear end
Business system load is effectively adjusted when too high or too low, guarantees the stability of back-end services, and adequately utilize as far as possible
Back-end server resource improves the utilization rate of machine resources.
In the present invention, the computer-readable instruction for realizing one or more embodiment provided by this specification can
In memory 1002.Other computers that memory 1002 can also store for realizing operating system, application program etc.
Readable instruction.Computer-readable instruction can be loaded into memory 1002 to be executed by processor 1001.
Computer-readable medium includes computer storage medium.Computer storage medium includes such as calculating for storage
Volatile and non-volatile that any method or technique of the information of machine readable instruction or other data etc is realized, can be removed and
Nonremovable medium.Memory 1002 is the example of computer storage medium.Computer storage medium include but is not limited to RAM,
(Electrically Erasable Programmable Read-Only Memory, electric erazable programmable is only by ROM, EEPROM
Read memory), flash memory or other memory technologies, CD-ROM (Compact Disc Read-Only Memory, read-only light
Disk), digital versatile disc (DVD, Digital Versatile Disc) or other light storage devices, cassette tape, tape,
Disk storage device or other magnetic storage apparatus.
Computer-readable instruction can be implemented as program module, for example executes particular task or realize specific abstract data class
Function, object, Application Programming Interface (API, Application Programming Interface), data structure of type etc.
Deng.Typically, the function of the computer-readable instruction can be optionally combined or be distributed in various environment.
Although the present invention, those skilled in the art have shown and described relative to one or more implementations
It will be appreciated that equivalent variations and modification based on the reading and understanding to the specification and drawings.The present invention includes all such repairs
Change and modification, and is limited only by the scope of the following claims.In particular, to by said modules (such as element, resource etc.)
The various functions of executing, term for describing such components be intended to correspond to execute the component specified function (such as
It is functionally of equal value) random component (unless otherwise instructed), even if in structure with execute shown in this article say
The open structure of function in the exemplary implementations of bright book is not equivalent.In addition, although the special characteristic of this specification
Be disclosed relative to the only one in several implementations, but this feature can with such as can to given or specific application and
Speech is expectation and one or more other features combinations of other advantageous implementations.Moreover, with regard to term " includes ", " tool
Have ", " containing " or its deformation be used in specific embodiments or claims for, such term be intended to with term
The similar mode of "comprising" includes.
Present description provides the various operations of embodiment.Wherein the sequence of described some or all of operations should not
It is construed as to imply that these operations are necessarily order dependent.It will be appreciated by those skilled in the art that the benefit with this specification
Alternative sequence.Furthermore, it is to be understood that not all operation must deposit in each embodiment provided by this specification
?.
In conclusion although the present invention has been disclosed above in the preferred embodiment, but above preferred embodiment is not to limit
The system present invention, those skilled in the art can make various changes and profit without departing from the spirit and scope of the present invention
Decorations, therefore protection scope of the present invention subjects to the scope of the claims.
Claims (14)
1. the control method that a kind of request packet sends frequency, which is characterized in that the described method comprises the following steps:
Detection packet is sent by user end to server, and receives feedback information corresponding with the detection packet;
According to the quantity of the quantity of the feedback information and the detection packet, loading condition letter relevant to the server is generated
Breath;
The transmission frequency of the request packet is controlled according to the loading condition information, and controls the client for the request packet
It is sent to the server, including: frequency adjusted value is arranged according to the loading condition information, and according to the frequency
Adjusted value controls the transmission frequency of the request packet;
The quantity that the quantity and the detection according to the feedback information is wrapped, generates load feelings relevant to the server
The step of condition information includes:
The detection in the given time is selected according to sending time, response time, original state code and responsive state code
The quantity of the quantity of packet and the corresponding feedback information;
The feedback time-out rate in predetermined amount of time is calculated according to the following formula: feeding back overtime rate=(institute in the predetermined time
State the quantity of the feedback information in the quantity-predetermined time of detection packet) the detection packet in/predetermined time
Quantity;
Preset overtime rate threshold value is read, and the overtime rate threshold value is compared with the overtime rate of the feedback, to generate ratio
Relatively result;
The loading condition information is generated according to the comparison result.
2. request packet according to claim 1 sends the control method of frequency, which is characterized in that the method also includes:
Record the sending time and original state code of the detection packet;
The packet that returns that the server is sent to the client is received, and the detection packet that returns whether there is the feedback letter
Breath, and generate testing result;
It is that it is corresponding to record the feedback information there are in the case where the feedback information in described time packet in the testing result
Response time and responsive state code.
3. the control method that request packet according to claim 1 sends frequency, which is characterized in that described according to the load
Situation information controls the step of transmission frequency of the request packet further include:
First frequency value is set by the frequency adjusted value, and controls the transmission of the request packet according to the first frequency value
Frequency;
Whether the load that the server is judged according to the loading condition information is more than first threshold, and generates the first judgement knot
Fruit;
In the case where the load that first judging result is the server is not above the first threshold, by described the
One frequency values are updated to the larger value adjacent with the first frequency value in the frequency values sequence table;
Above-mentioned steps are repeated, until the load that first judging result is the server is more than that the first threshold is
Only.
4. the control method that request packet according to claim 3 sends frequency, which is characterized in that in the initial state, institute
State the step of frequency adjusted value is arranged according to the loading condition information are as follows:
Initial frequency value is set by the first frequency value;
It is described according to described in the transmission frequency for controlling the request packet according to the loading condition information the step of
One frequency values controlled before the step of transmission frequency of the request packet further include:
The initial frequency value is selected from preset frequency values sequence table;
It wherein, include at least two frequency values in the frequency values sequence table, at least two frequency values are arranged by numerical values recited
Column.
5. request packet according to claim 4 sends the control method of frequency, which is characterized in that the control client
The end the step of request packet is sent to the server includes:
When calculating initial latency according to the larger value adjacent with the initial frequency value in the frequency values sequence table or smaller value
Between;
Judge whether the initial latency is already expired, and generates the second judging result;
It is to control the client when initial latency is already expired to send to the server in second judging result
The request packet;
It is that the not out-of-date control client of the initial latency is suspended to the server in second judging result
Send the request packet.
6. the control method that request packet according to claim 3 sends frequency, which is characterized in that in the first judgement knot
It is described that frequency is arranged according to the loading condition information in the case that fruit is more than the first threshold for the load of the server
The step of adjusted value includes:
Second frequency value is set by the frequency adjusted value, and controls the transmission of the request packet according to the second frequency value
Frequency, wherein the second frequency value is smaller value and institute adjacent with the first frequency value in the frequency values sequence table
State the average value of first frequency value;
Judge the difference of the load of the first threshold and the server whether less than second according to the loading condition information
Threshold value, and generate third judging result;
In the case where the third judging result is that the difference is greater than or equal to the second threshold, by the second frequency
Value is updated to the average value of the first frequency value Yu the second frequency value;
Above-mentioned steps are repeated, until the third judging result is less than the second threshold for the difference.
7. the control method that request packet according to claim 1 sends frequency, which is characterized in that pass through the visitor described
Family end sends detection packet to the server, and before the step of reception wraps corresponding feedback information with the detection, the side
Method further include:
At least two request packets are selected from the request packet received from the client;
The detection packet is generated according to the request packet.
8. the control device that a kind of request packet sends frequency, which is characterized in that described device includes:
Transceiver module is wrapped for sending detection by user end to server, and corresponding with the detection packet for receiving
Feedback information;
Loading condition information generating module, for the quantity according to the quantity of the feedback information and the detection packet, generate with
The relevant loading condition information of the server;
Frequency control module is sent, is used to that frequency adjusted value to be arranged according to the loading condition information, and for according to
Frequency adjusted value controls the transmission frequency of the request packet, and controls the client and the request packet is sent to the service
Device;
The loading condition information generating module is specifically used for:
The detection in the given time is selected according to sending time, response time, original state code and responsive state code
The quantity of the quantity of packet and the corresponding feedback information;
The feedback time-out rate in predetermined amount of time is calculated according to the following formula: feeding back overtime rate=(institute in the predetermined time
State the quantity of the feedback information in the quantity-predetermined time of detection packet) the detection packet in/predetermined time
Quantity;
Preset overtime rate threshold value is read, and for the overtime rate threshold value to be compared with the overtime rate of the feedback, with life
At comparison result, and for generating the loading condition information according to the comparison result.
9. the control device that request packet according to claim 8 sends frequency, which is characterized in that further include detection module and
Logging modle;
The transceiver module is also used to receive time packet that the server is sent to the client;
The detection module generates testing result for detecting the packet that returns with the presence or absence of the feedback information;
The logging modle is used to record the sending time and original state code of the detection packet, and for tying in the detection
Fruit is that there are in the case where the feedback information, record the response time and the responsive state code in described time packet.
10. the control device that request packet according to claim 8 sends frequency, which is characterized in that the transmission frequency control
Molding block is also used to set the frequency adjusted value to first frequency value, and for controlling institute according to the first frequency value
State the transmission frequency of request packet;
Described device further include:
Judgment module, for judging whether the load of the server is more than first threshold according to the loading condition information, and
Generate the first judging result;
The transmission frequency control module is also used to be not above institute in first judging result for the load of the server
In the case where stating first threshold, the first frequency value is updated in the frequency values sequence table and the first frequency value phase
Adjacent the larger value;
The transmission frequency control module and the judgment module are also used to repeat aforesaid operations, until first judgement
As a result until being more than the first threshold for the load of the server.
11. the control device that request packet according to claim 10 sends frequency, which is characterized in that in the initial state,
The transmission frequency control module is also used to select the initial frequency value from preset frequency values sequence table, and being used for will
The first frequency value is set as initial frequency value;
It wherein, include at least two frequency values in the frequency values sequence table, at least two frequency values are arranged by numerical values recited
Column.
12. request packet according to claim 11 sends the control device of frequency, which is characterized in that the transmission frequency control
Molding block is also used to be calculated just according to the larger value adjacent with the initial frequency value in the frequency values sequence table or smaller value
Begin the waiting time;
The judgment module is also used to judge whether the initial latency is already expired, and generates the second judging result;
The transmission frequency control module is also used in second judging result be control when the initial latency is already expired
The client sends the request packet to the server, and for being the initial latency in second judging result
The time not out-of-date control client, which is suspended to the server, sends the request packet.
13. the control device that request packet according to claim 10 sends frequency, which is characterized in that in first judgement
As a result in the case where being more than the first threshold for the load of the server, the transmission frequency control module is also used to institute
It states frequency adjusted value and is set as second frequency value, and the transmission frequency for controlling the request packet according to the second frequency value
Rate, wherein the second frequency value is the smaller value adjacent with the first frequency value and described in the frequency values sequence table
The average value of first frequency value;
The judgment module is also used to judge according to the loading condition information load of the first threshold Yu the server
Difference whether be less than second threshold, and generate third judging result;
The transmission frequency control module is also used in the third judging result be that the difference is greater than or equal to described second
In the case where threshold value, the second frequency value is updated to the average value of the first frequency value Yu the second frequency value;
The transmission frequency control module and the judgment module are also used to repeat aforesaid operations, until the third judges
As a result until being less than the second threshold for the difference.
14. the control device that request packet according to claim 8 sends frequency, which is characterized in that described device further include:
Packet generation module is detected, for selecting at least two requests from the request packet received from the client
Packet, and wrapped for generating the detection according to the request packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410163899.9A CN105024933B (en) | 2014-04-22 | 2014-04-22 | The control method and device of request packet transmission frequency |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410163899.9A CN105024933B (en) | 2014-04-22 | 2014-04-22 | The control method and device of request packet transmission frequency |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105024933A CN105024933A (en) | 2015-11-04 |
CN105024933B true CN105024933B (en) | 2019-01-29 |
Family
ID=54414654
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410163899.9A Active CN105024933B (en) | 2014-04-22 | 2014-04-22 | The control method and device of request packet transmission frequency |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105024933B (en) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107222426B (en) * | 2016-03-21 | 2021-07-20 | 阿里巴巴集团控股有限公司 | Flow control method, device and system |
CN105939233A (en) * | 2016-05-19 | 2016-09-14 | 乐视控股(北京)有限公司 | Network state detection method and apparatus |
CN108574595B (en) * | 2017-03-14 | 2021-10-01 | 北京京东尚科信息技术有限公司 | Method and device for improving service reliability and user experience |
CN107124445B (en) * | 2017-03-31 | 2019-12-13 | 北京奇艺世纪科技有限公司 | data acquisition method and device |
CN107798036A (en) * | 2017-04-10 | 2018-03-13 | 平安科技(深圳)有限公司 | A kind of method of counting and counter |
CN109150744A (en) * | 2018-09-21 | 2019-01-04 | 福建南威软件有限公司 | A kind of gateway service scheduling promotion and demotion method based on API state |
CN112583726B (en) * | 2019-09-27 | 2022-11-11 | 华为技术有限公司 | Flow control method and device |
CN111782692B (en) * | 2020-06-01 | 2024-04-16 | 京东科技控股股份有限公司 | Frequency control method and device |
CN113055921B (en) * | 2021-03-29 | 2022-09-23 | 中国联合网络通信集团有限公司 | Fault processing method and terminal |
CN114430396B (en) * | 2022-04-06 | 2022-07-05 | 中国光大银行股份有限公司 | Transaction frequency control method and device, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1604574A (en) * | 2004-11-03 | 2005-04-06 | 北京中星微电子有限公司 | A network load balancing method in multipoint communication |
CN101499957A (en) * | 2008-01-29 | 2009-08-05 | 中国电信股份有限公司 | Multipath load balance implementing method and data forwarding apparatus |
CN102438181A (en) * | 2011-08-18 | 2012-05-02 | 中兴通讯股份有限公司 | Method and system for adjusting time for sending heartbeat message in Internet protocol television (IPTV) system |
CN102594382A (en) * | 2012-02-10 | 2012-07-18 | 钱袋网(北京)信息技术有限公司 | Communication frequency regulation method and terminal equipment |
CN103259696A (en) * | 2013-04-19 | 2013-08-21 | 华为技术有限公司 | Network bandwidth detecting method and device and network devices |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140056143A1 (en) * | 2012-08-24 | 2014-02-27 | Ascom Network Testing Ab | Systems and Methods for Measuring Available Bandwidth in Mobile Telecommunications Networks |
-
2014
- 2014-04-22 CN CN201410163899.9A patent/CN105024933B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1604574A (en) * | 2004-11-03 | 2005-04-06 | 北京中星微电子有限公司 | A network load balancing method in multipoint communication |
CN101499957A (en) * | 2008-01-29 | 2009-08-05 | 中国电信股份有限公司 | Multipath load balance implementing method and data forwarding apparatus |
CN102438181A (en) * | 2011-08-18 | 2012-05-02 | 中兴通讯股份有限公司 | Method and system for adjusting time for sending heartbeat message in Internet protocol television (IPTV) system |
CN102594382A (en) * | 2012-02-10 | 2012-07-18 | 钱袋网(北京)信息技术有限公司 | Communication frequency regulation method and terminal equipment |
CN103259696A (en) * | 2013-04-19 | 2013-08-21 | 华为技术有限公司 | Network bandwidth detecting method and device and network devices |
Also Published As
Publication number | Publication date |
---|---|
CN105024933A (en) | 2015-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105024933B (en) | The control method and device of request packet transmission frequency | |
US20170331674A1 (en) | Method and Apparatus for Controlling Database Connection | |
CN109901881B (en) | Plug-in loading method and device of application program, computer equipment and storage medium | |
CN108512715B (en) | Load pressure test method of service link and related device | |
CN110908837B (en) | Application program exception handling method and device, electronic equipment and storage medium | |
CN109359118B (en) | Data writing method and device | |
CN110147410B (en) | Data verification method, system, device and equipment in block chain type account book | |
US20170251064A1 (en) | Method and device for scheduling resources | |
CN110650209B (en) | Method and device for realizing load balancing | |
CN111612158A (en) | Model deployment method, device, equipment and storage medium | |
CN114816748A (en) | Thread scheduling method and device, electronic equipment and storage medium | |
CN112817694A (en) | Automatic load balancing method and device for distributed system | |
CN106293805A (en) | The method and device that program loads | |
CN113609026B (en) | Method and device for pressure testing of server | |
CN111338803A (en) | Thread processing method and device | |
CN109636460B (en) | Service processing method, device, equipment and storage medium | |
CN112671923B (en) | Unified interface service communication scheduling method and device | |
JP2005128866A (en) | Computer unit and method for controlling computer unit | |
CN113905091A (en) | Method and device for processing access request | |
CN115454576B (en) | Virtual machine process management method and system and electronic equipment | |
CN104796274B (en) | The matching process and device of O&M operation | |
US20170060914A1 (en) | Recording medium, log management method, and log management apparatus | |
CN115221060A (en) | Case generation method, device and equipment based on associated field and storage medium | |
CN106209737B (en) | Control the method and apparatus that remote service calls frequency | |
CN112764837A (en) | Data reporting method, device, storage medium and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |