CN106657259A - Route server and route service method used for server cluster - Google Patents

Route server and route service method used for server cluster Download PDF

Info

Publication number
CN106657259A
CN106657259A CN201610977464.7A CN201610977464A CN106657259A CN 106657259 A CN106657259 A CN 106657259A CN 201610977464 A CN201610977464 A CN 201610977464A CN 106657259 A CN106657259 A CN 106657259A
Authority
CN
China
Prior art keywords
server
connection request
entrained
client
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
CN201610977464.7A
Other languages
Chinese (zh)
Other versions
CN106657259B (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.)
Guangdong Yiwangtong Technology Co., Ltd
Original Assignee
Nubia Technology Co Ltd
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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610977464.7A priority Critical patent/CN106657259B/en
Publication of CN106657259A publication Critical patent/CN106657259A/en
Application granted granted Critical
Publication of CN106657259B publication Critical patent/CN106657259B/en
Active 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/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/566Grouping or aggregating service requests, e.g. for unified processing
    • 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

Abstract

The invention provides a route server and route service method used for a server cluster. The route server comprises an obtaining unit used for obtaining information carried by a connection request when receiving the connection request of a client; a selection unit used for, according to the information carried in the connection request, selecting a server in the server cluster; and a feedback unit used for generating a route list of the server and sending the route list to the client so that the client can be connected with the corresponding server. According to the invention, the burden of the server can be effectively mitigated, the processing efficiency of the server is improved, at the same time, gray-scale shunting is realized, the response speed of a client request is improved, and application experience of a user is improved.

Description

