CN104182698B - A kind of data clearing method and electronic equipment - Google Patents
A kind of data clearing method and electronic equipment Download PDFInfo
- Publication number
- CN104182698B CN104182698B CN201410405851.4A CN201410405851A CN104182698B CN 104182698 B CN104182698 B CN 104182698B CN 201410405851 A CN201410405851 A CN 201410405851A CN 104182698 B CN104182698 B CN 104182698B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- data
- instruction code
- communication information
- application program
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
- G06F21/6263—Protecting personal data, e.g. for financial or medical purposes during internet communication, e.g. revealing personal data from cookies
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Telephone Function (AREA)
- Storage Device Security (AREA)
Abstract
The present invention discloses a kind of data clearing method and electronic equipment.Methods described includes:Obtain the communication information that second electronic equipment is sent by first application program;The instruction code included in the communication information is identified, the instruction code is used to indicate that first electronic equipment removes specified data;Identify the document alignment mark included in the instruction code;In the data that second electronic equipment being had been received by from first electronic equipment is sent, it is determined that corresponding with document alignment mark specify data;Remove the specified data.Using the method or electronic equipment of the present invention, can be purged by transmitting terminal for being already sent to the information of receiving terminal, so as to reduce the compromised risk of privacy of user.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of data clearing method and electronic equipment.
Background technology
Currently, the network communications technology is more and more flourishing, and the communication carried out by network has been penetrated into daily life
Each corner.
In the prior art, the communication carried out by network, can transmit various types of information such as word, picture.Especially
In the application scenarios of some instant messagings, the frequency of the two-sided information of communication interaction is often than very fast, it is not intended in may
The content of some comparison privacies is sent to other side.
For example, when user A and user B carries out instant messaging, user A have sent a photo to user B.Photo supernatant
User A head portrait is shown clearly, the account information that user A bank card in background also faintly be present.User A original idea is only
It is intended to allow user B to see the head portrait of oneself, but after photo is sent, user A just recognizes to can also be seen that in photo
The bank card account number information of oneself.Compare the content of privacy because bank card account number information belongs to, so user A is to be not intended to use
Family B sees.
In the prior art, in communication process, once information is transmitted, the information will be shown in receiving terminal,
It can not avoid.
The content of the invention
, can be by transmitting terminal for having sent out it is an object of the invention to provide a kind of data clearing method and electronic equipment
The information for being sent to receiving terminal is purged, so as to reduce the compromised risk of privacy of user.
To achieve the above object, the invention provides following scheme:
A kind of data clearing method, methods described are applied to the first electronic equipment, first electronic equipment and the second electricity
Sub- equipment is communicated by the first application program, and methods described includes:
Obtain the communication information that second electronic equipment is sent by first application program;
The instruction code included in the communication information is identified, the instruction code is used to indicate first electronic equipment
Remove and specify data;
Identify the document alignment mark included in the instruction code;
In the data that second electronic equipment that is had been received by from first electronic equipment is sent, it is determined that with it is described
Data are specified corresponding to document alignment mark;
Remove the specified data.
Optionally, the communication information for obtaining second electronic equipment and being sent by first application program, tool
Body includes:
Obtain what second electronic equipment was sent by first application program, with including for text formatting encapsulation
The text of the instruction code;
And/or obtain what second electronic equipment was sent by first application program, with picture format encapsulation
Include the picture of the instruction code.
Optionally, the communication information for obtaining second electronic equipment and being sent by first application program, tool
Body includes:
Obtain the communication for the key encryption of process first that second electronic equipment is sent by first application program
Information;
Before the instruction code included in the identification communication information, in addition to:
It is determined that first key corresponding with first secret key;
The communication information is decrypted using the first key;
The instruction code included in the identification communication information, is specifically included:
From the communication information after decryption, the instruction code is identified.
Optionally, it is described to remove the specified data, specifically include:
Remove the specified data shown on the screen of first electronic equipment.
Optionally, after the specified data shown on the screen for removing first electronic equipment, in addition to:
The second data are shown in the original display region of the specified data, second data are that second electronics is set
What preparation was sent, send data of the time after the specified data.
A kind of data clearing method, methods described are applied to the second electronic equipment, second electronic equipment and the first electricity
Communicated between sub- equipment by the first application program, methods described includes:
Second electronic equipment sends the first data by first application program to first electronic equipment;
Obtain the data-cleaning operation of user's input;
Based on the data-cleaning operation, generate for indicating that first electronic equipment removes the finger of first data
Make code;
The communication information that the instruction code is encapsulated as sending by first application program;
It is encrypted using the communication information described in the first secret key pair;First secret key is used for first electronic equipment
The first key that the communication information is decrypted matches;
The communication information after encryption is sent to first electronic equipment.
Optionally, the communication information that the instruction code is encapsulated as sending by first application program, tool
Body includes:
The instruction code is packaged into default text;
Or the instruction code is packaged into default picture.
A kind of electronic equipment, the electronic equipment are the first electronic equipment, and first electronic equipment is set with the second electronics
Standby to be communicated by the first application program, first electronic equipment includes:
Communication information acquiring unit, led to for obtaining second electronic equipment by what first application program was sent
Letter information;
Instruction code recognition unit, for identifying the instruction code included in the communication information, the instruction code is used
Data are specified in indicating that first electronic equipment is removed;
Document alignment identifies recognition unit, for identifying the document alignment included in the instruction code mark;
Data determination unit is specified, for second electronic equipment hair being had been received by from first electronic equipment
In the data sent, it is determined that corresponding with document alignment mark specify data;
Data dump unit is specified, for removing the specified data.
Optionally, the communication information acquiring unit, is specifically included:
Text obtains subelement, is sent by first application program for obtaining second electronic equipment, with
The text for including the instruction code of text formatting encapsulation;
And/or picture obtains subelement, is sent for obtaining second electronic equipment by first application program
, the picture for including the instruction code encapsulated with picture format.
Optionally, the communication information acquiring unit, is specifically included:
First communication information obtains subelement, is sent out for obtaining second electronic equipment by first application program
The communication information of the key encryption of process first sent;
First electronic equipment also includes:
First key determining unit, for before the instruction code included in identifying the communication information, it is determined that and institute
State first key corresponding to the first secret key;
Decryption unit, for the communication information to be decrypted using the first key;
The instruction code recognition unit, is specifically included:
Instruction code identifies subelement, for from the communication information after decryption, identifying the instruction code.
Optionally, the specified data dump unit, is specifically included:
Remove the specified data shown on the screen of first electronic equipment.
Optionally, in addition to:
Second data display unit, for the specified data shown on the screen for removing first electronic equipment
Afterwards, the second data are shown in the original display region of the specified data, second data are second electronic equipment
Send, send data of the time after the specified data.
A kind of electronic equipment, the electronic equipment are the second electronic equipment, and second electronic equipment is set with the first electronics
Communicated between standby by the first application program, second electronic equipment includes:
First data transmission unit, for sending the first number to first electronic equipment by first application program
According to;
Data-cleaning operation acquiring unit, for obtaining the data-cleaning operation of user's input;
Instruction code generation unit, for based on the data-cleaning operation, generating for indicating that first electronics is set
The standby instruction code for removing first data;
Instruction code encapsulation unit, for the instruction code to be encapsulated as leading to by what first application program was sent
Letter information;
Ciphering unit, for being encrypted using the communication information described in the first secret key pair;First secret key and described the
The first key that one electronic equipment is used to the communication information be decrypted matches;
Communication information transmitting element, for the communication information after encryption to be sent to first electronic equipment.
Optionally, the instruction code encapsulation unit, is specifically included:
Text encapsulates subelement, for the instruction code to be packaged into default text;
Or picture encapsulation subelement, for the instruction code to be packaged into default picture.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
The data clearing method and electronic equipment of the present invention, by identifying the instruction code included in the communication information,
The document alignment mark included in the instruction code is identified, second electricity being had been received by from first electronic equipment
In the data that sub- equipment is sent, it is determined that corresponding with document alignment mark specify data;The specified data are removed, can be with
During the first electronic equipment is communicated with the second electronic equipment by the first application program, pass through the second electronic equipment
The communication information of transmission, the second electronic equipment is sent to the data dump of first electronic equipment, i.e., can pass through transmission
End is purged for being already sent to the information of receiving terminal, so as to reduce the compromised risk of privacy of user.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the flow chart of the screen luminance adjustment method embodiment 1 based on environment light detecting sensors of the present invention;
Fig. 2 is the flow chart of the data clearing method embodiment 2 of the present invention;
Fig. 3 is the flow chart of the data clearing method embodiment 3 of the present invention;
Fig. 4 is the flow chart of the data clearing method embodiment 4 of the present invention;
Fig. 5 is the flow chart of another data clearing method embodiment of the present invention;
Fig. 6 is the structure chart of the first electronic equipment embodiment of the present invention;
Fig. 7 is the structure chart of the second electronic equipment embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made
Embodiment, belong to the scope of protection of the invention.
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is further detailed explanation.
The data clearing method of the embodiment of the present invention, applied to the first electronic equipment.First electronic equipment can be
Mobile phone, desktop computer or tablet personal computer etc..First electronic equipment is led to the second electronic equipment by the first application program
Letter.Second electronic equipment can also be mobile phone, desktop computer or tablet personal computer etc..First electronic equipment and described the
Two electronic equipments can be installed and run first application program.First application program can be that instant messaging is soft
Part.
Fig. 1 is the flow chart of the data clearing method embodiment 1 of the present invention.As shown in figure 1, this method can include:
Step 101:Obtain the communication information that second electronic equipment is sent by first application program;
The communication information can be that first electronic equipment and the second electronic equipment pass through first application program
During carrying out instant messaging, sent by second electronic equipment to the communication information of first electronic equipment.It is described
The communication information can be encapsulated as the form of picture or word.
Step 102:The instruction code included in the communication information is identified, the instruction code is used to indicate described first
Electronic equipment, which is removed, specifies data;
The instruction code can be set, so as to the instruction code according to the operating system of first electronic equipment
It can be identified by first electronic equipment.The instruction code can also be as defined in first application program, by institute
State the first electronic equipment and be mounted on first application program with second electronic equipment.So described first can be passed through
First the instruction code is identified for application program, and after the instruction code is identified, reconvert is into first electronics
The instruction that the operating system of equipment is supported.
The specified data, refer in communication process, are sent to first electronics and set by second electronic equipment
Standby data.The specified data, can be specifically the picture sent in chat process, text or other kinds of file.
Step 103:Identify the document alignment mark included in the instruction code;
The document alignment mark, can be mark or the expression of the file name for representing the specified data
The mark of the transmission time of the specified data.
Step 104:In the data that second electronic equipment being had been received by from first electronic equipment is sent, really
Fixed specified data corresponding with document alignment mark;
Identified according to the document alignment, the specified data can be navigated to.
Step 105:Remove the specified data.
After the specified data are removed from first electronic equipment, first electronic equipment would not show institute again
State specified data.
In summary, in the present embodiment, by identifying the instruction code included in the communication information, the instruction is identified
The document alignment mark included in code, what second electronic equipment being had been received by from first electronic equipment was sent
In data, it is determined that corresponding with document alignment mark specify data;The specified data are removed, can be set in the first electronics
It is standby communicated with the second electronic equipment by the first application program during, pass through the second electronic equipment send communication believe
Breath, the second electronic equipment is sent to the data dump of first electronic equipment, i.e., can be by transmitting terminal for having sent out
The information for being sent to receiving terminal is purged, so as to reduce the compromised risk of privacy of user.
Fig. 2 is the flow chart of the data clearing method embodiment 2 of the present invention.As shown in Fig. 2 this method can include:
Step 201:Obtain what second electronic equipment was sent by first application program, encapsulated with text formatting
The text for including the instruction code;
In actual applications, second electronic equipment send comprising the instruction code the communication information when, in order to
Allow the user of the first electronic equipment to be not easy to discover the instruction code as far as possible, the instruction code can be packaged into the lattice of text
Formula.So the user of the first electronic equipment can be caused to just look at the text of setting, without viewing the instruction code.
That is, the instruction code is packaged into text formatting, the user that can cover up the second electronic equipment is wished described in removing
The intention of data is specified, so that the user of the first electronic equipment is not easy to realize second electronic equipment more and once sent
Some data belong to private data, and then can further improve the protection of the privacy of the user to the second electronic equipment.
The particular content of the text can be set according to demand.For example, the content of text can be set as
" heartily ".
Step 202:The instruction code included in the text is identified, the instruction code is used to indicate first electronics
Device clear specifies data;
Step 203:Identify the document alignment mark included in the instruction code;
The positioning mark can be second electronic equipment had been sent to by first application program it is described
The filename of some file of the first electronic equipment.
For example, it may be filename of the filename of some picture or some text document etc..
Step 204:In the data that second electronic equipment being had been received by from first electronic equipment is sent, really
Fixed specified data corresponding with document alignment mark;
According to the filename, the file can be found.
Step 205:Remove the specified data.
In the present embodiment, by the way that the instruction code is encapsulated as into text formatting, the use of the second electronic equipment can be covered up
Family wishes to remove the intention of the specified data, so that the user of the first electronic equipment is not easy to realize second electricity more
Some data that sub- equipment was once sent belong to private data, and then can further improve to the user's of the second electronic equipment
The protection of privacy.
Fig. 3 is the flow chart of the data clearing method embodiment 3 of the present invention.As shown in figure 3, this method can include:
Step 301:Obtain what second electronic equipment was sent by first application program, encapsulated with picture format
The picture for including the instruction code;
In actual applications, second electronic equipment send comprising the instruction code the communication information when, in order to
Allow the user of the first electronic equipment to be not easy to discover the instruction code as far as possible, the instruction code can be packaged into the lattice of picture
Formula.So the user of the first electronic equipment can be caused to just look at the picture of setting, without viewing the instruction code.
That is, the instruction code is packaged into picture format, the user that can cover up the second electronic equipment is wished described in removing
The intention of data is specified, so that the user of the first electronic equipment is not easy to realize second electronic equipment more and once sent
Some data belong to private data, and then can further improve the protection of the privacy of the user to the second electronic equipment.
The particular content of the picture can be set according to demand.For example, the image content can be set as
Smiling face.
Step 303:The instruction code included in the picture is identified, the instruction code is used to indicate first electronics
Device clear specifies data;
Step 303:Identify the document alignment mark included in the instruction code;
The positioning mark can be second electronic equipment had been sent to by first application program it is described
The transmission time of some file of the first electronic equipment.
For example, it may be file that file or 15: 02 distributions that 15: 01 distributions are sent are sent etc..
Step 304:In the data that second electronic equipment being had been received by from first electronic equipment is sent, really
Fixed specified data corresponding with document alignment mark;
According to the transmission time, the file can be found.
If it is worth noting that, sometime, the second electronic equipment have sent multiple files to the first electronic equipment,
It then in the positioning mark, can now add the file name of the file., can according to time of origin and file name
The data specified with navigating to.
Step 305:Remove the specified data.
In the present embodiment, by the way that the instruction code is encapsulated as into picture format, the use of the second electronic equipment can be covered up
Family wishes to remove the intention of the specified data, so that the user of the first electronic equipment is not easy to realize second electricity more
Some data that sub- equipment was once sent belong to private data, and then can further improve to the user's of the second electronic equipment
The protection of privacy.
Fig. 4 is the flow chart of the data clearing method embodiment 4 of the present invention.As shown in figure 4, this method can include:
Step 401:The secret key of process first that second electronic equipment is sent by first application program is obtained to add
The close communication information;
First secret key, can be the public key in RSA cryptographic algorithms of the prior art.
Step 402:It is determined that first key corresponding with first secret key;
The first key, can be the key in RSA cryptographic algorithms of the prior art.
Between first electronic equipment and second electronic equipment, a first key can be arranged.Described first
Between electronic equipment and other electronic equipment, other key can also be arranged.When it is determined that the communication information is described
After two electronic equipments are sent, it may be determined that need that the communication information is decrypted using the first key.
Step 403:The communication information is decrypted using the first key;
Step 404:From the communication information after decryption, the instruction code is identified, the instruction code is used to refer to
Show that first electronic equipment is removed and specify data;
Step 405:Identify the document alignment mark included in the instruction code;
Step 406:In the data that second electronic equipment being had been received by from first electronic equipment is sent, really
Fixed specified data corresponding with document alignment mark;
Step 407:Remove the specified data.
Because the communication information sent by the second electronic equipment removes the process of the data on the first electronic equipment, once
Maliciously cracked, after being grasped by malicious user, malicious user can utilizes the process, removes other on the first electronic equipment
Data, it is therefore desirable to improve the security of said process.
In the present embodiment, the process first that is sent by obtaining second electronic equipment by first application program
The communication information of key encryption, the communication information is decrypted using the first key;Can be to passing through the second electronics
The process that the communication information that equipment is sent removes the data on the first electronic equipment is encrypted, and improves the peace of data clearing method
Quan Xing.
It should also be noted that, in each embodiment of the present invention, it is described to remove the specified data, it can specifically include:
Remove the specified data shown on the screen of first electronic equipment.After the specified data are eliminated,
Script on the screen of first electronic equipment shows the region of the specified data, can show blank.
In order to further make the data being eliminated be not easy to be noticeable, show on the screen for removing first electronic equipment
After the specified data shown, the second data can also be shown in the original display region of the specified data, described second
Data are what second electronic equipment was sent, send data of the time after the specified data.In this way, may be used
So that the script on the screen of first electronic equipment shows the region of the specified data, blank is no longer shown.
The invention also discloses another data clearing method.Methods described is applied to the second foregoing electronic equipment, institute
State and communicated between the second electronic equipment and the first electronic equipment by the first application program.
Fig. 5 is the flow chart of another data clearing method embodiment of the present invention.As shown in figure 5, methods described can be with
Including:
Step 501:Second electronic equipment sends the by first application program to first electronic equipment
One data;
First data can be various types of data such as picture or text.
Step 502:Obtain the data-cleaning operation of user's input;
After first data are sent out, data dump can be shown on the display interface of second electronic equipment
Option of operation;Or the data-cleaning operation option can be triggered by the first data shown on long-press display interface
Display.
User can input the data-cleaning operation by clicking on the data-cleaning operation option.
Step 503:Based on the data-cleaning operation, generate for indicating that first electronic equipment removes described first
The instruction code of data;
Step 504:The communication information that the instruction code is encapsulated as sending by first application program;
Specifically, the instruction code can be packaged into default text;Or the instruction code is packaged into pre-
If picture.
Step 505:It is encrypted using the communication information described in the first secret key pair;First secret key and first electronics
The first key that equipment is used to the communication information be decrypted matches;
Step 506:The communication information after encryption is sent to first electronic equipment.
It is encrypted using the first secret key, the security of the data clearing method in the present embodiment can be improved, make other
User is not easy to crack.
In summary, in the present embodiment, by obtaining the data-cleaning operation of user's input, grasped based on the data dump
Make, generate for indicating that first electronic equipment removes the instruction code of first data, the instruction code is encapsulated
For the communication information sent by first application program;The communication information is sent to first electronic equipment;Can
To be purged by transmitting terminal for being already sent to the information of receiving terminal, so as to reduce the compromised risk of privacy of user.
The invention also discloses a kind of electronic equipment.The electronic equipment is the first electronic equipment, and first electronics is set
It is standby to be communicated with the second electronic equipment by the first application program.First electronic equipment can be mobile phone, desktop computer or
Tablet personal computer etc..Second electronic equipment can also be mobile phone, desktop computer or tablet personal computer etc..First electronic equipment
It can be installed with second electronic equipment and run first application program.First application program can be instant
Bitcom.
Fig. 6 is the structure chart of the first electronic equipment embodiment of the present invention.As shown in fig. 6, first electronic equipment can
With including:
Communication information acquiring unit 601, sent for obtaining second electronic equipment by first application program
The communication information;
The communication information can be that first electronic equipment and the second electronic equipment pass through first application program
During carrying out instant messaging, sent by second electronic equipment to the communication information of first electronic equipment.It is described
The communication information can be encapsulated as the form of picture or word.
Instruction code recognition unit 602, for identifying the instruction code included in the communication information, the instruction code
Data are specified for indicating that first electronic equipment is removed;
The instruction code can be set, so as to the instruction code according to the operating system of first electronic equipment
It can be identified by first electronic equipment.The instruction code can also be as defined in first application program, by institute
State the first electronic equipment and be mounted on first application program with second electronic equipment.So described first can be passed through
First the instruction code is identified for application program, and after the instruction code is identified, reconvert is into first electronics
The instruction that the operating system of equipment is supported.
The specified data, refer in communication process, are sent to first electronics and set by second electronic equipment
Standby data.The specified data, can be specifically the picture sent in chat process, text or other kinds of file.
Document alignment identifies recognition unit 603, for identifying the document alignment included in the instruction code mark;
The document alignment mark, can be mark or the expression of the file name for representing the specified data
The mark of the transmission time of the specified data.
Data determination unit 604 is specified, second electronics for being had been received by from first electronic equipment is set
In the data that preparation is sent, it is determined that corresponding with document alignment mark specify data;
Identified according to the document alignment, the specified data can be navigated to.
Data dump unit 605 is specified, for removing the specified data.
After the specified data are removed from first electronic equipment, first electronic equipment would not show institute again
State specified data.
In summary, in the present embodiment, by identifying the instruction code included in the communication information, the instruction is identified
The document alignment mark included in code, what second electronic equipment being had been received by from first electronic equipment was sent
In data, it is determined that corresponding with document alignment mark specify data;The specified data are removed, can be set in the first electronics
It is standby communicated with the second electronic equipment by the first application program during, pass through the second electronic equipment send communication believe
Breath, the second electronic equipment is sent to the data dump of first electronic equipment, i.e., can be by transmitting terminal for having sent out
The information for being sent to receiving terminal is purged, so as to reduce the compromised risk of privacy of user.
In practical application, the communication information acquiring unit 601, it can specifically include:
Text obtains subelement, is sent by first application program for obtaining second electronic equipment, with
The text for including the instruction code of text formatting encapsulation;
And/or picture obtains subelement, is sent for obtaining second electronic equipment by first application program
, the picture for including the instruction code encapsulated with picture format.
In practical application, the communication information acquiring unit 601, it can specifically include:
First communication information obtains subelement, is sent out for obtaining second electronic equipment by first application program
The communication information of the key encryption of process first sent;
First electronic equipment also includes:
First key determining unit, for before the instruction code included in identifying the communication information, it is determined that and institute
State first key corresponding to the first secret key;
Decryption unit, for the communication information to be decrypted using the first key;
The instruction code recognition unit, is specifically included:
Instruction code identifies subelement, for from the communication information after decryption, identifying the instruction code.
In practical application, the specified data dump unit 605, it can specifically include:
Remove the specified data shown on the screen of first electronic equipment.
In practical application, it can also include:
Second data display unit, for the specified data shown on the screen for removing first electronic equipment
Afterwards, the second data are shown in the original display region of the specified data, second data are second electronic equipment
Send, send data of the time after the specified data.
The invention also discloses another electronic equipment.The electronic equipment is the second electronic equipment.Second electronics is set
It is standby to be communicated between the first electronic equipment by the first application program.First electronic equipment can be mobile phone, desk-top
Machine or tablet personal computer etc..Second electronic equipment can also be mobile phone, desktop computer or tablet personal computer etc..First electronics
Equipment can be installed with second electronic equipment and run first application program.First application program can be
MSN.
Fig. 7 is the structure chart of the second electronic equipment embodiment of the present invention.As shown in fig. 7, second electronic equipment can
With including:
First data transmission unit 701, for sending the to first electronic equipment by first application program
One data;
First data can be various types of data such as picture or text.
Data-cleaning operation acquiring unit 702, for obtaining the data-cleaning operation of user's input;
After first data are sent out, data dump can be shown on the display interface of second electronic equipment
Option of operation;Or the data-cleaning operation option can be triggered by the first data shown on long-press display interface
Display.
User can input the data-cleaning operation by clicking on the data-cleaning operation option.
Instruction code generation unit 703, for based on the data-cleaning operation, generating for indicating first electronics
The instruction code of first data described in device clear;
Instruction code encapsulation unit 704, for the instruction code to be encapsulated as sending by first application program
The communication information;
Specifically, the instruction code can be packaged into default text;Or the instruction code is packaged into pre-
If picture.
Ciphering unit 705, for being encrypted using the communication information described in the first secret key pair;First secret key with it is described
The first key that first electronic equipment is used to the communication information be decrypted matches;
It is encrypted using the first secret key, the security of the data clearing method in the present embodiment can be improved, make other
User is not easy to crack.
Communication information transmitting element 706, for the communication information after encryption to be sent to first electronic equipment.
In summary, in the present embodiment, by obtaining the data-cleaning operation of user's input, grasped based on the data dump
Make, generate for indicating that first electronic equipment removes the instruction code of first data, the instruction code is encapsulated
For the communication information sent by first application program;The communication information is sent to first electronic equipment;Can
To be purged by transmitting terminal for being already sent to the information of receiving terminal, so as to reduce the compromised risk of privacy of user.
In practical application, the instruction code encapsulation unit 704, it can specifically include:
Text encapsulates subelement, for the instruction code to be packaged into default text;
Or picture encapsulation subelement, for the instruction code to be packaged into default picture.
Finally, it is to be noted that, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between any this actual relation or order be present.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering including for nonexcludability, so that process, method, article or equipment including a series of elements not only include that
A little key elements, but also the other element including being not expressly set out, or also include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged
Except other identical element in the process including the key element, method, article or equipment being also present.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Software adds the mode of required hardware platform to realize, naturally it is also possible to all implemented by hardware, but in many cases before
Person is more preferably embodiment.Based on such understanding, whole that technical scheme contributes to background technology or
Person part can be embodied in the form of software product, and the computer software product can be stored in storage medium, such as
ROM/RAM, magnetic disc, CD etc., including some instructions to cause a computer equipment (can be personal computer, service
Device, either network equipment etc.) perform method described in some parts of each embodiment of the present invention or embodiment.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.
Specific case used herein is set forth to the principle and embodiment of the present invention, and above example is said
It is bright to be only intended to help the method and its core concept for understanding the present invention;Meanwhile for those of ordinary skill in the art, foundation
The thought of the present invention, in specific embodiments and applications there will be changes.In summary, this specification content is not
It is interpreted as limitation of the present invention.
Claims (10)
1. a kind of data clearing method, it is characterised in that methods described is applied to the first electronic equipment, first electronic equipment
Communicated with the second electronic equipment by the first application program, methods described includes:
Obtain the communication information that second electronic equipment is sent by first application program;
The instruction code included in the communication information is identified, the instruction code is used to indicate that first electronic equipment is removed
Specify data;
Identify the document alignment mark included in the instruction code;
In the data that second electronic equipment that is had been received by from first electronic equipment is sent, it is determined that with the file
Data are specified corresponding to positioning mark;
Remove the specified data;
The communication information for obtaining second electronic equipment and being sent by first application program, is specifically included:
Obtain what second electronic equipment was sent by first application program, it is described with including for text formatting encapsulation
The text of instruction code, to make the user of the first electronic equipment just look at default text;
And/or obtain what second electronic equipment was sent by first application program, with including for picture format encapsulation
There is the picture of the instruction code, to make the user of the first electronic equipment just look at default picture.
2. according to the method for claim 1, it is characterised in that acquisition second electronic equipment passes through described first
The communication information that application program is sent, is specifically included:
Obtain the communication information for the key encryption of process first that second electronic equipment is sent by first application program;
Before the instruction code included in the identification communication information, in addition to:
It is determined that first key corresponding with first secret key;
The communication information is decrypted using the first key;
The instruction code included in the identification communication information, is specifically included:
From the communication information after decryption, the instruction code is identified.
3. according to the method for claim 1, it is characterised in that it is described to remove the specified data, specifically include:
Remove the specified data shown on the screen of first electronic equipment.
4. according to the method for claim 3, it is characterised in that shown on the screen for removing first electronic equipment
The specified data after, in addition to:
The second data are shown in the original display region of the specified data, second data are sent out for second electronic equipment
Send, send data of the time after the specified data.
5. a kind of data clearing method, it is characterised in that methods described is applied to the second electronic equipment, second electronic equipment
Communicated between the first electronic equipment by the first application program, methods described includes:
Second electronic equipment sends the first data by first application program to first electronic equipment;
Obtain the data-cleaning operation of user's input;
Based on the data-cleaning operation, generate for indicating that first electronic equipment removes the instruction generation of first data
Code;
The communication information that the instruction code is encapsulated as sending by first application program;
It is encrypted using the communication information described in the first secret key pair;First secret key is used for institute with first electronic equipment
The first key that the communication information is decrypted is stated to match;
The communication information after encryption is sent to first electronic equipment;
The communication information that the instruction code is encapsulated as sending by first application program, is specifically included:
The instruction code is packaged into default text, to make the user of the first electronic equipment just look at default text;
Or the instruction code is packaged into default picture, it is default to make the user of the first electronic equipment just look at
Picture.
6. a kind of electronic equipment, it is characterised in that the electronic equipment is the first electronic equipment, first electronic equipment and
Two electronic equipments are communicated by the first application program, and first electronic equipment includes:
Communication information acquiring unit, believe for obtaining the communication that second electronic equipment is sent by first application program
Breath;
Instruction code recognition unit, for identifying the instruction code included in the communication information, the instruction code is used to refer to
Show that first electronic equipment is removed and specify data;
Document alignment identifies recognition unit, for identifying the document alignment included in the instruction code mark;
Data determination unit is specified, what second electronic equipment for being had been received by from first electronic equipment was sent
In data, it is determined that corresponding with document alignment mark specify data;
Data dump unit is specified, for removing the specified data;
The communication information acquiring unit, is specifically included:
Text obtains subelement, is sent by first application program for obtaining second electronic equipment, with text
The text for including the instruction code of form encapsulation, to make the user of the first electronic equipment just look at the text of setting;
And/or picture obtains subelement, sent by first application program for obtaining second electronic equipment,
The picture for including the instruction code encapsulated with picture format, to make the user of the first electronic equipment just look at setting
Picture.
7. electronic equipment according to claim 6, it is characterised in that the communication information acquiring unit, specifically include:
First communication information obtains subelement, is sent by first application program for obtaining second electronic equipment
By the communication information of the first key encryption;
First electronic equipment also includes:
First key determining unit, for before the instruction code included in identifying the communication information, it is determined that with described the
First key corresponding to one secret key;
Decryption unit, for the communication information to be decrypted using the first key;
The instruction code recognition unit, is specifically included:
Instruction code identifies subelement, for from the communication information after decryption, identifying the instruction code.
8. electronic equipment according to claim 6, it is characterised in that the specified data dump unit, specifically include:
Remove the specified data shown on the screen of first electronic equipment.
9. electronic equipment according to claim 8, it is characterised in that also include:
Second data display unit, for the specified data that are shown on the screen for removing first electronic equipment it
Afterwards, the second data are shown in the original display region of the specified data, second data are sent out for second electronic equipment
Send, send data of the time after the specified data.
10. a kind of electronic equipment, it is characterised in that the electronic equipment is the second electronic equipment, second electronic equipment with
Communicated between first electronic equipment by the first application program, second electronic equipment includes:
First data transmission unit, for sending the first data to first electronic equipment by first application program;
Data-cleaning operation acquiring unit, for obtaining the data-cleaning operation of user's input;
Instruction code generation unit, for based on the data-cleaning operation, generating for indicating that first electronic equipment is clear
Except the instruction code of first data;
Instruction code encapsulation unit, the communication for the instruction code to be encapsulated as sending by first application program are believed
Breath;
Ciphering unit, for being encrypted using the communication information described in the first secret key pair;First secret key and the described first electricity
The first key that sub- equipment is used to the communication information be decrypted matches;
Communication information transmitting element, for the communication information after encryption to be sent to first electronic equipment;
The instruction code encapsulation unit, is specifically included:
Text encapsulates subelement, for the instruction code to be packaged into default text, to make the user of the first electronic equipment
Just look at default text;
Or picture encapsulation subelement, for the instruction code to be packaged into default picture, to make the first electronic equipment
User just looks at default picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410405851.4A CN104182698B (en) | 2014-08-18 | 2014-08-18 | A kind of data clearing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410405851.4A CN104182698B (en) | 2014-08-18 | 2014-08-18 | A kind of data clearing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104182698A CN104182698A (en) | 2014-12-03 |
CN104182698B true CN104182698B (en) | 2018-01-16 |
Family
ID=51963729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410405851.4A Active CN104182698B (en) | 2014-08-18 | 2014-08-18 | A kind of data clearing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104182698B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108132847A (en) * | 2017-12-21 | 2018-06-08 | 联想(北京)有限公司 | A kind of data processing method, the first electronic equipment and computer storage media |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1332881A (en) * | 1998-08-04 | 2002-01-23 | 机密保护公司 | Systems and methods for securing electronic message |
CN101384009A (en) * | 2008-10-08 | 2009-03-11 | 深圳华为通信技术有限公司 | Short message cancelling method and terminal |
CN101741759A (en) * | 2008-11-24 | 2010-06-16 | 中国电信股份有限公司 | Instant communication-based intelligent interactive system and interactive method |
CN103049244A (en) * | 2012-12-06 | 2013-04-17 | 北京小米科技有限责任公司 | Method and device for transmitting operating instructions |
CN103181126A (en) * | 2010-10-26 | 2013-06-26 | 阿尔卡特朗讯 | Delivery report for text messages in SIP communications |
CN103686863A (en) * | 2012-09-12 | 2014-03-26 | 中国电信股份有限公司 | Control signaling transfer method and control signaling transfer system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7725537B2 (en) * | 2007-06-27 | 2010-05-25 | International Business Machines Corporation | Method of and system for retracting instant messages |
CN101389086B (en) * | 2008-10-29 | 2011-09-14 | 华为终端有限公司 | Mobile terminal, server, system and method for short message withdraw |
AU2013200916B2 (en) * | 2012-02-20 | 2014-09-11 | Kl Data Security Pty Ltd | Cryptographic Method and System |
CN103516576A (en) * | 2012-06-21 | 2014-01-15 | 阿尔卡特朗讯公司 | Method for processing instant message and device thereof |
-
2014
- 2014-08-18 CN CN201410405851.4A patent/CN104182698B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1332881A (en) * | 1998-08-04 | 2002-01-23 | 机密保护公司 | Systems and methods for securing electronic message |
CN101384009A (en) * | 2008-10-08 | 2009-03-11 | 深圳华为通信技术有限公司 | Short message cancelling method and terminal |
CN101741759A (en) * | 2008-11-24 | 2010-06-16 | 中国电信股份有限公司 | Instant communication-based intelligent interactive system and interactive method |
CN103181126A (en) * | 2010-10-26 | 2013-06-26 | 阿尔卡特朗讯 | Delivery report for text messages in SIP communications |
CN103686863A (en) * | 2012-09-12 | 2014-03-26 | 中国电信股份有限公司 | Control signaling transfer method and control signaling transfer system |
CN103049244A (en) * | 2012-12-06 | 2013-04-17 | 北京小米科技有限责任公司 | Method and device for transmitting operating instructions |
Also Published As
Publication number | Publication date |
---|---|
CN104182698A (en) | 2014-12-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109472166B (en) | Electronic signature method, device, equipment and medium | |
KR101710032B1 (en) | Apparatus and system for preventing product falsification based on electronic documents content and method thereof | |
GB2538052B (en) | Encoder, decoder, encryption system, encryption key wallet and method | |
CN111835511A (en) | Data security transmission method and device, computer equipment and storage medium | |
CN113364760A (en) | Data encryption processing method and device, computer equipment and storage medium | |
CN109829269A (en) | Method, apparatus and system based on E-seal authenticating electronic documents | |
CN104660589B (en) | Method, system and terminal for encrypting control and information analysis of information | |
CN107786331B (en) | Data processing method, device, system and computer readable storage medium | |
WO2016045469A1 (en) | Information encryption method and mobile terminal | |
US8856900B2 (en) | Method for authorising a connection between a computer terminal and a source server | |
US9659189B2 (en) | Systems and methods of safeguarding user information while interacting with online service providers | |
CN103606047A (en) | Password management system | |
TWI505126B (en) | A method and apparatus to obtain a key | |
US20130262864A1 (en) | Method and system for supporting secure documents | |
US20200145389A1 (en) | Controlling Access to Data | |
CN103532960A (en) | Text encryption interaction method, encryption method and device, decryption method and device | |
CN109726578B (en) | Dynamic two-dimensional code anti-counterfeiting solution | |
CN105069360B (en) | A kind of file encryption, decryption method and terminal | |
CN104182698B (en) | A kind of data clearing method and electronic equipment | |
CN103997730A (en) | Method for decrypting, copying and pasting encrypted data | |
CN109871685B (en) | RTF file analysis method and device | |
US20150156173A1 (en) | Communication system utilizing fingerprint information and use thereof | |
CN101989324A (en) | Information security system based on computer and mobile storage device | |
CN108337233B (en) | Method for encrypting content information, electronic equipment and storage medium | |
CN102833076B (en) | account information encryption method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |