CN104702667A - Method and device for expanding application service system - Google Patents

Method and device for expanding application service system Download PDF

Info

Publication number
CN104702667A
CN104702667A CN201510053681.2A CN201510053681A CN104702667A CN 104702667 A CN104702667 A CN 104702667A CN 201510053681 A CN201510053681 A CN 201510053681A CN 104702667 A CN104702667 A CN 104702667A
Authority
CN
China
Prior art keywords
server
network
service
user
application service
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.)
Granted
Application number
CN201510053681.2A
Other languages
Chinese (zh)
Other versions
CN104702667B (en
Inventor
袁小群
曾元祥
龚楚麒
方卿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201510053681.2A priority Critical patent/CN104702667B/en
Publication of CN104702667A publication Critical patent/CN104702667A/en
Application granted granted Critical
Publication of CN104702667B publication Critical patent/CN104702667B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for expanding an application service system. The method comprises the following steps: selecting an IP (internet protocol) address of a service user and the IP address of an alternative server, sending the IP address of the service user of the application service system to each alternative server and the IP addresses of other alternative servers, so that each alternative server sends a network detecting request to the IP address of the service user and the IP address of other alterative service nodes, obtains a network communication state of the alternative servers as well as the network communication state of the alternative servers and the service user to dynamically deploy the server in real time, and improves the flexibility and real-time performances of the server deployment through the application service system, is beneficial to strengthening the expansion of the application service system and capable of providing relatively efficient and flexible service quality to the user.

Description

A kind of method of application service system expansion and device
Technical field
The present invention relates to networking technology area, particularly relate to method and the device of the expansion of a kind of application service system.
Background technology
Along with the rise of cloud computing and software and service technology, promoted developing rapidly of network application, the form of network application more flexibly and open, but also has and shares and feature that sociability is strong.The existing network base frame of network english teaching system is difficult to the high speed development meeting network application, and the existing service scale of network english teaching system and the limitation of service range can cause QoS of customer to be deteriorated.
In order to provide more efficiently to user, service quality more flexibly, the network infrastructure of network english teaching system urgently needs to expand.The expansion of network english teaching system mainly redeploys for system server, such as set up new system server, and the cost setting up new server is higher, cause the expansion of network english teaching system to be restricted, but also there are technology barriers and make network english teaching system realize real-time update.
To sum up, the autgmentability urgently providing a kind of new system extension method to solve network english teaching system is less and cannot the problem of real-time update.
Summary of the invention
A kind of method that the embodiment of the present invention provides application service system to expand and device, the autgmentability solving the network english teaching system existed in prior art is less and cannot the problem of real-time update.
Embodiments provide the method for a kind of application service system expansion, be specially:
Obtain the IP address of service-user and the IP address of alternate servers, described alternate servers is connected with at least one server in application service system;
The IP address of the service-user of described application service system and the IP address of other alternate servers is sent to each alternate servers, to make each alternate servers send network detection request to the IP address of described service-user and the IP address of other alternate servers nodes, thus the network-in-dialing situation of the network-in-dialing situation obtained between each alternate servers and alternate servers and service-user;
Server according to each server in described application service system and alternate servers is communicated with situation, determines the server as network coordinate datum mark, and builds network coordinate system based on described network coordinate datum mark; Wherein, described server be communicated with in network-in-dialing situation, alternate servers and application service system that situation comprises between described alternate servers the network-in-dialing situation between server, network-in-dialing situation between each server in described application service system;
Be communicated with situation based on each server in the network-in-dialing situation of alternate servers and service-user and described application service system and described service-user, subregion carried out to described service-user, and determines the server that application service is provided in each subregion.
Further, each server in the described network-in-dialing situation based on alternate servers and service-user and described application service system is communicated with situation with described service-user, subregion is carried out to described service-user, and determines the server disposed in each subregion, be specially:
Based on alternate servers and service-user be communicated with each server in situation and described application service system and described service-user be communicated with situation, determine the coordinate points of described service-user under described network coordinate system;
Coordinate points according to described service-user carries out subregion, is communicated with situation, determines the server providing application service in each subregion according to server described in each subregion.
Further, the described coordinate points according to described service-user carries out subregion, is communicated with situation, determines the server disposed in each subregion, be specially according to server described in each subregion:
According to the coordinate points of described service-user, described service-user is carried out cluster subregion, and determine the centroid position in each cluster areas;
From described server connection situation, obtain the coordinate of each server, the server nearest with the centroid distance in described cluster areas is defined as the server providing application service in described cluster areas.
Further, determine described in that the server as network coordinate datum mark should meet following requirement:
As network coordinate datum mark server between distance should be greater than distance between other servers;
Server as network coordinate datum mark is the server near backbone network.
Further, before the IP address of described acquisition service-user and the IP address of alternate servers node, also comprise:
Obtain the information on services of described service-user under described application service system;
According to described information on services, estimate current service quality and the current network service environment of described application service system;
If the current service quality of described application service system exceeds the threshold value of setting, or the current network service environment of described application service system becomes bad, then adjudicate and expand described application service system.
On the other hand, embodiments provide the device of a kind of application service system expansion, comprising:
Acquiring unit, for the IP address of the IP address and alternate servers that obtain service-user, described alternate servers is connected with at least one server in application service system;
Transmitting element, for the IP address of the IP address from the service-user of described application service system to each alternate servers He other alternate servers that send, to make each alternate servers send network detection request to the IP address of described service-user and the IP address of other alternate servers nodes, thus the network-in-dialing situation of the network-in-dialing situation obtained between each alternate servers and alternate servers and service-user;
First processing unit, is communicated with situation for the server according to each server in described application service system and alternate servers, determines the server as network coordinate datum mark, and build network coordinate system based on described network coordinate datum mark; Wherein, described server be communicated with in network-in-dialing situation, alternate servers and application service system that situation comprises between described alternate servers the network-in-dialing situation between server, network-in-dialing situation between each server in described application service system;
Second processing unit, for being communicated with situation based on each server in the network-in-dialing situation of alternate servers and service-user and described application service system and described service-user, subregion is carried out to described service-user, and determines the server that application service is provided in each subregion.
Further, described second processing unit specifically for:
Based on alternate servers and service-user be communicated with each server in situation and described application service system and described service-user be communicated with situation, determine the coordinate points of described service-user under described network coordinate system;
Coordinate points according to described service-user carries out subregion, is communicated with situation, determines the server providing application service in each subregion according to server described in each subregion.
Further, described second processing unit specifically for:
According to the coordinate points of described service-user, described service-user is carried out cluster subregion, and determine the centroid position in each cluster areas;
From described server connection situation, obtain the coordinate of each server, the server nearest with the centroid distance in described cluster areas is defined as the server providing application service in described cluster areas.
Further, the server as network coordinate datum mark that described first processing unit is determined should meet following requirement:
As network coordinate datum mark server between distance should be greater than distance between other servers;
Server as network coordinate datum mark is the server near backbone network.
Further, also decision unit is comprised;
Described acquiring unit also for: acquisition the IP address of service-user and the IP address of alternate servers node before, obtain the information on services of described service-user under described application service system;
Described decision unit is used for:
According to described information on services, estimate current service quality and the current network service environment of described application service system;
If the current service quality of described application service system exceeds the threshold value of setting, or the current network service environment of described application service system becomes bad, then adjudicate and expand described application service system.
In above-described embodiment, application service system need not increase cost and set up new server, and only by the acquisition IP address of service-user and the IP address of alternate servers, the IP address of service-user and the IP address of other alternate servers of application service system is sent to each alternate servers, network detection request is sent to the IP address of service-user and the IP address of other alternate servers nodes to make each alternate servers, by such mode application service system just can be real-time each alternate servers of acquisition between network-in-dialing situation and the network-in-dialing situation of alternate servers and service-user.By the network-in-dialing situation of the network-in-dialing situation between each alternate servers of Real-time Obtaining and alternate servers and service-user, and the server of each server in application service system and alternate servers is communicated with situation and carries out dynamic server disposition, improve flexibility and real-time that application service system carries out server disposition, be conducive to strengthening the autgmentability of application service system, for user provide more efficiently, service quality more flexibly.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The method flow diagram of a kind of application service system expansion that Fig. 1 provides for inventive embodiments;
The apparatus structure schematic diagram of a kind of application service system expansion that Fig. 2 provides for the embodiment of the present invention.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
In order to solve the network english teaching system existed in prior art expand time, because setting up the restriction of the new more high aspect of server cost, cause the autgmentability of application service system less, but also the problem expanded can not be carried out in real time, a kind of method that the embodiment of the present invention provides application service system to expand and device, by obtaining the IP address of alternate servers with the operator negotiation of alternate servers, avoiding increases high cost and sets up new server.By sending the IP address of service-user and the IP address of other alternate servers of application service system acquisition to each alternate servers, to make each alternate servers send network detection request to the IP address of the IP address of service-user and other alternate servers nodes, by such mode application service system just can be real-time each alternate servers of acquisition between network-in-dialing situation and the network-in-dialing situation of alternate servers and service-user.According to the network-in-dialing situation between each alternate servers obtained and the network-in-dialing situation of alternate servers and service-user, and the server of each server in application service system and alternate servers is communicated with situation and carries out dynamic server disposition, flexibility and real-time that application service system carries out server disposition can be improved, be conducive to the autgmentability strengthening application service system, for user provide more efficiently, service quality more flexibly, thus solve the problems referred to above.In order to clearer explanation foregoing invention design, for concrete execution mode, the method for a kind of application service system expansion that the embodiment of the present invention provides and device are described in detail below.
Embodiment 1
The method flow that the embodiment of the present invention as shown in Figure 1 provides a kind of application service system to expand, the method comprises:
Step 101, obtain the IP address of service-user and the IP address of alternate servers, alternate servers is connected with at least one server in application service system;
Step 102, the IP address of service-user and the IP address of other alternate servers of application service system is sent to each alternate servers, to make each alternate servers send network detection request to the IP address of service-user and the IP address of other alternate servers nodes, thus the network-in-dialing situation of the network-in-dialing situation obtained between each alternate servers and alternate servers and service-user;
Step 103, the server according to each server in application service system and alternate servers is communicated with situation, determines the server as network coordinate datum mark, and coordinate basis Network Based point builds network coordinate system; Wherein, server be communicated with in network-in-dialing situation, alternate servers and application service system that situation comprises between alternate servers the network-in-dialing situation between server, network-in-dialing situation between each server in application service system;
Step 104, is communicated with situation based on each server in the network-in-dialing situation of alternate servers and service-user and application service system and service-user, carries out subregion, and determine the server providing application service in each subregion to service-user.
Preferably, in step 101, before obtaining the IP address of service-user and the IP address of alternate servers node, also comprise: obtain the information on services of service-user under application service system; According to information on services, estimate current service quality and the current network service environment of application service system; If the current service quality of application service system exceeds the threshold value of setting, or the current network service environment of application service system becomes bad, then adjudicate and expand application service system.
Concrete, obtain the information on services of service-user under application service system and comprise: the serve log information of all users that acquisition system stores, as service time, service quality, service fee etc. information; From serve log information, read journal file, and resolve log file contents, and the preliminary treatment such as filtering and noise reduction are done to the USI user service information parsed; Utilize linear regression, the models such as minimum variance perform mathematical calculations to pretreated USI user service information, estimate that application service system is for the current service quality of each user and current network service environment, and the service quality of predicted application service system for each user and the variation tendency of web services environment; According to estimated value and predicted value, whether judgement is expanded application service system.Such as, if estimate application service system to exceed the threshold value of setting for the current service quality of all users (threshold value of setting refers to that the current service quality of application service system for all users is lower than the ratio of projected service quality, as 30%), then adjudicate and application service system is expanded; If lower than application service system stable operation threshold value, (application service system stable operation threshold value refers to that the current service quality of the application service system of setting for all users is lower than the ratio of service quality during application service system stable operation for the current service quality of all users to estimate application service system, as 10%), then adjudicate and application service system is not expanded; If estimating application service system is between above-mentioned two threshold values for the current service quality of all users, then whether application service system is expanded according to the predicted value judgement of the current network service environment of application service system, if the current network service environment of application service system becomes bad, then adjudicate and application service system is expanded, otherwise judgement is not expanded application service system.
After judgement is expanded application service system, perform said method process step 101 to step 104.In said method flow process, the IP address of alternate servers node obtains by initiating request to the operator belonging to alternate servers, this avoid increase high cost and set up new server.The IP address of the service-user of application service system extracts from the USI user service information obtained, such as, obtain the serve log information of all users that application service system stores, read and resolve the journal file in serve log information, obtaining the IP address of each service-user.
In step 102, IP address list is merged in the IP address of each alternate servers obtained and the IP address of each service-user by application service system, and according to the IP address of alternate servers, send the IP address of service-user and the IP address of other alternate servers of application service system to each alternate servers, in the IP address list that namely alternate servers receives, do not comprise the IP address of this alternate servers self.
Each alternate servers using the IP address of the IP address of service-user that receives and other alternate servers nodes as destination address, periodically send network detection request to destination address, and receive network detection data, the network detection data received are sent to application service system, make application service system obtain the network-in-dialing situation of network-in-dialing situation between each alternate servers and alternate servers and service-user.
Wherein, ping detection information bag is included but not limited in the network detection request sent.
The network detection data that alternate servers receives comprise network delay information and the network-in-dialing information of at least one link between alternate servers and other alternate servers, or the network delay information of at least one link between alternate servers and service-user and network-in-dialing information.
The network detection data that application service system sends according to each alternate servers, by carrying out filtering and denoising to network detection data, obtain effective metrical information, according to the IP address of effective metrical information and alternate servers, calculate the network-in-dialing situation between each alternate servers; According to the IP address of effective metrical information and each service-user, the network-in-dialing situation of alternate servers and service-user.
Application service system, according to the network link situation between each alternate servers of calculating acquisition, tentatively draws the network link condition diagram between each alternate servers; In conjunction with active service node physical location information, belonging network provider title, form the network link hum pattern between alternate servers entity.
Server connection situation in step 103 comprises the network-in-dialing situation between the network-in-dialing situation between the server in network link situation, alternate servers and the application service system between each alternate servers, each server in application service system; Wherein, the network link situation between each alternate servers is determined according to step 102.Because alternate servers is connected with at least one server in application service system, therefore, based on the network link situation between each alternate servers, and the network link situation of alternate servers when being connected with at least one server in application service system, the network-in-dialing situation between the server in alternate servers and application service system can be determined.Network-in-dialing situation between each server in application service system is stored in application service system, application service system according to the network detection data of the intrasystem each server feedback received, can be resolved and store the network-in-dialing situation between each server in application service system.
Preferably, in step 103, server according to each server in application service system and alternate servers is communicated with situation, determine several servers as network coordinate datum mark, server as network coordinate datum mark both can be the server in application service system, also can be alternate servers.Preferably, determine that the server as network coordinate datum mark should meet following requirement simultaneously:
(1) as network coordinate datum mark server between distance should be greater than distance between other servers;
(2) as the server that the server of network coordinate datum mark is near backbone network (POP).
(3) number as the server of network coordinate datum mark should be larger than network coordinate number of dimensions.
In addition, the number as the server of network coordinate datum mark is determined according to the disposal ability of application service system.In general, the calculating of network coordinate needs consumption calculations resource, and is that exponentially increases, and grid reference point is more, and the accuracy of network coordinate is higher.Therefore, the disposal ability determination datum mark number according to application service system is needed.
Step 103 determines the server as network coordinate datum mark, to obtain network condition figure more accurately, build network coordinate system, obtain the three elements (origin of coordinates of network coordinate, reference axis and coordinate unit), be convenient to the IP address maps of all alternate servers and user in the particular location of network coordinate, obtain the relative position of IP address at network coordinate of all alternate servers and user, be convenient to step 104 pair service-user and carry out subregion, and determine the server that application service is provided in each subregion.
Such as, first, return time cycle (network delay information) of detection information and application service system to the disposal ability of data according to alternate servers, selecting the server number as network coordinate datum mark, is such as N number of.Secondly, find out from the network link hum pattern of alternate servers inter-entity and be in edge and near the server of backbone network pop as the server of network coordinate datum mark; Then, in conjunction with maximum area principle and minimum mean square error criterion, select remaining as the server of network coordinate datum mark.
After step 103 determines the server as network coordinate datum mark, coordinate basis point Network Based builds network coordinate system, is specially:
Network detection data between N number of grid reference point that acquisition is determined, comprise the network delay data between N number of grid reference point;
According to the network delay information between every two grid reference points, preset initial value and the error range of the space length of every two grid reference points in network coordinate;
In error range, calculate mean square deviation between the initial value of the space length of every two grid reference points in the network coordinate network delay corresponding with it and;
Using the initial value of the mean square deviation that calculates and the space length of minimum two grid reference points in network coordinate as the network coordinate value (physical location) of these two grid reference points in network coordinate;
According to the network coordinate value of these two grid reference points in network coordinate, determine the network coordinate value of each grid reference point in network coordinate, set up the mapping relations between the IP address of each grid reference point and the network coordinate value determined simultaneously.After setting up network coordinate according to grid reference point, perform step 104.
Preferably, step 104 specifically comprises:
Step one: based on alternate servers and service-user be communicated with each server in situation and application service system and service-user be communicated with situation, determine the coordinate points of service-user under network coordinate system; Wherein, alternate servers is determined by step 102 with the situation that is communicated with of service-user, and each server in application service system is stored in application service system with the situation that is communicated with of service-user.Determine all alternate servers and the service-user network coordinate value in the network coordinate system that step 103 is set up, by the IP address maps of all alternate servers and service-user in network coordinate, and obtain the relative position of IP address in network coordinate of all alternate servers and service-user.
Step 2: the coordinate points according to service-user carries out subregion, is communicated with situation according to each subregion server, determines the server providing application service in each subregion.Concrete, according to the coordinate points of service-user, service-user is carried out cluster subregion, and determine the centroid position in each cluster areas; From server connection situation, obtain the coordinate of each server, the server nearest with the centroid distance in cluster areas is defined as the server providing application service in cluster areas.
Wherein, Cluster clustering algorithm can be adopted to carry out cluster subregion to service-user, and determine the centroid position in each cluster areas.Certainly, other algorithms also can be adopted to carry out cluster subregion.The process of Cluster clustering algorithm is:
Step a: according to the coordinate points of all service-users, initialization is used for carrying out the selection matrix of cluster subregion and suitable matrix to service-user coordinate;
First, according to the coordinate points of all service-users, set up the matrix comprising all coordinate points.Concrete, utilize Euclidean distance as measurement index, select the negative of the square distance between any two coordinate points as the similarity s (i, k) between described two coordinate points, similarity s (i, k) refers to data point x kbe suitable as data point x ithe probability of representative point.According to point-to-point transmission similarity calculating method, utilize network coordinate value, solve the similarity between any two coordinate points, and obtain the similarity matrix [S (i, k)] between all coordinate points n*n.Solve corresponding similarity matrix [S (i, k)] n*nobtain class central point.Wherein, n is the number of data point, is each data point x ksetting deflection parameter s (k, k) value, s (k, k) shows the selected possibility as representative point of described k point, and s (k, k) value is larger, puts x accordingly kthe selected possibility as representative point is also larger.Suppose in the present embodiment that the selected possibility becoming representative point of all data points is identical, namely all s (k, k) are identical value p, wherein, and p<0.
Secondly, initialization is used for the selection matrix R=[r (i, k)] service-user coordinate being carried out to cluster subregion n*mwith suitable matrix A=[a (i, k)] n*m.Wherein, r (i, k) is from an x ipoint to some x k, represent choice point x kas x ithe possibility of representative point.A (i, k) is from an x kpoint to some x i, represent x kbe suitable as x ithe appropriate level of representative point.In the present embodiment, when initialization selection matrix and suitable matrix, the value of setting selection matrix and suitable matrix is 0.
Step b: cluster iteration.
Step b, by cluster iterative process, can obtain the class central point number of all data points.Specifically comprise following three sub-steps:
Sub-step 1: according to following more new formula, selection matrix, suitable matrix and weight coefficient are upgraded respectively.
According to select information updating formula can obtain above-mentioned selection matrix upgrade after the selection value of information, according to suitable information more new formula can calculate the suitable information value after above-mentioned suitable matrix update.
Wherein, selection information updating formula is: be about to result of calculation as upgrade after the selection value of information.
Suitable information is new formula more: if i ≠ k, then a ( i , k ) &LeftArrow; min { 0 , r ( k , k ) + &Sigma; i &prime; &NotElement; { i , k } max { 0 , r ( i &prime; k ) } } , If i.e. i ≠ k, then will result of calculation as upgrade after suitable information value; Otherwise, a ( i , k ) &LeftArrow; &Sigma; i &prime; &NotEqual; k max { 0 , r ( i &prime; , k ) } , If i.e. i=k, then will &Sigma; i &prime; &NotEqual; k max { 0 , r ( i &prime; , k ) } Result of calculation as upgrade after suitable information value.
Sub-step 2: sue for peace to the selection value of information of all data points and suitable information value according to sum formula, finds the class central point of all data points.
Wherein, sum formula is: r ( i , k ) + a ( i , k ) &LeftArrow; s ( i , k ) + a ( i , k ) - max k &prime; &NotEqual; k { a ( i , k &prime; ) + s ( i , k &prime; ) ) }
Sub-step 3: judge whether information iteration process meets following three stop conditions, meets that one of them is namely out of service.
Described stop condition: 1) exceed a certain maximum number of iterations order; 2) information knots modification is lower than a certain fixed value; 3) the class center selected keeps stable in continuous a few step iterative process.
Step c: judge whether the number at the class center obtained meets the demands, if do not met, then change the deflection parameter p value in step a, repeat above-mentioned steps till the number at the class center of cluster meets the demands, the coordinate points at the class center met the demands is exported as cluster result.
Steps d: according to the cluster result exported, determine the barycenter in each cluster areas.According to the position of the barycenter in each cluster areas determined, determine the network coordinate of the barycenter in each cluster areas.
In above-mentioned steps two, from server connection situation, obtain the coordinate of each server, the server nearest with the centroid distance in cluster areas is defined as the server providing application service in cluster areas.For each cluster subregion determines the server providing application service, and carry out new application service deployment in conjunction with the server resource that the cloud service provider that server is corresponding provides, application service system is expanded.
In said method flow process, application service system need not increase cost and set up new server, and only by the acquisition IP address of service-user and the IP address of alternate servers, the IP address of service-user and the IP address of other alternate servers of application service system is sent to each alternate servers, network detection request is sent to the IP address of service-user and the IP address of other alternate servers nodes to make each alternate servers, by such mode application service system just can be real-time each alternate servers of acquisition between network-in-dialing situation and the network-in-dialing situation of alternate servers and service-user.By the network-in-dialing situation of the network-in-dialing situation between each alternate servers of Real-time Obtaining and alternate servers and service-user, and the server of each server in application service system and alternate servers is communicated with situation and carries out dynamic server disposition, improve flexibility and real-time that application service system carries out server disposition, be conducive to strengthening the autgmentability of application service system, for user provide more efficiently, service quality more flexibly.
For said method flow process, the embodiment of the present invention also provides a kind of device, and the particular content of these devices can be implemented with reference to said method, does not repeat them here.
Embodiment 2
The device of a kind of application service system expansion as shown in Figure 2, comprising:
Acquiring unit 201, for the IP address of the IP address and alternate servers that obtain service-user, alternate servers is connected with at least one server in application service system;
Transmitting element 202, for sending the IP address of service-user and the IP address of other alternate servers of application service system to each alternate servers, to make each alternate servers send network detection request to the IP address of service-user and the IP address of other alternate servers nodes, thus the network-in-dialing situation of the network-in-dialing situation obtained between each alternate servers and alternate servers and service-user;
First processing unit 203, is communicated with situation, determines the server as network coordinate datum mark, and coordinate basis Network Based point builds network coordinate system for the server according to each server in application service system and alternate servers; Wherein, server be communicated with in network-in-dialing situation, alternate servers and application service system that situation comprises between alternate servers the network-in-dialing situation between server, network-in-dialing situation between each server in application service system;
Second processing unit 204, for being communicated with situation based on each server in the network-in-dialing situation of alternate servers and service-user and application service system and service-user, subregion is carried out to service-user, and determines the server that application service is provided in each subregion.
Preferably, the second processing unit 204 specifically for:
Based on alternate servers and service-user be communicated with each server in situation and application service system and service-user be communicated with situation, determine the coordinate points of service-user under network coordinate system;
Coordinate points according to service-user carries out subregion, is communicated with situation, determines the server providing application service in each subregion according to each subregion server.
Preferably, the second processing unit 204 specifically for:
According to the coordinate points of service-user, service-user is carried out cluster subregion, and determine the centroid position in each cluster areas;
From server connection situation, obtain the coordinate of each server, the server nearest with the centroid distance in cluster areas is defined as the server providing application service in cluster areas.
Preferably, the server as network coordinate datum mark that the first processing unit 203 is determined should meet following requirement:
As network coordinate datum mark server between distance should be greater than distance between other servers;
Server as network coordinate datum mark is the server near backbone network.
Preferably, also decision unit is comprised;
Acquiring unit 201 also for: before the acquisition IP address of service-user and the IP address of alternate servers node, obtain the information on services of service-user under application service system;
Decision unit is used for: according to information on services, estimates current service quality and the current network service environment of application service system; If the current service quality of application service system exceeds the threshold value of setting, or the current network service environment of application service system becomes bad, then adjudicate and expand application service system.
In above-described embodiment, by obtaining the IP address of service-user and the IP address of alternate servers, the IP address of service-user and the IP address of other alternate servers of application service system is sent to each alternate servers, to make each alternate servers send network detection request to the IP address of the IP address of service-user and other alternate servers nodes, by such mode application service system just can be real-time each alternate servers of acquisition between network-in-dialing situation and the network-in-dialing situation of alternate servers and service-user.By the network-in-dialing situation of the network-in-dialing situation between each alternate servers of Real-time Obtaining and alternate servers and service-user, and the server of each server in application service system and alternate servers is communicated with situation and carries out dynamic server disposition, improve flexibility and real-time that application service system carries out server disposition, be conducive to strengthening the autgmentability of application service system, for user provide more efficiently, service quality more flexibly.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a method for application service system expansion, is characterized in that, comprising:
Obtain the IP address of service-user and the IP address of alternate servers, described alternate servers is connected with at least one server in application service system;
The IP address of the service-user of described application service system and the IP address of other alternate servers is sent to each alternate servers, to make each alternate servers send network detection request to the IP address of described service-user and the IP address of other alternate servers nodes, thus the network-in-dialing situation of the network-in-dialing situation obtained between each alternate servers and alternate servers and service-user;
Server according to each server in described application service system and alternate servers is communicated with situation, determines the server as network coordinate datum mark, and builds network coordinate system based on described network coordinate datum mark; Wherein, described server be communicated with in network-in-dialing situation, alternate servers and application service system that situation comprises between described alternate servers the network-in-dialing situation between server, network-in-dialing situation between each server in described application service system;
Be communicated with situation based on each server in the network-in-dialing situation of alternate servers and service-user and described application service system and described service-user, subregion carried out to described service-user, and determines the server that application service is provided in each subregion.
2. the method for claim 1, it is characterized in that, each server in the described network-in-dialing situation based on alternate servers and service-user and described application service system is communicated with situation with described service-user, subregion is carried out to described service-user, and determine the server disposed in each subregion, be specially:
Based on alternate servers and service-user be communicated with each server in situation and described application service system and described service-user be communicated with situation, determine the coordinate points of described service-user under described network coordinate system;
Coordinate points according to described service-user carries out subregion, is communicated with situation, determines the server providing application service in each subregion according to server described in each subregion.
3. method as claimed in claim 2, it is characterized in that, the described coordinate points according to described service-user carries out subregion, is communicated with situation, determines the server disposed in each subregion, be specially according to server described in each subregion:
According to the coordinate points of described service-user, described service-user is carried out cluster subregion, and determine the centroid position in each cluster areas;
From described server connection situation, obtain the coordinate of each server, the server nearest with the centroid distance in described cluster areas is defined as the server providing application service in described cluster areas.
4. the method for claim 1, is characterized in that, described in determine that the server as network coordinate datum mark should meet following requirement:
As network coordinate datum mark server between distance should be greater than distance between other servers;
Server as network coordinate datum mark is the server near backbone network.
5. the method for claim 1, is characterized in that, before the IP address of described acquisition service-user and the IP address of alternate servers node, also comprises:
Obtain the information on services of described service-user under described application service system;
According to described information on services, estimate current service quality and the current network service environment of described application service system;
If the current service quality of described application service system exceeds the threshold value of setting, or the current network service environment of described application service system becomes bad, then adjudicate and expand described application service system.
6. a device for application service system expansion, is characterized in that, comprising:
Acquiring unit, for the IP address of the IP address and alternate servers that obtain service-user, described alternate servers is connected with at least one server in application service system;
Transmitting element, for the IP address of the IP address from the service-user of described application service system to each alternate servers He other alternate servers that send, to make each alternate servers send network detection request to the IP address of described service-user and the IP address of other alternate servers nodes, thus the network-in-dialing situation of the network-in-dialing situation obtained between each alternate servers and alternate servers and service-user;
First processing unit, is communicated with situation for the server according to each server in described application service system and alternate servers, determines the server as network coordinate datum mark, and build network coordinate system based on described network coordinate datum mark; Wherein, described server be communicated with in network-in-dialing situation, alternate servers and application service system that situation comprises between described alternate servers the network-in-dialing situation between server, network-in-dialing situation between each server in described application service system;
Second processing unit, for being communicated with situation based on each server in the network-in-dialing situation of alternate servers and service-user and described application service system and described service-user, subregion is carried out to described service-user, and determines the server that application service is provided in each subregion.
7. device as claimed in claim 6, is characterized in that, described second processing unit specifically for:
Based on alternate servers and service-user be communicated with each server in situation and described application service system and described service-user be communicated with situation, determine the coordinate points of described service-user under described network coordinate system;
Coordinate points according to described service-user carries out subregion, is communicated with situation, determines the server providing application service in each subregion according to server described in each subregion.
8. device as claimed in claim 7, is characterized in that, described second processing unit specifically for:
According to the coordinate points of described service-user, described service-user is carried out cluster subregion, and determine the centroid position in each cluster areas;
From described server connection situation, obtain the coordinate of each server, the server nearest with the centroid distance in described cluster areas is defined as the server providing application service in described cluster areas.
9. device as claimed in claim 6, it is characterized in that, the server as network coordinate datum mark that described first processing unit is determined should meet following requirement:
As network coordinate datum mark server between distance should be greater than distance between other servers;
Server as network coordinate datum mark is the server near backbone network.
10. device as claimed in claim 6, is characterized in that, also comprise decision unit;
Described acquiring unit also for: acquisition the IP address of service-user and the IP address of alternate servers node before, obtain the information on services of described service-user under described application service system;
Described decision unit is used for:
According to described information on services, estimate current service quality and the current network service environment of described application service system;
If the current service quality of described application service system exceeds the threshold value of setting, or the current network service environment of described application service system becomes bad, then adjudicate and expand described application service system.
CN201510053681.2A 2015-01-30 2015-01-30 A kind of method and device of application service system extension Expired - Fee Related CN104702667B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510053681.2A CN104702667B (en) 2015-01-30 2015-01-30 A kind of method and device of application service system extension

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510053681.2A CN104702667B (en) 2015-01-30 2015-01-30 A kind of method and device of application service system extension

