CN100431306C - Dynamic-network connecting allocation system and method - Google Patents
Dynamic-network connecting allocation system and method Download PDFInfo
- Publication number
- CN100431306C CN100431306C CNB2005100278107A CN200510027810A CN100431306C CN 100431306 C CN100431306 C CN 100431306C CN B2005100278107 A CNB2005100278107 A CN B2005100278107A CN 200510027810 A CN200510027810 A CN 200510027810A CN 100431306 C CN100431306 C CN 100431306C
- Authority
- CN
- China
- Prior art keywords
- weighted value
- module
- server
- client
- servers
- 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.)
- Expired - Fee Related
Links
Abstract
The system comprises: multi client sides and multi servers connected to the said clients. Each server comprises: a configuration module for use in setting and adjusting the parameters about the performance and state of the server; a calculation module connected to the configuration module and used to calculate the weighted value of server; a communication module connected to the calculation module and used to send the weighted value to other servers in the system order to get the weighted value calculated from other servers; a estimation module connected to the calculation module and communication module for use in comparing the weighted values from all servers in the system in order to decide if the current server is connected to the client side; and a control module connected to the estimation module and used to control the connection to the client side by the instruction from the estimation module.
Description
Technical field
The present invention relates to dynamic-network connecting allocation system and method that digital multimedia server and digital multimedia adapter (being also referred to as client) are formed, more particularly, relate to the connection allocative decision between each server when setting up with being connected of adapter.
Background technology
A plurality of servers and client are arranged in the dynamic-network connecting allocation system, in all dynamic-network connecting allocation systems and method of prior art, client is selected any one available server at random, cause the load of each server to occur uneven, thereby the too busy load of the server that has is overweight, thus not then too idlely fully not being utilized of having; And the hardware configuration of each server also is not quite similar, and should not use the block form even distribution, otherwise hardware configuration preferably server can produce the wasting of resources, and the relatively poor meeting of hardware configuration produces the situation of overload.
Summary of the invention
In order to address the above problem, the invention provides a kind of dynamic-network connecting allocation system and method, make dynamic network connect allocation optimization, make the load optimization of each server, thereby make the usefulness of system reach optimization.
First purpose of the present invention is, a kind of dynamic-network connecting allocation system is provided, and it can distribute according to the connection that each server health automatically carry out client;
Second purpose of the present invention be, provides a kind of dynamic network to connect distribution method, and it can distribute according to the connection that each server health automatically carry out client;
For realizing first purpose of the present invention, the invention provides a kind of dynamic-network connecting allocation system, this system comprises: client; And by connecting the server that distributes and be connected with these clients, each server comprises: weighted value is provided with module, is used to be provided with and adjust every index of server performance and state; The weighted value computing module, it is provided with module with weighted value and is electrically connected, and is used for the weighted value of calculation server; Weighted value is linked up module, and it is electrically connected with the weighted value computing module, is used for linking up from other server of the weighted value data of weighted value computing module acquisition and this system, so that obtain the weighted value that calculates on other servers; The connection judgment module, it is linked up module with weighted value computing module and weighted value and is electrically connected, and is used for the weighted value that obtains on this system's Servers-all is compared, and judges whether book server connects client; Link control module, it is electrically connected with the connection judgment module, is used for moving to connect or not connect client according to the instruction of connection judgment module.
For realizing second purpose of the present invention, the invention provides a kind of dynamic network and connect distribution method, it comprises the steps: 1) system is carried out initialization, i.e. initialization hardware data, line situation and user's set point; 2) new situation that occurs according to system is provided with module by weighted value and upgrades the hardware data value, upgrades line situation value and user's set point; 3) after the data after receiving renewal, the weighted value computing module calculates the weighted value that makes new advances; The exchanges data of the weighted value after 4) other servers of linking up module and this system by weighted value upgrade; 5) weighted value after the connection judgment module is upgraded Servers-all in this system compares, and judges whether book server connects when next client occurs, and the notice link control module; 6) at from the instruction of connection judgment module about whether connecting, link control module control is connected with next client; 7), then module is set and carries out the Data Update setting by weighted value if connect.
Compare with existing dynamic-network connecting allocation system and method, advantage of the present invention is: before new client enters, can be in time the load state of each server in this system relatively, automatically decision connects new client by the most idle server, thereby avoided the load uneven phenomenon between each server, can effectively utilize resource separately, make the usefulness of system reach optimization.
Description of drawings
Fig. 1 is the block diagram of the dynamic-network connecting allocation system of the preferred embodiment of the present invention;
Fig. 2 is the flow chart that dynamic network connects distribution method in the dynamic-network connecting allocation system of the preferred embodiment of the present invention;
Embodiment
For helping to understand the present invention, the present invention is done further detailed elaboration below in conjunction with relevant drawings.
As shown in Figure 1, dynamic-network connecting allocation system according to a preferred embodiment of the invention comprises: comprising: 4 clients 11,12,13,14; 3 servers 21,22,23, wherein, server 21 is connected with 12 with client 11, server 22 is not connected with any client, and server 23 is connected with client 13, and each server comprises: weighted value is provided with module 211,221,231, be used to be provided with and adjust every index of server performance and state, as hardware data value, line situation value, user's set point; Weighted value computing module 212,222,232, it is provided with module with weighted value and is electrically connected, and is used for the weighted value of calculation server; Weighted value is linked up module 213,223,233, and it is electrically connected with the weighted value computing module, is used for linking up from other server of the weighted value information of weighted value computing module acquisition and this system, so that obtain the weighted value that calculates on other servers; Connection judgment module 214,224,234, it is linked up module with weighted value computing module and weighted value and is electrically connected, and is used for the weighted value that obtains on this system's Servers-all is compared, and judges whether book server connects next client 14; Link control module 215,225,235, it is electrically connected with the connection judgment module, is used for moving to connect client 14 according to the instruction of connection judgment module.
Below, refer again to the described dynamic network that Fig. 2 further describes the preferred embodiment of the present invention and connect distribution method, it comprises the steps: 1) system is carried out initialization, i.e. initialization hardware data, line situation and user's set point; 2) new situation that occurs according to system is provided with module by weighted value and upgrades the hardware data value, upgrades line situation value and user's set point; 3) after the data after receiving renewal, the weighted value computing module calculates the weighted value that makes new advances; The exchanges data of the weighted value after 4) other servers of linking up module and this system by weighted value upgrade; 5) weighted value after the connection judgment module is upgraded Servers-all in this system compares, and judges whether book server connects when next client occurs, and the notice link control module; 6) at from the instruction of connection judgment module about whether connecting, link control module control is connected with next client; 7), then module is set and carries out the Data Update setting by weighted value if connect.
In the present embodiment, the weighted value ratio of the hardware data of server (being hardware configuration) value, line situation (being load state) value and user's set point is set at: 1/3: 1/3: 1/3.Wherein, the hardware configuration of server 21 is CPU:P42.1G, RAM:512MB, Encoder:hardware encoder; Its load state is two clients 11,12 of service, and the user is set at load in full.The hardware configuration of server 22 is CPU:P3 1G, RAM:256MB, Encoder:software encoder; Its load state is service zero platform client, and the user is set at load in full.The hardware configuration of server 23 is CPU:P4 2.8G, RAM:1024MB, Encoder:softwareencoder; Its load state is one client 13 of service, and the user is set at half load.Set with the hardware configuration of every station server, load state and user and to account for 30 and assign to calculate, hardware configuration is high more, its mark is high more, simultaneously, the client of server institute load is whenever added one, mark reduces 10 fens, thus the performance of server 21,22,23 and state index and the weighted value mark such as the following table that calculate:
Server | Hardware configuration | Load state | The user sets | Weighted value (mark) |
21 | 25 | 10 | 30 | 65 |
22 | 13 | 30 | 30 | 73 |
23 | 24 | 20 | 15 | 59 |
Therefore, weighted value is provided with the hardware data value of module update service device, after line situation and the user's set point, calculate weighted value by the weighted value computing module, by linking up after module and other servers link up, server 21,23 connection judgment module is judged the own line of refusing when next client 14 occurs, the connection judgment module of server 22 is judged the own line that gives when next client 14 occurs, therefore, when client 14 occurs, the connection judgment module of server 22 will be notified its link control module line client 14, to reset its data of adjustment thereby the weighted value of server 22 is provided with module, promptly will be adjusted to 20 by 30 times its load state (line situation) value.
Obviously, according to purport of the present invention, other embodiment of the present invention can be found out not breaking away under the base region of the present invention.It should be noted that therefore accompanying drawing illustration exemplary embodiment of the present invention, should not be considered to scope restriction of the present invention.
Claims (3)
1. a dynamic-network connecting allocation system is characterized in that, this system comprises:
Client; And
By connecting the server that distributes and be connected with these clients, each server comprises:
Weighted value is provided with module, is used to be provided with and adjust every index of server performance and state;
The weighted value computing module, it is provided with module with weighted value and is electrically connected, and is used for the weighted value of calculation server;
Weighted value is linked up module, and it is electrically connected with the weighted value computing module, is used for linking up from other server of the weighted value data of weighted value computing module acquisition and this system, so that obtain the weighted value that calculates on other servers;
The connection judgment module, it is linked up module with weighted value computing module and weighted value and is electrically connected, and is used for the weighted value that obtains on this system's Servers-all is compared, and judges whether book server connects client;
Link control module, it is electrically connected with the connection judgment module, is used for moving to connect client according to the instruction of connection judgment module.
2. the system as claimed in claim 1, it is characterized in that: described client is a DMA.
3. a dynamic network connects distribution method, and this method is based on the described system of claim 1, and this method comprises the steps:
1) system is carried out initialization, i.e. the hardware data of initialization system, line situation and user's set point;
2), hardware data value, renewal line situation value and user's set point of module update system is set by weighted value according to the new situation of system's appearance;
3) after the data after receiving renewal, the weighted value computing module calculates the weighted value that makes new advances;
The exchanges data of the weighted value after 4) other servers of linking up module and this system by weighted value upgrade;
5) weighted value after the connection judgment module is upgraded Servers-all in this system compares, and judges whether book server connects when next client occurs, and the notice link control module;
6) at from the instruction of connection judgment module about whether connecting, link control module control is connected with next client;
7), then module is set and carries out the Data Update setting by weighted value if connect.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100278107A CN100431306C (en) | 2005-07-15 | 2005-07-15 | Dynamic-network connecting allocation system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100278107A CN100431306C (en) | 2005-07-15 | 2005-07-15 | Dynamic-network connecting allocation system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1897549A CN1897549A (en) | 2007-01-17 |
CN100431306C true CN100431306C (en) | 2008-11-05 |
Family
ID=37609932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100278107A Expired - Fee Related CN100431306C (en) | 2005-07-15 | 2005-07-15 | Dynamic-network connecting allocation system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100431306C (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227460B (en) * | 2007-01-19 | 2011-07-27 | 上海捷存软件有限公司 | Method for uploading and downloading distributed document and apparatus and system thereof |
CN103856499A (en) * | 2012-11-29 | 2014-06-11 | 中兴通讯股份有限公司 | Cloud storage method, cloud storage device, cloud storage data downloading method and cloud storage data downloading device |
US9531633B2 (en) | 2014-03-20 | 2016-12-27 | Tata Consultancy Services Limited | Control plane optimization of communication networks |
CN106230993A (en) * | 2016-09-29 | 2016-12-14 | 中国南方电网有限责任公司电网技术研究中心 | The security protection compliance data acquisition method of electric power monitoring system and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1364262A (en) * | 1999-05-26 | 2002-08-14 | 富士通株式会社 | Network, element management system |
US6438100B1 (en) * | 1998-08-07 | 2002-08-20 | Alcatel Canada Inc. | Method and apparatus for routing server redundancy in a network having carrier scale internetworking |
CN1373871A (en) * | 1999-08-23 | 2002-10-09 | 泰拉斯普林公司 | Extensible computing system |
CN1585357A (en) * | 2003-08-19 | 2005-02-23 | 华为技术有限公司 | Method for selecting server in network |
-
2005
- 2005-07-15 CN CNB2005100278107A patent/CN100431306C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6438100B1 (en) * | 1998-08-07 | 2002-08-20 | Alcatel Canada Inc. | Method and apparatus for routing server redundancy in a network having carrier scale internetworking |
CN1364262A (en) * | 1999-05-26 | 2002-08-14 | 富士通株式会社 | Network, element management system |
CN1373871A (en) * | 1999-08-23 | 2002-10-09 | 泰拉斯普林公司 | Extensible computing system |
CN1585357A (en) * | 2003-08-19 | 2005-02-23 | 华为技术有限公司 | Method for selecting server in network |
Also Published As
Publication number | Publication date |
---|---|
CN1897549A (en) | 2007-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106358245B (en) | Method and controller for sharing load of mobile edge computing application | |
CN101772102A (en) | Selecting method for isomeric wireless network | |
CN100431306C (en) | Dynamic-network connecting allocation system and method | |
CN103957251A (en) | Method and system for achieving server load balancing | |
CN106161280A (en) | A kind of band width control method, device and electronic equipment | |
CN105119787A (en) | Public Internet access system and public Internet access method based on software definition | |
CN103619068A (en) | Method for distributing access bandwidth and network equipment | |
CN102469593B (en) | Method and device for distributing shared resources in base band pool | |
CN102811141A (en) | Method and system for monitoring running of virtual machines | |
CN110086854A (en) | A kind of privately owned cloud system of distribution | |
CN105721328A (en) | VRRP load balancing method, VRRP load balancing device and router | |
CN101594642B (en) | Resource allocation method and resource allocation device used for communication network element device | |
CN103458452A (en) | Method and device for adjusting wireless resources | |
CN103260196B (en) | A kind of control method of transmission bandwidth, Apparatus and system | |
CN102300260B (en) | Method and system for adjusting bandwidth resources of ABIS interface | |
CN101902779B (en) | Method, device and system for controlling credibility resource allocation of uplink enhanced dedicated channel | |
CN105357694A (en) | 4G user data message processing method and system | |
CN101626543B (en) | Method for providing P2P service and P2P value added service platform | |
CN106713180A (en) | Hotspot equipment control method and device | |
CN103051979B (en) | streaming media processing method and system | |
CN111665928A (en) | Server system, server device, and power consumption management method for server device | |
CN114168312A (en) | Distributed cluster load balancing method and device and storage medium | |
CN104158751A (en) | Flow control method and terminal | |
CN101815320A (en) | Resource distributing method | |
CN108540518A (en) | A kind of learning System and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20081105 Termination date: 20130715 |