CN201499180U - Device capable of achieving bank-enterprise intercommunication - Google Patents

Device capable of achieving bank-enterprise intercommunication Download PDF

Info

Publication number
CN201499180U
CN201499180U CN2009201632677U CN200920163267U CN201499180U CN 201499180 U CN201499180 U CN 201499180U CN 2009201632677 U CN2009201632677 U CN 2009201632677U CN 200920163267 U CN200920163267 U CN 200920163267U CN 201499180 U CN201499180 U CN 201499180U
Authority
CN
China
Prior art keywords
server
communication performance
module
main control
control module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN2009201632677U
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN2009201632677U priority Critical patent/CN201499180U/en
Application granted granted Critical
Publication of CN201499180U publication Critical patent/CN201499180U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The utility model discloses a device capable of achieving bank-enterprise intercommunication. The device comprises a main-control module, a communication performance detection module, a communication performance analysis module and a queue management module, wherein the communication performance detection module receives and analyzes message received response message returned from a server of an opposite side, so as to obtain testing results and data such as response time, success rate in unit time, continuous success frequency and continuous failure frequency of the server of the opposite side; the communication performance analysis module can be used for calculating the tested results and the data obtained by the communication performance detection module, so as to obtain running stability parameters of the server of the opposite side; and the main-control module is used for arranging the server of the opposite side to a communication queue of the queue management module according to the running stability parameters of the server of the opposite side. With the utilization of the utility model, the problem of stability degradation of the application server at the bank end caused by too long time for enterprises to respond can be solved, and the service capability of the application server at the bank end for the exterior is improved.

Description