Publications (2)

Publication Number Publication Date
CN104702667A true CN104702667A (en) 2015-06-10
CN104702667B CN104702667B (en) 2018-04-27

Family

ID=53349426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510053681.2A Expired - Fee Related CN104702667B (en) 2015-01-30 2015-01-30 A kind of method and device of application service system extension

Country Status (1)

Country Link
CN (1) CN104702667B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308995A (en) * 2019-07-08 2019-10-08 童晓雯 A kind of edge cloud computing service system edges cloud node deployment device
CN111985569A (en) * 2020-08-21 2020-11-24 哈尔滨工业大学(威海) Anonymous node positioning method based on multi-source point clustering idea

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938521A (en) * 2010-09-10 2011-01-05 华中科技大学 Method for transmitting signaling in VoIP system
CN102075359A (en) * 2011-01-17 2011-05-25 北京瑞汛世纪科技有限公司 Network coordinate-based server deployment method and device
CN103716402A (en) * 2013-12-31 2014-04-09 北京邮电大学 Selection system and method of servers
CN103731289A (en) * 2012-10-16 2014-04-16 无锡云捷科技有限公司 Method for automatic expansion of network server
US20140143407A1 (en) * 2012-11-21 2014-05-22 Telefonaktiebolaget L M Ericsson (Publ) Multi-objective server placement determination
CN104065737A (en) * 2014-07-03 2014-09-24 北京瑞汛世纪科技有限公司 Method and system for determining deployment scheme of service nodes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938521A (en) * 2010-09-10 2011-01-05 华中科技大学 Method for transmitting signaling in VoIP system
CN102075359A (en) * 2011-01-17 2011-05-25 北京瑞汛世纪科技有限公司 Network coordinate-based server deployment method and device
CN103731289A (en) * 2012-10-16 2014-04-16 无锡云捷科技有限公司 Method for automatic expansion of network server
US20140143407A1 (en) * 2012-11-21 2014-05-22 Telefonaktiebolaget L M Ericsson (Publ) Multi-objective server placement determination
CN103716402A (en) * 2013-12-31 2014-04-09 北京邮电大学 Selection system and method of servers
CN104065737A (en) * 2014-07-03 2014-09-24 北京瑞汛世纪科技有限公司 Method and system for determining deployment scheme of service nodes

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨雅辉 等: ""P2P流媒体系统服务器部署的优化设计"", 《计算机研究与发展》 *
袁小群 等: ""一种新的服务器部署及其关键技术"", 《小型微型计算机系统》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110308995A (en) * 2019-07-08 2019-10-08 童晓雯 A kind of edge cloud computing service system edges cloud node deployment device
CN111985569A (en) * 2020-08-21 2020-11-24 哈尔滨工业大学(威海) Anonymous node positioning method based on multi-source point clustering idea

Also Published As

Publication number Publication date
CN104702667B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
US10289451B2 (en) Method, apparatus, and system for adjusting deployment location of virtual machine
CN109194707B (en) Distributed graph embedding method and device
EP2954644B1 (en) Dynamically determining node locations to apply learning machine based network performance improvement
US9544220B2 (en) Binary search-based approach in routing-metric agnostic topologies for node selection to enable effective learning machine mechanisms
JP6558374B2 (en) Scale number estimation apparatus, scale number management system, scale number estimation method, scale number management method, and computer program
CN109155760A (en) Path is grouped using fixed header size to record
US10831630B2 (en) Fault analysis method and apparatus based on data center
JP2007074711A (en) Method and system for generating annotated network topology, and program
CN104320324A (en) Virtual network mapping method based on link interference
CN113568860A (en) Deep learning-based topology mapping method, apparatus, medium, and program product
CN113300861B (en) Network slice configuration method, device and storage medium
CN104702667A (en) Method and device for expanding application service system
Jesus et al. Dependability in aggregation by averaging
US10785281B1 (en) Breaking down the load time of a web page into coherent components
Oliva et al. Distributed finite-time calculation of node eccentricities, graph radius and graph diameter
CN105515981A (en) Path computation method, tunnel establishment method, PCC, PCE and path computation system
CN115361295B (en) TOPSIS-based resource backup method, device, equipment and medium
CN103595631A (en) Method and device for setting up route
CN113361739B (en) Method and device for generating picking path
CN104426704A (en) Integration network device and service integration method thereof
CN105591773A (en) Method, apparatus and system for concurrent processing of service creation and increment discovery
KR20150079370A (en) Method for predicting link in big database
CN104320302A (en) Detecting method and device for RPR topology inconformity
US20170331716A1 (en) Active probing for troubleshooting links and devices
CN112217666B (en) Software defined network optimization method and device

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180427

Termination date: 20190130

CF01 Termination of patent right due to non-payment of annual fee