CN106161266A - A kind of method realizing flow-control and client - Google Patents
A kind of method realizing flow-control and client Download PDFInfo
- Publication number
- CN106161266A CN106161266A CN201510201472.8A CN201510201472A CN106161266A CN 106161266 A CN106161266 A CN 106161266A CN 201510201472 A CN201510201472 A CN 201510201472A CN 106161266 A CN106161266 A CN 106161266A
- Authority
- CN
- China
- Prior art keywords
- flow
- client
- control information
- control
- service end
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000004891 communication Methods 0.000 claims abstract description 20
- 230000003993 interaction Effects 0.000 claims abstract description 9
- 238000005516 engineering process Methods 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 2
- 230000004899 motility Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a kind of method realizing flow-control and client, be included in the os starting of client, client detects itself and the service end interaction data pre-set, and obtains flow-control information;Wherein, flow-control information includes uplink communication speed and downlink communication speed;Client carries out flow-control according to the flow-control information obtained.The technical scheme provided by the present invention, it is achieved that carry out flow-control during os starting, improve the stability of network and service end.
Description
Technical field
The present invention relates to communications device data treatment technology, a kind of method realizing flow-control and visitor
Family end.
Background technology
In order to ensure that limited network bandwidth resources is sufficiently utilized, the most widely used
Flow control technique.In existing equipment such as client or service end, the flow control technique of employing is main
Effect is, the data transfer rate controlling up direction data in end side is less than uplink communication speed, controls simultaneously
The data transfer rate of down direction data is less than downlink communication speed.It is well known by those skilled in the art that permissible
Existing token bucket technology is used to realize flow-control.
From the point of view of as a example by the client of existing operation operating system, the function of client is generally by client
Hardware and software coordinates realization jointly.Operating system, driver can be divided into according to functional software and answer
By program etc..It is well known by those skilled in the art that operating system is to realize driver and application program
The basic platform run, operating system is realized and the coordinating of hardware by driver.After client powers on,
Start operating system.The start-up course of operating system is roughly divided into: vectoring phase and system loads stage.
In the system loads stage, loading system program and driver, system running environment etc. is set.System
After load phase, operating system completes to start, and generally loads the application program pre-set.
For the client of existing operation operating system, the flow-control of client such as LINUX operating system
In flow controlling unit, need by after os starting load application program such as Agent configure
And activate, carry out flow-control again.It is to say, during os starting, it is impossible to carry out
Flow-control.By network without from the point of view of as a example by disc system, client, during os starting, needs
Mass data is carried out alternately to obtain os starting desired data from service end, if greatly with service end
Amount client starts simultaneously, needs each client for starting simultaneously to transmit correspondence by making service end
Data, so can cause the network congestion between client and service end, will also result in service end load
Increase machine of even delaying again, thus reduce the stability of service end and network.
Summary of the invention
In order to solve above-mentioned technical problem, the invention provides a kind of method realizing flow-control and client
End, it is possible to carry out flow-control during os starting, improves service end and the stability of network.
In order to reach the object of the invention, the invention discloses a kind of method realizing flow-control, including:
In the os starting of client, client detects that it is mutual with the service end pre-set
Data, obtain flow-control information;Wherein, flow-control information includes uplink communication speed and downlink communication speed;
Client carries out flow-control according to the flow-control information obtained.
Also include after described method: described client receives the remote configuration information from described service end,
Described flow-control information is updated to the remote configuration information received, and enters according to the flow-control information after updating
Row flow-control.
Described acquisition flow-control information includes: the locally configured information pre-set is set to by described client
Described flow-control information.
Described acquisition flow-control information includes: described client asks remote configuration information to described service end,
And by request to remote configuration information be set to described flow-control information.
The described service end interaction data detected and pre-set includes: detect that existence waits to described
Service end send data or receive the data from described service end.
The invention also discloses a kind of client realizing flow-control, including detector unit, acquiring unit
And flow control unit, wherein,
Detector unit, in the os starting of client, detects client and pre-sets
Service end interaction data, send obtain instruction;
Acquiring unit, is used for receiving acquisition instruction, obtains flow-control information;Wherein, flow-control information includes
Row traffic rate and downlink communication speed;
Flow control unit, for carrying out flow-control according to the flow-control information from acquiring unit.
Described acquiring unit is additionally operable to: receive the remote configuration information from described service end, by described stream
Control information updating is the remote configuration information received.
Described acquiring unit specifically for: receive obtain instruction, the locally configured information pre-set is set
It is set to described flow-control information.
Described acquiring unit specifically for: receive obtain instruction, to described service end request Remote configuration letter
Breath, and by request to remote configuration information be set to described flow-control information.
Described detector unit specifically for: detect exist wait the data that send to described service end or
Receive the data from described service end.
Compared with prior art, technical solution of the present invention includes: in the os starting of client,
Client detects itself and the service end interaction data pre-set, and obtains flow-control information;Wherein, stream control
Information includes uplink communication speed and downlink communication speed;Client flows according to the flow-control information obtained
Amount controls.Pass through technical solution of the present invention, it is achieved that start in a large amount of clients simultaneously, and be required to from
When service end obtains mass data, each client flows during its os starting the most in time
Amount controls, it is to avoid network congestion between client and service end during os starting, fall
The low load of service end, improves the stability of service end and network.
Other features and advantages of the present invention will illustrate in the following description, and, partly from froming the perspective of
Bright book becomes apparent, or understands by implementing the present invention.The purpose of the present invention is excellent with other
Point can be realized by structure specifically noted in description, claims and accompanying drawing and be obtained
?.
Accompanying drawing explanation
Accompanying drawing is used for providing being further appreciated by technical solution of the present invention, and constitutes one of description
Point, it is used for explaining technical scheme together with embodiments herein, is not intended that the present invention
The restriction of technical scheme.
Fig. 1 is the flow chart that the present invention realizes the method for flow-control;
Fig. 2 is the composition structural representation that the present invention realizes the device of flow-control.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing
Embodiments of the invention are described in detail.It should be noted that in the case of not conflicting, this Shen
Embodiment in please and the feature in embodiment can mutual combination in any.
Can be at the computer of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing
System performs.And, although show logical order in flow charts, but in some cases,
Can be to be different from the step shown or described by order execution herein.
Fig. 1 is the flow chart that the present invention realizes the method for flow-control, as it is shown in figure 1, include:
Step 101: in the os starting of client, client detects itself and the clothes pre-set
Business end interaction data, obtains flow-control information.
Wherein, flow-control information includes uplink communication speed and downlink communication speed.
Client in step 101 detects and specifically includes with the service end interaction data pre-set: visitor
Family end detects to exist and waits the data sent to service end or receive the data from service end.
In step 101, after the driver of the loading client in the os starting of client,
Whether driver detects whether to exist and waits the data sent to service end or receive from service end
Data.It implements, and belongs to the conventional techniques means of those skilled in the art, is not used to limit
Protection scope of the present invention, here is omitted.
In one embodiment of the invention, the acquisition in step 101 specifically includes: client will in advance
The locally configured information arranged is set to flow-control information.
In another embodiment of the present invention, the acquisition in step 101 specifically includes: client is to clothes
Business end request remote configuration information, and by request to remote configuration information be set to flow-control information.Its tool
Body realizes, and belongs to the conventional techniques means of those skilled in the art, the protection being not intended to limit the present invention
Scope, here is omitted.
Step 102: client carries out flow-control according to the flow-control information obtained.
Can be flowed according to the flow-control information obtained by existing flow control technique such as token bucket technology
Amount controls, and the data transfer rate controlling up direction data with realization is less than uplink communication speed, under controlling simultaneously
The data transfer rate of line direction data is less than downlink communication speed.
Further,
After step 102, the inventive method also includes: client receives the Remote configuration from service end
Information, is updated to the remote configuration information received by flow-control information, and according to the flow-control information after updating
Carry out flow-control.
So, it is achieved that the flow-control information of each client under its administration of service end Remote configuration, dynamically manage
Manage the most each client carries out flow-control, improve the motility of the inventive method.
In an embodiment of the present invention, flow information also includes for indicating startup or closing flow-control
Switching information, now, carry out flow-control according to flow information and specifically include: if switching information is
Start flow-control, carry out flow control according to the uplink communication speed in flow information and downlink communication speed
System;If switching information is for closing flow-control, stop carrying out flow-control.
Preferably, technical solution of the present invention is applied to without disc system.
Fig. 2 is the composition structural representation that the present invention realizes the client of flow-control.As in figure 2 it is shown,
Including the detector unit can being arranged in the driver of client, acquiring unit and flow control unit, its
In,
Detector unit, in the os starting of client, detects client and pre-sets
Service end interaction data, send obtain instruction;
Acquiring unit, is used for receiving acquisition instruction, obtains flow-control information;Wherein, flow-control information includes
Row traffic rate and downlink communication speed;
Flow control unit, for carrying out flow-control according to the flow-control information from acquiring unit.
In one embodiment of the invention, acquiring unit specifically for: receive obtain instruction, will in advance
The locally configured information arranged is set to flow-control information.
In another embodiment of the present invention, acquiring unit specifically for: receive obtain instruction, to clothes
Business end request remote configuration information, and by request to remote configuration information be set to flow-control information.
Detector unit specifically for: detect exist wait to service end send data or receive arrive
From the data of service end.
Further,
Acquiring unit is additionally operable to: receives the remote configuration information from service end, is updated to by flow-control information
The remote configuration information received.
Although the embodiment that disclosed herein is as it has been described above, but described content only readily appreciates this
The embodiment invented and use, is not limited to the present invention.Skill in any art of the present invention
Art personnel, on the premise of without departing from the spirit and scope that disclosed herein, can be in the form implemented
And in details, carry out any amendment and change, but the scope of patent protection of the present invention, still must be with appended
Claims are defined in the range of standard.
Claims (10)
1. the method realizing flow-control, it is characterised in that including:
In the os starting of client, client detects that it is mutual with the service end pre-set
Data, obtain flow-control information;Wherein, flow-control information includes uplink communication speed and downlink communication speed;
Client carries out flow-control according to the flow-control information obtained.
Method the most according to claim 1, it is characterised in that also include after described method: institute
State client and receive the remote configuration information from described service end, be updated to described flow-control information receive
The remote configuration information arrived, and carry out flow-control according to the flow-control information after updating.
Method the most according to claim 1 and 2, it is characterised in that described acquisition flow-control information bag
Include: the locally configured information pre-set is set to described flow-control information by described client.
Method the most according to claim 1 and 2, it is characterised in that described acquisition flow-control information bag
Include: described client asks remote configuration information, and Remote configuration letter request arrived to described service end
Breath is set to described flow-control information.
Method the most according to claim 1 and 2, it is characterised in that described in detect and set in advance
The service end interaction data put includes: detect that existence waits the data sent to described service end or connects
Receive the data from described service end.
6. the client realizing flow-control, it is characterised in that include detector unit, acquiring unit
And flow control unit, wherein,
Detector unit, in the os starting of client, detects client and pre-sets
Service end interaction data, send obtain instruction;
Acquiring unit, is used for receiving acquisition instruction, obtains flow-control information;Wherein, flow-control information includes
Row traffic rate and downlink communication speed;
Flow control unit, for carrying out flow-control according to the flow-control information from acquiring unit.
Client the most according to claim 6, it is characterised in that described acquiring unit is additionally operable to:
Receiving from the remote configuration information of described service end, be updated to described flow-control information to receive is long-range
Configuration information.
8. according to the client described in claim 6 or 7, it is characterised in that described acquiring unit is concrete
For: receive and obtain instruction, the locally configured information pre-set is set to described flow-control information.
9. according to the client described in claim 6 or 7, it is characterised in that described acquiring unit is concrete
For: receive obtain instruction, to described service end ask remote configuration information, and request is arrived long-range
Configuration information is set to described flow-control information.
10. according to the client described in claim 6 or 7, it is characterised in that described detector unit has
Body is used for: detect that existence waits the data sent to described service end or receives from described service
The data of end.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510201472.8A CN106161266A (en) | 2015-04-24 | 2015-04-24 | A kind of method realizing flow-control and client |
PCT/CN2016/074151 WO2016169328A1 (en) | 2015-04-24 | 2016-02-19 | Method for implementing flow control, and client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510201472.8A CN106161266A (en) | 2015-04-24 | 2015-04-24 | A kind of method realizing flow-control and client |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106161266A true CN106161266A (en) | 2016-11-23 |
Family
ID=57142883
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510201472.8A Pending CN106161266A (en) | 2015-04-24 | 2015-04-24 | A kind of method realizing flow-control and client |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106161266A (en) |
WO (1) | WO2016169328A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108601048B (en) * | 2018-04-17 | 2021-09-28 | 维沃移动通信有限公司 | Flow control method and mobile terminal |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702121A (en) * | 2009-10-29 | 2010-05-05 | 珠海金山软件股份有限公司 | Device for controlling network flow of program in Windows system |
CN103840989A (en) * | 2014-03-26 | 2014-06-04 | 北京极科极客科技有限公司 | Method and device for testing network speed through router |
CN103973591A (en) * | 2014-06-04 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Solution method for intelligent network traffic congestion |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4644472A (en) * | 1984-11-19 | 1987-02-17 | At&T Bell Laboratories | Flow control between a data terminal and a host computer system |
-
2015
- 2015-04-24 CN CN201510201472.8A patent/CN106161266A/en active Pending
-
2016
- 2016-02-19 WO PCT/CN2016/074151 patent/WO2016169328A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101702121A (en) * | 2009-10-29 | 2010-05-05 | 珠海金山软件股份有限公司 | Device for controlling network flow of program in Windows system |
CN103840989A (en) * | 2014-03-26 | 2014-06-04 | 北京极科极客科技有限公司 | Method and device for testing network speed through router |
CN103973591A (en) * | 2014-06-04 | 2014-08-06 | 浪潮电子信息产业股份有限公司 | Solution method for intelligent network traffic congestion |
Also Published As
Publication number | Publication date |
---|---|
WO2016169328A1 (en) | 2016-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105681075B (en) | Network Management System based on mixing cloud platform | |
EP3049930A1 (en) | System and method for improving tcp performance in virtualized environments | |
CN108471629A (en) | The control method of business service quality, equipment and system in transmission network | |
CN103634235A (en) | Method for limiting speed of network interface of virtual machine | |
US10097459B2 (en) | Apparatus and method for high-speed data transmission between virtual desktops | |
CN110650503B (en) | Network access method, device, system and computer readable storage medium | |
US20180293065A1 (en) | Upgrade of port firmware and driver software for a target device | |
CN111917586A (en) | Container bandwidth adjusting method, server and storage medium | |
CN106557444A (en) | The method and apparatus for realizing SR-IOV network interface cards is, the method and apparatus for realizing dynamic migration | |
US20180293064A1 (en) | Upgrade of firmware in an interface hardware of a device in association with the upgrade of driver software for the device | |
CN101909061A (en) | Creation and application method of dynamic virtual channel based on remote display protocol | |
CN106341811A (en) | Data migration method and server | |
US10326659B2 (en) | Device and method for automatic switching of communication protocol of network devices based on user action | |
CN105100150A (en) | Cloud desktop migration method and apparatus, and distributed cloud desktop system | |
CN105376131A (en) | Multicast migration method and network equipment | |
CN103699450A (en) | Linux adaptive component communication method | |
WO2013181200A1 (en) | Enabling legacy applications to achieve end-to-end communication with corresponding legacy device services | |
CN106161266A (en) | A kind of method realizing flow-control and client | |
CN105245365A (en) | Parameter configuration method, equipment and system for virtual network | |
CN112714073B (en) | Message distribution method, system and storage medium based on SR-IOV network card | |
KR101669518B1 (en) | Apparatus and method for managing network module based on software defined network | |
CN102986194B (en) | Network security processing method, system and network interface card | |
EP3522016A3 (en) | Touch screen controller with data exchange and mining service | |
US10372632B2 (en) | Information processing system, information processing method and information processing device | |
KR101880828B1 (en) | Method and system for virtualized network entity (vne) based network operations support systems(noss) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161123 |