[go: up one dir, main page]

CN104361100A - Method and device for ranking picture files - Google Patents

Method and device for ranking picture files Download PDF

Info

Publication number
CN104361100A
CN104361100A CN201410676966.7A CN201410676966A CN104361100A CN 104361100 A CN104361100 A CN 104361100A CN 201410676966 A CN201410676966 A CN 201410676966A CN 104361100 A CN104361100 A CN 104361100A
Authority
CN
China
Prior art keywords
picture file
time
temporal information
sort
multiple picture
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
CN201410676966.7A
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410676966.7A priority Critical patent/CN104361100A/en
Publication of CN104361100A publication Critical patent/CN104361100A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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)
  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention relates to a method and a device for ranking picture files, which are used for increasing the ranking efficiency of the picture files. The method comprises the steps of obtaining time information corresponding to multiple picture files; obtaining ranking basing time of each picture file according to the time information of each picture file in the multiple picture files, and obtaining ranking basing time corresponding to the multiple picture files; ranking the multiple picture files according to the ranking basing time corresponding to the multiple picture files. According to the technical scheme, since the most suitable ranking time of the picture files can be obtained according to the time information of the picture files, the ranking efficiency of the picture files is increased under the condition that the time bases of pictures are not consistent, and an actual reference value is obtained for ranking the picture files according to time.

Description

A kind of sort method of picture file and device
Technical field
The disclosure relates to technical field of network information, particularly relates to a kind of sort method and device of picture file.
Background technology
Along with popularizing of the mobile device such as mobile phone, panel computer, use mobile device to take pictures and share and browse photo more and more generally, due to the time format difference of the photo that many equipment is taken, causing and be difficult to sort according to suitable time comparison film.
Correlation technique sorts to multiple pictures by adopting the shooting time of photo, if extracted less than this shooting date, is then sorted to multiple photo by the last modification time of photo.Inventor finds, correlation technique needs the shooting time first reading out picture file from picture file, or read out the creation-time of picture file, then sort according to shooting time or creation-time, because the additional information of photo can be different, therefore the basis of time obtaining photo is also different, causes the sequence of comparison film may there is the situation not having reference value.
Summary of the invention
For overcoming Problems existing in correlation technique, disclosure embodiment provides a kind of sort method and device of picture file, in order to improve the sequence efficiency of picture file, and makes to have more actual reference to picture file according to time-sequencing.
According to the first aspect of disclosure embodiment, a kind of sort method of picture file is provided, comprises:
Obtain each self-corresponding temporal information of multiple picture file;
Obtain the sort by time of each picture file described according to the temporal information of each picture file in described multiple picture file, obtain described multiple picture file each self-corresponding sort by time;
According to described multiple picture file each self-corresponding sort by time, described multiple picture file is sorted.
In one embodiment, the described temporal information according to each picture file in described multiple picture file obtains the sort by time of each picture file described, obtains described multiple picture file each self-corresponding sort by time, can comprise:
Determine that the temporal information of each picture file in described multiple picture file is local zone time;
Obtain shooting date and the shooting moment of each picture file described, obtain the sort by time of each picture file described according to described shooting date and described shooting moment.
In one embodiment, described method also can comprise:
If the temporal information that can not determine each picture file in described multiple picture file is the Coordinated Universal Time(UTC), determine the camera site of the picture file representing temporal information with local zone time;
According to described camera site described local zone time is converted to the temporal information represented with the described Coordinated Universal Time(UTC).
In one embodiment, described method also can comprise:
If can not determine the described camera site representing the picture file of temporal information with local zone time, described in acquisition, can not determine the described last modification time representing the picture file of temporal information with local zone time;
The described sort by time representing the picture file of temporal information with local zone time is can not determine described in determining according to described last modification time.
In one embodiment, described method also can comprise:
The sort by time of described multiple picture file is kept in the incorporation time field of database.
According to the second aspect of disclosure embodiment, a kind of collator of picture file is provided, comprises:
First acquisition module, for obtaining each self-corresponding temporal information of multiple picture file;
Second acquisition module, for obtaining the sort by time of each picture file described according to the temporal information of each picture file in described multiple picture file, obtains described multiple picture file each self-corresponding sort by time;
Order module, for sorting to described multiple picture file according to described multiple picture file each self-corresponding sort by time.
In one embodiment, described second acquisition module can comprise:
First determines submodule, for determining that the temporal information of each picture file in described multiple picture file is local zone time;
First obtains submodule, for obtaining shooting date and the shooting moment of each picture file described, obtains the sort by time of each picture file described according to described shooting date and described shooting moment.
In one embodiment, described device also can comprise:
First determination module, if be the Coordinated Universal Time(UTC) for the temporal information that can not determine each picture file in described multiple picture file, determines the camera site of the picture file representing temporal information with local zone time;
Modular converter, if be the Coordinated Universal Time(UTC) for the temporal information that can not determine each picture file in described multiple picture file, determines the camera site of the picture file representing temporal information with local zone time.
In one embodiment, described device also can comprise:
3rd acquisition module, if for can not determine the described camera site representing the picture file of temporal information with local zone time, can not determine the described last modification time representing the picture file of temporal information with local zone time described in acquisition;
Second determination module, can not determine the described sort by time representing the picture file of temporal information with local zone time described in determining according to described last modification time.
In one embodiment, described device also can comprise:
Memory module, for being kept at the sort by time of described multiple picture file in the incorporation time field of database.
According to the third aspect of disclosure embodiment, a kind of collator of picture file is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain each self-corresponding temporal information of multiple picture file;
Obtain the sort by time of each picture file described according to the temporal information of each picture file in described multiple picture file, obtain described multiple picture file each self-corresponding sort by time;
According to described multiple picture file each self-corresponding sort by time, described multiple picture file is sorted.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: the sort by time obtaining each picture file according to the temporal information of each picture file in multiple picture file, obtain multiple picture file each self-corresponding sort by time, according to multiple picture file each self-corresponding sort by time, multiple picture file is sorted, due to the most suitable sorting time of picture file can be obtained according to the temporal information of picture file, therefore in the skimble-scamble situation of the basis of time of picture, improve the sequence efficiency of picture file, and make to have more actual reference to picture file according to time-sequencing.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of the sort method of picture file according to an exemplary embodiment.
Fig. 2 is the process flow diagram of the sort method of picture file according to an exemplary embodiment one.
Fig. 3 is the process flow diagram of the sort method of picture file according to an exemplary embodiment two.
Fig. 4 is the block diagram of the collator of a kind of picture file according to an exemplary embodiment.
Fig. 5 is the block diagram of the collator of another kind of picture file according to an exemplary embodiment.
Fig. 6 is a kind of block diagram being applicable to the collator of picture file according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the process flow diagram of the sort method of a kind of picture file according to an exemplary embodiment, as shown in Figure 1, the sort method of this picture file goes in mobile terminal or on PC, can adopt mobile terminal install application mode or on PC the mode of mounting software realize, comprise the following steps S101-S 103:
In step S101, obtain each self-corresponding temporal information of multiple picture file.
In one embodiment, multiple picture file can be obtained by digital camera shooting, also mobile terminal can be passed through (such as: smart mobile phone, panel computer) shooting obtain, can also be obtained by the mode of web download picture, or obtained by the mode of picture reproduction, correspondingly, the form of multiple picture file also may be different, such as: the form of picture file may be joint image expert group (JointPhotographic Experts Group, referred to as JPEG) form, bitmap (Bitmap, referred to as BMP) form etc., correspondingly, the temporal information of multiple picture file also may be different, such as, exchangeable image file (Exchangeable Image File in the jpeg-format, referred to as Exif) temporal information that stores of mode is example, dateTime is local zone time (LocalTime), and the last modification time (lastModify) of picture file is local zone time (Universal Time Coordinated, referred to as UTC).
Obtain the sort by time of each picture file in step s 102, according to the temporal information of each picture file in multiple picture file, obtain multiple picture file each self-corresponding sort by time.
In one embodiment, can by the temporal information in each picture file being carried out unify conversion, such as, in 100 pictures, have the temporal information of 50 pictures to store in the mode of UTC, 20 pictures are that the form of last modification time stores, the temporal information of 30 pictures is also had to store in the mode of local zone time, now, the pictures that the picture that 20 can be stored with last modification time and 30 store with local zone time are unified is converted to UTC, forms the sort by time.
In step s 103, according to multiple picture file each self-corresponding sort by time, multiple picture file is sorted.
In one embodiment, by forming the sorting time foundation of Unified Form, thus be conducive to sorting to multiple picture file, for the picture that same user adopts same mobile device to take in different time zone, in such a case, temporal information due to multiple picture file is identical and take time zone difference, therefore can by the picture of multiple different time zone being carried out the conversion of temporal information, thus make the basis of time of the sequence of plurality of pictures be provided with actual reference value, and the authenticity of picture sorting time foundation can be guaranteed, avoid the sequence order of occurrence of picture chaotic.
In one embodiment, step S102 can be embodied as following steps A1-A2:
In steps A 1, determine that the temporal information of each picture file in multiple picture file is the Coordinated Universal Time(UTC);
In steps A 2, obtain shooting date and the shooting moment of each picture file, obtain sort by time of each picture file according to shooting date and shooting moment.
Now, the sort method of picture file also comprises step S104-step S105:
If the temporal information determining the some picture files in multiple picture file in step S104 is local zone time, determine the camera site of some picture files;
In step S105, according to camera site local zone time is converted to the temporal information represented with the Coordinated Universal Time(UTC).
Now, the sort method of picture file also comprises step S106-step S107:
If can not determine the camera site of some picture files in step s 106, obtain the last modification time of some picture files;
In step s 107, the sort by time of some picture files is determined according to last modification time.
In one embodiment, the sort method of picture file also comprises step S108:
Be kept in the incorporation time field of database in step S108, by the sort by time of multiple picture file.
Specifically how multiple picture file is sorted, please refer to subsequent embodiment one and embodiment two.
So far, the said method that disclosure embodiment provides, the sort by time of each picture file is obtained according to the temporal information of each picture file in multiple picture file, obtain multiple picture file each self-corresponding sort by time, according to multiple picture file each self-corresponding sort by time, multiple picture file is sorted, due to the most suitable sorting time of picture file can be obtained according to the temporal information of picture file, therefore in the skimble-scamble situation of the basis of time of picture, improve the sequence efficiency of picture file, and make to have more actual reference to picture file according to time-sequencing.
With specific embodiment, the technical scheme that disclosure embodiment provides is described below.
Embodiment one
The said method that embodiment one utilizes disclosure embodiment to provide, determine that multiple picture file realizes the method sorted to multiple picture file when there is UTC mode information storage time, as shown in Figure 2, proceed as follows:
In step s 201, each self-corresponding temporal information of multiple picture file is obtained.
In one embodiment, various temporal information is present in multiple picture file, exemplary illustration is carried out for Exif, wherein, GPS date tag (GPSDateStamp) and these two temporal informations of gps time label (GPSTimeStamp) are had in Exif, wherein these two temporal informations are the UTC time, and the date-time (DateTime) in Exif is local (Local) time, last modification time (lastModify) in Exif is the UTC time, and time format is as table 1:
Table 1
Time type Time format Example
GPSDateStamp yyyy:MM:dd 2012:08:12
GPSTimeStamp hh:mm:ss 11:32:14
dateTime yyyy:MM:dd hh:mm:ss 2014:08:13 14:22:53
lastModified long 1344753135000
In step S202, determine that the temporal information of each picture file in multiple picture file is UTC.
In step S203, obtain shooting date and the shooting moment of each picture file, obtain sort by time of each picture file according to shooting date and shooting moment.
In one embodiment, be the temporal information of Exif form storage for multiple picture file, in such a case, shooting date and the shooting moment of picture file can be got by the date tag in reading Exif form and time tag.
In step S204, according to multiple picture file each self-corresponding sort by time, multiple picture file is sorted.
In the present embodiment, multiple picture file is sorted as the sort by time by UTC time standard, thus make the sorting time of multiple picture file be provided with unified standard, avoid existing between multiple picture time zone difference that time zone causes and the phenomenon of sequence confusion that causes, in the skimble-scamble situation of the basis of time of picture, improve the sequence efficiency of picture file, and make to have more actual reference to picture file according to time-sequencing.
Embodiment two
The said method that embodiment two utilizes disclosure embodiment to provide, determine that multiple picture file has in part picture file the method realizing when there is not UTC mode information storage time sorting to multiple picture file, as shown in Figure 3, proceed as follows:
In step S301, obtain each self-corresponding temporal information of multiple picture file.
The detailed description of step S301 with reference to the description about step S201 in above-described embodiment one, can not repeat them here.
In step s 302, determine that the temporal information of each picture file in multiple picture file is local zone time or UTC time, if be local zone time, perform step S303, if be the UTC time, then using the sort by time of this UTC time as picture, perform step S307.
In one embodiment, by above-mentioned steps S302 determine multiple picture file (A, B, C ..., Z) in totally 26 pictures, picture D wherein and the temporal information of picture M are local zone time, the temporal information of picture E and picture X is last modification time, and the temporal information of remaining picture is UTC.
In step S303, determine that whether temporal information is the camera site of the picture file of local zone time, if can camera site be determined, perform step S304, if can not determine camera site, perform step S305.
In one embodiment, for picture D and the picture M of local zone time, then need to determine whether to store camera site in this picture file, the time zone at place by camera site and then when can determine pictures taken D and picture M.
In step s 304, according to camera site, local zone time is converted to the temporal information represented with UTC, and will the sort by time of temporal information as picture of UTC be converted to, perform step S307.
In one embodiment, such as, picture D and picture M camera site are Beijing, the local zone time (LocalTime) of picture is: 2014:08:1314:22:53, then determine that the time zone between UTC is poor further by camera site, the time after UTC that is converted to is 2014:08:1306:22:53.The temporal information represented with UTC can be converted to thus by unified for the temporal information of the picture D represented with local zone time and picture M.
In step S305, obtain the temporal information of the picture file represented with last modification time, using the sort by time of last modification time as this picture file, perform step S306.
In one embodiment, such as, due to picture format or other factors, cause in the temporal information of picture E and picture X and there is not UTC temporal information and local time information, now, can by obtaining the last modification time (lastModify) of picture E and picture X, such as, the last modification time of picture E is the timestamp " 1344753135000 " shown in above-mentioned table 1, it is that starting point carries out timing that this timestamp represented when 1 day zero January in 1970, by this timestamp is converted to concrete date and moment, thus can using the last modification time of picture E as the sort by time, the last modification time of picture X is identical with the obtain manner of the last modification time of picture E, do not repeat them here.
In step S306, according to multiple picture file each self-corresponding sort by time, multiple picture file is sorted.
In the present embodiment, multiple picture file is sorted as the sort by time by UTC time standard, local zone time is converted to the UTC time, under above-mentioned UTC time and all non-existent situation of local zone time, re-use the last modification time of picture, thus make the sorting time of multiple picture file be provided with unified standard, avoid existing between multiple picture time zone difference that time zone causes and the phenomenon of sequence confusion that causes, the sequence efficiency of picture file is improve in the skimble-scamble situation of the basis of time of picture, and make to have more actual reference to picture file according to time-sequencing.
On the basis of above-described embodiment one and embodiment two, can also comprise the steps: the method for picture file sequence
The sort by time of multiple picture file is kept in the incorporation time field of database.
When sorting to multiple picture file, the temporal information be kept in the incorporation time field of database can be directly used to sort to picture, because the temporal information got has been the temporal information after sequence, avoid in prior art and need to sort to picture in internal memory and the slow problem of the sequencing production caused, improve the sequencing production of picture.
Fig. 4 is the block diagram of the collator of a kind of picture file according to an exemplary embodiment, and as shown in Figure 4, the collator of picture file comprises:
First acquisition module 41, for obtaining each self-corresponding temporal information of multiple picture file;
Second acquisition module 42, for obtaining the sort by time of each picture file described according to the temporal information of each picture file in described multiple picture file, obtains described multiple picture file each self-corresponding sort by time;
Order module 43, for sorting to described multiple picture file according to described multiple picture file each self-corresponding sort by time.
In one embodiment, the second acquisition module 42 can comprise:
First determines submodule, for determining that the temporal information of each picture file in described multiple picture file is local zone time;
First obtains submodule, for obtaining shooting date and the shooting moment of each picture file described, obtains the sort by time of each picture file described according to described shooting date and described shooting moment.
As shown in Figure 5, said apparatus also comprises:
First determination module 44, if be the Coordinated Universal Time(UTC) for the temporal information that can not determine each picture file in described multiple picture file, determines the camera site of the picture file representing temporal information with local zone time;
Modular converter 45, if be the Coordinated Universal Time(UTC) for the temporal information that can not determine each picture file in described multiple picture file, determines the camera site of the picture file representing temporal information with local zone time.
In one embodiment, described device also can comprise:
3rd acquisition module 46, if for can not determine the described camera site representing the picture file of temporal information with local zone time, obtaining this and can not determine the described last modification time representing the picture file of temporal information with local zone time;
Second determination module 47, can not determine the described sort by time representing the picture file of temporal information with local zone time described in determining according to described last modification time.
Memory module 48, for being kept at the sort by time of described multiple picture file in the incorporation time field of database.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 6 is a kind of block diagram being applicable to the collator 600 of picture file according to an exemplary embodiment.Device 600 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 6, device 600 can comprise following one or more assembly: processing components 602, storer 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, the interface 612 of I/O (I/O), sensor module 614, and communications component 616.
The integrated operation of the usual control device 600 of processing components 602, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 602 can comprise one or more processor 620 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 602 can comprise one or more module, and what be convenient between processing components 602 and other assemblies is mutual.Such as, processing element 602 can comprise multi-media module, mutual with what facilitate between multimedia groupware 606 and processing components 602.
Storer 604 is configured to store various types of data to be supported in the operation of equipment 600.The example of these data comprises for any application program of operation on device 600 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 604 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 606 is device 600 provide electric power.Electric power assembly 606 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 600 and be associated.
Multimedia groupware 608 is included in the screen providing an output interface between described device 600 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 608 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 600 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to export and/or input audio signal.Such as, audio-frequency assembly 610 comprises a microphone (MIC), and when device 600 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 604 further or be sent via communications component 616.In certain embodiments, audio-frequency assembly 610 also comprises a loudspeaker, for output audio signal.
I/O interface 612 is for providing interface between processing components 602 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 614 comprises one or more sensor, for providing the state estimation of various aspects for device 600.Such as, sensor module 614 can detect the opening/closing state of equipment 600, the relative positioning of assembly, such as described assembly is display and the keypad of device 600, the position of all right pick-up unit 600 of sensor module 614 or device 600 1 assemblies changes, the presence or absence that user contacts with device 600, the temperature variation of device 600 orientation or acceleration/deceleration and device 600.Sensor module 614 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 614 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 614 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to the communication being convenient to wired or wireless mode between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 616 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 616 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 604 of instruction, above-mentioned instruction can perform said method by the processor 620 of device 600.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a sort method for picture file, is characterized in that, described method comprises:
Obtain each self-corresponding temporal information of multiple picture file;
Obtain the sort by time of each picture file described according to the temporal information of each picture file in described multiple picture file, obtain described multiple picture file each self-corresponding sort by time;
According to described multiple picture file each self-corresponding sort by time, described multiple picture file is sorted.
2. the method for claim 1, it is characterized in that, the described temporal information according to each picture file in described multiple picture file obtains the sort by time of each picture file described, obtains described multiple picture file each self-corresponding sort by time, comprising:
Determine that the temporal information of each picture file in described multiple picture file is the Coordinated Universal Time(UTC);
Obtain shooting date and the shooting moment of each picture file described, obtain the sort by time of each picture file described according to described shooting date and described shooting moment.
3. method as claimed in claim 2, it is characterized in that, described method also comprises:
If the temporal information that can not determine each picture file in described multiple picture file is the Coordinated Universal Time(UTC), determine the camera site of the picture file representing temporal information with local zone time;
According to described camera site described local zone time is converted to the temporal information represented with the described Coordinated Universal Time(UTC).
4. method as claimed in claim 3, it is characterized in that, described method also comprises:
If can not determine the described camera site representing the picture file of temporal information with local zone time, described in acquisition, can not determine the described last modification time representing the picture file of temporal information with local zone time;
The described sort by time representing the picture file of temporal information with local zone time is can not determine described in determining according to described last modification time.
5. the method as described in as arbitrary in claim 1-4, it is characterized in that, described method also comprises:
The sort by time of described multiple picture file is kept in the incorporation time field of database.
6. a collator for picture file, is characterized in that, described device comprises:
First acquisition module, for obtaining each self-corresponding temporal information of multiple picture file;
Second acquisition module, for obtaining the sort by time of each picture file described according to the temporal information of each picture file in described multiple picture file, obtains described multiple picture file each self-corresponding sort by time;
Order module, for sorting to described multiple picture file according to described multiple picture file each self-corresponding sort by time.
7. device as claimed in claim 6, it is characterized in that, described second acquisition module comprises:
First determines submodule, for determining that the temporal information of each picture file in described multiple picture file is local zone time;
First obtains submodule, for obtaining shooting date and the shooting moment of each picture file described, obtains the sort by time of each picture file described according to described shooting date and described shooting moment.
8. device as claimed in claim 7, it is characterized in that, described device also comprises:
First determination module, if be the Coordinated Universal Time(UTC) for the temporal information that can not determine each picture file in described multiple picture file, determines the camera site of the picture file representing temporal information with local zone time;
Modular converter, if be the Coordinated Universal Time(UTC) for the temporal information that can not determine each picture file in described multiple picture file, determines the camera site of the picture file representing temporal information with local zone time.
9. device as claimed in claim 8, it is characterized in that, described device also comprises:
3rd acquisition module, if for can not determine the described camera site representing the picture file of temporal information with local zone time, can not determine the described last modification time representing the picture file of temporal information with local zone time described in acquisition;
Second determination module, can not determine the described sort by time representing the picture file of temporal information with local zone time described in determining according to described last modification time.
10. the device as described in as arbitrary in claim 6-9, it is characterized in that, described device also comprises:
Memory module, for being kept at the sort by time of described multiple picture file in the incorporation time field of database.
The collator of 11. 1 kinds of picture files, is characterized in that, described device comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain each self-corresponding temporal information of multiple picture file;
Obtain the sort by time of each picture file described according to the temporal information of each picture file in described multiple picture file, obtain described multiple picture file each self-corresponding sort by time;
According to described multiple picture file each self-corresponding sort by time, described multiple picture file is sorted.
CN201410676966.7A 2014-11-21 2014-11-21 Method and device for ranking picture files Pending CN104361100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410676966.7A CN104361100A (en) 2014-11-21 2014-11-21 Method and device for ranking picture files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410676966.7A CN104361100A (en) 2014-11-21 2014-11-21 Method and device for ranking picture files

