CN104182698A - Data clearing method and electronic device - Google Patents

Data clearing method and electronic device Download PDF

Info

Publication number
CN104182698A
CN104182698A CN201410405851.4A CN201410405851A CN104182698A CN 104182698 A CN104182698 A CN 104182698A CN 201410405851 A CN201410405851 A CN 201410405851A CN 104182698 A CN104182698 A CN 104182698A
Authority
CN
China
Prior art keywords
electronic equipment
instruction code
data
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.)
Granted
Application number
CN201410405851.4A
Other languages
Chinese (zh)
Other versions
CN104182698B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410405851.4A priority Critical patent/CN104182698B/en
Publication of CN104182698A publication Critical patent/CN104182698A/en
Application granted granted Critical
Publication of CN104182698B publication Critical patent/CN104182698B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting 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/6245Protecting personal data, e.g. for financial or medical purposes
    • G06F21/6263Protecting personal data, e.g. for financial or medical purposes during internet communication, e.g. revealing personal data from cookies

Abstract

The invention discloses a data clearing method and an electronic device. The method includes: acquiring communication information sent by a second electronic device through a first application; identifying instruction codes, used for indicating a first electronic device to clear specified data, included in the communication information; identifying file location identifiers included in the instruction codes; determining specified data corresponding to the file location identifiers from data which are received by the first electronic device and sent by the second electronic device; clearing the specified data. By the method or electronic device, information which is sent to a receiving end can be cleared through a sending end, so that risk of user privacy disclosure is lowered.

Description

