CN105760460B - Method and device for moving picture across storage areas and electronic equipment - Google Patents

Method and device for moving picture across storage areas and electronic equipment Download PDF

Info

Publication number
CN105760460B
CN105760460B CN201610081258.8A CN201610081258A CN105760460B CN 105760460 B CN105760460 B CN 105760460B CN 201610081258 A CN201610081258 A CN 201610081258A CN 105760460 B CN105760460 B CN 105760460B
Authority
CN
China
Prior art keywords
picture
catalogue
moved
memory block
presented
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.)
Expired - Fee Related
Application number
CN201610081258.8A
Other languages
Chinese (zh)
Other versions
CN105760460A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610081258.8A priority Critical patent/CN105760460B/en
Publication of CN105760460A publication Critical patent/CN105760460A/en
Application granted granted Critical
Publication of CN105760460B publication Critical patent/CN105760460B/en
Expired - Fee Related 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/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures

Abstract

The embodiment of the invention provides a method and a device for moving pictures across storage areas and electronic equipment. The specific implementation mode of the method comprises the following steps: when an instruction of moving a picture to be moved from a first directory of a first storage area to a second directory of a second storage area is detected, a third directory is created in the first storage area, the first storage area comprises a local storage area, and the second storage area comprises a secure digital SD card storage area; copying the picture to be moved to the third catalogue; creating a thumbnail of the picture to be moved in the second directory, and associating the picture path of the picture to be moved with the picture path of the picture to be moved corresponding to the third directory; deleting the pictures to be moved in the first directory. By applying the embodiment, the problem that the picture cannot be moved into the specific storage area can be solved.

Description

A kind of method, apparatus and electronic equipment of across memory block movement picture
Technical field
The present invention relates to image technique field, in particular to a kind of the method, apparatus and electronics of across memory block movement picture Equipment.
Background technique
In this day and age, go the scene of browsing pictures more and more using mobile phone.Picture is likely distributed in different catalogues, Such as camera catalogue, wechat catalogue, QQ catalogue and instagram catalogue etc., these catalogues can be located at different memory blocks.It is logical Often, all there are two memory blocks for electronic equipment (including mobile terminal etc.), and the first memory block is its internal storage region, the second memory block It is external safe digital card memory area (SD card).When user sees that figure client carries out the picture in some catalogue using third party When mobile arrangement, due to user's picture storage region, third party sees that figure client is not written in specific memory section The permission of picture causes picture movement unsuccessful.For example, picture related with household in wechat catalogue is moved to family's catalogue Middle carry out classification storage, it is known that the wechat catalogue is located at the first memory block, and family's catalogue is located at the second memory block, may go out at this time The case where picture can not now be moved.
In the prior art, it can not solve to see that figure client does not have corresponding authority and cannot move picture due to third party at present Enter the problems in specific memory section, causes user very inconvenient in use.
Summary of the invention
The method, apparatus for being designed to provide a kind of across memory block movement picture and electronics of the embodiment of the present invention are set It is standby, it is able to solve the problem of picture can not being moved into specific memory section.
In order to achieve the above object, it the invention discloses a kind of method of across memory block movement picture, is set applied to electronics It is standby, which comprises
When detecting the second catalogue that picture to be moved is moved to the second memory block from the first catalogue of the first memory block Instruction when, in first memory block create third catalogue, first memory block includes local storage, described second Memory block includes safe digital SD card memory block;
By the picture reproduction to be moved to the third catalogue;
Create the thumbnail of the picture to be moved in second catalogue, and by the picture road of the picture to be moved Diameter is associated with the picture path of the picture to be moved corresponding in the third catalogue;
The picture to be moved in first catalogue is deleted.
Preferably, the picture path by the picture to be moved is corresponding described to be moved with the third catalogue The picture path of picture, which is associated, includes:
Obtain the identification information and routing information of picture to be moved described in the third catalogue;
The identification information of picture to be moved and routing information described in the third catalogue are added to second catalogue Table structure information in, wherein the table structure information include at least the picture to be moved identification information and routing information.
Preferably, the method also includes:
The displaying for being shown the picture in second catalogue is received to instruct, wherein in displayings instruction carrying to The identification information of exhibiting pictures;
According to the identification information of the picture to be presented, the routing information of the picture to be presented is obtained;
According to the routing information of the picture to be presented, the picture to be presented is shown.
Preferably, the identification information according to the picture to be presented, obtains the routing information of the picture to be presented Include:
Obtain the table structure information of second catalogue;
According to the identification information of the picture to be presented, determined from the table structure information of second catalogue described wait open up The routing information of diagram piece.
Preferably, the routing information according to the picture to be presented, the picture to be presented is shown includes:
When the routing information of the picture to be presented is the path in the third catalogue, according to the picture to be presented Routing information the picture to be presented is determined from the third catalogue, and the picture to be presented is shown.
Preferably, it is described in first memory block create third catalogue before, the method also includes:
Judge whether system version is setting version, if it is, carrying out creating third mesh in first memory block The step of record.
In order to achieve the above object, the invention also discloses a kind of devices of across memory block movement picture, are applied to electronics Equipment, described device include:
Create directory module, and picture to be moved is moved to second from the first catalogue of the first memory block for that ought detect When the instruction of the second catalogue of memory block, third catalogue is created in first memory block, first memory block includes this Ground memory block, second memory block include safe digital SD card memory block;
Copy picture module, is used for the picture reproduction to be moved to the third catalogue;
Associated path module, for creating the thumbnail of the picture to be moved in second catalogue, and will be described The picture path of picture to be moved is associated with the picture path of the picture to be moved corresponding in the third catalogue;
Picture module is deleted, for deleting the picture to be moved in first catalogue.
Preferably, the associated path module includes:
Information module is obtained, for obtaining the identification information and path letter of picture to be moved described in the third catalogue Breath;
Information module is added, for adding the identification information of picture to be moved and routing information described in the third catalogue It is added in the table structure information of second catalogue, wherein the table structure information includes at least the mark of the picture to be moved Information and routing information.
Preferably, described device further include:
It receives and shows instruction module, for receiving the displaying instruction being shown to the picture in second catalogue, Described in show and carry the identification information of picture to be presented in instruction;
To acquisite approachs information module obtains the picture to be presented for the identification information according to the picture to be presented Routing information;
Picture presentation module opens up the picture to be presented for the routing information according to the picture to be presented Show.
Preferably, the to acquisite approachs information module includes:
Acquisition submodule, for obtaining the table structure information of second catalogue;
It determines submodule, for the identification information according to the picture to be presented, believes from the table structure of second catalogue The routing information of the picture to be presented is determined in breath.
Preferably, the picture presentation module is specifically used for:
When the routing information of the picture to be presented is the path in the third catalogue, according to the picture to be presented Routing information the picture to be presented is determined from the third catalogue, and the picture to be presented is shown.
Preferably, described device further includes version judgment module, it is specifically used for:
Judge whether system version is setting version, if it is, carrying out creating third mesh in first memory block The step of record.
The invention also discloses a kind of storage mediums, wherein the storage medium is described to apply journey for storing application program Sequence for executing a kind of method of across memory block movement picture described in the embodiment of the present invention at runtime, and the method includes steps It is rapid:
When detecting the second catalogue that picture to be moved is moved to the second memory block from the first catalogue of the first memory block Instruction when, in first memory block create third catalogue, first memory block includes local storage, described second Memory block includes safe digital SD card memory block;
By the picture reproduction to be moved to the third catalogue;
Create the thumbnail of the picture to be moved in second catalogue, and by the picture road of the picture to be moved Diameter is associated with the picture path of the picture to be moved corresponding in the third catalogue;
The picture to be moved in first catalogue is deleted.
The invention also discloses a kind of application programs, wherein the application program is implemented for executing the present invention at runtime A kind of method of across memory block movement picture described in example, the method includes the steps:
When detecting the second catalogue that picture to be moved is moved to the second memory block from the first catalogue of the first memory block Instruction when, in first memory block create third catalogue, first memory block includes local storage, described second Memory block includes safe digital SD card memory block;
By the picture reproduction to be moved to the third catalogue;
Create the thumbnail of the picture to be moved in second catalogue, and by the picture road of the picture to be moved Diameter is associated with the picture path of the picture to be moved corresponding in the third catalogue;
The picture to be moved in first catalogue is deleted.
In order to achieve the above object, the invention also discloses a kind of electronic equipment, are suitable for information processing, and the electronics is set Standby includes: shell, processor, memory, circuit board and power circuit, wherein circuit board is placed in the space that shell surrounds Portion, processor and memory setting are on circuit boards;Power circuit, for each circuit or the device power supply for electronic equipment; Memory is for storing executable program code;Processor is run by reading the executable program code stored in memory Program corresponding with executable program code, for executing following steps:
When detecting the second catalogue that picture to be moved is moved to the second memory block from the first catalogue of the first memory block Instruction when, in first memory block create third catalogue, first memory block includes local storage, described second Memory block includes safe digital SD card memory block;
By the picture reproduction to be moved to the third catalogue;
Create the thumbnail of the picture to be moved in second catalogue, and by the picture road of the picture to be moved Diameter is associated with the picture path of the picture to be moved corresponding in the third catalogue;
The picture to be moved in first catalogue is deleted.
As seen from the above technical solution, in the embodiment of the present invention, client in electronic equipment is installed on will be to be moved When picture is moved in the second memory block from the first catalogue of the first memory block, third mesh is created first in the first memory block Record, and by picture reproduction to be moved to third catalogue, then by the thumbnail of the picture to be moved in the second catalogue and third catalogue In the picture path of corresponding picture to be moved be associated, then the picture to be moved in the first catalogue is deleted, so as to It enough solves the problems, such as that picture specific memory section can not be moved into, improves user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described.It should be evident that the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the method for across memory block movement picture provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the method for across the memory block movement picture of another kind provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of the device of across memory block movement picture provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Whole description.Obviously, described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, those of ordinary skill in the art are obtained all without making creative work Other embodiments shall fall within the protection scope of the present invention.
The embodiment of the invention provides the method, apparatus and electronic equipment of a kind of across memory block movement picture, are able to solve The problem of picture can not being moved into specific memory section, improve user experience.
Below by specific embodiment, the present invention is described in detail.
Fig. 1 is a kind of flow diagram of the method for across memory block movement picture provided in an embodiment of the present invention, is applied to In electronic equipment, include the following steps:
Step S101: picture to be moved is moved to the second memory block from the first catalogue of the first memory block when detecting When the instruction of the second catalogue, third catalogue is created in first memory block.
Wherein, first memory block includes electronic apparatus system internal storage region, and second memory block includes safety Digital SD card memory block.Include at least one catalogue in each memory block, can store picture in each catalogue.
Since the second memory block is safe digital SD card memory block, picture to be moved can not be written in the second memory block, Therefore, when detecting the instruction that picture to be moved is moved to the second memory block from the first memory block, can think this to Mobile picture is irremovable picture, and following step can be taken to realize the movement of the picture to be moved.
In practical applications, the method for across memory block movement picture is specifically by being installed in electronic equipment in the present embodiment Client be performed.The electronic equipment includes the mobile terminals such as mobile phone, tablet computer.
Step S102: by the picture reproduction to be moved to the third catalogue.
Step S103: creating the thumbnail of the picture to be moved in second catalogue, and by the figure to be moved The picture path of piece is associated with the picture path of the picture to be moved corresponding in the third catalogue.
Although picture to be moved can not be written in the second catalogue of the second memory block, can be created in the second catalogue The thumbnail of the picture to be moved is built, so as to store the mark of the picture to be moved in the corresponding table structure information of the second catalogue Know information and routing information.The identification information includes the letter that the title of picture and/or ID of picture etc. uniquely indicate the picture Breath, the routing information includes that the storage address of the image file of picture and/or the catalogue stored etc. uniquely position the picture Information.It is assumed that the entitled IMG_001.jpg of the picture to be moved, then deposit in the corresponding table structure information of the second catalogue Storage the picture to be moved identification information can be IMG_001.jpg, routing information it is corresponding with the third catalogue to The picture path of mobile picture is associated.
In embodiments of the present invention, the table structure information be specifically used for storage picture identification information and routing information, Format information, size information etc..
After creating corresponding thumbnail, in the interface being presented to the user, user can see described to be moved Picture.When receiving user and clicking the operation for checking the picture to be moved in the second catalogue, third mesh can be associated with Corresponding picture to be moved in record.
Step S104: the picture to be moved in first catalogue is deleted.
In the present embodiment, when the second memory block is safe digital SD card memory block, the visitor that is installed in electronic equipment Second memory block can not be written in picture by family end, this is problems of the prior art.In order to solve this problem, of the invention Using the client the characteristics of belonging to the first memory block of local storage can be written in picture by embodiment, by the second memory block The second catalogue in the thumbnail of picture to be moved be associated with the picture to be moved in the third catalogue of the first memory block, And delete the picture to be moved in the first catalogue, that is, complete across the memory block movement picture to be moved.
At this moment the operation that across memory block movement picture is completed after the picture to be moved is deleted can provide user Certain prompt information, such as " moving operation is completed " prompt user to move to picture to be moved in target directory.
By above content as it can be seen that in the embodiment of the present invention, client in electronic equipment is installed on by picture to be moved When being moved in the second memory block from the first catalogue of the first memory block, third catalogue is created first in the first memory block, and It is corresponding with third catalogue by picture reproduction to be moved to third catalogue, then by the thumbnail of the picture to be moved in the second catalogue The picture path of picture to be moved be associated, then the picture to be moved in the first catalogue is deleted, so as to solve The problem of picture can not being moved into specific memory section, improve user experience.
In another embodiment of the present invention, in order to more accurately by the picture path of the picture to be moved with it is described The picture path of the corresponding picture to be moved is associated in third catalogue, the step in embodiment of the method shown in Fig. 1 Rapid S103, can specifically include following steps:
Step 1: obtaining the identification information and routing information of picture to be moved described in the third catalogue;
Step 2: the identification information of picture to be moved and routing information described in the third catalogue are added to described In the table structure information of two catalogues, wherein the table structure information includes at least identification information and the path of the picture to be moved Information.
In the present embodiment, the identification information includes that the title of picture and/or ID of picture etc. uniquely indicate the picture Information, the routing information include the storage address of the image file of picture and/or the catalogue stored etc. uniquely positioning should The information of picture.The table structure information is specifically used for the identification information and routing information, format information, size letter of storage picture Breath etc..
It is assumed that routing information of the picture IMG_001.jpg to be moved in third catalogue are as follows: the first memory block third mesh Record IMG_001.jpg, which is added to the table structure information of the second catalogue and IMG_001.jpg pairs of identification information In the routing information answered, that is, complete path association process.
It in another embodiment of the present invention, can also be by the second mesh of the second memory block in order to improve user experience The picture to be moved in record is shown, then can also include process shown in Fig. 2 in embodiment of the method shown in FIG. 1 Step shown in schematic diagram:
Step S201: receiving and instruct to the displaying that the picture in second catalogue is shown, wherein the displaying refers to The identification information of picture to be presented is carried in order.
Displaying instruction is obtained according to the displaying operation of user.
Step S202: according to the identification information of the picture to be presented, the routing information of the picture to be presented is obtained.
Step S203: according to the routing information of the picture to be presented, the picture to be presented is shown.
In another embodiment of the present invention, in order to more accurately according to the identification information of the picture to be presented, obtain The routing information of the picture to be presented is taken, the step S202 in embodiment of the method shown in Fig. 2 can specifically include as follows Step:
Step 1: obtaining the table structure information of second catalogue;
Step 2: according to the identification information of the picture to be presented, institute is determined from the table structure information of second catalogue State the routing information of picture to be presented.
In another embodiment of the present invention, since the corresponding image file of thumbnail in the second catalogue is stored in not Same position, it is possible to be stored in the second catalogue, it is also possible to be stored in the third catalogue of the first memory block, therefore, when right When the picture to be presented is shown, it can specifically include:
When the routing information of the picture to be presented is the path in the third catalogue, according to the picture to be presented Routing information the picture to be presented is determined from the third catalogue, and the picture to be presented is shown.
Further, in embodiments of the present invention, due to being the second storage when the target directory for detecting picture to be moved When catalogue in area, it can think that the picture to be moved is irremovable picture, can using in the embodiment of the present invention across The method of the mobile picture in memory block moves the picture to be moved.But the system of version certain in electronic equipment is come It says, when the target directory of picture to be moved is the catalogue in the second memory block, is schemed using across memory block movement in the prior art The method of piece can move the picture to be moved.
In order to which picture to be moved is more efficiently carried out across memory block movement, in another embodiment of the present invention, Fig. 1 Shown in front of step S101 in embodiment of the method, specifically can also include:
Judge whether system version is setting version, if it is, carrying out creating third mesh in first memory block The step of record.
In practical applications, which can be 4.4 or more Android system.Certainly, which can also be with It is other systems version.
Fig. 3 is a kind of structural schematic diagram of the device of across memory block movement picture provided in an embodiment of the present invention, with Fig. 1 institute Show that embodiment of the method is corresponding, be applied to electronic equipment, described device includes:
Picture to be moved is moved to by the module that creaties directory 301 for that ought detect from the first catalogue of the first memory block When the instruction of the second catalogue of the second memory block, third catalogue, the first memory block packet are created in first memory block Local storage is included, second memory block includes safe digital SD card memory block;
The module that copies picture 302 is used for the picture reproduction to be moved to the third catalogue;
Associated path module 303, for creating the thumbnail of the picture to be moved in second catalogue, and by institute The picture path for stating picture to be moved is associated with the picture path of the picture to be moved corresponding in the third catalogue;
Picture module 304 is deleted, for deleting the picture to be moved in first catalogue.
In another embodiment of the present invention, in Installation practice shown in Fig. 3, associated path module 303 be can wrap It includes:
Information module (not shown) is obtained, for obtaining the mark letter of picture to be moved described in the third catalogue Breath and routing information;
Information module (not shown) is added, for by the identification information of picture to be moved described in the third catalogue It is added in the table structure information of second catalogue with routing information, wherein the table structure information is including at least described wait move The identification information and routing information of motion picture cartoon.
In another embodiment of the present invention, in Installation practice shown in Fig. 3, can also include:
It receives and shows instruction module (not shown), the picture in second catalogue is shown for receiving Instruction is shown, wherein described show the identification information for carrying picture to be presented in instruction;
To acquisite approachs information module (not shown) obtains institute for the identification information according to the picture to be presented State the routing information of picture to be presented;
Picture presentation module (not shown), for the routing information according to the picture to be presented, to described wait open up Diagram piece is shown.
Further, in Installation practice shown in Fig. 3, to acquisite approachs information module be can specifically include:
Acquisition submodule (not shown), for obtaining the table structure information of second catalogue;
Submodule (not shown) is determined, for the identification information according to the picture to be presented, from second mesh The routing information of the picture to be presented is determined in the table structure information of record.
In another embodiment of the present invention, in Installation practice shown in Fig. 3, picture presentation module can specifically be used In: when the routing information of the picture to be presented is the path in the third catalogue, according to the road of the picture to be presented Diameter information determines the picture to be presented from the third catalogue, and is shown to the picture to be presented.
It in another embodiment of the present invention, further include version judgment module in Installation practice shown in Fig. 3, specifically It can be used for: judging whether system version is setting version, if it is, carrying out creating third mesh in first memory block The step of record.
The invention also discloses a kind of storage mediums, wherein the storage medium is described to apply journey for storing application program Sequence for executing a kind of method of across memory block movement picture described in the embodiment of the present invention at runtime, and the method includes steps It is rapid:
When detecting the second catalogue that picture to be moved is moved to the second memory block from the first catalogue of the first memory block Instruction when, in first memory block create third catalogue, first memory block includes local storage, described second Memory block includes safe digital SD card memory block;
By the picture reproduction to be moved to the third catalogue;
Create the thumbnail of the picture to be moved in second catalogue, and by the picture road of the picture to be moved Diameter is associated with the picture path of the picture to be moved corresponding in the third catalogue;
The picture to be moved in first catalogue is deleted.
The invention also discloses a kind of application programs, wherein the application program is implemented for executing the present invention at runtime A kind of method of across memory block movement picture described in example, the method includes the steps:
When detecting the second catalogue that picture to be moved is moved to the second memory block from the first catalogue of the first memory block Instruction when, in first memory block create third catalogue, first memory block includes local storage, described second Memory block includes safe digital SD card memory block;
By the picture reproduction to be moved to the third catalogue;
Create the thumbnail of the picture to be moved in second catalogue, and by the picture road of the picture to be moved Diameter is associated with the picture path of the picture to be moved corresponding in the third catalogue;
The picture to be moved in first catalogue is deleted.
Fig. 4 is a kind of electronic equipment provided in an embodiment of the present invention, is suitable for information processing, and the electronic equipment includes: Shell 401, processor 402, memory 403, circuit board 404 and power circuit 405, wherein circuit board is placed in shell and surrounds Space interior, processor and memory setting on circuit boards;Power circuit, for each circuit or device for electronic equipment Part power supply;Memory is for storing executable program code;Processor is by reading the executable program generation stored in memory Code runs program corresponding with executable program code, for executing following steps:
When detecting the second catalogue that picture to be moved is moved to the second memory block from the first catalogue of the first memory block Instruction when, in first memory block create third catalogue, first memory block includes local storage, described second Memory block includes safe digital SD card memory block;
By the picture reproduction to be moved to the third catalogue;
Create the thumbnail of the picture to be moved in second catalogue, and by the picture road of the picture to be moved Diameter is associated with the picture path of the picture to be moved corresponding in the third catalogue;
The picture to be moved in first catalogue is deleted.
Since above-mentioned apparatus embodiment and electronic equipment embodiment are the embodiments of the method based on across memory block movement picture It obtains, and this method technical effect having the same, therefore the technical effect of Installation practice and electronic equipment embodiment exists This is repeated no more.
For Installation practice and electronic equipment embodiment, since it is substantially similar to the method embodiment, so retouching State fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including There is also other identical elements in the process, method, article or equipment of the element.
It will appreciated by the skilled person that all or part of the steps in above embodiment is can to pass through journey What sequence instructed relevant hardware to complete, the program can store in computer-readable storage medium.It is designated herein Storage medium refers to ROM/RAM, magnetic disk, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all Any modification, equivalent substitution, improvement and etc. done within the spirit and principles in the present invention, are all contained in protection scope of the present invention It is interior.

