Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Superfluous picture deletion method and device

A method for deleting pictures and a technology for deleting pictures, which is applied in the computer field, can solve problems such as low screening accuracy and long time for manual screening of redundant pictures, and achieve the effects of improving screening accuracy, improving development efficiency, and reducing screening time

Active Publication Date: 2014-08-06
SHENZHEN TENCENT COMP SYST CO LTD
View PDF1 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problem in the prior art that when there are many pictures in the application program, manual screening of redundant pictures takes a long time and the screening accuracy is not high, the embodiment of the present invention provides a redundant picture deletion method and device

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Superfluous picture deletion method and device
  • Superfluous picture deletion method and device
  • Superfluous picture deletion method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Please refer to figure 1 , which shows a method flowchart of a redundant picture deletion method provided in Embodiment 1 of the present invention, and the redundant picture deletion method can be used to delete redundant pictures in a program installation package. The method for deleting redundant pictures may include:

[0030] Step 101, obtaining the identifiers of all pictures in the program installation package;

[0031] Step 102, extracting the image associated file in the program installation package, the image associated file is a file associated with the used image in the program installation package;

[0032] Step 103, according to the extracted image association file, obtain the identifier of the used image in the program installation package;

[0033] Step 104, according to the identifiers of all acquired images and the identifiers of used images, obtain the identifiers of redundant images;

[0034] Step 105, delete the redundant pictures in the program in...

Embodiment 2

[0038] Please refer to figure 2 , which shows a method flowchart of the method for deleting redundant pictures provided by Embodiment 2 of the present invention. As a more preferred embodiment based on Embodiment 1, taking an app (Application, third-party application program) installation package applied to an iOS system as an example, the method for deleting redundant pictures may include:

[0039] Step 201, the device for deleting redundant pictures obtains the identifiers of all pictures in the program installation package;

[0040] Wherein, the identification of the picture may be the name of the picture in the installation package.

[0041] Specifically, taking the app installation package based on the iOS system as an example, the redundant image deletion device can scan all subdirectories of the app installation package, and obtain all subdirectories with suffixes of JEPG (Joint Photographic Experts Group, an image file storage format), PNG (Portable Network Graphic ...

Embodiment 3

[0064] In the methods for deleting redundant pictures provided in the first and second embodiments above, the used pictures are screened statically, that is, the identification of the used pictures is obtained by analyzing the program installation package. In addition, the present invention also provides a redundant picture deletion method that dynamically screens used pictures, please refer to image 3 , which shows a method flow chart of a redundant picture deletion method provided by Embodiment 3 of the present invention. The method for deleting redundant pictures may include:

[0065] Step 301, the device for deleting redundant pictures obtains the identifiers of all pictures in the program installation package;

[0066] This step is similar to step 201 in the second embodiment above, and will not be repeated here.

[0067] Step 302, the redundant picture deletion device detects the installation and full operation process of the program installation package, and acquires...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a superfluous picture deletion method and a superfluous picture deletion device, and belongs to the field of computers. The deletion method comprises the followings steps of acquiring the marks of all pictures in a program installation package; extracting picture relevant files in the program installation package, which are files relevant with applied pictures in the program installation package; acquiring the marks of the applied pictures in the program installation package according to the extracted picture relevant files; acquiring the marks of superfluous pictures on the basis of the marks of all pictures and the marks of the applied pictures; and deleting the superfluous pictures in the program installation package according to the marks of the superfluous pictures. According to the superfluous picture deletion method and the superfluous picture deletion device, disclosed by the invention, the marks of all the pictures and the marks of the applied pictures in the program installation package are obtained, the superfluous pictures can be deleted according to the marks of all the pictures and the marks of the applied pictures, and the purposes of shortening the selection time of the superfluous pictures and improving the selection accuracy of the superfluous pictures can be achieved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for deleting redundant pictures. Background technique [0002] With the continuous development of the computer field, the development cycle of Internet applications is getting shorter and shorter, and the version updates are more frequent. During the program version update process, it often involves the replacement of some picture resources. Some picture resources in the old version of the program It may no longer be used in the new version of the program. In order to reduce the size of the program installation package, redundant pictures that are no longer used in the installation package need to be deleted. [0003] In the existing method for deleting redundant pictures, all the pictures in the installation package are firstly extracted, and the redundant pictures are manually screened out by application developers and deleted. [0004] In the process of realizing ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F8/61G06F16/162
Inventor 陈列奋龙磊
Owner SHENZHEN TENCENT COMP SYST CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products