CN102883268B - Method and device for encrypting photos - Google Patents

Method and device for encrypting photos Download PDF

Info

Publication number
CN102883268B
CN102883268B CN201210380319.2A CN201210380319A CN102883268B CN 102883268 B CN102883268 B CN 102883268B CN 201210380319 A CN201210380319 A CN 201210380319A CN 102883268 B CN102883268 B CN 102883268B
Authority
CN
China
Prior art keywords
photo
current location
data
location data
terminal
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
CN201210380319.2A
Other languages
Chinese (zh)
Other versions
CN102883268A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201210380319.2A priority Critical patent/CN102883268B/en
Publication of CN102883268A publication Critical patent/CN102883268A/en
Application granted granted Critical
Publication of CN102883268B publication Critical patent/CN102883268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method and a device for encrypting photos, relates to the technical field of electronics, and can improve the security of the photos, protect the privacy of users and improve the user experience. According to the scheme provided by the embodiment of the invention, the current position data of the terminal is obtained; and acquiring real-time data of the photographed object, and coding the real-time data of the photographed object according to the current position data to generate an encrypted photo. The scheme provided by the embodiment of the invention is suitable for being adopted when the photo is encrypted.

Description

A kind of method of comparison film encryption and device
Technical field
The present invention relates to electronic technology field, particularly relate to method and the device of the encryption of a kind of comparison film.
Background technology
At present, when being encrypted the photo of shooting, usually adopt third party's encryption software, user is encrypted according to the Crypted password comparison film oneself arranged.When browsing the photo of encryption, the Crypted password comparison film according to arranging is decoded, and can open photo.
But, when adopting prior art comparison film to be encrypted, cracking of malice can not be stoped, may cause leaking privacy of user, reduce Consumer's Experience.
Summary of the invention
A kind of method that embodiments of the invention provide comparison film to encrypt and device, can improve the secrecy of photo, and protection privacy of user, improves Consumer's Experience.
Embodiments of the invention adopt following technical scheme:
A method for comparison film encryption, comprising:
Obtain the current location data of terminal;
Obtain the real time data of photo-object, and according to described current location data, coded treatment is carried out to the real time data of described photo-object, generate encryption photo.
A device for comparison film encryption, comprising:
Position data acquiring unit, for obtaining the current location data of terminal;
Photographing unit, for obtaining the real time data of photo-object, and carries out coded treatment according to described current location data to the real time data of described photo-object, generates encryption photo.
A kind of method that the embodiment of the present invention provides comparison film to encrypt and device, by obtaining the current location data of terminal; Obtain the real time data of photo-object, and according to described current location data, coded treatment is carried out to the real time data of described photo-object, generate encryption photo.With prior art when middle comparison film is encrypted; cracking of malice can not be stoped; may cause leaking privacy of user; reduce Consumer's Experience to compare; the embodiment of the present invention by encrypting according to terminal present position data comparison film, and could decipher photo in terminal present position, can improve the secrecy of photo; protection privacy of user, improves Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart of the method for a kind of comparison film encryption that Fig. 1 provides for the embodiment of the present invention 1;
The flow chart of the method for the another kind of comparison film encryption that Fig. 2 provides for the embodiment of the present invention 1;
The block diagram of the device of a kind of comparison film encryption that Fig. 3 provides for the embodiment of the present invention 2;
The block diagram of the device of the another kind of comparison film encryption that Fig. 4 provides for the embodiment of the present invention 2.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1
A kind of method that the embodiment of the present invention provides comparison film to encrypt, the executive agent of the method is terminal, and described terminal can be the terminals such as camera, mobile phone or computer, and as shown in Figure 1, the method comprises:
Step 101, obtains the current location data of terminal;
This step, obtains the current location data of terminal according to GPS (GlobalPositioningSystem, global positioning system) or AGPS (AssistedGlobalPositioningSystem, agps system).Wherein, GPS or AGPS is terminal built-in module.Utilize GPS position location satellite, position in real time in the world, navigate; AGPS is a kind of operational mode of GPS, and it can utilize network base station information, coordinates traditional gps satellite, positions terminal, accelerates locating speed.
Described current location data comprises the geographical coordinate of described terminal, i.e. the longitude and latitude of the current present position of terminal, and physical height.After obtaining terminal current location data, current location data is kept in the built-in chip of terminal, is not presented on the screen of terminal.When current location data is preserved, directly current location data can be preserved, preserve after also current location data can being expanded as a position range, like this can so that user oneself browses photo.
Step 102, obtains the real time data of photo-object, and carries out coded treatment according to described current location data to the real time data of described photo-object, generates encryption photo.
When user wants to browse photo, resolve encryption photo and obtain the enciphered data comprised in described photo; Obtain the current location data of terminal; When described current location data is identical with described enciphered data, then decoding process is carried out to described encryption photo, and draw the content of described encryption photo; When described current location data and described enciphered data are not identical, then described encryption photo is not decoded and drawing modification, process ends.
A kind of method that the embodiment of the present invention provides comparison film to encrypt, by obtaining the current location data of terminal; Obtain the real time data of photo-object, and according to described current location data, coded treatment is carried out to the real time data of described photo-object, generate encryption photo.With prior art when middle comparison film is encrypted; cracking of malice can not be stoped; may cause leaking privacy of user; reduce Consumer's Experience to compare; the embodiment of the present invention by encrypting according to terminal present position data comparison film, and could decipher photo in terminal present position, can improve the secrecy of photo; protection privacy of user, improves Consumer's Experience.
A kind of method that the embodiment of the present invention provides comparison film to encrypt, the executive agent of the method is terminal, and described terminal can be the terminals such as camera, mobile phone or computer, and as shown in Figure 2, the method comprises:
Step 201, obtains the current location data of terminal;
This step, according to the current location data of GPS or AGPS Real-time Obtaining terminal.Wherein, GPS or AGPS is terminal built-in module.Utilize GPS position location satellite, position in real time in the world, navigate; AGPS is a kind of operational mode of GPS, and it can utilize network base station information, coordinates traditional gps satellite, positions terminal, accelerates locating speed.
Described current location data comprises the geographical coordinate of described terminal, i.e. the longitude and latitude of the current present position of terminal, and physical height.After obtaining terminal current location data, current location data is kept in the built-in chip of terminal, is not presented on the screen of terminal.When current location data is preserved, directly current location data can be preserved, preserve after also current location data can being expanded as a position range, like this can so that user oneself browses photo.
Step 202, obtains the real time data of photo-object, and carries out coded treatment according to described current location data to the real time data of described photo-object, generates encryption photo;
This step can adopt the camera of terminal band to take pictures, and obtains the real time data of photo-object.It should be noted that, the present invention does not limit the encryption algorithm of employing when carrying out coded treatment.
Step 203, when user wants to browse encryption photo, resolves encryption photo and obtains the enciphered data comprised in described photo;
It is the terminal current location data that comparison film is encrypted employing when taking pictures that this step resolves the enciphered data that encryption photo obtains.
Step 204, obtains the current location data of terminal;
This step is identical with step 201, does not repeat one by one at this.
Step 205, judges that whether described current location data is identical with described enciphered data;
Step 206, when described current location data and described enciphered data are not identical, does not then decode and drawing modification to described encryption photo, process ends;
Step 207, when described current location data is identical with described enciphered data, then carry out decoding process to described encryption photo, and draw the content of described encryption photo, now user can browse the photo of shooting, terminates current handling process.
The method of a kind of comparison film encryption that the embodiment of the present invention provides; be encrypted by the terminal current location data comparison film data of Real-time Obtaining; when photo is not opened in specific position; then photo content can not be browsed; the secrecy of photo can be improved; protection privacy of user, improves Consumer's Experience.
Embodiment 2
The device that the embodiment of the present invention provides a kind of comparison film to encrypt, this device can be terminal, and described terminal can be the terminals such as camera, mobile phone or computer, and as shown in Figure 3, this device comprises: position data acquiring unit 301, photographing unit 302;
Position data acquiring unit 301, for obtaining the current location data of terminal;
Described position data acquiring unit is global position system GPS, or agps system AGPS.Wherein, GPS or AGPS is terminal built-in module.Wherein said current location data comprises geographical coordinate and the physical height of described terminal.The geographical coordinate of terminal is the longitude and latitude of the current present position of terminal.
Photographing unit 302, for obtaining the real time data of photo-object, and carries out coded treatment according to described current location data to the real time data of described photo-object, generates encryption photo;
Further, as shown in Figure 4, when user wants to browse photo, described device also comprises resolution unit 303, browse unit 304;
Described resolution unit 303, obtains for resolving encryption photo the enciphered data comprised in described photo; , to resolve the enciphered data that encryption photo obtains be the terminal current location data that comparison film is encrypted employing when taking pictures to this step.
Described position data acquiring unit 301, for obtaining the current location data of terminal;
Described device also comprises: browse unit 304, for when described current location data is identical with described enciphered data, then carries out decoding process to described encryption photo, and draws the content of described encryption photo.
Described browse unit 304 also for: when described current location data and described enciphered data are not identical, then described encryption photo is not decoded and drawing modification, process ends.
The device that the embodiment of the present invention provides a kind of comparison film to encrypt, obtains the current location data of terminal by position data acquiring unit; Photographing unit obtains the real time data of photo-object; and according to described current location data, coded treatment is carried out to the real time data of described photo-object; generate encryption photo; when making to browse photo; the current location data that need obtain terminal when taking pictures just can be drawn photo and browse; can improve the secrecy of photo, protection privacy of user, improves Consumer's Experience.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (8)

1. a method for comparison film encryption, is characterized in that, comprising:
Obtain the current location data of terminal;
Obtain the real time data of photo-object, and according to described current location data, coded treatment is carried out to the real time data of described photo-object, generate encryption photo;
Resolve described encryption photo and obtain the enciphered data comprised in described photo, described enciphered data is the current location data that comparison film is encrypted the described terminal of employing when taking pictures;
Obtain the current location data of described terminal;
When described current location data is identical with described enciphered data, then decoding process is carried out to described encryption photo, and draw the content of described encryption photo.
2. method according to claim 1, is characterized in that, the current location data of described acquisition terminal comprises:
The current location data of terminal is obtained according to global position system GPS or agps system AGPS.
3. method according to claim 1, is characterized in that,
When described current location data and described enciphered data are not identical, then described encryption photo is not decoded and drawing modification, process ends.
4. the method according to any one of claim 1-3, is characterized in that, described current location data comprises geographical coordinate and the physical height of described terminal.
5. a device for comparison film encryption, is characterized in that, comprising:
Position data acquiring unit, for obtaining the current location data of terminal;
Photographing unit, for obtaining the real time data of photo-object, and carries out coded treatment according to described current location data to the real time data of described photo-object, generates encryption photo;
Resolution unit, obtains for resolving described encryption photo the enciphered data comprised in described photo, and described enciphered data is the current location data that comparison film is encrypted the described terminal of employing when taking pictures;
Described position data acquiring unit, also for obtaining the current location data of terminal;
Browse unit, for when described current location data is identical with described enciphered data, then carries out decoding process to described encryption photo, and draws the content of described encryption photo.
6. device according to claim 5, is characterized in that, described position data acquiring unit is global position system GPS, or agps system AGPS.
7. device according to claim 5, is characterized in that, described browse unit also for:
When described current location data and described enciphered data are not identical, then described encryption photo is not decoded and drawing modification, process ends.
8. the device according to any one of claim 5-7, is characterized in that, described current location data comprises geographical coordinate and the physical height of described terminal.
CN201210380319.2A 2012-09-29 2012-09-29 Method and device for encrypting photos Active CN102883268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210380319.2A CN102883268B (en) 2012-09-29 2012-09-29 Method and device for encrypting photos

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210380319.2A CN102883268B (en) 2012-09-29 2012-09-29 Method and device for encrypting photos

Publications (2)

Publication Number Publication Date
CN102883268A CN102883268A (en) 2013-01-16
CN102883268B true CN102883268B (en) 2015-12-16

Family

ID=47484373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210380319.2A Active CN102883268B (en) 2012-09-29 2012-09-29 Method and device for encrypting photos

Country Status (1)

Country Link
CN (1) CN102883268B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778416B (en) * 2015-03-04 2018-03-27 广东欧珀移动通信有限公司 A kind of information concealing method and terminal
CN105279443A (en) * 2015-11-30 2016-01-27 东莞酷派软件技术有限公司 Picture encrypting and decrypting methods and devices
CN105893449A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Batch processing method and device for pictures
CN106131306A (en) * 2016-06-17 2016-11-16 青岛海信移动通信技术股份有限公司 The device of a kind of method that photo is real-time encrypted
CN106846233A (en) * 2017-01-20 2017-06-13 宇龙计算机通信科技(深圳)有限公司 A kind of photo encryption method and encryption device
CN106991331A (en) * 2017-03-29 2017-07-28 维沃移动通信有限公司 A kind of data ciphering method and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359989A (en) * 2008-09-03 2009-02-04 深圳华为通信技术有限公司 Method, apparatus and mobile communication terminal generating safe digital photograph
CN101469996A (en) * 2007-12-29 2009-07-01 厦门雅迅网络股份有限公司 GPS vehicle-mounted terminal system with high-capacity image saving management and transmission function
CN102665039A (en) * 2012-05-17 2012-09-12 北京工业大学 Digital camera and operating method of camera by using cloud computing platform
KR20130094616A (en) * 2012-02-16 2013-08-26 엘지전자 주식회사 Mobile terminal and camera operation control method using the mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101469996A (en) * 2007-12-29 2009-07-01 厦门雅迅网络股份有限公司 GPS vehicle-mounted terminal system with high-capacity image saving management and transmission function
CN101359989A (en) * 2008-09-03 2009-02-04 深圳华为通信技术有限公司 Method, apparatus and mobile communication terminal generating safe digital photograph
KR20130094616A (en) * 2012-02-16 2013-08-26 엘지전자 주식회사 Mobile terminal and camera operation control method using the mobile terminal
CN102665039A (en) * 2012-05-17 2012-09-12 北京工业大学 Digital camera and operating method of camera by using cloud computing platform

Also Published As

Publication number Publication date
CN102883268A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
CN102883268B (en) Method and device for encrypting photos
KR101788598B1 (en) Mobile terminal and information security setting method thereof
US9235711B1 (en) Systems, methods and devices for providing visual privacy to messages
CN104239805B (en) A kind of anti-theft method of mobile phone and device
CN112287372B (en) Method and apparatus for protecting clipboard privacy
KR20170057321A (en) Security control method for user in social network, social application device and terminal
CN103685939B (en) The method that when taking pictures, photo is added a cover watermark
CN103532960B (en) Decrypt device
CN105678114B (en) A kind of method for previewing and device of photo
CN103369456B (en) Mobile phone antitheft system and method thereof
CN106453056A (en) Mobile terminal and method for safely sharing picture
CN103107887A (en) Method and device for controlling files based on position information
CN105447404A (en) Method and system for protecting image privacy in cloud storage
CN103077357A (en) Method for storing private files
CN105025102A (en) Network storage and calling method and storage system of 3D printing model file
CN104219300B (en) The sharing method and system of coordinate transformation parameter
CN104796531A (en) Method and system for protecting information privacy
CN104598782A (en) Data packaging and analysis method and device
CN105574453B (en) Two-dimensional code processing method and mobile terminal
US20150156173A1 (en) Communication system utilizing fingerprint information and use thereof
CN101572791A (en) Image encryption system and method
CN106570424A (en) Shooting file security management device and method, and terminal
CN106373079A (en) Android photo position and time digital watermark embedding and extraction method
CN104902163B (en) Image processing method and device, Picture Generation Method and device
CN106358182A (en) Communication method and communication equipment

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