KR20040087161A - File content management method for mobile communication terminal - Google Patents

File content management method for mobile communication terminal Download PDF

Info

Publication number
KR20040087161A
KR20040087161A KR1020030021429A KR20030021429A KR20040087161A KR 20040087161 A KR20040087161 A KR 20040087161A KR 1020030021429 A KR1020030021429 A KR 1020030021429A KR 20030021429 A KR20030021429 A KR 20030021429A KR 20040087161 A KR20040087161 A KR 20040087161A
Authority
KR
South Korea
Prior art keywords
file
handle
total bytes
name
stored
Prior art date
Application number
KR1020030021429A
Other languages
Korean (ko)
Inventor
전성우
Original Assignee
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020030021429A priority Critical patent/KR20040087161A/en
Priority to CNA031577121A priority patent/CN1536922A/en
Publication of KR20040087161A publication Critical patent/KR20040087161A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE: A method for managing a file capacity of a mobile terminal is provided to prevent a waste of a space for storing a file by checking an available capacity of a file system to manage a file. CONSTITUTION: It is checked whether total bytes for storage is smaller than the sum of total bytes of a stored file and total requested bytes in order to determine whether to generate a file(S41). If generating a file is determined, a name, a file name and a generation mode are designated and a file is generated(S42). And then a newly generated file handle is allocated to a file handle(S43). The number of generated files is increased, the total requested bytes are added to the total stored bytes, and the generated file is registered for an open file table(S44). If generating a file is refused, null is allocated to the file handle to inform that file cannot be generated(S45).

Description

이동 통신 단말기의 파일 용량 관리 방법{FILE CONTENT MANAGEMENT METHOD FOR MOBILE COMMUNICATION TERMINAL}FILE CONTENT MANAGEMENT METHOD FOR MOBILE COMMUNICATION TERMINAL}

본 발명은 이동 통신 단말기의 파일 용량 관리 방법에 관한 것으로, 특히 이동 통신 단말기의 파일 관리 방법 중 저장 파일 용량에 의해 파일 시스템에 저장되는 정보를 관리 할 수 있게 한 이동 통신 단말기의 파일 용량 관리 방법에 관한 것이다.The present invention relates to a file capacity management method of a mobile communication terminal, and more particularly, to a file capacity management method of a mobile communication terminal capable of managing information stored in a file system by a storage file capacity of a file management method of a mobile communication terminal. It is about.

종래 이동 통신 단말기의 파일 용량 관리 방법은 저장되는 파일의 개수를 파악하여 파일 용량을 관리하였다. 파일 개수를 이용한 파일 용량 관리 방법은 파일의 크기와 파일 시스템의 용량과 상관 없이 파일 시스템에 의해 정의한 파일 개수를 이용하여 파일 저장 용량을 관리한다. 그러므로, 개별 파일이 저장하고 있는 내용의 크기가 초기 예상 크기보다 작으면 저장 공간의 낭비가 발생할 수 있다.The file size management method of the conventional mobile communication terminal manages the file capacity by grasping the number of files to be stored. The file size management method using the number of files manages the file storage capacity using the number of files defined by the file system regardless of the size of the file and the capacity of the file system. Therefore, if the size of the content stored in the individual file is smaller than the initial expected size, waste of storage space may occur.

종래 파일 시스템의 파일 관리 방법은 관리할 대상 파일의 개수를 지정하고 상기 파일 개수에 따른 파일별 아이디와 저장 공간을 부여하고 신규 파일 저장시 빈 파일 아이디를 검색하여 파일 아이디를 획득하고 파일을 저장한다. 그리고, 파일 아이디를 사용하여 파일에 접근한다. 이때, 파일 아이디는 열거형 데이터로 선언되어 사용된다.The file management method of the conventional file system designates the number of files to be managed, assigns IDs and storage spaces for each file according to the number of files, retrieves empty file IDs when storing new files, and obtains file IDs and stores files. . The file ID is then used to access the file. At this time, the file ID is declared and used as enumeration data.

