IP Library › Granted Patent US 12,360,807
Granted Patent B2
US 12,360,807 · App. 18/168,049 · Granted Jul 15, 2025

Electronic device for securing usable dynamic memory and operating method thereof

Inventor: Jaehong Park (Suwon-si, KR)
Assignee: Samsung Electronics Co., Ltd.
G06F9/5016G06F9/5022G06F11/3037G06F11/3075G06F11/3089G06F11/3409G06F15/0208G06F9/4862G06F2201/81G06F2209/5022G06F2209/508
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,360,807
App. No.
18/168,049
Granted
Jul 15, 2025
Kind
B2
Abstract

An electronic device including an application processor and a communication processor. The communication processor, for managing a resource memory, configured to monitor an occupancy rate of the resource memory for detecting a memory leakage, release a network connection when the electronic device is in an idle state, in response to the detecting of the memory leakage, initialize the resource memory after the network connection is released, and reconnect the network connection, wherein the idle state indicates a state when the electronic device is not occupied or used by a user, and wherein the initialization is performed at a non-flag area from among the resource memory.

Claims (55)

1. A communication processor for managing a resource memory in an electronic device configured to:

monitor an occupancy rate of the resource memory for detecting a memory leakage;

release a network connection when the electronic device is in an idle state, in response to the detecting of the memory leakage, wherein the idle state indicates both a state when the electronic device is not occupied or used by a user and a state when the electronic device is connected to the network;

initialize a non-flag area of the resource memory after the network connection is released and while the electronic device is not occupied or used by the user; and

reconnect the network connection,

wherein the electronic device is in not occupied or used by the user when a usage ratio between a usage amount of an application processor in the electronic device and the usage amount of the electronic device is less than a second threshold value.

2. The communication processor of claim 1 , wherein the memory leakage is detected by identifying that the occupancy rate of the resource memory exceeds a first threshold value, and identifying that the exceeding of the first threshold value persists over a predetermined time.

3. The communication processor of claim 1 , wherein the electronic device is in the idle state when an on-call signal is not detected, the on-call signal indicating that the communication processor is communicating with an external device.

4. The communication processor of claim 1 , wherein the electronic device is in the idle state when the electronic device is detected as not moving by a sensor module including at least one of motion sensor, gyro sensor, approximation sensor.

5. The communication processor of claim 1 , wherein the resource memory further includes a flag area,

the flag area is configured to store information to be maintained during the initialization of the non-flag area, and

the information includes at least one of SIM (Subscriber Identification Module) information, timer information, and location information.

6. The communication processor of claim 1 , the communication processor is further configured to:

store a database being maintained regardless of the initialization, to the resource memory excluding the non-flag area; and

receive first ACK signals indicating a completion for the storing of the database in the resource memory excluding the non-flag area.

7. The communication processor of claim 6 , the communication processor is further configured to:

in response to the receiving of the first ACK signals, identify whether there is at least one task in task queue by requesting a task having a lowest priority from among a plurality of tasks;

if a second ACK corresponding to the task having the lowest priority is received, erase the non-flag area of the resource memory; and

if the second ACK is not received, postpone the erasing of the non-flag area of the resource memory.

8. The communication processor of claim 1 , wherein the non-flag area of the resource memory is configured to store data including configuration information with respect to the network connection.

9. An operating method of a communication processor for managing a resource memory in an electronic device, comprising:

monitoring an occupancy rate of the resource memory for detecting a memory leakage;

in response to the detecting of the memory leakage, releasing a network connection when the electronic device is in an idle state, wherein the idle state indicates both a state when the electronic device is not occupied or used by a user and a state when the electronic device is connected to the network;

initializing a non-flag area of the resource memory after the network connection is released and while the electronic device is not occupied or used by the user; and

reconnecting the network connection after the initializing of the resource memory,

wherein the electronic device is in not occupied or used by the user when a usage ratio between a usage amount of an application processor in the electronic device and the usage amount of the electronic device is less than a second threshold value.

10. The operating method of claim 9 , wherein the monitoring of the occupancy rate of the resource memory further comprises:

identifying that the occupancy rate of the resource memory exceeds a first threshold value;

identifying that the exceeding of the first threshold value persists over a predetermined time; and

identifying an occurrence of the memory leakage if the occupancy rate exceeding the first threshold value persists the predetermined time.

11. The operating method of claim 9 , wherein the electronic device is in the idle state when an on-call signal is not detected, the on-call signal indicating that the electronic device is communicating with an external device.

12. The operating method of claim 9 , wherein the electronic device is in the idle state when the electronic device is detected as not moving by sensor module including at least one of motion sensor, gyro sensor, approximation sensor.

13. The operating method of claim 9 , wherein the resource memory excluding the non-flag area corresponds to a flag area, the flag area storing at least one of SIM(Subscriber Identification Module) information, timer information, and location information.

14. The operating method of claim 9 , wherein the initializing of the resource memory further comprises:

storing, to the resource memory excluding the non-flag area, a database being maintained regardless of the initializing of the resource memory; and

receiving first ACK signals indicating a completion for the storing of the database in the resource memory excluding the non-flag area.

15. The operating method of claim 14 , wherein the initializing of the resource memory further comprises:

in response to the receiving of the first ACK signals, requesting a task having a lowest priority from among a plurality of tasks,

if a second ACK corresponding to the task having the lowest priority is received, deleting the non-flag area of the resource memory, and

if the second ACK is not received, postpone the deleting of the non-flag area of the resource memory.

