CN103369014A - Uncongested client and server communication connection adjustment methods and devices - Google Patents

Uncongested client and server communication connection adjustment methods and devices Download PDF

Info

Publication number
CN103369014A
CN103369014A CN2012101022920A CN201210102292A CN103369014A CN 103369014 A CN103369014 A CN 103369014A CN 2012101022920 A CN2012101022920 A CN 2012101022920A CN 201210102292 A CN201210102292 A CN 201210102292A CN 103369014 A CN103369014 A CN 103369014A
Authority
CN
China
Prior art keywords
server
interface
client
congestion information
server interface
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
Application number
CN2012101022920A
Other languages
Chinese (zh)
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.)
Beijing Oak Pacific Interactive Technology Development Co Ltd
Original Assignee
Beijing Oak Pacific Interactive Technology Development 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 Beijing Oak Pacific Interactive Technology Development Co Ltd filed Critical Beijing Oak Pacific Interactive Technology Development Co Ltd
Priority to CN2012101022920A priority Critical patent/CN103369014A/en
Publication of CN103369014A publication Critical patent/CN103369014A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides uncongested client and server communication connection adjustment methods and devices. More specifically, the uncongested client communication connection adjustment method includes: acquiring current congestion information and/or state parameters of the servers; and a client device adjusting connected server interfaces dynamically through the acquired current congestion information and/or state parameters of the server. The uncongested server communication connection adjustment method includes: saving current congestion information and states of the server interfaces through a service registry center for users to visit. The methods optimize loads of the server interfaces dynamically according to the congestion information and state of the server interfaces so that further deterioration of congested interfaces is prevented and response speed to the client is improved.

Description

The method and apparatus of unplugged client, server adjustment communication connection
Technical field
The embodiments of the present invention relate to the method and apparatus of unplugged client in the Internet Transmission, server adjustment communication connection.
Background technology
Distributed server has become the key areas of webserver development.The communication connection mode of existing distributed server and client is: each interface of client random access distributed server, thus realized the equilibrium of each server interface load.Yet when the part server interface plug, the part client still can constantly be connected on the server interface of obstruction at random, causes so blocked interface jam situation further to be aggravated, and finally causes this server interface paralysis.Therefore, although the load of each server interface that the communication connection mode of existing distributed server and client is balanced on the whole, but can not solve the problem of blocking up of part of interface, thereby still can cause the paralysis of part server interface and client to can not get response, affect the application of client.
Summary of the invention
In view of above-mentioned present situation, the invention provides the method and apparatus of a kind of unplugged client, server adjustment communication connection.Its according to the congestion information state dynamic optimization of each server interface the load of each server interface, prevent that the interface that stops up from further worsening, and improve the response speed to client.
According to an aspect of the present invention, a kind of method of unplugged client adjustment communication connection is provided, comprise: obtain the current congestion information of server interface and/or state parameter, by the current congestion information of the server interface that obtains and/or state parameter, client device is dynamically adjusted the server interface that connects.
According to an aspect of the present invention, client device is adjusted to the lightest server interface of congestion and be connected.
According to an aspect of the present invention, user end to server is inquired the current congestion information of each server interface and/or state parameter information, when getting access to the current congestion information of server, state parameter information, or each Interface status of each server is when all blocking up, client is by setting each station server of machine-processed poll, by the server that as a result adjustment of poll connects, realize load balancing.
According to an aspect of the present invention, the setting mechanism of poll comprises that further the client interval scheduled time obtains current congestion information and/or the state parameter of each interface of each station server at random, or according to the congestion information of each server interface that has obtained, set blanking time and/or access order, again obtain current congestion information and/or the state parameter of each interface of each station server.
According to an aspect of the present invention, the scheduled time is 2 seconds.
According to an aspect of the present invention, the congestion information of each server interface is set by client server basis and the function of Interface status parameter correlation.
According to an aspect of the present invention, the function with the Interface status parameter correlation comprises:
If get access to the server interface state, the average response time of then serving except detection by calculating interface,
If surpass average time 1/3, then this server interface is placed alarm condition,
If surpass average time 2/3, this server interface placed the processing blocked state;
Obtain less than the service interface state and then think obstruction.
According to an aspect of the present invention, client is by NIO mode and server communication, and is machine-processed by the NIO message-driven, with the data notification that receives in upper layer application, after upper layer application is processed processing with the data that receive again, be stored in corresponding buffer area and read for caller.
According to an aspect of the present invention, the method is applicable to the data type of different scenes, and after client chose server interface, client was carried out serializing or unserializing according to corresponding data type, data communication device is crossed this interface export.
According to an aspect of the present invention, provide a kind of method of unplugged server end adjustment communication connection, having comprised: stored current congestion information and/or the state parameter of each server interface by service register center, for client-access.
According to an aspect of the present invention, each Service-Port every interval scheduled time is to the current state parameter of service register center transmission server interface, and/or every interval scheduled time is to the information of service register center transmission interpolation and/or deletion Service-Port.
According to an aspect of the present invention, this scheduled time is 2 seconds.
According to an aspect of the present invention, after service register center receives the state parameter of each server interface, according to setting each interface congestion information with the predefined function of Interface status parameter correlation.
According to an aspect of the present invention, the predefined function with the Interface status parameter correlation comprises:
If get access to the server interface state, the average response time of then serving except detection by calculating interface,
If surpass average time 1/3, then this server interface is placed alarm condition,
If surpass average time 2/3, this server interface placed the processing blocked state;
Obtain less than the service interface state and then think obstruction.
According to an aspect of the present invention, this state parameter comprises the stand-by period of client terminal quantity that each server interface has connected or the access of each server interface.
According to an aspect of the present invention, server is by NIO mode and client communication.
According to an aspect of the present invention, a kind of unplugged network client devices is provided, comprise: deriving means, be used for obtaining the current congestion information of server and/or state parameter, adjusting device, by the current congestion information of the server that obtains and/or state parameter, dynamically adjust the server interface that connects.
According to an aspect of the present invention, adjusting device is adjusted to client device with the lightest server interface of congestion and is connected.
According to an aspect of the present invention, when each Interface status that can't get access to the current congestion information of server, state parameter or each server when deriving means all blocks up, deriving means is by setting each station server of machine-processed poll, the server that adjusting device connects by as a result adjustment of poll is realized load balancing.
According to an aspect of the present invention, the setting mechanism of poll comprises: the deriving means interval scheduled time is obtained current congestion information and/or the state parameter of each interface of each station server at random, or according to the congestion information of each server interface that has obtained, set blanking time and/or access order, again obtain current congestion information and/or the state parameter of each interface of each station server.
According to an aspect of the present invention, the scheduled time is 2 seconds.
According to an aspect of the present invention, the congestion information of each server interface is set with the function of Interface status parameter correlation by deriving means or the server end basis of client.
According to an aspect of the present invention, the function with the Interface status parameter correlation comprises:
If get access to the server interface state, the average response time of then serving except detection by calculating interface,
If surpass average time 1/3, then this server interface is placed alarm condition,
If surpass average time 2/3, this server interface placed the processing blocked state;
Obtain less than the service interface state and then think obstruction.
According to an aspect of the present invention, described equipment is by NIO mode and server communication, and is machine-processed by the NIO message-driven, with the data notification that receives in upper layer application, after upper layer application is processed processing with the data that receive again, be stored in corresponding buffer area and read for caller.
According to an aspect of the present invention, described equipment is applicable to the data type of different scenes, and after choosing server interface, carries out serializing or unserializing according to corresponding data type, data communication device is crossed this interface export.
According to an aspect of the present invention, provide a kind of unplugged network server apparatus, it comprises service register center, and this service register center is stored current congestion information and/or the state parameter of each server interface, for client-access.
According to an aspect of the present invention, each server interface every interval scheduled time is to the current state parameter of service register center transmission server interface, and/or every interval scheduled time is to the information of service register center transmission interpolation and/or deletion Service-Port.
According to an aspect of the present invention, this scheduled time is 2 seconds.
According to an aspect of the present invention, after service register center receives the state parameter of each server interface, according to setting each interface congestion information with the predefined function of Interface status parameter correlation.
According to an aspect of the present invention, the predefined function with the Interface status parameter correlation comprises:
If get access to server state, the average response time of then serving except detection by calculating interface,
If surpass average time 1/3, then this server interface is placed alarm condition,
If surpass average time 2/3, this server interface placed the processing blocked state;
Obtain less than service state and then think obstruction.
According to an aspect of the present invention, this state parameter comprises the stand-by period of client terminal quantity that each server interface has connected or the access of each server interface.
According to an aspect of the present invention, described equipment is by NIO mode and client communication.
Description of drawings
When the detailed description of reading by reference to the accompanying drawings hereinafter exemplary embodiment, these and other purpose, feature and advantage will become apparent, in the accompanying drawings:
Fig. 1 is the synoptic chart of the embodiments of the present invention example system that can realize therein;
Fig. 2 is the exemplary process diagram of method first execution mode of client adjustment communication connection of the present invention;
Fig. 3 is the exemplary process diagram of method first execution mode of server end adjustment communication connection of the present invention;
Fig. 4 is the exemplary process diagram of method second execution mode of client adjustment communication connection of the present invention;
Fig. 5 is the exemplary process diagram of method second execution mode of server end adjustment communication connection of the present invention;
Fig. 6 is the exemplary block diagram of the execution mode of client device of the present invention;
Fig. 7 is the exemplary block diagram of the execution mode of server apparatus of the present invention;
Fig. 8 is the schematic block diagram that is suitable for putting into practice the computer system of embodiment of the present invention.
Embodiment
Flow chart in the accompanying drawing and block diagram illustrate architectural framework in the cards, function and operation according to the method for various embodiments of the invention.In this, each square frame in flow chart or the block diagram can represent the part of module, program segment or a code, and the part of described module, program segment or code comprises the executable instruction of one or more logic functions for realizing regulation.Also be noted that, each square frame in block diagram and/or the flow chart and the combination of the square frame in block diagram and/or the flow chart, can realize with the hardware based system of the special use of the function that puts rules into practice or operation, perhaps can realize with the combination of specialized hardware and computer instruction.
To only describe various execution mode of the present invention in detail by exemplary approach now.
The synoptic chart of the example system that the embodiments of the present invention that show Fig. 1 can realize therein.Fig. 1 is the distributed system architecture figure of a typical multiserver.Each server corresponding one interface for client-access.Client is by accessing wherein selected interface, and realization is connected with certain server.The embodiments of the present invention can but be not limited to for this system's client and/or server end to adjust communication connection.Should be noted in the discussion above that this client can but to be not limited to be terminal towards the end user, it also can be the child servers under certain server, or various other need and the network element that communicates to connect occurs upper server.This system can be used in the diverse network.These networks include but not limited to mobile telephone network, WLAN (wireless local area network) (LAN), Bluetooth personal local area network, ethernet lan, token ring lan, wide area network, the Internet etc.
Fig. 2 shows the exemplary process diagram of method first execution mode of client adjustment communication connection of the present invention.In Fig. 2, when client needed connection server, first execution in step S21 obtained the server interface state parameter.This obtains and can by the parameter of an interface in the random access server, also can obtain according to the access order access of default.This state parameter that obtains includes but not limited to the real time information of these interfaces states of various reactions such as stand-by period of client terminal quantity that each server interface has connected or the access of each server interface.
Preferably, after obtaining primary parameter, can carry out determining step S22 one time, judge whether to get access to this parameter.If get access to, then carry out following steps; If do not get access to, then may there be fault in server end, and client can by setting machine-processed polling server, obtain parameter again.This polling mechanism will be in following detailed introduction.It should be noted that this determining step is not necessary in order further to improve communication efficiency just.
After getting access to the server interface state parameter, the server current state parameter by obtaining again, client device is dynamically adjusted the server interface that connects.This dynamic adjustment can be adjusted by various algorithms or criterion as required.After having considered the state parameter of server interface, client is completely random no longer just to the selection of server interface, but has carried out preferentially, thereby has improved the success rate and the speed that connect.
The preferred flow process of dynamically adjusting is shown in the step S23 among Fig. 2.Execution in step S23 judges whether this parameter meets predetermined value.If meet predetermined value, think that then this interface can use.If the predetermined value of not meeting visits again and obtains other server interface state parameters, until obtain to meet the Interface status parameter of predetermined value.Certainly, after client also can directly be inquired about the state parameter of Servers-all interface or part server interface, select optimum interface to connect.
When client can't get access to server interface current state parameter information, or each Interface status parameter of each server is whole when undesirable, namely thinks the current available server interface that do not have.Client will by setting each server state parameter of machine-processed poll, by the server that as a result adjustment of poll connects, realize load balancing.
The setting mechanism of poll can comprise that the client interval scheduled time obtains the current state parameter of each interface of each station server at random.In a preferred embodiment, this scheduled time is 2 seconds.
The setting mechanism of poll also can comprise the congestion information of each server interface that the client basis has been obtained, sets blanking time and/or access order, again obtains current congestion information and/or the state parameter of each interface of each station server.
The congestion information of this server interface can but be not limited to by the state parameter of client by each server interface of having obtained before, according to setting with the function of Interface status parameter correlation.This congestion information also can be provided by server end, and this will be introduced in subsequent embodiment.
The function relevant with congestion comprises:
If get access to server state, the average response time of then serving except detection by calculating interface,
If surpass average time 1/3, then this server interface is placed alarm condition,
If surpass average time 2/3, this server interface placed the processing blocked state;
Obtain less than service state and then think obstruction.
Also can set as required different functions comes the congestion information of each server interface is arranged.
According to different congestion informations, the priority that each interface setting is different is carried out again poll, the first inquiry light to congestion, the rear inquiry heavy to congestion, saving the poll time, the fastest usable interface that finds.
Client is after choosing server interface, and execution in step S24 again connects the server interface of this selection with client, finishes the dynamic adjustment of docking port.
Behind the selected server interface, client can be carried out data serializing or unserializing according to corresponding data type, data communication device is crossed this interface export on connecting.The method is applicable to the data type of different scenes, such as JSON, plain text, binary system etc.The message-driven mechanism of client by NIO, the data notification that will receive from server after upper layer application is processed processing with the data that receive again, is stored in corresponding buffer area and reads for caller to upper layer application.The method is not limited to the message-driven mechanism of NIO, and other communication mechanism also can be suitable for the method for this adjustment communication connection.
Fig. 3 shows the exemplary process diagram of method first execution mode of server end adjustment communication connection of the present invention.Among Fig. 3, the execution in step S31 of server elder generation, server interface 1-n every interval scheduled time sends the current state parameter of server interface to service register center, and/or every interval scheduled time sends the information of adding and/or deleting Service-Port to service register center, to inform the working condition of each interface of service register center, and the interface that increases newly or delete, so that this interface is selected or do not selected to client.This state parameter that obtains includes but not limited to the real time information of these interfaces states of various reactions such as stand-by period of client terminal quantity that each server interface has connected or the access of each server interface.In a preferred embodiment, this predetermined time is 2 seconds.Then execution in step S32, service register center is stored this state parameter that each server interface pushes, for the client-access inquiry.
Fig. 4 shows the exemplary process diagram of method second execution mode of client adjustment communication connection of the present invention.In Fig. 4, based on the first execution mode, when client needed connection server, first execution in step S41 obtained a server interface congestion information, and then preferred execution in step S42 judges whether to get access to this congestion information.If get access to, then directly execution in step S43 judges whether this interface is available.If available, execution in step S44 then, client connects this server interface.If unavailable, obtain again other server interface congestion informations, until obtain available interface.Certainly, after client also can directly be inquired about the interface congestion information of Servers-all interface or part server interface, select optimum interface to connect.
When client can't get access to the current congestion information of server interface, or each interface congestion information of each server is whole when undesirable, namely thinks the current available server interface that do not have.Client will by setting each server interface congestion information of machine-processed poll, by the server that as a result adjustment of poll connects, realize load balancing.
This poll can use the polling mechanism among the first embodiment equally.The setting mechanism of poll can comprise that the client interval scheduled time obtains the current congestion information of each interface of each station server at random.In a preferred embodiment, this scheduled time is 2 seconds.Also can carry out again poll to the priority that each interface setting is different according to the different congestion information that obtains from server end, the first inquiry light to congestion, the rear inquiry heavy to congestion, saving the poll time, the fastest usable interface that finds.
Fig. 5 shows the exemplary process diagram of method second execution mode of server end adjustment communication connection of the present invention.Among Fig. 5, the execution in step S51 of server elder generation, server interface 1-n every interval scheduled time sends the current state parameter of server interface to service register center, and/or every interval scheduled time sends the information of adding and/or deleting Service-Port to service register center, informing the working condition of each interface of service register center, and the interface that increases newly or delete.This state parameter can be the real time information of these interfaces states of various reactions such as stand-by period of the client terminal quantity that connected of each server interface or the access of each server interface.In a preferred embodiment, this predetermined time is 2 seconds.Then execution in step S52 is after service register center receives the state parameter of each server interface, according to setting each interface congestion information with the predefined function of Interface status parameter correlation.
This predefined function comprises: if get access to server state, and the average response time of then serving except detection by calculating interface,
If surpass average time 1/3, then this server interface is placed alarm condition,
If surpass average time 2/3, this server interface placed the processing blocked state;
Obtain less than service state and then think obstruction.
Then execution in step S53, service register center is stored the congestion information of each interface, for client-access.
Pass through above-described embodiment, client can be optimized the server interface connection of selecting load lighter, both improved the response speed of client, the load of the server interface that can not increase the weight of to have blocked up again, be conducive to alleviating of each interface congestion of server, improved simultaneously the operating efficiency of client and server.
Fig. 6 shows the exemplary block diagram of the execution mode of client device of the present invention.Client device comprises deriving means 601, is used for obtaining the current congestion information of server and/or state parameter, and adjusting device 602, by the current congestion information of the server that obtains and/or state parameter, dynamically adjust the server interface that connects.This client device is used for realizing the described method of above-mentioned client.
Fig. 7 shows the exemplary block diagram of the execution mode of server apparatus of the present invention.Server apparatus comprises service register center 701, and this service register center is stored current congestion information and/or the state parameter of each server interface, for client-access.This server apparatus is used for realizing the described method of above-mentioned server end.
Fig. 8 shows the schematic block diagram of the computer system that is suitable for putting into practice embodiment of the present invention.As shown in Figure 8, computer system can comprise: CPU (CPU) 801, RAM (random access memory) 802, ROM (read-only memory) 803, system bus 804, hard disk controller 805, keyboard controller 806, serial interface controller 807, parallel interface controller 808, display controller 809, hard disk 810, keyboard 811, serial external equipment 812, parallel external equipment 813 and display 814.In these equipment, with system bus 804 coupling CPU 801, RAM 802, ROM 803, hard disk controller 805, keyboard controller 806, serialization controller 807, parallel controller 808 and display controller 809 arranged.Hard disk 810 and hard disk controller 805 couplings, keyboard 811 and keyboard controller 806 couplings, serial external equipment 812 and serial interface controller 807 couplings, parallel external equipment 813 and parallel interface controller 808 couplings, and display 814 and display controller 809 couplings.Should be appreciated that the described structured flowchart of Fig. 8 illustrates just to the purpose of example, rather than limitation of the scope of the invention.In some cases, can increase or reduce as the case may be some equipment.
Provided specification of the present invention for the purpose that illustrates and describe, but itself and be not intended to and be exhaustive or be limited to the invention of disclosed form.It may occur to persons skilled in the art that a lot of modifications and variant.It will be appreciated by those skilled in the art that the method and apparatus in the embodiment of the present invention can be with software, hardware, firmware or its combination realization.
Therefore; execution mode is for principle of the present invention, practical application being described better and making other staff among those skilled in the art can understand following content and select and describe; namely; under the prerequisite that does not break away from spirit of the present invention, all modifications of making and replacement all will fall in the protection range of the present invention of claims definition.

