CN103167159B - 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
CN103167159B
CN103167159B CN201210358867.5A CN201210358867A CN103167159B CN 103167159 B CN103167159 B CN 103167159B CN 201210358867 A CN201210358867 A CN 201210358867A CN 103167159 B CN103167159 B CN 103167159B
Authority
CN
China
Prior art keywords
mobile phone
file
content
files
file content
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.)
Active
Application number
CN201210358867.5A
Other languages
Chinese (zh)
Other versions
CN103167159A (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

Landscapes

  • Telephone Function (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

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 multiple catalogue in mobile phone or same catalogue.
Background technology
Along with the function of mobile phone gets more and more; the file stored in mobile phone also gets more and more; especially the fast development of smart mobile phone is popularized; user usually can on mobile phone storage picture or other capsule information; especially As time goes on; the thing stored in mobile phone gets more and more; in order to avoid unexpected loss; also get more and more to the backup of these files, usual user can arrange file, renames to file; or under being kept at different file directorys; in the course of time, just asynchronous between each backup, the more arrangements of file are got up more difficult.Such as people like recording some things at any time, photo, video and file etc. with mobile phone; Then these things on mobile phone are copied to the some Folder synchronizings under computer, to back up, but do not want again the content in mobile phone to delete after current copy, result next time is when backing up again, distinguish which backs up with regard to bad, if manually distinguished with regard to hell to pay one by one, along with thing gets 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, needing by manually distinguishing one by one to solve same file content under the multiple catalogue of current mobile phone or same catalogue, backup and the very troublesome problem of arrangement.
The object of the invention is to be achieved through the following technical solutions.
A method for fast finding same file content in mobile phone, comprises step:
The summary info of All Files in A, acquisition mobile phone;
B, analyzing and processing is carried out to summary info, obtain the All Files of identical or similar summary info;
C, com-parison and analysis is carried out to above-mentioned file content, judge that whether its content is identical.
Preferably, comprise before steps A:
According to the summary info of content of text correspondence establishment and text content Corresponding matching.
Preferably, according to message digest algorithm, analytical calculation is carried out to content of text, obtain the informative abstract with this file content Corresponding matching, and correspondence carries out record.
Preferably, according to cyclic redundancy check (CRC) algorithm, analytical calculation is carried out to content of text, obtain the informative abstract with this file content Corresponding matching, and correspondence carries out record.
Preferably, step B specifically comprises:
Analyzing and processing is carried out to the summary info of texts all in mobile phone, obtain the All Files of identical or similar summary info, and correspondence is sorted out, form a file path set.
Preferably, step C specifically comprises:
Under being in identical file set of paths, and the same or similar file content of summary info carries out com-parison and analysis, and identical according to analysis judged result determination file content.
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 file path set, and in this file set of paths, com-parison and analysis is carried out to file content, reach the object determining that file content is identical.Under the present invention efficiently solves the multiple catalogue of current mobile phone or same catalogue, same file content needs by manually distinguishing one by one, and backup and the very troublesome problem of arrangement, greatly improve the search efficiency of identical content file in mobile phone.
Accompanying drawing explanation
Fig. 1 is operation principle flow chart of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, 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, be 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, under it is mainly used in solving the multiple catalogue of current mobile phone or same catalogue, same file content needs by manually distinguishing one by one, existing backup and the very troublesome problem of arrangement.
The wherein method of fast finding same file content in this mobile phone, specifically comprises step as follows:
First will according to the summary info of content of text correspondence establishment and text content Corresponding matching, the mode specifically setting up summary info here has following two kinds;
One, according to message digest algorithm, analytical calculation is carried out to content of text, obtain the informative abstract with this file content Corresponding matching, and correspondence carries out record.
Message digest algorithm (MD5, Message-digest Algorithm 5), develops through MD2, MD3 and MD4.Its effect allows Large Copacity 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 big integer of a fixed length.No matter be MD2, MD4 or MD5, they all need the information of an acquisition random-length and produce the informative abstract of 128.
Because MD5 adds the concept of " safety-belt " (safety-belts) on the basis of MD4, although therefore MD5 is slower, safer a little than MD4.In MD5 algorithm, the size of information-summary is identical with MD5 with the necessary condition of filling.
Two, according to cyclic redundancy check (CRC) algorithm, analytical calculation is carried out to content of text, obtain the informative abstract with this file content Corresponding matching, and correspondence carries out record.
Cyclic redundancy check (CRC) algorithm (CRC, Cyclic Redundancy Check/Code) verifies a transmission block, is a kind of error control method efficiently.
CRC check adopts polynomial code 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 entered during plus-minus for mould with 2, and dislocation, as logic XOR.
The summary info of All Files in A, acquisition mobile phone;
Obtain the summary info of All Files in mobile phone according to above-mentioned algorithm correspondence, and correspondence carries out record, searches in order to follow-up.
B, analyzing and processing is carried out to summary info, obtain the All Files of identical or similar summary info;
Analyzing and processing is carried out to the summary info of texts all in mobile phone, obtain the All Files of identical or similar summary info, and correspondence is sorted out, form a file path set.
C, com-parison and analysis is carried out to above-mentioned file content, judge that whether its content is identical.
Under being in identical file set of paths, and the same or similar file content of summary info carries out com-parison and analysis, and identical according to analysis judged result determination file content.
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 file path set, and in this file set of paths, com-parison and analysis is carried out to file content, reach the object determining that file content is identical.Under the present invention efficiently solves the multiple catalogue of current mobile phone or same catalogue, same file content needs by manually distinguishing one by one, and backup and the very troublesome problem of arrangement, greatly improve the search efficiency of identical content file in mobile phone.
The method of same file content under the multiple catalogue of fast detecting of the present invention or a catalogue: first according to " summary info ", file is sorted out, the file so again in each class compares between two, determines whether identical.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (4)

1. the method for fast finding same file content in mobile phone, is characterized in that comprising step:
The summary info of All Files in A, acquisition mobile phone;
B, analyzing and processing is carried out to the summary info of texts all in mobile phone, obtain the All Files of identical or similar summary info, and correspondence is sorted out, form a file path set;
C, under being in identical file set of paths, and the same or similar file content of summary info carries out com-parison and analysis, and identical according to analysis judged result determination file content.
2. the method for fast finding same file content in mobile phone according to claim 1, comprises before it is characterized in that steps A:
According to the summary info of 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, analytical calculation is carried out to content of text, obtain the informative abstract with this file content Corresponding matching, and correspondence carries out record.
4. the method for fast finding same file content in mobile phone according to claim 2, is characterized in that:
According to cyclic redundancy check (CRC) algorithm, analytical calculation is carried out to content of text, obtain the informative abstract with this file content Corresponding matching, and correspondence carries out record.
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 CN103167159A (en) 2013-06-19
CN103167159B true 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)

Families Citing this family (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7085755B2 (en) * 2002-11-07 2006-08-01 Thomson Global Resources Ag Electronic document repository management and access system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN103167159A (en) 2013-06-19

Similar Documents

Publication Publication Date Title
CN102541995B (en) To index and the inquiry of hash sequence matrix
CN104933352B (en) A kind of weak passwurd detection method and device
CN102243699B (en) Malicious code detection method and system
JP5708107B2 (en) Duplicate file detection device
CN103235912B (en) Trusted process recognition device and trusted process recognition methods
US20130067587A1 (en) Protecting archive structure with directory verifiers
CN102937926A (en) Method and device for recovering deleted sqlite files on mobile terminal
US8819361B2 (en) Retaining verifiability of extracted data from signed archives
CN106548092A (en) File processing method and device
CN111506578A (en) Service data checking method, device, equipment and storage medium
CN105827582A (en) Communication encryption method, device and system
CN103167159B (en) Method of rapidly looking up for identical file contents in mobile phone
Park et al. A methodology for the decryption of encrypted smartphone backup data on android platform: A case study on the latest samsung smartphone backup system
CN103902898A (en) Method and device for identifying viruses
US20170017792A1 (en) Method and device for constructing apk virus signature database and apk virus detection system
CN111444479B (en) Digital fingerprint ownership verification method and system
CN110874526A (en) File similarity detection method and device, electronic equipment and storage medium
US20220050811A1 (en) Method and apparatus for synchronizing file
CN108197456B (en) Equipment data caching method and device
Su et al. Key technologies for mobile phone forensics and application
US11151277B1 (en) Method to recover encrypted structured files
CN117579617B (en) Data transmission method and device based on information security
KR101988302B1 (en) Apparatus and method for generating identifier of content file based on hash, and method for hash code generation
Salami et al. Efficiency Simultaneous key Exchange-Cryptography Extraction from Public key in Fog-Cloud Federation-based Secure Offloading for Automatic Weather Stations Observing Systems
CN113704176B (en) File scanning method, device, electronic equipment and storage medium

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