CN103218350A - Electronic device used for changing file name and method for changing file name - Google Patents

Electronic device used for changing file name and method for changing file name Download PDF

Info

Publication number
CN103218350A
CN103218350A CN2013101401866A CN201310140186A CN103218350A CN 103218350 A CN103218350 A CN 103218350A CN 2013101401866 A CN2013101401866 A CN 2013101401866A CN 201310140186 A CN201310140186 A CN 201310140186A CN 103218350 A CN103218350 A CN 103218350A
Authority
CN
China
Prior art keywords
file
file name
name
pressing operation
default
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
Application number
CN2013101401866A
Other languages
Chinese (zh)
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN2013101401866A priority Critical patent/CN103218350A/en
Publication of CN103218350A publication Critical patent/CN103218350A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an electronic device used for changing a file name and a method for changing the file name. The electronic device comprises a storage unit which stores a plurality of folders, wherein a plurality of files are stored in each folder. The electronic device further comprises a processing unit. The processing unit is used for detecting whether a file is chosen through a pressing operation received by an input unit, when the file is chosen through the received pressing operation, detecting whether the duration of the pressing operation on the file exceeds a preset time period, when the duration of the pressing operation on the file exceeds the preset time period, controlling the file name of the chosen file to be under an edit state, under the edit state, receiving edit content of a user to change the file name of the file into a preset file name, wherein the preset file name comprises a name portion and a serial number portion. According to the electronic device used for changing the file name and the method for changing the file name, time used in changing the file name can be saved for the user, and operation of the user is facilitated.

Description

The electronic installation and the method for change file name
Technical field
The present invention relates to a kind of electronic installation and method of changing file name.
Background technology
Under the prior art, the user is when changing title to the file in the file, and common way is to select this document earlier, and then click right is selected change file name option, imports corresponding title and changes the current title of file.Though above-mentioned way can reach the purpose of change file name, its step trouble, and more consuming time, particularly when the user will carry out the mass change title to a plurality of files in the file, just more consuming time and be awkward.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of electronic installation and method of changing file name, is intended to solve the problem of a plurality of files under the identical file folder being changed title.
The present invention is used to provide a kind of electronic installation of changing file name, described electronic installation comprises storage unit and input block, store a plurality of files in the described storage unit, store a plurality of files under each file, described input block is used to receive user's pressing operation, described electronic installation also comprises processing unit, described processing unit is used to detect the pressing operation that input block receives and whether has selected a file, when the pressing operation that receives has been selected a file, whether detect the time that described pressing operation continues on described file surpasses a Preset Time, when the duration of described pressing operation on described file surpasses Preset Time, the file name of controlling selected file is in editing mode, and under editing mode, the file name that reception user's content of edit is changed described file is a default file name, wherein, described default file name comprises title part and sequence number part.
The present invention also is used to provide a kind of method of electronic installation change file name, described electronic installation comprises storage unit and input block, store a plurality of files in the described storage unit, store a plurality of files under each file, described input block is used to receive user's pressing operation, and this method may further comprise the steps: whether the pressing operation that the detection input block receives has selected a file; When the pressing operation that receives has been selected a file, detect the time that described pressing operation continues and whether surpass a Preset Time on described file; When the duration of described pressing operation on described file surpassed Preset Time, the file name of controlling selected file was in editing mode; And under editing mode, the file name that reception user's content of edit is changed described file is a default file name, and wherein, described default file name comprises title part and sequence number portion.
The electronic installation of change file name of the present invention and method, it is by obtaining identical file folder down with the file of attribute, according to user's editor to changing title with the file integral body of attribute, thereby save user time, and be convenient to user's operation.
Description of drawings
Fig. 1 is a kind of hardware composition of changing the electronic installation of file name.
Fig. 2 is the embodiment of a change file name.
Fig. 3 is a kind of method flow diagram of electronic installation change file name.
The main element symbol description
Electronic installation 100
Storage unit 10
Input block 20
Processing unit 30
First detection module 31
Second detection module 32
Control module 33
The change module 34
Acquisition module 36
Display control module 37
Following embodiment will further specify the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
Fig. 1 is a kind of hardware structure diagram of changing the electronic installation 100 of file name.Described electronic installation 100 comprises a storage unit 10, an input block 20 and a processing unit 30.Store a plurality of files in the described storage unit 10, store a plurality of files under each file.The corresponding attribute information of each file.In the present embodiment, the attribute information of described file is the storing format informations of file, as the word shelves, and excel shelves etc.In other embodiments, the attribute information of described file also can define according to user's demand, for example, and the size of file, the date saved of file etc.Described input block is used to receive user's pressing operation.In the present embodiment, this pressing operation can also can produce by touch display screen by pushing left mouse button generation.
Described processing unit 30 comprises first detection module 31, second detection module 32, control module 33, change module 34 and preserves module 35.
Described first detection module 31 is used to detect the pressing operation that input block 20 receives and whether has selected a file.This second detection module 32 is used for when the pressing operation that receives has been selected a file, detects the time that described pressing operation continues whether to surpass a Preset Time on described file.This control module 33 is used for when the time that described pressing operation continues on described file surpasses Preset Time, and the file name of controlling selected file partly is in editing mode.This change module 34 is used under editing mode, and the file name that reception user's content of edit is changed described file is a default file name, and wherein, described default file name comprises a title part and a sequence number part.In the present embodiment, this title partly claims for the group name that the user arbitrarily imports, it can be numeral, character, literal or wherein any one combination etc., for example image, photo1122, picture etc., this sequence number are the digital number for sorting partly, as natural number 1,2,3 etc., also can be the date 2012/03/22/ or for time 20:00 etc., but be not limited to above-mentioned for example.
Further, this processing unit 30 also comprises acquisition module 36.This acquisition module 36 is used for obtaining the file at selecteed file place and same belonging to together property of the attribute file of selected file same alike result information.The file name that this change module 34 also is used to change same belonging to together property of the attribute file that acquisition module 36 obtains is default file name, wherein, title part with the default file name behind the title part of the default file name of belonging to together property of attribute file and the selected file amendment is identical, the ordering successively of the sequence number part that partly is based on the default file name behind the selected file amendment with the sequence number of the default file name of belonging to together property of attribute file.As shown in Figure 2, current have a file, include 4 pictures in this document folder, its name be divided into for: image 1, image12, image4, and photo00, the storage format of this 4 pictures all is the jpg form, when the current selection of user wherein during a pictures image4, and image4 carried out pressing operation, and the duration of pressing operation is during greater than a Preset Time, the file name part of this image4 just is in editing mode, this moment, the user can import a default file name, as " picture 1 ", the file name of this document image4 just is modified and is picture 1, and then acquisition module 36 obtains in the file three pictures with attribute, and this three pictures is changed file name successively according to the ordering in file is picture 2, picture 3 and picture 4.In the above-described embodiment, because when being modified to default file name with the title of attribute file, sequence number is based on partly that the sequence number part of selected file sorts successively in should default file name, therefore, had better not between title part and sequence number part numeral appear, in order to avoid electronic installation 100 uncertain numerals between the two be title partly or the sequence number part, thereby influence follow-up change with the attribute file name.
Further, this processing unit 30 also comprises display control module 37.This display control module 37 is used to control the file that is under the editing mode and is in first display mode, the demonstration that for example heightens the color, and the file that is not under the editing mode is in second display mode, wherein, this first display mode is different from second display mode, and for example normal color shows.
Figure 3 shows that a kind of method flow diagram of electronic installation change file name, said method comprising the steps of:
Step S601, described input block 20 receives user's pressing operation.
Step S602, whether the pressing operation that described first detection module 31 detection input blocks 20 receive has selected a file.When the non-selected file of pressing operation that receives, return step S602.
Step S603, when the pressing operation that receives had been selected a file, whether the time that the described pressing operation of these second detection module, 32 detections continues on described file surpassed a Preset Time.When the time that described pressing operation continues does not surpass Preset Time, return step S603 on described file.
Step S604, when the time that described pressing operation continues on described file surpassed Preset Time, the file name of the selected file of these control module 33 controls partly was in editing mode.
Step S605, under editing mode, the file name that the content of edit that this change module 34 receives the user is changed described file is a default file name, wherein, described default file name comprises title part and sequence number part.
Step S606, this acquisition module 36 obtain in the file at selecteed file place same belonging to together property of the attribute file with selected file same alike result information.
Step S607, the file name of same belonging to together property of the attribute file that these change module 34 changes are obtained is default file name, wherein, title part with the default file name behind the title part of the default file name of attribute file and the selected file amendment is identical, the ordering successively of the sequence number part that partly is based on the default file name behind the selected file amendment with the sequence number of the default file name of attribute file.
Further, this method is further comprising the steps of: this display control module 37 is used to control the file that is under the editing mode and is in first display mode, reach the file that is not under the editing mode and be in second display mode, wherein, this first display mode is different from second display mode.