A kind of data clearing method and electronic equipment
Technical field
The present invention relates to the communications field, particularly relate to a kind of data clearing method and electronic equipment.
Background technology
Current, the network communications technology is more and more flourishing, and the communication of being undertaken by network has been penetrated into each corner in daily life.
In prior art, the communication of being undertaken by network, can transmit various types of information such as word, picture.Especially in the application scenarios of some instant messagings, the frequency of both sides' information interaction of communication often, than comparatively fast, may send to the other side by the content of some comparison privacies unintentionally.
For example, when user A and user B carry out instant messaging, user A has sent a photo to user B.On photo, clearly show the head portrait of user A, in background, also have faintly the account information of the bank card of user A.The original idea of user A just hopes and allows user B see oneself head portrait, but after photo sends, user A just recognizes in photo can also see the bank card account number information of oneself.Because bank card account number information belongs to the content of comparison privacy, so user A does not wish that user B sees.
In prior art, in communication process, once information is sent out away, this information will be shown at receiving end, cannot avoid.
Summary of the invention
The object of this invention is to provide a kind of data clearing method and electronic equipment, can for the information that sends to receiving end, remove by transmitting terminal, thereby reduce the risk that privacy of user is revealed.
For achieving the above object, the invention provides following scheme:
A data clearing method, described method is applied to the first electronic equipment, and described the first electronic equipment and the second electronic equipment communicate by the first application program, and described method comprises:
Obtain the communication information that described the second electronic equipment sends by described the first application program;
Identify the instruction code comprising in the described communication information, described instruction code is used to indicate described the first electronic equipment and removes specific data;
Identify the document alignment sign comprising in described instruction code;
The data that described the second electronic equipment having received from described the first electronic equipment sends, determine and identify corresponding specific data with described document alignment;
Remove described specific data.
Optionally, described in obtain the communication information that described the second electronic equipment sends by described the first application program, specifically comprise:
Obtain that described the second electronic equipment sends by described the first application program, with the text that includes described instruction code of text formatting encapsulation;
And/or, obtain that described the second electronic equipment sends by described the first application program, with the picture that includes described instruction code of picture format encapsulation.
Optionally, described in obtain the communication information that described the second electronic equipment sends by described the first application program, specifically comprise:
Obtain the communication information of encrypting through the first secret key that described the second electronic equipment sends by described the first application program;
Before the instruction code comprising in the described communication information of described identification, also comprise:
Determine first key corresponding with described the first secret key;
Adopt described the first key to be decrypted the described communication information;
The instruction code comprising in the described communication information of described identification, specifically comprises:
From the described communication information deciphering, identify described instruction code.
Optionally, the described specific data of described removing, specifically comprises:
Remove the described specific data showing on the screen of described the first electronic equipment.
Optionally, after the described specific data showing on the screen of described the first electronic equipment of described removing, also comprise:
Original display region at described specific data shows the second data, and described the second data are that described the second electronic equipment sends, the data of transmitting time after described specific data.
A data clearing method, described method is applied to the second electronic equipment, between described the second electronic equipment and the first electronic equipment, by the first application program, communicates, and described method comprises:
Described the second electronic equipment sends the first data by described the first application program to described the first electronic equipment;
Obtain the data-cleaning operation of user's input;
Based on described data-cleaning operation, generate and be used to indicate the instruction code that described the first electronic equipment is removed described the first data;
Described instruction code is encapsulated as to the communication information sending by described the first application program;
Adopt the first secret key to be encrypted the described communication information; Described the first secret key and described the first electronic equipment match for the first key that the described communication information is decrypted;
The described communication information after encrypting is sent to described the first electronic equipment.
Optionally, the described communication information sending by described the first application program that described instruction code is encapsulated as, specifically comprises:
Described instruction code is packaged into default text;
Or, described instruction code is packaged into default picture.
An electronic equipment, described electronic equipment is the first electronic equipment, and described the first electronic equipment and the second electronic equipment communicate by the first application program, and described the first electronic equipment comprises:
Communication information acquiring unit, the communication information sending by described the first application program for obtaining described the second electronic equipment;
Instruction code recognition unit, the instruction code comprising for identifying the described communication information, described instruction code is used to indicate described the first electronic equipment and removes specific data;
Document alignment sign recognition unit, the document alignment sign comprising for identifying described instruction code;
Specific data determining unit, the data that send for described the second electronic equipment having received from described the first electronic equipment, determine and identify corresponding specific data with described document alignment;
Specific data clearing cell, for removing described specific data.
Optionally, described communication information acquiring unit, specifically comprises:
Text obtains subelement, and for obtaining, described the second electronic equipment sends by described the first application program, with the text that includes described instruction code of text formatting encapsulation;
And/or picture obtains subelement, for obtaining, described the second electronic equipment sends by described the first application program, with the picture that includes described instruction code of picture format encapsulation.
Optionally, described communication information acquiring unit, specifically comprises:
First communication information is obtained subelement, the communication information of encrypting through the first secret key sending by described the first application program for obtaining described the second electronic equipment;
Described the first electronic equipment also comprises:
The first key determining unit, before the instruction code comprising in the described communication information of identification, determines first key corresponding with described the first secret key;
Decryption unit, for adopting described the first key to be decrypted the described communication information;
Described instruction code recognition unit, specifically comprises:
Instruction code recognin unit, for the described communication information from deciphering, identifies described instruction code.
Optionally, described specific data clearing cell, specifically comprises:
Remove the described specific data showing on the screen of described the first electronic equipment.
Optionally, also comprise:
The second data display unit, after the described specific data showing on removing the screen of described the first electronic equipment, original display region at described specific data shows the second data, described the second data are that described the second electronic equipment sends, the data of transmitting time after described specific data.
An electronic equipment, described electronic equipment is the second electronic equipment, between described the second electronic equipment and the first electronic equipment, by the first application program, communicates, described the second electronic equipment comprises:
The first data transmission unit, for sending the first data by described the first application program to described the first electronic equipment;
Data-cleaning operation acquiring unit, for obtaining the data-cleaning operation of user's input;
Instruction code generation unit, for based on described data-cleaning operation, generates and is used to indicate the instruction code that described the first electronic equipment is removed described the first data;
Instruction code encapsulation unit, for being encapsulated as described instruction code the communication information sending by described the first application program;
Ciphering unit, for adopting the first secret key to be encrypted the described communication information; Described the first secret key and described the first electronic equipment match for the first key that the described communication information is decrypted;
Communication information transmitting element, for being sent to described the first electronic equipment by the described communication information after encrypting.
Optionally, described instruction code encapsulation unit, specifically comprises:
Text encapsulation subelement, for being packaged into default text by described instruction code;
Or picture encapsulation subelement, for being packaged into default picture by described instruction code.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
Data clearing method of the present invention and electronic equipment, by identifying the instruction code comprising in the described communication information, identify the document alignment sign comprising in described instruction code, the data that described the second electronic equipment having received from described the first electronic equipment sends, determine and identify corresponding specific data with described document alignment; Remove described specific data, can be in the process that the first electronic equipment and the second electronic equipment communicate by the first application program, the communication information sending by the second electronic equipment, the second electronic equipment is sent to the data dump of described the first electronic equipment, can for the information that sends to receiving end, remove by transmitting terminal, thereby reduce the risk that privacy of user is revealed.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, 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 screen intensity control method embodiment 1 based on surround lighting detecting sensor of the present invention;
Fig. 2 is the process flow diagram of data clearing method embodiment 2 of the present invention;
Fig. 3 is the process flow diagram of data clearing method embodiment 3 of the present invention;
Fig. 4 is the process flow diagram of data clearing method embodiment 4 of the present invention;
Fig. 5 is the process flow diagram of another kind of data clearing method embodiment of the present invention;
Fig. 6 is the structural drawing of the first electronic equipment embodiment of the present invention;
Fig. 7 is the structural drawing 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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
The data clearing method of the embodiment of the present invention, is applied to the first electronic equipment.Described the first electronic equipment can be mobile phone, desktop computer or panel computer etc.Described the first electronic equipment and the second electronic equipment communicate by the first application program.Described the second electronic equipment can be also mobile phone, desktop computer or panel computer etc.Described the first application program can be installed and move to described the first electronic equipment and described the second electronic equipment all.Described the first application program can be Instant Messenger (IM) software.
Fig. 1 is the process flow diagram of data clearing method embodiment 1 of the present invention.As shown in Figure 1, the method can comprise:
Step 101: obtain the communication information that described the second electronic equipment sends by described the first application program;
The described communication information can be that described the first electronic equipment and the second electronic equipment are undertaken in the process of instant messaging by described the first application program, is sent to the communication information of described the first electronic equipment by described the second electronic equipment.The described communication information can be encapsulated as the form of picture or word.
Step 102: identify the instruction code comprising in the described communication information, described instruction code is used to indicate described the first electronic equipment and removes specific data;
Can set described instruction code according to the operating system of described the first electronic equipment, so that described instruction code can be identified by described the first electronic equipment.Described instruction code can be also described the first applications specify, because described the first electronic equipment and described the second electronic equipment are all provided with described the first application program.So can first identify described instruction code by described the first application program, after identifying described instruction code, then convert the instruction that the operating system of described the first electronic equipment is supported to.
Described specific data, refers in communication process, is sent to the data of described the first electronic equipment by described the second electronic equipment.Described specific data, can be specifically the picture sending in chat process, the file of text or other types.
Step 103: identify the document alignment sign comprising in described instruction code;
Described document alignment identifies, and can mean the sign of the file name of described specific data, also can mean the sign of the transmitting time of described specific data.
Step 104: the data that described the second electronic equipment having received from described the first electronic equipment sends, determine and identify corresponding specific data with described document alignment;
According to described document alignment sign, can navigate to described specific data.
Step 105: remove described specific data.
From described the first electronic equipment, remove after described specific data, described the first electronic equipment just can not show described specific data again.
In sum, in the present embodiment, by identifying the instruction code comprising in the described communication information, identify the document alignment sign comprising in described instruction code, the data that described the second electronic equipment having received from described the first electronic equipment sends, determine and identify corresponding specific data with described document alignment; Remove described specific data, can be in the process that the first electronic equipment and the second electronic equipment communicate by the first application program, the communication information sending by the second electronic equipment, the second electronic equipment is sent to the data dump of described the first electronic equipment, can for the information that sends to receiving end, remove by transmitting terminal, thereby reduce the risk that privacy of user is revealed.
Fig. 2 is the process flow diagram of data clearing method embodiment 2 of the present invention.As shown in Figure 2, the method can comprise:
Step 201: obtain that described the second electronic equipment sends by described the first application program, with the text that includes described instruction code of text formatting encapsulation;
In actual applications, during the communication information that described the second electronic equipment comprises described instruction code in transmission, in order to allow the user of the first electronic equipment be difficult for discovering described instruction code as far as possible, described instruction code can be packaged into the form of text.Like this can be so that the user of the first electronic equipment only view the text of setting, and can not view described instruction code.That is to say; described instruction code is packaged into text formatting; the user that can cover up the second electronic equipment wishes to remove the intention of described specific data; thereby the user who makes the first electronic equipment is difficult for recognizing that certain data that described the second electronic equipment once sent belong to private data more, and then can further improve the protection to the user's of the second electronic equipment privacy.
The particular content of described text can be set according to demand.For example, described content of text can be set as to " heartily ".
Step 202: identify the instruction code comprising in described text, described instruction code is used to indicate described the first electronic equipment and removes specific data;
Step 203: identify the document alignment sign comprising in described instruction code;
Described positioning mark can be that described the second electronic equipment has been sent to the filename of certain file of described the first electronic equipment by described the first application program.
For example, can be the filename of certain picture, can be also filename of certain text document etc.
Step 204: the data that described the second electronic equipment having received from described the first electronic equipment sends, determine and identify corresponding specific data with described document alignment;
According to described filename, can find described file.
Step 205: remove described specific data.
In the present embodiment; by described instruction code is encapsulated as to text formatting; the user that can cover up the second electronic equipment wishes to remove the intention of described specific data; thereby the user who makes the first electronic equipment is difficult for recognizing that certain data that described the second electronic equipment once sent belong to private data more, and then can further improve the protection to the user's of the second electronic equipment privacy.
Fig. 3 is the process flow diagram of data clearing method embodiment 3 of the present invention.As shown in Figure 3, the method can comprise:
Step 301: obtain that described the second electronic equipment sends by described the first application program, with the picture that includes described instruction code of picture format encapsulation;
In actual applications, during the communication information that described the second electronic equipment comprises described instruction code in transmission, in order to allow the user of the first electronic equipment be difficult for discovering described instruction code as far as possible, described instruction code can be packaged into the form of picture.Like this can be so that the user of the first electronic equipment only view the picture of setting, and can not view described instruction code.That is to say; described instruction code is packaged into picture format; the user that can cover up the second electronic equipment wishes to remove the intention of described specific data; thereby the user who makes the first electronic equipment is difficult for recognizing that certain data that described the second electronic equipment once sent belong to private data more, and then can further improve the protection to the user's of the second electronic equipment privacy.
The particular content of described picture can be set according to demand.For example, described image content can be set as to smiling face.
Step 303: identify the instruction code comprising in described picture, described instruction code is used to indicate described the first electronic equipment and removes specific data;
Step 303: identify the document alignment sign comprising in described instruction code;
Described positioning mark can be that described the second electronic equipment has been sent to the transmitting time of certain file of described the first electronic equipment by described the first application program.
For example, can be the file sending for 15: 01, can be also file sending for 15: 02 etc.
Step 304: the data that described the second electronic equipment having received from described the first electronic equipment sends, determine and identify corresponding specific data with described document alignment;
According to described transmitting time, can find described file.
It should be noted that the second electronic equipment has sent a plurality of files to the first electronic equipment if sometime, now can, in described positioning mark, add the file name of described file.According to time of origin and file name, can navigate to the data of appointment.
Step 305: remove described specific data.
In the present embodiment; by described instruction code is encapsulated as to picture format; the user that can cover up the second electronic equipment wishes to remove the intention of described specific data; thereby the user who makes the first electronic equipment is difficult for recognizing that certain data that described the second electronic equipment once sent belong to private data more, and then can further improve the protection to the user's of the second electronic equipment privacy.
Fig. 4 is the process flow diagram of data clearing method embodiment 4 of the present invention.As shown in Figure 4, the method can comprise:
Step 401: obtain the communication information of encrypting through the first secret key that described the second electronic equipment sends by described the first application program;
Described the first secret key can be the PKI in RSA cryptographic algorithms of the prior art.
Step 402: determine first key corresponding with described the first secret key;
Described the first key can be the key in RSA cryptographic algorithms of the prior art.
Between described the first electronic equipment and described the second electronic equipment, can arrange first key.Between described the first electronic equipment and other electronic equipment, can also arrange other key.After described the second electronic equipment of definite described communication information sends, can determine and need to adopt described the first key to be decrypted the described communication information.
Step 403: adopt described the first key to be decrypted the described communication information;
Step 404: from the described communication information deciphering, identify described instruction code, described instruction code is used to indicate described the first electronic equipment and removes specific data;
Step 405: identify the document alignment sign comprising in described instruction code;
Step 406: the data that described the second electronic equipment having received from described the first electronic equipment sends, determine and identify corresponding specific data with described document alignment;
Step 407: remove described specific data.
Owing to removing the process of the data on the first electronic equipment by the communication information of the second electronic equipment transmission, once maliciously be cracked, after being grasped by malicious user, malicious user just can utilize this process, remove other data on the first electronic equipment, so, the security that need to improve said process.
In the present embodiment, the communication information of encrypting through the first secret key sending by described the first application program by obtaining described the second electronic equipment, adopts described the first key to be decrypted the described communication information; Can be encrypted remove the process of the data on the first electronic equipment by the communication information of the second electronic equipment transmission, improve the security of data clearing method.
Also it should be noted that, in each embodiment of the present invention, the described specific data of described removing, specifically can comprise:
Remove the described specific data showing on the screen of described the first electronic equipment.After described specific data is eliminated, the script on the screen of described the first electronic equipment shows the region of described specific data, can show blank.
For the data that further make to be eliminated are difficult for being discovered, after the described specific data showing on the screen of described the first electronic equipment of described removing, can also show the second data in the original display region of described specific data, described the second data are that described the second electronic equipment sends, the data of transmitting time after described specific data.Adopt in this way, can make script on the screen of described the first electronic equipment show the region of described specific data, no longer show blank.
The invention also discloses another kind of data clearing method.Described method is applied to aforesaid the second electronic equipment, between described the second electronic equipment and the first electronic equipment, by the first application program, communicates.
Fig. 5 is the process flow diagram of another kind of data clearing method embodiment of the present invention.As shown in Figure 5, described method can comprise:
Step 501: described the second electronic equipment sends the first data by described the first application program to described the first electronic equipment;
Described the first data can be various types of data such as picture or text.
Step 502: the data-cleaning operation that obtains user's input;
After sending out described the first data, on the display interface of described the second electronic equipment, can show data-cleaning operation option; Or, can, by long by the first data that show on display interface, trigger the demonstration of described data-cleaning operation option.
User can, by clicking described data-cleaning operation option, input described data-cleaning operation.
Step 503: based on described data-cleaning operation, generate and be used to indicate the instruction code that described the first electronic equipment is removed described the first data;
Step 504: described instruction code is encapsulated as to the communication information sending by described the first application program;
Concrete, described instruction code can be packaged into default text; Or, described instruction code is packaged into default picture.
Step 505: adopt the first secret key to be encrypted the described communication information; Described the first secret key and described the first electronic equipment match for the first key that the described communication information is decrypted;
Step 506: the described communication information after encrypting is sent to described the first electronic equipment.
Adopt the first secret key to be encrypted, can improve the security of the data clearing method in the present embodiment, make other users be difficult for cracking.
In sum, in the present embodiment, by obtaining the data-cleaning operation of user's input, based on described data-cleaning operation, generation is used to indicate the instruction code that described the first electronic equipment is removed described the first data, described instruction code is encapsulated as to the communication information sending by described the first application program; The described communication information is sent to described the first electronic equipment; Can for the information that sends to receiving end, remove by transmitting terminal, thereby reduce the risk that privacy of user is revealed.
The invention also discloses a kind of electronic equipment.Described electronic equipment is the first electronic equipment, and described the first electronic equipment and the second electronic equipment communicate by the first application program.Described the first electronic equipment can be mobile phone, desktop computer or panel computer etc.Described the second electronic equipment can be also mobile phone, desktop computer or panel computer etc.Described the first application program can be installed and move to described the first electronic equipment and described the second electronic equipment all.Described the first application program can be Instant Messenger (IM) software.
Fig. 6 is the structural drawing of the first electronic equipment embodiment of the present invention.As shown in Figure 6, described the first electronic equipment can comprise:
Communication information acquiring unit 601, the communication information sending by described the first application program for obtaining described the second electronic equipment;
The described communication information can be that described the first electronic equipment and the second electronic equipment are undertaken in the process of instant messaging by described the first application program, is sent to the communication information of described the first electronic equipment by described the second electronic equipment.The described communication information can be encapsulated as the form of picture or word.
Instruction code recognition unit 602, the instruction code comprising for identifying the described communication information, described instruction code is used to indicate described the first electronic equipment and removes specific data;
Can set described instruction code according to the operating system of described the first electronic equipment, so that described instruction code can be identified by described the first electronic equipment.Described instruction code can be also described the first applications specify, because described the first electronic equipment and described the second electronic equipment are all provided with described the first application program.So can first identify described instruction code by described the first application program, after identifying described instruction code, then convert the instruction that the operating system of described the first electronic equipment is supported to.
Described specific data, refers in communication process, is sent to the data of described the first electronic equipment by described the second electronic equipment.Described specific data, can be specifically the picture sending in chat process, the file of text or other types.
Document alignment sign recognition unit 603, the document alignment sign comprising for identifying described instruction code;
Described document alignment identifies, and can mean the sign of the file name of described specific data, also can mean the sign of the transmitting time of described specific data.
Specific data determining unit 604, the data that send for described the second electronic equipment having received from described the first electronic equipment, determine and identify corresponding specific data with described document alignment;
According to described document alignment sign, can navigate to described specific data.
Specific data clearing cell 605, for removing described specific data.
From described the first electronic equipment, remove after described specific data, described the first electronic equipment just can not show described specific data again.
In sum, in the present embodiment, by identifying the instruction code comprising in the described communication information, identify the document alignment sign comprising in described instruction code, the data that described the second electronic equipment having received from described the first electronic equipment sends, determine and identify corresponding specific data with described document alignment; Remove described specific data, can be in the process that the first electronic equipment and the second electronic equipment communicate by the first application program, the communication information sending by the second electronic equipment, the second electronic equipment is sent to the data dump of described the first electronic equipment, can for the information that sends to receiving end, remove by transmitting terminal, thereby reduce the risk that privacy of user is revealed.
In practical application, described communication information acquiring unit 601, specifically can comprise:
Text obtains subelement, and for obtaining, described the second electronic equipment sends by described the first application program, with the text that includes described instruction code of text formatting encapsulation;
And/or picture obtains subelement, for obtaining, described the second electronic equipment sends by described the first application program, with the picture that includes described instruction code of picture format encapsulation.
In practical application, described communication information acquiring unit 601, specifically can comprise:
First communication information is obtained subelement, the communication information of encrypting through the first secret key sending by described the first application program for obtaining described the second electronic equipment;
Described the first electronic equipment also comprises:
The first key determining unit, before the instruction code comprising in the described communication information of identification, determines first key corresponding with described the first secret key;
Decryption unit, for adopting described the first key to be decrypted the described communication information;
Described instruction code recognition unit, specifically comprises:
Instruction code recognin unit, for the described communication information from deciphering, identifies described instruction code.
In practical application, described specific data clearing cell 605, specifically can comprise:
Remove the described specific data showing on the screen of described the first electronic equipment.
In practical application, can also comprise:
The second data display unit, after the described specific data showing on removing the screen of described the first electronic equipment, original display region at described specific data shows the second data, described the second data are that described the second electronic equipment sends, the data of transmitting time after described specific data.
The invention also discloses another kind of electronic equipment.This electronic equipment is the second electronic equipment.Between described the second electronic equipment and the first electronic equipment, by the first application program, communicate.Described the first electronic equipment can be mobile phone, desktop computer or panel computer etc.Described the second electronic equipment can be also mobile phone, desktop computer or panel computer etc.Described the first application program can be installed and move to described the first electronic equipment and described the second electronic equipment all.Described the first application program can be Instant Messenger (IM) software.
Fig. 7 is the structural drawing of the second electronic equipment embodiment of the present invention.As shown in Figure 7, described the second electronic equipment can comprise:
The first data transmission unit 701, for sending the first data by described the first application program to described the first electronic equipment;
Described the 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 sending out described the first data, on the display interface of described the second electronic equipment, can show data-cleaning operation option; Or, can, by long by the first data that show on display interface, trigger the demonstration of described data-cleaning operation option.
User can, by clicking described data-cleaning operation option, input described data-cleaning operation.
Instruction code generation unit 703, for based on described data-cleaning operation, generates and is used to indicate the instruction code that described the first electronic equipment is removed described the first data;
Instruction code encapsulation unit 704, for being encapsulated as described instruction code the communication information sending by described the first application program;
Concrete, described instruction code can be packaged into default text; Or, described instruction code is packaged into default picture.
Ciphering unit 705, for adopting the first secret key to be encrypted the described communication information; Described the first secret key and described the first electronic equipment match for the first key that the described communication information is decrypted;
Adopt the first secret key to be encrypted, can improve the security of the data clearing method in the present embodiment, make other users be difficult for cracking.
Communication information transmitting element 706, for being sent to described the first electronic equipment by the described communication information after encrypting.
In sum, in the present embodiment, by obtaining the data-cleaning operation of user's input, based on described data-cleaning operation, generation is used to indicate the instruction code that described the first electronic equipment is removed described the first data, described instruction code is encapsulated as to the communication information sending by described the first application program; The described communication information is sent to described the first electronic equipment; Can for the information that sends to receiving end, remove by transmitting terminal, thereby reduce the risk that privacy of user is revealed.
In practical application, described instruction code encapsulation unit 704, specifically can comprise:
Text encapsulation subelement, for being packaged into default text by described instruction code;
Or picture encapsulation subelement, for being packaged into default picture by described instruction code.
Finally, also it should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby the process, method, article or the equipment that make to comprise a series of key elements not only comprise those key elements, but also comprise other key elements of clearly not listing, or be also included as the intrinsic key element of this process, method, article or equipment.The in the situation that of more restrictions not, the key element being limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential hardware platform by software and realize, can certainly all by hardware, implement, but in a lot of situation, the former is better embodiment.Understanding based on such, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the present invention or embodiment.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stresses is the difference with other embodiment, between each embodiment identical similar part mutually referring to.
Applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (14)

1. a data clearing method, is characterized in that, described method is applied to the first electronic equipment, and described the first electronic equipment and the second electronic equipment communicate by the first application program, and described method comprises:
Obtain the communication information that described the second electronic equipment sends by described the first application program;
Identify the instruction code comprising in the described communication information, described instruction code is used to indicate described the first electronic equipment and removes specific data;
Identify the document alignment sign comprising in described instruction code;
The data that described the second electronic equipment having received from described the first electronic equipment sends, determine and identify corresponding specific data with described document alignment;
Remove described specific data.
2. method according to claim 1, is characterized in that, described in obtain the communication information that described the second electronic equipment sends by described the first application program, specifically comprise:
Obtain that described the second electronic equipment sends by described the first application program, with the text that includes described instruction code of text formatting encapsulation;
And/or, obtain that described the second electronic equipment sends by described the first application program, with the picture that includes described instruction code of picture format encapsulation.
3. method according to claim 1, is characterized in that, described in obtain the communication information that described the second electronic equipment sends by described the first application program, specifically comprise:
Obtain the communication information of encrypting through the first secret key that described the second electronic equipment sends by described the first application program;
Before the instruction code comprising in the described communication information of described identification, also comprise:
Determine first key corresponding with described the first secret key;
Adopt described the first key to be decrypted the described communication information;
The instruction code comprising in the described communication information of described identification, specifically comprises:
From the described communication information deciphering, identify described instruction code.
4. method according to claim 1, is characterized in that, the described specific data of described removing, specifically comprises:
Remove the described specific data showing on the screen of described the first electronic equipment.
5. method according to claim 4, is characterized in that, after the described specific data showing, also comprises on the screen of described the first electronic equipment of described removing:
Original display region at described specific data shows the second data, and described the second data are that described the second electronic equipment sends, the data of transmitting time after described specific data.
6. a data clearing method, is characterized in that, described method is applied to the second electronic equipment, between described the second electronic equipment and the first electronic equipment, by the first application program, communicates, and described method comprises:
Described the second electronic equipment sends the first data by described the first application program to described the first electronic equipment;
Obtain the data-cleaning operation of user's input;
Based on described data-cleaning operation, generate and be used to indicate the instruction code that described the first electronic equipment is removed described the first data;
Described instruction code is encapsulated as to the communication information sending by described the first application program;
Adopt the first secret key to be encrypted the described communication information; Described the first secret key and described the first electronic equipment match for the first key that the described communication information is decrypted;
The described communication information after encrypting is sent to described the first electronic equipment.
7. method according to claim 6, is characterized in that, the described communication information sending by described the first application program that described instruction code is encapsulated as, specifically comprises:
Described instruction code is packaged into default text;
Or, described instruction code is packaged into default picture.
8. an electronic equipment, is characterized in that, described electronic equipment is the first electronic equipment, and described the first electronic equipment and the second electronic equipment communicate by the first application program, and described the first electronic equipment comprises:
Communication information acquiring unit, the communication information sending by described the first application program for obtaining described the second electronic equipment;
Instruction code recognition unit, the instruction code comprising for identifying the described communication information, described instruction code is used to indicate described the first electronic equipment and removes specific data;
Document alignment sign recognition unit, the document alignment sign comprising for identifying described instruction code;
Specific data determining unit, the data that send for described the second electronic equipment having received from described the first electronic equipment, determine and identify corresponding specific data with described document alignment;
Specific data clearing cell, for removing described specific data.
9. electronic equipment according to claim 8, is characterized in that, described communication information acquiring unit, specifically comprises:
Text obtains subelement, and for obtaining, described the second electronic equipment sends by described the first application program, with the text that includes described instruction code of text formatting encapsulation;
And/or picture obtains subelement, for obtaining, described the second electronic equipment sends by described the first application program, with the picture that includes described instruction code of picture format encapsulation.
10. electronic equipment according to claim 8, is characterized in that, described communication information acquiring unit, specifically comprises:
First communication information is obtained subelement, the communication information of encrypting through the first secret key sending by described the first application program for obtaining described the second electronic equipment;
Described the first electronic equipment also comprises:
The first key determining unit, before the instruction code comprising in the described communication information of identification, determines first key corresponding with described the first secret key;
Decryption unit, for adopting described the first key to be decrypted the described communication information;
Described instruction code recognition unit, specifically comprises:
Instruction code recognin unit, for the described communication information from deciphering, identifies described instruction code.
11. electronic equipments according to claim 8, is characterized in that, described specific data clearing cell, specifically comprises:
Remove the described specific data showing on the screen of described the first electronic equipment.
12. electronic equipments according to claim 11, is characterized in that, also comprise:
The second data display unit, after the described specific data showing on removing the screen of described the first electronic equipment, original display region at described specific data shows the second data, described the second data are that described the second electronic equipment sends, the data of transmitting time after described specific data.
13. 1 kinds of electronic equipments, is characterized in that, described electronic equipment is the second electronic equipment, between described the second electronic equipment and the first electronic equipment, by the first application program, communicate, and described the second electronic equipment comprises:
The first data transmission unit, for sending the first data by described the first application program to described the first electronic equipment;
Data-cleaning operation acquiring unit, for obtaining the data-cleaning operation of user's input;
Instruction code generation unit, for based on described data-cleaning operation, generates and is used to indicate the instruction code that described the first electronic equipment is removed described the first data;
Instruction code encapsulation unit, for being encapsulated as described instruction code the communication information sending by described the first application program;
Ciphering unit, for adopting the first secret key to be encrypted the described communication information; Described the first secret key and described the first electronic equipment match for the first key that the described communication information is decrypted;
Communication information transmitting element, for being sent to described the first electronic equipment by the described communication information after encrypting.
14. electronic equipments according to claim 13, is characterized in that, described instruction code encapsulation unit, specifically comprises:
Text encapsulation subelement, for being packaged into default text by described instruction code;
Or picture encapsulation subelement, for being packaged into default picture by described instruction code.
CN201410405851.4A 2014-08-18 2014-08-18 A kind of data clearing method and electronic equipment Active CN104182698B (en)

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 true CN104182698A (en) 2014-12-03
CN104182698B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
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 (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1332881A (en) * 1998-08-04 2002-01-23 机密保护公司 Systems and methods for securing electronic message
US20090006561A1 (en) * 2007-06-27 2009-01-01 Burckart Erik J Method of and system for retracting instant messages
CN101384009A (en) * 2008-10-08 2009-03-11 深圳华为通信技术有限公司 Short message cancelling method and terminal
CN101389086A (en) * 2008-10-29 2009-03-18 深圳华为通信技术有限公司 Mobile terminal, server, system and method for short message withdraw
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
CN103516576A (en) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 Method for processing instant message and device thereof
CN103686863A (en) * 2012-09-12 2014-03-26 中国电信股份有限公司 Control signaling transfer method and control signaling transfer system
US20140164776A1 (en) * 2012-02-20 2014-06-12 Lock Box Pty Ltd Cryptographic method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1332881A (en) * 1998-08-04 2002-01-23 机密保护公司 Systems and methods for securing electronic message
US20090006561A1 (en) * 2007-06-27 2009-01-01 Burckart Erik J Method of and system for retracting instant messages
CN101384009A (en) * 2008-10-08 2009-03-11 深圳华为通信技术有限公司 Short message cancelling method and terminal
CN101389086A (en) * 2008-10-29 2009-03-18 深圳华为通信技术有限公司 Mobile terminal, server, system and method for short message withdraw
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
US20140164776A1 (en) * 2012-02-20 2014-06-12 Lock Box Pty Ltd Cryptographic method and system
CN103516576A (en) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 Method for processing instant message and device thereof
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

Cited By (1)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN104182698B (en) 2018-01-16

Similar Documents

Publication Publication Date Title
US10506428B2 (en) Wireless network connection method, apparatus, and system
CN104144049B (en) A kind of encryption communication method, system and device
EP3220573B1 (en) Method and system for controlling encryption of information and analyzing information as well as terminal
CN104507080A (en) File processing method and terminal
CN112287372B (en) Method and apparatus for protecting clipboard privacy
US20160094345A1 (en) Generating a qr code
US20170288870A1 (en) Methods and systems of securing and retrieving secret information
CN111178884A (en) Information processing method, device, equipment and readable storage medium
CN108667784B (en) System and method for protecting internet identity card verification information
CN104023332A (en) Electronic terminal and short message encrypting and decrypting method thereof
CN106685897B (en) Safe input method, device and system
CN104753675A (en) Information verification method, and electronic payment method, terminal, server and system
CN103839160A (en) Network transaction digital signing method and device
CN105069360B (en) A kind of file encryption, decryption method and terminal
CN104598782A (en) Data packaging and analysis method and device
CN103997730A (en) Method for decrypting, copying and pasting encrypted data
CN105678542B (en) payment service interaction method, payment terminal and payment cloud terminal
US20150156173A1 (en) Communication system utilizing fingerprint information and use thereof
CN107729345B (en) Website data processing method and device, website data processing platform and storage medium
CN104182698A (en) Data clearing method and electronic device
CN106685931B (en) Smart card application management method and system, terminal and smart card
CN105049332B (en) method for sharing files in group based on vehicle-mounted terminal
CN103997483A (en) Information safety control method and apparatus, and electronic device
US10594486B1 (en) Password identification system and method
CN105281913A (en) Electronic evidence processing method and system for electronic signature and dynamic code service systems

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