A kind of routing server and route service method for server cluster
Technical field
The present invention relates to server technology field, more particularly to a kind of routing server and route for server cluster Method of servicing.
Background technology
In present many systems or APP, all there is the function of pushing using message.By beyond the clouds with client it Between set up a stable, reliable long connection, the service that real-time messages are pushed to client application is provided for developer, help out Originator effectively pulls user to enliven.And all of message push the support for being required for background server to carry out correlation can Realize, keep long link, the real-time that message sends and receives can be realized.
Due to needing to keep a long connection between client and service end, therefore, if the quantity of client is a lot Words, it is necessary to which service end keeps the long connection of many numbers.And practical situation is, the client terminal quantity of general APP systems can reach It is as many as up to a million to tens, if so many connections are all connected on same server, can cause very big to the server Pressure, cause server unusable, delay machine or other problemses.
At present, APP systems generally provide service using server cluster.Generally provide a road in server cluster front end By server, routing server is accessed by interface is provided to client, obtains addressable route list.Then client again from One routing address of middle selection, carries out real data access.But current routing server is generally adopted and is pre-configured with road By information, therefore when visit capacity increases, it is difficult to ensure the equilibrium of service access, while causing the speed that client request is responded Slowly, Consumer's Experience is excessively poor.
The content of the invention
Present invention is primarily targeted at a kind of routing server and route service method for server cluster is proposed, Routing server is difficult to ensure that server cluster load balancing in solve the problems, such as technology.
For achieving the above object, the present invention adopts following technical schemes:
According to one aspect of the present invention, there is provided a kind of routing server for server cluster, including:
Acquiring unit, for after the connection request of client is received, obtaining the information entrained by the connection request;
Unit is chosen, for choosing the service in the server cluster according to information entrained in the connection request Device;
Feedback unit, for generating the route list of the server, and the route list is sent to the client End, so that the client connects corresponding server.
Further, the acquiring unit, is additionally operable to obtain check information entrained in the connection request, and judges Whether the check information meets preset requirement;
When judging to meet, then the clothes in the server cluster are chosen according to information entrained in the connection request Business device.
Further, the selection unit, specifically for:
Determine service available server according to application identities entrained in the connection request;
Obtain the operational factor of the service available server;
The loading condition of the server is calculated according to the operational factor, and chooses loading condition and meet pre-conditioned Server.
Further, the selection unit, is additionally operable to:
Before obtaining the operational factor of the service available server, application entrained in the connection request is judged Whether version is redaction;
When the application version is legacy version, the operational factor of the service available server is obtained;
When the application version is redaction, then directly chooses from the service available server and new edition is provided The server of this service.
Further, the selection unit, being additionally operable to can according to application identities determination entrained in the connection request Before the server of service is provided, exclusive identification code entrained in the connection request is obtained;
Judge whether the equipment needs upgrading according to the exclusive identification code;
When judging that the equipment needs upgrading, the server that device upgrade is provided is chosen from the server cluster; Otherwise, service available server is determined according to the application identities.
According to one aspect of the present invention, there is provided a kind of route service method for server cluster, including:
After the connection request of client is received, the information entrained by the connection request is obtained;
Server in the server cluster is chosen according to information entrained in the connection request;
The route list of the server is generated, and the route list is sent to the client, so as to the visitor Family end connects corresponding server.
Further, the information obtained entrained by the connection request, including:
Check information entrained in the connection request is obtained, and judges whether the check information meets default wanting Ask;
When judging to meet, then the clothes in the server cluster are chosen according to information entrained in the connection request Business device.
Further, the service chosen according to information entrained in the connection request in the server cluster Device, specifically includes:
Determine service available server according to application identities entrained in the connection request;
Obtain the operational factor of the service available server;
The loading condition of the server is calculated according to the operational factor, and chooses loading condition and meet pre-conditioned Server.
Further, before the operational factor for obtaining the service available server, methods described also includes:
Judge whether application version entrained in the connection request is redaction;
When the application version is legacy version, the operational factor of the service available server is obtained;
When the application version is redaction, then directly chooses from the service available server and new edition is provided The server of this service.
Further, it is described to determine service available server according to application identities entrained in the connection request Before, methods described also includes;
Obtain exclusive identification code entrained in the connection request;
Judge whether the equipment needs upgrading according to the exclusive identification code;
When judging that the equipment needs upgrading, the server that device upgrade is provided is chosen from the server cluster; Otherwise, service available server is determined according to the application identities.
Routing server and route service method for server cluster proposed by the present invention, by institute in acquisition request The information of carrying selects corresponding routing policy;And corresponding server is selected according to corresponding routing policy, can effectively subtract The burden of light server, it is ensured that server can be more effectively carried out message transmission;Believed by configuration version in a connection request The exclusive identification code information of breath and equipment, obtains in time using the client-side information of grayscale version, and the very first time will be corresponding Request is shunted, and improves the response speed of client request, improves the experience of user.
Description of the drawings
Fig. 1 is the theory diagram of the routing server in the embodiment of the present invention for server cluster;
Fig. 2 is the deployment Organization Chart of routing server and server cluster in the embodiment of the present invention;
Fig. 3 is the flow chart of the route service method in the embodiment of the present invention for server cluster;
Fig. 4 is the interaction diagrams of client and routing server in the embodiment of the present invention;
Fig. 5 is the sequence chart that server process connection request is route in the embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will be described further referring to the drawings in conjunction with the embodiments.
Specific embodiment
It should be appreciated that specific embodiment described herein is not intended to limit the present invention only to explain the present invention.
The mobile terminal of each embodiment of the invention is realized referring now to Description of Drawings.In follow-up description, use For represent element such as " module ", " part " or " unit " suffix only for be conducive to the present invention explanation, itself Not specific meaning.Therefore, " module " can be used mixedly with " part ".
The embodiment of the present invention provides a kind of routing server for server cluster.The routing server is used as server The preposition service of cluster, can intelligence the control client access server to be connected, improve server treatment effeciency, reality The load balancing of now length connection, while app can also be isolated to prevent from influencing each other and realizing the gray scale drain of higher level.
As shown in figure 1, the routing server for access server cluster provided in the embodiment of the present invention, concrete bag Include:
Acquiring unit 11, for after the connection request of client is received, obtaining the information entrained by connection request;
Unit 12 is chosen, for choosing the server in server cluster according to information entrained in connection request;
Feedback unit 13, for generating the route list of server, and route list is sent to client, so as to client The corresponding server of end connection.
The routing server for server cluster that the embodiment of the present invention is provided, by entrained in acquisition request Information selects corresponding routing policy;And corresponding server is selected according to corresponding routing policy.The present invention is according to request In solicited message select corresponding routing policy, alleviate the burden of server, it is ensured that server can be more effectively carried out Message is transmitted, and improves the treatment effeciency of server;Cause the request of client quickly to meet with a response simultaneously, improve user's Experience.
As shown in figure 1, the application architecture figure of routing server that the embodiment of the present invention is provided.Embodiment of the present invention Road The client high concurrent request of timely process in the form of cluster, can be easy to by server.Specifically, can adopt multiple The application server such as tomcat composition cluster.Server cluster includes being controlled in Push access service cluster and solely in the embodiment Vertical APP access services cluster.Some applications (for example system carries application) of terminal use centralized control and management, for The request of such application, is Terminal for service by access service cluster is controlled in Push.And some independent applications are directed to, for example QQ etc., by independent APP access services cluster service is provided.Client (Client SDK) is adopted and routing server cluster between Communicated with Http communication protocols, with Push in control and adopt between access service cluster and independent APP access services cluster SSL Communication protocol is communicated.
The unit of routing server in the present invention is described in detail with reference to Fig. 1.
Acquiring unit 11, for after the connection request of client is received, obtaining information entrained in connection request.
Wherein, acquiring unit 11 is specifically for after the connection request for receiving client, obtaining first in connection request The check information of carrying;Judge whether check information meets locally located preset requirement;When meeting, connection is further obtained The solicited message carried in request;When judging not meeting, then refuse the request of client, and refusal sound is sent to client Should.
Wherein, when client sends connection request, Https requests are sent to routing server.Carry in the request Check information, including one or more in customer parameter, signature, APP states.
Specifically, when acquiring unit 11 is verified to the check information carried in connection request, including:
After the customer parameter of client is obtained, judge that customer parameter is consistent with the presence or absence of the device parameter for locally prestoring, If when consistent, continuing subsequent treatment;Here, customer parameter includes user name and password;And/or, using signature to client End is authenticated, and after certification passes through, is carrying out subsequent treatment.For using signature proof procedure be already belonging to art people Technology known to member, is not discussed here.And/or, the status information of APP is verified, when APP processes off-line state, The connection request need not be processed, when only APP is in online, then carry out subsequent treatment.
Further, acquiring unit 11 obtain entrained information in connection request include application identities, application version with And the exclusive identification code (IMEI code) of equipment.Wherein, application identities are the ID of APP, can be mutual by APP according to the application identities Keep apart, while can be controlling access service cluster or independent APP access services in Differentiated Services whether Push according to APP ID Cluster provides service.And application version information refers to the version information of APP, two parts of different version APP in APP systems, one User is divided to use redaction, a part of user to adopt legacy version.Two versions provide service simultaneously.
Unit 12 is chosen, for selecting the server in server cluster according to the information carried in connection request.
Above-mentioned to refer to, acquiring unit 11 obtains information entrained in connection request to be included application identities, application version, sets Standby exclusive identification code, chooses here unit 12 and selects different routing policies according to different information, and then obtains to be carried For the server for servicing.
In one embodiment of the invention, choose unit 12 first according to the exclusive identification code of equipment screen, then further according to should Screened with mark, application version.
Specifically, choose whether unit 12 judges the equipment according to the exclusive identification code of the equipment carried in connection request Need upgrading;When judgement equipment needs upgrading, the server that device upgrade is provided is chosen from server cluster;When sentencing When disconnected equipment is not required to upgrading, further screen further according to applicable cases.
Wherein, when selection unit 12 is only further screened according to application identities, being determined according to application identities can provide service Server.Specifically, it is by control access service cluster in Push that can be determined according to application identities or accessing independent APP connects Enter service cluster and service is provided.
Obtain the operational factor of service available server;
The loading condition of the server is calculated according to operational factor, and chooses loading condition and meet pre-conditioned service Device.
Here, in an embodiment, trip information include current online user number and/or server cpu busy percentage, The performance parameters such as memory usage, bandwidth availability ratio or disk utilization.According to the performance parameter and the use for being undertaken of server Amount determines.Specifically, for example, it is first determined whether performance parameter meets predetermined threshold value, when meeting, do not do and distribute.When not When meeting, then the online user number of server is obtained, when number of users is more than predetermined threshold value, then do not do distribution process.Need It is bright, here for only laying down a definition and illustrating when judging load, it is not used in limitation of the invention.
Wherein, when selection unit 12 is further screened according to application identities and application version, determined according to application identities Service available server;
Judge whether application version entrained in connection request is redaction;
When application version is legacy version, the operational factor of service available server is obtained;Acquisition can provide service Server operational factor;According to the loading condition of operational factor calculation server, and choose the default bar of loading condition satisfaction The server of part;
When application version is redaction, then directly chooses from service available server and redaction service is provided Server.
Understand, by choosing unit 12 corresponding routing policy can be selected, and according to specific routing policy intelligence The control client access server to be connected, realizes the isolation of APP, it is to avoid mutually produce impact.Meanwhile, by believing version Cease and verified, realize gray scale drain, be conducive to the issue and maintenance of APP redactions.
Feedback unit 13, for generating the route list of server, and route list is sent to the client, so as to The client connects corresponding server.
Specifically, when the route list of server is generated, list includes one or more of routes to feedback unit 13 List information.The route list information is generated in the way of domain name, cluster of each domain name equivalent to an access service.Its In, in the route list of return, there is active and standby two kinds of route list, after facilitating implementation line fault, redundancy is realized, carry The success rate that height is connected.
Further, in one embodiment of the present of invention, acquiring unit 11 is additionally operable to choosing the selection server of unit 12 While, a token token information is obtained from caching.The time of client access server is defined in the token information Information.According to the token information, client realizes the information exchange with given server.And feedback unit 13, in back services During the route list of device, token information and route list are sent in the lump into client.
Further, in one embodiment of the present of invention, acquiring unit 11 is additionally operable to choose the selection server of unit 12 Meanwhile, from locally obtaining the access strategy that prestores.The access strategy is used for the strategy that client accesses route list information. Specifically, including every time the wrap count of each address is how many;And/or every time all routing address are accessed after failure, interval How long the access of line interface is entered again;And/or the maximum times that interface interval is accessed are how many, afterwards according between certain hour Every conduct interviews (such as one day);Can also be in the form of on-fixed interval.The access strategy can be by user's sets itself.And Feedback unit 13, in the route list of feedback server, access strategy and route list is sent in the lump into client.
Specifically, in an embodiment, client is performed locally polling mechanism, assembled from local routing list one by one to ask Address is asked, operation is made requests on.Each routing address carries out the request operation of 3 times, such as after request failure, then carries out next road Operated by the request of address.After the equal poll in all of local routing address, when all can not access, client is waited, More than 3 hours or so, routing server is asked again, carry out the acquisition operation of route list.Such as the route row for getting again Table, when accessing same failure, and the frequency of failure in the manner described above more than 5 times, is route according to the time period every 1 day The request operation of list.
Understood based on above-mentioned, by the access strategy that client is configured in routing server, can be realized more diversified Client access mode, accomplishes the access request of the controllable client of service end.Additionally, by arranging access strategy to a certain degree The upper request for reducing client to routing server, improves the handling capacity of routing server cluster.
As shown in figure 3, the route service method for access server cluster provided in the embodiment of the present invention, specifically Including:
Step 301, after the connection request of client is received, obtains the information entrained by connection request;
Step 302, according to information entrained in connection request the server in server cluster is chosen;
Step 303, generates the route list of server, and route list is sent to client, so as to client connection Corresponding server.
The route service method for server cluster that the embodiment of the present invention is provided, by entrained in acquisition request Information select corresponding routing policy;And corresponding server is selected according to corresponding routing policy.Present invention basis please Solicited message in asking selects corresponding routing policy, alleviates the burden of server, it is ensured that server can more effectively enter Row message is transmitted, and improves the treatment effeciency of server;Cause the request of client quickly to meet with a response simultaneously, improve user Experience.
Figure 4 below and Fig. 5 are described in detail to each step for routeing method of servicing in the present invention.
Step 301, for after the connection request of client is received, obtaining information entrained in connection request.
After the connection request for receiving client, the check information carried in connection request is obtained first;By route control System judges whether check information meets locally located preset requirement;When meeting, further obtain what is carried in connection request Solicited message;When judging not meeting, then refuse the request of client, and refusal respond is sent to client.
Wherein, when client sends connection request, Https requests are sent to routing server.Carry in the request Check information, including one or more in customer parameter, signature, APP states.
Specifically, when route test is verified to the check information carried in connection request, including:
After the customer parameter of client is obtained, judge that customer parameter is consistent with the presence or absence of the device parameter for locally prestoring, If when consistent, continuing subsequent treatment;Customer parameter includes user name and password;And/or, client is carried out using signature Certification, after certification passes through, is carrying out subsequent treatment.It is ripe for art personnel institute is already belonging to using the proof procedure of signature The technology known, is not discussed here.And/or, the status information of APP is verified, when APP processes off-line state, it is not necessary to The connection request is processed, when only APP is in online, then subsequent treatment is carried out.
Further, the strategy of route is provided by routing policy service.Specifically, letter entrained in connection request is obtained Breath includes application identities, application version.Wherein, application identities are the ID of APP, according to the application identities can by APP mutually every Leave, while can be controlling access service cluster or independent APP access services collection in Differentiated Services whether Push according to APP ID Group provides service.And application version information refers to the version information of APP, two parts of different version APP in APP systems, a part User uses redaction, a part of user to adopt legacy version.Two versions provide service simultaneously.
Step 302, according to the information carried in connection request the server in server cluster is selected.
Information entrained in connection request, including the exclusive identification code of application identities, application version, equipment are obtained, this Rigen selects different routing policies according to different information, and then obtains the server of the service that to be provided.
In one embodiment of the invention, first according to the exclusive identification code of equipment screen, then further according to application identities and should Screened with version.
Specifically, judge whether the equipment needs upgrading according to the exclusive identification code of the equipment carried in connection request; When judgement equipment needs upgrading, the server that device upgrade is provided is chosen from server cluster;When judging equipment not When need to upgrade, further screen further according to applicable cases.
Wherein, when only further being screened according to application identities, the method includes:
Determine service available server according to application identities.Specifically, can according to application identities determine be by Access service cluster is controlled in Push independent APP access services cluster offer service is still provided.
Obtain the operational factor of service available server;
The loading condition of the server is calculated according to operational factor, and chooses loading condition and meet pre-conditioned service Device.
Here, in an embodiment, trip information include current online user number and/or server cpu busy percentage, The performance parameters such as memory usage, bandwidth availability ratio or disk utilization.According to the performance parameter and the use for being undertaken of server Amount determines.Specifically, for example, it is first determined whether performance parameter meets predetermined threshold value, when meeting, do not do and distribute.When not When meeting, then the online user number of server is obtained, when number of users is more than predetermined threshold value, then do not do distribution process.Need It is bright, here for only laying down a definition and illustrating when judging load, it is not used in limitation of the invention.
Wherein, when further being screened according to application identities and application version, the method includes:
Determine service available server according to application identities;
Judge whether application version entrained in connection request is redaction;
When application version is legacy version, the operational factor of service available server is obtained;Acquisition can provide service Server operational factor;According to the loading condition of operational factor calculation server, and choose the default bar of loading condition satisfaction The server of part;
When application version is redaction, then directly chooses from service available server and redaction service is provided Server.
Understand, the present invention passes through to select corresponding routing policy, according to the control client of specific routing policy intelligence The access server to be connected, realizes the isolation of APP, it is to avoid mutually produce impact.Meanwhile, by testing version information Card, realizes gray scale drain, is conducive to the issue and maintenance of APP redactions.
Step 303, generates the route list of server, and institute's route list is sent to the client, so as to described Client connects corresponding server.
Corresponding service is provided by route service.Specifically, when generating the route list of server, list includes one Or a plurality of route list information.The route list information is generated in the way of domain name, and each domain name accesses clothes equivalent to one The cluster of business.Wherein, in the route list of return, there is active and standby two kinds of route list, after facilitating implementation line fault, Redundancy is realized, the success rate connected is improved.
Further, in one embodiment, after server is chosen, a token token information is obtained from caching.Should The temporal information of client access server is defined in token information.According to the token information, client is realized and specified clothes The information exchange of business device.In the route list of feedback server, need in the lump to send token information and route list to visitor In the end of family.
Further, in one embodiment, after server is chosen, from locally obtaining the access strategy that prestores.Should Access strategy is used for the strategy that client accesses route list information.Specifically, including every time the wrap count of each address is How much;And/or every time all routing address are accessed after failure, how long interval enters again the access of line interface;And/or interface interval The maximum times of access are how many, are conducted interviews (such as one day) according to intervals afterwards;On-fixed can also be adopted The form at interval.The access strategy can be by user's sets itself.And in the route list of feedback server, by access strategy Send in the lump into client with route list.
Understood based on above-mentioned, by the access strategy that client is configured in routing server, can be realized more diversified Client access mode, accomplishes the access request of the controllable client of service end.Additionally, by arranging access strategy to a certain degree The upper request for reducing client to routing server, improves the handling capacity of routing server cluster.
Routing server and route service method for server cluster that the embodiment of the present invention is provided, by obtaining Information entrained in request selects corresponding routing policy;And corresponding server is selected according to corresponding routing policy, The burden of server can effectively be mitigated, it is ensured that server can be more effectively carried out message transmission;By matching somebody with somebody in a connection request The exclusive identification code information of version information and equipment is put, is obtained using the client of grayscale version in time, be easy to the very first time Corresponding request is shunted, the response speed of client request is improve, the experience of user is improved.
It should be noted that herein, term " including ", "comprising" or its any other variant are intended to non-row His property is included, so that a series of process, method, article or device including key elements not only include those key elements, and And also include other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that including being somebody's turn to do Also there is other identical element in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer takes Business device, air-conditioner, or network equipment etc.) method that performs each embodiment of the invention.
The preferred embodiments of the present invention are these are only, the scope of the claims of the present invention is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of routing server for server cluster, it is characterised in that include:
Acquiring unit, for after the connection request of client is received, obtaining the information entrained by the connection request;
Unit is chosen, for choosing the server in the server cluster according to information entrained in the connection request;
Feedback unit, for generating the route list of the server, and the route list is sent to the client, with Toilet states client and connects corresponding server.
2. routing server as claimed in claim 1, it is characterised in that the acquiring unit, is additionally operable to obtain the connection Entrained check information in request, and judge whether the check information meets preset requirement;
When judging to meet, then the service in the server cluster is chosen according to information entrained in the connection request Device.
3. routing server as claimed in claim 1, it is characterised in that the selection unit, specifically for:
Determine service available server according to application identities entrained in the connection request;
Obtain the operational factor of the service available server;
The loading condition of the server is calculated according to the operational factor, and chooses loading condition and meet pre-conditioned service Device.
4. routing server as claimed in claim 3, it is characterised in that the selection unit, is additionally operable to:
Before obtaining the operational factor of the service available server, application version entrained in the connection request is judged Whether it is redaction;
When the application version is legacy version, the operational factor of the service available server is obtained;
When the application version is redaction, then directly chooses from the service available server and redaction clothes are provided The server of business.
5. routing server as claimed in claim 3, it is characterised in that the selection unit, is additionally operable to according to the connection Entrained application identities are determined before service available server in request, obtain entrained unique in the connection request Identification code;
Judge whether the equipment needs upgrading according to the exclusive identification code;
When judging that the equipment needs upgrading, the server that device upgrade is provided is chosen from the server cluster;Otherwise, Determine service available server according to the application identities.
6. a kind of route service method for server cluster, it is characterised in that include:
After the connection request of client is received, the information entrained by the connection request is obtained;
Server in the server cluster is chosen according to information entrained in the connection request;
The route list of the server is generated, and the route list is sent to the client, so as to the client Connect corresponding server.
7. method as claimed in claim 6, it is characterised in that the information entrained by the acquisition connection request, including:
Check information entrained in the connection request is obtained, and judges whether the check information meets preset requirement;
When judging to meet, then the service in the server cluster is chosen according to information entrained in the connection request Device.
8. method as claimed in claim 6, it is characterised in that described to be chosen according to information entrained in the connection request Server in the server cluster, specifically includes:
Determine service available server according to application identities entrained in the connection request;
Obtain the operational factor of the service available server;
The loading condition of the server is calculated according to the operational factor, and chooses loading condition and meet pre-conditioned service Device.
9. method as claimed in claim 8, it is characterised in that the operation ginseng of the acquisition service available server Before number, methods described also includes:
Judge whether application version entrained in the connection request is redaction;
When the application version is legacy version, the operational factor of the service available server is obtained;
When the application version is redaction, then directly chooses from the service available server and redaction clothes are provided The server of business.
10. method as claimed in claim 6, it is characterised in that described according to application mark entrained in the connection request Know and determine that methods described also includes before service available server;
Obtain exclusive identification code entrained in the connection request;
Judge whether the equipment needs upgrading according to the exclusive identification code;
When judging that the equipment needs upgrading, the server that device upgrade is provided is chosen from the server cluster;Otherwise, Determine service available server according to the application identities.
CN201610977464.7A 2016-10-28 2016-10-28 Routing server and routing service method for server cluster Active CN106657259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610977464.7A CN106657259B (en) 2016-10-28 2016-10-28 Routing server and routing service method for server cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610977464.7A CN106657259B (en) 2016-10-28 2016-10-28 Routing server and routing service method for server cluster

