CN107506395A - A kind of method and system to open mode file renaming - Google Patents
A kind of method and system to open mode file renaming Download PDFInfo
- Publication number
- CN107506395A CN107506395A CN201710639848.2A CN201710639848A CN107506395A CN 107506395 A CN107506395 A CN 107506395A CN 201710639848 A CN201710639848 A CN 201710639848A CN 107506395 A CN107506395 A CN 107506395A
- Authority
- CN
- China
- Prior art keywords
- file
- open mode
- renaming
- module
- newname
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/164—File meta data generation
- G06F16/166—File name conversion
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of method and system to open mode file renaming, the open mode of file is identified, if file is closed, renaming operation directly then is carried out to file, if file is in open mode, the then newname of extraction document and preservation, the path of extraction document and preservation simultaneously, to whether run extraction operation judge, when result of determination is no, then directly carry out renaming operation, when result of determination is yes, then the open mode of file is carried out continuing monitoring, after closing of a file, the newname of preservation is extracted, cover current file title.The present invention can carry out renaming operation to the file or folder under open mode, the trouble of renaming operation could be carried out by eliminating after people close file or folder, improve operating efficiency, the time of people has been saved, has solved the problems, such as at present not naming the file or folder under open mode.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of method and system to open mode file renaming.
Background technology
In routine duties, we are frequently encountered such case:When opening some file or after file, often root
According to need of work, it is necessary to change the name of this document or file, in the prior art, user can only carry out hand to this class file
Dynamic renaming, i.e., be manually entered new name, now due to this document or file again after deleting the original name of file manually
In open mode, system prompt can not change title, it is necessary to after closing this document or file, then change its title, user
Experience property is bad, and the work to people causes certain puzzlement, reduces the operating efficiency of people, wastes people's preciousness
Working time.
The content of the invention
It is an object of the invention to provide a kind of method and system to open mode file renaming, to solve the above-mentioned back of the body
The problem of being proposed in scape technology.
A kind of method to open mode file renaming, its step are:The newname of input file, to the opening of file
State is identified, if file is closed, directly renaming operation is carried out to file, if file is in open shape
State, then the newname of extraction document and preservation, to whether run extraction operation judge, when judge extraction operation run,
Then persistently the open mode of file is identified, until monitoring that file is closed, after closing of a file, extraction is new
Title and file path, cover current file title.
A kind of system to open mode file renaming, including:Operating side, identification module, extraction module, storage mould
Block, discrimination module, actuating station and renamer module, operating side are used for the newname of input file, and actuating station is used for directly to text
Part carries out renaming operation.
As the further scheme of the present invention, the identification module is used to the open mode of file be identified.
As the further scheme of the present invention, the extraction module is used for the newname and file path of extraction document.
As the further scheme of the present invention, the discrimination module is used to sentence to whether extraction module is activated
Not.
As the further scheme of the present invention, the renamer module is used to carry out renaming operation to file.
Compared with prior art, the beneficial effects of the invention are as follows:The present invention can be utilized to the text under open mode
Part or file carry out renaming operation, eliminate people and close after file or folder the fiber crops that could carry out renaming operation
It is tired, operating efficiency is substantially increased, has saved the time of people, solving at present can not be to the file or file under open mode
The problem of folder name.
Brief description of the drawings
Fig. 1 is the renaming method flow diagram of file;
Fig. 2 is the structured flowchart of the renaming system of file.
In figure:1- operating sides;2- identification modules;3- extraction modules;4- memory modules;5- discrimination modules 5;6- actuating stations;
7- renamer modules.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
Referring to Fig. 1, in the embodiment of the present invention, a kind of method to open mode file renaming, including:
S1, input file newname
User operates to needing the file of renaming to carry out conventional renaming.
S2, the open mode to file are identified
In existing operating system, only file is closed that file could be carried out renaming operation, air exercise
When file under open state carries out renaming operation, system can be prompted to report an error, and modification failure to the open mode of file, it is necessary to enter
Row identification, and monitor the open mode of file.
S3, extraction newname and this document path
When recognizing file and being in open mode, the newname of extraction document, while the path of this document is extracted, enter
S4 steps;When recognizing file and being closed, operated without extraction, leap to S5 steps.
S4, the newname for preserving file and this document path
The path of the newname of file and this document is stored in specified location, can be found after closing of a file along path
This document, and newname is extracted, the title before overlay file, realize the renaming operation of file.
S5, to whether run extraction operation judge
When judging and off-duty extraction operates, into S6 steps;Run when judging that extraction operates, then persistently to file
Open mode be identified, until monitoring that file is closed, into S7 steps.
S6, perform renaming operation
Renaming is carried out to file, completes renaming operation.
S7, extraction newname and file path
Extract the newname of file that stores before and the path of this document, and along Route Locking this article of this document
Part.
S8, renaming this document
By the title before the newname overlay file of this document extracted, renaming operation is completed.
Referring to Fig. 2, in the embodiment of the present invention, a kind of system to open mode file renaming, including operating side 1,
Identification module 2, extraction module 3, memory module 4, discrimination module 5, actuating station 6 and renamer module 7.
Operating side 1 is used for the newname of input file.
Identification module 2 is used to the open mode of file be identified, and monitors the open mode of this document.
Extraction module 3 is used for when identification module 2 recognizes file and is in open mode, and extraction module 3 is by the new of file
Title is extracted, and the path of file is also extracted in the lump, and the newname of file and file path extraction is latter same
Input memory module 4.
Memory module 4 is used for the newname and file path for storing the information that extraction module 3 extracts, i.e. file.
Discrimination module 5 is used to differentiate whether extraction module 4 enabled, if discrimination module 5 determines extraction module 4 and do not opened
With, then directly using actuating station to file carry out renaming, if discrimination module 5 identifies extraction module 4 and run, start
Identification module 2 monitors to file.
The renaming that renamer module 7 is used for file operates, and the file that opening is recognized when identification module 2 is closed by user
When closing, start the newname that extraction module 3 extracts file out of memory module 4, carry out weight to file using renamer module 7
Name, by the former title of newname overlay file, complete the renaming of file.
File mentioned here can be office files, compressed file, audio-video document, graphic file, pdf document with
And file etc., this is not construed as limiting, and any file that can be renamed all is that can carry out file with the method
The modification of name.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.
Moreover, it will be appreciated that although the present specification is described in terms of embodiments, not each embodiment is only wrapped
Containing an independent technical scheme, this narrating mode of specification is only that those skilled in the art should for clarity
Using specification as an entirety, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art
It is appreciated that other embodiment.
Claims (2)
- A kind of 1. method to open mode file renaming, it is characterised in that concretely comprise the following steps:The newname of input file, The open mode of file is identified, if file is closed, renaming operation directly is carried out to file, if literary Part is in open mode, then the newname of extraction document and preservation, to whether run extraction operation judge, when judge extract Operation has been run, then persistently the open mode of file is identified, until monitoring that file is closed, when file closes After closing, newname and file path are extracted, covers current file title.
- A kind of 2. system to open mode file renaming, it is characterised in that including:Operating side (1), identification module (2), carry Modulus block (3), memory module (4), discrimination module (5), actuating station (6) and renamer module (7), operating side (1) are used to input The newname of file, actuating station (6) are used to directly carry out renaming operation to file;The identification module (2) is used for file Open mode be identified;The extraction module (3) is used for the newname and file path of extraction document;The memory module (4) it is used for the newname and file path of storage file;The discrimination module (5) is used to whether be activated extraction module (3) Differentiated;The renamer module (7) is used to carry out renaming operation to file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710639848.2A CN107506395A (en) | 2017-07-31 | 2017-07-31 | A kind of method and system to open mode file renaming |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710639848.2A CN107506395A (en) | 2017-07-31 | 2017-07-31 | A kind of method and system to open mode file renaming |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107506395A true CN107506395A (en) | 2017-12-22 |
Family
ID=60690376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710639848.2A Pending CN107506395A (en) | 2017-07-31 | 2017-07-31 | A kind of method and system to open mode file renaming |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107506395A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101669118A (en) * | 2007-02-13 | 2010-03-10 | Stg交互公司 | File management method |
CN101873347A (en) * | 2010-06-13 | 2010-10-27 | 中兴通讯股份有限公司 | Distributed file system and fragment filing method thereof |
CN104462191A (en) * | 2014-10-27 | 2015-03-25 | 广州三星通信技术研究有限公司 | File name altering method and electronic device |
-
2017
- 2017-07-31 CN CN201710639848.2A patent/CN107506395A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101669118A (en) * | 2007-02-13 | 2010-03-10 | Stg交互公司 | File management method |
CN101873347A (en) * | 2010-06-13 | 2010-10-27 | 中兴通讯股份有限公司 | Distributed file system and fragment filing method thereof |
CN104462191A (en) * | 2014-10-27 | 2015-03-25 | 广州三星通信技术研究有限公司 | File name altering method and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8356030B2 (en) | Domain-specific sentiment classification | |
WO2007011735A3 (en) | System and method for data transport | |
WO2004107322A3 (en) | Systems and methods utilizing natural language medical records | |
WO2008094170A8 (en) | Reusable data constructs for a modeling system | |
CN110390000A (en) | A kind of legal documents automatic identification generates system and method | |
CN103985382A (en) | Power grid dispatching auxiliary interactive method based on speech recognition technology | |
WO2007140386A3 (en) | Learning syntactic patterns for automatic discovery of causal relations from text | |
DE60125397D1 (en) | LANGUAGE-DEPENDENT VOTING BASED USER INTERFACE | |
WO2004079550A3 (en) | Methods and systems for technology analysis and mapping | |
CN104063365B (en) | The method that object is inserted into PDF document | |
CN110458296B (en) | Method and device for marking target event, storage medium and electronic device | |
CN104184653B (en) | A kind of method and apparatus of message screening | |
CN107392433A (en) | A kind of method and apparatus for extracting enterprise's incidence relation information | |
WO2008149843A1 (en) | Information presentation system, information presentation method, and program for information presentation | |
CN105069306A (en) | Event log audit method based on workflow net model | |
CN112989018A (en) | File automatic open identification method and system based on semantic analysis | |
CN103812679B (en) | A kind of massive logs statistical analysis system and method | |
CN104021217A (en) | System and method for extracting fragment file and deleted file of mobile phone | |
CN106681969A (en) | Method of repairing damage document | |
CN110222346A (en) | A method of extracting effective time from interaction data | |
CN104915252B (en) | A kind of process port management means and method | |
CN107959587A (en) | Handling result daily record based on mass file merges device and method | |
CN110196897B (en) | Case identification method based on question and answer template | |
CN107506395A (en) | A kind of method and system to open mode file renaming | |
CN108415971A (en) | Recommend the method and apparatus of supply-demand information using knowledge mapping |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 230000 Anhui Hefei high tech Zone Innovation Industrial Park two phase J2 District C block 18 floor. Applicant after: Hefei dragon totem Information Technology Co., Ltd. Address before: 230000 B 1015, CBC Tuoji square, 81 Ganquan Road, Shushan District, Hefei, Anhui. Applicant before: Hefei dragon totem Information Technology Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171222 |