EP-4740422-A1 - METHOD AND SYSTEM FOR MANAGING CONNECTIONS AT HYPERTEXT TRANSFER PROTOCOL (HTTP) CLIENT
Abstract
The present disclosure relates to a method and a system for managing connections at hypertext transfer protocol (HTTP) client to increase overall throughput of overall communication network The disclosure encompasses: establishing, by a connection establishing unit [302], one or more connections with one or more servers; creating, by a creating unit [304], a queue for each of the one or more connections with the one or more servers, wherein the queue acts as a buffer for one or more queries awaiting transmission to the one or more servers; receiving, by a receiving unit [306], the one or more queries from an application program interface (API) for the one or more servers; adding, by a queueing unit [308], the one or more queries in the respective queue for the one or more servers; and identifying, by a identifying unit [310], an available connection with the one or more servers.
Inventors
- GAURAV, KUMAR
- SINGH, AMIT
- BHATNAGAR, AAYUSH
- DEWNA, Arun
Assignees
- Jio Platforms Limited
Dates
- Publication Date
- 20260513
- Application Date
- 20240611
Claims (18)
- We Claim: 1. A method for managing connections at Hypertext Transfer Protocol (HTTP) Client, the method comprising: ^ establishing, by a connection establishing unit [302], one or more connections with one or more servers; ^ creating, by a creating unit [304], a queue for each of the one or more connections with the one or more servers, wherein the queue acts as a buffer for one or more queries awaiting transmission to the one or more servers; ^ receiving, by a receiving unit [306], the one or more queries from an application program interface (API) for the one or more servers; ^ adding, by a queueing unit [308], the one or more queries in the respective queue for the one or more servers; and ^ identifying, by an identifying unit [310], an available connection with the one or more servers.
- 2. The method as claimed in claim 1, the method further comprising: ^ detecting, by a detecting unit [312], a failure in transmitting the added one or more queries over the identified available connection; ^ identifying, by the identifying unit [310], the identified available connection as a stale connection; ^ closing, by the queueing unit [308], the stale connection; and ^ establishing, by the connection establishing unit [302], a new connections with the one or more servers, wherein the added one or more queries are transmitted over the new connection.
- 3. The method as claimed in claim 1, wherein the one or more HTTP clients establishes a preconfigured number of connections with the one or more servers.
- 4. The method as claimed in claim 1, wherein the method comprises: ^ notifying, by a notifying unit, a peer management task (PMT) unit [314] about the added one or more queries; and ^ transmitting, by a transmitting unit [316], the added one or more queries to the one or more servers over the identified available connection.
- 5. The method as claimed in claim 4, wherein in an event the PMT unit [314] identifies that no connection is available, the method further comprises determining, by the PMT unit [314], whether a number of connections exceeds a preconfigured number of connections.
- 6. The method as claimed in claim 5, wherein in an event the PMT unit [314] identifies that the number of connections is less than the preconfigured number of connections, the method further comprising: ^ creating, by the creating unit [304], a new connection with the one or more servers; and ^ transmitting, by the transmitting unit [316], the added one or more queries to the one or more servers over the new connection.
- 7. The method as claimed in claim 5, wherein in an event the PMT unit [314] identifies that the number of connections exceeds the preconfigured number of connections, the method further comprising: ^ waiting, by the queueing unit [308], for the one or more connections with the one or more servers to become available; and ^ transmitting, by the transmitting unit [316], the added one or more queries to the one or more servers once the one or more connections are available.
- 8. The method as claimed in claim 1, wherein the one or more queries comprises HTTP requests corresponding to at least one of GET, POST, PUT, DELETE, or other standard HTTP methods intended for communication with the one or more servers.
- 9. A system for managing connections at Hypertext Transfer Protocol (HTTP) Client, the system comprising: ^ a connection establishing unit [302] configured to establish one or more connections with one or more servers; ^ a creating unit [304] configured to create a queue for each of the one or more connections with the one or more servers, wherein the queue acts as a buffer for one or more queries awaiting transmission to the one or more servers; ^ a receiving unit [306] configured to receive the one or more queries from an application program interface (API) for the one or more servers; ^ a queueing unit [308] configured to add the one or more queries in the respective queue for the one or more servers; and ^ an identifying unit [310] configured to identify an available connection with the one or more servers.
- 10. The system as claimed in claim 9, the system further comprises: ^ a detecting unit [312] configured to detect a failure in transmitting the added one or more queries over the identified available connection; ^ the identifying unit [310] configured to identify the identified available connection as a stale connection; ^ the queueing unit [308] configured to close the stale connection; and ^ the connection establishing unit [302] configured to establish a new connection with the one or more servers, wherein the added one or more queries are transmitted over the new connection.
- 11. The system as claimed in claim 9, wherein the one or more HTTP clients establishes a preconfigured number of connections with the one or more servers.
- 12. The system as claimed in claim 9, wherein the system comprises: ^ a notifying unit configured to notify a peer management task (PMT) unit [314] of the added one or more queries; and ^ a transmitting unit [316] configured to transmit the added one or more queries to the one or more servers over the identified available connection.
- 13. The system as claimed in claim 12, wherein in an event the PMT unit [314] identifies that no connection is available, comprises a determining unit configured to determine whether a number of connections exceeds a preconfigured number of connections.
- 14. The system as claimed in claim 13, wherein in an event the PMT unit [314] identifies that the number of connections is less than the preconfigured number of connections, the system comprises: ^ the creating unit [304] configured to create a new connection with the one or more servers; and ^ the transmitting unit [316] configured to transmit the added one or more queries to the one or more servers over the new connection.
- 15. The system as claimed in claim 13, wherein in an event the PMT unit [314] identifies that the number of connections exceeds the preconfigured number of connections, the system comprises: ^ the queueing unit [308] configured to wait for the one or more connections with the one or more servers to become available; and ^ the transmitting unit [316] configured to transmit the added one or more queries to the one or more servers once the one or more connections are available.
- 16. The system as claimed in claim 9, wherein the one or more queries comprises HTTP requests corresponding to at least one of GET, POST, PUT, DELETE, or other standard HTTP methods intended for communication with the one or more servers.
- 17. A user equipment (UE) for managing connections at Hypertext Transfer Protocol (HTTP) Client, the UE comprising a system, the system further comprising: ^ a connection establishing unit [302] configured to establish one or more connections with one or more servers; ^ a creating unit [304] configured to create a queue for each of the one or more connections with the one or more servers, wherein the queue acts as a buffer for one or more queries awaiting transmission to the one or more servers; ^ a receiving unit [306] configured to receive the one or more queries from an application program interface (API) for the one or more servers; ^ a queueing unit [308] configured to add the one or more queries in the respective queue for the one or more servers; and ^ an identifying unit [310] configured to identify an available connection with the one or more servers.
- 18. A non-transitory computer readable storage medium storing instructions for managing connections at Hypertext Transfer Protocol (HTTP) Client, the instructions including executable code, the executable code when executed by one or more units of a system [300], may cause: ^ a connection establishing unit [302] of the system [300] to establish one or more connections with one or more servers; ^ a creating unit [304] of the system [300] to create a queue for each of the one or more connections with the one or more servers, wherein the queue acts as a buffer for one or more queries awaiting transmission to the one or more servers; ^ a receiving unit [306] of the system [300] to receive the one or more queries from an application program interface (API) for the one or more servers; ^ a queueing unit [308] of the system [300] to add the one or more queries in the respective queue for the one or more servers; and ^ an identifying unit [310] of the system [300] to identify an available connection with the one or more servers.
Description
METHOD AND SYSTEM FOR MANAGING CONNECTIONS AT HYPERTEXT TRANSFER PROTOCOL (HTTP) CLIENT FIELD OF THE DISCLOSURE [0001] The present disclosure relates generally to the field of wireless communication systems. More particularly, the present disclosure relates to methods and systems for managing connections at Hypertext Transfer Protocol (HTTP) Client to increase overall throughput of overall communication network. BACKGROUND [0002] The following description of related art is intended to provide background information pertaining to the field of the disclosure. This section may include certain aspects of the art that may be related to various features of the present disclosure. However, it should be appreciated that this section be used only to enhance the understanding of the reader with respect to the present disclosure, and not as admissions of prior art. [0003] Wireless communication technology has rapidly evolved over the past few decades, with each generation bringing significant improvements and advancements. The first generation of wireless communication technology was based on analog technology and offered only voice services. However, with the advent of the second-generation (2G) technology, digital communication and data services became possible, and text messaging was introduced. 3G technology marked the introduction of high-speed internet access, mobile video calling, and location-based services. The fourth-generation (4G) technology revolutionized wireless communication with faster data speeds, better network coverage, and improved security. Currently, the fifth-generation (5G) technology is being deployed, promising even faster data speeds, low latency, and the ability to connect multiple devices simultaneously. With each generation, wireless communication technology has become more advanced, sophisticated, and capable of delivering more services to its users. [0004] In a communication network, Hypertext Transfer Protocol (HTTP) Client uses multiple connections, rather than a single connection, in order to complete communication efficiently. Using a single connection for communication allows only one outstanding request for a peer which creates significant overhead, and slowing down the application which in turn, causes ripple effect on other dependent applications. Using multiple but limited number of connections solves this problem. However, use of multiple connections has its own disadvantages. [0005] One such issue is idle connections. When no communication is taking place between a client and a server but a connection persists between them, an idle connection occurs. While multiple connections may be added to cater to requests when the load is high, these connections remain in the idle state when the load reduces. [0006] Further, in the existing solutions where an idle connection take place, a wait-timer for a pre-defined period of time is used at the server end to monitor if communication is taking place or not. However, when the idle connection occurs and no communication takes place within such pre-defined period of time, activation of firewalls take place to break the connection from the server end. After the idle wait time, the firewalls (if any exists between HTTP client and server) tear-down the underlying transport layer connection without letting the client know. This leads to the formation of a stale state (or idle state), i.e. the connection can no longer be used to send requests to the server and the connection’s state at the client’s end shall always be stale. This also leads to inefficient usage of the resources. [0007] Further, over the period of time various solutions have been developed to improve the performance of communication devices and to enhance HTTP client to efficiently use multiple connections to increase overall throughput of overall communication network. However, there are certain challenges with existing solutions such increased overall time for communication due to formation of a new connection for every request for communication, and occurrence of stale connection when an idle state for a connection occurs for more than the pre-defined period. [0008] Thus, there exists an imperative need in the art to managing connections at Hypertext Transfer Protocol (HTTP) Client for enhancing HTTP client to efficiently use multiple connections to increase overall throughput of overall communication network, which the present disclosure aims to address. OBJECTS OF THE INVENTION [0009] Some of the objects of the present disclosure, which at least one embodiment disclosed herein satisfies are listed herein below. [0010] It is an object of the present disclosure to provide a system and a method for managing connections at Hypertext Transfer Protocol (HTTP) Client. [0011] It is another object of the present disclosure to provide a system and a method for enhancing HTTP client to efficiently use multiple connections to increase overall throughput of overall communication ne