도 1은 종래 이동 통신 단말기의 파일 용량 관리 방법에서 파일 생성 방법을 보인 동작 흐름도로서, 이에 도시된 바와 같이 파일을 생성하기 전에 생성된 파일 개수가 허용된 파일 개수보다 작은지를 판단하여 파일을 생성할지를 결정한다(S11).1 is a flowchart illustrating a file generation method in a file management method of a conventional mobile communication terminal. As shown in FIG. 1, it is determined whether a file is generated by determining whether the number of generated files is smaller than the allowed file number before generating a file. Determine (S11).

파일 생성이 결정되면 직접 이름, 파일 이름, 생성 모드를 지정하고 파일을 생성한다(S12). 파일이 생성되면 파일 핸들에 새로 생성된 파일 핸들을 할당한다(S13). 그리고, 생성된 파일 개수를 증가시키고 생성된 파일에 배치된 파일 아이디를 할당한다(S14).If it is determined to create a file, a name is directly designated, a file name, a generation mode, and a file is generated (S12). When the file is generated, the newly generated file handle is allocated to the file handle (S13). Then, the number of generated files is increased and a file ID disposed in the generated file is allocated (S14).

이와 반대로, 파일 생성이 거부되면 파일 핸들에 널을 할당하여 파일이 생성될 수 없음을 알린다(S15).On the contrary, if file creation is rejected, a null is assigned to the file handle to inform that a file cannot be generated (S15).

도 2는 종래 파일 용량 관리 방법에서 파일 접근 방법을 보인 동작 흐름도로서, 이에 도시된 바와 같이 파일에 접근하기 전에 접근할 파일의 아이디가 배치된 파일 아이디에 존재하는지를 판단하여 파일에 접근할지를 결정한다(S21).2 is a flowchart illustrating a file access method in the conventional file capacity management method. As shown in FIG. 2, before accessing a file, it is determined whether an ID of a file to be accessed exists in the arranged file ID to determine whether to access the file ( S21).

파일 접근이 결정되면 직접 이름, 파일 이름, 오픈 모드를 지정하고 파일을 연다(S22). 파일이 열리면 파일 핸들에 오픈한 파일 핸들을 할당한다(S23). 그리고, 오픈 파일 테이블에 파일 핸들을 등록한다(S24).When the file access is determined, the file is directly designated by the name, the file name, and the open mode (S22). When the file is opened, the open file handle is allocated to the file handle (S23). Then, the file handle is registered in the open file table (S24).

이와 반대로, 파일 접근이 거부되면 파일 핸들에 널을 할당하여 파일에 접근할 수 없음을 알린다(S25).On the contrary, if the file access is denied, a null is assigned to the file handle to inform that the file cannot be accessed (S25).

도 3은 종래 파일 용량 관리 방법에서 파일 기록 방법을 보인 동작 흐름도로서, 이에 도시된 바와 같이 파일을 기록하기 전에 파일 핸들, 요청_컨텐트, 요청_바이트를 지정하여 파일을 기록한다(S31).3 is a flowchart illustrating a file recording method in the conventional file capacity management method. As shown in FIG. 3, a file handle, a request_content, and a request_byte are specified before recording a file (S31).

이상, 종래 파일 관리 방법에서 파일 생성, 접근, 기록 동작을 살펴본 바와 같이 파일을 생성하거나 접근할 때 파일 아이디를 이용하여 파일을 관리함을 알 수 있다.As described above, the file creation, access, and recording operations of the conventional file management method can be seen that the file is managed using the file ID when the file is created or accessed.

그러나, 상기와 같은 종래 기술에 있어서, 이동 통신 단말기의 응용 프로그램에서는 파일 아이디를 사용하여 파일에 접근하지만 사용자에게는 파일 이름을 이용한 접근 방법으로 표시해 주어야 하므로 파일 관리가 이중화되어 복잡성이 증가하는 문제점이 있다.However, in the prior art as described above, although the application program of the mobile communication terminal accesses the file using the file ID, the user has to display the file using an access method using the file name, thereby increasing the complexity of the file management. .

또한, 사용자가 특정 파일 이름을 변경하거나 이동하는 경우에도 파일 관리의 복잡성이 더욱 증가되는 문제점이 있다.In addition, even if the user changes or moves a specific file name, there is a problem that the complexity of file management is further increased.

따라서, 본 발명은 상기와 같은 문제점을 감안하여 창안한 것으로, 파일 시스템의 저장 용량을 이용하여 파일을 관리할 수 있도록 한 이동 통신 단말기의 파일 용량 관리 방법을 제공함에 그 목적이 있다.Accordingly, the present invention has been made in view of the above problems, and an object thereof is to provide a file capacity management method of a mobile communication terminal which enables file management using a storage capacity of a file system.

도 1은 종래 이동 통신 단말기의 파일 용량 관리 방법에서 파일 생성 방법을 보인 동작 흐름도.1 is a flowchart illustrating a file generation method in a file capacity management method of a conventional mobile communication terminal.

도 2는 종래 파일 용량 관리 방법에서 파일 접근 방법을 보인 동작 흐름도.2 is a flowchart illustrating a file access method in the conventional file capacity management method.

도 3은 종래 파일 용량 관리 방법에서 파일 기록 방법을 보인 동작 흐름도.3 is an operation flowchart showing a file recording method in the conventional file capacity management method.

도 4는 본 발명에 따른 이동 통신 단말기의 파일 용량 관리 방법에서 파일 생성 방법을 보인 동작 흐름도.4 is a flowchart illustrating a file generation method in a file capacity management method of a mobile communication terminal according to the present invention;

도 5는 본 발명에 따른 파일 용량 관리 방법에서 파일 접근 방법을 보인 동작 흐름도.5 is an operation flowchart showing a file access method in a file capacity management method according to the present invention;

도 6은 본 발명에 따른 파일 용량 관리 방법에서 파일 기록 방법을 보인 동작 흐름도.6 is an operation flowchart showing a file recording method in the file capacity management method according to the present invention;

상기와 같은 목적을 달성하기 위한 본 발명은, 파일 생성이 요청되면 파일 시스템의 가용 용량을 확인하여 파일을 생성하는 단계와; 상기 파일 시스템에서 파일 접근이 요청되면 파일 이름이 디렉토리에 존재하는지를 확인하여 파일에 접근하는 단계와; 상기 파일 시스템에서 파일 기록이 요청되면 파일 시스템의 가용 용량을 확인하여 파일 기록을 수행하는 단계로 이루어진 것을 특징으로 한다.The present invention for achieving the above object, the step of generating a file by checking the available capacity of the file system when the file generation is requested; Accessing a file by checking whether a file name exists in a directory when a file access is requested from the file system; When the file recording is requested in the file system, the method may include verifying the available capacity of the file system and performing file recording.

이하, 본 발명에 따른 실시 예를 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명은 이동 통신 단말기에 저장되는 파일의 용량을 이용하여 가용 파일 용량을 관리한다. 또한, 파일 이름과 디렉토리 이름을 이용하여 파일에 접근함으로써 파일 이름과 파일 아이디의 연결에 필요한 복잡성을 제거한다.The present invention manages the available file capacity by using the capacity of the file stored in the mobile communication terminal. In addition, accessing files using file names and directory names eliminates the complexity of associating file names with file IDs.

본 발명에 따른 파일 시스템의 파일 용량 관리 방법은 파일 시스템의 전체 용량과 가용 용량을 정의한다. 그리고, 새로 파일을 생성할 때 파일 시스템의 가용 용량을 확인하고 생성할 파일의 크기와 가용 용량을 비교한다. 파일 시스템의 가용용량이 부족하면 파일 생성을 거부한다. 이와 반대로 가용 용량이 충분하면 파일을 생성하고 생성된 파일 크기를 가용 용량에서 감한다.The file capacity management method of the file system according to the present invention defines the total capacity and available capacity of the file system. When a new file is created, the available capacity of the file system is checked and the size and the available capacity of the file to be created are compared. If the file system does not have enough available space, it will refuse to create the file. On the contrary, if the available capacity is sufficient, a file is created and the generated file size is subtracted from the available capacity.

파일을 관리하는데 사용되는 자료 구조는 저장할 수 있는 총 바이트, 저장되어 있는 파일의 총 바이트, 저장되어 있는 파일 수를 변수로 선언한다.The data structure used to manage a file declares the variables as the total bytes that can be stored, the total bytes of the files that are stored, and the number of files that are stored.

도 4는 본 발명에 따른 이동 통신 단말기의 파일 용량 관리 방법에서 파일 생성 방법을 보인 동작 흐름도로서, 이에 도시된 바와 같이 파일을 생성하기 전에 저장할 수 있는 총 바이트가 저장되어 있는 파일의 총 바이트와 요청된 총 바이트의 합보다 작은지를 판단하여 파일을 생성할지를 결정하는 단계(S41)와; 상기 파일 생성이 결정되면 직접 이름, 파일 이름, 생성 모드를 지정하고 파일을 생성하는 단계(S42)와; 상기 파일이 생성되면 파일 핸들에 새로 생성된 파일 핸들을 할당하는 단계(S43)와; 생성된 파일 개수를 증가시키고 상기 저장되어 있는 총 바이트에 요청된 총 바이트를 더하고 오픈 파일 테이블에 생성된 파일을 등록하는 단계(s44)와; 상기 파일 생성이 거부되면 파일 핸들에 널을 할당하여 파일이 생성될 수 없음을 알리는 단계(S45)로 이루어진다.FIG. 4 is a flowchart illustrating a file generation method in a file capacity management method of a mobile communication terminal according to the present invention. As shown in FIG. 4, the total bytes and requests of a file in which total bytes that can be stored before the file is generated are stored. Determining whether to generate a file by determining whether the sum is less than the total number of bytes (S41); If the file generation is determined, directly specifying a name, a file name, a generation mode, and generating a file (S42); Assigning a newly created file handle to a file handle when the file is generated (S43); Increasing the number of generated files, adding the requested total bytes to the stored total bytes, and registering the generated files in the open file table (s44); If the file creation is denied, a step (S45) is performed informing that a file cannot be generated by allocating null to a file handle.

파일을 생성하기 전에 저장할 수 있는 총 바이트가 저장되어 있는 파일의 총 바이트와 요청된 총 바이트의 합보다 작은지를 판단하여 파일을 생성할지를 결정한다(S41).Before generating the file, it is determined whether the file is generated by determining whether the total bytes that can be stored are smaller than the sum of the total bytes of the stored file and the total bytes requested (S41).

파일 생성이 결정되면 직접 이름, 파일 이름, 생성 모드를 지정하고 파일을 생성한다(S42). 파일이 생성되면 파일 핸들에 새로 생성된 파일 핸들을 할당한다(S43). 그리고, 생성된 파일 개수를 증가시키고 저장되어 있는 총 바이트에 요청된 총 바이트를 더하고 오픈 파일 테이블에 생성된 파일을 등록한다(S44).If the file generation is determined, the name, file name, generation mode are specified directly and the file is generated (S42). When the file is generated, a newly generated file handle is allocated to the file handle (S43). The number of generated files is increased, the requested total bytes are added to the total bytes stored, and the generated files are registered in the open file table (S44).

이와 반대로, 파일 생성이 거부되면 파일 핸들에 널을 할당하여 파일이 생성될 수 없음을 알린다(S45).On the contrary, if file creation is rejected, a null is assigned to the file handle to inform that the file cannot be generated (S45).

도 5는 본 발명에 따른 파일 용량 관리 방법에서 파일 접근 방법을 보인 동작 흐름도로서, 이에 도시된 바와 같이 파일에 접근하기 전에 접근할 파일의 이름이 디렉토리에 존재하는지를 판단하여 파일에 접근할지를 결정하는 단계(S51)와; 상기 파일 접근이 결정되면 직접 이름, 파일 이름, 오픈 모드를 지정하고 파일을 여는 단계(S52)와; 상기 파일이 열리면 파일 핸들에 오픈한 파일 핸들을 할당하고 오픈 파일 파일 테이블에 파일 핸들을 등록하는 단계(S53, S54)와; 상기 파일 접근이 거부되면 파일 핸들에 널을 할당하여 파일에 접근할 수 없음을 알리는 단계(S55)로 이루어진다.FIG. 5 is a flowchart illustrating a file access method in the file capacity management method according to the present invention. As shown in FIG. 5, a step of determining whether to access a file is determined by determining whether a file name to be accessed exists in a directory before accessing the file. (S51); If the file access is determined, directly specifying a name, a file name, an open mode, and opening the file (S52); When the file is opened, allocating the open file handle to the file handle and registering the file handle in the open file file table (S53 and S54); If the file access is denied, the step of assigning a null to the file handle indicates that the file cannot be accessed (S55).

파일에 접근하기 전에 접근할 파일의 이름이 디렉토리에 존재하는지를 판단하여 파일에 접근할지를 결정한다(S51).Before accessing the file, it is determined whether the name of the file to be accessed exists in the directory to determine whether to access the file (S51).

파일 접근이 결정되면 직접 이름, 파일 이름, 오픈 모드를 지정하고 파일을 연다(S52). 파일이 열리면 파일 핸들에 오픈한 파일 핸들을 할당한다(S53). 그리고, 오픈 파일 테이블에 파일 핸들을 등록한다(S54).When the file access is determined, the name is directly specified, the file name, the open mode, and the file is opened (S52). When the file is opened, the open file handle is allocated to the file handle (S53). Then, the file handle is registered in the open file table (S54).

이와 반대로, 파일 접근이 거부되면 파일 핸들에 널을 할당하여 파일에 접근할 수 없음을 알린다(S55).On the contrary, if the file access is denied, a null is assigned to the file handle to inform that the file cannot be accessed (S55).

도 6은 본 발명에 따른 파일 용량 관리 방법에서 파일 기록 방법을 보인 동작 흐름도로서, 이에 도시된 바와 같이 파일을 기록하기 전에 저장할 수 있는 총바이트가 저장되어 있는 파일의 총 바이트와 요청된 총 바이트의 합보다 작은지를 판단하여 파일을 기록할지를 결정하는 단계(S61)와; 상기 파일 기록이 결정되면 파일 핸들, 요청_컨텐트, 요청_바이트를 지정하여 파일을 기록하는 단계(S62)와; 상기 저장되어 있는 파일의 총 바이트에 요청된 총 바이트를 더하는 단계(S63)와; 상기 파일 기록이 거부되면 기록 에러가 났음을 지정하여 알리는 단계(S64)로 이루어진다.FIG. 6 is a flowchart illustrating a file recording method in the file capacity management method according to the present invention. As shown in FIG. 6, the total bytes of the file and the total bytes requested are stored. Determining whether or not to record the file by determining whether it is smaller than the sum (S61); Recording the file by specifying a file handle, a request_content, and a request_byte when the file recording is determined (S62); Adding the requested total bytes to the total bytes of the stored file (S63); If the file recording is rejected, a step (S64) is performed in which a recording error has been specified.

파일을 기록하기 전에 저장할 수 있는 총 바이트가 저장되어 있는 파일의 총 바이트와 요청된 총 바이트의 합보다 작은지를 판단하여 파일을 기록할지를 결정한다(S61).Before recording the file, it is determined whether the file is to be recorded by determining whether the total bytes that can be stored are smaller than the sum of the total bytes of the stored file and the total bytes requested (S61).

파일 기록이 결정되면 파일 핸들, 요청_컨텐트, 요청_바이트를 지정하여 파일을 기록한다(S62). 그리고, 저장되어 있는 파일의 총 바이트에 요청된 총 바이트를 더한다(S63).When the file recording is determined, the file is recorded by specifying a file handle, a request_content, and a request_byte (S62). Then, the requested total bytes are added to the total bytes of the stored file (S63).

이와 반대로, 파일 기록이 거부되면 기록 에러가 났음을 지정하여 알린다(S64).On the contrary, if file recording is rejected, a notification is made by specifying that a recording error has occurred (S64).

이상, 파일 용량 관리 방법에서 파일 생성, 접근, 기록 동작을 살펴본 바와 같이 파일을 생성하거나 기록할 때 파일 시스템의 가용 용량을 확인하여 파일 생성, 기록 동작을 수행한다. 그리고, 파일에 접근할 때는 파일 이름을 사용하여 파일에 접근함을 알 수 있다.As described above, in the file capacity management method, the file creation, access, and recording operations are performed to check the available capacity of the file system when creating or recording a file, thereby performing the file creation and recording operation. And, when accessing a file, we know that the file is accessed using the file name.

이상에서 상세히 설명한 바와 같이, 본 발명은 파일 시스템의 가용 용량을확인하여 파일을 관리하므로 파일 저장 공간의 낭비를 막아 효율을 높이는 효과가 있다.As described in detail above, the present invention manages the file by checking the available capacity of the file system, thereby preventing the waste of file storage space and increasing the efficiency.

또한, 파일 접근시 파일 이름과 디렉토리 이름을 사용하여 파일에 접근하므로 파일 관리가 이중화되지 않아 파일 이름 변경이 용이하고 관리 대상 파일의 잦은 변경에도 용이하게 대응하는 효과가 있다.In addition, since the file is accessed using the file name and the directory name when accessing the file, the file management is not duplicated, so the file name can be easily changed and the file can be frequently changed.

Claims (4)

파일 생성이 요청되면 파일 시스템의 가용 용량을 확인하여 파일을 생성하는 단계와; 상기 파일 시스템에서 파일 접근이 요청되면 파일 이름이 디렉토리에 존재하는지를 확인하여 파일에 접근하는 단계와; 상기 파일 시스템에서 파일 기록이 요청되면 파일 시스템의 가용 용량을 확인하여 파일 기록을 수행하는 단계로 이루어진 것을 특징으로 하는 이동 통신 단말기의 파일 용량 관리 방법.Generating a file by checking an available capacity of the file system when a file generation is requested; Accessing a file by checking whether a file name exists in a directory when a file access is requested from the file system; And checking the available capacity of the file system when the file recording is requested in the file system, and performing file recording. 제1항에 있어서, 상기 파일 생성은 저장할 수 있는 총 바이트가 저장되어 있는 파일의 총 바이트와 요청된 총 바이트의 합보다 작은지를 판단하여 파일을 생성할지를 결정하는 단계와; 상기 파일 생성이 결정되면 직접 이름, 파일 이름, 생성 모드를 지정하고 파일을 생성하는 단계와; 상기 파일이 생성되면 파일 핸들에 새로 생성된 파일 핸들을 할당하는 단계와; 생성된 파일 개수를 증가시키고 상기 저장되어 있는 총 바이트에 요청된 총 바이트를 더하고 오픈 파일 테이블에 생성된 파일을 등록하는 단계와; 상기 파일 생성이 거부되면 파일 핸들에 널을 할당하여 파일이 생성될 수 없음을 알리는 단계로 이루어진 것을 특징으로 하는 이동 통신 단말기의 파일 용량 관리 방법.2. The method of claim 1, wherein the file generation comprises: determining whether to generate a file by determining whether the total bytes that can be stored are less than the sum of the total bytes of the stored file and the total bytes requested; If the file generation is determined, directly specifying a name, a file name, a generation mode, and generating a file; Allocating a newly created file handle to a file handle when the file is created; Increasing the number of generated files, adding the requested total bytes to the stored total bytes, and registering the generated files in an open file table; And notifying that a file cannot be generated by allocating a null to a file handle when the file generation is denied. 제1항에 있어서, 상기 파일 접근은 접근할 파일의 이름이 디렉토리에 존재하는지를 판단하여 파일에 접근할지를 결정하는 단계와; 상기 파일 접근이 결정되면직접 이름, 파일 이름, 오픈 모드를 지정하고 파일을 여는 단계와; 상기 파일이 열리면 파일 핸들에 오픈한 파일 핸들을 할당하고 오픈 파일 테이블에 파일 핸들을 등록하는 단계와; 상기 파일 접근이 거부되면 파일 핸들에 널을 할당하여 파일에 접근할 수 없음을 알리는 단계로 이루어진 것을 특징으로 하는 이동 통신 단말기의 파일 용량 관리 방법.The method of claim 1, wherein the file access comprises: determining whether to access a file by determining whether a name of a file to be accessed exists in a directory; If the file access is determined, directly specifying a name, a file name, an open mode, and opening the file; When the file is opened, allocating the open file handle to the file handle and registering the file handle in the open file table; And notifying that the file cannot be accessed by assigning a null to the file handle when the file access is denied. 제1항에 있어서, 상기 파일 기록은 저장할 수 있는 총 바이트가 저장되어 있는 파일의 총 바이트와 요청된 총 바이트의 합보다 작은지를 판단하여 파일을 기록할지를 결정하는 단계와; 상기 파일 기록이 결정되면 파일 핸들, 요청_컨텐트, 요청_바이트를 지정하여 파일을 기록하는 단계와; 상기 저장되어 있는 파일의 총 바이트에 요청된 총 바이트를 더하는 단계와; 상기 파일 기록이 거부되면 기록 에러가 났음을 지정하여 알리는 단계로 이루어진 것을 특징으로 하는 이동 통신 단말기의 파일 용량 관리 방법.2. The method of claim 1, wherein the file recording further comprises: determining whether to record the file by determining whether the total bytes that can be stored are less than the sum of the total bytes of the stored file and the total bytes requested; Recording the file by specifying a file handle, a request_content, and a request_byte when the file recording is determined; Adding the requested total bytes to the total bytes of the stored file; And notifying that a recording error has occurred when the file recording is rejected.
KR1020030021429A 2003-04-04 2003-04-04 File content management method for mobile communication terminal KR20040087161A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020030021429A KR20040087161A (en) 2003-04-04 2003-04-04 File content management method for mobile communication terminal
CNA031577121A CN1536922A (en) 2003-04-04 2003-08-29 File storage space management method for mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030021429A KR20040087161A (en) 2003-04-04 2003-04-04 File content management method for mobile communication terminal

Publications (1)

Publication Number Publication Date
KR20040087161A true KR20040087161A (en) 2004-10-13

Family

ID=34374052

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030021429A KR20040087161A (en) 2003-04-04 2003-04-04 File content management method for mobile communication terminal

Country Status (2)

Country Link
KR (1) KR20040087161A (en)
CN (1) CN1536922A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100426905C (en) * 2005-11-19 2008-10-15 华为技术有限公司 Method and system for realizing virtual storage in mobile terminal
CN102053834A (en) * 2010-12-29 2011-05-11 北京握奇数据系统有限公司 Method and device for storing JAVA object
CN102130954A (en) * 2011-03-17 2011-07-20 华为技术有限公司 Method and device for transmitting data resources

Also Published As

Publication number Publication date
CN1536922A (en) 2004-10-13

Similar Documents

Publication Publication Date Title
US9990295B2 (en) Method for increasing cache size
JP2724269B2 (en) Data storage management system and method for performing storage allocation based on requested service class
US9075851B2 (en) Method and apparatus for data retention in a storage system
EP3002672B1 (en) Apparatus for increasing data storage capacity
US7779426B2 (en) Describing and querying discrete regions of flash storage
US9037828B2 (en) Transferring storage resources between snapshot storage pools and volume storage pools in a data storage system
US8838926B2 (en) Interacting with data in hidden storage
US20050114438A1 (en) Apparatus, system, and method for modeling for storage provisioning
KR102440128B1 (en) Memory management divice, system and method for unified object interface
US10802726B2 (en) Optimized placement of data contained in a garbage collected storage system
CN111638853A (en) Data storage method and device, storage cluster, gateway equipment and main equipment
JP2005135116A (en) Storage device and access control method thereof
KR20040087161A (en) File content management method for mobile communication terminal
US7246201B2 (en) System and method for quickly accessing user permissions in an access control list
US6978278B2 (en) System and method for heterogeneous caching
EP3987402A1 (en) Arena-based memory management
US8694546B2 (en) Optimized fetching for customization object attributes
WO2010091607A1 (en) Method for providing custom access control mode in file system
CN114518962A (en) Memory management method and device
US11204717B2 (en) Object storage system with access control quota status check
US7533225B1 (en) Method and apparatus for enabling adaptive endianness
JP4304308B2 (en) Storage device and logical storage device allocation control method
US11157205B2 (en) Object storage system with control entity quota enforcement
JP5368115B2 (en) Techniques for using system unique identifiers in architectures with file systems utilizing distributed metadata servers
KR100472204B1 (en) Logical volume manager system having mapping table structure and snapshot method using the same

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application