Claims (32)

1. the method for a unplugged client adjustment communication connection comprises:
Obtain the current congestion information of server interface and/or state parameter,
By the current congestion information of the server interface that obtains and/or state parameter, client device is dynamically adjusted the server interface that connects.
2. method according to claim 1 wherein, is adjusted to client device with the lightest server interface of congestion and is connected.
3. method according to claim 2, wherein, user end to server is inquired the current congestion information of each server interface and/or state parameter information, when getting access to the current congestion information of server, state parameter information, or each Interface status of each server is when all blocking up, client by the server that as a result adjustment of poll connects, realizes load balancing by setting each station server of machine-processed poll.
4. method according to claim 3, wherein, the setting mechanism of poll comprises that further the client interval scheduled time obtains current congestion information and/or the state parameter of each interface of each station server at random, or according to the congestion information of each server interface that has obtained, set blanking time and/or access order, again obtain current congestion information and/or the state parameter of each interface of each station server.
5. method according to claim 4, wherein, the scheduled time is 2 seconds.
6. method according to claim 4, wherein, the congestion information of each server interface by client server according to and the function of Interface status parameter correlation set.
7. method according to claim 6 wherein, comprises with the function of Interface status parameter correlation:
If get access to the server interface state, the average response time of then serving except detection by calculating interface,
If surpass average time 1/3, then this server interface is placed alarm condition,
If surpass average time 2/3, this server interface placed the processing blocked state;
Obtain less than the service interface state and then think obstruction.
8. arbitrary described method according to claim 1-7, wherein, client is by NI0 mode and server communication, by NIO message-driven mechanism, with the data notification that receives in upper layer application, after upper layer application is processed processing with the data that receive again, be stored in corresponding buffer area and read for caller.
9. arbitrary described method according to claim 1-7, wherein, the method is applicable to the data type of different scenes, after client chooses server interface, client is carried out serializing or unserializing according to corresponding data type, data communication device is crossed this interface export.
10. the method for a unplugged server end adjustment communication connection comprises: store current congestion information and/or the state parameter of each server interface by service register center, for client-access.
11. method according to claim 10, wherein, each Service-Port every interval scheduled time is to the current state parameter of service register center transmission server interface, and/or every interval scheduled time is to the information of service register center transmission interpolation and/or deletion Service-Port.
12. method according to claim 11, wherein, this scheduled time is 2 seconds.
13. method according to claim 11, wherein, after service register center receives the state parameter of each server interface, according to setting each interface congestion information with the predefined function of Interface status parameter correlation.
14. method according to claim 13 wherein, comprises with the predefined function of Interface status parameter correlation:
If get access to the server interface state, the average response time of then serving except detection by calculating interface,
If surpass average time 1/3, then this server interface is placed alarm condition,
If surpass average time 2/3, this server interface placed the processing blocked state;
Obtain less than the service interface state and then think obstruction.
15. method according to claim 10, wherein, this state parameter comprises the stand-by period of client terminal quantity that each server interface has connected or the access of each server interface.
16. arbitrary described method according to claim 10-15, wherein, server is by NIO mode and client communication.
17. a unplugged network client devices comprises:
Deriving means is used for obtaining the current congestion information of server and/or state parameter,
Adjusting device by the current congestion information of the server that obtains and/or state parameter, is dynamically adjusted the server interface that connects.
18. equipment according to claim 17, wherein, adjusting device is adjusted to client device with the lightest server interface of congestion and is connected.
19. equipment according to claim 18, wherein, when each Interface status that can't get access to the current congestion information of server, state parameter or each server when deriving means all blocks up, deriving means is by setting each station server of machine-processed poll, the server that adjusting device connects by as a result adjustment of poll is realized load balancing.
20. equipment according to claim 19, wherein, the setting mechanism of poll comprises: the deriving means interval scheduled time is obtained current congestion information and/or the state parameter of each interface of each station server at random, or according to the congestion information of each server interface that has obtained, set blanking time and/or access order, again obtain current congestion information and/or the state parameter of each interface of each station server.
21. equipment according to claim 20, wherein, the scheduled time is 2 seconds.
22. equipment according to claim 20, wherein, the congestion information of each server interface is set with the function of Interface status parameter correlation by deriving means or the server end basis of client.
23. equipment according to claim 22 wherein, comprises with the function of Interface status parameter correlation:
If get access to the server interface state, the average response time of then serving except detection by calculating interface,
If surpass average time 1/3, then this server interface is placed alarm condition,
If surpass average time 2/3, this server interface placed the processing blocked state;
Obtain less than the service interface state and then think obstruction.
24. arbitrary described equipment according to claim 17-23, wherein, described equipment is by NIO mode and server communication, by NIO message-driven mechanism, with the data notification that receives in upper layer application, after upper layer application is processed processing with the data that receive again, be stored in corresponding buffer area and read for caller.
25. arbitrary described equipment according to claim 17-23, wherein, described equipment is applicable to the data type of different scenes, and after choosing server interface, carry out serializing or unserializing according to corresponding data type, data communication device is crossed this interface export.
26. a unplugged network server apparatus, it comprises service register center, and this service register center is stored current congestion information and/or the state parameter of each server interface, for client-access.
27. equipment according to claim 26, wherein, each server interface every interval scheduled time is to the current state parameter of service register center transmission server interface, and/or every interval scheduled time is to the information of service register center transmission interpolation and/or deletion Service-Port.
28. equipment according to claim 27, wherein, this scheduled time is 2 seconds.
29. equipment according to claim 27, wherein, after service register center receives the state parameter of each server interface, according to setting each interface congestion information with the predefined function of Interface status parameter correlation.
30. equipment according to claim 29 wherein, comprises with the predefined function of Interface status parameter correlation:
If get access to server state, the average response time of then serving except detection by calculating interface,
If surpass average time 1/3, then this server interface is placed alarm condition,
If surpass average time 2/3, this server interface placed the processing blocked state;
Obtain less than service state and then think obstruction.
31. equipment according to claim 26, wherein, this state parameter comprises the stand-by period of client terminal quantity that each server interface has connected or the access of each server interface.
32. arbitrary described equipment according to claim 26-31, described equipment is by NIO mode and client communication.
CN2012101022920A 2012-03-30 2012-03-30 Uncongested client and server communication connection adjustment methods and devices Pending CN103369014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101022920A CN103369014A (en) 2012-03-30 2012-03-30 Uncongested client and server communication connection adjustment methods and devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101022920A CN103369014A (en) 2012-03-30 2012-03-30 Uncongested client and server communication connection adjustment methods and devices

