Electronic device for transmitting ACK and operation method thereof
The electronic device's ACK aggregation method classifies and selectively transmits TCP ACKs to reduce uplink resource allocation, addressing transmission delays in high-bandwidth environments by optimizing ACK transmission during large data transfers.
Patent Information
- Application Number
- PCT/KR2024/006150
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-31
- Filing Date
- 2024-05-08
- Publication Date
- 2024-11-21
AI Technical Summary
In high-bandwidth network environments, the frequent transmission of ACKs during large data transfers, such as streaming high-definition videos, leads to increased uplink resource allocation, causing transmission delays due to the need to send ACK segments for each received packet.
An electronic device with a communication processor that classifies and stores TCP ACKs into groups and transmits only a portion of each group based on set policies, reducing the number of ACKs sent and thus minimizing uplink resource allocation.
This approach reduces the number of ACKs transmitted, minimizing uplink resource usage and preventing transmission delays even during large data downloads, while maintaining reliable data transfer.
Smart Images

Figure KR2024006150_21112024_PF_FP_ABST
Abstract
Description
Electronic device for transmitting ACK and method of operation thereof
[0001] The present disclosure relates to an electronic device for transmitting an ACK and an operating method thereof.
[0002] In modern network environments, large-capacity data transmission and / or high bandwidth requirements may be required. For this purpose, the Transmission Control Protocol (TCP) is utilized. TCP is a protocol designed to ensure reliable data transmission, enabling the transmission of packets from a transmitting entity to a receiving entity, and the transmission of acknowledgments (ACKs) from the receiving entity to the transmitting entity upon receipt of the packet. The transmitting entity can determine the success or failure of the transmitted packet based on whether or not it receives an ACK from the receiving entity. The transmitting entity can also perform flow control functions, such as controlling the packet transmission rate.
[0003] Meanwhile, as the frequency of ACK transmission increases, the resources allocated for ACK transmission may also increase relatively. For example, when a large-capacity download is performed, such as streaming a high-definition video file, the electronic device must transmit ACK segments corresponding to each received packet. In this case, since the number of received packets is relatively large, a relatively large number of ACK segments may also be generated. Accordingly, a relatively large portion of the uplink resources must be allocated for transmitting ACK segments, which may cause transmission delays.
[0004] TCP ACK aggregation technology allows for the transmission of only a portion of the generated ACK segments, rather than all of them. For example, if a receiving entity receives a relatively large number of packets, it may generate multiple ACK segments, but only transmit some of them, not all of them. Consequently, even when performing relatively large downloads, a relatively small number of ACKs can be transmitted, allowing for a relatively small allocation of uplink resources.
[0005] According to one embodiment, an electronic device may include at least one communication processor and at least one application processor. The at least one communication processor may be configured to acquire a plurality of TCP ACKs generated based on a network stack executed on the at least one application processor. The at least one communication processor may be configured to classify and store the plurality of TCP ACKs into a plurality of groups in at least one buffer associated with the at least one communication processor. The at least one communication processor may be configured to fetch at least one TCP ACK from each of the plurality of groups based on policies set corresponding to each of the plurality of groups. The at least one communication processor may be configured to transmit at least a portion of the at least one fetched TCP ACK.
[0006] According to one embodiment, a storage medium storing at least one computer-readable instruction, wherein the at least one instruction, when executed by at least one processor of an electronic device, causes the electronic device to perform at least one operation. The at least one operation may include obtaining a plurality of TCP ACKs. The at least one operation may include classifying and storing the plurality of TCP ACKs into a plurality of groups. The at least one operation may include fetching at least one TCP ACK from each of the plurality of groups based on each of policies set corresponding to each of the plurality of groups. The at least one operation may include transmitting at least a portion of each of the at least one fetched TCP ACKs.
[0007] According to one embodiment, a method of operating an electronic device may include an operation of obtaining a plurality of TCP ACKs. The method of operating the electronic device may include an operation of classifying and storing the plurality of TCP ACKs into a plurality of groups. The method of operating the electronic device may include an operation of fetching at least one TCP ACK from each of the plurality of groups based on each of policies set corresponding to each of the plurality of groups. The method of operating the electronic device may include an operation of transmitting at least a portion of each of the at least one fetched TCP ACKs.
[0008] FIG. 1 is a block diagram of an electronic device within a network environment, according to one embodiment.
[0009] FIG. 2A is a block diagram of an electronic device for supporting legacy network communication and 5G network communication, according to one embodiment.
[0010] FIG. 2b is a block diagram of an electronic device for supporting legacy network communication and 5G network communication according to one embodiment.
[0011] FIG. 3 is a diagram for explaining ACK generation according to one embodiment.
[0012] FIG. 4 illustrates a flowchart for explaining an operating method of an electronic device according to one embodiment.
[0013] FIG. 5 is a diagram for explaining transmission of a TCP ACK segment according to one embodiment.
[0014] FIG. 6A illustrates a flowchart for explaining a method of operating an electronic device according to one embodiment.
[0015] FIG. 6b illustrates a flowchart for explaining a method of operating an electronic device according to one embodiment.
[0016] FIG. 7A illustrates a flowchart for explaining a method of operating an electronic device according to one embodiment.
[0017] Figure 7b is a diagram for explaining TCP transmission according to one embodiment.
[0018] FIG. 8A illustrates a flowchart for explaining a method of operating an electronic device according to one embodiment.
[0019] FIG. 8b is a diagram for explaining transmission of a TCP ACK based on a policy according to one embodiment.
[0020] FIG. 8c is a flowchart for explaining an operating method of an electronic device according to one embodiment.
[0021] FIG. 8d is a flowchart for explaining an operating method of an electronic device according to one embodiment.
[0022] Figure 9a is a diagram for explaining policy decisions according to one embodiment.
[0023] Figure 9b is an example of a policy according to one embodiment.
[0024] FIG. 9c is a diagram for explaining a policy-based fetch according to one embodiment.
[0025] Figure 10a is a diagram for explaining policy decision according to one embodiment.
[0026] Figure 10b is a diagram for explaining policy decisions according to one embodiment.
[0027] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100), according to one embodiment. Referring to FIG. 1 , in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with the electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
[0028] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
[0029] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, in the electronic device (101) itself where artificial intelligence is performed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.
[0030] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).
[0031] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
[0032] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
[0033] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.
[0034] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
[0035] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).
[0036] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
[0037] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
[0038] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0039] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
[0040] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
[0041] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0042] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0043] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).
[0044] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.
[0045] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
[0046] In one embodiment, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
[0047] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
[0048] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
[0049] FIG. 2A is a block diagram (200) of an electronic device (101) for supporting legacy network communication and 5G network communication according to one embodiment. Referring to FIG. 2A, the electronic device (101) may include a first communication processor (212), a second communication processor (214), a first radio frequency integrated circuit (RFIC) (222), a second RFIC (224), a third RFIC (226), a fourth RFIC (228), a first radio frequency front end (RFFE) (232), a second RFFE (234), a first antenna module (242), a second antenna module (244), a third antenna module (246), and antennas (248). The electronic device (101) may further include a processor (120) and a memory (130). The second network (199) may include a first cellular network (292) and a second cellular network (294). According to another embodiment, the electronic device (101) may further include at least one of the components described in FIG. 1, and the second network (199) may further include at least one other network. According to one embodiment, the first communication processor (212), the second communication processor (214), the first RFIC (222), the second RFIC (224), the fourth RFIC (228), the first RFFE (232), and the second RFFE (234) may form at least a portion of the wireless communication module (192). According to another embodiment, the fourth RFIC (228) may be omitted or may be included as a part of the third RFIC (226).
[0050] The first communication processor (212) may establish a communication channel in a band to be used for wireless communication with the first cellular network (292), and may support legacy network communication through the established communication channel. According to one embodiment, the first cellular network may be a legacy network including a second generation (2G), 3G, 4G, or long term evolution (LTE) network. The second communication processor (214) may establish a communication channel corresponding to a designated band (e.g., about 6 GHz to about 60 GHz) among the bands to be used for wireless communication with the second cellular network (294), and may support 5G network communication through the established communication channel. According to one embodiment, the second cellular network (294) may be a 5G network defined by the 3GPP. Additionally, according to one embodiment, the first communication processor (212) or the second communication processor (214) may support establishment of a communication channel corresponding to another designated band (e.g., about 6 GHz or less) among the bands to be used for wireless communication with the second cellular network (294), and 5G network communication through the established communication channel.
[0051] The first communication processor (212) can transmit and receive data with the second communication processor (214). For example, data classified to be transmitted via the second cellular network (294) may be changed to be transmitted via the first cellular network (292). In this case, the first communication processor (212) can receive the transmission data from the second communication processor (214). For example, the first communication processor (212) can transmit and receive data with the second communication processor (214) via the processor-to-processor interface (213). The above interprocessor interface (213) may be implemented as, for example, a universal asynchronous receiver / transmitter (UART) (e.g., HS-UART (high speed-UART) or PCIe (peripheral component interconnect bus express) interface), but there is no limitation on its type. Alternatively, the first communication processor (212) and the second communication processor (214) may exchange control information and packet data information using, for example, a shared memory. The first communication processor (212) may transmit and receive various information, such as sensing information, information on output intensity, and resource block (RB) allocation information, with the second communication processor (214).
[0052] Depending on the implementation, the first communication processor (212) may not be directly connected to the second communication processor (214). In this case, the first communication processor (212) may transmit and receive data with the second communication processor (214) through the processor (120) (e.g., application processor). For example, the first communication processor (212) and the second communication processor (214) may transmit and receive data with the processor (120) (e.g., application processor) through an HS-UART interface or a PCIe interface, but there is no limitation on the type of interface. Alternatively, the first communication processor (212) and the second communication processor (214) may exchange control information and packet data information with the processor (120) (e.g., application processor) using shared memory.
[0053] According to one embodiment, the first communication processor (212) and the second communication processor (214) may be implemented in a single chip or a single package. According to one embodiment, the first communication processor (212) or the second communication processor (214) may be formed in a single chip or a single package with the processor (120), the auxiliary processor (123), or the communication module (190). For example, as shown in FIG. 2B, the integrated communication processor (260) may support functions for communicating with both the first cellular network (292) and the second cellular network (294).
[0054] As described above, at least one of the processor (120), the first communication processor (212), the second communication processor (214), or the integrated communication processor (260) may be implemented as a single chip or a single package. In this case, the single chip or single package may include a memory (or storage means) that stores instructions that cause the performance of at least some of the operations performed according to one embodiment, and a processing circuit (or, the name thereof is not limited, such as an arithmetic circuit) for executing the instructions.
[0055] The first RFIC (222) may, upon transmission, convert a baseband signal generated by the first communication processor (212) into a radio frequency (RF) signal of about 700 MHz to about 3 GHz used in a first cellular network (292) (e.g., a legacy network). Upon reception, the RF signal may be acquired from the first network (292) (e.g., a legacy network) via an antenna (e.g., the first antenna module (242)) and preprocessed via an RFFE (e.g., the first RFFE (232)). The first RFIC (222) may convert the preprocessed RF signal into a baseband signal so that it may be processed by the first communication processor (212).
[0056] The second RFIC (224) may, upon transmission, convert a baseband signal generated by the first communication processor (212) or the second communication processor (214) into an RF signal (hereinafter, a 5G Sub6 RF signal) of a Sub6 band (e.g., about 6 GHz or less) used in the second cellular network (294) (e.g., a 5G network). Upon reception, the 5G Sub6 RF signal may be acquired from the second cellular network (294) (e.g., a 5G network) via an antenna (e.g., the second antenna module (244)) and preprocessed via an RFFE (e.g., the second RFFE (234)). The second RFIC (224) may convert the preprocessed 5G Sub6 RF signal into a baseband signal so that the preprocessed 5G Sub6 RF signal may be processed by a corresponding communication processor among the first communication processor (212) or the second communication processor (214).
[0057] The third RFIC (226) can convert the baseband signal generated by the second communication processor (214) into an RF signal (hereinafter, 5G Above6 RF signal) of a 5G Above6 band (e.g., about 6 GHz to about 60 GHz) to be used in the second cellular network (294) (e.g., 5G network). Upon reception, the 5G Above6 RF signal can be acquired from the second cellular network (294) (e.g., 5G network) through an antenna (e.g., antenna (248)) and preprocessed through the third RFFE (236). The third RFIC (226) can convert the preprocessed 5G Above6 RF signal into a baseband signal so that it can be processed by the second communication processor (214). According to one embodiment, the third RFFE (236) can be formed as a part of the third RFIC (226).
[0058] The electronic device (101) may, according to one embodiment, include a fourth RFIC (228) separately from or at least as a part of the third RFIC (226). In this case, the fourth RFIC (228) may convert a baseband signal generated by the second communication processor (214) into an RF signal (hereinafter, referred to as an IF signal) of an intermediate frequency band (e.g., about 9 GHz to about 11 GHz) and then transmit the IF signal to the third RFIC (226). The third RFIC (226) may convert the IF signal into a 5G Above6 RF signal. Upon reception, the 5G Above6 RF signal may be received from the second cellular network (294) (e.g., a 5G network) via an antenna (e.g., antenna (248)) and converted into an IF signal by the third RFIC (226). The fourth RFIC (228) can convert the IF signal into a baseband signal so that the second communication processor (214) can process it.
[0059] According to one embodiment, the first RFIC (222) and the second RFIC (224) may be implemented as a single chip or at least a portion of a single package. According to one embodiment, when the first RFIC (222) and the second RFIC (224) in FIG. 2A or FIG. 2B are implemented as a single chip or a single package, they may be implemented as an integrated RFIC. In this case, the integrated RFIC may be connected to the first RFFE (232) and the second RFFE (234) to convert a baseband signal into a signal in a band supported by the first RFFE (232) and / or the second RFFE (234), and transmit the converted signal to one of the first RFFE (232) and the second RFFE (234). According to one embodiment, the first RFFE (232) and the second RFFE (234) may be implemented as at least a portion of a single chip or a single package. According to an example, at least one antenna module among the first antenna module (242) or the second antenna module (244) can be omitted or combined with another antenna module to process RF signals of a plurality of corresponding bands.
[0060] According to one embodiment, the third RFIC (226) and the antenna (248) may be disposed on the same substrate to form a third antenna module (246). For example, the wireless communication module (192) or the processor (120) may be disposed on the first substrate (e.g., the main PCB). In this case, the third RFIC (226) may be disposed on a portion (e.g., the bottom surface) of a second substrate (e.g., the sub PCB) separate from the first substrate, and the antenna (248) may be disposed on another portion (e.g., the top surface) to form the third antenna module (246). By disposing the third RFIC (226) and the antenna (248) on the same substrate, it is possible to reduce the length of the transmission line therebetween. This can reduce, for example, the loss (e.g., attenuation) of signals in a high-frequency band (e.g., about 6 GHz to about 60 GHz) used in 5G network communications by the transmission line. Due to this, the electronic device (101) can improve the quality or speed of communication with the second network (294) (e.g., 5G network).
[0061] According to an exemplary embodiment, the antenna (248) may be formed as an antenna array including a plurality of antenna elements that may be used for beamforming. In this case, the third RFIC (226) may include a plurality of phase shifters (238) corresponding to the plurality of antenna elements, for example, as part of the third RFFE (236). Upon transmission, each of the plurality of phase shifters (238) may shift the phase of a 5G Above6 RF signal to be transmitted to an external source (e.g., a base station of a 5G network) of the electronic device (101) via its corresponding antenna element. Upon reception, each of the plurality of phase shifters (238) may shift the phase of a 5G Above6 RF signal received from the external source via its corresponding antenna element to the same or substantially the same phase. This enables transmission or reception via beamforming between the electronic device (101) and the external source.
[0062] The second cellular network (294) (e.g., a 5G network) may operate independently (e.g., Stand-Alone (SA)) or in connection with (e.g., Non-Stand Alone (NSA)) the first cellular network (292) (e.g., a legacy network). For example, the 5G network may only have an access network (e.g., a 5G radio access network (RAN) or next generation RAN (NG RAN)) and no core network (e.g., next generation core (NGC)). In this case, the electronic device (101) may access an external network (e.g., the Internet) under the control of the core network (e.g., evolved packed core (EPC)) of the legacy network after accessing the access network of the 5G network. Protocol information for communication with a legacy network (e.g., LTE protocol information) or protocol information for communication with a 5G network (e.g., New Radio (NR) protocol information) may be stored in the memory (230) and accessed by other components (e.g., the processor (120), the first communication processor (212), or the second communication processor (214)).
[0063] FIG. 3 is a diagram for explaining ACK generation according to one embodiment.
[0064] According to one embodiment, the electronic device (101) may include an application processor (310) (e.g., processor (120)) and a communication processor (320) (e.g., at least one of the first communication processor (212), the second communication processor (214), or the integrated communication processor (260). The application processor (310) may, for example, execute at least one application. A user space (310) and a kernel (317) may be defined (or executed) by the application processor (310). The application processor (310) may, for example, execute at least one application in the user space (310), and the at least one application may be a client in a server-client architecture.
[0065] According to one embodiment, the application processor (310) may execute (or create) at least one socket, for example, TCP-based transmitting sockets (313) and receiving sockets (315). The socket is an interface for transmitting and receiving data between a client and a server, and a client (e.g., at least one application) may transmit a request to a server through the socket and receive a response from the server through the socket. Each of the clients may transmit data through each of the transmitting sockets (313). Each of the clients may receive data through each of the receiving sockets (315). Each of the sockets (313, 315) may be identified (or defined) based on, for example, an address (e.g., an IP (Internet Protocol) address) and / or a port number, but is not limited thereto.
[0066] According to one embodiment, in the kernel (317), a network stack (319) may be executed (or defined). The network stack (319) may transmit data received from an application via at least some of the sending sockets (313) (e.g., after performing additional processing) to the communication processor (320) (e.g., the L2 layer (321)). The network stack (319), as a stack for communicating with a network, may provide data received from the communication processor (320) (e.g., the L2 layer (321)) to the application via at least some of the receiving sockets (315) (e.g., after performing additional processing). The network stack (319) may generate a TCP ACK (325) (or may be named a TCP ACK segment, a TCP data segment, or an ACK) associated with the completion (or success) of reception of the received data based on reception (or success) of data received from the communication processor (320) (e.g., the L2 layer (321)) through at least some of the receiving sockets (315). The network stack (319) may transmit the generated TCP ACKs (325) to the communication processor (320) (e.g., the L2 layer (321)). For example, the L2 layer (321) may be provided with an IP packet including a TCP ACK segment. For example, an IP packet corresponding to each of the TCP ACKs (325) may be provided to the L2 layer (321), and those skilled in the art will understand that providing an ACK to the L2 layer (321) may be understood as providing an IP packet including a TCP ACK segment. The communication processor (320) may transmit the TCP ACKs (325) to the network.For example, the communication processor (320) may receive an IP packet including a TCP ACK segment as described above, and may transmit data corresponding to the IP packet to the network. Those skilled in the art will understand that transmission of a TCP ACK to the network based on the L2 layer (321) may mean, for example, transmission of data corresponding to an IP packet including a TCP ACK segment to the network. For example, the L4 layer (323) including the network stack (319) may generate TCP ACKs (325) and provide them to the L2 layer (321). As described above, the L2 layer (321) may be provided with IP packets including TCP ACK segments, which may be referred to as providing TCP ACKs (325). The L2 layer (321) may transmit all of the TCP ACKs (325) to the network. The L2 layer (321) may allocate at least some of the uplink resources for transmitting the received TCP ACKs (325) to the network. If all generated TCP ACKs (325) are transmitted to the network, allocation of a relatively large number of resources among the uplink resources may be required. In particular, if the electronic device (101) performs a large-capacity download, it may receive a large amount of received data, and thus, a relatively large number of resources among the uplink resources may be allocated for transmitting all TCP ACKs (325).
[0067] According to one embodiment, the electronic device (101) may transmit only a portion of the TCP ACKs (325) to the network. For example, the electronic device (101) may group the TCP ACKs (325) and select a TCP ACK to transmit among all the TCP ACKs (325) based on a policy set for each group, which will be described later. Accordingly, even when a large-capacity download is performed, a relatively small portion of the uplink resources may be allocated for TCP ACK transmission.
[0068] FIG. 4 illustrates a flowchart for explaining an operating method of an electronic device according to one embodiment. The embodiment of FIG. 4 will be described with reference to FIG. 5. FIG. 5 is a diagram for explaining the transmission of a TCP ACK segment according to one embodiment.
[0069] Referring to FIGS. 4 and 5, according to one embodiment, the electronic device (101) (e.g., the communication processor (320)) may, in operation 401, obtain a plurality of TCP ACKs (325) generated based on a network stack (319) (or an L4 layer (323) of FIG. 5) running on at least one application processor (310). For example, the communication processor (320) may obtain the plurality of TCP ACKs (325) from a shared memory of the application processor (310) and the communication processor (320), or may obtain the plurality of TCP ACKs (325) directly from the application processor (310), but there is no limitation on the method. As described above, the network stack (319) may generate TCP ACKs (325) based on data reception from the L2 layer (321) and provide the TCP ACKs (325) to the communication processor (320). As described above, the provision of TCP ACKs (325) to the communication processor (320) may be, for example, the provision of an IP packet containing a TCP ACK segment to the communication processor (320), without limitation.
[0070] According to one embodiment, the electronic device (101) may, in operation 403, classify and store a plurality of TCP ACKs (325) into a plurality of groups. For example, as illustrated in FIG. 5, a first TCP ACK group (511), a second TCP ACK group (512), and an Nth TCP ACK group (513) may be stored in a buffer (510) included in (or accessible by) the communication processor (320). For example, the groups may be set based on an IP address (source IP address and / or destination IP address), a port number (receive port number and / or transmit port number), and / or network interface identification information (e.g., rmnet), but there is no limitation on the type of information (or criterion) for setting the groups or the number (N) of groups. For example, the number of receiving sockets and the number of groups may be the same, but this is also an example and may be set differently.
[0071] According to one embodiment, the electronic device (101) may, in operation 405, fetch at least one TCP ACK from each of the plurality of groups (511, 512, 513) based on each of the policies set corresponding to each of the plurality of groups. Here, the policy may include, but is not limited to, the number of TCP ACKs to fetch per unit time, the fetch interval, and / or the fetch priority, which will be described later. For example, as illustrated in FIG. 5, a post processing module (530) executed by the communication processor (320) (or included in the communication processor (320)) may fetch a TCP ACK based on a group-specific policy provided from a policy manager (520) executed by the communication processor (320) (or included in the communication processor (320)). For example, the post-processing module (530) may fetch at least one first TCP ACK from the first TCP ACK group (511) based on a first policy set for the first TCP ACK group (511). The post-processing module (530) may provide one TCP ACK (511a) (e.g., a TCP ACK having a largest sequence number, but without limitation) of the at least one first TCP ACK to the L2 layer (321). For example, the post-processing module (530) may fetch at least one second TCP ACK from the second TCP ACK group (512) based on a second policy set for the second TCP ACK group (512).The post-processing module (530) can provide at least one TCP ACK (512a) of the second TCP ACK (for example, the TCP ACK having the largest sequence number, but without limitation) to the L2 layer (321), and the process by which one TCP ACK (513a) of the N-th TCP group (513) is provided to the L2 layer (321) can be substantially the same. For example, the policy manager (520) can set policies for each of the first TCP ACK group (511), the second TCP ACK group (512), and the N-th TCP ACK group (513). The policy manager (520) can perform policies for each group based on, for example, TCP-related information and / or network-related information (which can also be referred to as L2 layer, L3 layer, and / or L4 layer-related information), which will be described later. The policy manager (520) (or monitoring task) can obtain, for example, TCP-related information and / or network information, and store it, for example, in a table.
[0072] According to one embodiment, the electronic device (101) may transmit, in operation 407, at least a portion (511a, 512a, 513a) of each of the at least one fetched TCP ACK segment to the network. In one example, the electronic device (101) may transmit, to the network, a TCP ACK (511a) selected from at least one first TCP ACK fetched from a first TCP ACK group (511), a TCP ACK (512a) selected from at least one second TCP ACK fetched from a second TCP ACK group (512), and a TCP ACK (513a) selected from at least one Nth TCP ACK fetched from an Nth TCP ACK group (513). Meanwhile, transmitting the TCP ACK to the network may also mean transmitting, to the network, data including at least a portion of the TCP ACK segment, as described above.
[0073] As described above, the electronic device (101) may transmit only a portion of the generated TCP ACKs to the network, rather than all of them, and thus a relatively small portion of uplink resources may be allocated for transmitting TCP ACKs. For example, as will be described later, the electronic device (101) may establish a policy for fetching by group based on TCP-related information and / or network-related information, thereby enabling TCP ACK transmission that adaptively responds to real-time changes in TCP-related information and / or network-related information. Meanwhile, TCP ACKs that are not transmitted may be discarded. According to one embodiment, the electronic device (101) may determine the TCP ACK to be transmitted based on whether or not packet duplication has occurred. For example, if packet duplication has been performed for retransmission, the electronic device (101) may transmit the duplicated TCP ACK without discarding it. For example, the electronic device (101) may be configured to transmit only some, but not all, of the generated TCP ACKs to the network when packet duplication does not occur.
[0074] Meanwhile, in the embodiments of FIGS. 4 and 5, it has been described that the communication processor (320) transmits only a portion of the TCP ACKs (325) generated by the application processor (310) to the network, but this is exemplary. For example, the application processor (310) may be implemented to generate TCP ACKs corresponding to only a portion of the received data, rather than generating TCP ACKs corresponding to all of the received data. For example, the application processor (310) may select a TCP ACK to be generated (or received data for which a corresponding TCP ACK will be generated) based on a policy set for each socket, and thus a TCP ACK corresponding to a portion of the entire received data may be generated. Those skilled in the art will understand that the operations for selecting a portion of the TCP ACKs by the communication processor (320) according to the embodiments of the present disclosure may be replaced with, for example, generation of a TCP ACK corresponding to a portion of the entire received data by the application processor (310).
[0075] FIG. 6A illustrates a flowchart for explaining a method of operating an electronic device according to one embodiment.
[0076] According to one embodiment, the electronic device (101) (e.g., the communication processor (320)) may obtain a TCP ACK in operation 601. For example, the communication processor (320) may obtain the TCP ACK from the shared memory of the application processor (310) and the communication processor (320), or may obtain the TCP ACK directly from the application processor (310), but there is no limitation on the method. The electronic device (101) may confirm at least one piece of identification information from the obtained TCP ACK in operation 603. For example, the electronic device (101) may confirm an IP address (source IP address and / or destination IP address) and / or a port number (receive port number and / or transmit port number) as at least one piece of identification information, but there is no limitation on the type of identification information. The electronic device (101) may confirm whether the confirmed at least one piece of identification information corresponds to a pre-existing group in operation 605. As described above, the electronic device (101) can manage groups based on IP addresses (source IP addresses and / or destination IP addresses) and / or port numbers (receiving port numbers and / or transmitting port numbers). The electronic device (101) can check whether the identification information identified in operation 603 corresponds to the IP addresses (source IP addresses and / or destination IP addresses) and / or port numbers (receiving port numbers and / or transmitting port numbers) of a pre-created group. For example, if at least one piece of identified identification information corresponds to a pre-existing group (operation 605 - Yes), the electronic device (101) can store a TCP ACK in the corresponding group in operation 607. If the at least one piece of identified identification information does not correspond to a pre-existing group (operation 605 - No), the electronic device (101) can create a new group and store a TCP ACK in the new group in operation 609.Accordingly, the generated TCP ACKs can be grouped as described in FIG. 5.
[0077] FIG. 6b illustrates a flowchart for explaining a method of operating an electronic device according to one embodiment.
[0078] According to one embodiment, the electronic device (101) (e.g., the communication processor (320)) may obtain a TCP ACK in operation 611. For example, the communication processor (320) may obtain the TCP ACK from the shared memory of the application processor (310) and the communication processor (320), or may obtain the TCP ACK directly from the application processor (310), but there is no limitation on the method. The electronic device (101) may check the network interface (e.g., rmnet) to which the obtained TCP ACK is provided in operation 613. The electronic device (101) may check whether the checked network interface corresponds to a pre-existing group in operation 615. As described above, the electronic device (101) may manage the group based on the network interface. The electronic device (101) may check whether the network interface checked in operation 613 corresponds to a network interface of a pre-created group. For example, if the identified network interface corresponds to a pre-existing group (operation 615 - Yes), the electronic device (101) may, in operation 617, store a TCP ACK in the corresponding group. If the identified network interface does not correspond to a pre-existing group (operation 615 - No), the electronic device (101) may, in operation 619, create a new group and store a TCP ACK in the new group. Accordingly, the generated TCP ACKs may be grouped, as described in FIG. 5 .
[0079] FIG. 7A illustrates a flowchart for explaining an operating method of an electronic device according to one embodiment. The embodiment of FIG. 7A will be described with reference to FIG. 7B. FIG. 7B is a diagram for explaining TCP transmission according to one embodiment.
[0080] Referring to FIGS. 7A and 7B , according to one embodiment, the electronic device (101) (e.g., the communication processor (320)) may transmit, in operation 701, an ith TCP ACK (723) corresponding to the nth application. The electronic device (101) may transmit, in operation 703, an ith TCP ACK (723) corresponding to the mth application. For example, the electronic device (101) may execute the nth application and the mth application. For example, a socket corresponding to the nth application may be created based on the execution of the nth application, and a socket corresponding to the mth application may be created based on the execution of the mth application. The electronic device (101) may receive reception data (721) based on the nth application from the network. The electronic device (101) may transmit the ith TCP ACK (723) corresponding to any one of the reception data (721). The electronic device (101) can receive reception data (731) based on the m application from the network. The electronic device (101) can transmit the ith TCP ACK (723) corresponding to any one of the reception data (731). Meanwhile, at least some of the reception data (721) and at least some of the reception data (731) may be included together in one unit period (e.g., a frame or a subframe), or may be included in different unit periods, and there is no limitation.
[0081] According to one embodiment, the electronic device (101) may transmit the (i+x)th TCP ACK (725) based on the policy corresponding to the nth application in operation 705. The electronic device (101) may transmit the (i+y)th TCP ACK (735) based on the policy corresponding to the mth application in operation 707. As described above, the electronic device (101) may set a policy for each group of TCP ACKs. At least some of the criteria for distinguishing the groups of TCP ACKs may be the same as at least some of the criteria for distinguishing applications, for example. For example, groups of TCP ACKs may be distinguished by port numbers, and applications may also be distinguished by port numbers, and policies may be set for each application accordingly. Alternatively, the electronic device (101) may be implemented to set a policy for each application, depending on the implementation. For example, the network stack (319) can generate TCP ACKs corresponding to received data (721) corresponding to the n-th application. The electronic device (101) can fetch at least one TCP ACK among the generated TCP ACKs based on a policy corresponding to the n-th application, and transmit the TCP ACK having the largest SN (sequence number) among them to the network. The network stack (319) can generate TCP ACKs corresponding to received data (731) corresponding to the m-th application. The electronic device (101) can fetch at least one TCP ACK among the generated TCP ACKs based on a policy corresponding to the m-th application, and transmit the TCP ACK having the largest SN among them to the network. Depending on the policy, the number of fetchings for the m-th application and the number of fetchings for the n-th application may be different.Accordingly, the difference in SN (e.g., x) between consecutive (or adjacent) TCP ACKs (723, 725) corresponding to the n-th application and the difference in SN (e.g., y) between consecutive (or adjacent) TCP ACKs (733, 735) corresponding to the m-th application may be different. On the other hand, if at least some of the policies corresponding to the n-th application and the policies corresponding to the m-th application are the same, those skilled in the art will understand that the difference in SN between consecutive (or adjacent) TCP ACKs (723, 725) corresponding to the n-th application and the difference in SN between consecutive (or adjacent) TCP ACKs (733, 735) corresponding to the m-th application may be the same.
[0082] Meanwhile, as will be described later, an application-specific (or group-specific) policy may be set based on TCP information and / or network information, and may be updated based on changes in the TCP information and / or network information. For example, a first MCS value may be set for a first period of time for receiving reception data corresponding to an n-th application, and a second MCS value may be set for a second period of time for receiving reception data corresponding to an n-th application. As will be described later, a policy may be set based on an MCS value, which is an example of network information, and the policy may be updated based on changes in the MCS value. For example, the electronic device (101) may have a SN difference between TCP ACKs associated with an n-th application during a first period that is different from a SN difference between TCP ACKs associated with an n-th application during a second period.
[0083] FIG. 8A illustrates a flowchart for explaining a method of operating an electronic device according to one embodiment.
[0084] According to one embodiment, the electronic device (101) (e.g., the communication processor (320)) may, in operation 801, check TCP-related information and / or network-related information. The electronic device (101) may set (or update) a policy for each of a plurality of groups based on the TCP-related information and / or the network-related information. For example, the network-related information may include, but is not limited to, Modulation and Coding Scheme (MCS), Block Error Rate (BLER), reception strength (e.g., Reference Signal Received Power (RSRP), Reference Signal Received Quality (RSRQ), Signal-to-Interference-Noise Ratio (SINR), and / or Received Signal Strength Indicator (RSSI)), Quality of Service (QOS), QoS Class Identifier (QCI), Radio Access Technology (RAT), and / or Packet Data Network (PDN) connection (or Protocol Data Unit (PDU) session) identification information. For example, TCP-related information may include, but is not limited to, an address (e.g., an IP (internet protocol) address), a port number, an acknowledge throughput (ACK TP), and / or a priority.
[0085] For example, the electronic device (101) can check the uplink capacity based on the MCS. For example, the electronic device (101) can check the uplink capacity based on the 3GPP (3 rdThe electronic device (101) can check the uplink capacity corresponding to the MCS and / or TBS (Transport Block Size) based on the TS (technical specification) 36.213 of the 3GPP. The electronic device (101) can check the size of the TCP ACK. The electronic device (101) can check the fetch interval based on the TCP ACK size and the checked uplink capacity. For example, the fetch interval can be set such that the product of the uplink capacity and the fetch interval is greater than at least one TCP ACK size, which will be described later.
[0086] For example, the electronic device (101) can set the number of fetches based on the ack throughput (ACK TP). For example, the electronic device (101) can check (or measure, or monitor) the ack throughput (e.g., bps, but there is no limit). For example, the application processor (310) can provide a TCP ACK to the communication processor (320) after receiving the received data, and can check the ACK TP based on the sum of the sizes of the TCP ACKs generated per unit time. In this case, the application processor (310) can provide the checked ACK TP to the communication processor (320). The communication processor (320) can check the ACK TP based on the sum of the sizes of the TCP ACKs read from the shared memory (or ring buffer, or DMA). The communication processor (320) can confirm the ACK TP based on the sum of the sizes of the TCP ACKs provided from the application processor (310). For example, the electronic device (101) can confirm the number of TCP ACKs to be fetched for each confirmed fetch interval, for example, the number of fetches, based on the ACK TP and the uplink capacity of the network.
[0087] FIG. 8b is a diagram for explaining transmission of a TCP ACK based on a policy according to one embodiment.
[0088] According to one embodiment, the post-processing module (820) may refer to a policy table (810). The policy table (810) may include policies for each group. For example, for the first group, the "time" (or fetch interval) may be set to 1 ms, the "number" (or number of fetches) may be set to 50, and the priority may be set to high. For example, based on a relatively high MCS being set for a PDN connection corresponding to the first group, the electronic device (101) may set the priority of the first group to high, but there is no limitation on how the priority is set. For example, for the first group, the "time" (or fetch interval) may be set to 1 ms, the "number" (or number of fetches) may be set to 50, and the priority may be set to high. For example, for the second and third groups, the "time" (or fetch interval) may be set to 1ms, the "count" (or number of fetches) may be set to 10, and the priority may be set to normal.
[0089] According to one embodiment, the post-processing module (820) can fetch at least one TCP ACK from a first group (811) stored in the buffer based on a policy set for the first group, for example, 50 TCP ACKs can be fetched in 1 ms. The post-processing module (820) can perform the fetching with priority over other groups based on a higher priority set for the first group. The post-processing module (820) can fetch at least one TCP ACK from a second group (812) stored in the buffer based on a policy set for the second group, for example, 10 TCP ACKs can be fetched in 1 ms. The post-processing module (820) can fetch at least one TCP ACK from a third group (813) stored in the buffer based on a policy set for the third group, for example, 10 TCP ACKs can be fetched in 1 ms. For example, the second and third groups may be assigned the same priority. In this case, the post-processing module (820) may perform fetching by randomly selecting one of the second and third groups, for example, or may perform fetching based on a specified order, but there is no limitation on the method for determining the order.
[0090] According to one embodiment, a selection module (821) executed by or included in the communication processor (320) may select a TCP ACK for transmission from among the fetched TCP ACKs and provide the selection module (821) to a queue (822). For example, the selection module (821) may select a TCP ACK having a largest SN among at least one fetched TCP ACK. For example, the selection module (821) may provide a TCP ACK (825) having a largest SN among at least one TCP ACK fetched from the first group (811) to the queue (822). For example, since a fetch from the first group (811) is performed first based on a high priority corresponding to the first group, a TCP ACK (825) corresponding to the first group (811) may also be input first to the queue (822). Meanwhile, a TCP ACK (823) having the largest SN among at least one TCP ACK fetched from the second group (812) and a TCP ACK (824) having the largest SN among at least one TCP ACK fetched from the third group (813) may also be provided to the queue (822). The TCP ACKs (823, 824, 825) provided to the queue (822) may be provided to, for example, the L2 layer.
[0091] FIG. 8c is a flowchart for explaining an operating method of an electronic device according to one embodiment.
[0092] According to one embodiment, the electronic device (101) (e.g., the communication processor (320)) may, in operation 831, check TCP-related information and / or network-related information. In operation 833, the electronic device (101) may check whether a change in policy is confirmed based on the confirmed information. For example, as described above, the communication processor (320) may receive information on ACK TP among TCP-related information from the application processor (310) at a specified period or when there is a change. Alternatively, the communication processor (320) may check information on ACK TP, which is TCP-related information, at a specified period (or based on an event). The electronic device (101) may, for example, check whether information on ACK TP has changed and, accordingly, check whether a change in policy is required. The electronic device (101) may also check, for example, whether information on MCS, which is network-related information, has changed. For example, if the degree of change in information does not satisfy the specified change condition, the electronic device (101) may determine that a policy change is not required. For example, if the degree of change in ACK TP is less than the threshold change degree, the electronic device (101) may determine that a policy change is not required. If it is determined that a policy change is required (833-Yes), the electronic device (101) may change the policy in operation 835. The electronic device (101) may set a policy based on the changed information, for example, based on the above-described method. Alternatively, depending on the implementation, the electronic device (101) may immediately perform a policy change if a change in information is confirmed.
[0093] FIG. 8d is a flowchart for explaining an operating method of an electronic device according to one embodiment.
[0094] According to one embodiment, the application processor (310) may execute an application in operation 841. The application processor (310) may create a socket corresponding to the executed application in operation 843. The application processor (310) may provide TCP-related information in operation 845. For example, the application processor (310) may provide an IP address (source IP address and / or destination IP address), a port number (receive port number and / or transmit port number), network interface identification information (e.g., rmnet), and / or an ACK TP to the communication processor (320). The communication processor (320) may set a policy based on the received TCP-related information in operation 847. The communication processor (320) may also set a policy based on network-related information in addition to the received TCP-related information. The application processor (310) may check for a change in the TCP-related information in operation 849. For example, the application processor (310) can check the change of ACK TP, but there is no limitation on the type of information that is changed. The application processor (310) can provide TCP-related information (or change information) to the communication processor (320) in operation 851. The communication processor (320) can set a policy based on the received TCP-related information (or change information) in operation 853. The communication processor (320) can set a policy based not only on the received TCP-related information, but also on additional network-related information. For example, the network-related information may also be changed, and the electronic device (101) may update the policy based on the changed network-related information. Alternatively, although not shown, the electronic device (101) may update the policy based only on the change in the network-related information.As described above, the number and / or interval of TCP ACKs transmitted to the network may be adjusted adaptively to an environment that changes in real time.
[0095] Figure 9a is a diagram illustrating policy decision making according to one embodiment. Figure 9a will be described with reference to Figures 9b and 9c. Figure 9b is an example of a policy according to one embodiment. Figure 9c is a diagram illustrating a policy-based fetch according to one embodiment.
[0096] According to one embodiment, the electronic device (101) (e.g., the communication processor (320)) can check information (901) for policy decision. The information (901) for policy decision may include, for example, TCP-related information and / or network-related information. In the embodiment of FIG. 9A, the information (901) may include address information (e.g., a destination IP address (Dest. IP) and a source IP address (Src. IP)) and a port number (Port) corresponding to each of four groups (group #1, group #2, group #3, group #4). Meanwhile, in the information (901) of FIG. 9A, even if the four groups (group #1, group #2, group #3, group #4) include the same address, the four groups (group #1, group #2, group #3, group #4) may be distinguished based on different port numbers. Meanwhile, the fact that four groups (group #1, group #2, group #3, group #4) contain the same address is exemplary and may differ at least in some respects. Although the four groups (group #1, group #2, group #3, group #4) are described as having the same priority, for example, as "normal", this is exemplary and may differ at least in some respects. For example, multiple TCP sessions corresponding to multiple different port numbers for the same IP address may be created in response to one PDN connection, which may be referred to as TCP packet transmission in the multi-stream TCP manner. For example, a TP measurement application such as Ookla, Speedtest, or Datum (or other applications) may create multiple ports for the same IP address for efficient packet transmission, thereby creating multi-stream TCP sessions, but there is no limitation.
[0097] Information (901) may include acknowledge throughput (ACK TP). As described above, the communication processor (320) may receive information about acknowledge throughput (ACK TP) from the application processor (310), or may confirm (or measure, or monitor) acknowledge throughput (ACK TP). Information (901) may include network-related information such as RAT, MCS, QCI, PDN connection identification information (PDN #), information about QOS, and information about groups (Group #) corresponding thereto. For example, in the example of FIG. 9A, four groups (group #1, group #2, group #3, group #4) may correspond to RAT of "LTE" (or E-UTRA), MCS of "2", QCI of "4", PDN connection identification information of "5", and QOS of "1". Meanwhile, in the example of FIG. 9a, network-related information corresponding to one session (or PDN connection) is described, but those skilled in the art will understand that when multiple sessions are established, multiple NW information can be correspondingly managed.
[0098] According to one embodiment, the electronic device (101) can verify the uplink capacity based on the MCS. For example, the electronic device (101) can verify the uplink capacity of "7000 Kbps = 87.5 byte / ms" based on the MCS of "2". As described above, the electronic device (101) can verify the uplink capacity of "7000 Kbps = 87.5 byte / ms" corresponding to the MCS of "2" based on, for example, 3GPP TS 36.213, but there is no limitation on the verification method. The electronic device (101) can verify the packet size of TCP ACK as, for example, "40 bytes". The electronic device (101) can confirm 4 X 40 bytes = 160 bytes by multiplying the total number of groups (e.g., the number of sessions) by 4, which is "40 bytes", which is the packet size of TCP ACK. As described above, the electronic device (101) can confirm that the uplink capacity is "87.5 bytes / ms" and that the product of the packet size of TCP ACK and the number of groups is "160 bytes". The electronic device (101) can determine the fetch interval such that the product of the uplink capacity and the fetch interval (e.g., MAX capa) is greater than the product of the packet size of TCP ACK and the number of groups. For example, the electronic device (101) can determine the fetch interval such that the product of "87.5 bytes / ms" and the fetch interval is greater than "160 bytes", and thus the fetch interval can be determined to be 2 ms. Accordingly, the product of "87.5 bytes / ms" and the fetch interval, "2ms", which is "175 bytes", may be greater than "160 bytes".
[0099] According to one embodiment, the electronic device (101) may check the number of fetches based on, for example, ACK TP. The electronic device (101) may check, for example, that the ACK TP for each group is "400 Kbps". The electronic device (101) may check that the sum of the ACK TPs corresponding to four groups is "400 Kbps" X 4, which is "1.6 Mbps". The electronic device (101) may determine the number of fetches such that, for example, the product of the number of fetches and the uplink capacity of the network is greater than the sum of the ACK TPs. For example, the electronic device (101) may determine, as the number of fetches, the minimum value of the number of fetches such that the product of the number of fetches and the uplink capacity of the network, which is 700 kbps, is greater than the sum of the ACK TPs, which is "1.6 Mbps", and may determine, for example, the number of fetches to be "2".
[0100] Meanwhile, as described above, the confirmation of the fetch interval based on the MCS (or the UL capacity confirmed based on the MCS), the size of the TCP ACK, and the number of groups is merely exemplary, and the electronic device (101) may also confirm the fetch interval based on, for example, the ACK TP. For example, the electronic device (101) may determine a fetch interval of 2 ms in order to fetch the TCP ACKs of 4 groups, assuming that the ACK TP of each group is 400 kbps. In addition, as described above, the determination of the number of fetches based on the ACK TP is merely exemplary, and the electronic device (101) may also determine the number of fetches based on, for example, the TCP ACK size. For example, assuming that the TCP ACK size is 40 bytes, a maximum of 2 ACKs per group may be transmitted per 2 ms, and accordingly, the number of fetches may be set to 2. As described above, the electronic device (101) can check information (903) about the fetch interval time (e.g., 2 ms) and the number of fetches (fetch (number of ack) (e.g., 2)) for any group. Meanwhile, the priority can be set to "default", but there is no limitation on how to set the priority. According to the method described above, the electronic device (101) can set the fetch interval time (e.g., 2 ms) and the number of fetches (fetch (number of ack) (e.g., 2)) for each group, as in FIG. 9b. The priority can be set to "normal", which is "default", but there is no limitation on how to set the priority. Meanwhile, in the embodiment of FIG. 9b, the same policy is described for all groups, but this is exemplary, and the policies of two groups may be set at least partially differently.Meanwhile, the electronic device (101) may periodically (or based on event occurrence) check TCP-related information (e.g., information for identifying a session and / or ACK TP) and / or network-related information (e.g., MCS, but not limited to) and may check for at least some changes. The electronic device (101) may also adjust at least some of the number of fetches, the fetch interval, and / or the priority based on the changed information.
[0101] According to one embodiment, the electronic device (101) may perform TCP ACK fetching based on a policy (905) as in FIG. 9B. For example, as in FIG. 9C, the post-processing module (930) may perform fetching from each of a plurality of TCP ACK groups (921, 922, 923, 924). The post-processing module (930) may fetch at least one TCP ACK from each of the groups (921, 922, 923, 924), for example, based on the policy (905). Accordingly, at least one fetched TCP ACK (931) may be confirmed. For example, in the policy (905), the fetch interval for each of the plurality of groups (921, 922, 923, 924) may be 2 ms, and the number of fetches may be 2. The post-processing module (930) may fetch two TCP ACKs every 2 ms from each of the groups (921, 922, 923, 924), for example, based on the policy (905). For example, in the policy (905), the priority for each group (921, 922, 923, 924) may be the same as “normal”. The post-processing module (930) may fetch TCP ACKs from the groups (921, 922, 923, 924) based on a specified rule (e.g., random selection, or selection in the order of a specified identification number, but there is no limitation) as the priorities for each group (921, 922, 923, 924) are the same. According to one embodiment, the post-processing module (930) may select one of at least one TCP ACK (931) fetched for each group and provide it to the queue (932). Accordingly, four TCP ACKs selected corresponding to each of the four groups (921, 922, 923, 924) can be stored in the queue (932). For example, the TCP ACK with the largest SN among the TCP ACKs fetched for each group can be selected and provided to the queue (932), but there is no limitation on the selection method.TCP ACKs stored in the queue (932) can be sequentially provided to the L2 layer. As described above, four TCP ACKs can be provided to the L2 layer every 2 ms. In this case, if the size of one TCP ACK is 40 bytes, for example, 40 X 4 = 160 bytes can be provided to the L2 layer in 2 ms. As described above, the fetch interval and / or the number of fetches can be set so that the 160 bytes provided to the L2 layer are less than the UL capacity of the network, 175 bytes / 2 ms.
[0102] Figure 10a is a diagram for explaining policy decision according to one embodiment.
[0103] According to one embodiment, the electronic device (101) (e.g., the communication processor (320)) can check information (1001) for policy decision. The information (1001) for policy decision may include, for example, TCP-related information and / or network-related information. In the embodiment of FIG. 10A, the information (901) may include address information (e.g., a destination IP address (Dest. IP) and a source IP address (Src. IP)) and a port number (Port) corresponding to each of three groups (group #1, group #2, group #3). Meanwhile, in the information (1001) of FIG. 10A, even if the three groups (group #1, group #2, group #3) include the same address, the three groups (group #1, group #2, group #3) may be distinguished based on different port numbers. Meanwhile, the fact that the three groups (group #1, group #2, group #3) contain the same address is exemplary and may be at least partially different. Although the three groups (group #1, group #2, group #3) are described as having the same priority as "normal", for example, this is exemplary and may be at least partially different. The information (1001) may include acknowledge throughput (ACK TP). The ACK TP for each group (group #1, group #2, group #3) may be identified as 400 Kbps, 300 Kbps, and 300 Kbps. The three groups (group #1, group #2, group #3) may correspond to a RAT of "LTE" (or E-UTRA), an MCS of "3", a BLER of "25%", PDN connection identification information of "5", and a QOS of "1".
[0104] According to one embodiment, the electronic device (101) can check the uplink capacity based on the MCS. For example, the electronic device (101) can check the uplink capacity of "1 Mbps" based on the MCS of "3". The electronic device (101) can check the UL capacity as "1 Mbps" X 0.75 (70% multiplied based on BLER being 25%) = "750 Kbps = 93.7 byte / ms" based on BLER of 25%. The electronic device (101) can check the packet size of TCP ACK as, for example, "40 bytes". The electronic device (101) can check 3 X 40 bytes = 120 bytes by multiplying 3, which is the total number of groups (which may be, for example, the number of sessions), by "40 bytes", which is the packet size of TCP ACK. As described above, the electronic device (101) can confirm that the uplink capacity is "93.7 bytes / ms" and that the product of the packet size of TCP ACK and the number of groups is "120 bytes". The electronic device (101) can determine the fetch interval such that the product of the uplink capacity and the fetch interval (e.g., MAX capa) is greater than the product of the packet size of TCP ACK and the number of groups. For example, the electronic device (101) can determine the fetch interval such that the product of "93.7 bytes / ms" and the fetch interval is greater than "120 bytes", and thus the fetch interval can be determined to be 2 ms. Accordingly, the product of "93.7 bytes / ms" and the fetch interval, which is "2 ms", may be greater than "120 bytes", which is "187.4 bytes".
[0105] According to one embodiment, the electronic device (101) may check the number of fetches, for example, based on the ACK TP. The electronic device (101) may check, for example, that the sum of the ACK TPs of each group is 400 + 300 + 300 = "1000 Kbps." The electronic device (101) may determine the number of fetches such that the product of the number of fetches and the uplink capacity of the network is greater than the sum of the ACK TPs. For example, the electronic device (101) may determine the minimum value of the number of fetches such that the product of the number of fetches and the uplink capacity of the network, 750 kbps, is greater than the sum of the ACK TPs, "1000 Kbps," as the number of fetches, and may determine the number of fetches to be, for example, "2." According to the above, the electronic device (101) can determine a policy (1003) corresponding to the information (1001), and the policy (1003) can include a fetch interval of “2 ms” and a fetch count of “2 ms.”
[0106] Meanwhile, if the BLER is 0%, the fetch interval may be determined as "1ms" and the number of fetches may be "1". For example, if the BLER is 0%, since the UL capacity is 1000kbps, it may be the same as the sum of ACK TPs, 1000kbps, and thus the number of fetches may be "1". In addition, since the product of the packet size and the number of groups is 120 bytes, which may be greater than the UL capacity of 1000kbps = 125 bytes / ms, the fetch interval may be "1ms". Accordingly, as the BLER among the network-related information changes from "0%" to "25%", the electronic device (101) may update the number of fetches from 1 to 2 and the fetch interval from 1ms to 2ms. As described above, the electronic device (101) can adaptively update the policy according to changes in the network communication environment.
[0107] Figure 10b is a diagram for explaining policy decisions according to one embodiment.
[0108] According to one embodiment, the electronic device (101) (e.g., the communication processor (320)) may check information (1011) for policy decision. The information (1011) for policy decision may include, for example, TCP-related information and / or network-related information. For example, the electronic device (101) may check information (901) of FIG. 9A at a first point in time, and then check information (1011) of FIG. 10B at a second point in time. Depending on changes in the TCP-related information and / or network-related information, the information checked by the electronic device (101) may also change from information (901) to information (1011). In the embodiment of FIG. 10b, information (1011) may include address information (e.g., destination IP address (Dest. IP) and source IP address (Src. IP)) and port number (Port) corresponding to each of four groups (group #1, group #2, group #3, and group #4). In the information (1011) of FIG. 10b, the IP addresses of the four groups (group #1, group #2, group #3, and group #4) may be different. Meanwhile, the electronic device (101) may confirm that the ACK TP corresponding to the first group (group #1) is 800 Kbps, and the ACK TP corresponding to the second group (group #2), the third group (group #3), and the fourth group (group #4) are 300 Kbps. For example, as ACK retransmission occurs in the PDN connection corresponding to the first group (group #1), the ACK TP may increase to 800 Kbps. The electronic device (101) may perform ACK replication for ACK retransmission. The electronic device (101) may not perform ACK combining for ACKs for retransmission.Accordingly, the electronic device (101) may not perform ACK combining for the first group (group #1), which is a group performing ACK retransmission (or a group performing ACK replication), and accordingly, a policy for fetching may not be determined for the first group (group #1), or an existing policy may not be applied. Alternatively, the existing policy may be maintained for the first group (group #1). The electronic device (101) may update the policy (1013) for the second group (group #2), the third group (group #3), and the fourth group (group #4) (for example, update the fetch interval from the existing "2 ms" to "3 ms"). In this way, the electronic device (101) may be configured to update the policy for groups in which ACK retransmission has not occurred.
[0109] Table 1 illustrates examples of aggregation ratios confirmed when applying embodiments of the present disclosure. Here, the aggregation ratio may be the ratio of the number of discarded ACKs to the ACK count by the AP, and may also be referred to as the discard ratio.
[0110] Experimental order Downlink packet count ACK count by AP ACK count by CP Downlink throughput Combination ratio 118,06614,5197,60974851218,12914,2777,58974552317,86715,5447,51774748
[0111] As shown in Table 1, the combining ratio can be confirmed to be approximately 50%, and accordingly, it can be confirmed that the number of ACKs transmitted to the network is reduced. In addition, it can also be confirmed that the combining ratio also adaptively changes based on changes in TCP-related information and / or network-related information. According to one embodiment, the electronic device (101) may include at least one communication processor (320) and at least one application processor (310). The at least one communication processor (320) may be configured to obtain a plurality of TCP ACKs generated based on a network stack executed in the at least one application processor (310). The at least one communication processor (320) may be configured to classify and store the plurality of TCP ACKs into a plurality of groups in at least one buffer associated with the at least one communication processor (320). The at least one communication processor (320) may be configured to fetch at least one TCP ACK from each of the plurality of groups based on each of the policies set corresponding to each of the plurality of groups. The at least one communication processor (320) may be configured to transmit at least a portion of the at least one fetched TCP ACK.
[0112] According to one embodiment, the at least one communication processor (320) may be further configured to determine the policies corresponding to each of the plurality of groups based on TCP-related information and / or network-related information.
[0113] According to one embodiment, the at least one communication processor (320) may be configured to determine, as at least part of the operation of determining the policies corresponding to each of the plurality of groups based on the TCP-related information and / or the network-related information, each of the fetch intervals corresponding to each of the plurality of groups as at least part of the policies, based on at least a portion of the TCP-related information and / or the network-related information.
[0114] According to one embodiment, the at least one communication processor (320) may be configured to, as at least a part of the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on at least a portion of the TCP-related information and / or the network-related information, ascertain an uplink capacity identified based on an MCS included in the network-related information. According to one embodiment, the at least one communication processor (320) may be configured to, as at least a part of the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on at least a portion of the TCP-related information and / or the network-related information, ascertain each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity.
[0115] According to one embodiment, the at least one communication processor (320) may be configured to, at least as part of the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity, ascertain sizes of TCP ACKs each associated with each of the plurality of groups. According to one embodiment, the at least one communication processor (320) may be configured to, at least as part of the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity, ascertain each of the fetch intervals based on the sizes and the uplink capacity.
[0116] According to one embodiment, the at least one communication processor (320) may be configured to, at least as a part of an operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity, check an ACK throughput between the at least one application processor (310) and the at least one communication processor (320) included in the TCP-related information. According to one embodiment, the at least one communication processor (320) may be configured to, at least as a part of an operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity, determine each of the fetch intervals based on the ACK throughput and the uplink capacity.
[0117] According to one embodiment, the at least one communication processor (320) may be configured to determine, as at least part of the operation of determining, based on the uplink capacity, each of the fetch intervals corresponding to each of the plurality of groups, based on a BLER included in the uplink capacity and the network-related information, each of the fetch intervals corresponding to each of the plurality of groups.
[0118] According to one embodiment, the at least one communication processor (320) may be configured to determine, as at least part of the operation of determining the policies corresponding to each of the plurality of groups based on the TCP-related information and / or the network-related information, each of the number of fetches corresponding to each of the plurality of groups as at least part of the policies, based on at least a portion of the TCP-related information and / or the network-related information.
[0119] According to one embodiment, the at least one communication processor (320) may be configured to, as at least a part of the operation of determining each of the number of fetches corresponding to each of the plurality of groups based on at least a portion of the TCP-related information and / or the network-related information, ascertain an uplink capacity identified based on an MCS included in the network-related information. According to one embodiment, the at least one communication processor (320) may be configured to, as at least a part of the operation of determining each of the number of fetches corresponding to each of the plurality of groups based on at least a portion of the TCP-related information and / or the network-related information, ascertain each of the number of fetches corresponding to each of the plurality of groups based on the uplink capacity.
[0120] According to one embodiment, the at least one communication processor (320) may be configured to, at least as a part of the operation of determining each of the numbers of fetches corresponding to each of the plurality of groups based on the uplink capacity, check the ACK throughput between the at least one application processor (310) and the at least one communication processor (320) included in the TCP-related information. According to one embodiment, the at least one communication processor (320) may be configured to, at least as a part of the operation of determining each of the numbers of fetches corresponding to each of the plurality of groups based on the uplink capacity, determine each of the numbers of fetches based on the ACK throughput and the uplink capacity.
[0121] According to one embodiment, the at least one communication processor (320) may be configured to, at least as part of the operation of determining each of the number of fetches corresponding to each of the plurality of groups based on the uplink capacity, ascertain the sizes of TCP ACKs each of which is associated with each of the plurality of groups. According to one embodiment, the at least one communication processor (320) may be configured to, at least as part of the operation of determining each of the number of fetches corresponding to each of the plurality of groups based on the uplink capacity, ascertain each of the number of fetches based on the sizes and the uplink capacity.
[0122] According to one embodiment, the at least one communication processor (320) may be configured to determine, at least as a part of the operation of determining, based on the uplink capacity, each of the number of fetches corresponding to each of the plurality of groups, based on a BLER included in the uplink capacity and the network-related information, each of the number of fetches corresponding to each of the plurality of groups.
[0123] According to one embodiment, the at least one communication processor (320) may be configured to identify changes in at least some of the TCP-related information and / or the network-related information. According to one embodiment, the at least one communication processor (320) may further be configured to update at least some of the policies based on the identified changes.
[0124] According to one embodiment, the at least one communication processor (320) may be configured to, at least as part of the operation of updating at least some of the policies based on the identified change, update at least one policy corresponding to at least some of at least one group among the plurality of groups in which no ACK retransmission occurred.
[0125] According to one embodiment, the plurality of groups may be distinguished based on IP addresses, port numbers, and / or network interface identification information.
[0126] According to one embodiment, the at least one communication processor (320) may be configured to transmit, as at least a part of the operation of transmitting at least a portion of each of the at least one fetched TCP ACK, a TCP ACK having a largest sequence number among at least one first TCP ACK fetched from a first group among the plurality of groups, as the TCP ACK corresponding to the first group.
[0127] According to one embodiment, a storage medium storing at least one computer-readable instruction, wherein the at least one instruction, when executed by at least one processor of an electronic device (101), causes the electronic device (101) to perform at least one operation. The at least one operation may include an operation of obtaining a plurality of TCP ACKs. The at least one operation may include an operation of classifying and storing the plurality of TCP ACKs into a plurality of groups. The at least one operation may include an operation of fetching at least one TCP ACK from each of the plurality of groups based on each of policies set corresponding to each of the plurality of groups. The at least one operation may include an operation of transmitting at least a portion of each of the at least one fetched TCP ACKs.
[0128] According to one embodiment, the at least one operation may include determining the policies corresponding to each of the plurality of groups based on TCP-related information and / or network-related information.
[0129] According to one embodiment, the operation of determining the policies corresponding to each of the plurality of groups based on the TCP-related information and / or the network-related information may determine, based on at least a portion of the TCP-related information and / or the network-related information, each of the fetch intervals corresponding to each of the plurality of groups as at least a portion of the policies.
[0130] According to one embodiment, the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on at least a portion of the TCP-related information and / or the network-related information may include an operation of confirming an uplink capacity identified based on an MCS included in the network-related information. According to one embodiment, the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on at least a portion of the TCP-related information and / or the network-related information may include an operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity.
[0131] According to one embodiment, the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity may include the operation of checking the sizes of TCP ACKs each associated with each of the plurality of groups.
[0132] According to one embodiment, the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity may include the operation of determining each of the fetch intervals based on the sizes and the uplink capacity.
[0133] According to one embodiment, the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity may include an operation of checking an ACK throughput between the at least one application processor (310) and the at least one communication processor (320) included in the TCP-related information. According to one embodiment, the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity may include an operation of determining each of the fetch intervals based on the ACK throughput and the uplink capacity.
[0134] According to one embodiment, the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity may determine each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity and a BLER included in the network-related information.
[0135] According to one embodiment, the operation of determining the policies corresponding to each of the plurality of groups based on the TCP-related information and / or the network-related information may determine, based on at least a portion of the TCP-related information and / or the network-related information, each of the number of fetches corresponding to each of the plurality of groups as at least a portion of the policies.
[0136] According to one embodiment, the operation of determining each of the numbers of fetches corresponding to each of the plurality of groups based on at least a portion of the TCP-related information and / or the network-related information may include an operation of confirming an uplink capacity identified based on an MCS included in the network-related information. According to one embodiment, the operation of determining each of the numbers of fetches corresponding to each of the plurality of groups based on at least a portion of the TCP-related information and / or the network-related information may include an operation of determining each of the numbers of fetches corresponding to each of the plurality of groups based on the uplink capacity.
[0137] According to one embodiment, the operation of determining each of the numbers of fetches corresponding to each of the plurality of groups based on the uplink capacity may include an operation of checking an ACK throughput between the at least one application processor (310) and the at least one communication processor (320) included in the TCP-related information. According to one embodiment, the operation of determining each of the numbers of fetches corresponding to each of the plurality of groups based on the uplink capacity may include an operation of determining each of the numbers of fetches based on the ACK throughput and the uplink capacity.
[0138] According to one embodiment, the operation of determining each of the numbers of fetches corresponding to each of the plurality of groups based on the uplink capacity may include the operation of checking sizes of TCP ACKs each associated with each of the plurality of groups. According to one embodiment, the operation of determining each of the numbers of fetches corresponding to each of the plurality of groups based on the uplink capacity may include the operation of determining each of the numbers of fetches based on the sizes and the uplink capacity.
[0139] According to one embodiment, the operation of determining each of the numbers of fetches corresponding to each of the plurality of groups based on the uplink capacity may determine each of the numbers of fetches corresponding to each of the plurality of groups based on the uplink capacity and a BLER included in the network-related information.
[0140] In one embodiment, the at least one operation may include an operation of identifying a change in at least a portion of the TCP-related information and / or the network-related information. In one embodiment, the at least one operation may include an operation of updating at least a portion of the policies based on the identified change.
[0141] According to one embodiment, the operation of updating at least some of the policies based on the identified change may update at least one policy corresponding to at least some of at least one group among the plurality of groups in which no ACK retransmission occurred.
[0142] According to one embodiment, the plurality of groups may be distinguished based on IP addresses, port numbers, and / or network interface identification information.
[0143] According to one embodiment, the operation of transmitting at least a portion of each of the at least one fetched TCP ACK may transmit a TCP ACK having a largest sequence number among the at least one first TCP ACK fetched from a first group among the plurality of groups as a TCP ACK corresponding to the first group.
[0144] According to one embodiment, a method of operating an electronic device (101) may include an operation of obtaining a plurality of TCP ACKs. The method of operating the electronic device (101) may include an operation of classifying and storing the plurality of TCP ACKs into a plurality of groups. The method of operating the electronic device (101) may include an operation of fetching at least one TCP ACK from each of the plurality of groups based on each of policies set corresponding to each of the plurality of groups. The method of operating the electronic device (101) may include an operation of transmitting at least a portion of each of the at least one fetched TCP ACKs.
[0145] Electronic devices according to the embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments disclosed in this document are not limited to the aforementioned devices.
[0146] The embodiments of this document and the terminology used herein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
[0147] The term "module" used in the embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
[0148] One embodiment of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
[0149] According to one embodiment, the method according to one embodiment disclosed in this document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store™) or directly between two user devices (e.g., smart phones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
[0150] According to one embodiment, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and arranged in other components. According to one embodiment, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to one embodiment, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
Claims
1. In an electronic device (101), at least one communication processor (320); and comprising at least one application processor (310); At least one communication processor (320) above: Obtaining multiple TCP ACKs generated based on a network stack running on at least one application processor (310), Store the plurality of TCP ACKs by classifying them into a plurality of groups in at least one buffer associated with the at least one communication processor (320), Based on each of the policies set corresponding to each of the plurality of groups, at least one TCP ACK is fetched from each of the plurality of groups, and An electronic device (101) configured to transmit at least a portion of each of the at least one TCP ACK fetched above.
2. In paragraph 1, At least one communication processor (320) above: An electronic device (101) further configured to determine the policies corresponding to each of the plurality of groups based on TCP related information and / or network related information.
3. In any one of paragraphs 1 and 2, The at least one communication processor (320) determines, at least as a part of the operation of determining the policies corresponding to each of the plurality of groups, based on the TCP-related information and / or the network-related information, An electronic device (101) configured to determine, as at least a part of the policies, each of the fetch intervals corresponding to each of the plurality of groups based on at least a part of the TCP-related information and / or the network-related information.
4. In any one of paragraphs 1 to 3, The at least one communication processor (320) determines, as at least a part of the operation, each of the fetch intervals corresponding to each of the plurality of groups based on at least a part of the TCP-related information and / or the network-related information, Check the uplink capacity based on the MCS included in the above network-related information, An electronic device (101) configured to determine each of the fetch intervals corresponding to each of the plurality of groups based on the above uplink capacity.
5. In any one of paragraphs 1 to 4, The at least one communication processor (320) determines, at least as part of the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity, Check the sizes of TCP ACKs associated with each of the above multiple groups, An electronic device (101) configured to determine each of the fetch intervals based on the above sizes and the above uplink capacity.
6. In any one of paragraphs 1 to 5, The at least one communication processor (320) determines, at least as part of the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity, Check the ACK throughput between the at least one application processor (310) and the at least one communication processor (320) included in the above TCP-related information, An electronic device (101) configured to determine each of the fetch intervals based on the ACK throughput and the uplink capacity.
7. In any one of paragraphs 1 to 6, The at least one communication processor (320) determines, at least as part of the operation of determining each of the fetch intervals corresponding to each of the plurality of groups based on the uplink capacity, An electronic device (101) configured to determine each of the fetch intervals corresponding to each of the plurality of groups based on the BLER included in the above uplink capacity and the network related information.
8. In any one of paragraphs 1 to 7, The at least one communication processor (320) determines, at least as a part of the operation of determining the policies corresponding to each of the plurality of groups, based on the TCP-related information and / or the network-related information, An electronic device (101) configured to determine, as at least a part of the policies, each of the number of fetches corresponding to each of the plurality of groups based on at least a part of the TCP-related information and / or the network-related information.
9. In any one of paragraphs 1 to 8, The at least one communication processor (320) determines, as at least a part of the operation, each of the number of fetches corresponding to each of the plurality of groups based on at least a part of the TCP-related information and / or the network-related information, Check the uplink capacity based on the MCS included in the above network-related information, An electronic device (101) configured to determine the number of patches corresponding to each of the plurality of groups based on the above uplink capacity.
10. In any one of paragraphs 1 to 9, The at least one communication processor (320) determines, at least as part of the operation of determining each of the number of patches corresponding to each of the plurality of groups based on the uplink capacity, Check the ACK throughput between the at least one application processor (310) and the at least one communication processor (320) included in the above TCP-related information, An electronic device (101) configured to determine each of the number of fetches based on the ACK throughput and the uplink capacity.
11. In any one of paragraphs 1 to 10, The at least one communication processor (320) determines, at least as part of the operation of determining each of the number of patches corresponding to each of the plurality of groups based on the uplink capacity, Check the sizes of TCP ACKs associated with each of the above multiple groups, An electronic device (101) configured to determine each of the number of patches based on the above sizes and the above uplink capacity.
12. In any one of paragraphs 1 to 11, The at least one communication processor (320) determines, at least as part of the operation of determining each of the number of patches corresponding to each of the plurality of groups based on the uplink capacity, An electronic device (101) configured to determine each of the number of patches corresponding to each of the plurality of groups based on the BLER included in the above uplink capacity and the network-related information.
13. In any one of paragraphs 1 to 12, The above multiple groups are electronic devices (101) distinguished based on IP address, port number, and / or network interface identification information.
14. In any one of paragraphs 1 to 13, The at least one communication processor (320) is configured to, at least as part of the operation of transmitting at least a portion of each of the at least one fetched TCP ACKs, An electronic device (101) configured to transmit a TCP ACK having a largest sequence number among at least one first TCP ACK fetched from a first group among the plurality of groups as a TCP ACK corresponding to the first group.
15. A storage medium storing at least one computer-readable instruction, wherein the at least one instruction, when executed by at least one processor of an electronic device (101), causes the electronic device (101) to perform at least one operation, At least one of the above actions: The action of obtaining multiple TCP ACKs; An action of classifying and storing the above multiple TCP ACKs into multiple groups; An operation of fetching at least one TCP ACK from each of the plurality of groups based on each of the policies set corresponding to each of the plurality of groups; and The action of transmitting at least a portion of each of the at least one TCP ACK fetched above. A storage medium containing.
Citation Information
Patent Citations
Data communication device
JP2008270951A
Wireless communication device, and priority control method
JP2011193046A
Transmitting / receiving device and reception method, and communication system and communication method
JP2012191274A
Appparatus, method and computer readable storage medium for changing brake mode using brake pedal
KR1020240123959A
Method for transmitting TCP ACK packet in wireless communication system and a device therefor
US20200128431A1
