CN103167159A - Method of rapidly looking up for identical file contents in mobile phone - Google Patents

Method of rapidly looking up for identical file contents in mobile phone Download PDF

Info

Publication number
CN103167159A
CN103167159A CN2012103588675A CN201210358867A CN103167159A CN 103167159 A CN103167159 A CN 103167159A CN 2012103588675 A CN2012103588675 A CN 2012103588675A CN 201210358867 A CN201210358867 A CN 201210358867A CN 103167159 A CN103167159 A CN 103167159A
Authority
CN
China
Prior art keywords
mobile phone
content
summary info
files
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012103588675A
Other languages
Chinese (zh)
Other versions
CN103167159B (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.)
Shenzhen Microphone Holdings Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201210358867.5A priority Critical patent/CN103167159B/en
Publication of CN103167159A publication Critical patent/CN103167159A/en
Application granted granted Critical
Publication of CN103167159B publication Critical patent/CN103167159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method of rapidly looking up for identical file contents in a mobile phone. The method comprises the following steps: step A, acquiring abstract information of all files in the mobile phone; step B, analyzing and processing the abstract information and acquiring all files with similar or identical abstract information; and step C, analyzing and comparing the contents of the files and judging whether the contents are identical. According to the method of rapidly looking up for the identical file contents in the mobile phone, the abstract information of all the files in the mobile phone is extracted, the files with the similar or identical abstract information are categorized to form a file path collection, the file contents are analyzed and compared in the file path collection, and the purpose of ensuring that the file contents are identical is achieved. The method of rapidly looking up for the identical file contents in the mobile phone effectively solves the problems that at present, identical file contents under a plurality of catalogues or the same catalogue in the mobile phone need to be manually distinguished one by one and the backup and the sorting are quite troublesome, and greatly increases the lookup efficiency of the identical file contents in the mobile phone.

Description