Publications (1)

Publication Number Publication Date
CN103369014A true CN103369014A (en) 2013-10-23

Family

ID=49369545

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101022920A Pending CN103369014A (en) 2012-03-30 2012-03-30 Uncongested client and server communication connection adjustment methods and devices

Country Status (1)

Country Link
CN (1) CN103369014A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917817A (en) * 2015-04-23 2015-09-16 四川师范大学 Client side and data communication method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6697849B1 (en) * 1999-08-13 2004-02-24 Sun Microsystems, Inc. System and method for caching JavaServer Pages™ responses
US7039709B1 (en) * 2000-05-31 2006-05-02 International Business Machines Corporation Dynamically selection of most efficient transmission medium and route from a client browser
CN101146114A (en) * 2007-10-12 2008-03-19 中兴通讯股份有限公司 A load share method and system of stream media server
CN101677324A (en) * 2008-09-17 2010-03-24 华为技术有限公司 Business management method, terminal, network system and related equipment
CN101834877A (en) * 2010-06-03 2010-09-15 华中科技大学 Method and system for balancing dynamic load based on distributed SIP architecture
CN101883103A (en) * 2009-04-15 2010-11-10 埃森哲环球服务有限公司 The method and system of the client-side extensions of Web server gang fight structure in the cloud data center

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6697849B1 (en) * 1999-08-13 2004-02-24 Sun Microsystems, Inc. System and method for caching JavaServer Pages™ responses
US7039709B1 (en) * 2000-05-31 2006-05-02 International Business Machines Corporation Dynamically selection of most efficient transmission medium and route from a client browser
CN101146114A (en) * 2007-10-12 2008-03-19 中兴通讯股份有限公司 A load share method and system of stream media server
CN101677324A (en) * 2008-09-17 2010-03-24 华为技术有限公司 Business management method, terminal, network system and related equipment
CN101883103A (en) * 2009-04-15 2010-11-10 埃森哲环球服务有限公司 The method and system of the client-side extensions of Web server gang fight structure in the cloud data center
CN101834877A (en) * 2010-06-03 2010-09-15 华中科技大学 Method and system for balancing dynamic load based on distributed SIP architecture

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917817A (en) * 2015-04-23 2015-09-16 四川师范大学 Client side and data communication method

Similar Documents

Publication Publication Date Title
US8099510B2 (en) Relay device and program product, allowing continued communication via an alternative protocol
US10743252B2 (en) Method for identifying access point and hotspot and terminal
US9276807B2 (en) Redundant communication framework
JP5899971B2 (en) Wireless communication device
CN105744008B (en) Smart home platform, method for updating system and device applied to the platform
CN109495530B (en) Real-time traffic data transmission method, transmission device and transmission system
US20150188889A1 (en) Methods, systems, and media for secure connection management and automatic compression over metered data connections
CN106657259A (en) Route server and route service method used for server cluster
CN110855564B (en) Intelligent routing path selection method, device and equipment and readable storage medium
US20160006801A1 (en) Data sharing system
CN103369014A (en) Uncongested client and server communication connection adjustment methods and devices
CN109561482B (en) Data acquisition method, data acquisition device and intelligent terminal
CN104601725B (en) The response method and device of service request
KR101058275B1 (en) Communication terminal and its control method, P2P server system and its control method
JP4365381B2 (en) Communication control method and communication control apparatus
JP6886874B2 (en) Edge devices, data processing systems, data transmission methods, and programs
CN115002238A (en) Traffic transmission method, device, equipment and storage medium
US10291490B1 (en) System and method for collecting data from low-availability devices
CN108111431B (en) Service data sending method, device, computing equipment and computer readable storage medium
WO2016065646A1 (en) Power estimation method and apparatus
JP2008129794A (en) Backup system and backup apparatus
WO2018119933A1 (en) Method for generating routing table, and server
CN105245512B (en) A kind of unidirectional file transmission method and the server for realizing the transmission method
WO2017166874A1 (en) Baseband board selection method and device
CN115051956B (en) Connection establishment method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20131023

WD01 Invention patent application deemed withdrawn after publication