CN107070989A - Communication means and system - Google Patents
Communication means and system Download PDFInfo
- Publication number
- CN107070989A CN107070989A CN201710127985.8A CN201710127985A CN107070989A CN 107070989 A CN107070989 A CN 107070989A CN 201710127985 A CN201710127985 A CN 201710127985A CN 107070989 A CN107070989 A CN 107070989A
- Authority
- CN
- China
- Prior art keywords
- server
- client
- management platform
- normal
- guid
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1023—Server selection for load balancing based on a hash applied to IP addresses or costs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1008—Server selection for load balancing based on parameters of servers, e.g. available memory or workload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1029—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers using data related to the state of servers by a load balancer
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
The embodiment of the present invention provides a kind of communication means and system, and this method includes:The server assignment request for carrying GUID that client is sent is received, the GUID is calculated its corresponding Terminal Equipment Identifier and application identities using default hashing algorithm by client and obtained;Obtain the quantity of the normal server of working condition;With GUID rear N characters plus and to normal server quantity carry out complementation, determine destination server;The IP address of destination server is sent to client, for client and destination server foundation communication connection.Because the mark of different terminal equipment is different, different application application identities are different, for different clients, the input of hashing algorithm will be different and length is longer, improves the hash uniformity of output, to improve the distribution harmony of server.Because management platform is the distribution server in the normal server of working condition, it is ensured that the high availability of the server distributed for client.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of communication means and system.
Background technology
With the development of Internet technology, various network applications are continued to bring out like the mushrooms after rain, such as video
Live class application, the application of online game class etc., to enrich the entertainment life of people.
For an application provider, there may be the network application that mass users use it to provide, if the application is carried
Supplier only disposes a server, it is more likely that can not meet the use demand of mass users, therefore, is often needed using provider
Configure multiple servers.When being configured with multiple servers, when user needs to use network application, which distributes for the user
It is the matter of utmost importance that needs face that individual server provides service for it.Further, during server-assignment is carried out, such as
What realizes as far as possible average distribution, to cause accessing user's relative equilibrium of each server, and the clothes that guarantee distributes for user
Business device is available, is urgent problem to be solved.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of communication means and system, to distribute available service for user
Device, and improve the harmony of server-assignment.
The embodiment of the present invention provides a kind of communication means, is implemented in management platform side, including:
The server assignment request that client is sent is received, the server assignment request includes the client correspondence
GUID, the GUID is by the client using default hashing algorithm to the client pair
The Terminal Equipment Identifier and application identities answered, which are calculated, to be obtained;
Normal server quantity is obtained, the normal server refers to the normal server of working condition;
With adding and to normal server quantity progress remainder fortune for rear N characters of the GUID
Calculate, destination server is determined according to operation result;
The IP address of the destination server is sent to the client, for the client and the destination server
Set up communication connection.
The embodiment of the present invention provides another communication means, is implemented in the client-side of user, including:
The corresponding Terminal Equipment Identifier of client and application identities are calculated using default hashing algorithm, to obtain
State the corresponding GUID of client;
Server assignment request is sent to management platform, the server assignment request includes the globally unique identifier
Symbol, so that the management platform adding and positive informal dress to currently obtaining according to rear N characters of the GUID
Device quantity of being engaged in carries out complementation, to determine destination server according to operation result;
The IP address for the destination server that the management platform is sent is received, with according to the IP address and the mesh
Mark server and set up communication connection.
The embodiment of the present invention provides a kind of communication system, including:
Client, management platform and multiple servers;
The client, for being entered using default hashing algorithm to the corresponding Terminal Equipment Identifier of client and application identities
Row is calculated, to obtain the corresponding GUID of the client;Being sent to the management platform includes the overall situation only
The server assignment request of one identifier;The IP address of the destination server fed back according to the management platform, with the target
Server sets up communication connection;
The management platform, in response to the server assignment request, obtaining normal server quantity;With described complete
Adding and to normal server quantity progress complementation for rear N characters of office's unique identifier, it is true according to operation result
Set the goal server;The IP address of the destination server is sent to the client.
Communication means provided in an embodiment of the present invention and system, client is using default hashing algorithm to its corresponding terminal
Device identification and application identities are calculated, to obtain GUID (Globally Unique Identifier, abbreviation
GUID), the server assignment request for carrying the GUID and then is sent to management platform, request management platform is its distribution service
Device.Management platform is primarily based on the monitoring whether normal to the working condition of each server, obtains working condition and normally services
The quantity of device, to ensure that for the server that client is distributed be available;And then adding and to the number with GUID rear N characters
Amount carry out complementation, determine destination server, the rear IP address that the destination server is sent to client, for client
Set up and communicate to connect with destination server.Because the number of servers of acquisition corresponds to the normal server of current operating state
, it is ensured that the validity of the server distributed for client.Further, since the mark of different terminal equipment is different, different
The application identities of application are different, are used as input using this two class mark so that for different clients, the input of hashing algorithm
It is different and length is longer, so as to improve the corresponding GUID of different clients otherness, and hash can also be improved
The hash uniformity of algorithm output, so that balanced according to the distribution that can also improve server as server-assignment based on GUID
Property.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of communication means embodiment one provided in an embodiment of the present invention;
Fig. 2 is the flow chart of communication means embodiment two provided in an embodiment of the present invention;
Fig. 3 is the flow chart of communication means embodiment three provided in an embodiment of the present invention;
Fig. 4 is the structural representation of communication system provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, and is not intended to be limiting
The present invention." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims
It is also intended to including most forms, unless context clearly shows that other implications, " a variety of " generally comprise at least two, but not
Exclude and include at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent
There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while there is A and B, individualism B these three
Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
It will be appreciated that though XXX may be described using term first, second, third, etc. in embodiments of the present invention, but
These XXX should not necessarily be limited by these terms.These terms are only used for XXX being distinguished from each other out.For example, not departing from implementation of the present invention
In the case of example scope, the first XXX can also be referred to as the 2nd XXX, similarly, and the 2nd XXX can also be referred to as the first XXX.
Depending on linguistic context, word as used in this " if ", " if " can be construed to " ... when " or
" when ... " or " in response to determining " or " in response to detection ".Similarly, depending on linguistic context, phrase " if it is determined that " or " such as
Fruit detection (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when detection (statement
Condition or event) when " or " in response to detection (condition or event of statement) ".
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability
Comprising, so that commodity or system including a series of key elements not only include those key elements, but also including without clear and definite
Other key elements listed, or also include for this commodity or the intrinsic key element of system.In the feelings of not more limitations
Under condition, the key element limited by sentence "including a ...", it is not excluded that in the commodity or system including the key element also
There is other identical element.
Fig. 1 is the flow chart of communication means embodiment one provided in an embodiment of the present invention, the communication that the present embodiment is provided
Method can be performed by the management platform in a communication system, in the communication system can include client, management platform and
Multiple servers.In practical application, multiple servers in the communication system can provide a kind of network application and can also provide
Multiple network application, still, the quantity corresponding to the server of certain network application is also multiple.Corresponding, client can be with
The multiple client for corresponding to a kind of client of network application or being applied corresponding to multiple network.Such as Fig. 1 institutes
Show, this method comprises the following steps:
Step 101, the server assignment request for receiving client transmission, server assignment request include client correspondence
GUID.
Specifically, the GUID uses default hashing algorithm to the corresponding Terminal Equipment Identifier of client and application by client
Mark, which is calculated, to be obtained.
Wherein, the default hashing algorithm such as can be MD5 algorithms, SHA1 algorithms etc..
Wherein, application identities can be that Apply Names of the network application corresponding to the client etc. is used to represent the application
Mark.Terminal Equipment Identifier refers to the mark for the terminal device that the client is installed on, such as can include terminal device
Equipment Serial Number, international mobile equipment identification number (International Mobile Equipment Identity, referred to as
IMEI) etc..
What deserves to be explained is, the input of default hashing algorithm is only illustrated in the present embodiment includes client corresponding end
End equipment is identified and application identities, but in practical application, input is not limited to this two class mark, can also include other marks
Know, such as can also include user's mark, user mark such as can be for the telephone number of user, using account etc..
The effect of hashing algorithm is to carry out certain hash operations to the parameter of input, is fixed the output of length, i.e.,
Above-mentioned GUID length is fixed, generally 128 binary-coded characters, i.e. 16 byte characters.Generally, can be by for convenience of representing
It is converted to 32 hexadecimal characters.
In the present embodiment, in order to improve the hash degree of hashing algorithm output result, from two aspects to hashing algorithm
Input parameter is configured:The length of input parameter is improved, the otherness of input parameter is improved.
Therefore, because different, different application the mark of mark of different terminal equipment is different, not even with use
Often identical probability is relatively low for the mark at family, therefore, using a variety of marks as the input parameter of hashing algorithm, can to dissipate
There is obvious otherness between the input parameter of row algorithm.Moreover, using a variety of marks as input parameter, also causing hashing algorithm
Input length it is longer.
Step 102, acquisition normal server quantity.
Wherein, normal server refers to the normal server of working condition.
In practical application, with the continuous operation of multiple servers, it is possible that part server working condition is abnormal
Situation.In the present embodiment, in order to ensure the validity of the server distributed for client, it is to avoid being assigned with for client can not
The server effectively worked, management platform needs to monitor the working condition of each server, in order to understand the work of each server
State.
Alternatively, management platform periodically can carry out spy work to each server respectively at a time interval, to monitor
The working condition of each server, and then determine the quantity for the server still survived as normal server quantity.And/or, it is optional
Ground, management platform can periodically obtain the load pressure of each server respectively at a time interval, to monitor each server
Working condition, and then determine that load pressure is used as normal server quantity less than the quantity of server of predetermined threshold value.
Specifically, above-mentioned spy work can visit mechanism living based on ping, pong between management platform and server to realize
, i.e., management platform sends a ping to server and visits message living, if receiving the server feedback within a certain period of time
Pang response messages, then illustrate that the server contention states are normal, whereas if being not received by the service within a certain period of time
The pang response messages of device feedback, then illustrate that the server contention states are abnormal.
Alternatively, the load pressure of above-mentioned server can be with parameter characterizations such as the CPU usages of server.
Step 103, adding and to the progress complementation of normal server quantity with GUID rear N characters, with according to fortune
Calculate result and determine destination server.
Corresponding to GUID hexadecimal representation, N values are such as 6, i.e., latter 6, now corresponding to binary system
Rear 3 bytes of representation.
It should be noted that in the embodiment of the present invention, in logic, can be by this multiple clothes for above-mentioned multiple servers
Business device is put into a queue.In fact, be put into queue such as can be server mark, each server have only
One constant mark.When management platform is operated the monitoring of state to multiple servers, which part server work shape is determined
When state is abnormal, corresponding abnormal server can be removed from the queue.
As an example it is assumed that 10 servers altogether, T1 moment management platform is operated state to multiple servers
Monitoring, it is determined that whole server contention states are good, then server queue now includes inserting successively according to preset order
Whole servers.Now, normal server quantity is 10, it is assumed that the operation result obtained after the calculating of step 103 is
5, then it is assumed that it is destination server to come the 6th server in queue.Assume again that T2 moment management platform to multiple servers
The monitoring of state is operated, determines that certain server contention states therein are abnormal, then will be deleted in server queue now
Except the abnormal server, it is assumed that the abnormal server is the original server for coming the 6th.Now, normal server quantity
It is changed into 9, it is assumed that the operation result obtained after the calculating of step 103 is still 5, then due to coming the server of the 6th originally
Deleted dequeue, the server that the 7th was come originally now becomes to come the 6th, then now thinks to come team now
The 6th server in row is that the original server for coming the 7th is destination server.
What deserves to be explained is, in the present embodiment, it is assumed that calculated by step 103 obtain for M, then corresponding to server team
The server of M+1 is come in row.
Step 104, the IP address to client transmission destination server, set up with destination server for client and communicate
Connection.
The IP address of each server is previously stored with management platform, specifically, such as with being stored with the IP of each server
Mapping table between location and server identification.So as to after destination server mark is determined, inquire about the corresponding relation, obtain
To corresponding IP address.
In the present embodiment, client is using default hashing algorithm to its corresponding Terminal Equipment Identifier and application identities meter
Calculate, to obtain GUID, and then the server assignment request for carrying the GUID is sent to management platform, request management platform is its point
With server.Management platform is primarily based on the monitoring whether normal to the working condition of each server, obtains working condition normal
Server quantity, with ensure for client distribute server be available.And then with GUID rear N characters plus and
To the quantity carry out complementation, to determine destination server, the rear IP address that the destination server is sent to client, with
Set up and communicate to connect for client and destination server.Due to the number of servers of acquisition, to correspond to current operating state normal
Server, it is ensured that the validity of the server distributed for client.Further, since the mark of different terminal equipment is not
The application identities of same, different application are different, are used as input using this two class mark so that for different clients, hash calculation
The input of method is different and length is longer, so as to improve the corresponding GUID of different clients otherness, and can also
The hash uniformity of hashing algorithm output is improved, so that server can also be improved as server-assignment foundation based on GUDI
Distribution is harmonious.
Fig. 2 is the flow chart of communication means embodiment two provided in an embodiment of the present invention, the communication that the present embodiment is provided
Method can be performed by the client in a communication system, and client, management platform and many can be included in the communication system
Individual server.In practical application, multiple servers in the communication system, which can provide a kind of network application, can also provide many
Network application is planted, still, the quantity corresponding to the server of certain network application is also multiple.Corresponding, client can be
A kind of client corresponding to network application or the multiple client corresponding to multiple network application.As shown in Fig. 2
This method comprises the following steps:
Step 201, using default hashing algorithm the corresponding Terminal Equipment Identifier of client and application identities are calculated,
To obtain the corresponding GUID of client.
Generation GUID process may refer to the related description in previous embodiment in the present embodiment, will not be repeated here.
Alternatively, client can perform above-mentioned generation GUID mistake when being triggered need to be connected with server every time
Journey, but it is also possible to when generating the GUID first, the GUID locally be preserved, when need to use next time, from storage
The GUID is read in space, without generating again, unless changed for the input parameter for generating GUID, such as user
Having changed terminal device causes Terminal Equipment Identifier to change.
Step 202, to management platform server assignment request is sent, server assignment request includes GUID.
The GUID is used to cause management platform adding and normal server to currently obtaining according to GUID rear N characters
Quantity carries out complementation, determines destination server.
Step 203, the IP address for receiving the destination server that management platform is sent, with according to IP address and destination server
Set up communication connection.
The specific implementation procedure of above-mentioned two step may refer to the description in previous embodiment, will not be described here.
In the description based on previous embodiment, client has established the situation of communication connection with above-mentioned destination server
Under, cause the application of client not use normally for the unexpected exception that avoids server, the embodiment of the present invention additionally provide as
Mechanism shown in Fig. 3, to ensure the reliability of communication connection.
Fig. 3 is the flow chart of communication means embodiment three provided in an embodiment of the present invention, as shown in figure 3, in abovementioned steps
After 203, it can also comprise the following steps:
Step 301, every prefixed time interval, spy work is carried out to destination server, if destination server is abnormal, to pipe
Platform resends server assignment request.
After client establishes communication connection with destination server, client can be with per between at regular intervals
Message living is visited every sending a ping to destination server, if receiving the pong of destination server feedback within a certain period of time
Response message, then illustrate that the destination server working condition is normal, whereas if being not received by the target within a certain period of time
The pang response messages of server feedback, then illustrate that the destination server working condition is abnormal, if it find that destination server is different
Often, then new server can be distributed using retriggered management platform as it, specifically such as resends and carries to management platform
GUID server assignment request.
What deserves to be explained is, because management platform also regularly can carry out spy work to each server, to determine each server
Whether working condition is abnormal, therefore, when client re-request management platform distribution server, and management platform is based on to each clothes
The monitoring of the working condition of business device, client can be detected the abnormal server determined exclude outside normal server, it is ensured that
Again the server distributed for client will not be abnormal server.
To sum up, the spy of the server with reference to client to having connected is lived, and spy of the management platform to each server is lived,
Can ensure for client distribute server validity so that the communication connection of client and corresponding server can
By property.
If step 302, the connection duration of communication connection between destination server reach preset duration threshold value, disconnect logical
Letter connection, server assignment request is resend to management platform.
In the present embodiment, client may based on the working condition that spy mechanism living as above monitors its server connected
The problem of having all anomalies that can not monitor server completely.In such as practical application, there may be client
Hold the communication connection with server still normal, client visits living still working properly to server, but actually in server
Certain function has been absorbed in endless loop, and client does not find out this abnormal conditions.
Communicated therefore, additionally providing the mechanism for forcing to reconnect, i.e. client in the present embodiment with destination server foundation
After connection, if the connection duration of the communication connection reaches preset duration threshold value, force to disconnect the communication connection, again please
It is its distribution server to seek management platform, with the validity for the server for ensureing client connection.
The communication system of one or more embodiments of the invention described in detail below.
Fig. 4 is the structural representation of communication system provided in an embodiment of the present invention, as shown in figure 4, the system includes:Client
End 1, management platform 2 and multiple servers 3.
The client 1, for using default hashing algorithm to the corresponding Terminal Equipment Identifier of client 1 and application identities
Calculated, to obtain the corresponding GUID of the client;Being sent to the management platform 2 includes the overall situation
The server assignment request of unique identifier;The IP address of the destination server fed back according to the management platform 2 and the mesh
Mark server and set up communication connection.
The management platform 2, in response to the server assignment request, obtaining normal server quantity, it is described just
Normal server refers to the normal server of working condition;With adding and to described for rear N characters of the GUID
Normal server quantity carries out complementation, and destination server is determined according to operation result;By the IP of the destination server
Location is sent to the client 1.
Alternatively, the management platform 2 specifically for:
Spy work is carried out to each server respectively, it is determined that the quantity for the server still survived is used as the normal server number
Amount;And/or,
The load pressure of each server is obtained respectively, determines quantity of the load pressure less than the server of predetermined threshold value
It is used as the normal server quantity.
Alternatively, the client 1 is additionally operable to:
Spy work is carried out to the destination server every prefixed time interval, if the destination server is abnormal, to institute
State management platform and resend the server assignment request.
Alternatively, the client 1 is additionally operable to:
If the connection duration of the communication connection reaches preset duration threshold value, the communication connection is disconnected, with to described
Management platform resends the server assignment request.
System shown in Figure 4 can perform the method for Fig. 1-embodiment illustrated in fig. 3, the part that the present embodiment is not described in detail,
Refer to the related description to Fig. 1-embodiment illustrated in fig. 3.The implementation procedure and technique effect of the technical scheme are referring to Fig. 1-Fig. 3
Description in illustrated embodiment, will not be repeated here.
System embodiment described above is only schematical, wherein the unit illustrated as separating component can
To be or may not be physically separate, the part shown as unit can be or may not be physics list
Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs
In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness
Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
Realized by the mode of general hardware platform necessary to add, naturally it is also possible to pass through hardware.Understood based on such, above-mentioned skill
The part that art scheme substantially contributes to prior art in other words can be embodied in the form of product, computer production
Product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are to cause one
Platform computer installation (can be personal computer, server, or network equipment etc.) performs each embodiment or embodiment
Some parts described in method.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used
To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and
Scope.
Claims (9)
1. a kind of communication means, it is characterised in that including:
The server assignment request that client is sent is received, it is corresponding complete that the server assignment request includes the client
Office's unique identifier, the GUID is corresponding to the client using default hashing algorithm by the client
Terminal Equipment Identifier and application identities, which are calculated, to be obtained;
Normal server quantity is obtained, the normal server refers to the normal server of working condition;
With adding and to normal server quantity progress complementation, root for rear N characters of the GUID
Destination server is determined according to operation result;
The IP address of the destination server is sent to the client, for the client and destination server foundation
Communication connection.
2. according to the method described in claim 1, it is characterised in that the acquisition normal server quantity, including:
Spy work is carried out to each server respectively, it is determined that the quantity for the server still survived is used as the normal server quantity;With/
Or,
The load pressure of each server is obtained respectively, determines quantity conduct of the load pressure less than the server of predetermined threshold value
The normal server quantity.
3. a kind of communication means, it is characterised in that including:
The corresponding Terminal Equipment Identifier of client and application identities are calculated using default hashing algorithm, to obtain the visitor
The corresponding GUID in family end;
Server assignment request is sent to management platform, the server assignment request includes the GUID,
So that the management platform according to rear N characters of the GUID plus and normal server to currently obtaining
Quantity carries out complementation, to determine destination server according to operation result;
The IP address for the destination server that the management platform is sent is received, to be taken according to the IP address and the target
Business device sets up communication connection.
4. method according to claim 3, it is characterised in that methods described also includes:
Every prefixed time interval, spy work is carried out to the destination server;
If the destination server is abnormal, the server assignment request is resend to the management platform.
5. the method according to claim 3 or 4, it is characterised in that methods described also includes:
If the connection duration of the communication connection reaches preset duration threshold value, the communication connection is disconnected, with to the management
Platform resends the server assignment request.
6. a kind of communication system, it is characterised in that including:
Client, management platform and multiple servers;
The client, based on being carried out using default hashing algorithm to the corresponding Terminal Equipment Identifier of client and application identities
Calculate, to obtain the corresponding GUID of the client;Being sent to the management platform includes the globally unique mark
Know the server assignment request of symbol;The IP address of the destination server fed back according to the management platform, with the destination service
Device sets up communication connection;
The management platform, in response to the server assignment request, obtaining normal server quantity;With the overall situation only
Rear N characters of one identifier plus and to the normal server quantity carry out complementation, mesh is determined according to operation result
Mark server;The IP address of the destination server is sent to the client.
7. system according to claim 6, it is characterised in that the management platform specifically for:
Spy work is carried out to each server respectively, it is determined that the quantity for the server still survived is used as the normal server quantity;With/
Or,
The load pressure of each server is obtained respectively, determines quantity conduct of the load pressure less than the server of predetermined threshold value
The normal server quantity.
8. system according to claim 6, it is characterised in that the client is additionally operable to:
Spy work is carried out to the destination server every prefixed time interval, if the destination server is abnormal, to the pipe
Platform resends the server assignment request.
9. the system according to any one of claim 6 to 8, it is characterised in that the client is additionally operable to:
If the connection duration of the communication connection reaches preset duration threshold value, the communication connection is disconnected, with to the management
Platform resends the server assignment request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710127985.8A CN107070989A (en) | 2017-03-06 | 2017-03-06 | Communication means and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710127985.8A CN107070989A (en) | 2017-03-06 | 2017-03-06 | Communication means and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107070989A true CN107070989A (en) | 2017-08-18 |
Family
ID=59621543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710127985.8A Pending CN107070989A (en) | 2017-03-06 | 2017-03-06 | Communication means and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107070989A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108683722A (en) * | 2018-05-10 | 2018-10-19 | 中国银行股份有限公司 | A kind of method of data transmission, ESB platforms and client |
CN108769111A (en) * | 2018-04-17 | 2018-11-06 | 平安科技(深圳)有限公司 | A kind of server connection method, computer readable storage medium and terminal device |
CN109068331A (en) * | 2018-07-17 | 2018-12-21 | 济南普赛通信技术有限公司 | A kind of automatic dividing method and device of wireless terminal node |
CN109587258A (en) * | 2018-12-14 | 2019-04-05 | 北京金山云网络技术有限公司 | Activating method and device are visited in a kind of service |
CN110213316A (en) * | 2018-06-01 | 2019-09-06 | 腾讯科技(深圳)有限公司 | Method for routing and device |
CN110311967A (en) * | 2019-06-25 | 2019-10-08 | 北京达佳互联信息技术有限公司 | The method, apparatus of data-pushing and data receiver, equipment and system |
CN110661887A (en) * | 2019-10-29 | 2020-01-07 | 中国人民解放军32039部队 | Method and device for establishing communication link, communication system and server |
CN113342405A (en) * | 2021-06-25 | 2021-09-03 | 支付宝(杭州)信息技术有限公司 | Service recovery method, device and equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1464414A (en) * | 2002-06-28 | 2003-12-31 | 杨俊群 | Process for increasing computer network system capacity |
CN101247349A (en) * | 2008-03-13 | 2008-08-20 | 华耀环宇科技(北京)有限公司 | Network flux fast distribution method |
CN102571575A (en) * | 2011-12-29 | 2012-07-11 | 奇智软件(北京)有限公司 | Session information creation method, device and system |
CN106101290A (en) * | 2016-08-25 | 2016-11-09 | Tcl集团股份有限公司 | A kind of method and system of server cluster management |
-
2017
- 2017-03-06 CN CN201710127985.8A patent/CN107070989A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1464414A (en) * | 2002-06-28 | 2003-12-31 | 杨俊群 | Process for increasing computer network system capacity |
CN101247349A (en) * | 2008-03-13 | 2008-08-20 | 华耀环宇科技(北京)有限公司 | Network flux fast distribution method |
CN102571575A (en) * | 2011-12-29 | 2012-07-11 | 奇智软件(北京)有限公司 | Session information creation method, device and system |
CN106101290A (en) * | 2016-08-25 | 2016-11-09 | Tcl集团股份有限公司 | A kind of method and system of server cluster management |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108769111A (en) * | 2018-04-17 | 2018-11-06 | 平安科技(深圳)有限公司 | A kind of server connection method, computer readable storage medium and terminal device |
CN108683722A (en) * | 2018-05-10 | 2018-10-19 | 中国银行股份有限公司 | A kind of method of data transmission, ESB platforms and client |
CN108683722B (en) * | 2018-05-10 | 2022-03-11 | 中国银行股份有限公司 | Data transmission method, ESB platform and client |
CN110213316A (en) * | 2018-06-01 | 2019-09-06 | 腾讯科技(深圳)有限公司 | Method for routing and device |
CN110213316B (en) * | 2018-06-01 | 2021-09-03 | 腾讯科技(深圳)有限公司 | Routing method and device |
CN109068331A (en) * | 2018-07-17 | 2018-12-21 | 济南普赛通信技术有限公司 | A kind of automatic dividing method and device of wireless terminal node |
CN109587258B (en) * | 2018-12-14 | 2022-03-04 | 北京金山云网络技术有限公司 | Service activity detection method and device |
CN109587258A (en) * | 2018-12-14 | 2019-04-05 | 北京金山云网络技术有限公司 | Activating method and device are visited in a kind of service |
CN110311967A (en) * | 2019-06-25 | 2019-10-08 | 北京达佳互联信息技术有限公司 | The method, apparatus of data-pushing and data receiver, equipment and system |
CN110311967B (en) * | 2019-06-25 | 2022-06-10 | 北京达佳互联信息技术有限公司 | Method, device, equipment and system for pushing data and receiving data |
CN110661887A (en) * | 2019-10-29 | 2020-01-07 | 中国人民解放军32039部队 | Method and device for establishing communication link, communication system and server |
CN110661887B (en) * | 2019-10-29 | 2020-12-11 | 中国人民解放军32039部队 | Method and device for establishing communication link, communication system and server |
CN113342405A (en) * | 2021-06-25 | 2021-09-03 | 支付宝(杭州)信息技术有限公司 | Service recovery method, device and equipment |
CN113342405B (en) * | 2021-06-25 | 2022-04-29 | 支付宝(杭州)信息技术有限公司 | Service recovery method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107070989A (en) | Communication means and system | |
US9578081B2 (en) | System and method for providing an actively invalidated client-side network resource cache | |
JP3593528B2 (en) | Distributed network management system and method | |
US20120198268A1 (en) | Re-establishing push notification channels via user identifiers | |
US10445167B1 (en) | Automated method and system for diagnosing load performance issues | |
CN112751748B (en) | Session message management method, device, server and readable storage medium | |
CN103442030A (en) | Method and system for sending and processing service request messages and client-side device | |
US12101308B2 (en) | Managing a SSO session by an identity provider | |
CN106685907A (en) | Method and device for generating session key | |
CN112702229B (en) | Data transmission method, device, electronic equipment and storage medium | |
CN109510878A (en) | A kind of long connection session keeping method and device | |
Mendelson et al. | Anchorhash: A scalable consistent hash | |
CN111131443A (en) | Task pushing method and system | |
CN104144223B (en) | A kind of data capture method and device | |
CN103812881A (en) | Offline downloading control method and apparatus | |
CN110798402B (en) | Service message processing method, device, equipment and storage medium | |
CN106411713B (en) | State notification method and server | |
CN104852955B (en) | A kind of data processing method and system | |
WO2022213095A1 (en) | Systems and methods for simulating control panel state and control panel responses | |
CN106790610A (en) | A kind of cloud system message distributing method, device and system | |
US7543030B2 (en) | Peer-to-peer communication for instant messaging between different instant message application types | |
CN110933122B (en) | Method, apparatus and computer storage medium for managing server | |
CN111614726A (en) | Data forwarding method, cluster system and storage medium | |
GB2420256A (en) | Obtaining data from a server using first and second identifiers | |
CN114827159B (en) | Network request path optimization method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170818 |