A kind of method of fast finding same file content in mobile phone
Technical field
The present invention relates to mobile phone, what be specifically related to is the method for fast finding same file content in a kind of mobile phone, is mainly used in the fast finding of same file content under a plurality of catalogues in mobile phone or same catalogue.
Background technology
Along with the function of mobile phone is more and more; the file of storing in mobile phone is also more and more; especially the fast development of smart mobile phone is universal; the user is meeting storage picture or other capsule information on mobile phone usually; especially As time goes on; the thing of storing in mobile phone is more and more; lose for fear of accident; backup to these files is also more and more, and the user can arrange file usually, renames to file; or be kept under different file directorys; in the course of time, just asynchronous between each backup, the more arrangements of file are got up just more difficult.Such as people like recording at any time some things with mobile phone, photo, video and file etc.; Then these things on mobile phone are copied to some Folder synchronizings under computer, so that backup, but do not want again the content in mobile phone is deleted after current copy, when back up next time more as a result, distinguish that with regard to bad which backs up, if manually distinguish with regard to hell to pay one by one, along with thing is more and more, backup and arrangement just more and more bother.
Summary of the invention
For this reason, the object of the present invention is to provide the method for fast finding same file content in a kind of mobile phone, under a plurality of catalogues of present mobile phone or same catalogue, the same file content need to be by manually distinguishing one by one to solve, and backup and arrangement be the problem of trouble very.
The objective of the invention is to be achieved through the following technical solutions.
A kind of method of fast finding same file content in mobile phone comprises step:
A, obtain the summary info of All Files in mobile phone;
B, summary info is carried out analyzing and processing, obtain the All Files of identical or similar summary info;
C, above-mentioned file content is analyzed comparison, judge whether its content is identical.
Preferably, comprise before steps A:
Summary info according to content of text correspondence establishment and text content Corresponding matching.
Preferably, according to message digest algorithm, content of text is carried out analytical calculation, obtain the informative abstract with this document content Corresponding matching, and correspondence is carried out record.
Preferably, according to the cyclic redundancy check (CRC) algorithm, content of text is carried out analytical calculation, obtain the informative abstract with this document content Corresponding matching, and correspondence is carried out record.
Preferably, step B specifically comprises:
Summary info to all texts in mobile phone carries out analyzing and processing, obtains the All Files of identical or similar summary info, and corresponding to its classification, forms a file path set.
Preferably, step C specifically comprises:
To being under the identical file set of paths, and the same or similar file content of summary info analyzes comparison, and determines that according to analyzing judged result file content is identical.
The present invention compared with prior art, beneficial effect is: the method for fast finding same file content in mobile phone provided by the invention, by extracting the summary info of mobile phone All Files, the file of identical or similar summary info is sorted out, form the file path set, and in this document set of paths, file content is analyzed comparison, reach and determine the identical purpose of file content.The present invention efficiently solves under a plurality of catalogues of present mobile phone or same catalogue the same file content need to be by manually distinguishing one by one, and backup and arrange the very problem of trouble has improved the search efficiency of identical content file in the mobile phone greatly.
Description of drawings
Fig. 1 is operation principle flow chart of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Shown in Figure 1, Fig. 1 is operation principle flow chart of the present invention.The invention provides the method for fast finding same file content in a kind of mobile phone, it is mainly used in solving, and under a plurality of catalogues of present mobile phone or same catalogue, the same file content need to be by manually distinguishing one by one, and existing backup and arrangement be the problem of trouble very.
The method of fast finding same file content in this mobile phone wherein comprises that specifically step is as follows:
At first will be according to the summary info of content of text correspondence establishment and text content Corresponding matching, the mode of specifically setting up summary info here has following two kinds;
One, according to message digest algorithm, content of text is carried out analytical calculation, obtain the informative abstract with this document content Corresponding matching, and correspondence is carried out record.
Message digest algorithm (MD5, Message-digest Algorithm 5) develops through MD2, MD3 and MD4.Its effect is to allow large capacity information be ' compressed ' into a kind of secret form before with digital signature software signature private key, exactly the byte serial of a random length is transformed into the large integer of a fixed length.No matter be MD2, MD4 or MD5, they all need the informative abstract that obtains the information of a random-length and produce one 128.
Increased " safety-belt " concept (safety-belts) due to MD5, although therefore MD5 is slower, safer a little than MD4 on the basis of MD4.In the MD5 algorithm, the size of information-summary and the necessary condition of filling and MD5 are identical.
Two, according to the cyclic redundancy check (CRC) algorithm, content of text is carried out analytical calculation, obtain the informative abstract with this document content Corresponding matching, and correspondence is carried out record.
Cyclic redundancy check (CRC) algorithm (CRC, Cyclic Redundancy Check/Code) is that a transmission block is carried out verification, is a kind of efficient error control method.
CRC check adopts the multinomial coding method, and multinomial multiplication and division calculating process is identical with the polynomial multiplication and division of common algebra, and polynomial signed magnitude arithmetic(al) is not advanced during plus-minus take 2 as mould, and dislocation is as the logic XOR.
A, obtain the summary info of All Files in mobile phone;
Obtain the summary info of All Files in mobile phone according to above-mentioned algorithm correspondence, and correspondence carries out record, in order to follow-up searching.
B, summary info is carried out analyzing and processing, obtain the All Files of identical or similar summary info;
Summary info to all texts in mobile phone carries out analyzing and processing, obtains the All Files of identical or similar summary info, and corresponding to its classification, forms a file path set.
C, above-mentioned file content is analyzed comparison, judge whether its content is identical.
To being under the identical file set of paths, and the same or similar file content of summary info analyzes comparison, and determines that according to analyzing judged result file content is identical.
The present invention is by extracting the summary info of mobile phone All Files, the file of identical or similar summary info is sorted out, form the file path set, and in this document set of paths, file content is analyzed comparison, reach and determine the identical purpose of file content.The present invention efficiently solves under a plurality of catalogues of present mobile phone or same catalogue the same file content need to be by manually distinguishing one by one, and backup and arrange the very problem of trouble has improved the search efficiency of identical content file in the mobile phone greatly.
The method of same file content under a plurality of catalogues of fast detecting of the present invention or catalogue: at first according to " summary info ", file is sorted out, the file in each class compares in twos so again, determines whether identical.
The above is only preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., within all should being included in protection scope of the present invention.

Claims (6)

1. the method for fast finding same file content in a mobile phone is characterized in that comprising step:
A, obtain the summary info of All Files in mobile phone;
B, summary info is carried out analyzing and processing, obtain the All Files of identical or similar summary info;
C, above-mentioned file content is analyzed comparison, judge whether its content is identical.
2. the method for fast finding same file content in mobile phone according to claim 1 is characterized in that comprising before steps A:
Summary info according to content of text correspondence establishment and text content Corresponding matching.
3. the method for fast finding same file content in mobile phone according to claim 2 is characterized in that:
According to message digest algorithm, content of text is carried out analytical calculation, obtain the informative abstract with this document content Corresponding matching, and correspondence is carried out record.
4. the method for fast finding same file content in mobile phone according to claim 2 is characterized in that:
According to the cyclic redundancy check (CRC) algorithm, content of text is carried out analytical calculation, obtain the informative abstract with this document content Corresponding matching, and correspondence is carried out record.
5. the method for fast finding same file content in mobile phone according to claim 1 is characterized in that step B specifically comprises:
Summary info to all texts in mobile phone carries out analyzing and processing, obtains the All Files of identical or similar summary info, and corresponding to its classification, forms a file path set.
6. the method for fast finding same file content in mobile phone according to claim 1 is characterized in that step C specifically comprises:
To being under the identical file set of paths, and the same or similar file content of summary info analyzes comparison, and determines that according to analyzing judged result file content is identical.
CN201210358867.5A 2012-09-25 2012-09-25 Method of rapidly looking up for identical file contents in mobile phone Active CN103167159B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210358867.5A CN103167159B (en) 2012-09-25 2012-09-25 Method of rapidly looking up for identical file contents in mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210358867.5A CN103167159B (en) 2012-09-25 2012-09-25 Method of rapidly looking up for identical file contents in mobile phone

