Movatterモバイル変換


[0]ホーム

URL:


CN104134042A - Private file encryption method and private file encryption device - Google Patents

Private file encryption method and private file encryption device
Download PDF

Info

Publication number
CN104134042A
CN104134042ACN201310303610.4ACN201310303610ACN104134042ACN 104134042 ACN104134042 ACN 104134042ACN 201310303610 ACN201310303610 ACN 201310303610ACN 104134042 ACN104134042 ACN 104134042A
Authority
CN
China
Prior art keywords
file
application program
list
oracle listener
privacy
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
CN201310303610.4A
Other languages
Chinese (zh)
Other versions
CN104134042B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201310303610.4ApriorityCriticalpatent/CN104134042B/en
Publication of CN104134042ApublicationCriticalpatent/CN104134042A/en
Application grantedgrantedCritical
Publication of CN104134042BpublicationCriticalpatent/CN104134042B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention is applicable to the technical field of Internet, and provides a private file encryption method and a private file encryption device. The private file encryption method comprises the following steps that: a current running application program is monitored; when the application program belongs to a standard monitoring program list, whether a file generated in the current application program running process is a private file or not is judged, and the standard monitoring program list stores application program information to be monitored; and when the file generated in the current application program running process is the private file, the private file is encrypted in real time. The method and the device provided by the invention have the advantages that the real-time encryption on the private file is realized; the manual operation is not needed; the encryption process is simple and convenient; and the private file generated in the application program running process is encrypted in real time, so that the private file leakage due to encryption forgetting can be avoided.

Description

A kind of privacy file encrypting method and device
Technical field
The invention belongs to Internet technical field, relate in particular to a kind of privacy file encrypting method and device.
Background technology
Along with the development of Internet technology and terminal technology, various application programs constantly occur, to meet the various demands such as people's life, work, amusement, for example, pass through telephony application, user can carry out voice communication, pass through instant messaging application program, can carry out text communication, voice communication or video communication etc.
But, in the process communicating by application program, may produce video, audio frequency, the files such as word, and some is the privacy file that need to protect in these files, the file that described privacy file need to be encrypted by cipher mode, wherein, privacy file can be video, photo, message registration, chat record, system file etc., at present, user is in the time being encrypted certain privacy file, need to first select and open encryption software, then, in encryption software interface, select privacy file to be encrypted according to path, and then privacy file to be encrypted is encrypted.Existing privacy file encrypting method, due to, recording, video and photo are created in different catalogues, and user need to repeatedly open encryption software and select different paths to be encrypted, and for a needs encrypt file, if forget encryption, privacy file is easy to be leaked.
To sum up, prior art privacy file encrypting method, ciphering process is loaded down with trivial details and cannot be encrypted application documents in real time, may cause privacy fileinfo to be revealed.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of private file encrypting method, is intended to solve prior art privacy file encrypting method, and ciphering process is loaded down with trivial details and cannot be encrypted application documents in real time, may cause privacy fileinfo leakage problem.
To achieve these goals, the embodiment of the present invention provides following technical scheme:
First aspect present invention provides a kind of privacy file encrypting method, and described method comprises:
Monitor the application program of current operation;
If when described application program belongs to the list of standard oracle listener, judge whether the file producing in described current application program operational process is privacy file, described standard oracle listener list storage application information to be monitored;
In the time that the file producing in described current application program operational process is privacy file, carry out real-time encrypted to described privacy file.
Second aspect present invention provides a kind of privacy document encrypting apparatus, and described device comprises:
Monitoring means, for monitoring the application program of current operation;
Judging unit, if while belonging to the list of standard oracle listener for described application program, judges whether the file producing in described current application program operational process is privacy file, described standard oracle listener list storage application information to be monitored;
Ciphering unit, while being privacy file, carries out real-time encrypted to described privacy file for the file producing when described current application program operational process.
The embodiment of the present invention compared with prior art, beneficial effect is: the operation of monitoring current application program, if when the application program of current operation belongs to the list of standard oracle listener, judge whether the file producing in described current application program operational process is privacy file, in the time that the file producing in described current application program operational process is privacy file, carry out real-time encrypted to described privacy file.Due in application program operational process, monitor the privacy file producing in described application program operational process, and privacy file is encrypted, manually encrypt without user, ciphering process is simple, convenient, and the privacy file producing due to real-time application programs operation is encrypted, therefore, can avoid owing to forgetting that encrypting the privacy file causing reveals.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the process flow diagram of the realization of the privacy file encrypting method that provides of the embodiment of the present invention one;
Fig. 2 is the process flow diagram of the realization of the privacy file encrypting method that provides of the embodiment of the present invention two
Fig. 3 is the structural drawing of the privacy document encrypting apparatus that provides of the embodiment of the present invention three;
Fig. 4 is the structural drawing of the privacy document encrypting apparatus that provides of the embodiment of the present invention four.
Embodiment
In order to make object 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.
The present invention monitors current application program operation, if when the application program of current operation belongs to the list of standard oracle listener, and when the file privacy file producing in described application program operational process, carries out real-time encrypted to described privacy file.
Below in conjunction with specific embodiment, realization of the present invention is described in detail:
embodiment mono-
Fig. 1 shows the process flow diagram of the realization of the privacy file encrypting method that the embodiment of the present invention one provides, and details are as follows:
In S101, the operation of monitoring current application program;
In the present embodiment, described application program is the local application program of installing of terminal device, for example, and games, instant messaging program, voice procedure etc.
In S102, if when described application program belongs to the list of standard oracle listener, judge whether the file producing in described current application program operational process is privacy file;
Wherein, described standard oracle listener list storage application information to be monitored, described application information can comprise the information such as title, size of application program, in the time that described application program belongs to described standard oracle listener list, illustrate that this application program belongs to the application program that needs are monitored.
In the present embodiment, in described application program operational process, may produce a lot of files, wherein, can comprise privacy file and non-privacy file, wherein, privacy file is the file that needs encryption, and non-privacy file is the file that does not need encryption.
In S103, in the time that the file producing in described current application program operational process is privacy file, carry out real-time encrypted to described privacy file.
In the present embodiment, the operation of monitoring current application program, if when the application program of current operation belongs to the list of standard oracle listener, judge whether the file producing in described current application program operational process is privacy file, in the time that the file producing in described current application program operational process is privacy file, carry out real-time encrypted to described privacy file.Due in application program operational process, monitor the privacy file producing in described application program operational process, and privacy file is encrypted, manually encrypt without user, ciphering process is simple, convenient, and the privacy file producing due to real-time application programs operation is encrypted, therefore, can avoid owing to forgetting that encrypting the privacy file causing reveals.
embodiment bis-
Fig. 2 shows the process flow diagram of the realization of the privacy file encrypting method that the embodiment of the present invention two provides, and details are as follows:
In the present embodiment, can, after terminal device start, export the information whether privacy file being encrypted to user, if so, carry out S201.
In S201, generate the list of standard oracle listener;
Optionally, S201 in the following ways one mode realizes: encrypt file type corresponding to the application information to be encrypted of selecting according to user and each application program of setting generates the list of standard oracle listener, specifically can quick entrance be set in terminal, in the time clicking quick entrance, eject encipheror and select and arrange the list of encrypt file, described list shows local application program and the corresponding encrypt file type thereof that needs encryption of terminal device, user can select to need the application program of encryption and the encrypt file type corresponding to application program of selection in described list, according to user's selection and arrange generation standard monitor list.
Optionally, S201 adopts and can also adopt the mode of mode two to realize: the encrypt file type generation standard oracle listener list corresponding to each application program of monitoring the application information to be encrypted that obtains and analysis according to high in the clouds.Concrete: various application programs are regularly collected in high in the clouds, and the attribute of each application program is analyzed, according to analysis result, determine the file type that needs corresponding to this application program are monitored, for example, when application attribute is while taking pictures class software, or when application attribute is recorded program, this application program may produce the audio file of privacy, determine after the file type of monitoring, according to the application program of collecting and to the file type in requisition for monitoring, composition high in the clouds oracle listener list, in the time collecting new application program, need this new application program to analyze, judgement, and according to analyzing judged result, high in the clouds oracle listener list is upgraded.
Optionally, S201 further can adopt mode three realizations:
A, obtain the list of user's oracle listener and high in the clouds oracle listener list, application information to be encrypted and encrypt file type corresponding to each application program that described user's oracle listener list storage user arranges, the various application informations that oracle listener list storage high in the clouds, described high in the clouds obtains and encrypt file type corresponding to each application program;
Wherein, terminal device can directly obtain from high in the clouds the oracle listener list of described high in the clouds, also can local obtain pre-stored high in the clouds oracle listener list, now, need to monitor list to the high in the clouds of this locality storage and carry out regular update.
Wherein, the generation that described user monitors list can generate with reference to the mode of the implementation of S201 one, and the generation that list is monitored in described high in the clouds can generate with reference to the mode of the implementation of S201 two, does not repeat them here.
B, the list of described user's oracle listener and high in the clouds oracle listener list are combined, generate the list of standard oracle listener.
In the present embodiment, the application program of user's oracle listener list and high in the clouds oracle listener list are combined, the list of generation standard oracle listener, be that application program and the local application program that needs monitoring that high in the clouds need to be monitored have been combined in the list of described standard oracle listener, for example, the application program that the list of user's oracle listener need to be monitored is A, B, and the program that high in the clouds monitoring list need to be monitored is C, D, and standard monitoring list is the file that A, B, C, D and each program thereof need to be encrypted; The application program that the list of user's oracle listener need to be monitored is A, B, D, and the program that high in the clouds monitoring list need to be monitored is C, D, and standard monitoring list is the file that A, B, C, D and each program thereof need to be encrypted.
In S202, monitor the application program of current operation;
In S203, if when the application program of current operation belongs to the list of standard oracle listener, scan file storage directory corresponding to described application program, obtain the file of new generation in described current application program operational process and the file changing, described standard oracle listener list storage application information to be monitored;
In the present embodiment, file storage directory corresponding to described application program comprises installation file storage directory and associated documents storage directory, described installation file storage directory and described associated documents storage directory can be under identical file directorys, also can be under different file directorys.
In the present embodiment, in application program operational process, may produce the new file different from source document, also some file changing in program operation process, can judge that described file is the new file producing by the cryptographic hash of file (hash), and the file changing.
In S204, in the time that the file of described new generation and the file that changes belong to encrypt file type corresponding to default described current application program, judge the file of described new generation and the file that changes is privacy file.
In the present embodiment, preset encrypt file type corresponding to each application program, in the time of the file of new generation or encrypt file type corresponding to the default described current application program of file that changes, this file is privacy file.
Preferably, S204 can adopt following form to realize:
In the time that the file of described new generation and file type corresponding to file that change belong to encrypt file type corresponding to the described current application program of described standard oracle listener list storage, the file of judging the file of described new generation and change is privacy file, wherein, encrypt file type corresponding to each application program to be encrypted also stored in the list of described standard oracle listener.
In S205, in the time that the file producing in described current application program operational process is privacy file, carry out real-time encrypted to described privacy file.
For the ease of understanding, with a concrete realization example, the privacy file encryption process of the present embodiment is described below, but be not limited with the situation of the present embodiment: for example, tentative standard oracle listener list storage micro-letter, and the encrypt file type that micro-letter is corresponding is audio frequency, picture, video, in the time having started application program encryption function, and when the application program that monitors terminal device local runtime is micro-letter, monitor the file producing in micro-letter operational process, in the time judging that the file producing is audio frequency, this file is the privacy file that needs encryption, now, calling encipheror is encrypted this audio file, be voice-enabled chat information and the photo of sending and receiving in micro-letter operational process, the privacy files such as video, all can be by real-time encrypted, when described file is not audio frequency, when picture or video, described file is not encrypted.
In the present embodiment, the operation of monitoring current application program, if when the application program of current operation belongs to the list of standard oracle listener, scan file storage directory corresponding to described application program, obtain the file of new generation in described current application program operational process and the file changing, in the time that the file of described new generation and the file that changes belong to encrypt file type corresponding to default described current application program, the file of judging the file of described new generation and change is privacy file, carries out real-time encrypted to described privacy file.Just can be encrypted privacy file without the manual encryption of user, ciphering process is simple, convenient, and because the privacy file of real-time application programs operation generation is encrypted, therefore, can avoid owing to forgetting that encrypting the privacy file causing reveals.
embodiment tri-
The structural drawing of the privacy document encrypting apparatus that when Fig. 3, the embodiment of the present invention three provides, for convenience of explanation, only show the part relevant to the embodiment of the present invention, this device can be software unit, hardware cell or the soft or hard combining unit being built in terminal device.
Described device comprises: monitoring means 31, judging unit 32 and ciphering unit 33.
Monitoring means 31, for monitoring the application program of current operation;
Judging unit 32, if while belonging to the list of standard oracle listener for described application program, judges whether the file producing in described current application program operational process is privacy file, described standard oracle listener list storage application information to be monitored;
Ciphering unit 33, while being privacy file, carries out real-time encrypted to described privacy file for the file producing when described current application program operational process.
The privacy document encrypting apparatus that the embodiment of the present invention provides can use in the embodiment of the method one of aforementioned correspondence, and details, referring to the description of above-described embodiment one, do not repeat them here.
embodiment tetra-
The structural drawing of the privacy document encrypting apparatus that when Fig. 4, the embodiment of the present invention four provides, for convenience of explanation, only show the part relevant to the embodiment of the present invention, this device can be software unit, hardware cell or the soft or hard combining unit being built in terminal device.
Described device comprises: generation unit 41, monitoring means 42, judging unit 43 and ciphering unit 44.
The difference of the present embodiment and embodiment tri-is:
Optionally, described judging unit 43 comprises: acquisition module 431 and determination module 432.
File acquisition module 431, for scanning file storage directory corresponding to described application program, obtains the file of new generation in described current application program operational process and the file changing;
Determination module 432, when belong to encrypt file type corresponding to default described current application program when the file of described new generation and the file that changes, judges the file of described new generation and the file that changes is privacy file.
Optionally, encrypt file type corresponding to each application program to be encrypted also stored in the list of described standard oracle listener; Described determination module 432, when belong to encrypt file type corresponding to the described current application program of described standard oracle listener list storage when the file of described new generation and file type corresponding to file that change, judge the file of described new generation and the file that changes is privacy file.
Optionally, described device also comprises: generation unit 41, and for generating the list of standard oracle listener.
Optionally, described generation unit 41, for generating the list of standard oracle listener according to encrypt file type corresponding to each application program of the application information to be encrypted of user's selection and setting.
Optionally, described generation unit 41, generates the list of standard oracle listener for encrypt file type corresponding to each application program of monitoring the application information to be encrypted that obtains and analysis according to high in the clouds.
Optionally, described generation unit 41 comprises: acquisition module 411 and composite module 412.
List acquisition module 411, be used for obtaining the list of user's oracle listener and high in the clouds oracle listener list, application information to be encrypted and encrypt file type corresponding to each application program that described user's oracle listener list storage user arranges, the various application informations that oracle listener list storage high in the clouds, described high in the clouds obtains and encrypt file type corresponding to each application program;
Composite module 412, for the list of described user's oracle listener and high in the clouds oracle listener list are combined, generates the list of standard oracle listener.
The privacy document encrypting apparatus that the embodiment of the present invention provides can use in the embodiment of the method two of aforementioned correspondence, and details, referring to the description of above-described embodiment two, do not repeat them here.
It should be noted that in above-described embodiment, included unit is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional unit also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that all or part of step realizing in the various embodiments described above method is can carry out the hardware that instruction is relevant by program to complete, corresponding program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (14)

CN201310303610.4A2013-07-182013-07-18A kind of private file encryption method and deviceActiveCN104134042B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310303610.4ACN104134042B (en)2013-07-182013-07-18A kind of private file encryption method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310303610.4ACN104134042B (en)2013-07-182013-07-18A kind of private file encryption method and device

Publications (2)

Publication NumberPublication Date
CN104134042Atrue CN104134042A (en)2014-11-05
CN104134042B CN104134042B (en)2016-01-06

Family

ID=51806717

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310303610.4AActiveCN104134042B (en)2013-07-182013-07-18A kind of private file encryption method and device

Country Status (1)

CountryLink
CN (1)CN104134042B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104504309A (en)*2015-01-092015-04-08宇龙计算机通信科技(深圳)有限公司Data encryption method and terminal for application program
CN105701413A (en)*2015-12-292016-06-22宇龙计算机通信科技(深圳)有限公司Method and apparatus for protecting personal key information by intelligent device
CN106203141A (en)*2016-07-152016-12-07宇龙计算机通信科技(深圳)有限公司The data processing method of a kind of application and device
CN106778337A (en)*2016-11-302017-05-31广东欧珀移动通信有限公司Document protection method, device and terminal
CN109558749A (en)*2018-11-282019-04-02Oppo广东移动通信有限公司A kind of storage method of data, terminal and computer storage medium
WO2020103059A1 (en)*2018-11-212020-05-28深圳市欢太科技有限公司Data processing method and apparatus, electronic device and storage medium
CN111556199A (en)*2020-04-262020-08-18上海掌门科技有限公司 A method and device for presenting background in social application
CN119906585A (en)*2025-03-312025-04-29北京国都互联科技有限公司 Data security transmission method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101295341A (en)*2008-06-252008-10-29腾讯科技(深圳)有限公司Portable equipment and data protection method thereof
CN102334124A (en)*2011-08-152012-01-25华为终端有限公司File protection method and device
EP2544117A1 (en)*2011-07-082013-01-09Gemalto SAMethod and system for sharing or storing personal data without loss of privacy
CN103077357A (en)*2013-01-182013-05-01浙江长天信息技术有限公司Method for storing private files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101295341A (en)*2008-06-252008-10-29腾讯科技(深圳)有限公司Portable equipment and data protection method thereof
EP2544117A1 (en)*2011-07-082013-01-09Gemalto SAMethod and system for sharing or storing personal data without loss of privacy
CN102334124A (en)*2011-08-152012-01-25华为终端有限公司File protection method and device
CN103077357A (en)*2013-01-182013-05-01浙江长天信息技术有限公司Method for storing private files

Cited By (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104504309A (en)*2015-01-092015-04-08宇龙计算机通信科技(深圳)有限公司Data encryption method and terminal for application program
CN105701413A (en)*2015-12-292016-06-22宇龙计算机通信科技(深圳)有限公司Method and apparatus for protecting personal key information by intelligent device
CN106203141A (en)*2016-07-152016-12-07宇龙计算机通信科技(深圳)有限公司The data processing method of a kind of application and device
CN106778337A (en)*2016-11-302017-05-31广东欧珀移动通信有限公司Document protection method, device and terminal
CN106778337B (en)*2016-11-302019-12-03Oppo广东移动通信有限公司 File protection method, device and terminal
WO2020103059A1 (en)*2018-11-212020-05-28深圳市欢太科技有限公司Data processing method and apparatus, electronic device and storage medium
CN112823349A (en)*2018-11-212021-05-18深圳市欢太科技有限公司Data processing method, data processing device, electronic equipment and storage medium
CN109558749A (en)*2018-11-282019-04-02Oppo广东移动通信有限公司A kind of storage method of data, terminal and computer storage medium
CN111556199A (en)*2020-04-262020-08-18上海掌门科技有限公司 A method and device for presenting background in social application
CN111556199B (en)*2020-04-262021-04-13上海掌门科技有限公司Method and equipment for presenting background in social application
CN119906585A (en)*2025-03-312025-04-29北京国都互联科技有限公司 Data security transmission method and system

Also Published As

Publication numberPublication date
CN104134042B (en)2016-01-06

Similar Documents

PublicationPublication DateTitle
CN104134042B (en)A kind of private file encryption method and device
US20230259276A1 (en)Dynamic group membership for devices
US20250036784A1 (en)Computer method for entry of plural input modalities onto a secure disclosure blockchain
US20170279720A1 (en)Real-Time Logs
WO2017036190A1 (en)Data access method based on cloud computing platform, and user terminal
CN113301431A (en)Video data encryption and decryption method and device, electronic equipment and system
CN105635131A (en)Data transmission method and device and server
US11670303B2 (en)Staged user enrollment using audio devices
WO2018001065A1 (en)Method, device and system for managing application
CN107066346A (en)A kind of data back up method, data reconstruction method and device
CN103246510A (en)Method and device for system replication and restoration
CN101350712B (en)Data management method and terminal
WO2023152576A1 (en)Client-side encryption of content for virtual meetings
CN108390753A (en)A kind of application program account logon method and system based on the retrieval of ciphertext Hash
CN105099869B (en)Message transmission device and method with multiple organization structures
WO2020171846A1 (en)Computer method for entry of plural input modalities onto a secure disclosure blockchain
US20170213042A1 (en)Data encryption method and encryption apparatus
CN110011807A (en)A kind of key message maintaining method and system
CN112463429A (en)Information processing method and device
US20250119595A1 (en)Device control method, system and apparatus, server, and medium
CN109660604B (en)Data access method and equipment
CN115130128A (en)Parameter configuration method and device based on multiple systems
HK40058626A (en)Video data encryption and decryption method and device, electronic equipment and system
CN116112567A (en) Cloud service access method, device and storage medium
CN117939443A (en)Information interaction method and device, recording and playing equipment and storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp