Managing port conflicts between client devices

The terminal device manages port conflicts by creating connection entries and prioritizing client devices, addressing disruptions and ensuring seamless network connectivity.

WO2026246061A1PCT designated stage Publication Date: 2026-11-26QUALCOMM INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/US2026/022941
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-22
Filing Date
2026-04-09
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing electronic devices face port conflicts between client devices due to simultaneous network connectivity, leading to disruptions and denial of service issues when reserved ports are not promptly blocked, causing race conditions and data stalls.

Method used

A terminal device with a modem and client devices manages port conflicts by creating connection entries, detecting conflicts, and allocating ports based on priority levels, ensuring seamless integration and communication among multiple client devices.

Benefits of technology

The solution effectively resolves port conflicts by prioritizing critical client devices, preventing denial of service and ensuring uninterrupted network connectivity for various applications and services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2026022941_26112026_PF_FP_ABST
    Figure US2026022941_26112026_PF_FP_ABST
Patent Text Reader

Abstract

A terminal device that manages port conflicts between client devices is disclosed. One of the client devices may provide a connectivity request that may be associated with one or more ports to the terminal device, to communicate with a network. On receiving the connectivity request, the terminal device may record an entry indicating utilization of the ports by the client device to communicate with the network. In an event that the terminal device may receive, from a different client device, a connectivity request associated with the same ports to communicate with the network, the terminal device may detect port conflict associated with the ports between the two client devices based on the recorded entry.
Need to check novelty before this filing date? Find Prior Art

Description

Qualcomm Docket. No.: 2501354WO1MANAGING PORT CONFLICTS BETWEEN CLIENT DEVICES CROSS-REFERENCE TO RELATED APPLICATIONS / INCORPORATION BY REFERENCE

[0000] This application claims priority benefit of US Patent Application No.19 / 215,474 filed in the US Patent Office on May 22, 2025. Each of the abovereferenced applications is hereby incorporated herein by reference in its entirety.BACKGROUNDField of the Disclosure

[0001] The present disclosure relates generally to electronic systems, and, more particularly, to managing port conflicts between client devices.Description of Related Art

[0002] An electronic device may include multiple client devices to execute various applications or services. The applications or services may be associated with web browsing, downloading software updates, gaming, or the like. The client devices may connect to a communication network (e.g., Internet) via a modem associated with the electronic device, to execute the applications or services. The connection to the network may occur via port numbers assigned to the service or the application. In one example, to execute an application for one of the client devices, the modem may transmit a query based on one or more port numbers assigned to the application, to a server associated with the network. In response to the query, data packets may be received by the modem from the server via the network. Further, the modem may route the received data packets to the processing device associated with the application, via the port number assigned to the application. As applications or services may be executed simultaneously on multiple client devices, a seamless network connectivity may be desired to minimize disruption in the execution of the applications or services.SUMMARY

[0003] Aspects of the disclosure provide a terminal device. The terminal device may comprise one or more memories and one or more processors. The one or more processorsQualcomm Docket. No.: 2501354WO2may be configured to receive, from a first client device, a first connectivity request associated with one or more ports to communicate with a network. The one or more processors may be configured to record, in the one or more memories, a connection entry that indicates utilization of the one or more ports by the first client device to communicate with the network. The one or more processors may be further configured to receive, from a second client device, a second connectivity request associated with the one or more ports to communicate with the network. The one or more processors may be further configured to detect port conflict associated with the one or more ports between the first client device and the second client device, based on the connection entry.

[0004] In certain aspects of the disclosure, a first client device is disclosed. The first client device may comprise one or more processors. The one or more processors are configured to allocate one or more ports from a port list to communicate with a network, provide to a terminal device, a first connectivity request associated with the one or more ports, and receive an updated port list from the terminal device based on port conflict associated with the one or more ports with a second client device.

[0005] In certain aspects, a method executed at a terminal device is disclosed. The method may comprise receiving a first connectivity request associated with one or more ports from a first client device to communicate with a network, and recording a connection entry that indicates utilization of the one or more ports by the first client device to communicate with the network. The method may further comprise receiving a second connectivity request associated with the one or more ports from a second client device to communicate with the network and detecting port conflict associated with the one or more ports between the first client device and the second client device, based on the connection entry.BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Various aspects of the present disclosure are illustrated by way of example, and not limited by the appended figures, in which like references indicate similar elements:

[0007] FIG. 1 is a schematic block diagram of a communication environment, in accordance with certain aspects of the present disclosure;Qualcomm Docket. No.: 2501354WO3

[0008] FIG. 2 is a block diagram illustrating a communication between a node and a network of the communication environment of FIG. 1, in accordance with certain aspects of the present disclosure;

[0009] FIG. 3 is a block diagram that illustrates a first client device of the node of FIG. 2, in accordance with an exemplary aspect of the present disclosure;

[0010] FIGS. 4 A and 4B are diagrams that illustrate a process flow of a communication between the node and the network of FIG. 2, in accordance with an exemplary aspect of the present disclosure;

[0011] FIGS. 5 A and 5B are diagrams that illustrate a process flow of a communication between the node and the network of FIG. 2, in accordance with further aspects of the present disclosure;

[0012] FIG. 6 is a diagram that illustrates a high-level flowchart of a method (e.g., a process) executed by a terminal device of the node of FIG. 2, in accordance with an exemplary aspect of the present disclosure;

[0013] FIG. 7 is a diagram that illustrates a high-level flowchart of a method (e.g., a process) executed by the first client device of the node of FIG. 2, in accordance with an exemplary aspect of the present disclosure;

[0014] FIGS. 8A- 8C are diagrams that illustrate a detailed flowchart of a method e.g., a process) executed by the terminal device of FIG. 2, in accordance with an exemplary aspect of the present disclosure;

[0015] FIG. 9 is a diagram that illustrates a detailed flowchart of a method (e.g., a process) executed by the first client device of FIG. 2, in accordance with an exemplary aspect of the present disclosure; and

[0016] FIG. 10 is a diagram illustrating an example of the node of FIG. 2 in accordance with certain aspects of the present disclosure.DETAILED DESCRIPTION

[0017] The detailed description set forth below in connection with the appended drawings is intended as a description of various configurations and is not intended toQualcomm Docket. No.: 2501354WO4represent the only configurations in which the concepts described herein may be practiced. The detailed description includes specific details for the purpose of providing a thorough understanding of various concepts. However, it will be apparent to those skilled in the art that these concepts may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form in order to avoid obscuring such concepts.

[0018] Several aspects of the disclosure will now be presented with reference to an apparatus and method. Such apparatus and method will be described in the following detailed description and illustrated in the accompanying drawings by various blocks, modules, components, circuits, steps, processes, or the like (collectively referred to as “elements”).

[0019] Accordingly, in one or more aspects, the functions described by elements of the disclosure may be implemented in hardware, software, or any combination thereof depending upon the particular application and design constraints imposed on the overall apparatus. If implemented in software, the functions may be stored on or encoded as one or more instructions or code on a computer-readable medium. Computer-readable media includes computer storage media. Storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise a random-access memory (RAM), a read-only memory (ROM), an electrically erasable programmable ROM (EEPROM), optical disk storage, magnetic disk storage, other magnetic storage devices, combinations of the aforementioned types of computer-readable media, or any other medium that can be used to store computer executable code in the form of instructions or data structures that can be accessed by a computer.

[0020] At least one of a host processor, a processing core, an input / output controller, or any portion of any of such components, or any combination of such components may be implemented as a “processing system” that may include one or more processors. Examples of processors include microprocessors, microcontrollers, graphics processing units, central processing units, application processors, digital signal processors, reduced instruction set computing processors, systems on a chip, baseband processors, field programmable gate arrays, programmable logic devices, state machines, gated logic, discrete hardware circuits, and other suitable hardware configured to perform the variousQualcomm Docket. No.: 2501354WO5functionality described throughout this disclosure. One or more processors in the processing system may execute software. Software shall be construed broadly to mean instructions, instruction sets, code, code segments, program code, programs, subprograms, software components, applications, software applications, software packages, routines, subroutines, objects, executables, threads of execution, procedures, functions, etc., whether referred to as software, firmware, middleware, microcode, hardware description language, or otherwise.

[0021] Multiple client devices or end points of an electronic device latch on to the same packet data network (PDN) or Packet Data Unit (PDU) connection to communicate with a network via a modem of the electronic device. In one example, the client devices may include at least an application processor and a host processor. As the same PDN or PDU connection may be utilized for communication with the network, the client devices may further utilize the same Internet Protocol (IP) address to transfer and receive data in uplink and downlink directions, respectively.

[0022] To coordinate between client devices to connect with the network, the modem may allocate a port range to the application processor to communicate with the network. The application processor may reserve the ports and allocate a port from the reserved port range to execute one or more applications associated with the application processor. The modem may further notify the reserved port range to the host processor. The host processor may thus block the reserved port range, indicating the unavailability of the ports for different client devices.

[0023] In scenarios where there may be a delay in providing the reserved port ranges to the host processor and the application processor has not utilized the reserved ports, the reserved ports may remain unblocked and be utilized by different client devices. In an event that the application processor intends to utilize the ports that may be utilized by different client devices, a denial of service may occur during the utilization of the reserved ports by the application processor. In further scenarios, one of the client devices may generate communication requests for the network via the port numbers. In response to the requests, the modem may receive the data packets from the network. However, the received data packets intended for the client device may be routed to the application processor based on the reserved port numbers for the application processor, thereby causing a race condition or a data stall condition on the client device.Qualcomm Docket. No.: 2501354WO6

