Search

CN-122002314-A - Apparatus and method for dynamically updating timeout values

CN122002314ACN 122002314 ACN122002314 ACN 122002314ACN-122002314-A

Abstract

An example method includes setting a timeout value for retrying a communication request during a communication session with a target device, sending a test request to the target device, measuring a response time between the test request and a response to the test request received from the target device, determining a particular timeout value for the target device based on the response time, and updating the timeout value with the particular timeout value for the target device and continuing the communication session with the particular timeout value for retrying the communication request for the target device.

Inventors

  • A. Gopalsami
  • O Sha tier
  • D. M. Lai
  • A. Nagarajaya

Assignees

  • 斑马技术公司

Dates

Publication Date
20260508
Application Date
20251105
Priority Date
20241106

Claims (20)

  1. 1. A method, comprising: setting a timeout value for retrying the communication request during the communication session with the target device; sending a test request to the target equipment; measuring a response time between the test request and a response to the test request received from the target device; Determining a specific timeout value for the target device based on the response time, and Updating the timeout value with the particular timeout value for the target device and continuing the communication session with the particular timeout value configured to retry the communication request for the target device.
  2. 2. The method of claim 1, wherein sending the test request comprises: transmitting a plurality of test requests and receiving a plurality of responses at respective response times, and The slowest of the respective response times is selected to determine the particular timeout value.
  3. 3. The method of claim 2, wherein each test request of the plurality of test requests includes a different parameter.
  4. 4. A method according to claim 3, wherein the different parameters include a marked priority level and an unmarked priority level.
  5. 5. A method according to claim 3, wherein the different parameters comprise different communication protocols.
  6. 6. The method of claim 1, wherein the particular timeout value is associated with one or more parameters of the test request.
  7. 7. The method of claim 1, wherein determining the particular timeout value comprises adding a buffer time to the response time to obtain a basic timeout value.
  8. 8. The method of claim 7, wherein determining the particular timeout value further comprises applying a complexity weighting to the basic timeout value, the complexity weighting being associated with a communication protocol.
  9. 9. The method of claim 1, further comprising monitoring an update condition to update the timeout value; wherein the update condition includes one or more of: expiration of a predefined update period, and A change in a network quality of service parameter is detected.
  10. 10. The method of claim 1, further comprising retaining the timeout value when the response to the test request is not received within the timeout value.
  11. 11. An apparatus, comprising: a communication interface configured to communicate with a target device; A controller interconnected with the communication interface, the controller configured to: Setting a timeout value for retrying a communication request during the communication with the target device; sending a test request to the target equipment; measuring a response time between the test request and a response to the test request received from the target device; Determining a specific timeout value for the target device based on the response time, and Updating the timeout value with the particular timeout value for the target device and continuing the communication with the particular timeout value configured to retry the communication request for the target device.
  12. 12. The device of claim 11, wherein to send the test request, the controller is configured to: transmitting a plurality of test requests and receiving a plurality of responses at respective response times, and The slowest of the respective response times is selected to determine the particular timeout value.
  13. 13. The apparatus of claim 12, wherein each test request of the plurality of test requests comprises a different parameter.
  14. 14. The apparatus of claim 13, wherein the different parameters comprise a marked priority level and an unmarked priority level.
  15. 15. The device of claim 13, wherein the different parameters comprise different communication protocols.
  16. 16. The device of claim 11, wherein the particular timeout value is associated with one or more parameters of the test request.
  17. 17. The device of claim 11, wherein to determine the particular timeout value, the controller is configured to add a buffer time to the response time to obtain a basic timeout value.
  18. 18. The device of claim 17, wherein to determine the particular timeout value, the controller is further configured to apply a complexity weighting to the base timeout value, the complexity weighting associated with a communication protocol.
  19. 19. The apparatus of claim 11, wherein the controller is configured to monitor an update condition to update the timeout value, and Wherein the update condition includes one or more of: expiration of a predefined update period, and A change in a network quality of service parameter is detected.
  20. 20. The device of claim 11, wherein the controller is further configured to maintain the timeout value when the response to the test request is not received within the timeout value.

Description

Apparatus and method for dynamically updating timeout values Background During wireless communications, various network and endpoint device conditions may cause changes in communication speed. In some cases, the communication link between two endpoint devices may experience problems that require a recovery operation to recover. The device may wait for a default timeout period to elapse before initiating a resume operation to ensure that the communication is not just slow. The default timeout period may be set long enough to cover such slow communications due to network and endpoint device conditions. However, such a long default timeout period results in delayed recovery operations and may result in dropped packets or communications. Drawings The accompanying figures, where like reference numerals refer to identical or functionally similar elements throughout the separate views and which together with the detailed description below are incorporated in and form part of the specification, serve to further illustrate embodiments of the concepts that include the claimed invention and to explain various principles and advantages of those embodiments. FIG. 1 is a schematic diagram of an example system for dynamically updating timeout values. Fig. 2 is a block diagram of certain internal components of the apparatus for dynamically updating the timeout values of fig. 1. FIG. 3 is a flow chart of an example method of dynamically updating timeout values. Fig. 4 is a flow chart of an example method of determining a particular timeout value at block 340 of the method of fig. 3. FIG. 5 is a schematic diagram of an example communication flow with dynamically updated timeout values. Those skilled in the art will appreciate that elements in the figures are illustrated for simplicity and clarity and have not necessarily been drawn to scale. For example, the dimensions of some of the elements in the figures may be exaggerated relative to other elements to help improve the understanding of the embodiments of the present invention. Apparatus and method constructions are shown in the drawings by conventional symbols in the appropriate places to avoid obscuring the disclosure in view of the details apparent to one of ordinary skill in the art having the benefit of this description. Detailed Description Examples disclosed herein relate to a method comprising setting a timeout value for retrying a communication request during a communication session with a target device, sending a test request to the target device, measuring a response time between the test request and a response to the test request received from the target device, determining a particular timeout value for the target device based on the response time, and updating the timeout value with the particular timeout value for the target device and continuing the communication session with the particular timeout value for retrying the communication request for the target device. Additional examples disclosed herein relate to a device comprising a communication interface configured for communication with a target device, a controller interconnected with the communication interface, the controller configured to set a timeout value for retrying a communication request during said communication with the target device, send a test request to the target device, measure a response time between the test request and a response to the test request received from the target device, determine a specific timeout value for the target device based on the response time, and update the timeout value with the specific timeout value for the target device and continue communication with the specific timeout value for retrying the communication request for the target device. Further examples disclosed herein relate to a non-transitory machine-readable storage medium storing instructions that, when executed by a computing device, cause the computing device to set a timeout value for retrying a communication request during a communication session with a target device, send a test request to the target device, measure a response time between the test request and a response to the test request received from the target device, determine a particular timeout value for the target device based on the response time, and update the timeout value with the particular timeout value for the target device and continue communication with the particular timeout value for retrying the communication request for the target device. Fig. 1 depicts a system 100 for dynamically updating timeout values in accordance with the teachings of the present disclosure. The system 100 includes a computing device 104 (also referred to herein simply as device 104) connected to a network 108 for communication with one or more target devices, wherein two example target devices 112-1 and 112-2 (generally referred to herein as target devices 112 and collectively referred to herein as target devices 112; this nomenclature is also us