IP Library › Granted Patent US 12,541,499
Granted Patent B2
US 12,541,499 · App. 18/455,224 · Granted Feb 3, 2026

Security data processing method and device

Inventors: Hyeeun Jun (Suwon-si, KR); Kisung Lee (Suwon-si, KR); Kiwon Song (Suwon-si, KR)
Assignee: Samsung Electronics Co., Ltd.
G06F16/2365G06F16/235G06F21/6227
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,541,499
App. No.
18/455,224
Filed
Aug 24, 2023
Granted
Feb 3, 2026
Kind
B2
Art Unit
2494
USPC
713/193
Abstract

A method and a device are provided. The device includes a display, a memory and a processor operatively connected to the display or the memory, wherein the processor is configured to receive a request for updating security data in which security attributes are set in application data, identify the state of an additional file corresponding to the security data, determine a first security data processing process if the state of the identified additional file is invalid or determine a second security data processing process if the state of the identified additional file is valid, and update the security data according to the determined security data processing process.

Claims (79)

1 . An electronic device comprising:

a display;

a memory; and

a processor configured to be operatively connected to the display or the memory, wherein the processor is configured to:

receive a request for updating security data in which security attributes are configured in application data,

identify a state of an additional file corresponding to the security data,

determine a first security data processing process when the identified state of the additional file is invalid or determine a second security data processing process when the identified state of the additional file is valid, and

update the security data according to the determined security data processing process.

2 . The electronic device of claim 1 , wherein the processor is further configured to perform the first security data processing process to:

acquire an update authority for a database file stored in the memory,

update the database file corresponding to the security data without the additional file, and

return the update authority when the update is completed.

3 . The electronic device of claim 1 , wherein the processor is further configured to perform the second security data processing process to:

determine whether a page structure of a database file stored in the memory is changed,

determine whether a page corresponding to the security data exists in the additional file when the page structure is not changed,

acquire an update authority of the database file when the page corresponding to the security data does not exist in the additional file,

update the database file to correspond to the security data without the additional file, and

return the update authority when the update is completed.

4 . The electronic device of claim 1 , wherein the processor is further configured to perform a third security data processing process when the first security data processing process or the second security data processing process fails.

5 . The electronic device of claim 4 , wherein the processor is further configured to perform the third security data processing process to:

add a frame corresponding to the security data to the additional file,

produce a thread for processing the security data,

update a database file to correspond to the security data based on a life cycle configured in the security data, and

invalidate the additional file corresponding to the security data when the update is completed.

6 . The electronic device of claim 5 , wherein the processor is further configured to:

when the life cycle is configured in the security data, wait for the update by the life cycle, determine whether an update condition of the additional file is satisfied after the life cycle has elapsed, acquire an update authority for the database file to attempt to update the database file to correspond to the security data when the update condition is satisfied, and

when the life cycle is not configured in the security data, determine whether the update condition of the additional file is satisfied, and acquire the update authority for the database file to attempt to update the database file to correspond to the security data when the update condition is not satisfied.

7 . The electronic device of claim 6 , wherein the processor is further configured to:

determine whether a configured condition is satisfied when the attempted update fails,

wait for the update until acquiring the update authority when the configured condition is satisfied, and

acquire the update authority to update the database file to correspond to the security data.

8 . The electronic device of claim 5 , wherein the processor is further configured to invalidate the additional file by truncating a size of the additional file corresponding to the security data or by overwriting a frame of the additional file.

9 . The electronic device of claim 8 , wherein the processor is further configured to perform one of an operation of truncating the size of the additional file based on a storage space of the memory or an operation of overwriting the frame of the additional file.

10 . The electronic device of claim 9 , wherein the processor is further configured to:

perform the overwriting operation when the storage space of the memory is equal to or greater than a predetermined size, and

perform the truncating operation when the storage space is less than the predetermined size.

11 . The electronic device of claim 1 , wherein the processor is further configured to:

determine whether security attributes are configured in a storage for a database file when the database file stored in the memory is opened, and

apply the security attributes to the entire opened database file when the security attributes are configured in the storage.

12 . The electronic device of claim 11 , wherein the processor is further configured to:

determine whether the security attributes are configured in the memory when the security attributes are not configured in the storage; and

read a value configured in the memory to perform update corresponding to the security data when the security attributes are configured in the memory,

wherein the security attributes of the storage have a characteristic of being maintained until an application corresponding to the database file is deleted, and

wherein the security attributes of the memory have a characteristic of being maintained to correspond to a connection of the database file.

