IP Library › Granted Patent US 12,481,687
Granted Patent B2
US 12,481,687 · App. 18/735,971 · Granted Nov 25, 2025

Operation method and electronic device for generating and using filename metadata including encrypted case insensitive filename

Inventors: Sungjong Seo (Suwon-si, KR); Yeongjin Gil (Suwon-si, KR); Hyeongjun Kim (Suwon-si, KR); Woojoong Lee (Suwon-si, KR)
Assignee: Samsung Electronics Co., Ltd.
G06F16/334G06F16/335
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,481,687
App. No.
18/735,971
Granted
Nov 25, 2025
Kind
B2
Abstract

An electronic device in an example embodiment may include a communication interface configured to receive an original file, a memory, and a processor. The processor may generate bit information corresponding to uppercase and lowercase letters included in a filename of the original file. The processor may generate a case insensitive (CI) filename in which the filename of the original file is expressed by characters of a first type. The processor may encrypt the CI filename and may calculate a first hash value corresponding to the encrypted CI filename. The processor may record filename metadata including at least one of the encrypted CI filename, a length of the encrypted CI filename, the first hash value, and the bit information, in the memory. The processor may search for a target file to be found based on the filename metadata.

Claims (54)

1 . An electronic device comprising:

communication interface, comprising communication circuitry, configured to receive data;

memory; and

at least one processor comprising processing circuitry and operably connected to the communication circuitry and the memory, the at least one processor, individually and/or collectively, configured to:

receive an original file from another device using the communication interface,

based on receiving the original file, store the original file in the memory and generate bit information corresponding to uppercase and lowercase letters comprised in a filename of the original file by allocating a first bit value in correspondence to a position of an uppercase letter comprised in the filename of the original file and allocating a second bit value in correspondence to a position of a lowercase letter comprised in the filename of the original file,

generate a case insensitive (CI) filename in which the filename of the original file is expressed by at least characters of a first type,

encrypt the CI filename,

calculate a first hash value corresponding to the encrypted CI filename,

record filename metadata comprising the encrypted CI filename, a length of the encrypted CI filename, the first hash value, and the bit information, in the memory, and

in response to a request for a target file:

generate a second CI filename in which a filename of the target file is expressed by the characters of the first type,

calculate a second hash value corresponding to an encryption of the second CI filename, and

search for the target file by comparing the second hash value with the first hash value included in the filename metadata stored in the memory.

2 . The electronic device of claim 1 , wherein the encryption of the CI filename includes using block encryption and/or stream encryption.

3 . The electronic device of claim 1 , wherein the characters of the first type comprise at least one of uppercase and lowercase letters.

4 . The electronic device of claim 1 , wherein the at least one processor configured to:

record the filename metadata in a different metadata area in the memory based on an attribute of the filename metadata, and/or

store the filename metadata in a same metadata area in the memory.

5 . The electronic device of claim 1 , wherein the at least one processor configured to:

in the filename metadata, record the encrypted CI filename, the length of the encrypted CI filename, and the first hash value in a directory entry area of the original file, and

in the filename metadata, separately record the bit information in a space for storing a file attribute of the original file and/or an extra attributes space.

6 . The electronic device of claim 1 , wherein the at least one processor configured to:

perform a first comparison whether the first hash value coincides with the second hash value, and

search for the target file based on a result of the first comparison.

7 . The electronic device of claim 6 , wherein the at least one processor configured to, when the result of the first comparison coincides, perform a second comparison whether filename lengths and character strings of the encrypted CI filename recorded in the memory and the encrypted second CI filename coincide with each other, and search for the target file based on a result of the second comparison.

8 . The electronic device of claim 7 , wherein the at least one processor configured to:

when the result of the second comparison coincides, reconstruct the filename of the original file, and

when the result of the second comparison does not coincide, iteratively compare whether hash values corresponding to remaining filenames stored in the memory coincide with the second hash value.

9 . The electronic device of claim 8 , wherein, when the result of the second comparison coincides, at least one processor configured to, based on the bit information, reconstruct the filename of the original file by converting a character of the CI filename corresponding to an order of bits comprised in the bit information into an uppercase letter or a lowercase letter according to the bit information.

10 . The electronic device of claim 8 , wherein, when the result of the second comparison does not coincide, at least one processor configured to, when a third hash value, which is one of the hash values, coincides with the second hash value, perform a third comparison whether filename lengths and character strings of an encrypted third CI filename corresponding to the third hash value and the encrypted second CI filename coincide with each other.

11 . A method of operating an electronic device, the method comprising:

receiving an original file from another device using communication interface comprising communication circuitry;

based on receiving the original file, storing the original file in a memory and generating bit information corresponding to uppercase and lowercase letters comprised in a filename of an original file by allocating a first bit value in correspondence to a position of an uppercase letter comprised in the filename of the original file and allocating a second bit value in correspondence to a position of a lowercase letter comprised in the filename of the original file;

generating a case insensitive (CI) filename in which the filename of the original file is expressed at least by characters of a first type;

encrypting the CI filename;

calculating a first hash value corresponding to the encrypted CI filename;

recording filename metadata comprising the encrypted CI filename, a length of the encrypted CI filename, the first hash value, and the bit information, in the memory; and

in response to a request for a target file:

generating a second CI filename in which a filename of the target file is expressed by the characters of the first type;

calculating a second hash value corresponding to an encryption of the second CI filename; and

searching for the target file by comparing the second hash value with the first hash value included in the filename metadata stored in the memory.

12 . The method of claim 11 , wherein the encryption of the CI filename includes using block encryption and/or stream encryption.

13 . The method of claim 11 , wherein the recording of the filename metadata in the memory comprises:

recording the filename metadata in a different metadata area in the memory based on an attribute of the filename metadata; and

storing the filename metadata in a same metadata area in the memory.

14 . The method of claim 11 , further comprising at least one of:

in the filename metadata, recording the encrypted CI filename, the length of the encrypted CI filename, and the first hash value in a directory entry area of the original file; and

in the filename metadata, separately recording the bit information in an i-node space of the original file or an extra attributes space.

15 . The method of claim 11 , wherein the searching for the target file comprises:

performing a first comparison whether the first hash value coincides with the second hash value;

when the result of the first comparison coincides, performing a second comparison whether filename lengths and character strings of the encrypted CI filename recorded in the memory and the encrypted second CI filename coincide with each other;

when a result of the second comparison coincides, based on the bit information, reconstructing the filename of the original file by converting a character of the CI filename corresponding to an order of bits comprised in the bit information into an uppercase letter or a lowercase letter according to the bit information; and

when the result of the second comparison does not coincide, iteratively comparing whether hash values corresponding to remaining filenames stored in the memory coincide with the second hash value.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 6, 2024
From: SEO, SUNGJONG; GIL, YEONGJIN; KIM, HYEONGJUN; LEE, WOOJOONG
To: SAMSUNG ELECTRONICS CO., LTD.
Reel/Frame 067646/0274 →
Priority Claims (2)
KR 10-2021-0180513 · Dec 16, 2021 · national
KR 10-2022-0000422 · Jan 3, 2022 · national
Continuity (2)
Continuation PCTKR2022017822 · Nov 14, 2022
Related Publication 20240330339A1 · Oct 3, 2024
References Cited (20)
US 7676491B2 · Jansen et al. · 2010 [cited by applicant]
US 7941435B2 · Kao et al. · 2011 [cited by applicant]
US 8060521B2 · Lemar · 2011 [cited by examiner]
US 8321439B2 · Pudipeddi et al. · 2012 [cited by applicant]
US 9176972B1 · Schouten · 2015 [cited by examiner]
US 10515052B2 · Wang et al. · 2019 [cited by applicant]
US 10534753B2 · Avati et al. · 2020 [cited by applicant]
US 10885215B2 · Greatwood · 2021 [cited by applicant]
US 10977315B2 · Dupont et al. · 2021 [cited by applicant]
US 20090164440A1 · Pudipeddi · 2009 [cited by examiner]
US 20110078219A1 · Dodge · 2011 [cited by examiner]
US 20150227535A1 · Avati · 2015 [cited by examiner]
US 20180144152A1 · Greatwood · 2018 [cited by applicant]
US 20190026301A1 · Wang · 2019 [cited by examiner]
US 20200142860A1 · Avati et al. · 2020 [cited by applicant]
US 20200279003A1 · Dupont et al. · 2020 [cited by applicant]
KR 20090108849A · 2009 [cited by applicant]
KR 101496347B1 · 2015 [cited by applicant]
International Search Report for PCT/KR2022/017822 mailed Feb. 22, 2023, 6 pages. [cited by applicant]
Written Opinion of the ISA for PCT/KR2022/017822 mailed Feb. 22, 2023, 4 pages. [cited by applicant]