[0024] Certain aspects disclosed herein provide methods, circuits, and systems that are adapted to manage port conflicts between client devices. For example, a node may include a modem and various client devices. Any one of the client devices may utilize one or more ports to communicate with a network via a connectivity request. The modem may thus create a connection entry associating the one or more ports with one of the client devices. A communication may further be established between the network and the client device based on the one or more ports. A different connectivity request may be received by the modem from a different client device. The modem may thus detect port conflict associated with the one or more ports based on the created connection entry.

[0025] A priority level of each client device may be determined to allocate the one or more ports to one of the client devices in an event of the port conflict associated with the one or more ports. The present disclosure may thus provide a solution to seamlessly integrate various client devices of the node to concurrently communicate with the network.

[0026] FIG. 1 is a schematic block diagram of a communication environment 100, in accordance with certain aspects of the present disclosure. The communication environment 100 may include a node 102 and a network 104. The node 102 may communicate with the network via a gNodeB (gNb), e.g., a base station. In one aspect, the node 102 may be implemented in automotive systems, home automation systems, mobile devices, robotic systems, healthcare systems, immersive reality systems, or the like. In further aspects, the node 102 may be a cellular phone, a laptop, a notebook, a tablet, a phablet, a personal digital assistant, a satellite radio, a global positioning system device, a smart home device, intelligent lighting, a multimedia device, a video device, a digital audio player, a photography device, a game console, an entertainment device, a vehicle component, a wearable computing device (e.g., a smartwatch, a health or fitness tracker, or eyewear), an appliance, a security device, a vending machine, a smart meter, and Internet of Things (loT) device, or any other similar functioning device.

[0027] The network 104 may facilitate communication between the node 102 and one or more servers or communication devices associated with the network 104. Examples of the network 104 include, but may not limited to, a Wireless-Fidelity (Wi-Fi) network, a light fidelity (Li-Fi) network, a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a satellite network, the Internet, a fiber opticQualcomm Docket. No.: 2501354WO7network, a coaxial cable network, an infrared (IR) network, a radio frequency (RF) network, and combinations thereof. Various entities in the communication environment 100 may connect to the network 104 in accordance with various wired and wireless communication protocols, such as Transmission Control Protocol and Internet Protocol (TCP / IP), User Datagram Protocol (UDP), Long Term Evolution (LTE), New Radio (NR5G) communication protocols, or any combination thereof.

[0028] The node 102 may include a first client device 106, a second client device 108, and a terminal device 110. The first client device 106 and the second client device 108 may refer to any devices, processors, circuitry, or components that may be configured to execute one or more operations associated with the node 102. In one example, the execution of one or more operations may refer to execution of applications or services associated with the corresponding client device. The first client device 106 and the second client device 108 may be coupled to the terminal device 110 to communicate with the network 104. Though FIG. 1 shows two client devices, the node 102 may include more than two client devices.

[0029] The first client device 106 may correspond to an application processor. Further stated, the first client device 106 may manage user-interfacing applications in the node 102. Examples of the user-interfacing applications may include video streaming applications, social media services, location-based applications, payments-based applications, gaming applications, or the like. In further examples, the first client device 106 may execute operations that consume low power as compared to the second client device 108. The structure of the first client device 106 has been explained in further detail in FIG. 3 and FIG. 10. Further, the operations of the first client device 106 have been explained in further detail in FIGS. 2 - 10.

[0030] The second client device 108 may be a host processor or a Central Processing Unit (CPU) of the node 102. Further stated, the second client device 108 may manage operations associated with peripherals, interfaces, circuitries of the node 102, or the like. In one example, the second client device 108 may execute applications associated with updating of firmware, downloading system updates, communication of telemetry data, security keys communication, or the like. In one aspect, the applications executed by the host processor may have a higher criticality than the applications executed by theQualcomm Docket. No.: 2501354WO8application processor. The second client device 108 has been explained in further detail in FIGS. 2 and 4 - 10.

[0031] In various aspects, the first client device 106 may correspond to the host processor and the second client device 108 may correspond to the application processor.

[0032] The terminal device 110 may be a modem or a baseband processor. The terminal device 110 may use various communication protocols to communicate with the network 104. Thus, the communication protocols may be based on various operating standards (e.g., Long Term Evolution (LTE), New Radio (NR5G) or High-Speed Packet Access (HSPA)). The terminal device 110 may handle communication of data packets between at least one of the first client device 106 or the second client device 108 with the network 104. Further stated, the terminal device 110 may manage the uplink and downlink communication between the first client device 106 or the second client device 108 and the network 104. The terminal device 110 may be coupled to the second client device 108 via a cellular interface such as Universal Asynchronous Receiver / Transmitter (UART) or Serial Peripheral Interface (SPI). Further, the terminal device 110 may be coupled to the first client device 106 via a high-speed bus such as a Peripheral Component Interconnect Express (PCIe) interface.

[0033] Each of the first client device 106 and the second client device 108 may allocate a port number (e.g., a source port number) to various services or applications on each of the first client device 106 and the second client device 108, respectively, to communicate with the network 104. A port number may be utilized to identify a service or an application on the first client device 106 or the second client device 108. In one example, the first client device 106 may execute a first application. To execute the first application, the first client device 106 may allocate a first port number to the first application and communicate with the network 104 via the first port number. In further examples, the second client device 108 may execute a second application. Thus, to execute the second application, the second client device 108 may allocate a second port number to the second application and communicate with the network 104 via the second port number. Further, the second client device 108 may communicate with the network 104 via a third port number to execute a third application.Qualcomm Docket. No.: 2501354WO9

[0034] A port number may be an unsigned 16-bit integer in a port range of 0-65535. In one example, the port range between 0-1023 may be utilized for standard services such as browsing websites, email communication, or the like. The port range between 1024-49151 may be utilized for applications and services, and the port range between 49152-65535 may be utilized for dynamic connections that may last for a short time period.

[0035] Based on the allocation of one or more port numbers, at least one of the first client device 106 and the second client device 108 may generate a connectivity request (e.g., one of a first connectivity request (denoted as “FC” in FIG. 1) or a second connectivity request (denoted as “SC” in FIG. 1)) to communicate with the network 104. The first connectivity request and the second connectivity request may be associated with first tuple information and second tuple information, respectively. Each of the first tuple information and the second tuple information may include a source Internet Protocol (IP), a destination IP, a source port number, a destination port number, and a type of communication protocol. Each of the first connectivity request or the second connectivity request may thus include the source port number and the destination port number. The source port number may be allocated from 1024 to 65535. The network 104 may utilize the source port number to direct the data packets back to one of the first client device 106 or the second client device 108. Further, the destination port number may be a port number of a server associated with the network 104. The source IP may be an IP address of the node 102 and the destination IP may be an IP address of the server associated with the network 104. Further, the communication protocol may be one of Transmission Control Protocol (TCP), User Datagram Protocol (UDP), or Internet Control Message Protocol (ICMP).

[0036] Each of the first connectivity request and the second connectivity request may further include corresponding data packets associated with a query or request to execute one or more applications or services. Thus, the data packets may correspond to control information associated with the applications or services. The first connectivity request and the second connectivity request may be used interchangeably throughout the disclosure.

[0037] In one aspect, the terminal device 110 may be configured to receive, from the first client device 106, the first connectivity request associated with one or more ports to communicate with the network 104. The terminal device 110 may be further configuredQualcomm Docket. No.: 2501354WO10to record a connection entry that indicates utilization of the one or more ports by the first client device 106 to communicate with the network 104. The connection entry may be indicative of the first tuple information associated with the first connectivity request. Further, the terminal device 110 may be configured to receive, from the second client device 108, the second connectivity request associated with the one or more ports to communicate with the network 104. Based on the connection entry, the terminal device 110 may be configured to detect port conflict between the first client device 106 and the second client device 108. The port conflict may be associated with the one or more ports. The one or more ports may be allocated to one of the first client device 106 or the second client device 108 based on a priority level of the first client device 106 with respect to the second client device 108. The priority level may be based on the criticality of the applications.

[0038] It will be assumed throughout the disclosure that the host processor has a higher priority than the application processor. The structure of the terminal device 110 is further explained in FIG. 2 and FIG. 10. The operations of the terminal device 110 are explained in further detail in FIGS. 2 - 10. It will be understood by a person skilled in the art that the communication with network 104 may occur to communicate with one or more servers associated with the network 104. However, for the sake of simplicity of explaining the ongoing disclosure and without deviating from the scope of the disclosure, the disclosure has been explained in light of the communication between the node 102 and the network 104. Though the disclosure has been explained in reference to the host processor and the application processor, it will be understood by a person skilled in the art that various processors of the node 102 may be referred to as the “client devices”. In further aspects, the terminal device 110 may be external to the node 102.

[0039] In further aspects, the first client device 106 may be configured to allocate one or more ports from a port list to communicate with the network 104. The first client device 106 may be configured to provide to the terminal device 110, the first connectivity request associated with the one or more ports. Based on the port conflict associated with the one or more ports with the second client device 108, the first client device 106 may be configured to receive an updated port list from the terminal device 110 based on the port conflict associated with the one or more ports with the second client device 108.Qualcomm Docket. No.: 2501354WO11

[0040] FIG. 2 is a block diagram illustrating a communication between a node 102 and a network 104, in accordance with certain aspects of the present disclosure. FIG. 2 is explained in conjunction with FIG. 1.

[0041] The terminal device 110 may include accelerator circuitry 202, a data module 204, and a physical (PHY) layer, e.g., PHY circuitry 208. The accelerator circuitry 202 may include suitable components to at least one of process or route the requests between the first client device 106 and the second client device 108 and the network 104. The accelerator circuitry 202 may execute one or more operations including data compression, data integrity, or the like, associated with the first or second connectivity request, via Packet Data Convergence Protocol (PDCP) of the protocol stack (denoted as “PS” in FIG.2) stored in the data module 204. The accelerator circuitry 202 may correspond to one or more processors of the terminal device 110.