Publications (1)

Publication Number Publication Date
CN104361100A true CN104361100A (en) 2015-02-18

Family

ID=52528360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410676966.7A Pending CN104361100A (en) 2014-11-21 2014-11-21 Method and device for ranking picture files

Country Status (1)

Country Link
CN (1) CN104361100A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554052A (en) * 2015-09-25 2016-05-04 深圳市美贝壳科技有限公司 Server photograph information remote synchronous modification method
CN105549935A (en) * 2015-12-18 2016-05-04 小米科技有限责任公司 Method and device for displaying photos
CN106792149A (en) * 2016-12-14 2017-05-31 广州视源电子科技股份有限公司 picture playing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020106189A1 (en) * 2001-02-02 2002-08-08 Yasunori Sato Recording apparatus and method, playback apparatus and method, recording medium, program, and computer-readable recording medium
CN101031051A (en) * 2006-03-02 2007-09-05 奥林巴斯映像株式会社 Image file recording method, image recording and playback method, image recording and playback system, image recording apparatus, and image playback apparatus
US20080205771A1 (en) * 2007-02-28 2008-08-28 Kraus Bryan D Classifying complete and incomplete date-time information
CN101788986A (en) * 2009-01-23 2010-07-28 沈阳晨讯希姆通科技有限公司 Method and corresponding electronic equipment for intelligently sequencing and positioning file lists
CN102902692A (en) * 2011-07-28 2013-01-30 腾讯科技(北京)有限公司 Method and system for processing and showing network media information
CN103310005A (en) * 2013-06-28 2013-09-18 北京小米科技有限责任公司 Thumbnail display method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020106189A1 (en) * 2001-02-02 2002-08-08 Yasunori Sato Recording apparatus and method, playback apparatus and method, recording medium, program, and computer-readable recording medium
CN101031051A (en) * 2006-03-02 2007-09-05 奥林巴斯映像株式会社 Image file recording method, image recording and playback method, image recording and playback system, image recording apparatus, and image playback apparatus
US20080205771A1 (en) * 2007-02-28 2008-08-28 Kraus Bryan D Classifying complete and incomplete date-time information
CN101788986A (en) * 2009-01-23 2010-07-28 沈阳晨讯希姆通科技有限公司 Method and corresponding electronic equipment for intelligently sequencing and positioning file lists
CN102902692A (en) * 2011-07-28 2013-01-30 腾讯科技(北京)有限公司 Method and system for processing and showing network media information
CN103310005A (en) * 2013-06-28 2013-09-18 北京小米科技有限责任公司 Thumbnail display method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554052A (en) * 2015-09-25 2016-05-04 深圳市美贝壳科技有限公司 Server photograph information remote synchronous modification method
CN105549935A (en) * 2015-12-18 2016-05-04 小米科技有限责任公司 Method and device for displaying photos
CN105549935B (en) * 2015-12-18 2018-11-23 小米科技有限责任公司 Show the method and device of photo
CN106792149A (en) * 2016-12-14 2017-05-31 广州视源电子科技股份有限公司 picture playing method and device
CN106792149B (en) * 2016-12-14 2021-03-02 广州视源电子科技股份有限公司 Picture playing method and device

Similar Documents

Publication Publication Date Title
CN104092808B (en) Number mark method, device and terminal
CN104808501A (en) Intelligent scene deleting method and device
CN104580738A (en) Method and device for setting information reminding modes
CN105338399A (en) Image acquisition method and device
CN105338157A (en) Nuisance call processing method, and device and telephone
CN103955481A (en) Picture displaying method and device
CN105426515A (en) Video classification method and apparatus
CN104268150A (en) Method and device for playing music based on image content
CN104899610A (en) Picture classification method and device
CN104112119A (en) Face identification-based communication method and apparatus
CN104537038A (en) Information display method, device and terminal
CN104391711A (en) Method and device for setting screen protection
CN104462296A (en) File managing method and device and terminal
CN105205494A (en) Similar picture identification method and device
CN103970576A (en) Installation information displaying method, obtaining method and device
CN104468760A (en) Method and device for pushing reminding information
CN104615663A (en) File sorting method and device and terminal
CN103973900B (en) The method of transmission information and device
CN105426878A (en) Method and device for face clustering
CN104991910A (en) Album creation method and apparatus
CN105488829A (en) Method and device for generating head portrait
CN104820549A (en) Method, device and terminal for transmitting social networking application message
CN104320707A (en) Playback method and device of network video
CN104850643A (en) Image comparison method and device
CN104463047A (en) Device and method for control modules to work

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

Application publication date: 20150218

RJ01 Rejection of invention patent application after publication