A kind of device of realizing bank's interconnected communication
Technical field
The utility model is when adopting the http communication about our server and the other side's server, avoid because the other side's server has problems, cause our server to stop up for a long time, thereby influence other externally normal operations of service, specifically relate to a kind of device of realizing bank's interconnected communication.
Background technology
Web bank provides Web Service service for enterprise.The general communication modes of bank and enterprise mainly is to carry out in the mode of HTTPS agreement.In fact HTTPS has used the sublayer of complete socket layer (SSL) as the HTTP application layer.
Flourish along with Internet-based banking services, banking system is more various and complicated, the service hommization more that provides for the client, quick.After the trading instruction of enterprise was submitted to, if bank is after finishing dealing with, enterprise needed the result of bank's very first time notice business transaction after batch process is finished, so that follow-up Business Processing and reconciliation service are done by enterprise self.
When bank sent communication information to the client, according to the requirement of HTTP (S) agreement, bank service end application program should be waited for client's HTTP (S) response, and checked the conditional code of HTTP (S) response message.Any is not that the conditional code of 200 (OK) all illustrates as HTTP (S) and connects and information a problem or mistake has taken place after sending, and need do relevant subsequent treatment assurance enterprise and necessarily receive notification message.The application server of bank end waits for that the conditional code of corporate client is that 200 response message also is normally to receive and handled transaction results information in order to ensure enterprise.
When the enterprises end server can not in time return response to bank's end server, according to common way, bank's end server can be provided with before sending request and connect time-out time and read time-out time.Connect the maximum time that time-out time is meant that bank's end server and enterprises end server connect and waited for.Read time-out time and be meant that bank's end server wait enterprises end server returns the maximum time that the request response message is waited for.When the time-out time that wait connects or the wait-for-response message time surpass to be provided with, bank's end server can initiatively disconnect this link, dishes out respectively to connect overtime and read overtime unusual.
It is undesired to exist in the operation of the system of corporate client, perhaps under the more weak relatively situation of technical capability, can cause the application server of bank's end, the response message that application program can be waited for enterprise the long period.And the disposal ability of the application server of bank's end is relative.When if most of disposal ability all is in the response message of waiting for enterprise, the external service ability of the application server of bank end can bigger decline, thereby the normal operation to server produces harmful effect, can cause server that normal externally service can not be provided under the serious situation.
The utility model content
(1) technical problem that will solve
In view of this, main purpose of the present utility model is to provide a kind of bank interconnected communication device, with the application server that solves bank's end problem because of the long stability decreases that causes of time of waiting for enterprise response information, improve the ability of the external service of application server of bank's end, it is more stable that the system that bank is held moves, and provides faster, friendly service for the client simultaneously.
(2) technical scheme
For achieving the above object, the utility model provides a kind of device of realizing bank's interconnected communication, this device comprises main control module, the communication performance detection module, communication performance analysis module and queue management module, wherein, main control module is connected to the communication performance detection module, communication performance analysis module and queue management module, the communication performance detection module receives and analyzes the message sink response message that the other side's server returns, and obtains the response time of the other side's server, the unit interval success rate, number of success and these testing results of the frequency of failure and data continuously continuously; The communication performance detection module is obtained testing result to the communication performance analysis module and data are calculated, and obtains the operation stability parameter of the other side's server; Main control module is arranged at this other side's server in certain communication queue of queue management module according to the operation stability parameter of the other side's server, this communication queue and this other side's server operation stability parameter adapt, to reduce the harmful effect that the other side's server brings, keep the stable and quick of our server.
In the such scheme, being written into and communication performance detection module, communication performance analysis module or queue management module being started operation, management and monitoring operation of relevant configured parameter information finished in the operation of the whole device of described master control module controls and carry out alternately with communication performance detection module, communication performance analysis module or queue management module.
In the such scheme, described relevant configured parameter is used for queue management module, comprise and start number of queues, server maximum number of channels, individual queue permission maximum number of channels and the regular active detecting time interval, these parameters all are kept in the middle of the configuration file of device, adopt the mode of manual configuration to revise.
In the such scheme, described communication performance detection module is connected in main control module, be used to realize that response speed and correctness to the other side's server carry out active or passive detection, know response time, unit interval success rate, continuous number of success and continuous these testing results of the frequency of failure and the data of the other side's server, and these testing results and data are exported to the communication performance analysis module by main control module.
In the such scheme, described communication performance detection module carries out active detecting to the other side's server, be by initiatively sending detection packet to the other side's server, detect the response speed and the correctness of the other side's server, know the operation conditions of the other side's server, and export to the communication performance analysis module by main control module; Described detection packet is a kind of simple http protocol message bag, and the inclusion content is the character string of fixing.
In the such scheme, described communication performance detection module carries out passive detection to the other side's server, be at first to send service message information to the other side's server, the operation conditions that writes down the other side's server according to the response speed and the correctness of the other side's server reality, and export to the communication performance analysis module by main control module.
In the such scheme, described communication performance analysis module is connected in main control module, adopt the correlation analysis formula that the communication performance detection module is calculated by response time, unit interval success rate, continuous number of success, continuous these testing results of the frequency of failure and the data of main control module input, obtain the operation conditions of the other side's server, and return to main control module and do subsequent treatment; Wherein, the number of success and the continuous frequency of failure are meant the client response success of the last statistics and the continual maximum times of failing continuously.
In the such scheme, described queue management module is connected in main control module, be used for returning to the operation conditions of the other side's server of main control module according to the communication performance analysis module, judge the residing formation of the other side's server, formation is managed, adjust the formation at the other side's server place in good time, send so that subsequent packet is adjusted to this formation.
(3) beneficial effect
1, utilize the utility model, the application server that has solved bank's end is because of the problem of the long stability decreases that causes of time of waiting for enterprise response information, and the application server that has improved bank's end is the ability of service externally.
2, utilize the utility model, can effectively solve when third-party server and break down or performance when reducing, effectively shield the influence that this problem brings our server, guarantee the stable operation of server.Can guarantee simultaneously the normal transmission of the timely recovering information of energy after the third party normally, avoid a large amount of accumulations of information to be sent.
3, utilize the utility model, can have grace time to guarantee that the third party has the enough time to solve the problem that its system exists, and needn't do other data or code change to shield this influence.
4, the deployment of the utility model device can be disposed according to both sides' actual conditions, can be deployed in separately on the physical machine, separates with the enterprise key application server; Also can with application server deployment on same physical machine; Specifically look enterprise practical conditions, comprise that fund, equipment etc. are definite.Being deployed on same the machine and can paring down expenses, is good selection for small business.Further, device can be affixed one's name to by a quadrate part, also can both sides dispose, and decides according to the amount of information that sends message; The transmission message is many, and the demand of avoiding communication to stop up is many, and then suggestion is disposed; If it is few to send message, it is many to receive message, then can only be disposed by the other side;
5, the quantity of the concrete communication formation suggestion of the utility model, the communications status value scope under the quantity of the passage in the formation attribute, the formation can be adjusted according to the enterprise practical demand; And provide the OA visualization interface to manage, make things convenient for flexibly.
Description of drawings
Fig. 1 is the structural representation of the device of the realization bank interconnected communication that provides of the utility model;
Fig. 2 is the schematic diagram that the device of the realization bank interconnected communication that provides of the utility model is disposed in network system;
Fig. 3 is the method flow diagram of the realization bank interconnected communication that provides of the utility model;
Fig. 4 is the process chart of the communication performance detection module active detecting pattern that provides of the utility model;
Fig. 5 is the process chart of the passive detecting pattern of communication performance detection module that provides of the utility model;
Fig. 6 is the process chart of the communication performance analysis module that provides of the utility model;
Fig. 7 is the process chart of the queue management module that provides of the utility model;
Fig. 8 is the method flow diagram of the realization bank interconnected communication that provides according to the utility model embodiment.
Embodiment
For making the purpose of this utility model, technical scheme and advantage clearer,, and, the utility model is further described with reference to accompanying drawing below in conjunction with specific embodiment.
Core concept of the present utility model is: at first the message sink response message that the other side's server is returned is carried out statistical analysis, the result who adopts corresponding algorithm computation to analyze then, obtain the operation stability parameter of the other side's server, last our server is arranged at this other side's server in certain communication queue of queue management module according to the operation stability parameter of the other side's server, this communication queue and this other side's server operation stability parameter adapt, reduce the harmful effect that the other side's server brings, thereby keep the stable and quick of our server.
As shown in Figure 1, the structural representation of the device of the realization bank interconnected communication that Fig. 1 provides for the utility model, this device comprises main control module, communication performance detection module, communication performance analysis module and queue management module.Wherein, main control module is connected to communication performance detection module, communication performance analysis module and queue management module, the communication performance detection module receives and analyzes the message sink response message that the other side's server returns, and obtains response time, unit interval success rate, continuous number of success and continuous these testing results of the frequency of failure and the data of the other side's server; The communication performance detection module is obtained testing result to the communication performance analysis module and data are calculated, and obtains the operation stability parameter of the other side's server; Main control module is arranged at this other side's server in certain communication queue of queue management module according to the operation stability parameter of the other side's server, this communication queue and this other side's server operation stability parameter adapt, to reduce the harmful effect that the other side's server brings, keep the stable and quick of our server.
Main control module is the core of whole device, be used to control the operation of whole device and carry out alternately, finish being written into and communication performance detection module, communication performance analysis module or queue management module being started operation, management and monitoring operation of relevant configured parameter information with communication performance detection module, communication performance analysis module or queue management module.These relevant configured parameters are mainly used in queue management module, comprise parameters such as starting number of queues, server maximum number of channels, individual queue permission maximum number of channels, the regular active detecting time interval, these parameters all are kept in the middle of the configuration file of device, adopt the mode of manual configuration to revise.
The communication performance detection module is connected in main control module, be used to realize that response speed and correctness to the other side's server carry out active or passive detection, know response time, unit interval success rate, continuous number of success and continuous these testing results of the frequency of failure and the data of the other side's server, and these testing results and data are exported to the communication performance analysis module by main control module.
The communication performance detection module is divided into two parts function: active detecting function and passive measuring ability.
One, the active detecting function, be by initiatively sending detection packet to the other side's server, detect the response speed and the correctness of the other side's server, know the operation conditions of the other side's server, and export to the communication performance analysis module by main control module, so that the module that our server makes decisions as early as possible is a kind of way of feedforward; Here said detection packet is exactly a kind of simple http protocol message bag, and the character string that the inclusion content is just fixing does not have other professional implications.This kind mode need be listed the other side's server disposition develop and field relevant detection respond module of active detecting target inventory in.
They are two years old, passive measuring ability, we's server at first sends service message information to the other side's server, the operation conditions that writes down the other side's server according to the response speed and the correctness of the other side's server reality, and export to the communication performance analysis module by main control module, making our server can make the module of corresponding decision, is a kind of way of feedback.
The communication performance analysis module is connected in main control module, adopt the correlation analysis formula that the communication performance detection module is calculated by response time, unit interval success rate, continuous number of success, continuous these testing results of the frequency of failure and the data of main control module input, obtain the operation conditions of the other side's server, and return to main control module and do subsequent treatment.Wherein, the number of success and the continuous frequency of failure are meant the client response success of the last statistics and the continual maximum times of failing continuously.This is in order to obtain the nearest server health of client, so that our server is made the fastest adjustment according to analysis result.
Queue management module is connected in main control module, be used for returning to the operation conditions of the other side's server of main control module according to the communication performance analysis module, judge the residing formation of the other side's server, formation is managed, adjust the formation at the other side's server place in good time, send so that subsequent packet is adjusted to this formation.
As shown in Figure 2, the schematic diagram in network system, disposed of the device of the realization bank interconnected communication that provides for the utility model of Fig. 2.This device is applied in the existing network infrastructure, does not influence the topological structure of existing network, and message receives and sends and transmits by device, and device can be deployed in the server of a platform independent, also can be deployed on the existing business application server.
This device can as above be disposed the communication check that realizes our server we; Also can carry out two-way deployment at the other side's server simultaneously, so just realize the two-way communication detection, thereby the communication check ability is strengthened.
This device by analyzing the communication behavior of existing customer's server, is analyzed client's communication performance by queue management client communication passage, and formation under adjustment and the managing customer is in time carried out the differentiation management and service according to the performance of client own.
Based on the device of the above-mentioned realization bank interconnected communication that provides, Fig. 3 shows the method flow diagram of the realization bank interconnected communication that the utility model provides, and this method may further comprise the steps:
Step 1: the communication performance detection module carries out active or passive detection to the response speed and the correctness of the other side's server;
Step 2: the communication performance detection module receives and analyzes the message sink response message that the other side's server returns, obtain response time, unit interval success rate, continuous number of success and continuous these testing results of the frequency of failure and the data of the other side's server, and export to the communication performance analysis module by main control module;
Step 3: the communication performance detection module is obtained testing result to the communication performance analysis module and data are calculated, and obtains the operation stability parameter of the other side's server, exports to main control module;
Step 4: main control module is arranged at this other side's server in certain communication queue of queue management module according to the operation stability parameter of the other side's server, and this communication queue and this other side's server operation stability parameter adapt.
In the above-mentioned steps 1, described communication performance detection module carries out active detecting to the response speed of the other side's server and correctness to be triggered by main control module, obtain the communication queue of the other side's server under queue management module, idle channel by this formation sends detection packet to the other side's server, detect the response speed and the correctness of the other side's server, know the operation conditions of the other side's server, and the operation conditions of the other side's server is exported to the communication performance analysis module by main control module; Described detection packet is a kind of simple http protocol message bag, and the inclusion content is the character string of fixing.Main control module triggers to the other side's server and sends detection packet, be according to regular active detecting time interval parameter, every Fixed Time Interval, the other side's server set that inquiry can adopt aggressive mode to detect cycles through the active detecting pattern successively and sends to each the other side's server that detection packet realizes.
In the above-mentioned steps 1, described communication performance detection module carries out passive detection to the response speed of the other side's server and correctness and specifically comprises: the communication performance detection module sends service message information to the other side's server, the operation conditions that writes down the other side's server according to the response speed and the correctness of the other side's server reality, and export to the communication performance analysis module by main control module.The communication performance detection module sends service message information to the other side's server, be when our server when main control module sends concrete service message data, main control module is given this communication performance detection module with this concrete service message data forwarding, is carried out the transparent forwarding of these concrete service message data to the other side's server by this communication performance detection module.This transparent forwarding is to be forwarded to the other side's server with what the http message header of service message data and message body information were not made any change, in the hope of realizing transparent for business function, does not influence the exploitation and the use of business function module.
For this apparatus and method that realize bank's interconnected communication that more explicit explanation the utility model provides, the flow process to each module is elaborated below:
(1) the active detecting mode treatment flow process of communication performance detection module, with reference to the accompanying drawings 4.This detection mode needs main control module initiatively to trigger, and obtains formation under the enterprise, detects bag by this queue empty's idle channel to enterprise and sends, and waits for the enterprise response result.
The active detecting pattern is a kind of being used for to understand the other side's operation condition of server as early as possible, so that our server is made preparation ahead of time, avoids a kind of pattern that real business datum and function are exerted an influence.
According to regular active detecting time interval parameter, the Fixed Time Interval that main control module is provided with every parameter, the other side's server set that inquiry can adopt aggressive mode to detect, cycle through the active detecting pattern successively and send detection packet to each the other side's server, this detection packet inclusion content is a fixing character string (the utility model adopts ICBCDETECTPACKAGE), and waits for the response of the other side's server.The http state return code of receiving the other side's server is after 200 the response, the respond packet inclusion need not enterprise and returns any information, the data of the speed of collection the other side server response and the correctness of response, the data that collection is good are passed to the communication performance analysis module by main control module and are analyzed.Because this active detecting is that a kind of detection means and business datum of technology is irrelevant, so adopt this pattern to need the other side's server to do relevant interoperation, detection packet of the present utility model is done a correct response, just can reach the purpose of active detecting.Therefore need in database table, can adopt the other side's server set of this pattern according to enterprise's cooperation situation storage.What the utility model was here stored is the IP address and the port of the other side's server, identifies different servers.The client who considers this mode of employing is less at present, if this set has renewal, the utility model adopts the manual mode of upgrading the deletion script of carrying out to make amendment, and need not to start server, adds the active detecting tabulation automatically at next circulation time.
The benefit of this pattern is to obtain the other side's state as early as possible, and the as far as possible little actual service that influences is handled.Shortcoming is to need the other side's server to do one to cooperate the action of response to handle.And this active detecting is to realize to sacrifice certain resource; The too high a lot of resources of server that may cause of frequency are used for this detection, and frequency is too low may not to reach ideal effect, and this need rationally be set according to actual volume.
(2) the passive detecting pattern handling process of communication performance detection module, with reference to the accompanying drawings 5.
Passive detecting pattern is that a speciogenesis is when concrete professional, according to a kind of pattern of Business Processing situation awareness the other side server state.This detecting pattern comes into force to all the other side's server acquiescences, and all the other side's servers that sent service request data all can detect automatically.This is and the distinguishing place of active detecting pattern.
When our server when main control module sends concrete service message data, main control module is transmitted to this communication performance detection module and does the transparent forwarding that message is given the other side's server, and waits for the response of the other side's server.Here said transparent forwarding is meant to be forwarded to the other side's server with what the http message header of service message data and message body information were not made any change, in the hope of realizing transparent for business function, does not influence the exploitation and the use of business function module.After receiving the response data of this message information, collect the speed of the other side's server response and the correct data of response.The data that collection is good are passed to the communication performance analysis module by main control module and are analyzed.Any concrete service message all needs to send by passive detecting pattern, and carries out follow-up communication performance analysis and formation adjustment action.
The shortcoming of this passive detecting pattern is passive the other side's state that obtains, when check and analysis go out the other side's server communication performance and have descended, this moment, related service function and our server were subjected to influence to a certain degree, but still can make queue management module make Corresponding Countermeasures.
The data structure of communication performance detection module and our server interaction is as follows:
The client identity sign
The message information that sends
With our server interaction
The mutual data structure of communication performance detection module and main control module, queue management module is as follows:
The client identity sign
Detect sign (initiatively or is passive)
Testing result information
Mutual with main control module, queue management module
Wherein the client identity sign is in order to distinguish different the other side's servers, as the unique identity of the other side's server in we's preservation information.The client identity sign can be used actual its concrete structure of determining according to each, can be a simple code, also can be complicated customer information; For general application, can use the other side's communication IP address to get final product as customer ID.This structure Design is little to the original system transformation.
(3) handling process of communication performance analysis module, with reference to the accompanying drawings 6.
The major function of communication performance analysis module is that the data that the communication performance detection module is collected are carried out analytical calculation.If information such as the data owner response speed of collecting, response correctness.
Provide the object lesson that the utility model is analyzed below:
The formula that present embodiment adopts mainly is to use weight formula computational methods.The parameter of collecting comprise the speed A (unit: second) of response and in the unit interval (30 minutes) continuously the number of times B of correct response, in the unit interval (30 minutes) continuous failure response number of times C, respond into power D in the unit interval (30 minutes).
More than responding into power in the parameter of Shou Jiing in the unit interval is a factor relatively for a long time, and this is a situation of having taken all factors into consideration the other side's server (being enterprise servers) overall performance; Other parameters such as response speed, the continuous response success frequency of failure are real-time factors simultaneously, mainly are in order to reduce the problem that the other side's server short time goes wrong and causes a large amount of clogged with messages normally to send.
Within second, present embodiment thinks that its response speed is timely to the speed of response at 0-5; 5-15 second is good; 15 seconds-30 seconds is general; It is serious to think more than 30 seconds that the other side's server performance descends;
The correct continuously number of times that responds in unit interval (30 minutes), present embodiment thinks continuous and surpasses 10 times that the other side's server process is very good; 5-10 time the other side's server process is better; 3-5 time the other side's server process is general; Think then that less than 3 times the other side's server process is relatively poor;
The number of times of continuous failure response in unit interval (30 minutes), present embodiment thinks that less than 1 time, the other side's server process is very good; 1-3 time the other side's server process is better; 3-5 time the other side's server process is general; Think then that greater than 5 times the other side's server process is relatively poor;
Respond into power in unit interval (30 minutes), it is very good greater than 95% the other side's server process that present embodiment is thought; 80%-95% the other side's server process is better; 50%-80% the other side's server process is general; The other side of explanation below 50% server process has been in relatively poor state.
According to above parameter analysis, present embodiment uses the weight formula to calculate:
(60-A)+and 3B-C+100D, wherein 60 is maximum wait time-out times (60 seconds) of the client response of present embodiment permission.Customer response time is fast more, and (60-A) value is big more.Consider that client's continuous response illustrates that successfully client's server (being the other side's server) work is comparatively normal, so increased by 3 times weighted value.Success rate also is factor of relatively paying attention to of present embodiment, so increased by 100 times weighted value on this ratio; So draw above formula.
According to the practical application different situations, and the different focus of practical application, this formula should be adjusted flexibly.
Present embodiment is divided into four kinds of situations with the client response situation: promptly outstanding, good, general, relatively poor.
More than the value that calculates respectively of four kinds of situations is interval is [175-190], [131-175], [84-131], [0-84];
According between the above standard regions that calculates, so present embodiment determines that finally each state area is as follows:
Interval 1:[175-∞);
Interval 2:[131-175);
Interval 3:[84-131);
Interval 4:[0-84);
Illustrate the statistical rules that continuous success is failed below; When main control module moved, in the time of 30 minutes unit interval, present embodiment was collected each transmission result of some clients.For the number of times of continuous success and continuous failure, the maximum in the present embodiment statistical unit time.Such as client's success response earlier continuously message 10 times, the 11st message failure then; The 12nd message sends, and the client is success response again, and afterwards continuously success response 20 times, so present embodiment think the client in this unit interval continuously number of success be 21 times; Frequency of failure statistics is identical continuously.
(4) handling process of queue management module, with reference to the accompanying drawings 7.
Queue management module is mainly used following configuration parameter:
√ starts number of queues
√ server maximum number of channels
The √ individual queue allows maximum number of channels
Whether √ formation 1-N moves above self maximum number of channels (0: do not allow; 1: allow)
The regular active detecting time interval of √
Above parameter is provided with according to actual device place server performance; Present embodiment is determined the number of channels of operable maximum to be assumed to be MAX according to server configuration and performance; It is N that the present embodiment operated by rotary motion starts number of queues, and N is according to the actual conditions setting, and according to the example of present embodiment communication check module, it is 4 that present embodiment is provided with N; Regularly the active detecting time interval is provided with according to actual conditions, and present embodiment is traditionally arranged to be 30 minutes;
The traffic carrying capacity that individual queue allows maximum number of channels to bear according to each passage is distributed.Suppose that present embodiment is an example with the top interval value that is calculated, present embodiment through data statistic analysis learn 50% client communication performance drop on interval 1 value [175-∞) in, 30% client communication performance drop on interval 2 values [131-175) in, 15% client communication performance drop on interval 3 values [84-131) in, 5% client communication performance drop on interval 4 values [0-84) in; Present embodiment distributes according to this ratio when distributing individual queue to allow maximum number of channels so, uses server maximum number of channels MAX to multiply by ratio, and what draw is exactly the individual queue permission maximum number of channels of the standard of individual queue.
Whether formation 1-N moves above self maximum number of channels, this parameter is to consider that there are the following problems, such as when the traffic carrying capacity in the formation that sends better performances is big, for the validity that guarantees that server resource utilizes, present embodiment allows partition queue element to break through the permission maximum number of channels of self, use some passages from send some formation of poor performance, it is busy so just to have avoided the better interval formation passage of communication performance to handle, the queuing processing; And the relatively poor formation passage free time of communication performance does not have professional the processing.
In the above example, present embodiment has distributed four intervals, and wherein interval 1, interval 2 present embodiments think that communication performance is comparatively good, allows these two formations can break through self and allows maximum number of channels; And interval 3, interval 4, present embodiment thinks that communication performance is relatively poor, even use more passage also can't reach the effect that the Business Processing data volume obviously improves, so be set to not allow; These four formations are set to 1,1,0,0 respectively from outstanding to relatively poor so; When there was queuing phenomena in interval 1 and 2 formations, present embodiment can obtain idle queues and use from interval 3 and 4 formations, carry out business data processing, guarantees the resources effective utilization like this.This four formations passage summation whenever can not surpass server maximum number of channels MAX.
By above description, queue management module can be according to the queue management parameter when starting as can be seen, start N corresponding formation according to the startup number of queues parameter in the management parameters, and in individual queue, allow the maximum number of channels parameter to set up the communication port of respective numbers according to individual queue.Passage in the same formation can be lined up to share and be used, and the passage of indivedual formations can be used by other queue sharing.
When main control module receives the communications status value, value can be transmitted to queue management module.This module is according to the communications status value, according to interval under its value, queue value under finding and former queue value relatively, if variation, then this client is adjusted in the corresponding new formation; After doing this adjustment, this client's message information will send from new adjustment formation passage later on.
The communication performance detection module all will obtain formation under the other side's server by main control module from queue management module when each transmission information, from then on find idle channel to use transmission information in the formation.
Queue management module key data structure and method of operation are as shown in the table:
Figure G2009201632677D00131
According to the example of dividing above, explain the work-based logic of queue management module below.Main control module is set up queue management module by calling constructed fuction, and an initialization N formation, obtains the maximum number of channels value of this formation in the formation in advance, does not set up passage; When asking the arrival formation clearly for one, the main control module calls queue management module is judged the affiliated formation of client.If the client identity sign does not exist, explanation is a new client, then the client identity sign is put into outstanding affiliated formation, and for new client, acquiescence is the outstanding client of communication performance.Taking out idle channel then under corresponding the formation sends; When not having idle channel, judge whether this formation has reached self and allowed maximum number of channels, and it's not true, then starts new passage and send; Otherwise judge that this formation surpasses self maximum quantity parameter configuration; If can surpass, then under the prerequisite that is no more than server permission maximum quantity, to obtain idle channel and carry out Business Processing, the processing otherwise this request message can only be lined up waits for having idle channel can distribute use.Here the channel allocation principle of Cai Yonging is according to time queuing principle allocation process.Then discharge this channel resource after finishing dealing with, closing passage discharges server resource.Main control module is by calling the queue management module function, dynamically adjusts formation attribute under the client according to the real-time calculation and analysis result;
It more than is the detailed description that each module of device is done respectively.Below the operational process of whole device, system is done an overall flow explanation.
After at first device started, main control module read relevant parameter, and controlled other three submodules and start respectively; Please refer to accompanying drawing 8 disposed of in its entirety flow charts, the device intercommunication is all undertaken by main control module, is convenient to management.
The handling process of device operation testing process.
Step 100: beginning;
Step 101: main control module regularly starts thread and carries out active detecting, and this is the active detecting pattern;
Step 102: whether the main control module inspection exists the client of next active detecting pattern; If enter 103 steps, finish this detection otherwise enter step 128;
Step 103: the main control module thread takes out the client identity sign of next active detecting pattern;
Step 201: main control module uses servlet to monitor the request msg that our server sends;
Step 202: main control module receives the request msg that our server sends, and this is passive detecting pattern;
Step 203: the main control module thread takes out the client identity sign of next active detecting pattern;
Step 104: main control module input client identity identifies to queue management module;
Step 105: enter queue management module;
Step 106: the queue management module call method is judged the affiliated formation of client identity sign of input;
Step 107: whether queue management module gets the affiliated formation of client; Get and enter step 109, otherwise enter step 108;
Step 108: explanation is not new client, and then giving tacit consent to the affiliated formation of client is outstanding formation;
Step 109: queue management module is obtained this queue empty's idle channel, whether has idle channel;
Step 110: wait in line a period of time, attempt obtaining idle channel again;
Step 111: this passage example quoted return to main control module;
Step 112: return main control module;
Step 113: main control module is quoted the passage example and is sent to the communication performance detection module;
Step 114: enter the communication performance detection module;
Step 115: the communication performance detection module uses this passage to send request or detection packet;
Step 116: the communication performance detection module is sent completely back wait-for-response message;
Step 117: whether in time-out time, get access to response message;
Step 118: get access to response message, response results is successfully, the recording responses time, sends number of success in the unit interval (30 minutes) continuously and adds up;
Step 218: response message can't get access to, and response results is failure, and response speed is a time-out time, sends the frequency of failure in the unit interval (30 minutes) continuously and adds up;
Step 119: above response message and response data are returned to main control module;
Step 120: return main control module;
Step 121: main control module returns to our server with response structure and message, and the response data of collecting is sent to the communication performance analysis module;
Step 122: the communication performance analysis module is according between the relevant response data computation attribute area of collecting;
Step 123: the communication performance analysis module returns value to main control module;
Step 124: main control module forwards value to queue management module;
Step 125: enter queue management module;
Step 126: queue management module judge with current property value whether in same interval;
Step 127: formation under queue management module is adjusted;
Step 128: finish.
In actual applications, can have only wherein to send the prevailing quadrate part of message administration device, can guarantee when problem takes place the other side, in time to adjust, avoid the generation of clogging.If both sides all will send the message of some, advise that then both sides all dispose this device, can detect the operation conditions of the other side's server mutually, guarantee the unimpeded of whole communication, and in time notify the other side to make adjustment, guarantee professional stable operation.
Above-described specific embodiment; the purpose of this utility model, technical scheme and beneficial effect are further described; institute is understood that; the above only is a specific embodiment of the utility model; be not limited to the utility model; all within spirit of the present utility model and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within the protection range of the present utility model.

Claims (4)

1. device of realizing bank's interconnected communication, it is characterized in that, this device comprises main control module, communication performance detection module, communication performance analysis module and queue management module, wherein, main control module is connected to communication performance detection module, communication performance analysis module and queue management module, the communication performance detection module receives and analyzes the message sink response message that the other side's server returns, and obtains response time, unit interval success rate, continuous number of success and continuous these testing results of the frequency of failure and the data of the other side's server; The communication performance detection module is obtained testing result to the communication performance analysis module and data are calculated, and obtains the operation stability parameter of the other side's server; Main control module is arranged at this other side's server in certain communication queue of queue management module according to the operation stability parameter of the other side's server, this communication queue and this other side's server operation stability parameter adapt, to reduce the harmful effect that the other side's server brings, keep the stable and quick of our server.
2. the device of realizing bank's interconnected communication according to claim 1, it is characterized in that, described communication performance detection module is connected in main control module, be used to realize that response speed and correctness to the other side's server carry out active or passive detection, know response time, unit interval success rate, continuous number of success and continuous these testing results of the frequency of failure and the data of the other side's server, and these testing results and data are exported to the communication performance analysis module by main control module.
3. the device of realizing bank's interconnected communication according to claim 1, it is characterized in that, described communication performance analysis module is connected in main control module, adopt the correlation analysis formula that the communication performance detection module is calculated by response time, unit interval success rate, continuous number of success, continuous these testing results of the frequency of failure and the data of main control module input, obtain the operation conditions of the other side's server, and return to main control module and do subsequent treatment; Wherein, the number of success and the continuous frequency of failure are meant the client response success of the last statistics and the continual maximum times of failing continuously.
4. the device of realizing bank's interconnected communication according to claim 1, it is characterized in that, described queue management module is connected in main control module, be used for returning to the operation conditions of the other side's server of main control module according to the communication performance analysis module, judge the residing formation of the other side's server, formation is managed, adjust the formation at the other side's server place in good time, send so that subsequent packet is adjusted to this formation.
CN2009201632677U 2009-07-01 2009-07-01 Device capable of achieving bank-enterprise intercommunication Expired - Lifetime CN201499180U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009201632677U CN201499180U (en) 2009-07-01 2009-07-01 Device capable of achieving bank-enterprise intercommunication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009201632677U CN201499180U (en) 2009-07-01 2009-07-01 Device capable of achieving bank-enterprise intercommunication

Publications (1)

Publication Number Publication Date
CN201499180U true CN201499180U (en) 2010-06-02

Family

ID=42442375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009201632677U Expired - Lifetime CN201499180U (en) 2009-07-01 2009-07-01 Device capable of achieving bank-enterprise intercommunication

Country Status (1)

Country Link
CN (1) CN201499180U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684934A (en) * 2011-03-17 2012-09-19 阿里巴巴集团控股有限公司 Method and system for monitoring property of web application program and web server
CN105574624A (en) * 2014-10-09 2016-05-11 阿里巴巴集团控股有限公司 Abnormal data processing method and device and monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684934A (en) * 2011-03-17 2012-09-19 阿里巴巴集团控股有限公司 Method and system for monitoring property of web application program and web server
CN105574624A (en) * 2014-10-09 2016-05-11 阿里巴巴集团控股有限公司 Abnormal data processing method and device and monitoring system

Similar Documents

Publication Publication Date Title
CN107528870B (en) A kind of collecting method and its equipment
EP2563062B1 (en) Long connection management apparatus and link resource management method for long connection communication
CN106709003A (en) Hadoop-based mass log data processing method
US9838483B2 (en) Methods, systems, and computer readable media for a network function virtualization information concentrator
AU2005249056B2 (en) System and method for performance management in a multi-tier computing environment
US8892737B2 (en) Network sniffer for performing service level management
CN108924221A (en) The method and apparatus for distributing resource
CN104734915B (en) A kind of concurrent dynamic emulation method of Multi net voting of compound multi-process multithreading
US20100094916A1 (en) Service Level Management System
CN101902497B (en) Cloud computing based internet information monitoring system and method
CN108196788A (en) QoS index monitoring method, device, storage medium
CN103152393A (en) Charging method and charging system for cloud computing
CN103795575B (en) A kind of system monitoring method towards multiple data centers
US11616848B2 (en) Curating proxy server pools
CN106789431A (en) A kind of overtime monitoring method and device
CN112583734B (en) Burst flow control method and device, electronic equipment and storage medium
CN106649856A (en) Database access device, system and method
CN108924007A (en) The big data acquisition of communication operation information and storage system and method
CN107168853A (en) A kind of server performance information acquisition method, system and substrate control manager
CN101938507B (en) Device and method for realizing interconnection communication of bank and enterprise
CN109787788A (en) A method of network of the building based on artificial intelligence
CN101751297A (en) Information system to which a large number of clients can log in and method for large number of clients to log in to same
US20150109915A1 (en) Network traffic management
CN201499180U (en) Device capable of achieving bank-enterprise intercommunication
CN111796935B (en) Consumption instance distribution method and system for calling log information

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20100602

CX01 Expiry of patent term