[0042] For the sake of simplicity of explaining FIG. 2, it is assumed that the first client device 106 may be the application processor and the second client device 108 may be the host processor. Thus, the second client device 108 may have a higher priority than the first client device 106, as the host processor may execute applications with higher criticality than the applications executed by the application processor. Further, the accelerator circuitry 202 may reserve a list of ports for the first client device 106 based on a default connection established between the node 102 and the network 104 and prior to the reception of the first or second connectivity request. The list of reserved ports may include port numbers as described in FIG. 1. The list of reserved ports (denoted as “LP” in FIG. 2) may be stored in the data module 204. The ports may be reserved on each boot up of the node 102. The data module 204 may further store current tuple information (denoted as “CT” in FIG. 2) indicative of previously established communication of the node 102 with the network 104. Further, the protocol stack may be indicative of one or more protocols utilized by the accelerator circuitry 202 to convert the received requests from the first client device 106 and the second client device 108 in a format suitable for communication with the network 104. The data module 204 may correspond to one or more memories of the terminal device 110.

[0043] For further simplicity of explaining FIGS. 2 - 10, the port numbers may be mentioned in regards to the first client device 106 or the second client device 108 as compared to the applications executed on the first client device 106 or the second clientQualcomm Docket. No.: 2501354WO12device 108. Thus, the first client device 106 or the second client device 108 may generate the first connectivity request (denoted as “FC” in FIG. 2) or the second connectivity request (denoted as “SC” in FIG. 2) to execute one or more applications associated with the first client device 106 or the second client device 108, respectively.

[0044] It is further assumed that the type of communication protocol may be TCP. Thus, the first connectivity request and the second connectivity request may be associated with a first TCP synchronization (SYN) packet and a second TCP SYN packet, respectively. Each of the first TCP SYN packet and the second TCP SYN packet may include a SYN flag. The SYN flag may be set to indicate initiation of a connection or establishing a communication with the network 104 by the first client device 106 and the second client device 108, respectively. Each of the first TCP SYN packet and the second TCP SYN packet may further include a first identifier of the first client device 106 and a second identifier of the second client device 108, respectively.

[0045] In one aspect, the second client device 108 (e.g., the host processor) may generate the second connectivity request prior to the generation of the first connectivity request. In one example, a SYN packet (e.g., the second TCP SYN packet) may be provided via the second connectivity request to the terminal device 110 (e.g., the accelerator circuitry 202) to synchronize the communication between the second client device 108 and the network 104. The second connectivity request may further include the second tuple information.

[0046] The accelerator circuitry 202 may determine whether the second connectivity request may include one or more ports (e.g., a port number of a source port) from the list of ports reserved for the first client device 106. If the accelerator circuitry 202 determines that the source port of the second connectivity request matches one of the ports from the list of reserved ports, the accelerator circuitry 202 may extract the second tuple information (denoted as “ST” in FIG. 2). In one example, the accelerator circuitry 202 may extract the source IP (denoted as “SIP2” in FIG. 2), the destination IP (denoted as “DIP2” in FIG. 2), the source port (e.g., the source port number denoted as “SP2” in FIG.2), the destination port (e.g., the destination port number denoted as “DP2” in FIG. 2), and the type of communication protocol (denoted as “P2” in FIG. 2) associated with the second tuple information. The accelerator circuitry 202 may further determine whether the second tuple information matches any of the stored tuple information (e.g., the currentQualcomm Docket. No.: 2501354WO13tuple information) in the data module 204. Based on the determination that the second tuple information does not match any of the stored tuple information, the accelerator circuitry 202 may record (e.g., create) a connection entry (denoted as “CE” in FIG. 2) associated with the second connectivity request. The connection entry associated with the second connectivity request may be indicative of the second tuple information and the second identifier. The accelerator circuitry 202 may further determine to set up (e.g., allow) the connection between the second client device 108 and the network 104.

[0047] The accelerator circuitry 202 may thus provide the second connectivity request from the second client device 108 to a Layer 2 (L2) Component (e.g., PHY circuitry 208) of the terminal device 110. The PHY circuitry 208 may be configured to manage high speed communication between the second client device 108 and the network 104. The PHY circuitry 208 may include transmitter and receiver components, or the like. Further, the PHY circuitry 208 may transmit the second connectivity request to the network 104 via a next generation node B (gNB). In response to the second connectivity request, data packets (e.g., downlink data packets) may be received from the network 104. The downlink data packets may be routed to the second client device 108 via installed filters in the accelerator circuitry 202.

[0048] The accelerator circuitry 202 may further receive the first connectivity request (e.g., the first TCP SYN) packet from the first client device 106. The accelerator circuitry 202 may determine from the data module 204 whether the one or more ports in the first connectivity request match the list of reserved ports for the first client device 106. On determining the match, the accelerator circuitry 202 may fetch (e.g., extract) the first tuple information (denoted as “FT” in FIG. 2) from the first connectivity request. In one example, the accelerator circuitry 202 may extract the source IP (denoted as “SIP1” in FIG. 2), the destination IP (denoted as “DIP1” in FIG. 2), the source port (e.g., the source port number denoted as “SP1” in FIG. 2), the destination port (e.g., the destination port number denoted as “DPI” in FIG. 2), and the type of communication protocol (denoted as “Pl” in FIG. 2) associated with the second tuple information. The accelerator circuitry 202 may further match the first tuple information with any of the existing entries (e.g., the current tuple information or the second tuple information) in the data module 204, to detect port conflict. In one scenario, based on a mismatch between the first tuple information and any of the second or current tuple information, the accelerator circuitryQualcomm Docket. No.: 2501354WO14202 may transmit the first connectivity request to the network 104 via the gNB and record a different connection entry for the first connectivity request.

[0049] In further scenarios, the accelerator circuitry 202 may determine a match between the first tuple information and the second tuple information based on the one or more ports (e.g., an identical source port number) in the first tuple information and the second tuple information. In one example, the source IP may be 1.1.1.1, the destination IP may be 2.2.2.2, the source port number may be 30001, the destination port number may be 6000, and the communication protocol may be TCP in the first tuple information. Further, the second tuple information may include 1.1.1.1 as the source IP, 2.2.2.2 as the destination IP, 30001 as the source port number, 6000 as the destination port number, and TCP as the communication protocol in the first tuple information.

[0050] The accelerator circuitry 202 may thus generate a reset request (denoted as “RT1” in FIG. 2) via the protocol stack of the data module 204 for the first client device 106. The reset request (e.g., a TCP Reset (RST) packet) may be generated based on a replacement of a source port of the one or more ports with a destination port of the one or more ports and a replacement of a source internet protocol (IP) with a destination IP further associated with the first connectivity request. In one example, a source IP of the reset request may be the destination IP of the fist tuple information, the destination IP of the reset request may be the source IP of the first tuple information, the source port of the reset request may be the destination port of the first tuple information, the destination port of the reset request may be the source port of the first tuple information, and the communication protocol may be TCP. An RST bit in a TCP header flag of the TCP RST packet may indicate an invalidity of the connection associated with the first connectivity request. Further stated, the reset request may indicate an invalidity of the one or more ports (e.g., the source port number 30000) associated with the first connectivity request to communicate with the network 104. Upon receiving the reset request, the first client device 106 may flag the one or more ports as invalid to communicate with the network 104. Further, when the reset request is provided to the first client device 106, the accelerator circuitry 202 may further provide an updated reserved port list (denoted as “UP” in FIG. 2) that excludes the one or more ports. The updated reserved port list may be stored in the data module 204.Qualcomm Docket. No.: 2501354WO15

[0051] In further aspects, the first connectivity request (e.g., the first TCP SYN packet) may be received by the terminal device 110 (e.g., the accelerator circuitry 202) from the first client device 106. The accelerator circuitry 202 may determine that the one or more ports in the first connectivity request may match at least one port from the port range reserved for the first client device 106. The accelerator circuitry 202 may further determine whether the current tuple information stored in the data module 204 matches the first tuple information of the first connectivity request. As the first tuple information may be determined to be absent in the data module 204, the connection entry (denoted as “CE” in FIG. 2) associated with the first tuple information may be created in the data module 204. The connection entry may further include the first identifier to identify the connection entry from the first client device 106. Further, the accelerator circuitry 202 may forward the first connectivity request to the network 104 to allow the connection between the first client device 106 and the network 104 associated with the one or more ports. Further stated, the accelerator circuitry 202 may forward the TCP SYN packet from the first client device 106 to the PHY circuitry 208 and further to the network 104 via the gNB.

[0052] The second connectivity request may be received from the second client device 108. The accelerator circuitry 202 may determine if the source port of the second connectivity request (e.g., the second TCP SYN packet) may be the same as one of the ports reserved for the first client device 106. Based on the match between the source port number in the second connectivity request and a port number from the list of reserved ports (e.g., the reserved port range), the accelerator circuitry 202 may fetch the second tuple information from the second connectivity request to match with any existing entries (e.g., the current tuple information or the first tuple information) in the data module 204. In some scenarios, if the second tuple information does not match the first tuple information or the current tuple information, or the source port number is not included in the reserved port range, the accelerator circuitry 202 may forward the second connectivity request to the network 104 to allow the connection between the second client device 108 and the network 104.

[0053] In some scenarios, the second tuple information may match the connection entry in the data module 204. Thus, the reset request (e.g., the second TCP RST) may be generated via the protocol stack layer for the first client device 106 and the network 104.Qualcomm Docket. No.: 2501354WO16

[0054] Upon the generation of the reset request, the reset request may be provided to the first client device 106. Further, the reset request (denoted as “RT2” in FIG. 2) may be transmitted to the network 104. The reset request may be created for the network 104 based on the source IP of the reset request being the source IP of the matched connection entry, a destination IP of the reset request being the destination IP of the matched connection entry, a source port of the reset request being the source port of the matched connection entry, a destination port of the reset request being the destination port of the matched connection entry, and a type of the communication protocol being TCP. When the reset request is transmitted to the network 104, the accelerator circuitry 202 may further transmit the second connectivity request from the second client device 108 to the network 104 via the PHY circuitry 208 and the gNB. Further, the reset request may be provided to the first client device 106 concurrently with the reset request for the network 104.

[0055] In further aspects, when the type of communication protocol may be UDP, an updated reserved port list that excludes the one or more ports may be provided to the first client device 106, without providing the reset request.

[0056] FIG. 3 is a block diagram that illustrates the first client device 106, in accordance with an exemplary aspect of the present disclosure. FIG. 3 is explained in conjunction with FIGS. 1 and 2.

[0057] The first client device 106 is shown to include one or more first memories 302 and one or more first processors 304. The one or more first processors 304 may be configured to execute one or more operations associated with the first client device 106 as explained at least in FIGS. 2, 4A, 4B, and 10. Examples of the one or more first processors 304 may include, but may not be limited to, an application-specific integrated circuit (ASIC) processor, a reduced instruction set computer (RISC) processor, a complex instruction set computer (CISC) processor, a field programmable gate array (FPGA), or the like. Examples of the one or more first memories 302 may include a random-access memory (RAM), a read only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), and any other suitable medium for storing commands, software, and / or instructions that may be accessed and read by the one or more first processors 304. In further aspects, the one or more first memories 302 may be a non-transitory computer-readable medium.Qualcomm Docket. No.: 2501354WO17

[0058] The one or more first processors 304 may be configured to receive the port list reserved for the first client device 106, from the terminal device 110 based on the default connection established between the terminal device 110 and the network 104. The one or more first processors 304 may be further configured to store the reserved port list (denoted as “LP” in FIG. 3) in the one or more first memories 302. In one example, the reserved port list may include one or more first ports. In an example, the one or more first ports (denoted as “FP” in FIG. 3) may include a first source port that may be identified with a first source port number. The one or more first processors 304 may be further configured to allocate the one or more first ports based on the reception of the reserved port list to communicate with the network 104.

[0059] The one or more first processors 304 may be further configured to provide to the terminal device 110, the first connectivity request associated with the one or more first ports. In one scenario, the terminal device 110 may receive the second connectivity request associated with the one or more first ports from the second client device 108. As the second client device 108 may have a higher priority than the first client device 106, the one or more first ports may be allocated to the second client device 108 to establish the connection with the network 104. Thus, the reset request may be generated for the first client device 106.

[0060] The one or more first processors 304 may be further configured to receive from the terminal device 110, the reset request indicative of the invalidity of the one or more first ports to connect to the network 104. The reset request may be received based on port conflict associated with the one or more first ports with the second client device 108. The one or more first processors 304 may be further configured to receive an updated port list (denoted as “UP” in FIG. 3) excluding the one or more first ports, from the terminal device 110 based on the reset request. In one example, the updated port list may exclude the first source port number and include one or more second ports (denoted as “SP” in FIG. 3). The one or more second ports may include a second source port number. The one or more first processors 304 may be further configured to flag the one or more first ports (e.g., the first source port number) as invalid based on the reception of the reset request.

[0061] The one or more first processors 304 may be further configured to store the updated port list in the one or more first memories 302. The one or more first processorsQualcomm Docket. No.: 2501354WO18304 may be further configured to update the first connectivity request based on the second source port number to communicate with the network 104.

[0062] FIGS. 4 A and 4B are diagrams that illustrate a process flow 400 of a communication between the node 102 and the network 104, in accordance with an exemplary aspect of the present disclosure. FIGS. 4Aand 4B are explained in conjunction with FIGS. 1 - 3.

[0063] For the sake of simplicity of explaining FIGS. 4A and 4B, it is assumed that the second client device 108 generates the second connectivity request prior to the generation of the first connectivity request by the first client device 106. Further, the connection entry may thus be associated with the second client device 108. However, it will be understood by a person skilled in the art that the terms “first” and “second” are identifiers and do not limit the scope of the disclosure or indicate an order of priority of the devices. Further, the communication protocol may be assumed to be TCP protocol.

[0064] At 402, a client profile may be configured. The profile of the first client device 106 may be configured in the terminal device 110. Configuring the client profile may include exchange of communication protocol supported between the first client device 106 and the terminal device 110, security information, or the like.

[0065] At 404, the first client device 106 may be notified regarding a successful configuration of the client profile. The terminal device 110 may configure the client profile and upon successfully configuring the client profile may provide a notification to the first client device 106 indicating the successful configuration.

[0066] At 406, a data call request may be provided to the terminal device 110. The first client device 106 may provide the data call request to access (e.g., connect to or establish a default connection with) the network 104.

[0067] At 408, a default connectivity request may be transmitted to the network 104. The terminal device 110 may generate a packet data network (PDN) connectivity request as the default connectivity request to access the network 104 based on the reception of the data call request. The default connectivity request may trigger exchange of multiple requests and responses that may include security information, identifiers of the node 102Qualcomm Docket. No.: 2501354WO19and the server associated with the network 104, or the like, between the node 102 and the network 104 to authenticate the node 102.

[0068] At 410, a default connection successful notification may be transmitted to the terminal device 110. A default bearer may be set between the node 102 and the network 104 based on the default connectivity request. The terminal device 110 may be notified with the default connection being successful. Thus, a default connection may be set between the node 102 and the network 104.

[0069] At 412, a call success notification may be provided. The terminal device 110 may provide to the first client device 106, a notification indicating that the default connection has been established with the network 104 via the call success notification.

[0070] At 414, a list of reserved ports may be provided. The terminal device 110 may reserve a list of ports for the first client device 106 to connect to the network 104. The reserved list of ports may be provided to the first client device 106.

[0071] At 416, one or more ports from the reserved port list may be allocated. The first client device 106 may allocate the one or more ports to communicate with the network 104. In one example, the one or more ports may be allocated to one or more first applications associated with the first client device 106.

[0072] At 418, second connectivity request may be provided to the terminal device 110. The second client device 108 may generate the second connectivity request associated with the one or more ports, to communicate with the network 104. The second client device 108 may utilize a port that may fall between the reserved port range (e.g., the list of reserved ports) and generate the second connectivity request to communicate with the network 104. The second connectivity request may include the second TCP SYN packet, the second tuple information, or the like. In one example, the second client device 108 may allocate the one or more ports to one or more second applications associated with the second client device 108.

[0073] At 420, second tuple information may be extracted. The terminal device 110 may extract the second tuple information from the second connectivity request based on a match between the one or more ports in the second connectivity request and the list of reserved ports.Qualcomm Docket. No.: 2501354WO20

[0074] At 422, a connection entry associated with the second tuple information may be recorded. The terminal device 110 may further determine that the second tuple information does not match any current tuple information stored in the terminal device 110. Further stated, the terminal device 110 may determine that the second tuple information is unique. Thus, the terminal device 110 may create (e.g., record) the connection entry associated with the second tuple information for the second client device 108 in the one or more memories associated with the terminal device 110.

[0075] At 424, the second connectivity request may be transmitted. The terminal device 110 may allow the setup of the connection between the second client device 108 and the network 104 by transmitting the second connectivity request to the network 104.

[0076] At 426, a first connectivity request may be received. The first client device 106 may generate the first connectivity request to communicate with the network 104. The first client device 106 may utilize a port that may fall between the reserved port range (e.g., the list of reserved ports) and generate the first connectivity request to connect to the network 104. The first connectivity request may include the first TCP SYN packet, the first tuple information, or the like.

[0077] At 428, first tuple information may be extracted based on a match between a source port of the second connectivity request and the list of reserved ports. The terminal device 110 may determine whether the first connectivity request includes the one or more ports from the reserved list of ports. The terminal device 110 may extract the first tuple information based on a match between at least one source port number associated with the one or more ports in the first tuple information and the list of reserved ports. In further scenarios, if the terminal device 110 may determine a mismatch between the source port number and one of the ports from the list of reserved ports, the first connectivity request may be transmitted to the network 104.

[0078] At 430, a match between the first tuple information and the second tuple information may be determined to detect port conflict. The terminal device 110 may determine whether the second tuple information matches the first tuple information stored in the one or more memories of the terminal device 110. In one example, the terminal device 110 may determine whether the second tuple information associated with theQualcomm Docket. No.: 2501354WO21execution of the second application matches the first tuple information associated with the execution of the first application.

[0079] At 432, the first connectivity request may be transmitted to the network 104, based on a mismatch between the first tuple information and the second tuple information. In one scenario, if the terminal device 110 may determine a mismatch between the first tuple information and the second tuple information, the first connectivity request may be provided to the network 104.

[0080] At 434, a reset request may be generated based on a match between the first tuple information and the second tuple information. If the terminal device 110 may determine that the first tuple information matches the second tuple information, the terminal device 110 may generate the reset request (e.g., a TCP RST) thereby detecting the port conflict associated with the one or more ports. In such a scenario, a TCP RST is not provided the network 104 to retain the connection between the network 104 and the second client device 108. In one example, the terminal device 110 may determine that the one or more ports allocated to the first application matches the one or more ports allocated to the second application. Further, the source IP, destination IP, destination port number, and the type of communication protocol in the first tuple information and the second tuple information match with each other.