13 . The electronic device of claim 12 , wherein the security attributes are configured in at least one of the entire database file and a table or column of the database file.

14 . An operation method of an electronic device, the operation method comprising:

receiving a request for updating security data in which security attributes are configured in application data;

identifying a state of an additional file corresponding to the security data;

determining a first security data processing process when the identified state of the additional file is invalid, and determining a second security data processing process when the identified state of the additional file is valid; and

updating the security data according to the determined security data processing process.

15 . The method of claim 14 , wherein the first security data processing process comprises:

acquiring an update authority for a database file stored in a memory;

updating the database file to correspond to the security data without the additional file; and

returning the update authority when the update is completed.

16 . The method of claim 14 , wherein the second security data processing process comprises:

determining whether a page structure of a database file stored in a memory is changed;

determining whether a page corresponding to the security data exists in the additional file when the page structure is not changed;

acquiring an update authority of the database file when the page corresponding to the security data does not exist in the additional file;

updating the database file to correspond to the security data without the additional file; and

returning the update authority when the update is completed.

17 . The method of claim 14 , further comprising:

performing a third security data processing process when the first security data processing process or the second security data processing process fails.

18 . The method of claim 17 , wherein the third security data processing process comprises:

adding a frame corresponding to the security data to the additional file;

producing a thread for processing the security data;

updating a database file to correspond to the security data based on a life cycle configured in the security data; and

invalidating the additional file corresponding to the security data when the update is completed.

19 . The method of claim 18 , further comprising:

when the life cycle is configured in the security data,

waiting for an update by the life cycle,

determining whether an update condition of the additional file is satisfied after the life cycle has elapsed, and

acquiring an update authority for the database file to attempt to update the database file to correspond to the security data when the update condition is satisfied; and

when the life cycle is not configured in the security data,

determining whether the update condition of the additional file is satisfied, and

acquiring the update authority for the database file to attempt to update the database file to correspond to the security data when the update condition is not satisfied.

20 . The method of claim 19 , further comprising:

determining whether a configured condition is satisfied when the attempted update fails;

waiting for the update until acquiring the update authority when the configured condition is satisfied; and

acquiring the update authority to update the database file to correspond to the security data.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 24, 2023
From: JUN, HYEEUN; LEE, KISUNG; SONG, KIWON
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 064696/0270 →
Priority Claims (1)
KR 10-2021-0029539 · Mar 5, 2021 · national
Continuity (2)
Continuation PCTKR2021019959 · Dec 27, 2021
Related Publication 20230409733A1 · Dec 21, 2023
References Cited (25)
US 9330301B1 · Ozog · 2016 [cited by applicant]
US 11409719B2 · Eberlein · 2022 [cited by applicant]
US 20080177802A1 · Haye et al. · 2008 [cited by applicant]
US 20140359309A1 · Cachin et al. · 2014 [cited by applicant]
US 20160321144A1 · Zankl et al. · 2016 [cited by applicant]
US 20170046524A1 · Lee et al. · 2017 [cited by applicant]
US 20170083254A1 · Benoit et al. · 2017 [cited by applicant]
US 20170083604A1 · Syed-Ebrahim et al. · 2017 [cited by applicant]
US 20190155792A1 · Jeong · 2019 [cited by examiner]
US 20190207917A1 · Tasher · 2019 [cited by applicant]
US 20200192826A1 · Ben-Simon et al. · 2020 [cited by applicant]
US 20210026831A1 · Mishra et al. · 2021 [cited by applicant]
US 20210042293A1 · Jun · 2021 [cited by examiner]
CN 106155832B · 2019 [cited by applicant]
JP 2020095723A · 2020 [cited by applicant]
KR 100898968B1 · 2009 [cited by applicant]
KR 1020090111850A · 2009 [cited by applicant]
KR 101442489B1 · 2014 [cited by applicant]
KR 101539617B1 · 2015 [cited by applicant]
KR 1020170019799A · 2017 [cited by applicant]
KR 102132534B1 · 2019 [cited by applicant]
WO 2015138931A1 · 2015 [cited by applicant]
Qian Li et al., Database Management Strategy and Recovery Methods of Android, 2013 IEEE 4th International Conference on Software Engineering and Service Science, IEEE, Jun. 27, 2014, pp. 727-730, XP032667574. [cited by applicant]
Extended European Search Report dated Jun. 14, 2024, issued in European Patent Application No. 21929322.2. [cited by applicant]
International Search Report dated Apr. 4, 2022, issued in International Application No. PCT/KR2021/019959. [cited by applicant]