IPC분류정보
국가/구분 |
United States(US) Patent
등록
|
국제특허분류(IPC7판) |
|
출원번호 |
US-0104902
(2002-03-21)
|
등록번호 |
US-7313635
(2007-12-25)
|
발명자
/ 주소 |
|
출원인 / 주소 |
|
대리인 / 주소 |
Hickman Palermo Truong & Becker LLP
|
인용정보 |
피인용 횟수 :
12 인용 특허 :
43 |
초록
▼
A method is disclosed for simulating a load on an application server in a network. The method intercepts data packets of a request from a sender to a receiver. The data packets to be intercepted can be selected according to specified criteria, such as communications protocol or port and address info
A method is disclosed for simulating a load on an application server in a network. The method intercepts data packets of a request from a sender to a receiver. The data packets to be intercepted can be selected according to specified criteria, such as communications protocol or port and address information of the sender and/or receiver. A simulation session can begin and end based on a specified period of time or after a specified number of data packets have been received. The intercepted data packets are stored in a buffer and the time of arrival of the data packets is recorded. The data packets are held in the buffer for a user specified delay time. Upon expiration of the delay time, the data packets are forwarded to the receiver. Alternately, the method can operate bi-directionally, or by intercepting and delaying data packets of a response of the receiver sent to the sender.
대표청구항
▼
What is claimed is: 1. A method for simulating delay in a receiving network node responding to a request, comprising the steps of: responsive to a determination that a simulation is to be performed of the receiving network node receiving a request from a sending network node and sending, after a de
What is claimed is: 1. A method for simulating delay in a receiving network node responding to a request, comprising the steps of: responsive to a determination that a simulation is to be performed of the receiving network node receiving a request from a sending network node and sending, after a delay, a response to the sending network node, wherein the response services the request, intercepting one or more data packets of at least one of: the request from the sending network node to the receiving network node, wherein the data packets are not permitted to reach the receiving network node until after a specified delay time; or a response to the request, said response from the receiving network node to the sending network node, wherein the data packets are not permitted to reach the sending network node until after the specified delay time; in response to intercepting a data packet form the sending network node, sending an acknowledgment message to the sending network node, wherein the acknowledgment message simulates that the receiving network node has received the intercepted data packet; retaining the data packets; releasing the data packets after the specified delay time, wherein delaying the data packets simulates the receiving network node receiving the request from the sending network node and sending the response to the request after the specified delay time; and forwarding the data packets after the specified delay time to one of the receiving network node and the sending network node. 2. The method of claim 1 fiber comprising the step of intercepting an acknowledgement message that the receiving network node sends in response to receiving a data packets from the sending network node that was intercepted. 3. An apparatus for simulating delay in a receiving network node responding to a request, comprising: means for intercepting one or more data packets of at least one of: a request from a sending network node to the receiving network node, wherein the data packets are not permitted to reach the receiving network node until after a specified delay time; and a response to the request, said response from the receiving network node to the sending network node, wherein the data packets are not permitted to reach the sending network node until after the specified delay time; wherein said means for intercepting are responsive to a determination that a simulation is to be performed of the receiving network node receiving the request from the sending network node and sending, after a delay, the response to the sending network node, wherein the response services the request; means for retaining the data packets; means for sending an acknowledgment message to the sending network node in response to intercepting a data packet from the sending network node, wherein the acknowledgment message simulates that the receiving network node has received the intercepted data packet; means for releasing the data packets after the specified delay time, wherein delaying the data packets simulates the receiving network node receiving the request from the sending network node and sending the response to the request after the specified delay time; and means for forwarding the data packets to one of the receiving network node and the sending network node after the specified delay time. 4. The apparatus of claim 3 further comprising means for recording a time of arrival of the data packets. 5. The apparatus of claim 3 further comprising means for selecting particular ones of the data packets based on port and address information of the sending network node. 6. The apparatus of claim 3 further comprising means for selecting particular ones of the data packets based on a specified start parameter. 7. The apparatus of claim 6 wherein the start parameter is a specified period of time. 8. The apparatus of claim 6 wherein the start parameter is a specified number of data packets intercepted. 9. The apparatus of claim 6 wherein the end parameter is a specified period of time. 10. The apparatus of claim 6 wherein the end parameter is a specified number of data packets intercepted. 11. The apparatus of claim 3 further comprising means for sending a TCP acknowledgement message to the sending network node of the request after a data packet from the sending network node is intercepted. 12. The apparatus of claim 11 further comprising means for intercepting a TCP acknowledgement message from the receiving network node of we request after the data packet from the sending network node is forwarded to the receiving network node. 13. The apparatus of claim 3 wherein the means for intercepting one or more data packets comprise means for selecting particular ones of the data packets for interception based on one or more criteria. 14. The apparatus of claim 13 wherein the means for selecting particular ones of the data packets comprise means for selecting particular ones of the data packets based on a predetermined end parameter. 15. The apparatus of claim 3 wherein the means for selecting particular ones of the data packets comprise means for selecting particular ones of the data packets based on a communications protocol of the data packets. 16. The apparatus of claim 3, wherein the delay time is a first specified delay time, and wherein the means for intercepting one or more data packets comprise means for intercepting one or more data packets of the request from the sending network node to the receiving network node, and further comprising: means for intercepting one or more data packets of the response from the receiving network node to the sending network node, wherein the data packets of the response are not permitted to reach the sending network node until after a second specified delay time; means for retaining the data packets of the response; means for releasing the data packets of the response after the second specified delay time, wherein delaying the data packets for the second specified delay time simulates the receiving network node receiving the request from the sending network node and sending the response to the request after the second specified delay time; and means for forwarding the data packets of the response to the sending network node after the second specified delay time. 17. The apparatus of claim 3 wherein the specified delay time is specified by data input that is received before the intercepting step. 18. The apparatus of claim 3 wherein the means for retaining the data packets comprise means for storing the data packets in a buffer. 19. The apparatus of claim 3 further comprising means for intercepting an acknowledgement message from the receiving network node of the request after a data packet intercepted from the sending network node is forwarded to the receiving network node. 20. An apparatus for simulating a delay, comprising: a simulator engine; and a storage, the storage including, one or more simulation session records, wherein a particular session record comprises information identifying a connection and a delay time specifying a length of time for which data packets in transfer in at least one direction on the connection are to be delayed, and one or more running session records, the running session records having a buffer for data packet storage that stores data packets that the simulator engine determines are to be delayed in accordance with information stored in the simulation session records; and wherein the simulator engine includes: a session manager module that determines whether data packets received by the apparatus should be delayed based in information in the session records, and a packet filtering module that, based on the determination by the session manager that data packets received by the apparatus should be delayed, intercepts one or more data packets in transfer in at least one direction on the connection, an acknowledgement message intercept module; wherein the intercepted data packets are stored in the buffer and released after the delay time to prevent the packets from reaching a destination node on the connection for the delay time, wherein preventing the packets from reaching the destination node simulates the load on the application server; wherein the acknowledgment message intercept module is operable to send an acknowledgement message to a network node that transmitted the intercepted data packets, wherein the acknowledgment message replaces an acknowledgment message that would have been sent by the destination node if the data packets had not been intercepted. 21. An apparatus as recited in claim 20, further comprising a protocol simulator module. 22. An apparatus as recited in claim 20, wherein the destination node is the application server. 23. An apparatus as recited in claim 20, wherein the destination node is a node on the connection to which the application server sends a response. 24. A computer-readable storage medium having stored thereon one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to carry out a method for simulating delay in a receiving network node responding to a request, the steps comprising: responsive to a determination that a simulation is to be performed of the receiving network node receiving a request from a sending network node and sending, after a delay, a response to the sending network node, wherein the response services the request, intercepting one or more data packets of at least one of: the request from the sending network node to the receiving network node, wherein the data packets are not permitted to reach the receiving network node until after a specified delay time; and a response to the request, said response from the receiving network node to the sending network node, wherein the data packets are not permitted to reach the sending network node until after the specified delay time; retaining the data packets; releasing the data packets after the specified delay time, wherein delaying the data packets simulates the receiving network node receiving the request from the sending network node and sending the response to the request after the specified delay time; and forwarding the data packets after the specified delay time to one of the receiving network node and the sending network node. 25. An apparatus, comprising: a network interface that is coupled to the data network for receiving one or more packet flows therefrom; a processor; one or more stored sequences of instructions which, when executed by the processor, cause the processor to perform: responsive to a determination that a simulation is to be performed of a receiving network node receiving a request from a sending network node and sending, after a delay, a response to the sending network node, wherein the response services the request, intercepting one or more data packets of at least one of: the request from the sending network node to the receiving network node, wherein the data packets are not permitted to reach the receiving network node until after a specified delay time; or a response to the request, said response from the receiving network node to the sending network node, wherein the data packets are not permitted to reach the sending network node until after the specified delay time; in response to intercepting a data packet from the sending network node, sending an acknowledgment message to the sending network node, wherein the acknowledgment message simulates that the receiving network node has received the intercepted data packet; retaining the data packets; releasing the data packets after the specified delay time, wherein delaying the data packets simulates the receiving network node receiving the request from the sending network node and sending the response to the request after the specified delay time; and forwarding the data packets after the specified delay time to one of the receiving network node and the sending network node. 26. The apparatus of claim 25, wherein the delay time is a first specified delay time, and wherein the sequences of instructions that cause the processor to perform intercepting one or more data packets comprise sequences of instructions which, when executed by the processor, cause the processor to perform intercepting one or more data packets of the request from the sending network node to the receiving network node, and further comprising sequences of instructions which, when executed by the processor, cause the processor to perform: intercepting one or more data packets of the response from the receiving network node to the sending network node, wherein the data packets of the response are not permitted to reach the sending network node until after a second specified delay time; in response to intercepting a data packet from the sending network node sending an acknowledgment message to the sending network node, wherein the acknowledgment message simulates that the receiving network node has received the intercepted data packet; retaining the data packets of the response; releasing the data packets of the response after the second specified delay time, wherein delaying the data packets for the second specified delay time simulates the receiving network node receiving the request from the sending network node and sending the response to the request after the second specified delay time; and forwarding the data packets of the response to the sending network node after the second specified delay time. 27. The apparatus of claim 25 wherein the specified delay time is specified by data input that is received before the intercepting step. 28. The apparatus of claim 25 wherein the sequences of instructions that cause the processor to perform retaining the data packets comprise sequences of instructions which, when executed by the processor, cause the processor to perform storing the data packets in a buffer. 29. The apparatus of claim 25 wherein the sequences of instructions that cause the processor to perform retaining the data packets comprise sequences of instructions which, when executed by the processor, cause the processor to perform recording a time of arrival of the data packets. 30. The apparatus of claim 25 wherein the sequences of instructions that cause the processor to perform intercepting one or more data packets comprise sequences of instructions which, when executed by the processor, cause the processor to perform selecting particular ones of the data packets for interception based on one or more criteria. 31. The apparatus of claim 30 wherein the sequences of instructions that cause the processor to perform selecting particular ones of the data packets comprise sequences of instructions which, when executed by the processor, cause the processor to perform selecting particular ones of the data packets based on a communications protocol of the data packets. 32. The apparatus of claim 30 wherein the sequences of instructions that cause the processor to perform selecting particular ones of the data packets comprise sequences of instructions which, when executed by the processor, cause the processor to perform selecting particular ones of the data packets based on port and address information of the sending network node. 33. The apparatus of claim 30 wherein the sequences of instructions that cause the processor to perform selecting particular ones of the data packets comprise sequences of instructions which, when executed by the processor, cause the processor to perform selecting particular ones of the data packets based on a specified start parameter. 34. The apparatus of claim 33 wherein the start parameter is a specified period of time. 35. The apparatus of claim 33 wherein the start parameter is a specified number of data packets intercepted. 36. The apparatus of claim 30 wherein the sequences of instructions that cause the processor to perform selecting particular ones of the data packets comprise sequences of instructions which, when executed by the processor, cause the processor to perform selecting particular ones of the data packets based on a predetermined end parameter. 37. The apparatus of claim 36 wherein the end parameter is a specified period of time. 38. The apparatus of claim 36 wherein the end parameter is a specified number of data packets intercepted. 39. The apparatus of claim 25 wherein the data packets comprise Transmission Control Protocol (TCP) packets. 40. The apparatus of claim 39 wherein the sequences of instructions which, when executed by the processor, cause the processor to perform sending an acknowledgment message to the sending network node comprise sequences of instructions which, when executed by the processor, cause the processor to perform sending a TCP acknowledgement message to the sending network node of the request after a data packet from the sending network node is intercepted. 41. The apparatus of claim 39 further comprising sequences of instructions which, when executed by the processor, cause the processor to perform intercepting a TCP acknowledgement message from the receiving network node of the request after a data packet that was intercepted from the sending network node is forwarded to the receiving network node. 42. The apparatus of claim 39 wherein the sequence of instructions which, when executed by the processor, cause the processor to perform sending an acknowledgment message to the sending node comprise sequences of instructions which, when executed by the processor, cause the processor to perform sending a TCP acknowledgement message to the sending network node of the request after a data packet from the sending network node is intercepted. 43. The apparatus of claim 42 further comprising sequences of instructions which, when executed by the processor, cause the processor to perform intercepting an acknowledgement message from the receiving network node of the request after a data packet that was intercepted from the sending network node is forwarded to the receiving network node.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.