Publications (2)

Publication Number Publication Date
CN106657259A true CN106657259A (en) 2017-05-10
CN106657259B CN106657259B (en) 2020-12-01

Family

ID=58806389

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610977464.7A Active CN106657259B (en) 2016-10-28 2016-10-28 Routing server and routing service method for server cluster

Country Status (1)

Country Link
CN (1) CN106657259B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659473A (en) * 2017-09-28 2018-02-02 努比亚技术有限公司 Connection control method, system, routing server and computer-readable recording medium
CN109582684A (en) * 2018-11-30 2019-04-05 深圳市盟天科技有限公司 A kind of update method of local cache data, device, server and storage medium
CN109672790A (en) * 2018-09-20 2019-04-23 平安科技(深圳)有限公司 Traffic request drainage method, device, equipment and readable storage medium storing program for executing
CN110750289A (en) * 2019-10-25 2020-02-04 中电福富信息科技有限公司 Gray switching state maintaining method for distributed system
CN111464574A (en) * 2019-01-21 2020-07-28 阿里巴巴集团控股有限公司 Calling, loading, registering and managing method and route, server, node and medium
CN112559013A (en) * 2020-12-24 2021-03-26 厦门亿联网络技术股份有限公司 Video conference service system and gray scale upgrading method and device thereof
CN113391759A (en) * 2020-03-13 2021-09-14 华为技术有限公司 Communication method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118076A (en) * 2013-01-11 2013-05-22 烽火通信科技股份有限公司 Upgraded server cluster system and load balancing method thereof
CN103179217A (en) * 2013-04-19 2013-06-26 中国建设银行股份有限公司 Load balancing method and device applicable to WEB application server group
US20150358171A1 (en) * 2014-06-06 2015-12-10 Cisco Technology, Inc. Dynamic Configuration of a Conference System with Distributed Media Agents
CN105808274A (en) * 2014-12-30 2016-07-27 航天信息股份有限公司 Software upgrading method and system as well as corresponding clients and servers
CN105978950A (en) * 2016-04-27 2016-09-28 努比亚技术有限公司 Server resource distribution method, apparatus and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118076A (en) * 2013-01-11 2013-05-22 烽火通信科技股份有限公司 Upgraded server cluster system and load balancing method thereof
CN103179217A (en) * 2013-04-19 2013-06-26 中国建设银行股份有限公司 Load balancing method and device applicable to WEB application server group
US20150358171A1 (en) * 2014-06-06 2015-12-10 Cisco Technology, Inc. Dynamic Configuration of a Conference System with Distributed Media Agents
CN105808274A (en) * 2014-12-30 2016-07-27 航天信息股份有限公司 Software upgrading method and system as well as corresponding clients and servers
CN105978950A (en) * 2016-04-27 2016-09-28 努比亚技术有限公司 Server resource distribution method, apparatus and system thereof

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659473A (en) * 2017-09-28 2018-02-02 努比亚技术有限公司 Connection control method, system, routing server and computer-readable recording medium
CN109672790A (en) * 2018-09-20 2019-04-23 平安科技(深圳)有限公司 Traffic request drainage method, device, equipment and readable storage medium storing program for executing
CN109672790B (en) * 2018-09-20 2021-10-01 平安科技(深圳)有限公司 Traffic request drainage method, device, equipment and readable storage medium
CN109582684A (en) * 2018-11-30 2019-04-05 深圳市盟天科技有限公司 A kind of update method of local cache data, device, server and storage medium
CN109582684B (en) * 2018-11-30 2021-11-09 深圳市乐信信息服务有限公司 Local cache data updating method and device, server and storage medium
CN111464574A (en) * 2019-01-21 2020-07-28 阿里巴巴集团控股有限公司 Calling, loading, registering and managing method and route, server, node and medium
CN111464574B (en) * 2019-01-21 2022-10-21 阿里巴巴集团控股有限公司 Calling, loading, registering and managing method and route, server, node and medium
CN110750289A (en) * 2019-10-25 2020-02-04 中电福富信息科技有限公司 Gray switching state maintaining method for distributed system
CN113391759A (en) * 2020-03-13 2021-09-14 华为技术有限公司 Communication method and device
CN113391759B (en) * 2020-03-13 2024-04-09 华为云计算技术有限公司 Communication method and equipment
CN112559013A (en) * 2020-12-24 2021-03-26 厦门亿联网络技术股份有限公司 Video conference service system and gray scale upgrading method and device thereof