Claims (8)

1. electronic installation of changing file name, described electronic installation comprises storage unit and input block, store a plurality of files in the described storage unit, store a plurality of files under each file, described input block is used to receive user's pressing operation, it is characterized in that: described electronic installation also comprises processing unit, described processing unit is used to detect the pressing operation that input block receives and whether has selected a file, when the pressing operation that receives has been selected a file, whether detect the time that described pressing operation continues on described file surpasses a Preset Time, when the duration of described pressing operation on described file surpasses Preset Time, the file name of controlling selected file is in editing mode, and under editing mode, the file name that reception user's content of edit is changed described file is a default file name, wherein, described default file name comprises title part and sequence number part.
2. the electronic installation of change file name as claimed in claim 1, it is characterized in that: the corresponding attribute information of each file, described processing unit also is used for obtaining the file at selecteed file place and the same attribute file of selected file same alike result information, change is default file name with the file name of attribute file, wherein, title part with the default file name behind the title part of the default file name of attribute file and the selected file amendment is identical, the ordering successively of the sequence number part that partly is based on the default file name behind the selected file amendment with the sequence number of the default file name of attribute file.
3. the electronic installation of change file name as claimed in claim 2 is characterized in that: the attribute information of described file is the storing format informations of file.
4. the electronic installation of change file name as claimed in claim 1, it is characterized in that: this processing unit also is used to control the file that is under the editing mode and is in first display mode, the file that is not under the editing mode is in second display mode, wherein, this first display mode is different from second display mode.
5. the method for electronic installation change file name, described electronic installation comprises storage unit and input block, store a plurality of files in the described storage unit, store a plurality of files under each file, described input block is used to receive user's pressing operation, it is characterized in that: this method may further comprise the steps:
Whether the pressing operation that the detection input block receives has selected a file;
When the pressing operation that receives has been selected a file, detect the time that described pressing operation continues and whether surpass a Preset Time on described file;
When the duration of described pressing operation on described file surpassed Preset Time, the file name of controlling selected file was in editing mode; And
Under editing mode, the file name that reception user's content of edit is changed described file is a default file name, and wherein, described default file name comprises title part and sequence number part.
6. the method for electronic installation change file name as claimed in claim 5 is characterized in that: the corresponding attribute information of each file, and this method is further comprising the steps of:
Obtain in the file at selecteed file place same attribute file with selected file same alike result information; And
Change is default file name with the file name of attribute file, wherein, title part with the default file name behind the title part of the default file name of attribute file and the selected file amendment is identical, the ordering successively of the sequence number part that partly is based on the default file name behind the selected file amendment with the sequence number of the default file name of attribute file.
7. the method for electronic installation change file name as claimed in claim 6, it is characterized in that: the attribute information of described file is the storing format informations of file.
8. the method for electronic installation change file name as claimed in claim 5, it is characterized in that: this method is further comprising the steps of:
The file that control is under the editing mode is in first display mode, and the file that is not under the editing mode is in second display mode, and wherein, this first display mode is different from second display mode.
CN2013101401866A 2013-04-23 2013-04-23 Electronic device used for changing file name and method for changing file name Pending CN103218350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101401866A CN103218350A (en) 2013-04-23 2013-04-23 Electronic device used for changing file name and method for changing file name

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013101401866A CN103218350A (en) 2013-04-23 2013-04-23 Electronic device used for changing file name and method for changing file name