Claims (13)

1. a kind of method of across memory block movement picture, which is characterized in that be applied to electronic equipment, which comprises
When detecting the finger that picture to be moved is moved to the second catalogue of the second memory block from the first catalogue of the first memory block When enabling, third catalogue is created in first memory block, first memory block includes local storage, second storage Area includes safe digital SD card memory block;
By the picture reproduction to be moved to the third catalogue;
Create the thumbnail of the picture to be moved in second catalogue, and by the picture path of the picture to be moved with The picture path of the corresponding picture to be moved is associated in the third catalogue;
The picture to be moved in first catalogue is deleted.
2. the method according to claim 1, wherein the picture path by the picture to be moved with it is described The picture path of the corresponding picture to be moved, which is associated, in third catalogue includes:
Obtain the identification information and routing information of picture to be moved described in the third catalogue;
The identification information of picture to be moved and routing information described in the third catalogue are added to the table of second catalogue In structural information, wherein the table structure information includes at least the identification information and routing information of the picture to be moved.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
It receives and the displaying that the picture in second catalogue is shown is instructed, wherein being carried in displaying instruction to be presented The identification information of picture;
According to the identification information of the picture to be presented, the routing information of the picture to be presented is obtained;
According to the routing information of the picture to be presented, the picture to be presented is shown.
4. according to the method described in claim 3, it is characterized in that, the identification information according to the picture to be presented, is obtained The routing information for taking the picture to be presented includes:
Obtain the table structure information of second catalogue;
According to the identification information of the picture to be presented, the figure to be presented is determined from the table structure information of second catalogue The routing information of piece.
5. according to the method described in claim 3, it is characterized in that, the routing information according to the picture to be presented, right The picture to be presented, which is shown, includes:
When the routing information of the picture to be presented is the path in the third catalogue, according to the road of the picture to be presented Diameter information determines the picture to be presented from the third catalogue, and is shown to the picture to be presented.
6. the method according to claim 1, wherein it is described in first memory block create third catalogue it Before, the method also includes:
Judge whether system version is setting version, if it is, carrying out creating third catalogue in first memory block Step.
7. a kind of device of across memory block movement picture, which is characterized in that be applied to electronic equipment, described device includes:
Create directory module, and picture to be moved is moved to the second storage from the first catalogue of the first memory block for that ought detect When the instruction of second catalogue in area, third catalogue is created in first memory block, first memory block includes local deposits Storage area, second memory block include safe digital SD card memory block;
Copy picture module, is used for the picture reproduction to be moved to the third catalogue;
Associated path module, for creating the thumbnail of the picture to be moved in second catalogue, and by described wait move The picture path of motion picture cartoon is associated with the picture path of the picture to be moved corresponding in the third catalogue;
Picture module is deleted, for deleting the picture to be moved in first catalogue.
8. device according to claim 7, which is characterized in that the associated path module includes:
Information module is obtained, for obtaining the identification information and routing information of picture to be moved described in the third catalogue;
Information module is added, for the identification information of picture to be moved and routing information described in the third catalogue to be added to In the table structure information of second catalogue, wherein the table structure information includes at least the identification information of the picture to be moved And routing information.
9. device according to claim 7 or 8, which is characterized in that described device further include:
It receives and shows instruction module, the displaying that the picture in second catalogue is shown is instructed for receiving, wherein institute State the identification information for showing and carrying picture to be presented in instruction;
To acquisite approachs information module obtains the road of the picture to be presented for the identification information according to the picture to be presented Diameter information;
Picture presentation module is shown the picture to be presented for the routing information according to the picture to be presented.
10. device according to claim 9, which is characterized in that the to acquisite approachs information module includes:
Acquisition submodule, for obtaining the table structure information of second catalogue;
Submodule is determined, for the identification information according to the picture to be presented, from the table structure information of second catalogue Determine the routing information of the picture to be presented.
11. device according to claim 9, which is characterized in that the picture presentation module is specifically used for:
When the routing information of the picture to be presented is the path in the third catalogue, according to the road of the picture to be presented Diameter information determines the picture to be presented from the third catalogue, and is shown to the picture to be presented.
12. device according to claim 7, which is characterized in that described device further includes version judgment module, specific to use In:
Judge whether system version is setting version, if it is, carrying out creating third catalogue in first memory block Step.
13. a kind of electronic equipment, which is characterized in that the electronic equipment includes: shell, processor, memory, circuit board and electricity Source circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory setting are on circuit boards;Power supply Circuit, for each circuit or the device power supply for electronic equipment;Memory is for storing executable program code;Processor is logical It crosses and reads in memory the executable program code that stores to run program corresponding with executable program code, for executing Following steps:
When detecting the finger that picture to be moved is moved to the second catalogue of the second memory block from the first catalogue of the first memory block When enabling, third catalogue is created in first memory block, first memory block includes local storage, second storage Area includes safe digital SD card memory block;
By the picture reproduction to be moved to the third catalogue;
Create the thumbnail of the picture to be moved in second catalogue, and by the picture path of the picture to be moved with The picture path of the corresponding picture to be moved is associated in the third catalogue;
The picture to be moved in first catalogue is deleted.
CN201610081258.8A 2016-02-04 2016-02-04 Method and device for moving picture across storage areas and electronic equipment Expired - Fee Related CN105760460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610081258.8A CN105760460B (en) 2016-02-04 2016-02-04 Method and device for moving picture across storage areas and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610081258.8A CN105760460B (en) 2016-02-04 2016-02-04 Method and device for moving picture across storage areas and electronic equipment

Publications (2)

Publication Number Publication Date
CN105760460A CN105760460A (en) 2016-07-13
CN105760460B true CN105760460B (en) 2019-04-12

Family

ID=56330000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610081258.8A Expired - Fee Related CN105760460B (en) 2016-02-04 2016-02-04 Method and device for moving picture across storage areas and electronic equipment

Country Status (1)

Country Link
CN (1) CN105760460B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585435A (en) * 2004-06-08 2005-02-23 金普斯(北京)电子发展有限公司 Method for realizing short-message memory on expanded SIM card
US6973646B1 (en) * 2000-07-21 2005-12-06 International Business Machines Corporation Method for compiling program components in a mixed static and dynamic environment
CN101710267A (en) * 2009-11-13 2010-05-19 深圳市五巨科技有限公司 Method and device for quickly displaying picture for mobile terminal
CN101895635A (en) * 2010-07-15 2010-11-24 优视科技有限公司 Mobile terminal-based image converting method and device
CN102929716A (en) * 2012-11-07 2013-02-13 北京亿赛通科技发展有限责任公司 Method for starting multiple processes
CN103309706A (en) * 2013-05-24 2013-09-18 中标软件有限公司 Memory file system preparation method and unit based on Linux operation system
CN103853697A (en) * 2012-12-07 2014-06-11 比亚迪股份有限公司 Mobile terminal and back-up method for application data thereof
CN104731530A (en) * 2015-03-23 2015-06-24 广东欧珀移动通信有限公司 Mobile terminal and file management method applied to same
CN105224676A (en) * 2015-10-13 2016-01-06 北京奇虎科技有限公司 The method of mobile terminal file migration and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009020876A (en) * 2007-06-14 2009-01-29 Panasonic Corp File management device, file transfer method, and imaging apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973646B1 (en) * 2000-07-21 2005-12-06 International Business Machines Corporation Method for compiling program components in a mixed static and dynamic environment
CN1585435A (en) * 2004-06-08 2005-02-23 金普斯(北京)电子发展有限公司 Method for realizing short-message memory on expanded SIM card
CN101710267A (en) * 2009-11-13 2010-05-19 深圳市五巨科技有限公司 Method and device for quickly displaying picture for mobile terminal
CN101895635A (en) * 2010-07-15 2010-11-24 优视科技有限公司 Mobile terminal-based image converting method and device
CN102929716A (en) * 2012-11-07 2013-02-13 北京亿赛通科技发展有限责任公司 Method for starting multiple processes
CN103853697A (en) * 2012-12-07 2014-06-11 比亚迪股份有限公司 Mobile terminal and back-up method for application data thereof
CN103309706A (en) * 2013-05-24 2013-09-18 中标软件有限公司 Memory file system preparation method and unit based on Linux operation system
CN104731530A (en) * 2015-03-23 2015-06-24 广东欧珀移动通信有限公司 Mobile terminal and file management method applied to same
CN105224676A (en) * 2015-10-13 2016-01-06 北京奇虎科技有限公司 The method of mobile terminal file migration and device

Also Published As

Publication number Publication date
CN105760460A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
US10929460B2 (en) Method and apparatus for storing resource and electronic device
WO2018000636A1 (en) Bullet-screen information processing method and apparatus
CN104881296A (en) iOS system based picture deletion method and device
CN105183837A (en) Mobile terminal thumbnail list view display method and system
US20170199889A1 (en) Method and device for identifying junk picture files
CN104169913A (en) A picture display method and device and a terminal device
US10848558B2 (en) Method and apparatus for file management
CN107562372B (en) Electronic equipment, data management method thereof and computer readable storage medium
CN103677517A (en) Method and device for searching pictures
CN106528702A (en) Diary generation method and apparatus
CN103685209A (en) A source-tracing processing method of Internet media files, a server, and a communication system
CN104166603A (en) Data backup method and device and electronic device
CN110865981A (en) File access method for mobile terminal and mobile terminal thereof
CN103327246A (en) Multimedia shooting processing method, device and intelligent terminal
US20140280456A1 (en) Relay apparatus, information processing system and method
CN106201779A (en) Picture processing method and device and mobile terminal
CN104021215B (en) Picture sorting method and device
JP2014154891A (en) Information processor, control method for the same, program, and storage medium
CN109271607A (en) User Page layout detection method and device, electronic equipment
CN105760460B (en) Method and device for moving picture across storage areas and electronic equipment
CN105740455B (en) Picture deleting method and device and electronic equipment
US20240153242A1 (en) Picture Processing Method, Electronic Device and Computer Readable Medium
CN104902163B (en) Image processing method and device, Picture Generation Method and device
CN103631872A (en) Method for playing multimedia files and electronic terminal
CN105808586A (en) Picture data processing method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190412

CF01 Termination of patent right due to non-payment of annual fee