16. The operating method of claim 9 , wherein the non-flag area of the resource memory stores configuration information with respect to the network connection.

17. An electronic device, comprising:

a resource memory including a non-flag area and flag area; and

a communication processor configured to:

detect a memory leakage of the resource memory by monitoring an occupancy rate of the resource memory,

in response to the detecting of the memory leakage, monitor the electronic device to determine whether to be in an idle state, wherein the idle state indicates both a state when the electronic device is not occupied or used by a user and a state when the electronic device is connected to a network,

release a network connection in response to a determination that the electronic device is in the idle state,

store database including information being maintained in the flag area,

identify a task queue whether there is at least one task running on background,

initialize the non-flag area of the resource memory in response to the releasing of the network connection and while the electronic device is not occupied or used by the user, and

reconnect the network connection,

wherein the electronic device is in not occupied or used by the user when a usage ratio between a usage amount of an application processor in the electronic device and the usage amount of the electronic device is less than a second threshold value.

18. The electronic device of claim 17 ,

wherein the memory leakage is detected by identifying that the occupancy rate of the resource memory exceeds a first threshold value, and identifying that the exceeding of the first threshold value persists over a predetermined time, and

wherein the initialization of the non-flag area is performed after receiving a first ACK signal indicating the storing of the database being completed, and a second ACK signal indicating that there is not at least one task running on background.

Priority Claims (1)
KR 10-2019-0107647 · Aug 30, 2019 · national
Continuity (2)
Continuation 16989966 · Aug 11, 2020
Related Publication 20230185613A1 · Jun 15, 2023
References Cited (51)
US 6199173B1 · Johnson et al. · 2001 [cited by applicant]
US 6654773B2 · Hills · 2003 [cited by applicant]
US 7444482B2 · Huras et al. · 2008 [cited by applicant]
US 7552364B2 · Johnson et al. · 2009 [cited by applicant]
US 7668923B2 · Herring et al. · 2010 [cited by applicant]
US 9141510B2 · Hsia · 2015 [cited by applicant]
US 9760464B1 · Helliwell · 2017 [cited by examiner]
US 11178605B2 · Geng et al. · 2021 [cited by applicant]
US 11357071B2 · Da Silva et al. · 2022 [cited by applicant]
US 11452032B2 · Gupta et al. · 2022 [cited by applicant]
US 20020055969A1 · Sato et al. · 2002 [cited by applicant]
US 20030074601A1 · Schultz et al. · 2003 [cited by applicant]
US 20040078540A1 · Cirne · 2004 [cited by examiner]
US 20060095427A1 · Dickenson · 2006 [cited by examiner]
US 20060136682A1 · Haridas · 2006 [cited by examiner]
US 20060209695A1 · Archer et al. · 2006 [cited by applicant]
US 20060277440A1 · Minshall · 2006 [cited by examiner]
US 20080162970A1 · Yamaji · 2008 [cited by examiner]
US 20100085871A1 · Barsness et al. · 2010 [cited by applicant]
US 20120173713A1 · Wang · 2012 [cited by examiner]
US 20130042251A1 · Nader · 2013 [cited by applicant]
US 20140181998A1 · Hunt et al. · 2014 [cited by applicant]
US 20140366040A1 · Parker · 2014 [cited by examiner]
US 20150106637A1 · Zhang et al. · 2015 [cited by applicant]
US 20150205717A1 · Lin · 2015 [cited by examiner]
US 20150262067A1 · Sridhara et al. · 2015 [cited by applicant]
US 20160241767A1 · Cho et al. · 2016 [cited by applicant]
US 20170102968A1 · Pont · 2017 [cited by applicant]
US 20170223597A1 · Telang et al. · 2017 [cited by applicant]
US 20180246730A1 · Myrick · 2018 [cited by examiner]
US 20190026176A1 · Ganapathy · 2019 [cited by examiner]
US 20190075613A1 · Teyeb · 2019 [cited by examiner]
US 20190129822A1 · Alam · 2019 [cited by examiner]
US 20190179747A1 · Kim · 2019 [cited by applicant]
US 20190196867A1 · Plondke et al. · 2019 [cited by applicant]
US 20190220318A1 · Yang · 2019 [cited by examiner]
US 20190303205A1 · Masputra · 2019 [cited by examiner]
US 20190332272A1 · Mangione-Tran · 2019 [cited by examiner]
US 20200120592A1 · Geng et al. · 2020 [cited by applicant]
US 20200218237A1 · Ottnad · 2020 [cited by examiner]
US 20200264988A1 · Branco · 2020 [cited by examiner]
US 20200379810A1 · Dalmia et al. · 2020 [cited by applicant]
US 20210334192A1 · Zeng · 2021 [cited by examiner]
US 20220086104A1 · Miller et al. · 2022 [cited by applicant]
KR 1020080075293A · 2008 [cited by applicant]
KR 101669762B1 · 2016 [cited by applicant]
WO 2018228392A1 · 2018 [cited by applicant]
Request for the submission of an Opinion issued Jun. 4, 2024 in Korean Application No. 10-2019-0107647. [cited by applicant]
Non-Final Office Action issued Dec. 24, 2021 in U.S. Appl. No. 16/989,966. [cited by applicant]
Final Office Action issued Jun. 8, 2022 in U.S. Appl. No. 16/989,966. [cited by applicant]
Notice of Allowance issued Oct. 13, 2022 in U.S. Appl. No. 16/989,966. [cited by applicant]