[0081] At 436, the reset request may be provided to the first client device 106 based on a higher priority of the second client device 108. As the first client device 106 may be a low priority client than the second client device 108, the terminal device 110 may provide the reset request to the first client device 106. The reset request may be indicative of the invalidity of the one or more ports to connect to the network 104.

[0082] At 438, the updated port list may be provided to the first client device 106. The terminal device 110 may update the reserved port list for the first client device 106 and provide the updated reserved port list to the first client device 106. The updated port list may exclude the one or more ports (e.g., a second source port number) associated with the second connectivity request.

[0083] At 440, the one or more ports may be flagged as invalid. Upon receiving the reset request (e.g., the TCP RST), the first client device 106 may mark (e.g., flag or set)Qualcomm Docket. No.: 2501354WO1the one or more ports from the allocated ports as invalid to avoid any allocation of the one or more ports for communication with the network 104.

[0084] At 442, the updated first connectivity request may be transmitted. The first client device 106 may update the first connectivity request to include ports different than the excluded one or more ports to further communicate with the network 104. It will be understood by a person skilled in the art that the terminal device 110 further matches tuple information associated with the updated first connectivity request with the tuple information stored in the one or more memories of the terminal device 110 to either allow or deny the connection between the first client device 106 and the network 104 based on the ports included in the updated first connectivity request. In further aspects, if a TCP RST may be received from the second client device 108, the terminal device 110 may remove the connection entry associated with the second tuple information from the one or more memories of the terminal device 110 based on the TCP RST from the second client device 108.

[0085] FIGS. 5A and 5B are diagrams that illustrate a process flow 500 of a communication between the node 102 and the network 104, in accordance with further aspects of the present disclosure. FIGS. 5A and 5B are explained in conjunction with FIGS. 1 - 4B. For the sake of simplicity of explaining FIGS. 5A and 5B, it is assumed that the first client device 106 generates the first connectivity request prior to the generation of the second connectivity request by the second client device 108. Prior to the execution of 502, 402 - 416 are executed. 402 - 416 have been explained in detail in FIG.4A.

[0086] At 502, first connectivity request may be provided to the terminal device 110. The first client device 106 may utilize a port that may fall between the reserved port range (e.g., the list of reserved ports) and generate the first connectivity request to communicate with the network 104. The first connectivity request may include the first tuple information, the first TCP SYN packet, or the like. The first tuple information may further include the first source port number, the first destination port number, the first source IP, the first destination IP, and the type of communication protocol.

[0087] At 504, the first tuple information may be extracted. The terminal device 110 may retrieve the first TCP SYN packet from the first connectivity request to identifyQualcomm Docket. No.: 2501354WO23whether the first tuple information matches any current tuple information in the one or more memories of the terminal device 110. In one scenario, the terminal device 110 may identify the mismatch between the first tuple information and the current tuple information. Further stated, the terminal device 110 may identify that the first source port number in the first tuple information is not included in the list of reserved ports. In an event of mismatch between the first tuple information and the current tuple information, the terminal device 110 may not record the entry associated with the first tuple information in the one or more memories of the terminal device 110.

[0088] At 506, a connection entry associated with the first tuple information may be recorded. In further scenarios, the terminal device 110 may identify the match between the first tuple information and the current tuple information. Further stated, the terminal device 110 may identify that the first source port number in the first tuple information is included in the list of reserved ports. Upon identifying that the first source port number is not unique, the terminal device 110 may record the connection entry associated with the first tuple information from the first client device 106 in the one or more memories of the terminal device 110.

[0089] At 508, the first connectivity request may be transmitted to the network 104. In one scenario, upon identifying that the first tuple information may be unique, the terminal device 110 may transmit the first connectivity request to the network 104 to allow the setup of the connection between the first client device 106 and the network 104. In further scenarios, upon recording the connection entry, the terminal device 110 may transmit the first connectivity request to the network 104 to connect the first client device 106 to the network 104.

[0090] At 510, one or more ports may be allocated by the second client device 108. The second client device 108 may allocate the one or more ports (e.g., a second source port) to communicate with the network 104.

[0091] At 512, second connectivity request may be provided to the terminal device 110. The second client device 108 may provide the second connectivity request to the terminal device 110. The second connectivity request may include the second tuple information, the second TCP SYN packet, or the like. The second tuple information mayQualcomm Docket. No.: 2501354WO24include the second source port number, the second destination port number, the second source IP, the second destination IP, and the type of communication protocol.

[0092] At 514, the second tuple information may be extracted based on a match between a source port of the second connectivity request and the list of reserved ports. The terminal device 110 may identify if the second source port number may be included in the list of reserved ports. Upon identifying that the second source port number may be included in the list of reserved ports, the terminal device 110 may extract the second tuple information from the second connectivity request. Further, the terminal device 110 may retrieve the second TCP SYN packet from the second connectivity request to identify whether the second tuple information matches the first tuple information. In one scenario, if the terminal device 110 may identify that the second source port number is not included in the list of reserved ports, the terminal device 110 may transmit the second connectivity request to the network 104 to connect the second client device 108 to the network 104.

[0093] At 516, a match between the first tuple information and the second tuple information may be determined to detect port conflict. The terminal device 110 may determine whether the first tuple information matches the second tuple information.

[0094] At 518, the second connectivity request associated with the one or more ports may be transmitted to the network 104. The second connectivity request may be transmitted based on a mismatch between the first tuple information and the second tuple information. In one scenario, the terminal device 110 may identify that the first tuple information and the second tuple information do not match. Further, the terminal device 110 may transmit the second connectivity request to the network 104. The terminal device 110 may remove the connection entry in the one or more memories of the terminal device 110. Further, the terminal device 110 may update the connection entry in the one or more memories, to associate the updated connection entry with the second client device 108.

[0095] At 520, a reset request may be generated based on a match between the first tuple information and the second tuple information. If the terminal device 110 may determine a match between the first tuple information and the second tuple information, the terminal device 110 may generate a reset request (e.g., a TCP RST) for the first client device 106.Qualcomm Docket. No.: 2501354WO25

[0096] At 522a, the reset request may be provided to the first client device 106. As the first client device 106 may be a low priority client as compared to the second client device 108, the terminal device 110 may provide the reset request to the first client device 106.

[0097] At 522b, the reset request may be transmitted to the network 104. The reset request may be transmitted to the network 104 to disconnect the connection associated with the one or more ports established between the network 104 and the first client device 106.

[0098] After 522, 438, 440, and 442 may be executed. 438, 440, and 442 have been explained in detail in FIG. 4B.

[0099] FIG. 6 is a diagram that illustrates a high-level flowchart 600 of a method (e.g., a process) executed by the terminal device 110, in accordance with an exemplary aspect of the present disclosure. FIG. 6 is explained in conjunction with FIGS. 1 - 5B.

[0100] At 602, a first connectivity request associated with one or more ports may be received from a first client device 106 to communicate with a network 104. The first client device 106 may provide the first connectivity request to the terminal device 110 to one of initiate a communication or establish the connection with the network 104. The first connectivity request may include the one or more ports (e.g., at least one source port) from the list reserved ports.

[0101] At 604, a connection entry that indicates utilization of the one or more ports by the first client device 106 to communicate with the network 104 may be recorded. The terminal device 110 may extract the first tuple information from the first connectivity request and record the first tuple information as the connection entry for the first client device 106.

[0102] At 606, a second connectivity request associated with the one or more ports to communicate with the network 104 may be received from a second client device 108. The second client device 108 may provide the second connectivity request to the terminal device 110 to one of initiate a communication or establish the connection with the network 104. The second connectivity request may include the one or more ports (e.g., at least one source port) from the list of reserved ports. In one aspect, the second connectivity requestQualcomm Docket. No.: 2501354WO26may be received prior to the first connectivity request. Accordingly, the connection entry may be associated with the second connectivity request. In further aspects, the first connectivity request may be received prior to the second connectivity request.

[0103] At 608, port conflict associated with the one or more ports between the first client device 106 and the second client device 108 may be detected based on the connection entry. The terminal device 110 may extract the second tuple information from the second connectivity request. The second tuple information and the first tuple information may include the same source IP and the same source port number. The terminal device 110 may thus detect the port conflict associated with the one or more ports and resolve the port conflict between the first client device 106 and the second client device 108 based on the priority level of the first client device 106 with respect to the second client device 108.

[0104] FIG. 7 is a diagram that illustrates a high-level flowchart 700 of a method (e.g., a process) executed by the first client device 106, in accordance with an exemplary aspect of the present disclosure. The first client device 106 may be the application processor. FIG. 7 is explained in conjunction with FIGS. 1 - 6.

[0105] At 702, one or more ports from a port list may be allocated to communicate with a network 104. The first client device 106 may select the one or more ports from the reserved port list to establish a connection with the network 104.

[0106] At 704, a first connectivity request associated with the one or more ports may be provided to a terminal device 110. The first client device 106 may generate the first connectivity request based on the one or more ports and provide the first connectivity request to the network 104. In one aspect, based on the first connectivity request, a connection may be established between the first client device 106 and the network 104. In further aspects, a connection associated with the one or more ports may be established between the second client device 108 and the network 104 prior to the provision of the first connectivity request.

[0107] At 706, an updated port list based on port conflict associated with the one or more ports may be received from the terminal device 110. The terminal device 110 may allocate the one or more ports to the second client device 108 and connect the second client device 108 to the network 104. In one aspect, a reset request may be received byQualcomm Docket. No.: 2501354WO27the first client device 106 based on the port conflict associated with the one or more ports with the second client device 108. In further aspects, the terminal device 110 may further provide the reset request to the network 104 based on the reception of the second connectivity request, to disconnect the connection between the first client device 106 and the network 104 associated with the one or more ports. Further, the first client device 106 may receive the updated port list from the terminal device 110 based on the reset request. The updated port list may exclude the one or more ports.

[0108] FIGS. 8 A - 8C are diagrams that illustrate a detailed flowchart 800 of a method (e.g., a process) executed by the terminal device 110, in accordance with an exemplary aspect of the present disclosure. FIGS. 8A- 8C are explained in conjunction with FIGS. 1 - 7.

[0109] At 802, a default connectivity request may be transmitted to a network 104 to establish communication with a network 104. The terminal device 110 may transmit, prior to the reception of the first connectivity request, a default connectivity request to the network 104 to establish communication (e.g., a default connection) with the network 104. The default connectivity request may be indicative of a PDN connection.

[0110] At 804, a list of ports including one or more ports may be reserved based on a successful establishment of the communication with the network 104. Based on the successful establishment of the communication with the network 104, the terminal device 110 may reserve the list of ports for one of the first client device 106 or the second client device 108. In one aspect, the first client device 106 may be the application processor. Thus, the reserved list of ports may be provided to the first client device 106 based on the first client device 106 having a low priority than the second client device 108. In further aspects, the first client device 106 may be the host processor. Thus, the reserved list of ports may be provided to the second client device 108 based on the second client device 108 having a low priority than the first client device 106.[OHl] At 806, a first connectivity request associated with the one or more ports may be received from the first client device 106, to communicate with the network 104. The first client device 106 may allocate the one or more ports from the list of ports to generate the first connectivity request. The first connectivity request may be received from the first client device 106 to connect the first client device 106 to the network 104.Qualcomm Docket. No.: 2501354WO28

[0112] At 808, a match between port information associated with the one or more ports from the first connectivity request and the list of ports may be identified. The terminal device 110 may identify a match between the port information associated with the one or more ports (e.g., at least one source port) from the first connectivity request and the list of reserved ports.

[0113] At 810, first tuple information from the first connectivity request may be extracted. Based on the match between the port information associated with the one or more ports (e.g., a source port) from the first connectivity request and the list of reserved ports, the terminal device 110 may extract the first tuple information (e.g., the source port number, the destination port number, the source IP, the destination IP, and the type of communication protocol) from the first connectivity request.

[0114] At 812, a mismatch between the first tuple information with current tuple information stored in one or more memories may be identified. The terminal device 110 may determine a mismatch between the extracted first tuple information and current tuple information stored in the one or more memories of the terminal device 110. Further stated, the first tuple information may not match any of the stored tuple information in the one or more memories.

[0115] At 814, a connection entry that indicates utilization of the one or more ports by the first client device 106 to communicate with the network 104 may be recorded. The terminal device 110 may record the connection entry associated with the extracted first tuple information. Further stated, the extracted first tuple information associated with the first client device 106 may be stored as the connection entry in the one or more memories of the terminal device 110. Further, the connection entry may indicate utilization of the one or more ports to connect the first client device 106 to the network 104 or establish the communication with the network 104.

[0116] At 816, the first connectivity request associated with the one or more ports may be transmitted to the network 104. Based on the recorded connection entry, the terminal device 110 may transmit the first connectivity request associated with the one or more ports to the network 104. Based on the first connectivity request, the communication may be established between the first client device 106 and the network 104. In one aspect, the connection may be established between the host processor as the first client deviceQualcomm Docket. No.: 2501354WO29106 and the network 104. In further aspects, the connection may be established between the application processor as the first client device 106 and the network 104.

[0117] At 818, a second connectivity request associated with the one or more ports may be received from a second client device 108, to communicate with the network 104. The terminal device 110 may receive, from the second client device 108, the second connectivity request associated with the one or more ports to connect the second client device 108 to the network 104. In one aspect, if the first client device 106 may be the host processor, the second connectivity request may be received from the application processor (e.g., the second client device 108). In further aspects, if the first client device 106 may be the application processor, the second connectivity request may be received from the host processor (e.g., the second client device 108).

[0118] At 820, it may be determined whether a source port associated with the second connectivity request matches a port from a list of reserved ports. The terminal device 110 may determine whether a source port from the one or more ports associated with the second connectivity request matches a port from a list of reserved ports. Further stated, the terminal device 110 may determine whether a match exists between the source port number associated with the second connectivity request and one of the port numbers from the list of ports reserved for the application processor (e.g., the first client device 106 or the second client device 108). If it is determined that the source port matches one of the list of reserved ports, 822 and 824 may be executed. However, if it is determined that the source port does not match any port from the list of reserved ports, 826 may be executed.

[0119] At 822, second tuple information associated with the second connectivity request may be extracted. The terminal device 110 may extract the second tuple information (e.g., the source port number, the destination port number, the source IP, the destination IP, and the type of communication protocol) based on a match between the source port number associated with the second connectivity request and a port number from the list of reserved ports.

[0120] At 824, it may be determined whether the second tuple information matches the first tuple information. The terminal device 110 may determine whether the second tuple information matches the first tuple information based on the connection entry to detect the port conflict associated with the one or more ports between the first clientQualcomm Docket. No.: 2501354WO30device 106 and the second client device 108. The determination of the match between the second tuple information and the first tuple information may indicate the port conflict. If it is determined that the second tuple information does not match the first tuple information, 826 may be executed. However, if it is determined that the second tuple information matches the first tuple information, port conflict may be detected and 828 may be executed.

[0121] At 826, the second connectivity request may be transmitted to the network 104. 826 may be executed after 820 and 824. The terminal device 110 may transmit the second connectivity request to the network 104 to establish the communication between the second client device 108 and the network 104.

[0122] At 828, a reset request may be generated. In one aspect, the terminal device 110 may generate the reset request for the first client device 106. In further aspects, the terminal device 110 may generate the reset request for the first client device 106 and the network 104. The terminal device 110 may generate the reset request for the first client device 106 based on the detection of the port conflict, to indicate the invalidity of the one or more ports to communicate with the network 104. When the first client device 106 may be the application processor, the reset request may be generated for the first client device 106. The reset request for the network 104 may be generated based on the connection associated with the first connectivity request, established between the application processor (e.g., the first client device 106) and the network 104 prior to the reception of the second connectivity request from the second client device 108.

[0123] At 830, a reset request may be provided to the first client device 106 to disconnect the connection between the first client device 106 and the network 104 associated with the one or more ports. In one aspect, the first client device 106 may be the application processor, and may have a low priority than the second client device 108. Further, the first connectivity request may be received prior to the second connectivity request. The reset request may thus be provided to the first client device 106 indicating the invalidity of the one or more ports to communicate with the network 104.

[0124] At 832, the connection entry may be updated in the one or more memories associated with the one or more ports from the first client device 106 to the second client device 108. In one aspect, the second client device 108 may be the host processor. Thus,Qualcomm Docket. No.: 2501354WO31the terminal device 110 may update the connection entry to associate the connection entry with the second client device 108. The updated connection entry may thus include the source port number, the destination port number, the source IP, the destination IP, and the type of communication protocol associated with the second tuple information.

[0125] At 834, the second connectivity request associated with the one or more ports may be transmitted to the network 104 based on the updated connection entry. The terminal device 110 may transmit based on the detection of the port conflict, the second connectivity request associated with the one or more ports to the network 104. Based on the second connectivity request, the communication associated with the one or more ports may be established between the second client device 108 and the network 104.

[0126] At 836, a list of updated ports that excludes the one or more ports, may be provided to the first client device 106. The terminal device 110 may provide based on the detection of the port conflict, the list of updated ports that excludes the one or more ports, to the first client device 106 for establishing the connection with the network 104.

[0127] At 838, the reset request may be transmitted to the network 104. In further aspects, 838 may be executed concurrently with 830. After 838, 832 may be executed. In further aspects, 838 may be executed after 830. The reset request may be transmitted to the network 104 to disconnect the established connection between the first client device 106 and the network 104 associated with the one or more ports.

[0128] FIG. 9 is a diagram that illustrates a detailed flowchart 900 of a method (e.g., a process) executed by the first client device 106, in accordance with an exemplary aspect of the present disclosure. FIG. 9 is explained in conjunction with FIGS. 1 - 8C.

[0129] At 902, a port list from a terminal device 110 based on a communication established between the terminal device 110 and a network 104 may be received. The first client device 106 may receive the port list from the terminal device 110 based on a communication established between the terminal device 110 and the network 104. The port list may be a list of ports reserved for the first client device 106 to communicate with the network 104.Qualcomm Docket. No.: 2501354WO32

[0130] At 904, one or more ports from a port list may be allocated to communicate with the network 104. The first client device 106 may allocate the one or more ports from the port list to communicate with the network 104.

[0131] At 906, a first connectivity request associated with the one or more ports may be provided to the terminal device 110. The first client device 106 may generate the first connectivity request based on the allocated one or more ports to communicate with the network 104.

[0132] At 908, a communication may be established with the network 104 based on the one or more ports. In one aspect, the first connectivity request may be provided to the network 104 to establish the communication between the network 104 and the first client device 106. The connection entry may be created based on the first connectivity request. Further, the first connectivity request may be provided to the network 104 based on a mismatch between the first tuple information associated with the first connectivity request and the current tuple information stored in the one or more memories associated with the terminal device 110.

[0133] At 910, a reset request may be received based on port conflict associated with the one or more ports with a second client device 108. The reset request may be received from the terminal device 110 indicating a port conflict associated with the one or more ports. The terminal device 110 may receive the second connectivity request from the second client device 108. The second client device 108 may have a higher priority than the first client device 106. Thus, the reset request may indicate an invalidity of the one or more ports to communicate with the network 104, to the first client device 106.

[0134] At 912, an updated port list may be received. Based on the reset request, the first client device 106 may further receive the updated port list from the terminal device 110. The updated port list may exclude the one or more ports.

[0135] At 914, the one or more ports may be flagged as invalid based on the reception of the updated port list. The first client device 106 may flag the one or more ports as invalid based on the reception of the reset request. Further, the first client device 106 may update the first connectivity request to indicate ports that are different than the one or more ports to recommunicate with the network 104. If the tuple information associated with the updated first connectivity request may mismatch with any entry in the one orQualcomm Docket. No.: 2501354WO33more memories of the terminal device 110, the terminal device 110 may transmit the updated first connectivity request to the network 104.

[0136] FIG. 10 is a diagram illustrating an example of the node 102 in accordance with certain aspects of the present disclosure. FIG. 10 is explained in conjunction with FIGS. 1 - 9. The node 102 may include a terminal device 110 (e.g., a modem) coupled to a transceiver 1002, e.g., a cellular RF transceiver. The terminal device 110 may further be coupled to an application processor (e.g., the first client device 106), a host processor (e.g., the second client device 108), a screen 1004, clock circuitry 1006, a power source 1008, interrupt circuitry 1010, and a communication bus 1012. The terminal device 110 may communicate through the transceiver 1002 with the network 104 via a base station or gNodeB. The terminal device 110 may include a computer-readable medium / memory, e.g. one or more terminal memories 1015.

[0001] The one or more terminal memories 1015 may store data that may be utilized by the one or more terminal processors 1016 during the execution of the software. The one or more terminal memories 1015 may correspond to the data module 204 shown in FIG. 2. Examples of the one or more terminal memories 1015 may include a RAM, a ROM, a PROM, an EPROM, an EEPROM, and any other suitable medium for storing commands, software, and / or instructions that may be accessed and read by the one or more terminal processors 1016. In further aspects, the one or more memories 112 may be a non-transitory computer-readable medium.

[0137] The terminal device 110 may further include one or more terminal processors 1016, transmission circuitry 1018, reception circuitry 1022, or the like. The one or more terminal processors 1016 may correspond to the accelerator circuitry 202 of FIG. 2. The one or more terminal processors 1016 may be responsible for general processing, including the execution of software stored on the one or more terminal memories 1015. The software, when executed by the one or more terminal processors 1016, causes the terminal device 110 to perform the various functions described in FIGS. 1 - 10. The one or more terminal processors 1016 may include an extraction component 1026, a recording component 1028, and a detection component 1030. The components within the one or more terminal processors 1016 may be stored in the computer-readable medium / memory and / or configured as hardware within the terminal device 110.Qualcomm Docket. No.: 2501354WO34Examples of the one or more terminal processors 1016 may include, but may not be limited to, an ASIC processor, a RISC processor, a CISC processor, an FPGA, or the like.

[0138] The extraction component 1026 may be configured to extract the first tuple information and the second tuple information from the first connectivity request and the second connectivity request, respectively. The recording component 1028 may be configured to record the connection entry associated with the first tuple information or the second tuple information. The detection component 1030 may be configured to detect the port conflict associated with the one or more ports, generate the reset request, and transmit at least one of the first connectivity request or the second connectivity request to the network 104.

[0139] The reception circuitry 1022 may be configured to receive, from the first client device 106 and the second client device 108, the first or second connectivity request, and data packets in response to each of the first or second connectivity request from the network 104. The transmission circuitry 1018 may be configured to transmit the first or second connectivity request to the network 104 and provide to the first client device 106 and the second client device 108, the data packets received from the network 104. The one or more terminal processors 1016 may correspond to the accelerator circuitry 202 of FIG. 2.

[0140] The screen 1004 may be a mobile screen or a laptop screen configured to display data requested or input by a user of the node 102. The power source 1008 may power ON the node 102. The clock circuitry 1006 may be configured to generate clock signals to synchronize operations of at least one of the first client device 106, the second client device 108, and the terminal device 110. The interrupt circuitry 1010 may be configured to generate one or more interrupts for any of the first client device 106, the second client device 108, or the terminal device 110.

[0141] The one or more first processors 304 may be responsible for general processing, including the execution of software stored on the one or more first memories 302. The software, when executed by the one or more first processors 304, causes the first client device 106 to perform the various functions described in FIGS. 1 - 10. The one or more first processors 304 may include an allocation component 1032, an updating component 1036, or the like. The components within the one or more first processors 304Qualcomm Docket. No.: 2501354WO35may be stored in the computer-readable medium / memory and / or configured as hardware within the first client device 106.

[0142] The allocation component 1032 may be configured to receive the port list from the terminal device 110 based on a communication established between the terminal device 110 and the network 104. The allocation component 1032 may allocate one or more first ports from the port list to connect the first client device 106 to the network 104, generate the first connectivity request associated with the one or more first ports, and flag the one or more first ports as invalid based on the reception of the reset request.

[0143] The updating component 1036 may be configured to receive an updated port list from the terminal device 110 based on port conflict associated with the one or more first ports with the second client device 108. The updating component 1036 may be further configured to update the first connectivity request to indicate the one or more second ports from the updated port list to connect to the network 104.

[0002] The second client device 108 may include one or more second memories 1013 and one or more second processors 1014. The one or more second processors 1014 may be responsible for general processing, including the execution of software stored on the one or more second memories 1013. The software, when executed by the one or more second processors 1014, causes the second client device 108 to perform the various functions described in FIGS. 1 - 10. The one or more second processors 1014 may include a generation component 1038, or the like. The components within the one or more second processors 1014 may be stored in the computer-readable medium / memory and / or configured as hardware within the second client device 108. The generation component 1038 may be configured to generate the second connectivity request. Examples of the one or more second memories 1013 may include a RAM, a ROM, a PROM, an EPROM, an EEPROM, and any other suitable medium for storing commands, software, and / or instructions that may be accessed and read by the one or more second processors 1014. In further aspects, the one or more second memories 1013 may be a non-transitory computer-readable medium. Examples of the one or more second processors 1014 may include, but may not be limited to, an ASIC processor, a RISC processor, a CISC processor, an FPGA, or the like. Techniques consistent with the present disclosure provide, among other features, systems, and methods for managing port conflicts associated with client devices.Qualcomm Docket. No.: 2501354WO36

[0144] The communication bus 1012 may include any number of interconnecting buses and bridges that may enable communication between various circuitries of the node 102. In one example, the communication bus 1012 may include routers, interfaces, or links that may enable routing of data packets or signals between the various circuitries.

[0145] Aspects in the present disclosure provide the communication environment 100 and a method for managing port conflicts. The present disclosure may offer a solution to eliminate reservation of ports for the host processor (e.g., the second client device 108). In addition, the source port numbers that may be reserved for the application processor (e.g., the first client device 106) and may not be utilized by the application processor, may be utilized for different client devices of the node 102. Further, the present disclosure prioritizes the critical applications executed on the host processor, and may offer a solution to disconnect any communication established between the network 104 and the application processor via the same port numbers.

[0146] As the terminal device 110 handles the port conflict, a communication between the first client device 106 and the second client device 108 to coordinate and resolve the port conflict may be avoided. Further, as different source port numbers are utilized by both the first client device 106 and the second client device 108 to execute the applications, a race condition or a data stall condition may be avoided as the data packets received from the network 104 may be routed to the desired client device of the node 102. In addition, to implement the current solution, structural modifications to the host processor may be negligible.

[0147] Some implementation examples are described in the following numbered aspects:

[0148] Aspect 1: A method executed at a terminal device, comprising: receiving, from a first client device, a first connectivity request associated with one or more ports to communicate with a network, and recording, in one or more memories associated with the terminal device, a connection entry that indicates utilization of the one or more ports by the first client device to communicate with the network. The method further comprising receiving, from a second client device, a second connectivity request associated with the one or more ports to communicate with the network, and detectingQualcomm Docket. No.: 2501354WO37port conflict associated with the one or more ports between the first client device and the second client device, based on the connection entry.

[0149] Aspect 2: The method of aspect 1, further comprising detecting the port conflict further based on a priority level of the first client device with respect to the second client device.

[0150] Aspect 3: The method of aspect 2, further comprising updating, based on the detection of the port conflict, the connection entry associated with the one or more ports from the first client device to the second client device in the one or more memories based on the second client device having a higher priority than the first client device.

[0151] Aspect 4: The method of aspect 1, further comprising generating based on the detection of the port conflict and a communication established between the first client device and the network associated with the one or more ports, a reset request indicative of an invalidity of the one or more ports to communicate with the network, for one of the network and the first client device, or the first client device.

[0152] Aspect 5: The method of aspect 1, further comprising generating the reset request for the first client device based on a replacement of a source port of the one or more ports with a destination port of the one or more ports and a replacement of a source internet protocol (IP) with a destination IP further associated with the first connectivity request.

[0153] Aspect 6: The method of aspect 1, further comprising providing based on the detection of the port conflict, a list of updated ports that excludes the one or more ports, to one of the first client device based on the second client device having a higher priority level than the first client device, and the second client device based on the first client device having a higher priority level than the second client device.

[0154] Aspect 7: The method of aspect 1, further comprising extracting first tuple information from the first connectivity request based on the reception of the first connectivity request, and recording the connection entry to store the extracted first tuple information in the one or more memories.

[0155] Aspect 8: The method of aspect 1, further comprising determining, a mismatch between the extracted first tuple information and current tuple informationQualcomm Docket. No.: 2501354WO38stored in the one or more memories, to record the connection entry associated with the extracted first tuple information.

[0156] Aspect 9: The method of any of aspects 1 to 8, wherein the connection entry includes first tuple information associated with the first client device.

[0157] Aspect 10: The method of aspect 9, further comprising: extracting second tuple information associated with the second connectivity request based on the reception of the second connectivity request; determining whether the second tuple information matches the first tuple information; and detecting the port conflict based on the determination that the second tuple information matches the first tuple information.

[0158] Aspect 11: The method of aspect 9, further comprising extracting the second tuple information based on a match between a source port of the one or more ports associated with the second connectivity request and a list of ports reserved for the first client device.

[0159] Aspect 12: The method of aspect 11, wherein each of the first tuple information and the second tuple information includes a source port number, a destination port number, a source internet protocol (IP), a destination IP, and a type of communication protocol.

[0160] Aspect 13: The method of aspect 1, further comprising transmitting, prior to the reception of the first connectivity request, a default connectivity request to the network to establish communication with the network.

[0161] Aspect 14: The method of aspect 13, further comprising providing, based on a successful establishment of the communication with the network, a list of ports reserved for the first client device, wherein the list of ports comprises the one or more ports.

[0162] Aspect 15: The method of aspect 1, further comprising transmitting to the network based on the recorded connection entry, the first connectivity request associated with the one or more ports, wherein based on the first connectivity request, the first client device communicates with the network.

[0163] Aspect 16: The method of aspect 1, further comprising transmitting based on the detection of the port conflict, the second connectivity request associated with the oneQualcomm Docket. No.: 2501354WO39or more ports to the network, and wherein based on the second connectivity request, the second client device communicates with the network.

[0164] Aspect 17: A method executed at a first client device, comprising: allocating one or more ports from a port list to communicate with a network; providing to a terminal device, a first connectivity request associated with the one or more ports; and receiving an updated port list from the terminal device based on port conflict associated with the one or more ports with a second client device.

[0165] Aspect 18: The method of aspect 17, further comprising receiving the port list from the terminal device based on a communication established between the terminal device and the network; and allocating the one or more ports based on the reception of the port list.

[0166] Aspect 19: The method of any of aspects 17 or 18, further comprising receiving a reset request from the terminal device indicative of an invalidity of the one or more ports to communicate with the network prior to the reception of the updated port list, wherein the reset request is received based on the port conflict associated with the one or more ports with the second client device.

[0167] Aspect 20: The method of any of aspects 17 to 19, further comprising flagging the one or more ports as invalid based on the reception of the reset request.

[0168] Aspect 21 : An apparatus comprising: a processor; a memory coupled with the processor; and instructions stored in the memory and executable by the processor to cause the apparatus to perform a method of any of aspects 1 through 16.

[0169] Aspect 22: An apparatus, comprising at least one means for performing a method of any of aspects 1 through 16.

[0170] Aspect 23 : Anon-transitory computer-readable medium storing code, the code comprising instructions executable by a processor to perform a method of any of aspects 1 through 16.

[0171] Aspect 24: An apparatus comprising: a processor; a memory coupled with the processor; and instructions stored in the memory and executable by the processor to cause the apparatus to perform a method of any of aspects 17 through 20.Qualcomm Docket. No.: 2501354WO40

[0172] Aspect 25: An apparatus comprising at least one means for performing a method of any of aspects 17 through 20.

[0173] Aspect 26: Anon-transitory computer-readable medium storing code, the code comprising instructions executable by a processor to perform a method of any of aspects 17 through 20.

[0174] The aforementioned description is provided to enable any person skilled in the art to practice the various aspects described herein. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to further aspects. Thus, the claims are not intended to be limited to the aspects shown herein, but is to be accorded the full scope consistent with the language claims, wherein reference to an element in the singular is not intended to mean “one and only one” unless specifically so stated, but rather “one or more” . As used herein, including in the claims, “or” as used in a list of items (e.g., a list of items prefaced by a phrase such as “at least one of’ or “one or more of’) indicates an inclusive list such that, for example, a list of at least one of A, B, or C means A or B or C or AB or AC or BC or ABC (i.e., A and B and C).

[0175] It is understood that the specific order or hierarchy of steps in the processes disclosed is an illustration of exemplary approaches. Based on design preferences, it is understood that the specific order or hierarchy of steps in the processes may be rearranged. Further, some steps may be combined or omitted. The accompanying method claims present elements of the various steps in a sample order, and are not meant to be limited to the specific order or hierarchy presented.

[0176] The aforementioned description is provided to enable any person skilled in the art to practice the various aspects described herein. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to further aspects. All structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later come to be known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. No claim element is to be construed as a means plus function unless the element is expressly recited using the phrase “means for.” Further, unless stated otherwise, terms such as “first” and “second” are usedQualcomm Docket. No.: 2501354WO41to arbitrarily distinguish between the elements such terms describe. Thus, these terms are not necessarily intended to indicate temporal or other prioritization of such elements. The term “coupled” may refer to at least one of direct or indirect coupling that may not necessarily be by way of mechanical or any physical means. Further, a system or method that “comprises”, “has”, or “includes” one or more elements possesses those one or more elements but is not limited to possessing only those one or more elements.

Claims

Qualcomm Docket. No.: 2501354WO42CLAIMSWhat is claimed is:

1. A terminal device comprising:one or more memories; andone or more processors configured to:receive, from a first client device, a first connectivity request associated with one or more ports to communicate with a network;record, in the one or more memories, a connection entry that indicates utilization of the one or more ports by the first client device to communicate with the network;receive, from a second client device, a second connectivity request associated with the one or more ports to communicate with the network; anddetect port conflict associated with the one or more ports between the first client device and the second client device, based on the connection entry.

2. The terminal device of claim 1, wherein the one or more processors are configured to detect the port conflict further based on a priority level of the first client device with respect to the second client device.

3. The terminal device of claim 2, wherein based on the second client device having a higher priority than the first client device, the one or more processors are further configured to update, based on the detection of the port conflict, the connection entry associated with the one or more ports from the first client device to the second client device in the one or more memories.

4. The terminal device of claim 1, wherein the one or more processors are further configured to generate based on the detection of the port conflict and a communication established between the first client device and the network associated with the one or more ports, a reset request indicative of an invalidity of the one or more ports to communicate with the network, for one of:the network and the first client device, orQualcomm Docket. No.: 2501354WO43the first client device.

5. The terminal device of claim 4, wherein the one or more processors are further configured to generate the reset request for the first client device based on a replacement of a source port of the one or more ports with a destination port of the one or more ports and a replacement of a source internet protocol (IP) with a destination IP further associated with the first connectivity request.

6. The terminal device of claim 1, wherein the one or more processors are further configured to provide based on the detection of the port conflict, a list of updated ports that excludes the one or more ports, to one of the first client device or the second client device.

7. The terminal device of claim 1, wherein the one or more processors are further configured to:extract first tuple information from the first connectivity request based on the reception of the first connectivity request; andrecord the connection entry to store the extracted first tuple information in the one or more memories.

8. The terminal device of claim 7, wherein the one or more processors are further configured to determine, a mismatch between the extracted first tuple information and current tuple information stored in the one or more memories, to record the connection entry associated with the extracted first tuple information.

9. The terminal device of claim 1, wherein the connection entry includes first tuple information associated with the first client device, and wherein the one or more processors are further configured to:extract second tuple information associated with the second connectivity request based on the reception of the second connectivity request;determine whether the second tuple information matches the first tuple information; andQualcomm Docket. No.: 2501354WO44detect the port conflict based on the determination that the second tuple information matches the first tuple information.

10. The terminal device of claim 9, wherein the one or more processors are further configured to extract the second tuple information based on a match between a source port of the one or more ports associated with the second connectivity request and a list of ports reserved for the first client device.

11. The terminal device of claim 9, wherein each of the first tuple information and the second tuple information includes a source port number, a destination port number, a source internet protocol (IP), a destination IP, and a type of communication protocol.

12. The terminal device of claim 1, wherein the one or more processors are further configured to transmit, prior to the reception of the first connectivity request, a default connectivity request to the network to establish communication with the network.

13. The terminal device of claim 12, wherein the one or more processors are further configured to provide, based on a successful establishment of the communication with the network, a list of ports reserved for the first client device, and wherein the list of ports comprises the one or more ports.

14. The terminal device of claim 1, wherein the one or more processors are further configured to transmit to the network based on the recorded connection entry, the first connectivity request associated with the one or more ports, and wherein based on the first connectivity request, the first client device communicates with the network.

15. The terminal device of claim 1, wherein the one or more processors are further configured to transmit based on the detection of the port conflict, the second connectivity request associated with the one or more ports to the network, and wherein based on the second connectivity request, the second client device communicates with the network.

16. A first client device comprising:Qualcomm Docket. No.: 2501354WO45one or more processors configured to:allocate one or more ports from a port list to communicate with a network; provide to a terminal device, a first connectivity request associated with the one or more ports; andreceive an updated port list from the terminal device based on port conflict associated with the one or more ports with a second client device.

17. The first client device of claim 16, wherein the one or more processors are further configured to:receive the port list from the terminal device based on a communication established between the terminal device and the network; andallocate the one or more ports based on the reception of the port list.

18. The first client device of claim 16, wherein the one or more processors are further configured to receive a reset request from the terminal device indicative of an invalidity of the one or more ports to communicate with the network prior to the reception of the updated port list, wherein the reset request is received based on the port conflict associated with the one or more ports with the second client device.

19. The first client device of claim 18, wherein the one or more processors are configured to flag the one or more ports as invalid based on the reception of the reset request.

20. A method executed at a terminal device, the method comprising:receiving a first connectivity request associated with one or more ports from a first client device to communicate with a network;recording a connection entry that indicates utilization of the one or more ports by the first client device to communicate with the network;receiving a second connectivity request associated with the one or more ports from a second client device to communicate with the network; anddetecting port conflict associated with the one or more ports between the first client device and the second client device, based on the connection entry.