Also Published As

Publication number Publication date
CN106657259B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
CN106657259A (en) Route server and route service method used for server cluster
CN103369601B (en) For cell-phone customer terminal provides the method for large concurrent processing and flow control
CN103841134B (en) Based on API transmission, the method for receive information, apparatus and system
CN1960345B (en) Method and system for creating multi-accounting number users in instant communicating system
CN100479456C (en) Method and system of remote dynamic configuration of a web server to provide capacity on demand
JP4984169B2 (en) Load distribution program, load distribution method, load distribution apparatus, and system including the same
CN110365752A (en) Processing method, device, electronic equipment and the storage medium of business datum
CN102138307B (en) Method and system for load balancing for services
CN108009028A (en) Message treatment method, device, equipment and computer-readable recording medium
CN110149392A (en) A kind of management method and device of PUSH message
CN102893556A (en) Methods, systems, and computer readable media for source peer capacity-based diameter load sharing
CN101370035A (en) Method and system for dynamic client/server network management using proxy servers
US20080046574A1 (en) Relay device and program product
JP2000276432A (en) Dynamic load distribution system for transaction message
CN105122772A (en) Exchange of server status and client information through headers for request management and load balancing
KR20120066116A (en) Web service information processing method and web service compositing method and apparatus using the same
CN101309226B (en) Applications server load sharing system and implementing method therefor
CN101594259A (en) Terminating apparatus management system and interface arrangement and correlation method, recording medium
CN109510878A (en) A kind of long connection session keeping method and device
CN108933840B (en) Distributed agent method and system
CN104683435A (en) Network System, Constant Connection Method, Electronic Device, Server, And Program
CN103516579A (en) Service system providing offline message and corresponding service method
CN110493337A (en) Data access method, gateway, system, storage medium and device
CN101695049A (en) Method and device for processing businesses in monitoring system
CN111193778B (en) Method and device for balancing WEB service load

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201030

Address after: 519000 206-208, 2 floor, innovation world 2, jilda Jing Le Road, Xiangzhou District, Zhuhai, Guangdong.

Applicant after: Guangdong Yiwangtong Technology Co., Ltd

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant