CN105224194B - A kind of data processing method and terminal - Google Patents

A kind of data processing method and terminal Download PDF

Info

Publication number
CN105224194B
CN105224194B CN201510546409.8A CN201510546409A CN105224194B CN 105224194 B CN105224194 B CN 105224194B CN 201510546409 A CN201510546409 A CN 201510546409A CN 105224194 B CN105224194 B CN 105224194B
Authority
CN
China
Prior art keywords
information
contact person
terminal
default
touch operation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510546409.8A
Other languages
Chinese (zh)
Other versions
CN105224194A (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.)
Meizu Telecom Equipment Co ltd
Original Assignee
Zhuhai Meizu Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Meizu Communication Equipment Co Ltd filed Critical Zhuhai Meizu Communication Equipment Co Ltd
Priority to CN201510546409.8A priority Critical patent/CN105224194B/en
Publication of CN105224194A publication Critical patent/CN105224194A/en
Application granted granted Critical
Publication of CN105224194B publication Critical patent/CN105224194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present embodiments relate to information technology field, a kind of data processing method and terminal are disclosed.Wherein, this method comprises: the terminal can receive the touch operation on its touch screen when terminal is in and puts out screen state or screen lock state;And judge whether the corresponding operational order of the touch operation is the information deletion instruction for presetting contact person;If so, just responding information deletion instruction, the information of the default contact person is deleted.Through the embodiment of the present invention, user can directly delete the information of default contact person when terminal puts out screen or screen lock state, reduce user's operation, to improve the deletion efficiency to terminal contact information, promote user experience.

Description

A kind of data processing method and terminal
Technical field
The present invention relates to information technology fields, and in particular to a kind of data processing method and terminal.
Background technique
Currently, the terminals such as smart phone, tablet computer are deleting the relevant information with some or multiple contact persons, it is such as short When the communications records such as letter, internet records, chat record, since these above-mentioned information preservations are in the corresponding file of different application In folder, so lookup and deletion that mobile terminal can only be one one.If user needs while deleting and some contact person Chat record and when short message, user is to need the selection communications records corresponding with the contact person in two different applications , therefore, mobile terminal needs to be implemented delete operation twice and could complete.As it can be seen that the behaviour of existing deleting communication record Make relatively complicated, causes communications records deletion efficiency lower.
Summary of the invention
The embodiment of the invention discloses a kind of data processing method and terminals, can be in terminal and put out screen or screen lock state When directly delete contact information, improve the deletion efficiency to terminal contact people's information.
The embodiment of the invention discloses a kind of data processing methods, comprising:
When terminal is in and puts out screen state or screen lock state, the touch operation on the terminal touch screen is received;
Judge whether the corresponding operational order of the touch operation is the information deletion instruction for presetting contact person;
If so, responding the information deletion instruction, the information of the default contact person is deleted.
Optionally, the response information deletion instruction, deletes the information of the default contact person, comprising:
At least one communications account of the default contact person is obtained, and is obtained logical at least one communications account Letter record;
The information deletion instruction is responded, the communications records are deleted.
Optionally, described to judge whether the corresponding operational order of the touch operation is that the information deletion of default contact person refers to It enables, comprising:
Judge whether the touch operation is that the operation for presetting the information of contact person is deleted in triggering;
If so, determining that the corresponding operational order of the touch operation is that the information deletion of the default contact person instructs.
Optionally, when the terminal is in screen lock state, the touch operation received on the terminal touch screen it Afterwards, it is described judge the corresponding operational order of the touch operation whether be default contact person information deletion instruction before, it is described Method further include:
Judge whether the touch operation is one of default unlock operation;
If so, releasing the screen lock state of the terminal.
Optionally, the response information deletion instructs, after the information for deleting the default contact person, the method Further include:
By the information back-up of the default contact person of deletion into default memory space;
Judge the deletion cancel an order that the information for the default contact person whether is received in effective time;
If so, restoring the information of the default contact person from the default memory space;
If it is not, then the information of the default contact person is deleted from the default memory space.
Correspondingly, the embodiment of the invention discloses a kind of terminals, comprising:
Receiving unit, for receiving on the terminal touch screen when the terminal is in and puts out screen state or screen lock state Touch operation;
First judging unit, for judging whether the corresponding operational order of the touch operation is the information for presetting contact person Delete instruction;
Unit is deleted, for judging that the corresponding operational order of the touch operation is default in first judging unit When the information deletion instruction of contact person, the information deletion instruction is responded, the information of the default contact person is deleted.
Optionally, the deletion unit includes obtaining subelement and deletion subelement, in which:
The acquisition subelement, for obtaining at least one communications account of the default contact person, and obtain with it is described The communications records of at least one communications account;
The deletion subelement deletes the communications records for responding the information deletion instruction.
Optionally, first judging unit includes judgment sub-unit and determining subelement, in which:
The judgment sub-unit, for judging whether the touch operation is the behaviour for triggering the information for deleting default contact person Make;
The determining subelement, for judging that the touch operation deletes default connection for triggering in the judgment sub-unit When being the operation of the information of people, determine that the corresponding operational order of the touch operation is that the information deletion of the default contact person refers to It enables.
Optionally, when the terminal is in screen lock state, the terminal further include:
Second judgment unit, for judging whether the touch operation is one of default unlock operation;
Lifting unit, for judging that the touch operation is one in default unlock operation in the second judgment unit When kind, the screen lock state of the terminal is released, and triggers first judging unit and executes the judgement touch operation pair Whether the operational order answered is the operation for presetting the information deletion instruction of contact person.
Optionally, the terminal further include:
Backup units, the information back-up for the default contact person that will be deleted is into default memory space;
Third judging unit is also used to judge whether to receive the information for the default contact person in effective time Deletion cancel an order;
Recovery unit, for judging to be received in effective time for described default in the third judging unit When being the deletion cancel an order of the information of people, restore the information of the default contact person from the default memory space;
The deletion unit is also used to judge not receive in effective time for institute in the third judging unit When stating the deletion cancel an order of the information of default contact person, by the information of the default contact person from the default memory space It deletes.
The implementation of the embodiments of the present invention has the following beneficial effects:
In the embodiment of the present invention, when terminal is in and puts out screen state or screen lock state, which can receive its touch screen On touch operation;And judge whether the corresponding operational order of the touch operation is the information deletion instruction for presetting contact person;Such as Fruit is just to respond information deletion instruction, deletes the information of the default contact person.Through the embodiment of the present invention, user can be The information that default contact person is directly deleted when terminal puts out screen or screen lock state, reduces user's operation, to improve to terminal contact The deletion efficiency of information promotes user experience.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow diagram of data processing method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another data processing method disclosed by the embodiments of the present invention;
Fig. 3 is the flow diagram of another data processing method disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of data processing method and terminals, can be in terminal and put out screen or screen lock state When directly delete contact information, improve the deletion efficiency to terminal contact people's information.It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of data processing method disclosed by the embodiments of the present invention.Wherein, scheme Method shown in 1 can be applied to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and Mobile internet device (Mobile Internet Devices, MID), personal digital assistant (Personal Digital Assistant, PDA), media player, smart television, smartwatch, intelligent glasses, the terminals such as Intelligent bracelet.Such as Fig. 1 institute Show, which may comprise steps of:
S101, terminal receive the touch operation on touch screen when in screen state or screen lock state is put out.
In the embodiment of the present invention, which may include the operation such as clicking, pressing, slide, wherein clicking operation can To include clicking, double-click or repeatedly clicking, pressing operation may include short-press, long-pressing etc., and slide can refer in terminal Touch screen on along linear slide, specific symbol or image etc. can also be slided out, the embodiment of the present invention is without limitation.Put out screen State is primarily referred to as the smallest state of screen luminance of terminal.And screen lock state indicates the locked state of terminal screen, in terminal When in screen lock state, user needs to draw correct pattern or sliding terminal screen ability by inputting correct password Release screen lock state.
Therefore, when terminal is in and puts out screen state or screen lock state, user can input touching on the touch screen of terminal Operation is touched, then terminal can receive the touch operation that user inputs on the touchscreen.Wherein, user input touch operation can be with It is to be also possible in designated position, the embodiment of the present invention is without limitation in any position of terminal touch screen.
S102, terminal judge whether the corresponding operational order of the touch operation is the information deletion instruction for presetting contact person, If so, executing step S103;If it is not, terminating this process.
In the embodiment of the present invention, touch operation corresponding to every kind of operational order can be stored in advance in terminal.Therefore, work as terminal When receiving the touch operation that user inputs on the touchscreen, terminal judge the touch operation whether with pre-stored each behaviour Make to instruct corresponding touch operation consistent.If consistent, which can further judge the corresponding operation of the touch operation Instruction whether be pre-set default contact person information deletion instruction.Wherein, default contact person can be what user specified One or several contact persons in address list are also possible to such as QQ, wechat, one or several on everybody social application software Connection, the embodiment of the present invention is without limitation.
Therefore, when terminal judges that the corresponding operational order of touch operation that user inputs is that the information of default contact person is deleted When except instruction, which just will be deleted the information of the default contact person.And when terminal judges the touch operation pair of user's input When the operational order answered is not the information deletion instruction of default contact person, which does not respond the touch operation.
As a kind of feasible embodiment, which judges whether the corresponding operational order of the touch operation is default connection Be people information deletion instruction concrete mode may comprise steps of:
Step 11) judges whether the touch operation is that the operation for presetting the information of contact person is deleted in triggering;
Step 12) determines the touching when judging the touch operation is the operation for the information that default contact person is deleted in triggering Touch the information deletion instruction for operating that corresponding operational order is the default contact person.
In the specific implementation, user can preassign the default connection of one or more that can delete contact information with a key People.The information deletion of each default contact person instructs corresponding touch operation can be different, be also possible to it is identical, also It says, user can set the same touch operation can delete the information of multiple default contact persons simultaneously, or each pre- If a different touch operation is set separately in contact person, for deleting the information of each contact person, the embodiment of the present invention respectively Without limitation.
Therefore, when inputting touch operation on the touch screen of terminal as user, whether which judges the touch operation The operation that the information of some or multiple default contact persons are deleted for triggering, if so, determining that the touch operation is corresponding Operational order is the information deletion instruction of the default contact person.
S103, terminal respond information deletion instruction, delete the information of default contact person, and terminate this process.
In the embodiment of the present invention, the information of default contact person can refer to that the communication between user and default contact person is remembered The information such as the communications account of the default contact person of this of record or terminal storage, the embodiment of the present invention is without limitation.In telephone directory Call-information in the telephone number and message registration of designated contact between designated contact, and contacted with specified Short message between people.For another example the instant messagings such as QQ, wechat application middle finger sets the account information of friend, and between the good friend Chat record etc..
Specifically, when terminal judges that the corresponding operational order of touch operation of user's input is the information of default contact person When deleting instruction, which will respond information deletion instruction, delete the information of the default contact person.When default contact person has When multiple, the information deletion instruction of the corresponding default contact person of a touch operation can be, be also possible to a touch behaviour Make while the information deletion of corresponding multiple default contact persons instructs, when user inputs the touch operation on the touchscreen, terminal The information of multiple default contact persons can be deleted simultaneously.
As it is a kind of can property embodiment, terminal responds information deletion instruction, deletes the information of default contact person Concrete mode may comprise steps of:
Step 21) obtains at least one communications account of the default contact person, and obtains and at least one communications account Communications records;
Step 22) responds information deletion instruction, deletes the communications records.
In the specific implementation, therefore user may work as terminal added with multiple communications accounts for the same default contact person When the corresponding operational order of touch operation for judging user's input is the information deletion instruction of the default contact person, the terminal is just All or part of communications accounts of its installation application or the default contact person being locally stored can be obtained, and are obtained and each communication Communications records between account.Wherein, the communications account can for telephone number, QQ account, wechat account, Email Accounts etc., The embodiment of the present invention is without limitation.
As an example it is assumed that the pre-set default contact person of user includes A, B, C, D, and each preset the letter of contact person It is different that breath deletes the corresponding touch operation of instruction.So when user inputs long press operation on the touchscreen, it is assumed that the terminal Judge that the information deletion that the corresponding operational order of the long press operation is B instructs.Therefore, which just will be deleted the QQ of B, wechat And telephone number, and chat record between B and short message message registration etc..
Again as an example it is assumed that the pre-set default contact person of user includes W, H, the information of the two contact persons is triggered Deleting instruction is all to slide S character in the lower right field of touch screen.Therefore, when user inputs slide on the touchscreen When, which judges whether corresponding sliding trace of the slide etc. instructs with the information deletion of the two contact persons first The sliding trace of corresponding slide is consistent, if so, the terminal will search respectively W's and H from local folders QQ account and the user chat record etc. between W and the QQ of H respectively, the terminal then will delete simultaneously with W and The QQ account of H, and deletion and the chat record between them.
Optionally, terminal responds information deletion instruction, and the concrete mode for deleting the information of default contact person can be with are as follows:
Obtain all communications accounts and the corresponding application of each communications account of the default contact person.From local file In folder in the corresponding application memory file of each communications account, the communications records between each communications account deleted and obtained, All communications accounts of the default contact person can also be deleted simultaneously.
As it can be seen that in the method depicted in fig. 1, terminal can receive user at it when putting out screen state or screen lock state The touch operation inputted on touch screen, and judge whether the corresponding operational order of the touch operation is that the information of default contact person is deleted Except instruction, if so, just responding information deletion instruction, the information of the default contact person is deleted.Through the embodiment of the present invention, it uses Family can directly delete the information of default contact person when terminal puts out screen or screen lock state, reduce user's operation, thus raising pair The deletion efficiency of terminal contact information promotes user experience.
Referring to Fig. 2, Fig. 2 is the flow diagram of another data processing method disclosed by the embodiments of the present invention.Wherein, Method shown in Fig. 2 can be applied to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC with And mobile internet device, personal digital assistant, media player, smart television, smartwatch, intelligent glasses, Intelligent bracelet Etc. terminals.As shown in Fig. 2, the terminal split screen method may comprise steps of:
S201, terminal receive the touch operation on touch screen when being in screen lock state.
S202, terminal judge whether the touch operation is one of default unlock operation, if so, executing step S203; If it is not, terminating this process.
During the present invention is implemented, terminal can preset that there are many unlock operation, that is, multiple unlocking pins, a kind of solutions Lock operation can be used for normal release, remaining one or more unlock operation can bind designated contact, when user's input When being normal release operation, which only releases the screen lock state of terminal, and when user's input be remaining unlock operation when, The terminal can delete the information with the default contact person of the unlock operation binding while unlock.
That is, when terminal is in screen lock state, if user inputs touch operation on the touch screen of terminal, that The terminal can receive the touch operation, and judge whether the touch operation is one of default unlock operation.If should Touch operation is unlock operation, then the terminal will release its screen lock state.If the touch operation is not unlock operation, should Terminal does not do any response.
For example, if the unlocking manner of terminal is the unlock that draws a design, terminal can be preset, and such as be drawn The terminal can be unlocked when W and M character.Therefore, when user is waken up terminal by black state, which can be defeated The prompt information of prompt user unlock out.If the pattern that user draws and the pattern for unlock are inconsistent, the terminal User will be prompted to unlock failure.Further, the number that terminal can also prompt user's residue to unlock, for preventing terminal quilt Illegal user obtains user privacy information when robber.And if be somebody's turn to do when the pattern that user draws is any one in W or M character Terminal will judge that the touch operation for drawing the pattern is one of default unlock operation, therefore, will release the terminal Screen lock state.
S203, terminal release the screen lock state of the terminal.
S204, terminal judge whether the corresponding operational order of the touch operation is the information deletion instruction for presetting contact person, If so, executing step S205;If it is not, terminating this process.
S205, terminal respond information deletion instruction, delete the information of default contact person, and terminate this process.
In the embodiment of the present invention, terminal can preset multiple unlocking pins, touch when user inputs in screen lock state When operation the terminal judge first user input touch operation whether be the corresponding operation of unlocking pin, if it is so should Terminal can release its screen lock state, then further judge whether the corresponding operational order of the touch operation is default contact person Information deletion instruction, if so, the information of the default contact person is deleted, if it is not, only carrying out unlock operation.
As it can be seen that in the method depicted in fig. 2, user can delete one or more while being unlocked to terminal The communications account of a designated contact and the communications records between these communications accounts.Specified connection is realized in unlock in this way It is the key deletion of people's information, it is possible to reduce search operation when user deletes promotes user experience.
Referring to Fig. 3, Fig. 3 is the flow diagram of another data processing method disclosed by the embodiments of the present invention.Wherein, Method shown in Fig. 3 can be applied to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC with And mobile internet device, personal digital assistant, media player, smart television, smartwatch, intelligent glasses, Intelligent bracelet Etc. terminals.As shown in figure 3, the terminal split screen method may comprise steps of:
S301, terminal receive the touch operation on touch screen when in screen state or screen lock state is put out.
S302, terminal judge whether the corresponding operational order of the touch operation is the information deletion instruction for presetting contact person, If so, executing step S303;If it is not, terminating this process.
S303, terminal respond information deletion instruction, delete the information of default contact person.
S304, terminal are by the information back-up of the default contact person of deletion into default memory space.
It, can be by the information back-up of deletion to pre- after terminal deletion presets the information of contact person in the embodiment of the present invention If memory space.Wherein, which can be network hard disc, the file for being provided with password, server etc., this hair Bright embodiment is without limitation.That is, after terminal response message deletes information deletion of the instruction by default contact person, it should The information that this can be preset contact person by terminal stores to network hard disc etc. others and is difficult in the default memory space viewed.
Whether S305, terminal judge to receive in effective time refers to for the deletion revocation for presetting the information of contact person It enables, if so, executing step S306;If it is not, executing step S307.
In the embodiment of the present invention, what the information that effective time is primarily referred to as default contact person stored in default memory space Life cycle, the effective time can be 30 seconds, 1 minute, 3 minutes etc., can be terminal system setting, are also possible to user It is arranged, the embodiment of the present invention is without limitation.Therefore, terminal can judge always after the information for deleting default contact person Whether the deletion cancel an order of for this presetting the information of contact person is received in effective time.Wherein, this presets contact person's The deletion cancel an order of information, which can be, inputs what some specific operation generated by user, and it is pre- into this to be also possible to user If being directed to the deletion revocation function triggering that the default contact person chooses after memory space, the embodiment of the present invention is without limitation.
S306, terminal preset the information for restoring the default contact person in memory space from this, and terminate this process.
In the embodiment of the present invention, judges to receive in effective time when terminal and preset the information of contact person for this Cancel an order is deleted, which will respond the deletion cancel an order, preset from this and restore the default contact person in memory space Information.Specifically, the terminal will be deleted the information of the default contact person backed up in the default memory space, and with same The information for presetting contact person is restored in the file before deleting by path.
For example, when information back-up to network hard disc of the terminal by the default contact person of deletion, user is when effective Another touch operation is inputted on the touch screen of terminal in 2 minutes long, H character is such as slided, then the terminal will receive needle To the deletion cancel an order of the information for presetting contact person, so that the deletion cancel an order is responded, by what is stored in network hard disc The information of the default contact person is restored in the local folders of terminal.
The information for presetting contact person is preset in memory space from this and is deleted, and terminates this process by S307, terminal.
In the embodiment of the present invention, when terminal is judged not receive the information for presetting contact person for this in effective time Deletion cancel an order, then the terminal will directly delete the default connection after effective time from default memory space It is the information of people.That is, if user does not do reduction treatment to the information of the default contact person of deletion in effective time, So this will be preset the information complete deletion of contact person by the terminal, thus irrecoverable.
For example, when information back-up to network hard disc of the terminal by the default contact person of deletion, if user is having There is no the operations inputted on the touch screen of terminal as slided H character in effect duration 2 minutes, then the terminal indicates that The deletion cancel an order that the information of contact person is preset for this is not received in effective time, thus after 2 minutes, it will The information complete deletion of the default contact person stored in network hard disc.
As it can be seen that in the method depicted in fig. 3, terminal can will back up to default after the information deletion of default contact person In memory space, only user inputs the operation for restoring the information for presetting contact person in effective time, then the end End will restore the information of the default contact person again, can prevent the maloperation of user, in this way so as to avoid to preset The information of contact person is accidentally deleted.Further, it can also be restored in effective time after the information for deleting default contact person The information, to view the communications records between user and default contact person, Jin Eryou when preventing other people using the terminal User privacy information is protected to effect, improves the safety of end message.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of terminal disclosed by the embodiments of the present invention.Wherein, shown in Fig. 4 Terminal 400 can include but is not limited to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC with And mobile internet device, personal digital assistant, media player, smart television, smartwatch, intelligent glasses, Intelligent bracelet Deng.As shown in figure 4, the terminal 400 may include with lower unit:
Receiving unit 401, for receiving 400 touch screen of terminal when terminal 400 is in and puts out screen state or screen lock state On touch operation.
In the embodiment of the present invention, which may include the operation such as clicking, pressing, slide, wherein clicking operation can To include clicking, double-click or repeatedly clicking, pressing operation may include short-press, long-pressing etc., and slide can refer in terminal Along linear slide on 400 touch screen, specific symbol or image etc. can also be slided out, the embodiment of the present invention is without limitation. It puts out screen state and is primarily referred to as the smallest state of 400 screen intensity of terminal.And screen lock state indicates the locked shape of 400 screen of terminal State, when terminal 400 is in screen lock state, user needs to draw correct pattern or sliding by inputting correct password Terminal screen could release screen lock state.
Therefore, when terminal 400 is in and puts out screen state or screen lock state, user can be on the touch screen of terminal 400 Touch operation is inputted, then receiving unit 401 can receive the touch operation that user inputs on the touchscreen.Wherein, user is defeated Entering touch operation can be in any position of 400 touch screen of terminal, be also possible in designated position, the embodiment of the present invention is not done It limits.
First judging unit 402, for judging whether is the corresponding operational order of touch operation that receiving unit 401 receives For the information deletion instruction for presetting contact person.
In the embodiment of the present invention, touch operation corresponding to every kind of operational order can be stored in advance in terminal 400.Therefore, when When receiving unit 401 receives the touch operation that user inputs on the touchscreen, the first judging unit 402 judges touch behaviour Make whether touch operation corresponding with pre-stored each operational order is consistent.If consistent, 402 meeting of the first judging unit Further judge the corresponding operational order of the touch operation whether be pre-set default contact person information deletion instruction.Its In, default contact person can be one or several contact persons in the address list that user specifies, and be also possible to such as QQ, wechat, people One or several connections on the social applications software such as people, the embodiment of the present invention is without limitation.
Therefore, when the first judging unit 402 judges that the corresponding operational order of touch operation of user's input is default connection When being the information deletion instruction of people, deleting unit 403 just will be deleted the information of the default contact person.And when the first judging unit When the 402 corresponding operational orders of touch operation for judging that user inputs are not the information deletion instruction for presetting contact person, the end The 400 pairs of touch operations in end do not respond.
Unit 403 is deleted, for judging that the corresponding operational order of the touch operation is default in the first judging unit 402 When the information deletion instruction of contact person, information deletion instruction is responded, deletes the information of the default contact person.
In the embodiment of the present invention, the information of default contact person can refer to that the communication between user and default contact person is remembered The information such as the communications account of the default contact person that record or terminal 400 store, the embodiment of the present invention is without limitation.Such as phone Call-information in the telephone number and message registration of thin middle designated contact between designated contact, and with it is specified Short message between contact person.For another example the instant messagings such as QQ, wechat application middle finger set friend account information, and with the good friend Between chat record etc..
Specifically, when the first judging unit 402 judges that the corresponding operational order of touch operation of user's input is default When the information deletion instruction of contact person, information deletion instruction will be responded by deleting unit 403, delete the letter of the default contact person Breath.When default contact person has multiple, the information deletion instruction of the corresponding default contact person of a touch operation can be, It can be a touch operation while the information deletion instruction of corresponding multiple default contact persons, be somebody's turn to do when user inputs on the touchscreen When touch operation, the information of multiple default contact persons can be deleted simultaneously by deleting unit 403.
As an example it is assumed that the pre-set default contact person of user includes A, B, C, D, and each preset the letter of contact person It is different that breath deletes the corresponding touch operation of instruction.So when user inputs long press operation on the touchscreen, it is assumed that first sentences Disconnected unit 402 judges that the information deletion that the corresponding operational order of the long press operation is B instructs.Therefore, deleting unit 403 will Delete QQ, wechat and the telephone number of B, and chat record between B and short message message registration etc..
Optionally, it deletes unit 403 and responds information deletion instruction, the concrete mode for deleting the information of default contact person can With are as follows:
Obtain all communications accounts and the corresponding application of each communications account of the default contact person.From local file In folder in the corresponding application memory file of each communications account, the communications records between each communications account deleted and obtained, All communications accounts of the default contact person can also be deleted simultaneously.
As it can be seen that terminal can receive user at it when putting out screen state or screen lock state in the terminal described in Fig. 4 The touch operation inputted on touch screen, and judge whether the corresponding operational order of the touch operation is that the information of default contact person is deleted Except instruction, if so, just responding information deletion instruction, the information of the default contact person is deleted.Through the embodiment of the present invention, it uses Family can directly delete the information of default contact person when terminal puts out screen or screen lock state, reduce user's operation, thus raising pair The deletion efficiency of terminal contact information promotes user experience.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention.Wherein, shown in Fig. 5 Terminal 400 be to optimize on the basis of terminal 400 shown in Fig. 4 to obtain.As shown in figure 5, the terminal 400 can also include With lower unit:
Second judgment unit 404, for receiving touch screen when the terminal 400 is in screen lock state in receiving unit 401 On touch operation after, judge whether the touch operation is one of default unlock operation.
During the present invention is implemented, terminal 400 can be preset there are many unlock operation, that is, multiple unlocking pins, and one Kind unlock operation can be used for normal release, remaining one or more unlocks operation can bind designated contact, when user is defeated When what is entered is normal release operation, lifting unit 405 only releases the screen lock state of terminal 400, and work as user's input is it When remaining unlock operates, the deletion of unit 403 can be deleted with the unlock and operates the pre- of binding while lifting unit 405 unlocks If the information of contact person.
That is, when terminal 400 is in screen lock state, if user inputs touch on the touch screen of terminal 400 Operation, then receiving unit 401 can receive the touch operation, second judgment unit 404 and judge the touch operation whether be One of default unlock operation.If the touch operation is unlock operation, which will release its screen locking State.If the touch operation is not unlock operation, which does not do any response.
For example, if the unlocking manner of terminal 400 is the unlock that draws a design, terminal 400 can be preset, The terminal 400 can be unlocked when such as drawing W and M character.Therefore, when user is waken up terminal 400 by black state When, which can export the prompt information of prompt user's unlock.If the pattern that user draws and the pattern for unlock are not Unanimously, then the terminal 400 will prompt user to unlock failure.Further, terminal 400 can also prompt user's residue to unlock Number, when for preventing terminal 400 to be stolen illegal user obtain user privacy information.And if the pattern that user draws is W Or when any one in M character, second judgment unit 404 will judge that the touch operation for drawing the pattern is default unlock One of operation, therefore, lifting unit 405 will release the screen lock state of the terminal 400.
Lifting unit 405, for judging that the touch operation is one in default unlock operation in second judgment unit 404 When kind, the screen lock state of the terminal is released, and triggers the execution of the first judging unit 402 and judges that the corresponding operation of the touch operation refers to Whether enable is the operation for presetting the information deletion instruction of contact person.
In the embodiment of the present invention, terminal 400 can preset multiple unlocking pins, touch when user inputs in screen lock state Whether the touch operation that the second judgment unit 404 judges user's input first when touching operation is the corresponding behaviour of unlocking pin Make, its screen lock state can be released if it is so osculating element 405, then the first judging unit 402 further judges the touching It touches and operates whether corresponding operational order is the information deletion instruction for presetting contact person, this is pre- if so, deleting the deletion of unit 403 If the information of contact person, if it is not, only carrying out unlock operation.
In the embodiment of the present invention, the first judging unit 402 may determine that subelement 4021 and determine subelement 4022, In:
Judgment sub-unit 4021, for judging whether the touch operation is the behaviour for triggering the information for deleting default contact person Make.
Subelement 4022 is determined, for judging that the touch operation deletes default connection for triggering in judgment sub-unit 4021 When the operation of the information of people, the information deletion instruction that the corresponding operational order of the touch operation is the default contact person is determined.
In the specific implementation, user can preassign the default connection of one or more that can delete contact information with a key People.The information deletion of each default contact person instructs corresponding touch operation can be different, be also possible to it is identical, also It says, user can set the same touch operation can delete the information of multiple default contact persons simultaneously, or each pre- If a different touch operation is set separately in contact person, for deleting the information of each contact person, the embodiment of the present invention respectively Without limitation.
Therefore, when inputting touch operation on the touch screen of terminal 400 as user, judgment sub-unit 4021 judges the touching Touch whether operation is the operation for triggering the information for deleting some or multiple default contact persons, if so, determining subelement 4022 determine that the information deletion instruction that the corresponding operational order of the touch operation is the default contact person.
In the embodiment of the present invention, deleting unit 403 may include obtaining subelement 4031 and deletion subelement 4032, In:
Subelement 4031 is obtained, for obtaining at least one communications account of the default contact person, and is obtained with this at least The communications records of one communications account.
Subelement 4032 is deleted, for responding information deletion instruction, deletes the communications records.
In the specific implementation, user may be added with multiple communications accounts for the same default contact person, therefore, when first Judging unit 402 judges the information deletion instruction that the corresponding operational order of touch operation of user's input is the default contact person When, all or part of communication accounts of its installation application or the default contact person being locally stored will be obtained by obtaining subelement 4031 Number, and obtain the communications records between each communications account.Wherein, which can be telephone number, QQ account, micro- Believe account, Email Accounts etc., the embodiment of the present invention is without limitation.
As an example it is assumed that the pre-set default contact person of user includes W, H, the information for triggering the two contact persons is deleted Except instruction is all to slide S character in the lower right field of touch screen.Therefore, when user inputs slide on the touchscreen, First judging unit 402 judges whether corresponding sliding trace of the slide etc. is deleted with the information of the two contact persons first Except instructing the sliding trace of corresponding slide consistent, if so, obtaining subelement 4031 will divide from local folders Not Cha Zhao W and H QQ account and user's chat record etc. between W and the QQ of H respectively, delete subelement 4032 Then the QQ account with W and H, and deletion and the chat record between them will be deleted simultaneously.
As it can be seen that in the terminal depicted in fig. 5, user can delete one or more while being unlocked to terminal The communications account of a designated contact and the communications records between these communications accounts.Specified connection is realized in unlock in this way It is the key deletion of people's information, it is possible to reduce search operation when user deletes promotes user experience.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another terminal disclosed by the embodiments of the present invention.Wherein, shown in Fig. 6 Terminal 400 be to optimize on the basis of terminal 400 shown in Fig. 4 to obtain.As shown in fig. 6, the terminal 400 can also include With lower unit:
Backup units 407, the information back-up of the default contact person for that will delete is into default memory space.
In the embodiment of the present invention, after deleting the information that unit 403 deletes default contact person, backup units 407 can be incited somebody to action The information back-up of deletion is to default memory space.Wherein, which can be network hard disc, the text for being provided with password Part folder, server etc., the embodiment of the present invention is without limitation.That is, will be pre- when deleting the deletion instruction of 403 response message of unit If after the information deletion of contact person, backup units 407 information for presetting contact person can be stored to network hard disc etc. others It is difficult in the default memory space viewed.
Third judging unit 408, for judging whether receive the information for presetting contact person for this in effective time Deletion cancel an order.
In the embodiment of the present invention, what the information that effective time is primarily referred to as default contact person stored in default memory space Life cycle, the effective time can be 30 seconds, 1 minute, 3 minutes etc., can be the setting of 400 system of terminal, are also possible to User setting, the embodiment of the present invention is without limitation.Therefore, after deleting unit 403 and deleting the information for presetting contact person, the Three judging units 408 can judge always the deletion revocation that the information of contact person is preset for this whether is received in effective time Instruction.Wherein, the deletion cancel an order of the information of the default contact person, which can be, inputs some specific operation life by user At, it is also possible to user into the default memory space and is directed to the deletion revocation function triggering that the default contact person chooses later , the embodiment of the present invention is without limitation.
Recovery unit 409, for judging to be received in effective time for the default connection in third judging unit 408 When being the deletion cancel an order of the information of people, the information for restoring the default contact person in memory space is preset from this.
In the embodiment of the present invention, when third judging unit 408 is judged to be received in effective time for the default connection It is the deletion cancel an order of the information of people, recovery unit 409 will respond the deletion cancel an order, preset in memory space from this Restore the information of the default contact person.Specifically, recovery unit 409 will be deleted the default connection backed up in the default memory space It is the information of people, and the information for presetting contact person is restored in the file before deleting with same path.
For example, when information back-up to network hard disc of the backup units 407 by the default contact person of deletion, Yong Hu Another touch operation is inputted on the touch screen of terminal 400 in effective time 2 minutes, H character is such as slided, then the terminal 400 The deletion cancel an order that the information of contact person is preset for this will be received, recovery unit 409 is to respond deletion revocation The information of the default contact person stored in network hard disc is restored in the local folders of terminal 400 by instruction.
Unit 403 is deleted, is also used to judge not receive in effective time in third judging unit 408 pre- for this If when the deletion cancel an order of the information of contact person, which being preset in memory space from this and is deleted.
In the embodiment of the present invention, judges not receive in effective time when third judging unit 408 and be preset for this The deletion cancel an order of the information of contact person, then deleting unit 403 will be directly empty from default storage after effective time Between the middle information for deleting the default contact person.That is, if user is in effective time not to the default contact person of deletion Information do reduction treatment, then this will be preset the information complete deletion of contact person by deleting unit 403, thus can not be extensive It is multiple.
For example, when information back-up to network hard disc of the backup units 407 by the default contact person of deletion, Yong Huru There is no the operations inputted on the touch screen of terminal 400 as slided H character in effective time 2 minutes for fruit, then third is sentenced Disconnected unit 408 indicates that not receive in effective time to be referred to for the deletion revocation for presetting the information of contact person It enables, deletes unit 403 to which after 2 minutes, this stored in network hard disc is preset the information complete deletion of contact person.
As it can be seen that terminal can will back up to default in the terminal described in Fig. 6 after the information deletion of default contact person In memory space, only user inputs the operation for restoring the information for presetting contact person in effective time, then the end End will restore the information of the default contact person again, can prevent the maloperation of user, in this way so as to avoid to preset The information of contact person is accidentally deleted.Further, it can also be restored in effective time after the information for deleting default contact person The information, to view the communications records between user and default contact person, Jin Eryou when preventing other people using the terminal User privacy information is protected to effect, improves the safety of end message.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of data processing method characterized by comprising
When terminal is in and puts out screen state or screen lock state, the touch operation on the terminal touch screen is received, it is described to put out screen shape State is the smallest state of the screen luminance of terminal, and the screen lock state is the state that the terminal screen is locked, the touching Operation is touched as in the operation of any position of terminal touch screen input;
Judge whether the corresponding operational order of the touch operation is the information deletion instruction for presetting contact person;
If so, responding the information deletion instruction, the information of the default contact person is deleted.
2. the method according to claim 1, wherein the response information deletion instruction, is deleted described pre- If the information of contact person, comprising:
At least one communications account of the default contact person is obtained, and the communication obtained at least one communications account is remembered Record;
The information deletion instruction is responded, the communications records are deleted.
3. method according to claim 1 or 2, which is characterized in that corresponding operate of the judgement touch operation refers to Whether enable is the information deletion instruction for presetting contact person, comprising:
Judge whether the touch operation is that the operation for presetting the information of contact person is deleted in triggering;
If so, determining that the corresponding operational order of the touch operation is that the information deletion of the default contact person instructs.
4. method according to claim 1 or 2, which is characterized in that when the terminal is in screen lock state, the reception It is described to judge whether the corresponding operational order of the touch operation is default connection after touch operation on the terminal touch screen Be people information deletion instruction before, the method also includes:
Judge whether the touch operation is one of default unlock operation;
If so, releasing the screen lock state of the terminal.
5. the method according to claim 1, wherein the response information deletion instruction, is deleted described pre- If after the information of contact person, the method also includes:
By the information back-up of the default contact person of deletion into default memory space;
Judge the deletion cancel an order that the information for the default contact person whether is received in effective time;
If so, restoring the information of the default contact person from the default memory space;
If it is not, then the information of the default contact person is deleted from the default memory space.
6. a kind of terminal characterized by comprising
Receiving unit, for receiving the touching on the terminal touch screen when the terminal is in and puts out screen state or screen lock state Operation is touched, the screen state of putting out is the smallest state of the screen luminance of terminal, and the screen lock state is the terminal screen quilt The state of locking, the touch operation are the operation inputted in any position of the terminal touch screen;
First judging unit, for judging whether the corresponding operational order of the touch operation is the information deletion for presetting contact person Instruction;
Unit is deleted, for judging that the corresponding operational order of the touch operation is default connection in first judging unit When the information deletion instruction of people, the information deletion instruction is responded, the information of the default contact person is deleted.
7. terminal according to claim 6, which is characterized in that the deletion unit includes obtaining subelement and deleting sub Unit, in which:
The acquisition subelement, for obtaining at least one communications account of the default contact person, and obtain with it is described at least The communications records of one communications account;
The deletion subelement deletes the communications records for responding the information deletion instruction.
8. terminal according to claim 6 or 7, which is characterized in that first judging unit include judgment sub-unit with And determine subelement, in which:
The judgment sub-unit, for judging whether the touch operation is the operation for triggering the information for deleting default contact person;
The determining subelement, for judging that the touch operation deletes default contact person for triggering in the judgment sub-unit Information operation when, determine the corresponding operational order of the touch operation be the default contact person information deletion instruct.
9. terminal according to claim 6 or 7, which is characterized in that when the terminal is in screen lock state, the terminal Further include:
Second judgment unit, for judging whether the touch operation is one of default unlock operation;
Lifting unit, for judging that the touch operation is one of default unlock operation in the second judgment unit When, the screen lock state of the terminal is released, and it is corresponding to trigger the first judging unit execution judgement touch operation Operational order whether be default contact person information deletion instruction operation.
10. terminal according to claim 6, which is characterized in that the terminal further include:
Backup units, the information back-up for the default contact person that will be deleted is into default memory space;
Third judging unit, the deletion for judging whether to receive the information for the default contact person in effective time Cancel an order;
Recovery unit, for judging to be received in effective time for the default contact person in the third judging unit Information deletion cancel an order when, restore the information of the default contact person from the default memory space;
The deletion unit is also used to judge not receive in effective time for described pre- in the third judging unit If when the deletion cancel an order of the information of contact person, the information of the default contact person is deleted from the default memory space It removes.
CN201510546409.8A 2015-08-31 2015-08-31 A kind of data processing method and terminal Active CN105224194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510546409.8A CN105224194B (en) 2015-08-31 2015-08-31 A kind of data processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510546409.8A CN105224194B (en) 2015-08-31 2015-08-31 A kind of data processing method and terminal

