Search

EP-4740096-A1 - METHOD AND SYSTEM FOR MEMORY MANAGEMENT IN A COMMUNICATION NETWORK

EP4740096A1EP 4740096 A1EP4740096 A1EP 4740096A1EP-4740096-A1

Abstract

The present disclosure relates to a method and a system for memory management in a communication network The disclosure encompasses receiving a message from one or more sources; transferring the received message to a thread for processing; generating a set of contexts for processing the message, wherein each context of the set of contexts is maintained in a thread- specific area of the thread; maintaining a list comprising the set of contexts associated with a thread-specific area of the thread; executing a scanning of the list subsequent to completion of the message processing to identify a subset of valid contexts and a subset of invalid contexts, from the set of contexts; and deallocating a memory associated with the subset of invalid contexts.

Inventors

  • BISHT, BIRENDRA
  • BHATNAGAR, AAYUSH
  • Singh, Harbinder Pal
  • KUMAR, ABHAY
  • Kelkar, Priti
  • REDDY, P R Srikanth
  • RANJAN, Surabhi
  • KUMAR, VIVEK

Assignees

  • Jio Platforms Limited

Dates

Publication Date
20260513
Application Date
20240626

Claims (15)

  1. 1. A method for memory management in a communication network, the method comprises: receiving, by a transceiver unit [102] at a SIB, a message from one or more sources [104]; transferring, by the transceiver unit [102], the received message to a thread for processing; generating, by a generator unit [106], a set of contexts for processing the message, each context of the set of contexts being maintained in a thread-specific area of the thread; maintaining, by the generator unit [ 106], a list comprising the set of contexts associated with thread-specific area of the thread; executing, by a processing unit [108] via a garbage collector, a scanning of the list subsequent to completion of the message processing to identify, a subset of valid contexts and a subset of invalid contexts, from the set of contexts; and deallocating, by a deallocator unit [110] via the garbage collector, a memory associated with the subset of invalid contexts.
  2. 2. The method as claimed in claim 1, wherein the method further comprises assigning, by the processing unit [108], each received message to a dedicated thread.
  3. 3. The method as claimed in claim 1, wherein the one or more sources comprise at least one from among a user equipment (UE) and a network entity.
  4. 4. The method as claimed in claim 1, wherein the subset of invalid contexts includes one or more contexts associated with an expired object validity status, and the subset of valid contexts comprise one or more contexts associated with an active object validity status.
  5. 5. The method as claimed in claim 1, wherein the deallocating the memory comprises managing the set of contexts associated with the message based on one or more pre-defined parameters, the one or more pre-defined parameters being at least one of user-defined parameters and system-defined parameters, wherein managing the set of contexts associated with the message comprises identifying a target context and selectively deleting one or more contexts from the set of contexts.
  6. 6. The method as claimed in claim 5, wherein the subset of valid context and the subset of invalid context are identified based on the one or more pre-defined parameters.
  7. 7. The method as claimed in claim 1 wherein the deallocating the set of invalid contexts comprises deleting the subset of invalid contexts from the list.
  8. 8. A system [100] for memory management in a communication network, the system comprises: a transceiver unit [102] configured to: receive, at a SIB, a message from one or more sources [104], and transfer the received message to a thread for processing; a generator unit [106] connected to the transceiver unit [102], the generator unit [106] is configured to: generate a set of contexts for processing the message, each context of the set of contexts being maintained in a thread-specific area of the thread, and maintain a list comprising the set of contexts associated with a thread-specific area of the thread; a processing unit [108] connected to the generator unit [106], the processing unit [108] is configured to execute, via a garbage collector, a scanning of the list subsequent to completion of the message processing to identify, a subset of valid contexts and a subset of invalid contexts, from the set of contexts; and a deallocator unit [110] connected to the processing unit [108], the deallocator unit [110] is configured to deallocate, via the garbage collector, a memory associated with the subset of invalid contexts.
  9. 9. The system as claimed in claim 8, wherein the processing unit [108] is further configured to assign each received message to a dedicated thread.
  10. 10. The system as claimed in claim 8, wherein the one or more sources [104] comprise at least one from among a user equipment (UE) and a network entity.
  11. 11. The system as claimed in claim 8, wherein the subset of invalid contexts comprises one or more contexts associated with an expired object validity status, and the subset of valid contexts comprises one or more contexts associated with an active object validity status.
  12. 12. The system as claimed in claim 8, wherein the deallocation of the memory comprises managing the set of contexts associated with the message based on one or more pre-defined parameters, the one or more pre-defined parameters being at least one of user-defined parameters and system-defined parameters, wherein managing the set of contexts associated with the message comprises identifying a target context and selectively deleting one or more contexts from the set of contexts.
  13. 13. The system as claimed in claim 12, wherein the subset of valid context and the subset of invalid context are identified based on the one or more pre-defined parameters.
  14. 14. The system as claimed in claim 8, wherein the deallocator unit [110] is configured to deallocate the set of invalid contexts by deleting the subset of invalid contexts from the list.
  15. 15. A non-transitory computer-readable storage medium storing instruction for memory management in a communication network, the storage medium comprising executable code which, when executed by one or more units of a system, causes: a transceiver unit [102] to: receive a message from one or more sources [104], and transfer the received message to a thread for processing; a generator unit [106] to: generate a set of contexts for processing the message, each context of the set of contexts being maintained in a thread-specific area of the thread, and maintain a list comprising the set of contexts associated with a thread-specific area of the thread; a processing unit [108] to execute via a garbage collector, a scanning of the list subsequent to completion of the message processing to identify, a subset of valid contexts and a subset of invalid contexts, from the set of contexts; and a deallocator unit [110] to deallocate, via the garbage collector, a memory associated with the subset of invalid contexts.

Description

METHOD AND SYSTEM FOR MEMORY MANAGEMENT IN A COMMUNICATION NETWORK FIELD OF THE DISCLOSURE [0001] The present disclosure relates generally to the field of wireless communication systems. More particularly, the present disclosure relates to methods and systems for memory management in a communication network. BACKGROUND [0002] The following description of related art is intended to provide background information pertaining to the field of the disclosure. This section may include certain aspects of the art that may be related to various features of the present disclosure. However, it should be appreciated that this section be used only to enhance the understanding of the reader with respect to the present disclosure, and not as admissions of prior art. [0003] Wireless communication technology has rapidly evolved over the past few decades, with each generation bringing significant improvements and advancements. The first generation of wireless communication technology was based on analog technology and offered only voice services. However, with the advent of the second-generation (2G) technology, digital communication and data services became possible, and text messaging was introduced. 3G technology marked the introduction of high-speed internet access, mobile video calling, and location-based services. The fourth-generation (4G) technology revolutionized wireless communication with faster data speeds, better network coverage, and improved security. Currently, the fifth-generation (5G) technology is being deployed, promising even faster data speeds, low latency, and the ability to connect multiple devices simultaneously. With each generation, wireless communication technology has become more advanced, sophisticated, and capable of delivering more services to its users. [0004] Further, over the period various solutions have been developed to improve the performance of communication devices and to optimize context storage associated with a message. However, there are certain challenges with existing solutions. One major drawback is the reliance on manual memory management techniques, which require developers to explicitly allocate and deallocate memory. This approach introduced a high risk of human error, leading to memory leaks and dangling pointer issues. Memory leaks occur when the memory is not properly deallocated, resulting in wastage of resources and decreasing system performance over time. Additionally, dangling pointers arise when a pointer references memory that is already deallocated, leading to unexpected program behavior and potential crashes. These issues posed considerable challenges in software development and maintenance, necessitating a more efficient and reliable solution. Moreover, manual memory management is a time-consuming and labor-intensive process, diverting developers' focus from higher-level tasks. Another significant drawback is the lack of automatic memory management mechanisms, which means that developers need to manually track and release memory resources, resulting in suboptimal system performance and reduced scalability. [0005] Thus, there exists an imperative need in the art for a technical solution that aims to address at least the above-mentioned technical issues by performing memory management in a communication network efficiently and effectively. OBJECTS OF THE INVENTION [0006] Some of the objects of the present disclosure, which at least one embodiment disclosed herein satisfies are listed herein below. [0007] It is an object of the present disclosure to provide a system and a method for memory management in a communication network. [0008] It is another object of the present disclosure to provide a solution to optimize the context storage associated with the message based on an identification of invalid context from the set of contexts. [0009] It is yet another object of the present disclosure to deallocate a memory associated with the subset of invalid contexts. SUMMARY OF THE INVENTION [0010] This section is provided to introduce certain aspects of the present disclosure in a simplified form that are further described below in the detailed description. This summary is not intended to identify the key features or the scope of the claimed subject matter. [0011] According to an aspect of the present disclosure, a method for memory management in a communication network is disclosed. The method comprises receiving, by a transceiver unit at a SIB, a message from one or more sources. Furthermore, the method includes transferring, by the transceiver unit, the received message to a thread for processing. Furthermore, the method includes generating, by a generator unit, a set of contexts for processing the message, each context of the set of contexts being maintained in a thread-specific area of the thread. Furthermore, the method includes maintaining, by the generator unit, a list comprising the set of contexts associated with a thread-specific area of the thread. Furthermo