CN105787063A - Picture storage method and terminal device - Google Patents

Picture storage method and terminal device Download PDF

Info

Publication number
CN105787063A
CN105787063A CN201610113552.2A CN201610113552A CN105787063A CN 105787063 A CN105787063 A CN 105787063A CN 201610113552 A CN201610113552 A CN 201610113552A CN 105787063 A CN105787063 A CN 105787063A
Authority
CN
China
Prior art keywords
terminal unit
date
file
place name
described terminal
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
CN201610113552.2A
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.)
Shenzhen Tinno Wireless Technology Co Ltd
Original Assignee
Shenzhen Tinno Wireless Technology 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 Shenzhen Tinno Wireless Technology Co Ltd filed Critical Shenzhen Tinno Wireless Technology Co Ltd
Priority to CN201610113552.2A priority Critical patent/CN105787063A/en
Publication of CN105787063A publication Critical patent/CN105787063A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (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 provides a picture storage method. The method comprises the steps that when a terminal device starts the shooting function, the terminal device acquires a current place name and date; the terminal device names a newly created folder according to the place name and the date so that the terminal device can store currently acquired pictures in the folder. According to the method, the terminal device can store the pictures shot at the same place and date in the same folder, furthermore, the terminal device can store pictures shot at different places and/or dates in different folders according to certain rules, and a user can know the types of the stored pictures according to the names of the folders without manual classification, so that convenience is brought to the user, and time is saved for the user.

Description

A kind of storage method of photo and terminal unit
Technical field
The present invention relates to technical field of data storage, particularly relate to storage method and the terminal unit of a kind of photo.
Background technology
Present camera function is for more and more important terminal unit, and on current terminal unit, the photo of take is all, according to the path specified, photo is stored in same position, and photo all carries out arrangement storage according to order of taking pictures.
In the process realizing the present invention, at least there are the following problems to inventor have found that prior art:
The photo of same date, same place can not be stored separately in same file folder by terminal unit, further, photo can not be stored in different files according to certain rule by terminal unit, need user to be stored in different files after manually being classified by photo, user's plenty of time can be wasted when user classifies.
Summary of the invention
The invention provides a kind of storage method of photo, when terminal unit opens camera function, described terminal unit obtains current place name and date, and according to obtaining current place name and date to newly created file designation, so that the photo currently obtained is stored in described file by described terminal unit, in the present invention, the photo in same place and date can be stored in identical file folder by terminal unit, further, the photo of different location and/or date can be stored in different files according to certain rule by described terminal unit, user according to the name of file it is known that the type of photo of storage, do not need user and be performed manually by classification, bring conveniently to user, save the time of user.
The invention provides a kind of storage method of photo, described method includes:
When terminal unit opens camera function, described terminal unit obtains current place name and date;
Newly created file is named by described terminal unit according to described place name and date, so that the photo currently obtained is stored in described file by described terminal unit.
Described terminal unit obtains current place name, particularly as follows:
Described terminal unit obtains the longitude and latitude of presently described terminal unit according to global position system GPS;
Described terminal unit determines the positional information at presently described terminal unit place according to described longitude and latitude;
Described terminal unit determines current place name according to described positional information.
Newly created file is named by described terminal unit according to described place name and date, particularly as follows:
Described terminal unit judges whether according to the file that described place name and date are named;
If it did not, described terminal unit creates new file;
Newly created file is named by described terminal unit according to described place name and date.
If described terminal unit judges there is the file named according to described place name and date, described method also includes:
The photo currently obtained is stored in described file by described terminal unit.
Described method also includes:
Using in the process of described camera function at described terminal unit, described terminal unit obtains current place name and date according to predetermined period;
Described terminal unit determines whether the current place name of acquisition changed compared with the title of described newly created file with the date;
If changed, described terminal unit creates new file the new file name to creating according to the current place name obtained and date, so that the photo currently obtained is stored in described file by described terminal unit.
A kind of terminal unit, described terminal unit includes:
Acquisition module, when terminal unit opens camera function, for obtaining current place name and date;
Name module, for naming newly created file according to described place name and date;
Memory module, for being stored in the photo currently obtained in described file.
Described acquisition module, specifically for:
The longitude and latitude of presently described terminal unit is obtained according to global position system GPS;
The positional information at presently described terminal unit place is determined according to described longitude and latitude;
Current place name is determined according to described positional information.
Described name module, specifically for:
Judge whether according to the file that described place name and date are named;
If it did not, create new file;
According to described place name and date, newly created file is named.
Described memory module, also particularly useful for:
If described name module judges there is the file named according to described place name and date, the photo currently obtained is stored in described file.
Described acquisition module, uses in the process of described camera function at described terminal unit, is additionally operable to obtain current place name and date according to predetermined period;
Described terminal unit also includes:
Determine module, for determining whether the current place name of acquisition changed compared with the title of described newly created file with the date;
Described name module, if changed, is additionally operable to create new file the new file name to creating according to the current place name obtained and date, so that the photo currently obtained is stored in described file by described memory module.
In the present invention when terminal unit opens camera function, described terminal unit obtains current place name and date, and according to obtaining current place name and date to newly created file designation, so that the photo currently obtained is stored in described file by described terminal unit, in the present invention, the photo in same place and date can be stored in identical file folder by terminal unit, further, the photo of different location and/or date can be stored in different files according to certain rule by described terminal unit, user according to the name of file it is known that the type of photo of storage, do not need user and be performed manually by classification, bring conveniently to user, save the time of user.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the storage method flow diagram of a kind of photo in the embodiment of the present invention;
Fig. 2 is a kind of terminal unit structural representation in the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
In order to allow terminal unit automatically photo be classified, the present invention proposes a kind of storage method of photo, concrete as it is shown in figure 1, said method comprising the steps of:
Step 101, when terminal unit opens camera function, described terminal unit obtains current place name and date.
Described terminal unit obtains current place name, particularly as follows:
Described terminal unit obtains the longitude and latitude of presently described terminal unit according to GPS (GlobalPositioningSystem, global positioning system);
Described terminal unit determines the positional information at presently described terminal unit place according to described longitude and latitude;
Described terminal unit determines current place name according to described positional information.
Concrete, described terminal unit positions, by GPS, the position determining described terminal unit place on map, determines that in position described position is on map inside that place according to described, and determine the title in described place according to described place on map.
Wherein, the described date is year, month, day, and described terminal unit is for having camera function, and photo can carry out the terminal unit stored.
Such as: user carries described terminal unit and takes pictures in Zhongshan Park on January 28th, 2016, and described terminal unit positions according to GPS, it is determined that place is Zhongshan Park, and determine that the date is on January 28th, 2016.
Step 102, newly created file is named by described terminal unit according to described place name and date, so that the photo currently obtained is stored in described file by described terminal unit.
Newly created file is named by described terminal unit according to described place name and date, particularly as follows:
Described terminal unit judges whether according to the file that described place name and date are named;
If it did not, described terminal unit creates new file;
Newly created file is named by described terminal unit according to described place name and date.
If described terminal unit judges there is the file named according to described place name and date, described method also includes:
The photo currently obtained is stored in described file by described terminal unit.
Concrete, when described terminal unit enables camera function, first to judge whether described terminal unit exists with the file of described place name and date name, if it has, represent that described terminal unit had created with the file of current location title and date name, it is possible to be made directly storage, without, represent and do not have to create with the file of current location title and date name, it is necessary to create with the file of current location title and date name, to store.
nullSuch as: user carries described terminal unit and takes pictures in Zhongshan Park on January 28th, 2016,When the camera function that user uses terminal unit is taken pictures,Exist when detection with the file of Zhongshan Park name on January 28th, 2016,If had,User also takes pictures in Zhongshan Park on January 28th, 2016,And user has created with the file of Zhongshan Park name on January 28th, 2016,The photo of shooting can be directly stored in the file with Zhongshan Park name on January 28th, 2016 by terminal unit,Without,Represent that user's first time is on January 28th, 2016 to Zhongshan Park,Described terminal unit needs create new file and be named with Zhongshan Park on January 28th, 2016,This ensure that user is stored in the file of same name at the photo that same time and same place shoot.
Using in the process of described camera function at described terminal unit, described terminal unit obtains current place name and date according to predetermined period;
Described terminal unit determines whether the current place name of acquisition changed compared with the title of described newly created file with the date;
If changed, described terminal unit creates new file the new file name to creating according to the current place name obtained and date, so that the photo currently obtained is stored in described file by described terminal unit.
nullConcrete,In order to ensure that user is stored in the file of same name at the photo that same time and same place shoot,And avoid different time but same place,Or the same time but different location shooting photo be stored in the file of same name,Use in the process of described camera function at described terminal unit,Described terminal unit obtains current place name and date according to predetermined period,Described terminal unit periodically judges whether to exist in described terminal unit current place name and date,If existed,Represent that user also takes pictures in the place that the identical time is identical,If there is no,Time and/or identical place that expression user is no longer identical carry out taking pictures,Need to re-create file according to current place name and date,And be named with current place name and date,So that user is stored in different files at the photo that different time and/or different places shoot.
Such as: user carries described terminal unit and takes pictures in Zhongshan Park on January 28th, 2016, and described terminal unit obtains current place name and date according to predetermined period, when user on January 28th, 2016 move to from Zhongshan Park take pictures elsewhere time, in order to avoid the photo of different location being stored in identical file folder, described terminal unit is when detecting that place changes, described terminal unit re-creates file according to the place currently moved to and date, and the title in place and date currently to move to is named, in the file that the photo of current shooting is stored in the title in place that currently moves to by described terminal unit and the date is named.
When file is named, can also be named according to the naming rule preset, such as: when the title that the title in the place detected is the tourist attractions such as XX park, can playing in XX park with XX XX day month XX when name and be named, concrete naming rule can be determined according to demand.
In the present invention when terminal unit opens camera function, described terminal unit obtains current place name and date, and according to obtaining current place name and date to newly created file designation, so that the photo currently obtained is stored in described file by described terminal unit, in the present invention, the photo in same place and date can be stored in identical file folder by terminal unit, further, the photo of different location and/or date can be stored in different files according to certain rule by described terminal unit, user according to the name of file it is known that the type of photo of storage, do not need user and be performed manually by classification, bring conveniently to user, save the time of user.
Based on the inventive concept same with said method, the invention allows for a kind of terminal unit, as in figure 2 it is shown, described terminal unit includes:
Acquisition module 21, when terminal unit opens camera function, for obtaining current place name and date;
Name module 22, for naming newly created file according to described place name and date;
Memory module 23, for being stored in the photo currently obtained in described file.
Described acquisition module, specifically for:
The longitude and latitude of presently described terminal unit is obtained according to global position system GPS;
The positional information at presently described terminal unit place is determined according to described longitude and latitude;
Current place name is determined according to described positional information.
Described name module, specifically for:
Judge whether according to the file that described place name and date are named;
If it did not, create new file;
According to described place name and date, newly created file is named.
Described memory module, also particularly useful for:
If described name module judges there is the file named according to described place name and date, the photo currently obtained is stored in described file.
Described acquisition module, uses in the process of described camera function at described terminal unit, is additionally operable to obtain current place name and date according to predetermined period;
Described terminal unit also includes:
Determine module, for determining whether the current place name of acquisition changed compared with the title of described newly created file with the date;
Described name module, if changed, is additionally operable to create new file the new file name to creating according to the current place name obtained and date, so that the photo currently obtained is stored in described file by described memory module.
In the present invention when terminal unit opens camera function, described terminal unit obtains current place name and date, and according to obtaining current place name and date to newly created file designation, so that the photo currently obtained is stored in described file by described terminal unit, in the present invention, the photo in same place and date can be stored in identical file folder by terminal unit, further, the photo of different location and/or date can be stored in different files according to certain rule by described terminal unit, user according to the name of file it is known that the type of photo of storage, do not need user and be performed manually by classification, bring conveniently to user, save the time of user.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can be completed by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program upon execution, performs to include the step of above-mentioned each embodiment of the method;And aforesaid storage medium includes: the various media that can store program code such as ROM, RAM, magnetic disc or CDs.
Device embodiment described above is merely schematic, the unit wherein illustrated as separating component can be or may not be physically separate, the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed at least two NE.Some or all of module therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.Those of ordinary skill in the art, when not paying performing creative labour, are namely appreciated that and implement.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;Although the present invention being described in detail with reference to foregoing embodiments, it will be understood by those within the art that: the technical scheme described in foregoing embodiments still can be modified by it, or wherein some or all of technical characteristic is carried out equivalent replacement;And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the storage method of a photo, it is characterised in that described method includes:
When terminal unit opens camera function, described terminal unit obtains current place name and date;
Newly created file is named by described terminal unit according to described place name and date, so that the photo currently obtained is stored in described file by described terminal unit.
2. method as claimed in claim 1, it is characterised in that described terminal unit obtains current place name, particularly as follows:
Described terminal unit obtains the longitude and latitude of presently described terminal unit according to global position system GPS;
Described terminal unit determines the positional information at presently described terminal unit place according to described longitude and latitude;
Described terminal unit determines current place name according to described positional information.
3. method as claimed in claim 1, it is characterised in that newly created file is named by described terminal unit according to described place name and date, particularly as follows:
Described terminal unit judges whether according to the file that described place name and date are named;
If it did not, described terminal unit creates new file;
Newly created file is named by described terminal unit according to described place name and date.
4. method as claimed in claim 3, it is characterised in that if described terminal unit judges there is the file named according to described place name and date, described method also includes:
The photo currently obtained is stored in described file by described terminal unit.
5. method as claimed in claim 1, it is characterised in that described method also includes:
Using in the process of described camera function at described terminal unit, described terminal unit obtains current place name and date according to predetermined period;
Described terminal unit determines whether the current place name of acquisition changed compared with the title of described newly created file with the date;
If changed, described terminal unit creates new file the new file name to creating according to the current place name obtained and date, so that the photo currently obtained is stored in described file by described terminal unit.
6. a terminal unit, it is characterised in that described terminal unit includes:
Acquisition module, when terminal unit opens camera function, for obtaining current place name and date;
Name module, for naming newly created file according to described place name and date;
Memory module, for being stored in the photo currently obtained in described file.
7. terminal unit as claimed in claim 6, it is characterised in that described acquisition module, specifically for:
The longitude and latitude of presently described terminal unit is obtained according to global position system GPS;
The positional information at presently described terminal unit place is determined according to described longitude and latitude;
Current place name is determined according to described positional information.
8. terminal unit as claimed in claim 6, it is characterised in that described name module, specifically for:
Judge whether according to the file that described place name and date are named;
If it did not, create new file;
According to described place name and date, newly created file is named.
9. terminal unit as claimed in claim 8, it is characterised in that described memory module, also particularly useful for:
If described name module judges there is the file named according to described place name and date, the photo currently obtained is stored in described file.
10. terminal unit as claimed in claim 6, it is characterised in that described acquisition module, uses in the process of described camera function at described terminal unit, is additionally operable to obtain current place name and date according to predetermined period;
Described terminal unit also includes:
Determine module, for determining whether the current place name of acquisition changed compared with the title of described newly created file with the date;
Described name module, if changed, is additionally operable to create new file the new file name to creating according to the current place name obtained and date, so that the photo currently obtained is stored in described file by described memory module.
CN201610113552.2A 2016-02-29 2016-02-29 Picture storage method and terminal device Pending CN105787063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610113552.2A CN105787063A (en) 2016-02-29 2016-02-29 Picture storage method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610113552.2A CN105787063A (en) 2016-02-29 2016-02-29 Picture storage method and terminal device

Publications (1)

Publication Number Publication Date
CN105787063A true CN105787063A (en) 2016-07-20

Family

ID=56386529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610113552.2A Pending CN105787063A (en) 2016-02-29 2016-02-29 Picture storage method and terminal device

Country Status (1)

Country Link
CN (1) CN105787063A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407448A (en) * 2016-09-29 2017-02-15 广州鹤互联网科技有限公司 Signed file management method and apparatus
CN107133357A (en) * 2017-05-26 2017-09-05 维沃移动通信有限公司 A kind of picture storage method and mobile terminal
CN109451197A (en) * 2018-09-30 2019-03-08 广东工业大学 It is a kind of it is long-range it is stable send picture to server method
CN110036406A (en) * 2016-12-08 2019-07-19 提姆拉博株式会社 Collection system, terminal program and collection method
CN110162646A (en) * 2019-05-28 2019-08-23 广东电网有限责任公司 A kind of thermography management method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064937A (en) * 2012-12-25 2013-04-24 广东欧珀移动通信有限公司 Method and device for storing photos and based on shooting address and shooting time
CN104077312A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Picture classification method and device
CN104346356A (en) * 2013-07-29 2015-02-11 中国移动通信集团公司 Method and device for storing photo files in classifying manner

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064937A (en) * 2012-12-25 2013-04-24 广东欧珀移动通信有限公司 Method and device for storing photos and based on shooting address and shooting time
CN104077312A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Picture classification method and device
CN104346356A (en) * 2013-07-29 2015-02-11 中国移动通信集团公司 Method and device for storing photo files in classifying manner

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407448A (en) * 2016-09-29 2017-02-15 广州鹤互联网科技有限公司 Signed file management method and apparatus
CN110036406A (en) * 2016-12-08 2019-07-19 提姆拉博株式会社 Collection system, terminal program and collection method
CN107133357A (en) * 2017-05-26 2017-09-05 维沃移动通信有限公司 A kind of picture storage method and mobile terminal
CN107133357B (en) * 2017-05-26 2020-01-14 维沃移动通信有限公司 Picture storage method and mobile terminal
CN109451197A (en) * 2018-09-30 2019-03-08 广东工业大学 It is a kind of it is long-range it is stable send picture to server method
CN110162646A (en) * 2019-05-28 2019-08-23 广东电网有限责任公司 A kind of thermography management method and system

Similar Documents

Publication Publication Date Title
CN105787063A (en) Picture storage method and terminal device
US7143114B2 (en) Automatic renaming of files during file management
CN1967537B (en) Landmark search system for digital camera, map data, and method of sorting image data
JP4462331B2 (en) Imaging apparatus, control method, program
WO2015117416A1 (en) Photograph information processing method, device and terminal
CN101004754B (en) Image editing system and image editing method
CN104077312A (en) Picture classification method and device
CN102279861A (en) Method for marking geographic coordinates in pictures shot by digital camera
CN104346356A (en) Method and device for storing photo files in classifying manner
WO2017140232A1 (en) Method, apparatus, and electronic device for pushing travel information
CN104933146A (en) Photo management method, photo management device and mobile terminal
CN102314515A (en) Photo classification method and device
JP2008118643A (en) Apparatus and method of managing image file
CN102164345A (en) Method for recording positional information in picture taken by mobile phone
JP5253069B2 (en) Image processing method and image processing apparatus
CN109391778A (en) Panoramic table device for quick collecting and method
US20030163467A1 (en) Metric based reorganization of data
JP2002077805A (en) Camera with photographing memo function
CN109726180B (en) Method and device for file retrieval and monitoring in wireless storage Internet of things equipment
KR20150045821A (en) Apparatus and Method For Guiding the Path Using the GPS Information
JP4007586B2 (en) Image display device
JP2013229056A (en) Display of image file
JP2014023098A (en) Information processing device, imaging device, information processing program, and information processing method
TW201818275A (en) Multimedia files management system based on relational attributes and method thereof
JP2007166007A (en) Camera

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160720