CN105281964A - Method for processing reading and writing requests under high concurrency and adaptation layer server - Google Patents

Method for processing reading and writing requests under high concurrency and adaptation layer server Download PDF

Info

Publication number
CN105281964A
CN105281964A CN201410256664.4A CN201410256664A CN105281964A CN 105281964 A CN105281964 A CN 105281964A CN 201410256664 A CN201410256664 A CN 201410256664A CN 105281964 A CN105281964 A CN 105281964A
Authority
CN
China
Prior art keywords
request
adaptation layer
service device
layer service
storage server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410256664.4A
Other languages
Chinese (zh)
Other versions
CN105281964B (en
Inventor
朱杰
孙漠舟
周志军
惠文武
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Zhongxing Software Co Ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410256664.4A priority Critical patent/CN105281964B/en
Priority to PCT/CN2014/086967 priority patent/WO2015188499A1/en
Publication of CN105281964A publication Critical patent/CN105281964A/en
Application granted granted Critical
Publication of CN105281964B publication Critical patent/CN105281964B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method for processing reading and writing requests under high concurrency and an adaptation layer server. The method for processing the reading and writing requests under high concurrency includes the following steps that: the adaptation layer server receives a first request of a client end, and monist monitoring data obtained by the client end and judges whether the first request is a normal request according to the monitoring data and preset monitoring rules; and when the first request is a normal request, the adaptation layer server determines time for initialing a request for connecting a storage server or determines time for disconnecting the storage server according to the monitoring data and the preset monitoring rules. The invention also discloses an adapter layer server. According to the method of the invention, based on the monitoring data of the client and the preset monitoring rules, the time for initialing the request for connecting the storage server is determined or the time for disconnecting the storage server is determined, and therefore, storage/reading efficiency of data and resource utilization can be improved.

Description

Height also gives read-write requests processing method and Adaptation Layer Service device
Technical field
The present invention relates to networking technology area, particularly relate to height and give read-write requests processing method and Adaptation Layer Service device.
Background technology
Along with development in an all-round way and the arrival in full spectrum information epoch of network technology, there is telecommunication service, the high concurrent situation of the application scenarioss such as social application, but under this kind high concurrent sight, read/write requests is numerous, but the transmission bandwidth between client and Adaptation Layer Service device is generally much smaller than the transmission bandwidth between Adaptation Layer Service device and storage server, and storage server can support that concurrent connection is also few, have impact on storage/reading efficiency and the resource utilization of data, meanwhile, the disappearance of monitoring technology, the dumb grade of Developing Tactics further have impact on storage/reading efficiency and the resource utilization of data, therefore, be badly in need of seeking a kind of technical scheme and solve the storage/reading efficiency of data and the low problem of resource utilization.
Foregoing, only for auxiliary understanding technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Main purpose of the present invention be to solve the application scenarios such as telecommunication service, social application height concurrent when, read/write requests is numerous, the storage/reading efficiency of data and the low problem of resource utilization.
For achieving the above object, one provided by the invention is high and give read-write requests processing method, and this height is also given read-write requests processing method and comprised the following steps:
Adaptation Layer Service device receives the first request of client, monitors described client and obtains Monitoring Data, and judges that whether described first request is for normal request according to described Monitoring Data with the Monitoring Rules preset;
When described first request is for normal request, described Adaptation Layer Service device determines with described default Monitoring Rules the connection request opportunity with storage server of initiating according to described Monitoring Data, or determines to cut off the opportunity be connected with storage server.
Preferably, Adaptation Layer Service device receives the first request of client, monitors described client and obtains Monitoring Data, and according to described Monitoring Data with the Monitoring Rules preset judge described first ask the step whether for normal request after also comprise:
The Monitoring Data of monitoring client gained is sent to visualized management server and is shown by Adaptation Layer Service device.
Preferably, Adaptation Layer Service device receives the first request of client, monitors described client and obtains Monitoring Data, and according to described Monitoring Data with the Monitoring Rules preset judge described first ask the step whether for normal request before also comprise:
Adaptation Layer Service device reception visualized management server adds configuration to the Monitoring Rules of Adaptation Layer Service device, Monitoring Rules deletes configuration and Monitoring Rules comes into force configuration, Monitoring Rules invalid configuration.
Preferably, when described first request is for normal request, described Adaptation Layer Service device determines with described default Monitoring Rules the connection request opportunity with storage server of initiating according to described Monitoring Data, or determines that the step cutting off the opportunity be connected with storage server comprises:
When described first request for normal request time, if described first request be the first write request, described Adaptation Layer Service device receive described client send write data;
Adaptation Layer Service device, according to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, determines the connection request opportunity with storage server of initiating;
When reaching described connection request opportunity, Adaptation Layer Service device initiates the second write request to storage server, will write data write storage server, and sends write and complete response message to client.
Preferably, when described first request is for normal request, described Adaptation Layer Service device determines with described default Monitoring Rules the connection request opportunity with storage server of initiating according to described Monitoring Data, or determines that the step cutting off the opportunity be connected with storage server comprises::
When described first request is for normal request, if described first request is the first read request, Adaptation Layer Service device initiates the second read request to storage server, and receives the read data of storage server transmission;
Adaptation Layer Service device, according to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, is determined to cut off the opportunity be connected with storage server;
After reading completes, Adaptation Layer Service device sends reading and completes response message to client.
In addition, for achieving the above object, the present invention also provides a kind of Adaptation Layer Service device, and this Adaptation Layer Service device comprises:
Monitoring and judge module: for receiving client first asks, monitor described client and obtain Monitoring Data, and judge that whether described first request is for normal request according to described Monitoring Data with the Monitoring Rules preset;
Opportunity determination module: for when described first request is for normal request, determines to initiate and connection request opportunity of storage server with described default Monitoring Rules according to described Monitoring Data, or determine to cut off the opportunity be connected with storage server.
Preferably, Adaptation Layer Service device also comprises:
Sending module: shown for the Monitoring Data of monitoring client gained is sent to visualized management server.
Preferably, Adaptation Layer Service device also comprises:
Monitoring Rules processing module: reception visualized management server adds configuration to the Monitoring Rules of Adaptation Layer Service device, Monitoring Rules deletes configuration and Monitoring Rules comes into force configuration, Monitoring Rules invalid configuration.
Preferably, opportunity determination module also for:
When described first request is for normal request, if described first request is the first write request, what receive the transmission of described client writes data;
According to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, determine the connection request opportunity with storage server of initiating;
When reaching described request opportunity, initiating the second write request to storage server, data write storage server will be write, and send write and complete response message to client.
Preferably, opportunity determination module also for:
When described first request is for normal request, if described first request is the first read request, initiates the second read request to storage server, and receive the read data of storage server transmission;
According to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, determine to cut off the connection opportunity with storage server;
After reading completes, send reading and complete response message to client.
Adaptation Layer Service device determines with the Monitoring Rules preset the connection request opportunity with storage server of initiating according to the Monitoring Data of client, or determines to cut off the opportunity be connected with storage server, improves storage/reading efficiency and the resource utilization of data.
Accompanying drawing explanation
Fig. 1 is that the present invention is high and give the schematic flow sheet of read-write requests processing method first embodiment;
Fig. 2 is that the present invention is high and give the schematic flow sheet of read-write requests processing method second embodiment;
Fig. 3 is that the present invention is high and give the schematic flow sheet of read-write requests processing method the 3rd embodiment;
Fig. 4 is when the first request is for determining during normal request to initiate and the step refinement schematic flow sheet on connection request opportunity of storage server in Fig. 1;
Fig. 5 be in Fig. 1 when the first request is for normal request, determine to cut off the step refinement schematic flow sheet with connection opportunity of storage server;
Fig. 6 is the high-level schematic functional block diagram of Adaptation Layer Service device first embodiment of the present invention;
Fig. 7 is the high-level schematic functional block diagram of Adaptation Layer Service device second embodiment of the present invention;
Fig. 8 is the high-level schematic functional block diagram of Adaptation Layer Service device the 3rd embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The invention provides a kind of high and give read-write requests processing method.
Be that the present invention is high and give the schematic flow sheet of read-write requests processing method first embodiment with reference to Fig. 1, Fig. 1.
In a first embodiment, this height give read-write requests processing method and comprise:
Step S10, Adaptation Layer Service device receives the first request of client, monitors described client and obtains Monitoring Data, and judges that whether described first request is for normal request according to described Monitoring Data with the Monitoring Rules preset;
Client in the present embodiment comprises individual PC, portable notebook computer, and panel computer etc. can initiate the terminal of read/write requests.
Client sends the first request to Adaptation Layer Service device, when Adaptation Layer Service device receives the first request of client, client is monitored, obtain the Monitoring Data of client, described Monitoring Data comprises: the transmission bandwidth between client and Adaptation Layer Service device, the IP address of client, the data messages such as client-access destination object; Meanwhile, with the Monitoring Rules preset, Adaptation Layer Service device judges that whether the first request is for normal request according to Monitoring Data, when the first request is for abnormal request, and directly this first request of refusal.
Step S20, when described first request is for normal request, described Adaptation Layer Service device determines with described default Monitoring Rules the connection request opportunity with storage server of initiating according to described Monitoring Data, or determines to cut off the opportunity be connected with storage server.
When the first request is for normal request, as first request be the first write request time, Adaptation Layer Service device determines with the Monitoring Rules preset the connection request opportunity with storage server of initiating according to the Monitoring Data monitored, as the first request be the first read request time, Adaptation Layer Service device is determined to cut off the opportunity be connected with storage server with default Monitoring Rules according to the Monitoring Data monitored.
In the present embodiment, Adaptation Layer Service device determines with the Monitoring Rules preset the connection request opportunity with storage server of initiating according to the Monitoring Data of client, or determine to cut off the opportunity be connected with storage server, improve storage/reading efficiency and the resource utilization of data.
Be that the present invention is high and give the schematic flow sheet of read-write requests processing method second embodiment see Fig. 2, Fig. 2.
On the basis of above-described embodiment, after execution step S10, the present invention is high and give read-write requests processing method and also comprise:
Step S30, the Monitoring Data of monitoring client gained is sent to visualized management server and is shown by Adaptation Layer Service device.
When Adaptation Layer Service device receives the first request of client, Adaptation Layer Service device is monitored client, obtain the Monitoring Data of client, described Monitoring Data comprises: the transmission bandwidth between client and Adaptation Layer Service device, the IP address of client, the data messages such as client-access destination object; Visualized management server Monitoring Data is sent to show again, the main contents of display comprise: the main source of current request, doubtful attack source, bandwidth on demand are than distribution, the control informations such as hotspot's distribution, facilitate user to understand the information such as main source, primary challenge source of current request in real time by the form such as curve, calcspar.
In the present embodiment, Adaptation Layer Service device transmission Monitoring Data shows to visualized management server, facilitates user to understand the main source of current request in real time, the information such as primary challenge source.
Be that the present invention is high and give the schematic flow sheet of read-write requests processing method the 3rd embodiment see Fig. 3, Fig. 3.
On the basis of above-described embodiment, before execution step S10, the present invention is high and give read-write requests processing method and also comprise:
Step 40, Adaptation Layer Service device reception visualized management server adds configuration to the Monitoring Rules of Adaptation Layer Service device, Monitoring Rules deletes configuration and Monitoring Rules comes into force configuration, Monitoring Rules invalid configuration
The Monitoring Rules of visualized management server to Adaptation Layer Service device adds, deletes, and the Monitoring Rules controlling Adaptation Layer Service device come into force, invalid; Described Monitoring Rules comprises: the Monitoring Rules such as IP restriction, focus control, starting point access control; Visualized management server can increase according to actual needs, the Monitoring Rules deleted in Adaptation Layer Service device, also current existing Monitoring Rules in Adaptation Layer Service device can be controlled according to actual needs whether effective, by this kind of mode, the Monitoring Rules pond that Monitoring Rules in Adaptation Layer Service device is formed is a dynamic adjustment state, renewal that can be real-time, to meet actual needs in real time.
This enforcement, by providing the dynamic conditioning interface of a Monitoring Rules, ensure that the real-time update in Monitoring Rules pond is to meet actual needs instantly.
With reference to Fig. 4, Fig. 4 be in Fig. 1 when the first request is for normal request, determine to initiate the step refinement schematic flow sheet with connection request opportunity of storage server.
Further, step S20 comprises:
Step S2011, when described first request for normal request time, if described first request be the first write request, described Adaptation Layer Service device receive described client send write data; ;
When the described first request is for normal request, Adaptation Layer Service device judges that the first request is the first write request or the first read request, and when Adaptation Layer Service device judges that the first request is the first write request, what Adaptation Layer Service device reception client sent writes data;
Step S2012, Adaptation Layer Service device, according to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, determines the connection request opportunity with storage server of initiating;
Adaptation Layer Service device receive client send write data while, Adaptation Layer Service device is according to the transmission bandwidth of the Adaptation Layer Service device in Monitoring Data and client, with the bandwidth ratio of the transmission bandwidth of described Adaptation Layer Service device and storage server, determine the connection request opportunity of initiating Adaptation Layer Service device and storage server; The determination mode on described connection request opportunity, for example: suppose that the transmission bandwidth between client and Adaptation Layer Service device is B1, and the transmission bandwidth between Adaptation Layer Service device and storage server is B2, both bandwidth ratios are B1:B2=1:4, in this case, writing data in client transmissions reaches when 75% to Adaptation Layer Service device, is the connection request opportunity of setting up between Adaptation Layer Service device and storage server;
Step S2013, when reaching described connection request opportunity, Adaptation Layer Service device initiates the second write request to storage server, will write data write storage server, and sends write and complete response message to client.
When reaching described request opportunity, set up the connection between Adaptation Layer Service device and storage server; Adaptation Layer Service device while receive client write data, data are write to storage server while send, client sent write data to the operation of Adaptation Layer Service device, to send with Adaptation Layer Service device and write data and complete to the operation of storage server simultaneously, after completing, Adaptation Layer Service device sends write and completes response message to client, and mark has this time been asked; By such processing mode, make storage server write data in the time of Adaptation Layer Service device in client transmissions 75%, other business can be processed, improve resource utilization, also enhance storage efficiency simultaneously.
In the present embodiment when the first request is the first write request, Adaptation Layer Service device draws the transmission bandwidth of Adaptation Layer Service device and client, with the bandwidth ratio of the transmission bandwidth of Adaptation Layer Service device and storage server, Adaptation Layer Service device determines according to bandwidth ratio the connection request opportunity with storage server of initiating, reach the technique effect improving resource utilization and storage efficiency, meanwhile, also vacate a large amount of time, for other business of storage server process.
See Fig. 5, Fig. 5 be in Fig. 1 when the first request is for normal request, determine to cut off the step refinement schematic flow sheet with connection opportunity of storage server.
Further, step S20 comprises:
Step S2021, when described first request is for normal request, if described first request is the first read request, Adaptation Layer Service device initiates the second read request to storage server, and receives the read data of storage server transmission;
When the first request is for normal request, Adaptation Layer Service device judges that the first request is the first write request or the first read request, when Adaptation Layer Service device judges that the first request is the first read request, Adaptation Layer Service device initiates the second read request to storage server, storage server sends response message to Adaptation Layer Service device, and read data is sent to Adaptation Layer Service device;
Step S2022, Adaptation Layer Service device, according to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, is determined to cut off the opportunity be connected with storage server;
Adaptation Layer Service device receives the read data of storage server, Adaptation Layer Service device is according to the transmission bandwidth of the Adaptation Layer Service device in Monitoring Data and client, with the bandwidth ratio of the transmission bandwidth of described Adaptation Layer Service device and storage server, determine to cut off the connection opportunity with storage server, describedly cut off the determination mode with connection opportunity of storage server, for example: suppose that the transmission bandwidth between client and Adaptation Layer Service device is B1, and the transmission bandwidth between Adaptation Layer Service device and storage server is B2, both bandwidth ratios are B1:B2=1:4, in this case, sending read data at Adaptation Layer Service device reaches when 25% to client, namely time storage server transmission read data completes to Adaptation Layer Service device, cut off the opportunity that Adaptation Layer Service device is connected with storage server, storage server can process other business within the remaining time.
Step S2023, after having read, Adaptation Layer Service device sends reading and completes response message to client.
After Adaptation Layer Service device transmission read data completes to client, send reading and complete response message to client, the read request identifying this completes.
In the present embodiment when the first request is the first read request, Adaptation Layer Service device draws the transmission bandwidth of Adaptation Layer Service device and client, with the bandwidth ratio of the transmission bandwidth of Adaptation Layer Service device and storage server, Adaptation Layer Service device is determined according to bandwidth ratio to cut off the opportunity be connected with storage server, reach the technique effect improving resource utilization and reading efficiency, simultaneously, when Adaptation Layer Service device sends read data client, vacate a large amount of time, for other business of storage server process.
The present invention further provides a kind of Adaptation Layer Service device.
With reference to the high-level schematic functional block diagram that Fig. 6, Fig. 6 are Adaptation Layer Service device first embodiment of the present invention;
In a first embodiment, this Adaptation Layer Service device comprises:
Monitoring and judge module 10: for receiving client first asks, monitor described client and obtain Monitoring Data, and judge that whether described first request is for normal request according to described Monitoring Data with the Monitoring Rules preset;
Opportunity determination module 20: for when described first request is for normal request, determines to initiate and connection request opportunity of storage server with described default Monitoring Rules according to described Monitoring Data, or determine to cut off the opportunity be connected with storage server.
Client in the present embodiment comprises individual PC, portable notebook computer, and panel computer etc. can initiate the intelligent terminal of read/write requests.
Client sends the first request to Adaptation Layer Service device, when Adaptation Layer Service device receives the first request of client, monitoring and judge module 10 pairs of clients are monitored, obtain the Monitoring Data of client, described Monitoring Data comprises: the transmission bandwidth between client and Adaptation Layer Service device, the IP address of client, the data messages such as client-access destination object; Meanwhile, with default Monitoring Rules, monitoring judges that first ask whether for normal request according to Monitoring Data with judge module 10, when the first request is for abnormal request, directly refuses this and first to ask.
When the first request is for normal request, as first request be the first write request time, opportunity, determination module 20 determined with default Monitoring Rules the connection request opportunity with storage server of initiating according to the Monitoring Data monitored, as the first request be the first read request time, opportunity, determination module 20 determined to cut off the connection opportunity with storage server according to the Monitoring Data monitored with default Monitoring Rules.
In the present embodiment, determination module 20 determines with default Monitoring Rules the connection request opportunity with storage server of initiating according to the Monitoring Data of client opportunity, or cut off the connection opportunity with storage server, improve storage/reading efficiency and the resource utilization of data.
See the high-level schematic functional block diagram that Fig. 7, Fig. 7 are Adaptation Layer Service device second embodiment of the present invention.
On the basis of above-described embodiment, Adaptation Layer Service device of the present invention also comprises:
Sending module 30: shown for the Monitoring Data of monitoring client gained is sent to visualized management server.
When Adaptation Layer Service device receives the first request of client, monitoring and judge module 10 pairs of clients are monitored, obtain the Monitoring Data of client, described Monitoring Data comprises: the transmission bandwidth between client and Adaptation Layer Service device, the IP address of client, the data messages such as client-access destination object; Monitoring Data sends to visualized management server to show by sending module 30, the main contents of display comprise: the main source of current request, doubtful attack source, bandwidth on demand are than distribution, the control informations such as hotspot's distribution, facilitate user to understand the information such as main source, primary challenge source of current request in real time by the form such as curve, calcspar.
In the present embodiment, sending module 30 sends Monitoring Data and shows to visualized management server, facilitates user to understand the main source of current request in real time, the information such as primary challenge source.
See the high-level schematic functional block diagram that Fig. 8, Fig. 8 are Adaptation Layer Service device the 3rd embodiment of the present invention.
On the basis of above-described embodiment, Adaptation Layer Service device of the present invention also comprises:
Monitoring Rules processing module 40: reception visualized management server adds configuration to the Monitoring Rules of Adaptation Layer Service device, Monitoring Rules deletes configuration and Monitoring Rules comes into force configuration, Monitoring Rules invalid configuration.
Monitoring Rules in the present embodiment comprises: the Monitoring Rules such as IP restriction, focus control, starting point access control; Visualized management server can increase according to actual needs, the Monitoring Rules deleted in Adaptation Layer Service device, also current existing Monitoring Rules in Adaptation Layer Service device can be controlled according to actual needs whether effective, by this kind of mode, the Monitoring Rules pond that Monitoring Rules in Adaptation Layer Service device is formed is a dynamic adjustment state, renewal that can be real-time, to meet actual needs.
This enforcement provides the dynamic conditioning interface of a Monitoring Rules by Monitoring Rules processing module 40, ensure that the real-time update in Monitoring Rules pond is to meet actual needs instantly.
Further, opportunity determination module 20 also for:
When described first request is for normal request, if described first request is the first write request, what opportunity, determination module 20 received that described client sends writes data;
Opportunity, determination module 20 was according to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, determined the connection request opportunity with storage server of initiating;
When reaching described request opportunity, opportunity, determination module 20 initiated the second write request to storage server, will write data write storage server, and sent write and complete response message to client.
When the described first request is for normal request, determination module 20 judged the first request it was the first write request or the first read request opportunity, when opportunity, determination module 20 judged that the first request is the first write request, what Adaptation Layer Service device received that client sends writes data;
Adaptation Layer Service device receive client send write data while, opportunity, determination module 20 was according to the transmission bandwidth of the Adaptation Layer Service device in Monitoring Data and client, with the bandwidth ratio of the transmission bandwidth of described Adaptation Layer Service device and storage server, determine the connection request opportunity of initiating Adaptation Layer Service device and storage server; The determination mode on described connection request opportunity, for example: suppose that the transmission bandwidth between client and Adaptation Layer Service device is B1, and the transmission bandwidth between Adaptation Layer Service device and storage server is B2, both bandwidth ratios are B1:B2=1:4, in this case, writing data in client transmissions reaches when 75% to Adaptation Layer Service device, is the connection request opportunity of setting up between Adaptation Layer Service device and storage server;
When reaching connection request opportunity, set up the connection between Adaptation Layer Service device and storage server; Adaptation Layer Service device while receive client write data, data are write to storage server while send, client sent write data to the operation of Adaptation Layer Service device, to send with Adaptation Layer Service device and write data and to operate to storage server and complete simultaneously, after completing, determination module 20 sent write and completed response message to client opportunity, and mark has this time been asked; By such processing mode, make storage server client transmissions 75% write data to Adaptation Layer Service device in, other business can be processed, improve resource utilization, also enhance storage efficiency simultaneously.
In the present embodiment when the first request is the first write request, opportunity, determination module 20 drew the transmission bandwidth of Adaptation Layer Service device and client, with the bandwidth ratio of the transmission bandwidth of Adaptation Layer Service device and storage server, opportunity, determination module 20 determined according to bandwidth ratio the connection request opportunity with storage server of initiating, reach the technique effect improving resource utilization and storage efficiency, meanwhile, also vacate a large amount of time, for other business of storage server process.
Further, opportunity determination module 20 also for:
When described first request is for normal request, if described first request is the first read request, opportunity, determination module 20 initiated the second read request to storage server, and received the read data that storage server sends;
Opportunity, determination module 20 was according to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, determined to cut off the connection opportunity with storage server;
After reading completes, determination module 20 sent reading and completed response message to client opportunity.
When the first request is for normal request, opportunity, determination module 20 judged that the first request is write request or read request, when opportunity, determination module 20 judged that the first request is the first read request, opportunity, determination module 20 initiated the second read request to storage server, storage server sends response message to Adaptation Layer Service device, and read data is sent to Adaptation Layer Service device;
Adaptation Layer Service device receives the read data of storage server, opportunity, determination module 20 was according to the transmission bandwidth of the Adaptation Layer Service device in Monitoring Data and client, with the bandwidth ratio of the transmission bandwidth of Adaptation Layer Service device and storage server, determine to cut off the opportunity that Adaptation Layer Service device is connected with storage server, described cutting off determines mode the opportunity that Adaptation Layer Service device is connected with storage server, for example: suppose that the transmission bandwidth between client and Adaptation Layer Service device is B1, and the transmission bandwidth between Adaptation Layer Service device and storage server is B2, both bandwidth ratios are B1:B2=1:4, in this case, sending read data at Adaptation Layer Service device reaches when 25% to client, namely time storage server transmission read data completes to Adaptation Layer Service device, cut off the opportunity that Adaptation Layer Service device is connected with storage server, storage server can process other business within the remaining time.
Adaptation Layer Service device sends after read data completes to client, and determination module 20 sent reading and completed response message to client opportunity, and the read request identifying this completes.
In the present embodiment when the first request is the first read request, opportunity, determination module 20 drew the transmission bandwidth of Adaptation Layer Service device and client, with the bandwidth ratio of the transmission bandwidth of Adaptation Layer Service device and storage server, opportunity, determination module 20 was determined to cut off the opportunity be connected with storage server according to bandwidth ratio, reach the technique effect improving resource utilization and reading efficiency, simultaneously, when Adaptation Layer Service device sends read data client, vacate a large amount of time, for other business of storage server process.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. high and give a read-write requests processing method, it is characterized in that, described height is also given read-write requests processing method and is comprised the following steps:
Adaptation Layer Service device receives the first request of client, monitors described client and obtains Monitoring Data, and judges that whether described first request is for normal request according to described Monitoring Data with the Monitoring Rules preset;
When described first request is for normal request, described Adaptation Layer Service device determines with described default Monitoring Rules the connection request opportunity with storage server of initiating according to described Monitoring Data, or determines to cut off the opportunity be connected with storage server.
2. as claimed in claim 1 high and give read-write requests processing method, it is characterized in that, described Adaptation Layer Service device receives the first request of client, monitor described client and obtain Monitoring Data, and according to described Monitoring Data with the Monitoring Rules preset judge described first ask the step whether for normal request after also comprise:
The Monitoring Data of monitoring client gained is sent to visualized management server and is shown by Adaptation Layer Service device.
3. as claimed in claim 1 high and give read-write requests processing method, it is characterized in that, described Adaptation Layer Service device receives the first request of client, monitor described client and obtain Monitoring Data, and according to described Monitoring Data with the Monitoring Rules preset judge described first ask the step whether for normal request before also comprise:
Adaptation Layer Service device reception visualized management server adds configuration to the Monitoring Rules of Adaptation Layer Service device, Monitoring Rules deletes configuration and Monitoring Rules comes into force configuration, Monitoring Rules invalid configuration.
4. as claimed in claim 1 high and give read-write requests processing method, it is characterized in that, it is described when described first request is for normal request, described Adaptation Layer Service device determines with described default Monitoring Rules the connection request opportunity with storage server of initiating according to described Monitoring Data, or determines that the step cutting off the opportunity be connected with storage server comprises:
When described first request for normal request time, if described first request be the first write request, described Adaptation Layer Service device receive described client send write data;
Adaptation Layer Service device, according to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, determines the connection request opportunity with storage server of initiating;
When reaching described connection request opportunity, Adaptation Layer Service device initiates the second write request to storage server, will write data write storage server, and sends write and complete response message to client.
5. as claimed in claim 1 high and give read-write requests processing method, it is characterized in that, it is described when described first request is for normal request, described Adaptation Layer Service device determines with described default Monitoring Rules the connection request opportunity with storage server of initiating according to described Monitoring Data, or determines that the step cutting off the opportunity be connected with storage server comprises:
When described first request is for normal request, if described first request is the first read request, Adaptation Layer Service device initiates the second read request to storage server, and receives the read data of storage server transmission;
Adaptation Layer Service device, according to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, is determined to cut off the opportunity be connected with storage server;
After reading completes, Adaptation Layer Service device sends reading and completes response message to client.
6. an Adaptation Layer Service device, is characterized in that, described Adaptation Layer Service device comprises:
Monitoring and judge module: for receiving client first asks, monitor described client and obtain Monitoring Data, and judge that whether described first request is for normal request according to described Monitoring Data with the Monitoring Rules preset;
Opportunity determination module: for when described first request is for normal request, determines to initiate and connection request opportunity of storage server with described default Monitoring Rules according to described Monitoring Data, or determine to cut off the opportunity be connected with storage server.
7. Adaptation Layer Service device as claimed in claim 6, it is characterized in that, described Adaptation Layer Service device also comprises:
Sending module: shown to visualized management server for sending Monitoring Data.
8. Adaptation Layer Service device as claimed in claim 6, it is characterized in that, described Adaptation Layer Service device also comprises:
Monitoring Rules processing module: reception visualized management server adds configuration to the Monitoring Rules of Adaptation Layer Service device, Monitoring Rules deletes configuration and Monitoring Rules comes into force configuration, Monitoring Rules invalid configuration.
9. Adaptation Layer Service device as claimed in claim 6, is characterized in that, described opportunity determination module also for:
When described first request is for normal request, if described first request is the first write request, what receive the transmission of described client writes data;
According to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, determine the connection request opportunity with storage server of initiating;
When reaching described request opportunity, initiating the second write request to storage server, data write storage server will be write, and send write and complete response message to client.
10. Adaptation Layer Service device as claimed in claim 6, is characterized in that, described opportunity determination module also for:
When described first request is for normal request, if described first request is the first read request, initiates the second read request to storage server, and receive the read data of storage server transmission;
According to the bandwidth ratio of the Adaptation Layer Service device in Monitoring Data and the transmission bandwidth of client and the transmission bandwidth of described Adaptation Layer Service device and storage server, determine to cut off the connection opportunity with storage server;
After reading completes, send reading and complete response message to client.
CN201410256664.4A 2014-06-10 2014-06-10 Read-write requests processing method and Adaptation Layer Service device under high concurrent Active CN105281964B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410256664.4A CN105281964B (en) 2014-06-10 2014-06-10 Read-write requests processing method and Adaptation Layer Service device under high concurrent
PCT/CN2014/086967 WO2015188499A1 (en) 2014-06-10 2014-09-19 Method of processing read/write request during high concurrency, and adaptation layer server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410256664.4A CN105281964B (en) 2014-06-10 2014-06-10 Read-write requests processing method and Adaptation Layer Service device under high concurrent

Publications (2)

Publication Number Publication Date
CN105281964A true CN105281964A (en) 2016-01-27
CN105281964B CN105281964B (en) 2019-09-17

Family

ID=54832801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410256664.4A Active CN105281964B (en) 2014-06-10 2014-06-10 Read-write requests processing method and Adaptation Layer Service device under high concurrent

Country Status (2)

Country Link
CN (1) CN105281964B (en)
WO (1) WO2015188499A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018032399A1 (en) * 2016-08-17 2018-02-22 Zte Corporation Server and method having high concurrency capability

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1419200A (en) * 2001-11-13 2003-05-21 英业达股份有限公司 Automatic stored data down transmission method and system
CN101015175A (en) * 2004-07-26 2007-08-08 兄弟工业株式会社 Connection mode setting apparatus, connection mode setting method, connection mode control apparatus, connection mode control method
CN101449542A (en) * 2006-05-16 2009-06-03 闰2通信有限公司 Call management over reduced bandwidth
CN102833168A (en) * 2012-08-31 2012-12-19 北京东土科技股份有限公司 Data transmission method and device based on time triggering mechanism
CN103299698A (en) * 2011-01-14 2013-09-11 诺基亚公司 Method and apparatus for wireless medium access
CN103701883A (en) * 2013-12-18 2014-04-02 华为技术有限公司 Method and equipment for injecting stream media fragments into cache system and cache system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4867799B2 (en) * 2007-06-05 2012-02-01 沖電気工業株式会社 Crawling method, program and device thereof, agent device, network system
CN102724716B (en) * 2012-05-29 2015-01-14 清华大学 Long connection method based on Proxy server
CN103500180A (en) * 2013-09-09 2014-01-08 北京思特奇信息技术股份有限公司 Distributed transaction processing method based on connection pool management

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1419200A (en) * 2001-11-13 2003-05-21 英业达股份有限公司 Automatic stored data down transmission method and system
CN101015175A (en) * 2004-07-26 2007-08-08 兄弟工业株式会社 Connection mode setting apparatus, connection mode setting method, connection mode control apparatus, connection mode control method
CN101449542A (en) * 2006-05-16 2009-06-03 闰2通信有限公司 Call management over reduced bandwidth
CN103299698A (en) * 2011-01-14 2013-09-11 诺基亚公司 Method and apparatus for wireless medium access
CN102833168A (en) * 2012-08-31 2012-12-19 北京东土科技股份有限公司 Data transmission method and device based on time triggering mechanism
CN103701883A (en) * 2013-12-18 2014-04-02 华为技术有限公司 Method and equipment for injecting stream media fragments into cache system and cache system

Also Published As

Publication number Publication date
CN105281964B (en) 2019-09-17
WO2015188499A1 (en) 2015-12-17

Similar Documents

Publication Publication Date Title
CN104994060B (en) It is a kind of to provide the method and apparatus of verifying for logging in for user
SE9802098D0 (en) A method and a system for transmitting a cookie
CN110300053B (en) Method and device for adding friends
CN105897550A (en) Off-line message pushing method and device
CN104834602A (en) Program issuing method, device and system
WO2021238404A1 (en) Data card switching method and apparatus, and terminal, and storage medium
CN103684926A (en) Method and device for testing network speed of local area network
EP3310093A1 (en) Traffic control method and apparatus
CN102752327A (en) Method, system and device for performing interaction between terminals and cloud server
CN104468737A (en) Storage hierarchical scheduling method and system based on service type characteristics
CN107181825B (en) Online processing method of terminal equipment data
CN105991407B (en) Message processing method and device and processing server
CN111767558B (en) Data access monitoring method, device and system
CN105281964A (en) Method for processing reading and writing requests under high concurrency and adaptation layer server
US20160112525A1 (en) Distribution control device and method for same, push distribution system, and storage medium
CN109587806A (en) A kind of scheduling request sending method and terminal device
CN109831467B (en) Data transmission method, equipment and system
CN109068313A (en) A kind of method for switching network and system of multimode standard
CN106067007A (en) The credit statistical method of network courses and system
US20110270970A1 (en) Network device testing system and method
CN112769960A (en) Active flow control method and system based on Nginx server
US9467897B2 (en) Method and system for managing a temporary block flow in a data communication network environment
CN107306282B (en) A kind of link keep-alive method and device
WO2018228343A1 (en) Road rescue method and application server
CN105991450A (en) MAC address table updating method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190820

Address after: Yuhuatai District of Nanjing City, Jiangsu province 210012 Bauhinia Road No. 68

Applicant after: Nanjing Zhongxing New Software Co., Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corporation

GR01 Patent grant
GR01 Patent grant