CN106503169A - Image processing method and device - Google Patents
Image processing method and device Download PDFInfo
- Publication number
- CN106503169A CN106503169A CN201610930892.4A CN201610930892A CN106503169A CN 106503169 A CN106503169 A CN 106503169A CN 201610930892 A CN201610930892 A CN 201610930892A CN 106503169 A CN106503169 A CN 106503169A
- Authority
- CN
- China
- Prior art keywords
- picture
- reference information
- time
- information
- predetermined registration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/5866—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
Abstract
This application discloses image processing method and device.One specific embodiment of the method includes:The process reference information of pending picture is obtained, processing reference information includes one below:Apply the mark to the predetermined registration operation that picture is executed, use parameter, included using parameter:The time difference of number of times, the use time that picture the last time uses and current time that picture is used;Picture is processed with processing reference information corresponding processing mode.Achieve and judge whether picture needs to be cleared up in terms of picture is employed the use time two of the operation and picture for executing, further, according to the difference of the different and use time of the operation executed by picture, select different modes to clear up picture, simplify the operation of picture scale removal process.
Description
Technical field
The application is related to computer realm, and in particular to application, more particularly to image processing method and device.
Background technology
On the less electronic equipment of memory space of such as mobile terminal, it is often necessary to periodically picture resource is carried out clearly
Manage to save memory space.At present, the manner of cleaning up for generally adopting selects for compressed picture or manually and needs to clear up
Picture deleted.
However, can lead to not recover artwork in the situation for such as compressing failure, demand cleaning is selected manually
Picture when, storage picture more in the case of, scale removal process is both needed to travel through all of picture each time, cause clear up picture
Operation relatively complicated.
Content of the invention
This application provides image processing method and device, ask for solving the technology that above-mentioned background section is present
Topic.
In a first aspect, this application provides image processing method, the method includes:Obtain the process ginseng of pending picture
Information is examined, processing reference information includes one below:Apply the mark to the predetermined registration operation that picture is executed, use parameter, use
Parameter includes:The time difference of number of times, the use time that picture the last time uses and current time that picture is used;To process
The corresponding processing mode of reference information is processed to picture.
Second aspect, this application provides picture processing device, the device includes:Acquiring unit, is configured to acquisition and treats
The process reference information of the picture of process, processing reference information includes one below:Apply the predetermined registration operation to picture execution
Identify, use parameter, included using parameter:The use time that number of times that picture is used, picture the last time use with current
The time difference of time;Processing unit, is configured to process picture to process the corresponding processing mode of reference information.
Image processing method and device that the application is provided, by obtaining the process reference information of pending picture, place
Reason reference information includes one below:Apply the mark to the predetermined registration operation that picture is executed, use parameter, included using parameter:
The time difference of number of times, the use time that picture the last time uses and current time that picture is used;To process reference information
Corresponding processing mode is processed to picture.Achieve the use time two for being employed the operation and picture for executing from picture
Aspect judges whether picture needs to be cleared up, further, according to the difference and use time of the operation executed by picture
Difference, selects different modes to clear up picture, simplifies the operation of picture scale removal process.
Description of the drawings
By reading the detailed description made by non-limiting example made with reference to the following drawings, the application other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is the exemplary system architecture figure of the embodiment of the image processing method or device that can apply to the application;
The flow chart that Fig. 2 shows one embodiment of the image processing method according to the application;
Fig. 3 shows an exemplary block diagram of high in the clouds retrieval table;
Fig. 4 shows the structural representation of one embodiment of the picture processing device according to the application;
Fig. 5 is adapted for the structural representation of the computer system of the picture processing device for realizing the embodiment of the present application.
Specific embodiment
With reference to the accompanying drawings and examples the application is described in further detail.It is understood that this place is retouched
The specific embodiment that states is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that, in order to
Be easy to describe, illustrate only in accompanying drawing to about the related part of invention.
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase
Mutually combine.Below with reference to the accompanying drawings and in conjunction with the embodiments describing the application in detail.
Fig. 1 shows the exemplary system architecture of the embodiment of the image processing method or device that can apply to the application
100.
As shown in figure 1, system architecture 100 can include terminal unit 101,102,103, network 104 and server 105.
Medium of the network 104 in order to offer transmission link between terminal unit 101,102,103 and server 105.Network 104 can be with
Including various connection types, such as wired, wireless transmission link or fiber optic cables etc..
User can be interacted with server 105 by network 104 with using terminal equipment 101,102,103, to receive or send out
Send message etc..Various communication applications can be installed on terminal unit 101,102,103, for example, input method class application, browser
Class application, searching class application, instant messaging class application etc..
Terminal unit 101,102,103 can with display screen and support the various electronic equipments of network service, bag
Include but be not limited to smart mobile phone, panel computer, E-book reader, MP3 player (Moving Picture Experts
Group Audio Layer III, dynamic image expert's compression standard audio frequency aspect 3), MP4 (Moving Picture
Experts Group Audio Layer IV, dynamic image expert's compression standard audio frequency aspect 4) player, on knee portable
Computer and desk computer etc..
Terminal unit 101,102,103 can be monitored to the operation that picture is executed to the operation for running thereon, taken
Business device 105 (such as Cloud Server) can store the operation that needs terminal unit 101,102,103 to be monitored and when terminal sets
When picture on standby 101,102,103 is performed the operation for needing to be monitored, the processing mode to picture.Terminal unit 101,
102nd, 103 the operation that needs terminal unit 101,102,103 to be monitored can be got from server 105 and works as terminal unit
101st, when the picture on 102,103 is performed the operation for needing to be monitored, the processing mode to picture.
Fig. 2 is refer to, the flow process 200 of one embodiment of image processing method according to the application is it illustrates.Need
Illustrate, the method provided by the embodiment of the present application can by Fig. 1 in terminal unit 101,102,103 execute, correspondingly,
Device can be arranged in terminal unit 101,102,103.The method is comprised the following steps:
Step 201, obtains the process reference information of pending picture.
In the present embodiment, the process reference information of pending picture includes one below:Apply to picture execution
The mark of predetermined registration operation, parameter is used, included using parameter:What number of times that picture is used, picture the last time used uses
Time and the time difference of current time.
In the present embodiment, pending picture can be the picture being stored in terminal.For example, pending picture is
The photo being stored in the electron album of terminal.Application can be the APP in terminal, for example, picture processing APP, i.e.
When communicate APP.
In the present embodiment, process reference information to be associated with the use value of picture.In with picture as electron album
As a example by photo, the use value of photo generally comprises beautification, shares, commemorates and recollect, and value is usually used and the time is presented instead
The relation of ratio.As time goes on, after or occurring after a certain special screne, photo is worth can decay rapidly, be likely to become nothing
The photo of value.For example, after using picture processing application beautification photo output, the existent value of artwork is just less.Utilizing
After instant messaging application share photos, the value for storing the picture that is shared diminishes.For some have the photo of memorial value,
User can be guided to upload to high in the clouds stored, locally stored photo is deleted.Some photos are elapsed over time, Ke Nengjian
Gradually forgotten by user, the value cycle of these photos can be that photo is changed into valueless photo equivalent to end.
In some optional implementations of the present embodiment, before the process reference information of picture is obtained, also include:
Based on application and the mapping table of detection information, determine that the corresponding detection information of application, detection information include:Need detection
The mark of predetermined registration operation;Whether detection application executes predetermined registration operation to picture;Predetermined registration operation is executed to picture when detecting to apply
When, generate the process reference information of the mark comprising predetermined registration operation of picture.
In the present embodiment, pending picture is being processed, before obtaining the process reference information of pending picture,
The predetermined registration operation that pending picture can be executed according to application, generates and processes reference information.Application is to pending figure
The predetermined registration operation that piece was executed can be included but is not limited to:Such as behaviour shared by beautification, the image processing operations of adjustment size, picture
Make.
In the present embodiment, before the process reference information of picture is obtained, multiple different applications can be detected simultaneously
Whether such as picture processing application, instant messaging application perform such as beautification, the image of adjustment size to pending picture
Process operation, picture and share operation, then, pending picture is processed with the corresponding processing mode of predetermined registration operation.
In the present embodiment, the mapping table of application and detection information can be previously generated.Remember in the mapping table
Record needs the mark of the predetermined registration operation of detection.For example, predetermined registration operation is shared operation, instant messaging application, microblogging etc. for picture and is answered
Share operation with often executing to picture, then applying and communication applications, micro- in the mapping table of detection information, can be recorded
The rich mark for waiting application shares the mark of operation with the predetermined registration operation for needing detection.Can be right with detection information according to applying
Relation table is answered, each self-corresponding predetermined registration operation for needing detection of different applications is determined.Determining that different applications are each corresponding
Needs detection predetermined registration operation after, can detect whether different applications perform predetermined registration operation to picture simultaneously.For example,
According to application and the mapping table of detection information, determine that the corresponding predetermined registration operation for needing detection of instant messaging application is picture
Share operation, the predetermined registration operation of the corresponding needs detection of picture processing application to be such as beautification, adjust the image procossing behaviour of size
Make.When detect operate in instant messaging application in terminal and picture is executed to pending picture share operation when, Ke Yisheng
Process reference information into the mark for sharing operation comprising picture.Treat when the image procossing application operated in terminal is detected
When the picture of process executes the such as image processing operations adjusted by the size of picture, can previously generate comprising image
Process the process reference information of the mark of operation.
In the present embodiment, it is whether detection application performs predetermined registration operation to pending picture, can be carried by application
For corresponding interface, share the predetermined registration operations such as operation when application executes image processing operations, picture to pending picture
When, can by apply provide corresponding interface determine by using picture be performed the pending picture of predetermined registration operation.
Can also be by detected application integration SDK (Software Development Kit, SDK), using this
SDK determine by using picture be performed the pending picture of predetermined registration operation.
In the present embodiment, can detect that application, from starting in terminal procedure, stores the region of pending picture
Whether change, detection application perform predetermined registration operation to pending picture.Photograph in pending picture as electron album
As a example by piece, can be by monitoring the application being detected from starting in terminal procedure, whether the change of electron album detects application
Predetermined registration operation is performed to pending picture.As a example by applying the operating system for operating in as Android operation system, Ke Yitong
System API (the Applicati on Programming of the such as MediaStore of Android operation system offer are provided
Interface, application programming interface), application is monitored from starting in terminal procedure, the change of system photograph album, detection should
Predetermined registration operation is performed to picture with whether.
In the present embodiment, the window object i.e. Activity objects of the key in being applied by monitoring, detection should
Predetermined registration operation is performed to pending picture with whether.As a example by applying the operating system for operating in as Android operation system,
The window object i.e. Activity objects of the key in application can be monitored, for example, when detecting the key in applying
The corresponding Activity objects of Activity objects such as editing interface operate in the system the superiors, and editing interface can be carried out
Sectional drawing, by image comparison, whether detection application performs predetermined registration operation to pending picture.
In some optional implementations of the present embodiment, also include:Made at interval of preset time period statistics picture
Use time and the time difference of current time that number of times and determination picture the last time use;Generating is made comprising picture
The use parameter of number of times and time difference;Generate picture comprising using parameter process reference information.
In the present embodiment, the number of times used by pending picture can be counted at interval of preset time period, record is treated
Time for being used picture the last time of process, calculate use time that pending picture the last time uses with current when
Between time difference.It is then possible to generate the number of times used comprising pending picture and time difference uses parameter, Ke Yijin
One step generate pending picture comprising the process reference information using parameter.So as to pending picture
Reason, get pending picture process reference information when, can according to process reference information in pending picture quilt
The time difference of the number of times, the use time that pending picture the last time uses and current time that use, determines to pending
Picture processing mode.
Step 202, is processed to picture with processing the corresponding processing mode of reference information.
In the present embodiment, after the process reference information for obtaining picture by step 201, can be according to the place of picture
Reason reference information, determines that the number of times for applying the predetermined registration operation for executing picture, picture to be used or picture the last time use
The information such as the time difference of use time and current time, judge the use value of picture, place of the determination to pending picture
Reason mode, is processed to pending picture with the processing mode that determines.
In the present embodiment, when processing to pending picture, the process reference information that got by step 201
When comprising application predetermined registration operation that picture was executed, for example image processing operations, picture share operation, it may be determined that picture quilt
Perform predetermined registration operation.It is then possible to be processed to pending picture with the corresponding processing mode of predetermined registration operation.
In some optional implementations of the present embodiment, predetermined registration operation is image processing operations, processes reference information
Mark including image processing operations;And included with processing the corresponding processing mode of reference information and carrying out process to picture:Point
The picture that picture and picture are obtained after being performed image processing operations in the region of picture Que Ding not stored;Assume prompting and delete figure
The information of piece.
In the present embodiment, when processing to pending picture, the process reference information that got by step 201
During the mark comprising image processing operations, it may be determined that pending picture has been performed image processing operations.For example work as detection
When being performed the such as image processing operations adjusted by the size of picture to pending picture, the process ginseng of generation
Examine the mark comprising image processing operations in information.Can according to process reference information in image processing operations mark, really
Fixed pending picture has been performed image processing operations.Determine pending picture be performed image processing operations it
Afterwards, the information of the pending picture can be deleted to the processing mode of pending picture for assuming prompting user.
In some optional implementations of the present embodiment, predetermined registration operation shares operation for picture, processes reference information
It is that the mark that operation shared by picture is executed to picture;And picture is processed with processing reference information corresponding processing mode
Including:Assume the information that picture is deleted in prompting.
In the present embodiment, when processing to pending picture, when the process got by step 201 is with reference to letter
When breath shares the mark of operation comprising picture, it may be determined that pending picture has been performed picture and has shared operation.For example, work as inspection
When measuring picture and being performed picture and share operation, generation processes the mark for sharing operation in reference information comprising picture.Can
To share the mark of operation according to picture, determine that picture has been performed picture and has shared operation.Determining pending picture quilt
Perform after picture shares operation, to the processing mode of pending picture can to delete this pending in order to assume prompting user
Picture information.
In the present embodiment, when user selects to delete picture, can be being stored in recycle bin advance mesh after compressed picture
Record, picture that can daily in the predetermined directory of Preset Time point automatically scanning recycle bin.When detecting in certain period of time
When picture is not performed any operation within inside such as 7 days, such as when not being performed recovery operation, then picture is deleted automatically.
In the present embodiment, when picture was performed multiple predetermined registration operation, prompting user deletes the picture for example each time
Eject prompting frame prompting user and delete the picture, when user continuously selects the number of times for deleting the picture for being performed predetermined registration operation to reach
During frequency threshold value such as 3 times, when detecting picture again and being performed predetermined registration operation, then picture is deleted automatically.When with
When family continuously selects the number of times for not deleting the picture for being performed predetermined registration operation to reach frequency threshold value such as 2 times, then no longer detection figure
Whether piece was performed predetermined registration operation, no longer prompted the user whether to delete the picture for being performed predetermined registration operation.
In the present embodiment, a process processed by pending picture can be pre-set.The process can be with
The different application operations that for example picture processing application, instant messaging application are executed to picture in detection terminal, at interval of pre-
If the information such as the number of times used by time period statistics picture, the time used by recordable picture the last time, determine to pending
Picture processing mode, pending picture is processed in the way of determining.
When application startup is detected, the bag name of application is uploaded to Cloud Server, the high in the clouds retrieval from Cloud Server
The corresponding scene process strategy mark of bag name is obtained in table, and scene process strategy can serve to indicate that the picture for needing detection is held
Capable operation and the processing mode when picture is performed operation to picture.
Fig. 3 is refer to, an exemplary block diagram of high in the clouds retrieval table is it illustrates.
The entitled com.mt.mtxx.mtxx of the bag of picture processing application, scene process policy flag are 1, represent detection picture
Image processing operations of the application to picture are processed, when picture processing application is detected to picture execution image processing operations, can
The picture obtained after the process for such as beautifying, adjusting size to point out user's deletion picture and storage to be performed.At picture
Ought to be with multiple image processing operations be executed to picture, prompting user for example, ejects prompting frame for deleting picture each time,
When user continuously selects the number of times for deleting the picture for being performed image processing operations to reach frequency threshold value such as 3 times, when again
When detecting picture processing application to picture execution image processing operations, automatically picture is deleted.When user continuously selects
When not deleting the number of times of the picture for being performed image processing operations and reaching frequency threshold value such as 2 times, then no longer whether detection picture
Image processing operations were performed, no longer prompt the user whether to delete the picture for being performed image processing operations.
The entitled com.sina.weibo of the bag of microblogging application, scene process policy flag are 2, represent detection microblogging application pair
Operation shared by the picture of picture, when detect microblogging application to picture execute picture share operation when, can point out user delete
The picture that is shared.Shared operation when microblogging application executes multiple picture to picture, prompting user is deletion picture each time,
For example, prompting frame is ejected, and frequency threshold value is reached when user continuously selects to delete the number of times for being performed the picture that operation shared by picture
For example when 3 times, when detect again microblogging application to picture execute share operation operation when, automatically picture is deleted.When
When user continuously selects the number of times for not deleting the picture for being performed image processing operations to reach frequency threshold value such as 2 times, then no longer
Whether detection picture was performed picture and shared operation, no longer prompted the user whether that the picture of operation is held picture and shared in deletion.
In some optional implementations of the present embodiment, it is to use parameter to process reference information;To process with reference to letter
Ceasing corresponding processing mode and carrying out process to picture includes:When the number of times used by the picture processed in reference information is more than number of times
When threshold values and time difference are more than time threshold values, show for pointing out user's uploading pictures to preserve to high in the clouds and delete picture
Information;When processing the number of times that used of picture in reference information less than number of times threshold values and time difference is more than time threshold values
When, show the information for pointing out user to delete picture.
In the present embodiment, when processing to pending picture, the process reference information that got by step 201
When being using parameter, the number of times that can be used according to the pending picture in using parameter, pending picture nearest
The secondary use time for using and the time difference of current time, determine the processing mode to pending picture.
In the present embodiment, can by pending picture by using number of times, pending picture the last time makes
Use time and the time difference of current time, determine the value of pending picture, for example, determine pending picture
There are memorial value or unworthy picture to user.
In the present embodiment, the number of times for being used when pending picture is more than number of times threshold values and the last time uses
When the time difference of use time and current time is more than time threshold values, it may be determined that pending picture has memorial value, can
Pending picture is uploaded to Cloud Server preservation to assume prompting user, the information of the pending picture is deleted.
In the present embodiment, when the use time that the number of times used by pending picture is more than and the last time uses
When being less than time threshold values with the time difference of current time, it may be determined that the picture that pending picture is used for high frequency, temporarily not
Pending picture is processed.
In the present embodiment, when the use time that the number of times used by pending picture is less than and the last time uses
When being less than time threshold values with the time difference of current time, it may be determined that pending picture is new picture, temporarily not to pending
Picture processed.
In the present embodiment, the number of times for being used when pending picture is less than number of times threshold values and the last time uses
When the time difference of use time and current time is more than time threshold values, it may be determined that pending picture is valueless picture, is in
Now prompting user deletes the information of pending picture.
Fig. 4 is refer to, as the realization to method shown in above-mentioned each figure, this application provides a kind of picture processing device
One embodiment, the device embodiment are corresponding with the embodiment of the method shown in Fig. 2.
As shown in figure 4, the picture processing device 400 of the present embodiment includes:Acquiring unit 401, processing unit 402.Wherein,
Acquiring unit 401 is configured to the process reference information of the picture for obtaining pending, and processing reference information includes one below:Should
With the mark of the predetermined registration operation executed by picture, parameter is used, included using parameter:Number of times that picture is used, picture are nearest
Nonrecoverable use time and the time difference of current time;Processing unit 402 is configured to corresponding to process reference information
Processing mode is processed to picture.
In some optional implementations of the present embodiment, processing unit 402 includes:First picture processing subelement
(not shown), is configured to when predetermined registration operation is image processing operations and processes reference information and includes the mark of image processing operations
During knowledge, the picture that picture and picture are obtained after being performed image processing operations in the region of storage picture is determined respectively;Presentation is carried
Show the information for deleting picture;Second picture processes subelement (not shown), is configured to share for picture when predetermined registration operation
Operation and process reference information be to picture execute picture share operation mark when, present prompting delete picture prompting letter
Breath;3rd picture processing subelement (not shown), is configured to, when it is using parameter to process reference information, believe when reference is processed
When the number of times used by picture in breath is more than time threshold values more than number of times threshold values and time difference, present for pointing out user
Blit piece is preserved to Cloud Server and deletes the information of picture;When the number of times used by the picture processed in reference information
When being more than time threshold values less than number of times threshold values and time difference, assume the information for pointing out user to delete picture.
In some optional implementations of the present embodiment, device 400 also includes:First processes reference information generates list
First (not shown), was configured to before the process reference information of pending picture is obtained, based on application and detection information
Mapping table, determines that the corresponding detection information of application, detection information include:Need the mark of the predetermined registration operation of detection;Detection
Whether application executes predetermined registration operation to picture;When detect apply to picture execute predetermined registration operation when, generate picture comprising pre-
If the process reference information of the mark of operation.
In some optional implementations of the present embodiment, device 400 also includes:Second processing reference information generates single
First (not shown), be configured at interval of preset time period count picture by using number of times and determine picture the last time make
Use time and the time difference of current time;Generate the number of times that used comprising picture and time difference uses parameter;Raw
Into picture comprising the process reference information using parameter.
Fig. 5 shows the structural representation of the computer system for being suitable to the picture processing device for realizing the embodiment of the present application
Figure.
As shown in figure 5, computer system 500 includes CPU (CPU) 501, which can be read-only according to being stored in
Program in memorizer (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage part 508 and
Execute various appropriate actions and process.In RAM503, the system that is also stored with 500 operates required various programs and data.
CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always
Line 504.
I/O interfaces 505 are connected to lower component:Importation 506 including keyboard, mouse etc.;Penetrate including such as negative electrode
Spool (CRT), liquid crystal display (LCD) etc. and the output par, c 507 of speaker etc.;Storage part 508 including hard disk etc.;
And the communications portion 509 of the NIC including LAN card, modem etc..Communications portion 509 via such as because
The network of special net executes communication process.Driver 510 is also according to needing to be connected to I/O interfaces 505.Detachable media 511, such as
Disk, CD, magneto-optic disk, semiconductor memory etc., as needed in driver 510, in order to read from it
Computer program be mounted into as needed storage part 508.
Especially, in accordance with an embodiment of the present disclosure, the process above with reference to flow chart description may be implemented as computer
Software program.For example, embodiment of the disclosure includes a kind of computer program, and which includes being tangibly embodied in machine readable
Computer program on medium, the computer program include the program code for the method shown in execution flow chart.At this
In the embodiment of sample, the computer program can be downloaded and installed from network by communications portion 509, and/or from removable
Unload medium 511 to be mounted.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, method and computer journey
The architectural framework in the cards of sequence product, function and operation.At this point, each square frame in flow chart or block diagram can generation
A part for table one module, program segment or code, a part for the module, program segment or code is comprising one or more
For realizing the executable instruction of the logic function of regulation.It should also be noted that in some are as the realization that replaces, institute in square frame
The function of mark can also occur with the order for being different from marked in accompanying drawing.For example, the two square frame reality for succeedingly representing
On can execute substantially in parallel, they can also be executed sometimes in the opposite order, and this is depending on involved function.Also to
It is noted that the combination of block diagram and/or each square frame and block diagram and/or the square frame in flow chart in flow chart, Ke Yiyong
Execute the function of regulation or the special hardware based system of operation to realize, or can be referred to computer with specialized hardware
The combination of order is realizing.
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating
Machine storage medium can be the nonvolatile computer storage media described in above-described embodiment included in device;Can also be
Individualism, without the nonvolatile computer storage media that allocates in terminal.Above-mentioned nonvolatile computer storage media is deposited
One or more program is contained, when one or more of programs are executed by an equipment so that the equipment:Obtain
The process reference information of pending picture, the process reference information include one below:Apply to picture execution
The mark of predetermined registration operation, parameter is used, the use parameter includes:Number of times that the picture is used, the picture nearest
The secondary use time for using and the time difference of current time;The picture is carried out with processing reference information corresponding processing mode
Process.
Above description is only the preferred embodiment and the explanation to institute's application technology principle of the application.People in the art
Member should be appreciated that involved invention scope in the application, however it is not limited to the technology of the particular combination of above-mentioned technical characteristic
Scheme, while should also cover in the case of without departing from the inventive concept, is carried out by above-mentioned technical characteristic or its equivalent feature
Combination in any and other technical schemes for being formed.Such as features described above has similar work(with (but not limited to) disclosed herein
The technical scheme that the technical characteristic of energy is replaced mutually and formed.
Claims (10)
1. a kind of image processing method, it is characterised in that methods described includes:
The process reference information of pending picture is obtained, the process reference information includes one below:Application is to the figure
Piece execute predetermined registration operation mark, use parameter, the use parameter includes:Number of times that the picture is used, the figure
Use time and the time difference of current time that piece the last time uses;
The picture is processed with processing reference information corresponding processing mode.
2. method according to claim 1, it is characterised in that the predetermined registration operation is image processing operations, processes reference
Information includes the mark of image processing operations;And
Process is carried out with the corresponding processing mode of process reference information to the picture includes:
Determine the picture that picture and the picture are obtained after being performed image processing operations described in the region of storage picture respectively;
Assume the information that the picture is deleted in prompting.
3. method according to claim 1, it is characterised in that the predetermined registration operation shares operation for picture, processes reference
Information is to execute the mark that operation shared by picture to picture;And
Process is carried out with the corresponding processing mode of process reference information to the picture includes:
Assume the information that the picture is deleted in prompting.
4. method according to claim 1, it is characterised in that it is to use parameter to process reference information;And
Process is carried out with the corresponding processing mode of process reference information to the picture includes:
When processing the number of times that used of picture in reference information more than number of times threshold values and the time difference is more than time threshold values
When, present for pointing out user to upload the information that the picture is preserved to Cloud Server and deletes the picture;
When processing the number of times that used of picture in reference information less than number of times threshold values and the time difference is more than time threshold values
When, assume the information for pointing out user to delete the picture.
5. the method according to one of claim 1-4, it is characterised in that obtaining the process of pending picture with reference to letter
Before breath, methods described also includes:
Based on the application and the mapping table of detection information, the corresponding detection information of the application, the detection letter is determined
Breath includes:Need the mark of the predetermined registration operation of detection;
Whether the detection application executes the predetermined registration operation to the picture;
When detect apply the predetermined registration operation is executed to the picture when, generate the picture comprising the predetermined registration operation
The process reference information of mark.
6. method according to claim 5, it is characterised in that methods described also includes:
At interval of preset time period count the picture by using number of times and determine that what described picture the last time used makes
With time and the time difference of current time;
Generate the number of times that used comprising the picture and the time difference uses parameter;
Generate the process reference information comprising the use parameter of the picture.
7. a kind of picture processing device, it is characterised in that described device includes:
Acquiring unit, the process reference information of the picture for being configured to obtain pending, the process reference information includes following
One of:Apply the mark to the predetermined registration operation that picture is executed, use parameter, the use parameter includes:It is secondary that picture is used
The time difference of number, the use time that picture the last time uses and current time;
Processing unit, is configured to process the picture to process the corresponding processing mode of reference information.
8. device according to claim 7, it is characterised in that the processing unit includes:
First picture processing subelement, is configured to when the predetermined registration operation is image processing operations and processes reference information bag
Include image processing operations mark when, determine that picture and the picture are performed at image described in the region of storage picture respectively
The picture obtained after reason operation;Assume the information that the picture is deleted in prompting;
Second picture process subelement, be configured to when predetermined registration operation share for picture operate and process reference information include right
When picture executes the mark that operation shared by picture, assume the information that the picture is deleted in prompting;
3rd picture processing subelement, is configured to when it is using parameter to process reference information, when in process reference information
When the number of times used by picture is more than time threshold values more than number of times threshold values and the time difference, present for pointing out user to upload
The picture is preserved to Cloud Server and deletes the information of the picture;Used when the picture in reference information is processed
Number of times when being more than time threshold values less than number of times threshold values and the time difference, present for pointing out user to delete the picture
Information.
9. device according to claim 8, it is characterised in that described device also includes:
First processes reference information signal generating unit, is configured to before the process reference information of pending picture is obtained, base
In the application and the mapping table of detection information, determine that the corresponding detection information of the application, the detection information include:
Need the mark of the predetermined registration operation of detection;Whether the detection application executes the predetermined registration operation to the picture;When detecting
When application executes the predetermined registration operation to the picture, the process ginseng of the mark comprising the predetermined registration operation of the picture is generated
Examine information.
10. device according to claim 9, it is characterised in that described device also includes:
Second processing reference information signal generating unit, is configured to count the number of times used by the picture at interval of preset time period
And determine the time difference of use time that described picture the last time uses and current time;Generating is made comprising the picture
The use parameter of number of times and the time difference;Generate the process reference information comprising the use parameter of the picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610930892.4A CN106503169A (en) | 2016-10-31 | 2016-10-31 | Image processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610930892.4A CN106503169A (en) | 2016-10-31 | 2016-10-31 | Image processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106503169A true CN106503169A (en) | 2017-03-15 |
Family
ID=58319478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610930892.4A Pending CN106503169A (en) | 2016-10-31 | 2016-10-31 | Image processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106503169A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791217A (en) * | 2017-03-30 | 2017-05-31 | 努比亚技术有限公司 | The Image Management optimization method and mobile terminal of a kind of mobile terminal |
CN107864277A (en) * | 2017-10-30 | 2018-03-30 | 珠海市魅族科技有限公司 | Remind method, apparatus, computer installation and the computer-readable storage medium for deleting picture |
CN107977463A (en) * | 2017-12-21 | 2018-05-01 | 广东欧珀移动通信有限公司 | image processing method, device, storage medium and terminal |
CN110099170A (en) * | 2019-04-26 | 2019-08-06 | 维沃移动通信有限公司 | Image deletion method and mobile terminal |
CN112765383A (en) * | 2021-04-07 | 2021-05-07 | 荣耀终端有限公司 | File cleaning method and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049491A (en) * | 2012-12-07 | 2013-04-17 | 深圳市同洲电子股份有限公司 | Method and device for managing picture file |
CN103064716A (en) * | 2013-01-14 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method for fast uninstalling application programs of mobile terminal devices |
CN103412753A (en) * | 2013-08-12 | 2013-11-27 | 宇龙计算机通信科技(深圳)有限公司 | Image deletion method and device |
CN104991949A (en) * | 2015-07-16 | 2015-10-21 | 北京京东尚科信息技术有限公司 | Mobile terminal and file management system and method thereof |
CN105893268A (en) * | 2016-03-24 | 2016-08-24 | 北京小米移动软件有限公司 | Cached image processing method and device |
-
2016
- 2016-10-31 CN CN201610930892.4A patent/CN106503169A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103049491A (en) * | 2012-12-07 | 2013-04-17 | 深圳市同洲电子股份有限公司 | Method and device for managing picture file |
CN103064716A (en) * | 2013-01-14 | 2013-04-24 | 广东欧珀移动通信有限公司 | Method for fast uninstalling application programs of mobile terminal devices |
CN103412753A (en) * | 2013-08-12 | 2013-11-27 | 宇龙计算机通信科技(深圳)有限公司 | Image deletion method and device |
CN104991949A (en) * | 2015-07-16 | 2015-10-21 | 北京京东尚科信息技术有限公司 | Mobile terminal and file management system and method thereof |
CN105893268A (en) * | 2016-03-24 | 2016-08-24 | 北京小米移动软件有限公司 | Cached image processing method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106791217A (en) * | 2017-03-30 | 2017-05-31 | 努比亚技术有限公司 | The Image Management optimization method and mobile terminal of a kind of mobile terminal |
CN107864277A (en) * | 2017-10-30 | 2018-03-30 | 珠海市魅族科技有限公司 | Remind method, apparatus, computer installation and the computer-readable storage medium for deleting picture |
CN107977463A (en) * | 2017-12-21 | 2018-05-01 | 广东欧珀移动通信有限公司 | image processing method, device, storage medium and terminal |
CN110099170A (en) * | 2019-04-26 | 2019-08-06 | 维沃移动通信有限公司 | Image deletion method and mobile terminal |
CN112765383A (en) * | 2021-04-07 | 2021-05-07 | 荣耀终端有限公司 | File cleaning method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106503169A (en) | Image processing method and device | |
US8873845B2 (en) | Contextual dominant color name extraction | |
WO2016101757A1 (en) | Image processing method and device based on mobile device | |
CN107147939A (en) | Method and apparatus for adjusting net cast front cover | |
CN105874776A (en) | Image processing apparatus and method | |
US20170109371A1 (en) | Method and Apparatus for Processing File in a Distributed System | |
US20180107686A1 (en) | Search method and apparatus | |
CN105512014B (en) | A kind of method and apparatus of application program service condition data acquisition | |
CN107679560A (en) | Data transmission method, device, mobile terminal and computer-readable recording medium | |
CN106101256A (en) | Method and apparatus for synchrodata | |
CN106067897A (en) | Information-pushing method based on user terminal location and device | |
CN102752371A (en) | Method for achieving splash on client side and client side | |
CN106803032A (en) | Realize method, device and client device that website fingerprint is logged in | |
CN107515950A (en) | A kind of image processing method, device, terminal and computer-readable recording medium | |
CN107330848A (en) | Image processing method, mobile terminal and storage device | |
CN106936979A (en) | The method and apparatus of destruction operation | |
CN110197445B (en) | Intellectual property state generation method, intellectual property state query method, computer device and storage medium | |
US9767541B2 (en) | Techniques for automatically correcting groups of images | |
CN106648571A (en) | Application interface correction method and apparatus | |
CN110602049A (en) | Data transmission method, server and storage medium | |
CN110390641B (en) | Image desensitizing method, electronic device and storage medium | |
CN112148395A (en) | Page display method, device, equipment and storage medium | |
CN106155740A (en) | For the method and apparatus carrying out Unloading Control | |
US20160277477A1 (en) | Information processing apparatus, terminal device, information processing method, and non-transitory computer readable recording medium | |
CN106469166B (en) | A kind of information processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170315 |
|
RJ01 | Rejection of invention patent application after publication |