CN107133357A - A kind of picture storage method and mobile terminal - Google Patents

A kind of picture storage method and mobile terminal Download PDF

Info

Publication number
CN107133357A
CN107133357A CN201710385722.7A CN201710385722A CN107133357A CN 107133357 A CN107133357 A CN 107133357A CN 201710385722 A CN201710385722 A CN 201710385722A CN 107133357 A CN107133357 A CN 107133357A
Authority
CN
China
Prior art keywords
picture
folder
stored
date
mobile 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.)
Granted
Application number
CN201710385722.7A
Other languages
Chinese (zh)
Other versions
CN107133357B (en
Inventor
兰永城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710385722.7A priority Critical patent/CN107133357B/en
Publication of CN107133357A publication Critical patent/CN107133357A/en
Application granted granted Critical
Publication of CN107133357B publication Critical patent/CN107133357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • 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)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephone Function (AREA)

Abstract

The embodiments of the invention provide a kind of picture storage method and mobile terminal, this method includes:If detecting the presence of the picture being newly stored in, by retrieving the folder information for the multiple files being locally stored, the destination folder set up recently is confirmed;Inquire about whether picture amount of storage current in destination folder is less than predetermined threshold;If so, picture then is stored in into destination folder;If it is not, then setting up new folder, and picture is stored in new folder.So as to allow user directly quickly to find the picture that user specifies by selecting corresponding file, and then improve Consumer's Experience.

Description

A kind of picture storage method and mobile terminal
Technical field
The present embodiments relate to the communications field, more particularly to a kind of picture storage method and mobile terminal.
Background technology
With continuing to develop for mobile terminal technology, the shoot function of mobile phone is also more and more perfect, and people are in daily life In many shot using mobile phones.But, accumulation over time, the picture in mobile terminal will be deposited more and more.
Therefore, when user wants quickly to search the picture captured by certain period, it is necessary to whole in photograph album of leafing through one by one Picture, can just get designated pictures.
The content of the invention
The embodiment of the present invention provides a kind of picture storage method, to solve in the prior art, when user wants quick search , it is necessary to which whole pictures in photograph album of leafing through one by one, cause search efficiency low and time-consuming, sternly during picture captured by certain period The problem of have impact on Consumer's Experience again.
First aspect is there is provided a kind of picture storage method, and applied to mobile terminal, methods described includes:
If detecting the presence of the picture being newly stored in, by retrieving the folder information for the multiple files being locally stored, Confirm the destination folder set up recently;
Inquire about whether picture amount of storage current in destination folder is less than predetermined threshold;
If so, picture then is stored in into destination folder;
If it is not, then setting up new folder, and picture is stored in new folder.
On the other hand, the embodiment of the present invention additionally provides a kind of mobile terminal, including:
Module is confirmed, if for detecting the presence of the picture being newly stored in, by retrieving the multiple files being locally stored Folder information, confirm the destination folder set up recently;
Enquiry module, for inquiring about whether picture amount of storage current in destination folder is less than predetermined threshold;
Memory module, for if so, picture then is stored in into destination folder;
Module is set up, for if it is not, then set up new folder, and picture is stored in new folder.
So, the technical scheme in the embodiment of the present invention, if the picture being newly stored in by detecting the presence of, passes through retrieval The folder information for the multiple files being locally stored, confirms the destination folder set up recently;Inquire about destination folder in when Whether preceding picture amount of storage is less than predetermined threshold;If so, picture then is stored in into destination folder;If it is not, then setting up new file Folder, and picture is stored in new folder.So as to allow user directly to be checked quickly soon by selecting corresponding file The picture that user specifies is found, and then improves Consumer's Experience.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart of the picture storage method in the embodiment of the present invention one;
Fig. 2 is the flow chart of the picture storage method in the embodiment of the present invention two;
Fig. 3 is the block diagram of the mobile terminal in the embodiment of the present invention three;
Fig. 4 is the block diagram of the mobile terminal in the embodiment of the present invention three;
Fig. 5 is the block diagram of the mobile terminal in the embodiment of the present invention four;
Fig. 6 is the structural representation of the mobile terminal in the embodiment of the present invention five.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Embodiment one
Reference picture 1, shows a kind of flow chart of weakening method in the embodiment of the present invention.
Step 101, if detecting the presence of the picture being newly stored in, by the file for retrieving the multiple files being locally stored Information is pressed from both sides, the destination folder set up recently is confirmed.
Specifically, in an embodiment of the present invention, when user is newly stored in picture, mobile terminal can detect picture storage Action.That is, confirm there is currently the picture being newly stored in.
Then, multiple files that mobile terminal retrieval is locally stored, in an embodiment of the present invention, multiple files are It is used for the file for storing picture under assigned catalogue.Which mobile terminal confirms by retrieving the folder informations of multiple files Individual file is the destination folder set up recently.In an embodiment of the present invention, folder information includes but is not limited to:Starting Date and deadline, wherein, from date is the deposit date of the picture of deposit file earliest;Deadline deposits to be newest Enter the deposit date of the picture of file.In other embodiments, folder information can also have been stored including current file folder The information such as the quantity of picture.
Step 102, whether picture amount of storage current in inquiry destination folder is less than predetermined threshold.
Specifically, in an embodiment of the present invention, the current picture amount of storage in mobile terminal enquiry destination folder Whether predetermined threshold.In one embodiment, different files can correspond to different predetermined thresholds, and predetermined threshold can be according to reality Situation is configured, and this is not limited by the present invention.If less than predetermined threshold, into step 103, if more than or equal to predetermined threshold Value, then into step 104.
Step 103, picture is stored in destination folder.
Specifically, in an embodiment of the present invention, mobile terminal is confirming the current picture amount of storage of destination folder In the case of less than predetermined threshold, picture is stored into destination folder.
Step 104, new folder is set up, and picture is stored in new folder.
Specifically, in an embodiment of the present invention, mobile terminal is confirming the current picture amount of storage of destination folder In the case of more than or equal to predetermined threshold, new Photo folder is set up under assigned catalogue, and picture storage is newly set up File in.
In summary, the technical scheme in the embodiment of the present invention, if the picture being newly stored in by detecting the presence of, passes through The folder information for the multiple files being locally stored is retrieved, the destination folder set up recently is confirmed;Inquire about destination folder In current picture amount of storage whether be less than predetermined threshold;If so, picture then is stored in into destination folder;If it is not, then setting up new File, and picture is stored in new folder.So as to allow user directly fast by selecting corresponding file The picture that user specifies is found in quick checking, and then improves Consumer's Experience.
Embodiment two
Reference picture 2, shows a kind of flow chart of picture storage method in the embodiment of the present invention.
Step 201, if detecting the presence of the picture being newly stored in, by the file for retrieving the multiple files being locally stored Information is pressed from both sides, the destination folder set up recently is confirmed.
Specifically, in an embodiment of the present invention, when user is newly stored in picture, mobile terminal can detect picture storage Action.That is, confirm there is currently the picture being newly stored in.
Then, multiple files for being locally stored of mobile terminal retrieval, in an embodiment of the present invention, multiple files To be used for the file for storing picture under assigned catalogue.Mobile terminal is confirmed by retrieving the folder informations of multiple files Which file is the destination folder set up recently.
In an embodiment of the present invention, folder information includes but is not limited to:From date and deadline, wherein, rise Begin deposit date of the date for the picture of deposit file earliest;Deadline is the deposit day of the picture of newest deposit file Phase.In other embodiments, folder information can also include the information such as the quantity of current file folder stored picture.
Step 202, whether picture amount of storage current in inquiry destination folder is less than predetermined threshold.
Specifically, in an embodiment of the present invention, the current picture amount of storage in mobile terminal enquiry destination folder Whether predetermined threshold.In one embodiment, different files can correspond to different predetermined thresholds, and predetermined threshold can be according to reality Situation is configured, and this is not limited by the present invention.If less than predetermined threshold, into step 203, if more than or equal to predetermined threshold Value, then into step 204.
Step 203, picture is stored in destination folder.
Specifically, in an embodiment of the present invention, mobile terminal is confirming the current picture amount of storage of destination folder In the case of less than predetermined threshold, picture is stored into destination folder.
In addition, in one embodiment of the invention, mobile terminal will also update the deadline of destination folder.That is, Deadline in the folder information of destination folder is updated to the date of current deposit picture.In one embodiment, The commencement date and deadline that folder information can be included is shown in the filename of file with the deadline, then in the embodiment In, mobile terminal to update need to update the name of destination folder.In an embodiment of the present invention, the deposit date of picture is figure The date created of piece.Picture sets up the corresponding pictorial information of picture at new deposit (new to shoot), and pictorial information is included but not It is limited to establishment (deposit) date of the picture in mobile terminal.
Step 204, new folder is set up.Picture is stored in new folder.
Specifically, in an embodiment of the present invention, mobile terminal is confirming the current picture amount of storage of destination folder In the case of more than or equal to predetermined threshold, new Photo folder is set up under assigned catalogue, and picture storage is newly set up File in.
Also, in a preferred embodiment of the invention, mobile terminal also writes from date and deadline In the filename of new folder.Wherein, the from date of new folder and deadline are the current deposit date of picture.
In addition, in one embodiment of the invention, if one stored in any file or more than one picture quilt Remove or delete, then mobile terminal is detected whether according to the deposit date of one being moved out of or deleting or more than one picture Need the from date and/or the deadline of one or more than one affiliated file of picture of renewal.
In summary, the technical scheme in the embodiment of the present invention, if the picture being newly stored in by detecting the presence of, passes through The folder information for the multiple files being locally stored is retrieved, the destination folder set up recently is confirmed;Inquire about destination folder In current picture amount of storage whether be less than predetermined threshold;If so, picture then is stored in into destination folder;If it is not, then setting up new File, and picture is stored in new folder.So as to allow user directly fast by selecting corresponding file The picture that user specifies is found in quick checking, and then improves Consumer's Experience.
Embodiment three
Fig. 3 is the block diagram of the mobile terminal of one embodiment of the invention.Mobile terminal 300 shown in Fig. 3 includes validating that mould Block 301, enquiry module 302, memory module 303, set up module 304.
Module 301 is confirmed, if for detecting the presence of the picture being newly stored in, by retrieving the multiple files being locally stored The folder information of folder, confirms the destination folder set up recently.
Specifically, in an embodiment of the present invention, when user is newly stored in picture, mobile terminal can detect picture storage Action.That is, confirm there is currently the picture being newly stored in.
Then, confirm that module 301 retrieves the multiple files being locally stored, in an embodiment of the present invention, multiple files Press from both sides to be used for the file for storing picture under assigned catalogue.Module 301 is confirmed by retrieving the folder informations of multiple files, It is the destination folder set up recently to confirm which file.In an embodiment of the present invention, folder information includes but not limited In:From date and deadline, wherein, from date is the deposit date of the picture of deposit file earliest;Deadline For the deposit date of the picture of newest deposit file.In other embodiments, folder information can also include current file Press from both sides the information such as the quantity of stored picture.
Enquiry module 302, for inquiring about whether picture amount of storage current in destination folder is less than predetermined threshold.
Specifically, in an embodiment of the present invention, the current picture storage in the inquiry destination folder of enquiry module 302 Amount whether predetermined threshold.In one embodiment, different files can correspond to different predetermined thresholds, and predetermined threshold can be according to reality Border situation is configured, and this is not limited by the present invention.
Memory module 303, if being yes for the Query Result of enquiry module 302, destination folder is stored in by picture.
Specifically, in an embodiment of the present invention, enquiry module 302 is confirming the current picture storage of destination folder In the case that amount is less than predetermined threshold, picture is stored destination folder by memory module 303.
Module 304 is set up, if no for the Query Result of enquiry module 302, new folder is set up, and picture is stored in newly In file.
Specifically, in an embodiment of the present invention, enquiry module 302 is confirming the current picture storage of destination folder In the case that amount is more than or equal to predetermined threshold, sets up module 304 and new Photo folder is set up under assigned catalogue, and will figure Piece is stored in newly-established file.
In summary, the mobile terminal in the embodiment of the present invention, if the picture being newly stored in by detecting the presence of, passes through The folder information for the multiple files being locally stored is retrieved, the destination folder set up recently is confirmed;Inquire about destination folder In current picture amount of storage whether be less than predetermined threshold;If so, picture then is stored in into destination folder;If it is not, then setting up new File, and picture is stored in new folder.So as to allow user directly fast by selecting corresponding file The picture that user specifies is found in quick checking, and then improves Consumer's Experience.
In one embodiment of the invention, as shown in figure 4, mobile terminal may further include:
Update module 305, the deadline for updating destination folder.
In addition, in a preferred embodiment of the invention, setting up module 304 and being further used for:
New folder is set up, and from date and deadline are write in the filename of new folder;
Wherein, the from date of new folder and deadline are the current deposit date of picture.
In one embodiment of the invention, mobile terminal further comprises:
Detection module 306, if being moved out of or deleting for one stored in any file or more than one picture, According to the deposit date of one being moved out of or deleting or more than one picture, detect whether to need to update one or more than one The from date of the affiliated file of picture and/or deadline.
Example IV
Fig. 5 is the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal 500 shown in Fig. 5 includes:At least One processor 501, memory 502, at least one network interface 504 and other users interface 503.In mobile terminal 500 Each component is coupled by bus system 505.It is understood that bus system 505 is used to realize the company between these components Connect letter.Bus system 505 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But It is that for the sake of clear explanation, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside slow at a high speed Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 502 of the system and method for description of the embodiment of the present invention is intended to include but not limited In these memories with any other suitable type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for Realize various basic businesses and handle hardware based task.Application program 5022, includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 502, specifically, can be application The program stored in program 5022 or instruction, if processor 501 is used to detect the presence of the picture being newly stored in, by retrieving this The folder information of multiple files of ground storage, confirms the destination folder set up recently;Inquire about current in destination folder Picture amount of storage whether be less than predetermined threshold;If so, picture then is stored in into destination folder;If it is not, new folder is then set up, And picture is stored in new folder.
The method that the embodiments of the present invention are disclosed can apply in processor 501, or be realized by processor 501. Processor 501 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), application specific integrated circuit (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.It can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion, or use decoding processor In hardware and software module combination perform completion.Software module can be located at random access memory, and flash memory, read-only storage can In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, register.The storage Medium is located at memory 502, and processor 501 reads the information in memory 502, and the step of the above method is completed with reference to its hardware Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware, Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for performing herein described function In member or its combination.
For software realize, can by perform the module (such as process, function) of function described in the embodiment of the present invention come Realize the technology described in the embodiment of the present invention.Software code is storable in memory and by computing device.Memory can To realize within a processor or outside processor.
Alternatively, processor 501 is used to set up new folder, and from date and deadline are write into new folder In filename;Wherein, the from date of new folder and deadline are the current deposit date of picture.
Alternatively, processor 501 is additionally operable to:Update the deadline of destination folder.
Alternatively, as another embodiment, processor 501 is additionally operable to:If one stored in any file or one Above picture is opened to be moved out of or delete, then according to the deposit date for one or more than one picture for being moved out of or deleting, detection Whether the from date and/or deadline of renewal one or more than one picture affiliated file is needed.
Mobile terminal 500 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here Repeat no more.
In summary, the mobile terminal in the embodiment of the present invention, if the picture being newly stored in by detecting the presence of, passes through The folder information for the multiple files being locally stored is retrieved, the destination folder set up recently is confirmed;Inquire about destination folder In current picture amount of storage whether be less than predetermined threshold;If so, picture then is stored in into destination folder;If it is not, then setting up new File, and picture is stored in new folder.So as to allow user directly fast by selecting corresponding file The picture that user specifies is found in quick checking, and then improves Consumer's Experience.
Embodiment five
Fig. 6 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 6 600 can be mobile phone, tablet personal computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer Deng.
Mobile terminal 600 in Fig. 6 includes radio frequency (RadioFrequency, RF) circuit 610, memory 620, input list Member 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680 and power supply 690。
Wherein, input block 630 can be used for the numeral or character information for receiving user's input, and produce and mobile terminal The signal input that 600 user is set and function control is relevant.Specifically, in the embodiment of the present invention, the input block 630 can With including contact panel 631.Contact panel 631, also referred to as touch-screen, collect touch operation of the user on or near it (such as user uses the operations of any suitable object or annex on contact panel 631 such as finger, stylus), and according to advance The formula of setting drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller Two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give the processor 660 again, and the order sent of reception processing device 660 and can be performed.Furthermore, it is possible to using resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630 can also include other input equipments 632, and other input equipments 632 can include but is not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for information and the movement for showing the information inputted by user or being supplied to user The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hairs The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when touch display screen inspection Measure after the touch operation on or near it, processor 660 is sent to determine the type of touch event, with preprocessor 660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example, Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of mobile terminal 600, utilizes various interfaces and connection whole mobile phone Various pieces, software program and/or module in first memory 621 are stored in by operation or execution, and call storage Data in second memory 622, perform the various functions and processing data of mobile terminal 600, so as to mobile terminal 600 Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, if processor 660 is used to detect the presence of the picture being newly stored in, by retrieving this The folder information of multiple files of ground storage, confirms the destination folder set up recently;Inquire about current in destination folder Picture amount of storage whether be less than predetermined threshold;If so, picture then is stored in into destination folder;If it is not, new folder is then set up, And picture is stored in new folder.
Alternatively, processor 660 is used to set up new folder, and from date and deadline are write into new folder In filename;Wherein, the from date of new folder and deadline are the current deposit date of picture.
Alternatively, processor 660 is additionally operable to:Update the deadline of destination folder.
Alternatively, as another embodiment, processor 660 is additionally operable to:If one stored in any file or one Above picture is opened to be moved out of or delete, then according to the deposit date for one or more than one picture for being moved out of or deleting, detection Whether the from date and/or deadline of renewal one or more than one picture affiliated file is needed.
It can be seen that, the mobile terminal in the embodiment of the present invention, if the picture being newly stored in by detecting the presence of, passes through retrieval The folder information for the multiple files being locally stored, confirms the destination folder set up recently;Inquire about destination folder in when Whether preceding picture amount of storage is less than predetermined threshold;If so, picture then is stored in into destination folder;If it is not, then setting up new file Folder, and picture is stored in new folder.So as to allow user directly to be checked quickly soon by selecting corresponding file The picture that user specifies is found, and then improves Consumer's Experience.
The embodiment of the present invention additionally provides a kind of mobile terminal, including:Memory, processor and store on a memory simultaneously The picture storage program that can be run on a processor, realizes appointing shown in the present invention when picture storage program is executed by processor A kind of the step of picture storage method of anticipating.
The embodiment of the present invention is additionally provided to be stored with a kind of computer-readable recording medium, computer-readable recording medium Picture storage program, realizes any one picture storage method shown in the present invention when picture storage program is executed by processor The step of.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each The unit and algorithm steps of example, can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty Technical staff can realize described function to each specific application using distinct methods, but this realization should not Think beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (14)

1. a kind of picture storage method, applied to mobile terminal, it is characterised in that methods described includes:
If detecting the presence of the picture being newly stored in, by retrieving the folder information for the multiple files being locally stored, confirm The destination folder set up recently;
Inquire about whether picture amount of storage current in the destination folder is less than predetermined threshold;
If so, the picture then is stored in into the destination folder;
If it is not, then setting up new folder, and the picture is stored in the new folder.
2. according to the method described in claim 1, it is characterised in that the folder information includes from date and deadline Phase, wherein, the from date is the deposit date of the picture of deposit file earliest;Deadline is newest deposit file Picture the deposit date.
3. method according to claim 2, it is characterised in that the folder information is shown in the destination folder In filename.
4. according to the method in claim 2 or 3, it is characterised in that described that the picture is stored in the destination folder The step of after, further comprise:
Update the deadline of the destination folder.
5. method according to claim 2, it is characterised in that described to set up new folder, and the picture is stored in institute The step in new folder is stated, is specifically included:
New folder is set up, and the from date and deadline are write in the filename of the new folder;
Wherein, the from date of the new folder and deadline are the current deposit date of the picture.
6. method according to claim 2, it is characterised in that methods described further comprises:
If one stored in any file or more than one picture are moved out of or deleted, according to one for being moved out of or deleting Or more than one picture the deposit date, detect whether to need to update one or more than the one affiliated file of picture From date and/or deadline.
7. a kind of mobile terminal, it is characterised in that including:
Module is confirmed, if for detecting the presence of the picture being newly stored in, by the text for retrieving the multiple files being locally stored Part presss from both sides information, confirms the destination folder set up recently;
Enquiry module, for inquiring about whether picture amount of storage current in the destination folder is less than predetermined threshold;
Memory module, for if so, the picture then is stored in into the destination folder;
Module is set up, for if it is not, then set up new folder, and the picture is stored in the new folder.
8. mobile terminal according to claim 6, it is characterised in that the folder information includes from date and cut-off Date, wherein, the from date is the deposit date of the picture of deposit file earliest;Deadline is newest deposit file The deposit date of the picture of folder.
9. mobile terminal according to claim 8, it is characterised in that the folder information is shown in the file destination In the filename of folder.
10. mobile terminal according to claim 8 or claim 9, it is characterised in that described device further comprises:
Update module, the deadline for updating the destination folder.
11. mobile terminal according to claim 8, it is characterised in that the module of setting up is further used for:
New folder is set up, and the from date and deadline are write in the filename of the new folder;
Wherein, the from date of the new folder and deadline are the current deposit date of the picture.
12. mobile terminal according to claim 8, it is characterised in that the mobile terminal further comprises:
Detection module, if being moved out of or deleting for one stored in any file or more than one picture, according to quilt On the deposit date for one or more than one picture for removing or deleting, detect whether to need to update one or more than one figure The from date of the affiliated file of piece and/or deadline.
13. a kind of mobile terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be in institute The picture storage program run on processor is stated, the picture storage program is realized such as claim during the computing device The step of picture storage method any one of 1 to 5.
14. a kind of computer-readable recording medium, it is characterised in that the picture that is stored with the computer-readable recording medium is deposited Storage program, realizes the picture storage as any one of claim 1 to 5 when the picture storage program is executed by processor The step of method.
CN201710385722.7A 2017-05-26 2017-05-26 Picture storage method and mobile terminal Active CN107133357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710385722.7A CN107133357B (en) 2017-05-26 2017-05-26 Picture storage method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710385722.7A CN107133357B (en) 2017-05-26 2017-05-26 Picture storage method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107133357A true CN107133357A (en) 2017-09-05
CN107133357B CN107133357B (en) 2020-01-14

Family

ID=59733353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710385722.7A Active CN107133357B (en) 2017-05-26 2017-05-26 Picture storage method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107133357B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399346A (en) * 2019-06-20 2019-11-01 平安科技(深圳)有限公司 Utilize store path setting method, device and the computer equipment of file counter

Citations (10)

* 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
US20140056522A1 (en) * 2012-08-23 2014-02-27 Samsung Electronics Co. Ltd. Method and apparatus for processing data using optical character reader
CN104092726A (en) * 2014-06-09 2014-10-08 乐视网信息技术(北京)股份有限公司 Automatic replacing method and apparatus of same-name file
CN104361101A (en) * 2014-11-24 2015-02-18 英华达(上海)科技有限公司 Video file classifying method and system
US20150178309A1 (en) * 2012-06-05 2015-06-25 International Business Machines Corporation Preserving a state using snapshots with selective tuple versioning
CN105610596A (en) * 2014-11-20 2016-05-25 腾讯科技(武汉)有限公司 Resource directory management method and network terminal
CN105760461A (en) * 2016-02-04 2016-07-13 上海卓易科技股份有限公司 Automatic album establishing method and device
CN105787063A (en) * 2016-02-29 2016-07-20 深圳天珑无线科技有限公司 Picture storage method and terminal device
CN105824860A (en) * 2015-05-26 2016-08-03 维沃移动通信有限公司 Method for managing multi-media files and electronic equipment
CN106407297A (en) * 2016-08-31 2017-02-15 成都科来软件有限公司 Data packet downloading management system and method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150178309A1 (en) * 2012-06-05 2015-06-25 International Business Machines Corporation Preserving a state using snapshots with selective tuple versioning
US20140056522A1 (en) * 2012-08-23 2014-02-27 Samsung Electronics Co. Ltd. Method and apparatus for processing data using optical character reader
CN103064937A (en) * 2012-12-25 2013-04-24 广东欧珀移动通信有限公司 Method and device for storing photos and based on shooting address and shooting time
CN104092726A (en) * 2014-06-09 2014-10-08 乐视网信息技术(北京)股份有限公司 Automatic replacing method and apparatus of same-name file
CN105610596A (en) * 2014-11-20 2016-05-25 腾讯科技(武汉)有限公司 Resource directory management method and network terminal
CN104361101A (en) * 2014-11-24 2015-02-18 英华达(上海)科技有限公司 Video file classifying method and system
CN105824860A (en) * 2015-05-26 2016-08-03 维沃移动通信有限公司 Method for managing multi-media files and electronic equipment
CN105760461A (en) * 2016-02-04 2016-07-13 上海卓易科技股份有限公司 Automatic album establishing method and device
CN105787063A (en) * 2016-02-29 2016-07-20 深圳天珑无线科技有限公司 Picture storage method and terminal device
CN106407297A (en) * 2016-08-31 2017-02-15 成都科来软件有限公司 Data packet downloading management system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399346A (en) * 2019-06-20 2019-11-01 平安科技(深圳)有限公司 Utilize store path setting method, device and the computer equipment of file counter
WO2020252929A1 (en) * 2019-06-20 2020-12-24 平安科技(深圳)有限公司 Method and apparatus for configuring storage path by using file counter, and computer device
CN110399346B (en) * 2019-06-20 2024-01-16 平安科技(深圳)有限公司 Storage path setting method and device using file counter and computer equipment

Also Published As

Publication number Publication date
CN107133357B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN106951141B (en) A kind of processing method and mobile terminal of icon
CN107145348A (en) A kind of application program split screen processing method and mobile terminal
CN106020613A (en) Operation method and mobile terminal for unread messages
CN106681623A (en) Screenshot picture sharing method and mobile terminal
CN103076942A (en) Apparatus and method for changing an icon in a portable terminal
CN105224276A (en) A kind of multi-screen display method and electronic equipment
CN107193482A (en) The operating method and mobile terminal of a kind of mobile terminal screen
CN106355395A (en) Payment method and mobile terminal
CN107329689B (en) A kind of backing method and mobile terminal of hand-writing input method
CN106372894A (en) Payment method and mobile terminal
CN107229396A (en) A kind of hiding method of mobile terminal application icon and mobile terminal
CN105824662A (en) Application program uninstalling method and electronic equipment
CN106776871A (en) The storage method and mobile terminal of a kind of multimedia file
CN106775488A (en) The storage method and mobile terminal of a kind of file
CN106527906A (en) Picture capture method and mobile terminal
CN105955544A (en) Touch operation processing method and mobile terminal
CN106874046A (en) The operating method and mobile terminal of a kind of application program
CN107203313A (en) Adjust desktop and show object method, mobile terminal and computer-readable recording medium
CN107643859A (en) A kind of running status restoration methods and mobile terminal
CN106325753A (en) Payment interface display method and mobile terminal
CN107544729A (en) The interface switching method and mobile terminal of a kind of application
CN107506130A (en) A kind of word delet method and mobile terminal
CN107608823A (en) A kind of photo processing method and mobile terminal
CN107632854A (en) A kind of screenshotss processing method and mobile terminal
CN107145369A (en) The discharging method and mobile terminal of a kind of application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant