CN101729598A - Method and system for increasing Web service response speed and network processor - Google Patents

Method and system for increasing Web service response speed and network processor Download PDF

Info

Publication number
CN101729598A
CN101729598A CN200910223370A CN200910223370A CN101729598A CN 101729598 A CN101729598 A CN 101729598A CN 200910223370 A CN200910223370 A CN 200910223370A CN 200910223370 A CN200910223370 A CN 200910223370A CN 101729598 A CN101729598 A CN 101729598A
Authority
CN
China
Prior art keywords
processing unit
network processing
service request
web content
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910223370A
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.)
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN200910223370A priority Critical patent/CN101729598A/en
Publication of CN101729598A publication Critical patent/CN101729598A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for increasing Web service response speed, which comprises the following steps of: receiving a service request sent by a client end by a network processor connected between the client end and a Web server; and when the service request is a static Web content service request and the network processor is stored with a static Web content corresponding to the static Web content service request, directly sending the static Web content corresponding to the static Web content service request to the client end by the network processor. The invention eliminates the performance bottleneck of a Web service operating on a universal processor framework, accelerates the response process of a static Web content service, and improves the performance of the Web server.

Description

Improve the method and system and the network processing unit of the Web service speed of response
Technical field
The present invention relates to networking technology area, be specifically related to a kind of method and system and network processing unit that improves the Web service speed of response.
Background technology
(World Wide Web, WEB) service still is that content main on the Internet provides service platform so far in the World Wide Web (WWW).PC as client uses the Web service software that is called Web browser to carry out the web content visit usually.Be specially Web browser and be connected to Web server by network, Web server reads corresponding web content and returns to client from local hard drive according to the request of client, with the form of webpage it is presented on the PC of client.Web server is as a terminal with power, the throughput of Web server mainly is limited by the performance of Web service software, the disposal ability of Web server CPU, the physical memory capacity of Web server, and the transfer bus of network interface card and Web server CPU (Peripheral Component Interconnect, PCI) several respects such as (passage between network interface card and the Web server CPU) bandwidth.The throughput of Web server reduces, and has also just represented the Web service speed of response lower, has influenced user's use.
Past, a large amount of research was by optimizing the throughput that Web service software promotes Web server for over ten years.Yet still there is following bottleneck in present Web service: the PCI transmission bandwidth is relatively low, not and the network bandwidth increase synchronous; The Web of client request is most of independently of one another, and handles between the thread of different Web requests and do not need communication, yet can not make full use of the degree of parallelism of Web service inherence based on the Web service software of universal processor framework exploitation.Therefore, the speed of response that improves Web service is restricted, and does not have a kind of better method to improve the speed of response of Web service at present.
Summary of the invention
The invention provides a kind of method and system and network processing unit that improves the Web service speed of response, receive the problem of restriction in order to solve the speed of response that improves Web service in the prior art.
The invention provides a kind of method that improves the Web service speed of response, comprising:
The network processing unit that is connected between client and the Web server receives the service request that client sends over;
In described service request is the static Web content service request, and when storing with the pairing static Web content of this static Web content service request in the then described network processing unit, described network processing unit directly will send to client with the pairing static Web content of this static Web content service request.
Preferably, when not storing corresponding static Web content in described network processing unit, then described network processing unit sends to Web server with the described static Web content service request of its reception;
Described network processing unit receive that Web server sends over the pairing static Web content of static Web content service request after, it is stored and is transmitted to client.
Preferably, described network processing unit is buffered in the physical memory of this network processing unit with the pairing static Web content of static Web content service request described when storing.
Preferably, described network processing unit comprises a plurality of microprocessors, and described network processing unit utilizes its a plurality of microprocessors to receive a plurality of service requests that send over from client concurrently, to described a plurality of service request parallel processings.
Preferably, when described service request was not the static Web content service request, described network processing unit sent to Web server with this service request;
Described network processing unit is transmitted to client with it after receiving the response message to this service request that Web server sends over.
Preferably, when modification or deletion took place the static Web content of storing in Web server, this method also comprised step:
Described network processing unit receives the modification that sends over from Web server or the lastest imformation of deletion static Web content;
Described network processing unit carries out corresponding modification or deletion according to the lastest imformation that is received to its static Web content of storing.
Preferably, before the service request that described network processing unit reception client sends over, also be included in and set up the TCP step of connecting between client and the Web server:
The message that the request that described network processing unit reception client sends over connects, and send it to Web server;
Receive request that Web server the returns received response message that connects, and send it to client;
The affirmation message that described response message is recognized that receives that client returns, and send it to Web server is set up client and is connected with TCP between the Web server.
Preferably, when in described network processing unit, storing corresponding static Web content, when being issued client, it also comprises step:
Described network processing unit sends to Web server and cuts out the connection message, and the notice Web server cuts out TCP and connects.
The present invention also provides a kind of network processing unit, and this network processing unit comprises:
The request receiving element is used to receive the service request that client sends over;
First judging unit is used to judge whether the service request that the described request receiving element is received is the static Web content service request;
Second judging unit, being used for drawing described service request at described first judging unit is static Web content when service, judges whether store in the network processing unit and the pairing static Web content of this static Web content service request;
Direct response unit is used for directly will sending client with the pairing static Web content of this static Web content service request when described second judging unit draws network processing unit and stores corresponding static Web content.
Preferably, this network processing unit also comprises: the request retransmission unit, be used for when described second judging unit draws described network processing unit and do not store corresponding static Web content, the described static Web content service request that the described request receiving element is received sends to Web server;
Preserve the unit, be used for receive that Web server sends over the pairing static Web content of static Web content service request after, it is kept in the described network processing unit;
The response retransmission unit, be used for receive that Web server sends over the pairing static Web content of static Web content service request after, it is transmitted to client.
Preferably, this network processing unit also comprises: the lastest imformation receiving element is used to receive the modification that sends over from Web server or the lastest imformation of deletion static Web content;
Updating block is used for the lastest imformation that received according to described lastest imformation receiving element, and the static Web content that network processing unit is stored is carried out corresponding modification or deletion.
The present invention also provides a kind of system that improves the Web service speed of response, and this system comprises:
Client is used to send service request and waits for reception and the pairing response of described service request;
Above-mentioned network processing unit;
Web server is used for receiving the service request that client sends over by network processing unit, and this service request is responded and returns to described network processing unit.
Utilize the method and system and the network processing unit of the raising Web service speed of response provided by the present invention, have following beneficial effect:
1) by using network processing unit response static Web content service request, not only eliminated the pci bus bandwidth bottleneck, and alleviated the load of Web server main frame;
2) because network processing unit uses microprocessor engine independent of each other to handle the service request of client, therefore can utilize the degree of parallelism of Web service inherence fully, handle the Web service request by parallelization, improve the Web service speed of response;
3) eliminate the performance bottleneck that operates in the Web service on the universal processor framework, quickened the response process of static Web content service, improved the performance of Web server.
Description of drawings
Fig. 1 is the method flow diagram that improves the Web service speed of response in the embodiment of the invention;
Fig. 2 is the structured flowchart of network processing unit in the embodiment of the invention;
Fig. 3 is the flow chart of existing Web service response;
Fig. 4 is that the Web service response flow when not being cached with static Web content in the network processing unit in the embodiment of the invention is published picture;
Fig. 5 is that the Web service response flow when being cached with static Web content in the network processing unit in the embodiment of the invention is published picture;
Fig. 6 is the flow chart of the NPU_Process process of network processing unit operation in the embodiment of the invention;
Fig. 7 carries out finishing alternately with the NPU_Assistant of network processing unit operation the renewal flow chart of static Web content for Web server in the embodiment of the invention is auxiliary.
Embodiment
Be explained in more detail below in conjunction with the method and system and the network processing unit of drawings and Examples the raising Web service speed of response of the present invention's proposition.
The web content that provides for client in the Web service comprises static Web content and Dynamic Web content, static Web content is once being published on the Web server, whether no matter user capture arranged, these static Web content all are kept on the Website server, that is to say, static Web content (also claiming static Web page) is the file that really is kept on the server, and each static Web page all is an independently web page files.In fact the Dynamic Web content is not the web page files that independently is present on the Web server, in these databases that Dynamic Web content is stored in Web server is connected, have only when client-requested, Web server is according to client-requested, carry out operations such as data base querying, the result that inquiry is obtained is configured to a complete webpage and returns to the user again.
Definition according to international network processor meeting (Network Processors Conference), network processing unit (Network Processor, be called for short NP) be a kind of programming device, it applies specifically to the various tasks of the communications field, such as the converging of bag processing, protocal analysis, route querying, sound/data, fire compartment wall, QoS etc.Network processing unit inside is made up of several microprocessors and some coprocessors usually, and a plurality of microprocessors come the control and treatment flow process in the inner parallel processing of network processing unit by the microcode of working out in advance.Then adopt coprocessor further to improve handling property for some complicated standard operations (as the congestion avoidance algorithm of internal memory operation, routing table lookup algorithm, QoS, flow scheduling algorithm etc.), thereby realized service flexibility and high performance combination.
In Web service, the service request of static Web content generally is higher than the service request of Dynamic Web content, and therefore, the service response of general static Web content can take more processing time of Web server and PCI etc.The present invention utilizes the characteristics and the powerful disposal ability of network processing unit of static Web content just, and a kind of method that improves the Web service speed of response is provided.
In embodiments of the invention one, as shown in Figure 1, this method comprises:
Step S101, the network processing unit that is connected between client and the Web server receives the service request that client sends over;
Step S102, network processing unit judge whether the service request that is received is the static Web content service request, if, execution in step S103, otherwise execution in step S105;
Step S103, described network processing unit judge itself whether to store and the pairing static Web content of this static Web content service request; If execution in step S104, otherwise execution in step S105 are arranged;
Step S104, described network processing unit directly responds to this service request: will send to client with the pairing static Web content of this static Web content service request;
Step S105, network processing unit sends to Web server with the service request of its reception, when service request is not the static Web content service request, transferring to Web server handles, when itself not storing corresponding static Web content, network processing unit does not possess the ability of direct response, therefore, this service request is transferred to Web server yet and is handled;
Step S106, after Web server responded to the service request of its reception, the response that network processing unit is made service request Web server received;
Step S107, network processing unit sends to client with the response message that receives, for client provides Web service; Simultaneously, execution in step S108;
Step S108, network processing unit judge that whether receive the response of coming from Web server is response to the static Web content service request, judge that promptly whether this response is and the pairing static Web content of static Web content service request, if, execution in step S109, otherwise, finish.
Step S109, network processing unit should be preserved with the pairing static Web content of static Web content service request, so that when receiving the service request of this static Web content next time, directly it was responded and need not through network processing unit.
Preferably, network processing unit will be from being buffered in its physical memory with the pairing static Web content of static Web content service request that described Web server receives.Like this, network processing unit can be very fast to the response speed of static Web content service request.In addition, because network processing unit comprises a plurality of microprocessors, network processing unit utilizes its a plurality of microprocessors to receive a plurality of service requests that send over from client concurrently in the present embodiment, to described a plurality of service request parallel processings.Therefore can utilize the degree of parallelism of Web service inherence fully, handle the Web service request, improve the Web service speed of response by parallelization.
Among the present invention, network processing unit is not to be used for substituting Web server, but plays the part of the role of the network layer buffer memory of a Web server static Web content.By method provided by the present invention, be buffered in the physical memory of network processing unit by the static page in the Web server of frequent access, the request to the static Web content that is buffered is directly responded by network processing unit, and is not transmitted to the Web server main frame.By using network processing unit response static Web content service request, not only eliminated Web server host PC I bus bandwidth bottleneck, and alleviated the server host load.Because the static Web content service request has all been responded by network processing unit, Web server main frame static Web content service request is all confiscated, let alone the static Web content service request sent to the Web server host CPU from network interface card, pci bus is useless to be arrived, and has not just had the pci bus bottleneck certainly.
Being stored in static Web content in the network processing unit should be consistent with corresponding static Web content in the storage Web server, at Web server is to satisfy certain to require static Web content to its storage to take place to revise or during deletion, the method that is provided in the present embodiment also comprises step: network processing unit receives the modification that sends over from Web server or the lastest imformation of deletion static Web content; Network processing unit carries out corresponding modification or deletion according to the lastest imformation that is received to its static Web content of storing.Triggering Web server to the condition that network processing unit sends lastest imformation both can be: if the static Web content that Web server is stored have renewal (if any revise or deletion but preferably do not comprise increase), then Web server can initiatively send lastest imformation to services, this lastest imformation can comprise the sign such as the URL of the static Web content of being upgraded and will carry out and upgrade operation, as at deletion action or retouching operation, when retouching operation, also comprise amended static Web content in this lastest imformation, informing network place device is replaced the former static Web content of being determined by URL with amended static Web.Network processing unit at first will judge whether it stores corresponding static Web content according to URL after receiving this type of lastest imformation, if do not have, then this is upgraded operation without any response, if having, then finishes corresponding renewal operation according to lastest imformation.Certainly, triggering Web server to the condition that network processing unit sends lastest imformation can also be: when only modification or deletion take place the static Web content that storage is also arranged in network processing unit of storing at Web server, Web server is just understood the informing network place and is upgraded, the particular content of updating message is identical with the front, different is that network processing unit does not need to judge whether to respond, and directly utilizes this lastest imformation to finish corresponding renewal operation.
The network processing unit that is provided in the present embodiment, shown in prominent 2, this network processing unit comprises:
The request receiving element is used to receive the service request that client sends over;
First judging unit is used to judge whether the service request that the described request receiving element is received is the static Web content service request;
Second judging unit, being used for drawing described service request at described first judging unit is static Web content when service, judges whether store in the network processing unit and the pairing static Web content of this static Web content service request;
Direct response unit is used for directly will sending client with the pairing static Web content of this static Web content service request when described second judging unit draws network processing unit and stores corresponding static Web content;
Preferably, this network processing unit also comprises: the request retransmission unit, be used for when described second judging unit draws described network processing unit and do not store corresponding static Web content, the described static Web content service request that the described request receiving element is received sends to Web server, also being used for drawing described service request described first is not static Web content when service, and this service request is transmitted to Web server;
Preserve the unit, be used for after the described request retransmission unit is transmitted to Web server with service request, waiting for and receive, receive that Web server sends over the pairing static Web content of static Web content service request after, it is kept in the described network processing unit;
The response retransmission unit is used for after the described request retransmission unit is transmitted to Web server with service request waiting for receiving, receive that Web server sends over the pairing static Web content of static Web content service request after, it is transmitted to client;
The lastest imformation receiving element is used to receive the modification that sends over from Web server or the lastest imformation of deletion static Web content;
Updating block is used for the lastest imformation that received according to described lastest imformation receiving element, and the static Web content that network processing unit is stored is carried out corresponding modification or deletion.
The system of the raising Web service speed of response that is provided in the present embodiment comprises:
Client is used to send service request and waits for reception and the pairing response of described service request;
Foregoing network processing unit;
Web server is used for receiving the service request that client sends over by network processing unit, and this service request is responded and returns to described network processing unit.
In embodiments of the invention two, on the basis of the method for the raising Web service speed of response that embodiment one is provided, connect and carry out the Web service response based on TCP, before the service request that network processing unit reception client sends over, also be included in and set up the TCP step of connecting between client and the Web server: the message that the request that network processing unit reception client sends over connects, and send it to Web server; Receive request that Web server the returns received response message that connects, and send it to client; The affirmation message that described response message is recognized that receives that client returns, and send it to Web server is set up client and is connected with TCP between the Web server.When storing corresponding static Web content in described network processing unit, also comprise step when it is issued client: described network processing unit sends to Web server and cuts out the connection message, and the notice Web server cuts out TCP and connects.
As shown in Figure 3, the existing Web service response process that connects based on TCP is:
At first send message F1 that request connects to Web server by client, message F1 is generally the sync message that comprises SYN (Synchronize) sign, and sync message can indicate the port that client uses and the initial sequence number of TCP connection;
After Web server receives message F1, return the received response message F2 of request that connects to client, message F2 is generally the message that comprises the SYN+ACK sign, and ACK promptly confirms (Acknowledgment), and the TCP sequence number is added one simultaneously;
After client receives response message F2, also can return a confirmation message F3 to Web server, same TCP sequence number is added one, connects to this TCP and finishes.
Client is connected through setting up by three messages of F1, F2 and F3 with Web server, then the message F4 of client transmission carries client-side service request, usually client-side service request comprises the web page address URL (Uniform Resource Locator, URL(uniform resource locator)) of the Web service of client-requested;
Web server responds to this service request after receiving the service request of client, and response message is returned to client, and the answer message of structural belt end mark FIN indicates to finish a TCP session when the response message transmission finishes;
Client receive after the response message that Web server returns and the answer message of band FIN after, response message is shown with form web page, return the message that receives response message, the answer message that also returns end of tape marker FIN to Web server when receiving indicates to finish a TCP session;
Web server returns a message of confirming to finish the TCP session after receiving the answer message of message that receives response message that client returns and end of tape marker FIN, finishes this TCP session, and closes TCP and connect.
After the method for the raising Web service speed of response of utilizing in the present embodiment to be provided, when static Web content that client is asked is not stored in network processing unit or service request is not under the situation of static Web content service request, as shown in Figure 4, the Web service response process that connects based on TCP is:
At first send message F1 that request connects to network processing unit by client, network processing unit sends to Web server with message F1, message F1 is generally the sync message that comprises SYN (Synchronize) sign, and sync message can indicate the port of client use and the initial sequence number that TCP connects;
After Web server receives message F1, return the received response message F2 of request that connects to network processing unit, by network processing unit message F2 is sent to client, message F2 is generally the message that comprises the SYN+ACK sign, ACK promptly confirms (Acknowledgment), and the TCP sequence number is added one simultaneously;
After client receives response message F2, also can return a confirmation message F3 to network processing unit, by network processing unit message F3 be sent to Web server, same TCP sequence number is added one, and a TCP connection to this client to Web server is finished.
Client is connected through setting up through three messages of F1, F2 and F3 by network processes with Web server, then client sends and carries the message F4 of client-side service request to network processing unit, usually the service request of client transmission comprises the web page address URL (UniformResource Locator, URL(uniform resource locator)) of the Web service of client-requested;
After network processing unit receives the service request of client, find that this service request is not the static Web content service request, or this service request is the static Web content service request, but itself does not store the static Web content of being determined by URL, then message F4 is sent to Web server, in described service request is the static Web content service request, but itself does not store under the static Web content situation corresponding with this request, for this URL sets up buffer area;
Behind the message F4 that Web server reception network processing unit sends over, respond after the service request that message F4 is carried, response message is returned to network processing unit, and the answer message that sends end of tape marker FIN together when transmission finishes indicates to finish a TCP session to network processing unit;
Network processing unit receive after the response message that Web server returns and the answer message of band FIN after, send it to client, when the response message of returning at Web server is static Web content, it is kept in the buffer area;
Client receives after the response message that network processing unit transmits and behind the answer message of band FIN, response message is shown with form web page, simultaneously also return the message that receives response message to network processing unit, reach the answer message that when transmission finishes, sends end of tape marker FIN, indicate to finish a TCP session;
Network processing unit above-mentionedly receives the message of response message and the answer message of end of tape marker FIN sends to Web server with what client sent;
After Web server receives the answer message of message that receives response message that network processing unit sends and end of tape marker FIN, return one and confirm to finish the message of TCP session to network processing unit, send it to client by network processing unit, finish this TCP session, and close the TCP connection.
After the method for the raising Web service speed of response of utilizing in the present embodiment to be provided, when the static Web content that client is asked has been stored under the situation of network processing unit, as shown in Figure 5, the Web service response process that connects based on TCP is:
Equally, with preceding described identical, client is connected through setting up through three messages of F1, F2 and F3 by network processing unit with Web server, then the message F4 of client transmission carries client-side service request to network processing unit, usually client-side service request comprises the web page address URL (Uniform Resource Locator, URL(uniform resource locator)) of the Web service of client-requested;
After network processing unit receives the service request of client, find that this service request is the static Web content service request, and itself has also stored the static Web content of being determined by URL, then send and close the message that TCP connects to Web server, close the client of setting up be connected with the TCP of Web server, network processing unit replies to client to the static Web content of local physical memory simultaneously, and the answer message that sends end of tape marker FIN after transmission finishes represents to finish a TCP session to client;
After client receives network processing unit static Web content of replying and the answer message of being with FIN, static Web content is shown with form web page, simultaneously also return the message that receives static Web content, indicate to finish a TCP session at the answer message that receives back transmission end of tape marker FIN to network processing unit;
Network processing unit returns a message of confirming to finish the TCP session to client after receiving the answer message of message that receives static Web content that client sends and FIN, finishes this TCP session, and closes network processing unit and be connected with the TCP of client.
Use the present invention, no matter whether the static Web content of client-requested is buffered in the local physical memory of network processing unit, in the whole process that the request of client meets with a response, network processing unit is transparent to client, configuration parameter that need not the additional modifications client software.
In the present embodiment,, need to increase a background process at the Web server end.When the Web server host modifications or when deleting a certain static Web content, this background process is responsible for the static Web content buffer memory that the informing network processor is revised or deletion is corresponding.
Move operation NPU_Process process on each the independently little mutually processing engine on the network processing unit in the present embodiment, a plurality of client-requested are carried out parallel processing.As Fig. 6 is the flow chart of NPU_Process process in the present embodiment.The Web server assisted process operates on the Web server.NPU_Assistant is called by NPU_Process.Wherein network processing unit calls the renewal that NPU_Assistant finishes the static Web content of being stored behind the message that comprises the SYN sign that receives the Web service transmission.In the NPU_Assistant process operation phase, the little processing engine that only allows to carry out NPU_Assistant receives network message, and only allow communication between NPU_Assistant and the Web server assisted process, stop to receive the Web service request and be eliminated up to the buffer memory of the web content that is modified or deletes on network processing unit and finish.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. a method that improves the Web service speed of response is characterized in that, comprising:
The network processing unit that is connected between client and the Web server receives the service request that client sends over;
In described service request is the static Web content service request, and when storing with the pairing static Web content of this static Web content service request in the then described network processing unit, described network processing unit directly will send to client with the pairing static Web content of this static Web content service request.
2. the method for claim 1 is characterized in that,
When not storing corresponding static Web content in described network processing unit, then described network processing unit sends to Web server with the described static Web content service request of its reception;
Described network processing unit receive that Web server sends over the pairing static Web content of static Web content service request after, it is stored and is transmitted to client.
3. method as claimed in claim 2 is characterized in that,
Described network processing unit is buffered in the physical memory of this network processing unit with the pairing static Web content of static Web content service request described when storing.
4. the method for claim 1, it is characterized in that, described network processing unit comprises a plurality of microprocessors, and described network processing unit utilizes its a plurality of microprocessors to receive a plurality of service requests that send over from client concurrently, to described a plurality of service request parallel processings.
5. the method for claim 1 is characterized in that,
When described service request was not the static Web content service request, described network processing unit sent to Web server with this service request;
Described network processing unit is transmitted to client with it after receiving the response message to this service request that Web server sends over.
6. the method for claim 1 is characterized in that, when modification or deletion took place the static Web content of storing in Web server, this method also comprised step:
Described network processing unit receives the modification that sends over from Web server or the lastest imformation of deletion static Web content;
Described network processing unit carries out corresponding modification or deletion according to the lastest imformation that is received to its static Web content of storing.
7. the method for claim 1 is characterized in that,
Before the service request that described network processing unit reception client sends over, also be included in and set up the TCP step of connecting between client and the Web server:
The message that the request that described network processing unit reception client sends over connects, and send it to Web server;
Receive request that Web server the returns received response message that connects, and send it to client;
The affirmation message that described response message is recognized that receives that client returns, and send it to Web server is set up client and is connected with TCP between the Web server.
8. method as claimed in claim 7 is characterized in that,
When in described network processing unit, storing corresponding static Web content, when being issued client, it also comprises step:
Described network processing unit sends to Web server and cuts out the connection message, and the notice Web server cuts out TCP and connects.
9. a network processing unit is characterized in that, this network processing unit comprises:
The request receiving element is used to receive the service request that client sends over;
First judging unit is used to judge whether the service request that the described request receiving element is received is the static Web content service request;
Second judging unit, being used for drawing described service request at described first judging unit is static Web content when service, judges whether store in the network processing unit and the pairing static Web content of this static Web content service request;
Direct response unit is used for directly will sending client with the pairing static Web content of this static Web content service request when described second judging unit draws network processing unit and stores corresponding static Web content.
10. network processing unit as claimed in claim 9 is characterized in that, this network processing unit also comprises:
The request retransmission unit is used for when described second judging unit draws described network processing unit and store corresponding static Web content, and the described static Web content service request of described request receiving element reception is sent to Web server;
Preserve the unit, be used for receive that Web server sends over the pairing static Web content of static Web content service request after, it is kept in the described network processing unit;
The response retransmission unit, be used for receive that Web server sends over the pairing static Web content of static Web content service request after, it is transmitted to client.
11. network processing unit as claimed in claim 9 is characterized in that, this network processing unit also comprises:
The lastest imformation receiving element is used to receive the modification that sends over from Web server or the lastest imformation of deletion static Web content;
Updating block is used for the lastest imformation that received according to described lastest imformation receiving element, and the static Web content that network processing unit is stored is carried out corresponding modification or deletion.
12. a system that improves the Web service speed of response is characterized in that, this system comprises:
Client is used to send service request and waits for reception and the pairing response of described service request;
The arbitrary described network processing unit of claim 9~11;
Web server is used for receiving the service request that client sends over by network processing unit, and this service request is responded and returns to described network processing unit.
CN200910223370A 2009-11-18 2009-11-18 Method and system for increasing Web service response speed and network processor Pending CN101729598A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910223370A CN101729598A (en) 2009-11-18 2009-11-18 Method and system for increasing Web service response speed and network processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910223370A CN101729598A (en) 2009-11-18 2009-11-18 Method and system for increasing Web service response speed and network processor

Publications (1)

Publication Number Publication Date
CN101729598A true CN101729598A (en) 2010-06-09

Family

ID=42449789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910223370A Pending CN101729598A (en) 2009-11-18 2009-11-18 Method and system for increasing Web service response speed and network processor

Country Status (1)

Country Link
CN (1) CN101729598A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148759A (en) * 2011-04-01 2011-08-10 许旭 Method for saving export bandwidth of backbone network by cache acceleration system
CN102195979A (en) * 2011-04-28 2011-09-21 深信服网络科技(深圳)有限公司 Method for performing network acceleration based on acceleration KEY, and acceleration KEY
CN103051706A (en) * 2012-12-19 2013-04-17 新浪网技术(中国)有限公司 Dynamic webpage request processing system and method for dynamic website
CN103218434A (en) * 2013-04-15 2013-07-24 北京小米科技有限责任公司 Method and device for loading static resource
CN103237013A (en) * 2013-03-29 2013-08-07 北京畅讯通网络技术有限责任公司 Optimization method and optimization server
CN103338236A (en) * 2013-06-06 2013-10-02 合一网络技术(北京)有限公司 Concurrent data acquisition method and concurrent data acquisition system
CN104113599A (en) * 2014-07-22 2014-10-22 北京星网锐捷网络技术有限公司 Caching method and device and proxy server
CN104580224A (en) * 2015-01-14 2015-04-29 北京京东尚科信息技术有限公司 Network connection method and device and computer system
CN105956030A (en) * 2016-04-25 2016-09-21 浪潮电子信息产业股份有限公司 WEB system and WEB request processing method
CN106933817A (en) * 2015-12-29 2017-07-07 华为技术有限公司 A kind of content search method and apparatus, system based on B/S structures
CN107306292A (en) * 2016-04-25 2017-10-31 北京京东尚科信息技术有限公司 Service end webpage includes implementation method and device
CN107707943A (en) * 2017-06-29 2018-02-16 贵州白山云科技有限公司 A kind of method and system for realizing cloud service fusion
CN109769005A (en) * 2017-11-09 2019-05-17 宁波方太厨具有限公司 A kind of data cache method and data buffering system of network request

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148759A (en) * 2011-04-01 2011-08-10 许旭 Method for saving export bandwidth of backbone network by cache acceleration system
CN102195979A (en) * 2011-04-28 2011-09-21 深信服网络科技(深圳)有限公司 Method for performing network acceleration based on acceleration KEY, and acceleration KEY
CN102195979B (en) * 2011-04-28 2013-11-20 深信服网络科技(深圳)有限公司 Method for performing network acceleration based on acceleration KEY, and acceleration KEY
CN103051706A (en) * 2012-12-19 2013-04-17 新浪网技术(中国)有限公司 Dynamic webpage request processing system and method for dynamic website
CN103237013A (en) * 2013-03-29 2013-08-07 北京畅讯通网络技术有限责任公司 Optimization method and optimization server
CN103237013B (en) * 2013-03-29 2016-04-27 北京畅讯通网络技术有限责任公司 A kind of optimization method and Optimized Service device
CN103218434A (en) * 2013-04-15 2013-07-24 北京小米科技有限责任公司 Method and device for loading static resource
CN103218434B (en) * 2013-04-15 2016-09-14 小米科技有限责任公司 A kind of method and apparatus loading static resource
CN103338236A (en) * 2013-06-06 2013-10-02 合一网络技术(北京)有限公司 Concurrent data acquisition method and concurrent data acquisition system
CN103338236B (en) * 2013-06-06 2016-03-30 合一网络技术(北京)有限公司 A kind of concurrent data acquisition methods and system
CN104113599B (en) * 2014-07-22 2017-06-23 北京星网锐捷网络技术有限公司 A kind of caching method, device and proxy server
CN104113599A (en) * 2014-07-22 2014-10-22 北京星网锐捷网络技术有限公司 Caching method and device and proxy server
CN104580224A (en) * 2015-01-14 2015-04-29 北京京东尚科信息技术有限公司 Network connection method and device and computer system
CN106933817A (en) * 2015-12-29 2017-07-07 华为技术有限公司 A kind of content search method and apparatus, system based on B/S structures
CN106933817B (en) * 2015-12-29 2021-02-12 华为技术有限公司 Content query method, device and system based on B/S structure
CN105956030A (en) * 2016-04-25 2016-09-21 浪潮电子信息产业股份有限公司 WEB system and WEB request processing method
CN107306292A (en) * 2016-04-25 2017-10-31 北京京东尚科信息技术有限公司 Service end webpage includes implementation method and device
CN107707943A (en) * 2017-06-29 2018-02-16 贵州白山云科技有限公司 A kind of method and system for realizing cloud service fusion
CN109769005A (en) * 2017-11-09 2019-05-17 宁波方太厨具有限公司 A kind of data cache method and data buffering system of network request

Similar Documents

Publication Publication Date Title
CN101729598A (en) Method and system for increasing Web service response speed and network processor
CN110290186B (en) System and method suitable for file transmission of multiple supercomputing centers
CN1113504C (en) Server-side asynchronous form management
US6704786B1 (en) Network and end-host efficiency for web communication
JP5624973B2 (en) Filtering device
CN103780679B (en) Long delay remote invocation method based on http protocol
US9602613B2 (en) Method and system for accelerating browsing sessions
US20080140847A1 (en) Method and System For Optimizing Dns Queries
JP5353278B2 (en) Communication device
US10958735B2 (en) Client connection method and system
CN105915658B (en) Obtain data calling method, the data transmission method of client ip address
WO2014067311A1 (en) Resource subscription method and device
CN106330855B (en) Communication system, management server, and control method
CN105812351A (en) Method and system for sharing session
JP2003281023A (en) Data transfer device, data transfer method, data reception and display device, and program
US20130238715A1 (en) Enabling communication between source and target mail transfer agents
CN101662454A (en) Method, device and system for image processing in internet
US20110280247A1 (en) System and method for reducing latency via multiple network connections
WO2009097776A1 (en) System, device and method for achieving service upgrade
CN102546612A (en) Remote procedure call implementation method based on remote direct memory access (RDMA) protocol in user mode
EP3389240B1 (en) Method and system for processing cache cluster service
CN103686852B (en) A kind of method, equipment and Wireless acceleration system that interaction data is processed
US20140068001A1 (en) Intermediate proxy server, communication method, and communication system based on http multi-level proxy
CN101325499A (en) Method, system and equipment for distributing static data
US7516199B2 (en) Storage device managing system, method and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100609