Publications (1)

Publication Number Publication Date
CN103218350A true CN103218350A (en) 2013-07-24

Family

ID=48816155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101401866A Pending CN103218350A (en) 2013-04-23 2013-04-23 Electronic device used for changing file name and method for changing file name

Country Status (1)

Country Link
CN (1) CN103218350A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094833A (en) * 2015-08-03 2015-11-25 联想(北京)有限公司 Data Processing method and system
CN107992631A (en) * 2017-12-26 2018-05-04 上海展扬通信技术有限公司 A kind of file management method and terminal
CN110554997A (en) * 2019-09-12 2019-12-10 广东电网有限责任公司 File name batch modification method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996283A (en) * 2005-12-31 2007-07-11 英保达股份有限公司 File sorting-save management method and system therefor
CN101216848A (en) * 2008-01-10 2008-07-09 北京中星微电子有限公司 Method and device for modifying media file name
CN101796478A (en) * 2008-01-06 2010-08-04 苹果公司 Portable multifunction device with interface reconfiguration mode
CN102541626A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and system for modifying file names

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996283A (en) * 2005-12-31 2007-07-11 英保达股份有限公司 File sorting-save management method and system therefor
CN101796478A (en) * 2008-01-06 2010-08-04 苹果公司 Portable multifunction device with interface reconfiguration mode
CN101216848A (en) * 2008-01-10 2008-07-09 北京中星微电子有限公司 Method and device for modifying media file name
CN102541626A (en) * 2010-12-26 2012-07-04 上海量明科技发展有限公司 Method and system for modifying file names

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
风雨彩虹: "文件重命名 批量操作来得快", 《电脑知识与技术(经验技巧)》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094833A (en) * 2015-08-03 2015-11-25 联想(北京)有限公司 Data Processing method and system
CN107992631A (en) * 2017-12-26 2018-05-04 上海展扬通信技术有限公司 A kind of file management method and terminal
CN110554997A (en) * 2019-09-12 2019-12-10 广东电网有限责任公司 File name batch modification method and system

Similar Documents

Publication Publication Date Title
US9928242B2 (en) Managing the content of shared slide presentations
US20130106903A1 (en) Mobile terminal device, storage medium, and method for display control of mobile terminal device
CN103294657A (en) Method and system for text editing
US20140059463A1 (en) Electronic device and method for file arrangement
CN102087575A (en) Electronic device and method for dynamic arrangement of icons
CN102142028A (en) Electronic equipment and file path display method thereof
CN106951140A (en) The icon replacing options and electronic equipment of application program
CN102819396B (en) Method and system for playing multimedia file
US20150169944A1 (en) Image evaluation apparatus, image evaluation method, and non-transitory computer readable medium
CN105095328A (en) Method and apparatus for selecting picture and mobile terminal
CN103810221A (en) File previewing method and device
CN103927077A (en) File display method and electronic equipment
CN103327182A (en) Method for rapidly sending pictures and mobile terminal thereof
WO2015063551A1 (en) Method and apparatus for filtering pictures
CN105094620A (en) Information browsing method and mobile terminal
CN101221579A (en) Method and device for setting document display mode
CN105094597A (en) Batch picture selecting method and apparatus
CN103677517A (en) Method and device for searching pictures
CN103218350A (en) Electronic device used for changing file name and method for changing file name
KR20150017099A (en) Controlling Method For Input Status and Electronic Device supporting the same
CN106971004B (en) Search result providing method and device
CN101378433A (en) Apparatus and method for displaying picture
CN103019546B (en) A kind of slideshow method, system and apparatus for demonstrating
KR20120026836A (en) Method and apparatus for displaying data object, and computer readable storage medium
US9176956B2 (en) Apparatus and method for providing search screen

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130724