Publications (2)

Publication Number Publication Date
CN103167159A true CN103167159A (en) 2013-06-19
CN103167159B CN103167159B (en) 2015-02-11

Family

ID=48589891

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210358867.5A Active CN103167159B (en) 2012-09-25 2012-09-25 Method of rapidly looking up for identical file contents in mobile phone

Country Status (1)

Country Link
CN (1) CN103167159B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335522A (en) * 2015-11-27 2016-02-17 腾讯科技(深圳)有限公司 Resource aggregating method and device
CN107832411A (en) * 2017-11-03 2018-03-23 广州视源电子科技股份有限公司 Processing method, device, equipment and the computer-readable recording medium of committee paper

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040093323A1 (en) * 2002-11-07 2004-05-13 Mark Bluhm Electronic document repository management and access system
CN101076800A (en) * 2004-08-23 2007-11-21 汤姆森环球资源公司 Repetitive file detecting and displaying function
CN101079074A (en) * 2007-07-26 2007-11-28 杭州华三通信技术有限公司 Data storage and retrieving method and system
CN101184091A (en) * 2007-11-05 2008-05-21 深圳市迅雷网络技术有限公司 Method and apparatus for ascertaining similar documents
CN102571709A (en) * 2010-12-16 2012-07-11 腾讯科技(北京)有限公司 Method for uploading file, client, server and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040093323A1 (en) * 2002-11-07 2004-05-13 Mark Bluhm Electronic document repository management and access system
CN101076800A (en) * 2004-08-23 2007-11-21 汤姆森环球资源公司 Repetitive file detecting and displaying function
CN101079074A (en) * 2007-07-26 2007-11-28 杭州华三通信技术有限公司 Data storage and retrieving method and system
CN101184091A (en) * 2007-11-05 2008-05-21 深圳市迅雷网络技术有限公司 Method and apparatus for ascertaining similar documents
CN102571709A (en) * 2010-12-16 2012-07-11 腾讯科技(北京)有限公司 Method for uploading file, client, server and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105335522A (en) * 2015-11-27 2016-02-17 腾讯科技(深圳)有限公司 Resource aggregating method and device
CN105335522B (en) * 2015-11-27 2020-05-12 腾讯科技(深圳)有限公司 Resource aggregation method and device
CN107832411A (en) * 2017-11-03 2018-03-23 广州视源电子科技股份有限公司 Processing method, device, equipment and the computer-readable recording medium of committee paper
CN107832411B (en) * 2017-11-03 2021-03-05 广州视源电子科技股份有限公司 Conference file processing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN103167159B (en) 2015-02-11

Similar Documents

Publication Publication Date Title
US9900416B2 (en) Information processing method, information processing device, and apparatus
US10062038B1 (en) Generation and use of trained file classifiers for malware detection
Xiang et al. Linguistic steganalysis using the features derived from synonym frequency
CN102937926B (en) Method and device for recovering deleted sqlite files on mobile terminal
US9331856B1 (en) Systems and methods for validating digital signatures
US10705748B2 (en) Method and device for file name identification and file cleaning
CN110716895A (en) Target data archiving method and device, computer equipment and medium
CN102541995A (en) Indexing and querying hash sequence matrices
Poisel et al. A comprehensive literature review of file carving
US20130067587A1 (en) Protecting archive structure with directory verifiers
CN106548092A (en) File processing method and device
CN103548016A (en) Dynamic rule reordering for message classification
CN111901337A (en) File uploading method and system and storage medium
TW201520813A (en) Anti-malware mobile content data management apparatus and method
KR101727860B1 (en) Recovery apparatus and method of document file
CN107301343A (en) Secure data processing method, device and electronic equipment
CN111488556A (en) Nested document extraction method and device, electronic equipment and storage medium
CN105808583A (en) File type identification method and device
CN101931706A (en) Method and device for inputting backup data into mobile terminal
CN103167159B (en) Method of rapidly looking up for identical file contents in mobile phone
CN110874526B (en) File similarity detection method and device, electronic equipment and storage medium
CN103902898A (en) Method and device for identifying viruses
CN107436836A (en) The processing method and relevant device of a kind of journal file
CN110390185B (en) Repackaging application detection method, rule base construction method and related device
CN108197456B (en) Equipment data caching method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20180428

Granted publication date: 20150211

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20210428

Granted publication date: 20150211

PD01 Discharge of preservation of patent
TR01 Transfer of patent right

Effective date of registration: 20210609

Address after: 518057 Desai Science and Technology Building, 9789 Shennan Avenue, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 17th Floor (15th Floor of Natural Floor) 1702-1703

Patentee after: Shenzhen Microphone Holdings Co.,Ltd.

Address before: 518000 21, Times Technology Building, 7028 Shennan Road, Futian District, Shenzhen, Guangdong.

Patentee before: DONGGUAN GOLDEX COMMUNICATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right