Publications (2)

Publication Number Publication Date
CN105224194A CN105224194A (en) 2016-01-06
CN105224194B true CN105224194B (en) 2019-01-15

Family

ID=54993204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510546409.8A Active CN105224194B (en) 2015-08-31 2015-08-31 A kind of data processing method and terminal

Country Status (1)

Country Link
CN (1) CN105224194B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956442A (en) * 2016-04-29 2016-09-21 宇龙计算机通信科技(深圳)有限公司 Data clearing method and terminal device
CN106775380A (en) * 2016-11-24 2017-05-31 宇龙计算机通信科技(深圳)有限公司 Prevent error correction method, device and the mobile terminal of maloperation
CN107045604A (en) * 2017-02-22 2017-08-15 北京小米移动软件有限公司 Information processing method and device
CN107368265A (en) * 2017-07-27 2017-11-21 深圳天珑无线科技有限公司 Information processing method, device, non-transient computer readable storage medium storing program for executing and terminal
CN111176502A (en) * 2019-12-05 2020-05-19 宇龙计算机通信科技(深圳)有限公司 Notification message clearing method, device, storage medium and terminal
CN111694996A (en) * 2020-05-15 2020-09-22 维沃移动通信有限公司 Contact management method, device, electronic equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997964A (en) * 2009-08-13 2011-03-30 中国电信股份有限公司 Processing method of mobile communication terminal and contact records thereof
CN103179247A (en) * 2013-03-12 2013-06-26 广东欧珀移动通信有限公司 Mobile terminal information deleting method and mobile intelligent terminal
CN104111799A (en) * 2014-07-30 2014-10-22 广州视源电子科技股份有限公司 Gesture reminding method under screen locking status
CN104216991A (en) * 2014-09-09 2014-12-17 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812990B (en) * 2012-11-15 2016-02-03 展讯通信(上海)有限公司 Terminal equipment and control method thereof
KR20150032963A (en) * 2013-09-23 2015-04-01 주식회사 팬택 Apparatus and method for protecting privacy in terminal
CN104346100A (en) * 2014-10-17 2015-02-11 广东欧珀移动通信有限公司 Method and device for rapidly operating smart mobile terminal in blank screen state

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997964A (en) * 2009-08-13 2011-03-30 中国电信股份有限公司 Processing method of mobile communication terminal and contact records thereof
CN103179247A (en) * 2013-03-12 2013-06-26 广东欧珀移动通信有限公司 Mobile terminal information deleting method and mobile intelligent terminal
CN104111799A (en) * 2014-07-30 2014-10-22 广州视源电子科技股份有限公司 Gesture reminding method under screen locking status
CN104216991A (en) * 2014-09-09 2014-12-17 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105224194A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105224194B (en) A kind of data processing method and terminal
US11394555B2 (en) Mobile terminal privacy protection method and protection apparatus, and mobile terminal
CN106991304B (en) Message processing method and device
CN104978109B (en) A kind of Application Program Interface display methods and terminal
CN105045085B (en) The control method and intelligent watch of a kind of intelligent watch
WO2014169600A1 (en) Method, device and terminal for processing hidden file folder
CN106127077B (en) A kind of method and terminal for protecting user privacy information
CN103336924A (en) Starting lock for mobile terminal application program
CN103838494A (en) Unlocking method of terminal equipment and terminal equipment
CN103902862A (en) Mobile device management method and device and mobile device
CN107995973A (en) A kind of information processing method and device
CN107103224B (en) Unlocking method and mobile terminal
CN109085976A (en) Interface hidden method and device
CN107632870A (en) The startup method and terminal of a kind of application
CN106599115B (en) Data protection method, device and terminal
CN104462892A (en) Terminal
CN105205410B (en) Data managing method and terminal
CN104346549A (en) Information processing method and electronic equipment
CN104318137A (en) Activating or switching method, device and terminal for operating system and/or application program
CN104318185A (en) Application control method, application control equipment and mobile terminal
CN104021327A (en) Method and device for unlocking intelligent device
CN105045465A (en) Method and terminal for accessing to applications quickly from unlock interface
CN104809373B (en) A kind of method of terminal unlocking
CN103874985B (en) The method and terminal device that a kind of terminal device is presented
CN107317926A (en) The method and device of hiden application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 519080 Technology Innovation Coast Meizu science and technology building, Xiangzhou District, Zhuhai, Guangdong

Applicant after: MEIZU TECHNOLOGY Co.,Ltd.

Address before: 519080 Technology Innovation Coast Meizu science and technology building, Xiangzhou District, Zhuhai, Guangdong

Applicant before: Meizu Technology (China) Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20181112

Address after: 519080, fourth floor, No. 2 Baisha Road, Tangjia Bay, Zhuhai, Guangdong.

Applicant after: Zhuhai Meizu communication equipment Co.,Ltd.

Address before: 519080 Technology Innovation Coast Meizu science and technology building, Xiangzhou District, Zhuhai, Guangdong

Applicant before: MEIZU TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 519085, fourth floor, No. 2 Baisha Road, Tangjia Bay, Zhuhai, Guangdong.

Patentee after: Meizu Telecom Equipment Co.,Ltd.

Address before: The fourth floor of Building 2 Baisha Road, Tangjiawan Town, Zhuhai City

Patentee before: Zhuhai Meizu communication equipment Co.,Ltd.

CP03 Change of name, title or address