CN103324643B - Terminal device and method for establishing or modifying files - Google Patents

Terminal device and method for establishing or modifying files Download PDF

Info

Publication number
CN103324643B
CN103324643B CN201210080392.8A CN201210080392A CN103324643B CN 103324643 B CN103324643 B CN 103324643B CN 201210080392 A CN201210080392 A CN 201210080392A CN 103324643 B CN103324643 B CN 103324643B
Authority
CN
China
Prior art keywords
file
processing unit
memory area
labelling
header
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201210080392.8A
Other languages
Chinese (zh)
Other versions
CN103324643A (en
Inventor
杨良印
易贤群
李凡智
郭强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210080392.8A priority Critical patent/CN103324643B/en
Publication of CN103324643A publication Critical patent/CN103324643A/en
Application granted granted Critical
Publication of CN103324643B publication Critical patent/CN103324643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for establishing or modifying files and a terminal device. The method is applied to the terminal device. The terminal device comprises a storage unit, wherein the storage unit stores system data and user data required by system recovery in a first storage region. The method comprises the steps as follows; when a first file is established or modified, whether a second file corresponding to the first file exists in the first storage region is judged; if the second file corresponding to the first file exists in the first storage region, the first file is saved in a second storage region of the storage unit; and a first mark is added in a file header of the first file.

Description

Terminal unit and document creation or amending method
Technical field
The present invention relates to a kind of terminal unit and document creation or amending method.
Background technology
Currently, in order to eliminate the invasion of the rogue program of virus or wooden horse etc, or in order to avoid such as PC, notebook Or the operating system of the terminal unit of panel computer etc becomes more and more too fat to move, the operating system of terminal unit is (e.g., Windows or Android) system recovery program or function generally can be provided.For example, some system recovery programs or function are led to Often be directed to certain document retrieval (whether can be retrieved with unfolding mode with file) in the file in its system recovery region its Whether there is corresponding file in corresponding folder.If there is this corresponding file, then delete this corresponding file, and use File in system recovery file carrys out recovery operation system.Additionally, if there is no this corresponding file, then by system recovery Piece file mergence in file carrys out recovery operation system.However, due to needing for each file in system recovery file Each file execution aforesaid operations in folder, therefore this system recovery program or function are generally inefficient.
Content of the invention
Therefore, in order to solve above-mentioned technical problem of the prior art, according to an aspect of the present invention, provide a kind of file Create or amending method, be applied to terminal unit, described terminal unit includes memory element, wherein said memory element is first In memory area, storage system recovers required system data and user data, and methods described includes:In execution the first file Establishment or during modification, judge in described first memory area with the presence or absence of second file corresponding with described first file; If there is second file corresponding with described first file in described first memory area, the of described memory element Described first file is preserved in two memory areas;And add the first labelling in the file header of described first file.
Additionally, according to one embodiment of present invention, methods described further includes:If in described first memory area In there is not second file corresponding with described first file, then preserve described in the second memory area of described memory element First file;And do not add the first labelling in the file header of described first file.
Additionally, according to one embodiment of present invention, wherein said first file and described second file have identical Filename and logical directories address;And described first file is the copy of described second file.
Additionally, according to one embodiment of present invention, wherein said first labelling indicates in described first memory area There is described second file corresponding with described first file.
Additionally, according to one embodiment of present invention, methods described further includes:When executing directory, judge Whether there is described first labelling in the file header of described first file under described catalogue;If it is determined that the institute under described catalogue There is described first labelling in the file header stating the first file, then delete in the Query Result of described directory and described the The related query term of two files.
Additionally, according to a further aspect in the invention, provide a kind of terminal unit, including:Memory element, wherein said storage Unit storage system in the first memory area recovers required system data and user data;And processing unit, configuration To process based on default program performing, wherein when described processing unit executes establishment or the modification of the first file, described place Reason unit judges whether there is second file corresponding with described first file in described first memory area;If described There is second file corresponding with described first file, then processing unit is the second of described memory element in first memory area Described first file is preserved in memory area;And described processing unit adds the first mark in the file header of described first file Note.
Additionally, according to one embodiment of present invention, if wherein do not exist in described first memory area with described Corresponding second file of first file, then processing unit preserve in the second memory area of described memory element described first literary composition Part, and described processing unit does not add the first labelling in the file header of described first file.
Additionally, according to one embodiment of present invention, wherein said first file and described second file have identical Filename and logical directories address;And described first file is the copy of described second file.
Additionally, according to one embodiment of present invention, wherein said first labelling indicates in described first memory area There is described second file corresponding with described first file.
Additionally, according to one embodiment of present invention, wherein in described processing unit execution directory, described process Whether there is described first labelling in the file header of described first file under catalogue described in unit judges;If processing unit is true There is described first labelling, then described processing unit is in described catalogue in the file header of described first file under fixed described catalogue The query term related to described second file is deleted in the Query Result of inquiry.
Brief description
Fig. 1 is the block diagram of diagram terminal unit according to embodiments of the present invention;And
Fig. 2 is the flow chart of diagram document creation according to embodiments of the present invention or amending method.
Specific embodiment
Will be described in detail with reference to the accompanying drawings each embodiment according to the present invention.Here it is to be noted that it in the accompanying drawings, Identical reference is given the ingredient substantially with same or like 26S Proteasome Structure and Function, and will omit with regard to it Repeated description.
Below with reference to Fig. 1, terminal unit according to embodiments of the present invention is described.Fig. 1 is that diagram is according to embodiments of the present invention Terminal unit block diagram.Here, terminal unit according to embodiments of the present invention can include PC, notebook or panel computer Etc..
As shown in figure 1, terminal unit 1 according to embodiments of the present invention can include memory element 11 and processing unit 12.
Memory element 11 can be realized by arbitrary hard disk and/or flash memory (solid state hard disc), and can store terminal and set The routine data of standby operating system and user data.
Here, memory element 11 can in default memory area (hereinafter referred to as system recovery region) storage system Recover required operating system data and user data.Here, the operating system of usual configurating terminal device is so that system is extensive Multiple region is invisible generally for user.
Processing unit 12 can be realized by arbitrary processor or microprocessor.Processing unit 12 can be based on default journey Sequence (operating system program or application program) executes predetermined process.
According to embodiments of the invention, can with the operating system of configurating terminal device so that processing unit 12 execute a certain The establishment of file (the hereinafter referred to as first file) or modification when, processing unit 12 judge in system recovery region whether there is with The corresponding file of file (the hereinafter referred to as second file) creating or changing.
Here, if there is second file corresponding with the first file in system recovery region, processing unit 12 exists This first file is preserved in another memory area (hereinafter referred to as file storage area) of memory element 11.In this case, Processing unit 12 adds specific markers also in the file header of this first file.Here it is to be noted that it the first file and Second file has identical filename (e.g., being 1.txt) and logical directories address (e.g., C:\abc\1.txt).Here, First file is the copy of the second file.According to embodiments of the invention, the second file is to be initial shape by operating system recovery File needed for state (e.g., factory state or user-defined original state), and be sightless (general for a user It is described below).In this case, In the view of user any to file (e.g., the C needed for operating system recovery:\abc\ Modification 1.txt) or the modification creating the first file (copy of the second file) being actually directed in file storage area Or create, without any change is produced to the second file in system recovery region.Here it is possible to the behaviour of configurating terminal device Even if making system so that the first file and the second file have identical filename and logical address (physical address is different), place Operations that are all and creating or modification is related can also be directed to the first literary composition by the physical address of the first file by reason unit 12 Part rather than the second file.In this case, in the file that the file creating or change is needed for operating system recovery, institute There is the modification for file to be all embodied in the first file, and the second file maintains the original state, thus can be in operating system recovery Recovery operation system is come by the file (comprising the second file) in system recovery region.
The operation of processing unit 12 execution is described below taking file 1.txt as a example.Here, the process of processing unit 12 also may be used To be applied on other any type of files.
For example, in user, the first file (e.g., 1.txt) or modification file are created by the operating system of terminal unit (1.txt) in the case of content, documentor in operating system can be configured so that processing unit 12 execution this The establishment of one file (1.txt) or modification when, processing unit 12 judge in system recovery region whether there is with created or Corresponding second file of the file (1.txt) (1.txt) of modification.In this case, processing unit 12 can utilize and first The filename of file carrys out retrieval in system recovery region to determine system recovery with the presence or absence of the file with same file name Whether there is corresponding second file in region.
Here, if there is second file (1.txt) corresponding with the first file (1.txt) in system recovery region, Then processing unit 12 preserve in the file storage area in memory element 11 this first file (include modification or create interior Hold).Here, the file storage area in memory element 11 and system recovery region can be mutually different in memory element 11 Two regions.If additionally, there is second file corresponding with the first file (1.txt) in system recovery region (1.txt), then processing unit 12 adds specific markers also in the file header of this first file.Here, specific markers can refer to Show presence second file corresponding with this first file in system recovery region.It is, this specific markers can represent this First file is the copy of the second file.Here, according to embodiments of the invention, processing unit 12 can be based on this specific markers Determine that all operations related to content creating or modification are directed to this first file (rather than second file).Specifically, by There is in any type of file the file header of same format, this specific mark therefore can be set in the file header of various files Note.For example, it is possible to arrange this labelling in the field of the reservation region (Reserved) of file header.Here, specific markers are permissible It is any type of non-zero binary value.
If additionally, processing unit 12 determines do not existed in system recovery region and first file creating or changing (e.g., 1.txt) corresponding second file, then processing unit 12 preserve in the file storage area of memory element 11 this first literary composition Part, and in the file header of this first file, do not add specific markers.
By above-mentioned configuration, in the case that user wishes that execution system is recovered, processing unit 12 need not be as prior art In be directed to like that in each the ff corresponding folder in the file in system recovery region and whether there is corresponding literary composition Part come to execute operating system recovery (if there is this corresponding file, then delete this corresponding file, and with system recovery literary composition File in part folder carrys out recovery operation system, if there is no this corresponding file, then by the file in system recovery file Merge to come recovery operation system.).According to embodiments of the invention, processing unit 12 can be by directly deleting memory element 11 In file storage area in file, and operation is executed based on the file in the system recovery region in memory element 11 The recovery of system, thus substantially reduces the time of operating system recovery and improves the efficiency of operating system recovery.
Additionally, when processing unit 12 executes arbitrary directory, processing unit 12 judges the first literary composition under this catalogue Whether there is specific markers in the file header of part.Here, if processing unit 12 determines the file of the first file under this catalogue There are specific markers, then processing unit 12 deletes the inquiry related to the second file in the Query Result of this directory in head ?.
Specifically, user is in the operating system of using terminal equipment, often using the directory work(of operating system Energy.For example, in the case that user clicks on certain file, processing unit can execute catalogue under the control of an operating system and look into Ask, and the All Files under this catalogue is shown to user.In such a case, it is possible to the operation of configurating terminal device System is so that processing unit 12 judges to whether there is specific mark in the file header of the file under this catalogue when executing directory Note.For example, if there are specific markers in the file header of certain file under processing unit 12 this directory result of determination, Processing unit 12 can determine presence second file corresponding with this document in system recovery region, and this document is first File (copy of the second file).In this case, because the first file and the second file have identical filename and patrol Volume address, therefore in order to avoid after performing directory, showing the first file and the in directory result simultaneously Two files, can be with the operating system of configurating terminal device so that processing unit 12 be deleted in the Query Result of this directory The query term related to the second file, thus avoid the generation of mistake.If additionally, processing unit 12 determines this directory There are not specific markers, then processing unit 12 can determine in system recovery region in the file header of the first file under structure There is not second file corresponding with this document.In this case, processing unit 12 need not change to directory result Dynamic.
By above-mentioned configuration, the file (the second file) needed in operating system recovery and its copy (the first file) are simultaneously In the presence of, processing unit 12 can be determined by the specific markers in the first file and is being when executing directory System recovers there is second file corresponding with the first file in region, and does not need to show this second file.In this situation Under, processing unit 12 deletes query term corresponding with the second file in directory result, thus avoids tying in directory The appearance of two files with identical filename and logical address occurs in fruit.
Below with reference to Fig. 2, document creation according to embodiments of the present invention or amending method are described.Fig. 2 is to illustrate according to this The document creation of inventive embodiments or the flow chart of amending method.Here, the method for Fig. 2 may apply to the terminal shown in Fig. 1 In equipment, wherein terminal unit includes recovering required system data and user for storage system in system recovery region The memory element of data.
As shown in Fig. 2 in step S201, in the establishment executing the first file or modification, judging in system recovery region In whether there is second file corresponding with the first file.
Specifically, create the situation of the content of the first file or modification file by the operating system of terminal unit in user Under, processing unit 12 can execute establishment or the modification of this first file.Now, processing unit 12 may determine that in system recovery Whether there is in region and corresponding second file of file that creates or change.Here it is to be noted that it the first file with And second file there is identical filename (e.g., being 1.txt) and logical directories address (e.g., C:Abc 1.txt), and And first file be the second file copy.Here, the second file is that for original state, (e.g., dispatch from the factory shape by operating system recovery State or user-defined original state) needed for file.Here, processing unit 12 can be using the filename with the first file Carry out retrieval in system recovery region to determine in system recovery region whether deposit with the presence or absence of the file with same file name In corresponding second file.
In step S202, if there is second file corresponding with the first file in system recovery region, in storage This first file is preserved in the file storage area of unit.
Specifically, if there is second file corresponding with the first file (1.txt) in system recovery region (1.txt), then processing unit 12 preserves this first file (inclusion modification or wound in the file storage area in memory element 11 The content built).
In step S203, the file header of the first file adds specific markers.
Specifically, if there is second file corresponding with the first file (1.txt) in system recovery region (1.txt), then processing unit 12 adds specific markers also in the file header of this first file.Here, specific markers can refer to Show presence second file corresponding with this first file in system recovery region.It is, this specific markers can represent this First file is the copy of the second file, and processing unit 12 can based on this specific markers determine all with content creating or The related operation of modification is directed to this first file (rather than second file).Here, because any type of file has phase With the file header of form, this specific markers therefore can be set in the file header of various files.For example, it is possible in file header In the field of reservation region (Reserved), this labelling is set.Here, specific markers can be any type of non-zero binary system Value.
Additionally, the method for Fig. 2 can further include step:If do not existed in system recovery memory area and the Corresponding second file of one file, then preserve the first file in the file storage area of memory element;And not in the first literary composition Add specific markers in the file header of part.
Specifically, if processing unit 12 determines there is not the first literary composition creating or changing with institute in system recovery region Corresponding second file of part, then processing unit 12 preserve in the file storage area of memory element 11 this first file (include Modification or the content creating), and in the file header of this first file, do not add specific markers.
Additionally, the method for Fig. 2 can further include step:When executing directory, judge first under catalogue Whether there is specific markers in the file header of file;If it is determined that there is specific mark in the file header of the first file under catalogue Note, then delete the query term related to the second file in the Query Result of directory.
Specifically, when processing unit 12 executes arbitrary directory, processing unit 12 judges first under this catalogue Whether there is specific markers in the file header of file.Here, if processing unit 12 determines the literary composition of the first file under this catalogue There are specific markers, then processing unit 12 deletes look into related to the second file in the Query Result of this directory in part head Ask item.For example, user is in the operating system of using terminal equipment, often using the directory function of operating system.? In the case that user clicks on certain file, processing unit can execute directory under the control of an operating system, and should All Files under catalogue is shown to user.In such a case, it is possible to the operating system of configurating terminal device is so that locate Reason unit 12 judges to whether there is specific markers in the file header of the file under this catalogue when executing directory.For example, such as There are specific markers, then processing unit 12 in the file header of certain file under fruit processing unit 12 this directory result of determination Can determine presence second file corresponding with this document in system recovery region, and this document is the copy of the second file (the first file).In this case, because the first file and the second file have identical filename and logical address, therefore In order to avoid after performing directory, showing the first file and the second file in directory result simultaneously, permissible The operating system of configurating terminal device is so that processing unit 12 is deleted and the second file phase in the Query Result of this directory The query term closing, thus avoid the generation of mistake.If additionally, processing unit 12 determines first under this directory structure There are not specific markers, then processing unit 12 can determine do not exist and this article in system recovery region in the file header of file Corresponding second file of part.In this case, processing unit 12 need not be modified to directory result.
By above-mentioned configuration, the file (the second file) needed in operating system recovery and its copy (the first file) are simultaneously In the presence of, processing unit 12 can be determined by the specific markers in the first file and is being when executing directory System recovers to exist second file corresponding with the first file in region.In this case, processing unit 12 is tied in directory Delete query term corresponding with the second file in fruit, thus avoid appearance two in directory result to have identical file The appearance of the file of name and logical address.Additionally, in the case that user wishes that execution system is recovered, processing unit 12 only needs Directly delete the file in the file storage area in memory element 11, and based on the system recovery region in memory element 11 In the recovery to execute operating system for the file, thus substantially reduce time of operating system recovery and to improve operating system extensive Multiple efficiency.
Each embodiment of the present invention has been described in detail above.However, it should be appreciated by those skilled in the art that not taking off In the case of the principle and spirit of the present invention, these embodiments can be carried out with various modifications, combination or sub-portfolio, and so Modification should fall within the scope of the present invention.

Claims (10)

1. a kind of document creation or amending method, is applied to a terminal unit, and described terminal unit includes memory element, wherein institute State memory element storage system in the first memory area and recover required system data and user data, methods described bag Include:
In the establishment executing the first file or modification, judge to whether there is in described first memory area and the described first literary composition Corresponding second file of part;
If there is second file corresponding with described first file in described first memory area, in described memory element The second memory area in preserve described first file;And
Add the first labelling in the file header of described first file.
2. the method for claim 1, further includes:
If there is not second file corresponding with described first file in described first memory area, single in described storage Described first file is preserved in second memory area of unit;And
Do not add the first labelling in the file header of described first file.
3. the method for claim 1, wherein
Described first file and described second file have identical filename and logical directories address;And
Described first file is the copy of described second file.
4. the method for claim 1, wherein
There is described second file corresponding with described first file in described first labelling instruction in described first memory area.
5. method as claimed in claim 4, further includes:
When executing directory, judge in the file header of described first file under described catalogue, to whether there is described first mark Note;
If it is determined that there is described first labelling in the file header of described first file under described catalogue, then look in described catalogue The query term related to described second file is deleted in the Query Result ask.
6. a kind of terminal unit, including:
Memory element, wherein said memory element storage system in the first memory area recovers required system data and use User data;And
Processing unit, is configured to based upon default program performing and processes,
Wherein
When described processing unit executes establishment or the modification of the first file, described processing unit judges in described first memory block Whether there is second file corresponding with described first file in domain;
If there is second file corresponding with described first file in described first memory area, processing unit is described Described first file is preserved in second memory area of memory element;And
Described processing unit adds the first labelling in the file header of described first file.
7. terminal unit as claimed in claim 6, wherein
If there is not second file corresponding with described first file in described first memory area, processing unit is in institute Preserve described first file in the second memory area stating memory element, and described processing unit is not in described first file Add the first labelling in file header.
8. terminal unit as claimed in claim 6, wherein
Described first file and described second file have identical filename and logical directories address;And
Described first file is the copy of described second file.
9. terminal unit as claimed in claim 6, wherein
There is described second file corresponding with described first file in described first labelling instruction in described first memory area.
10. terminal unit as claimed in claim 9, wherein
In described processing unit execution directory, described processing unit judges the literary composition of described first file under described catalogue Whether there is described first labelling in part head;
If processing unit determines there is described first labelling in the file header of described first file under described catalogue, described Processing unit deletes the query term related to described second file in the Query Result of described directory.
CN201210080392.8A 2012-03-23 2012-03-23 Terminal device and method for establishing or modifying files Active CN103324643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210080392.8A CN103324643B (en) 2012-03-23 2012-03-23 Terminal device and method for establishing or modifying files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210080392.8A CN103324643B (en) 2012-03-23 2012-03-23 Terminal device and method for establishing or modifying files

Publications (2)

Publication Number Publication Date
CN103324643A CN103324643A (en) 2013-09-25
CN103324643B true CN103324643B (en) 2017-02-08

Family

ID=49193390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210080392.8A Active CN103324643B (en) 2012-03-23 2012-03-23 Terminal device and method for establishing or modifying files

Country Status (1)

Country Link
CN (1) CN103324643B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE112014005455A5 (en) * 2013-11-28 2016-08-11 Patrick Faulwetter Platform device for providing qualitative swarm knowledge

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1408084A (en) * 2000-03-01 2003-04-02 电脑联合想象公司 Method and system for updating an archive of a computer file
CN1417689A (en) * 2001-11-08 2003-05-14 联想(北京)有限公司 Fixed disk data enciphering back-up and restoring method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5479654A (en) * 1990-04-26 1995-12-26 Squibb Data Systems, Inc. Apparatus and method for reconstructing a file from a difference signature and an original file
CN102023903B (en) * 2009-09-10 2012-12-19 联想(北京)有限公司 Version management method and device for data backup

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1408084A (en) * 2000-03-01 2003-04-02 电脑联合想象公司 Method and system for updating an archive of a computer file
CN1417689A (en) * 2001-11-08 2003-05-14 联想(北京)有限公司 Fixed disk data enciphering back-up and restoring method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种闪存文件***的数据恢复机制;张延圆,焦磊;《计算机工程》;20080731;第283-285页 *
数据恢复原理及技术解析;严刚;《Science and Technology Innovation Herald》;20091231;第9页 *

Also Published As

Publication number Publication date
CN103324643A (en) 2013-09-25

Similar Documents

Publication Publication Date Title
CN102707990B (en) Container based processing method and device
US8738883B2 (en) Snapshot creation from block lists
CN103970585B (en) Create the method and device of virtual machine
US8909876B2 (en) Snapshots in a hybrid storage device comprising a magnetic disk and a solid state disk
US8209290B1 (en) Generic granular restore of application data from a volume image backup
US20120084272A1 (en) File system support for inert files
US20100174943A1 (en) Method for restoring client operating system-based system, virtual machine manager and system using the same
US8495022B1 (en) Systems and methods for synthetic backups
US10108501B2 (en) Terminal backup and recovery method
WO2017113317A1 (en) File editing method and file editor
KR20080005571A (en) Apparatus, method and system for restoring files
CN103473277A (en) Snapshot method and device for file systems
CN105279047B (en) Data backup device, method and Data Recapture Unit, method
CN105302922B (en) A kind of distributed file system snapshot implementing method
US20050165871A1 (en) Method and apparatus for recycling application processes
US10509767B2 (en) Systems and methods for managing snapshots of a file system volume
US11989095B2 (en) Techniques for preserving clone relationships between files
CN105320577B (en) A kind of data backup and resume method, system and device
CN104484460A (en) Metadata heat degree statistical method of distributed file system
CN105843824A (en) Multi-object copy method and device
US20150106334A1 (en) Systems and methods for backing up a live virtual machine
CN103324643B (en) Terminal device and method for establishing or modifying files
CN105528334A (en) Method for processing document operation and terminal
CN102436450A (en) Method and device for positioning folder
CN106250274A (en) The backup method of a kind of virtual machine and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant