CN105095004B - Information processing method and electronic equipment - Google Patents
Information processing method and electronic equipment Download PDFInfo
- Publication number
- CN105095004B CN105095004B CN201510370175.6A CN201510370175A CN105095004B CN 105095004 B CN105095004 B CN 105095004B CN 201510370175 A CN201510370175 A CN 201510370175A CN 105095004 B CN105095004 B CN 105095004B
- Authority
- CN
- China
- Prior art keywords
- information
- piece
- parameter
- reserved
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Abstract
The embodiment of the application provides an information processing method and electronic equipment, and solves the technical problem of mistakenly deleting information during batch deletion. The method comprises the following steps: receiving a first operation executed for a plurality of information, wherein the first operation is used for deleting the plurality of information in batches; judging whether the plurality of information meet a first preset condition or not; when at least one piece of information meets the first preset condition, determining the at least one piece of information as reserved information; and executing a batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to an information processing method and an electronic device.
Background
With the continuous development of science and technology, electronic technology has also been developed rapidly, and the variety of electronic products is more and more, and people also enjoy various conveniences brought by the development of science and technology. People can enjoy comfortable life brought along with the development of science and technology through various types of electronic equipment.
For example, a mobile phone has many functions such as accessing the internet, editing documents, and playing games from the first call function, and becomes one of the most indispensable electronic devices for users.
The current mobile phone of the user receives a plurality of short messages or mails every day. These messages or mails include not only messages sent by contacts but also spam messages such as advertisements, promotions, or fraud messages. If the user uses the batch deletion or the complete deletion function, other valuable short messages can be deleted by mistake.
Therefore, the prior art has the technical problem that important information is deleted by mistake when a batch deletion function or a complete deletion function is executed.
Disclosure of Invention
The embodiment of the application provides an information processing method and electronic equipment, and solves the technical problem of mistakenly deleting information during batch deletion.
In a first aspect, the present application provides an information processing method, including:
receiving a first operation executed for a plurality of information, wherein the first operation is used for deleting the plurality of information in batches;
judging whether the plurality of information meet a first preset condition or not;
when at least one piece of information meets the first preset condition, determining the at least one piece of information as the reserved information;
and executing a batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information.
Optionally, after executing a batch delete instruction, deleting the rest of the information except the retained information in the plurality of information, and retaining the retained information, the method includes:
receiving a second operation performed on at least one retention information, the second operation being used for deleting the at least one retention information;
deleting the at least one retention information.
Optionally, the determining whether the plurality of pieces of information satisfy a first preset condition includes:
obtaining a first parameter of a sender of each message;
judging whether the first parameter is matched with at least one second parameter of an application program installed in the electronic equipment;
when at least one piece of information meets the first preset condition, determining that the at least one piece of information is the reserved information, including:
determining the at least one message as the reserved message when the first parameter of the at least one message matches the at least one second parameter.
Optionally, the determining whether the plurality of pieces of information satisfy a first preset condition includes:
extracting keywords in each information content;
judging whether the keywords are matched with at least one preset keyword or not;
when at least one piece of information meets the first preset condition, determining that the at least one piece of information is the reserved information, including:
and when the keyword in the at least one piece of information is matched with the at least one preset keyword, determining that the at least one piece of information is the reserved information.
In a second aspect, the present application provides an electronic device comprising:
a housing;
the receiving device is arranged in the shell and used for receiving a first operation executed aiming at a plurality of pieces of information, and the first operation is used for deleting the plurality of pieces of information in batches;
the processor is arranged in the shell, connected with the receiving device and used for judging whether the plurality of information meet a first preset condition or not; when at least one piece of information meets the first preset condition, determining the at least one piece of information as reserved information; and executing a batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information.
Optionally, the receiving device is further configured to execute a batch deletion instruction on the processor, delete the remaining information of the plurality of information except the retained information, and after retaining the retained information, receive a second operation performed on at least one retained information, where the second operation is used to delete the at least one retained information;
the processor is further configured to delete the at least one retention information.
Optionally, the processor is configured to obtain a first parameter of a sender of each information; judging whether the first parameter is matched with at least one second parameter of an application program installed in the electronic equipment; determining the at least one message as the reserved message when the first parameter of the at least one message matches the at least one second parameter.
Optionally, the processor is configured to extract a keyword in each information content; judging whether the keywords are matched with at least one preset keyword or not; and when the keyword in the at least one piece of information is matched with the at least one preset keyword, determining that the at least one piece of information is the reserved information.
In a third aspect, the present application provides an electronic device, comprising:
a first receiving unit, configured to receive a first operation performed on a plurality of pieces of information, where the first operation is used to delete the plurality of pieces of information in a batch;
the judging unit is used for judging whether the plurality of information meet a first preset condition or not;
the determining unit is used for determining at least one piece of information as reserved information when the at least one piece of information meets the first preset condition;
and the first execution unit is used for executing a batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information.
Optionally, the electronic device further includes:
a second receiving unit, configured to receive, after executing a batch deletion instruction, a second operation performed on at least one piece of retained information, where the second operation is used to delete the at least one piece of retained information, to delete remaining information, except the retained information, of the plurality of pieces of information, and to retain the retained information;
a second deleting unit configured to delete the at least one retention information.
Optionally, the determining unit is configured to obtain a first parameter of a sender of each piece of information; judging whether the first parameter is matched with at least one second parameter of an application program installed in the electronic equipment;
the determining unit is configured to determine the at least one piece of information as the reserved information when the first parameter of the at least one piece of information matches the at least one second parameter.
Optionally, the determining unit is configured to extract a keyword in each information content; judging whether the keywords are matched with at least one preset keyword or not;
the determining unit is configured to determine that the at least one piece of information is the reserved information when a keyword in the at least one piece of information matches the at least one preset keyword.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
in the technical scheme of the application, a first operation executed for a plurality of pieces of information is received, and the first operation is used for deleting the plurality of pieces of information in batches; judging whether the plurality of information meet a first preset condition or not; when at least one piece of information meets the first preset condition, determining the at least one piece of information as reserved information; and executing a batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information. Therefore, when a first operation of the user for deleting the information in batches is received, the plurality of short messages targeted by the first operation are judged, and whether the information can be deleted or needs to be reserved is confirmed. And if the information meets the first preset condition, the information is used as reserved information, and when batch deletion is executed, deletion of the reserved information is not executed, and the reserved information is reserved. Therefore, the technical problem that the important information is deleted by mistake when batch deletion or all deletion is executed is solved, the information meeting the first preset condition is automatically reserved for the user, and the technical effect of deleting the important information by mistake is avoided.
Drawings
FIG. 1 is a flow chart of an information processing method in an embodiment of the present application;
FIG. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of another electronic device in the embodiment of the present application.
Detailed Description
The embodiment of the application provides an information processing method and electronic equipment, and solves the technical problem of mistakenly deleting information during batch deletion.
In order to solve the technical problems, the technical scheme provided by the application has the following general idea:
in the technical scheme of the application, a first operation executed for a plurality of pieces of information is received, and the first operation is used for deleting the plurality of pieces of information in batches; judging whether the plurality of information meet a first preset condition or not; when at least one piece of information meets the first preset condition, determining the at least one piece of information as reserved information; and executing a batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information. Therefore, when a first operation of the user for deleting the information in batches is received, the plurality of short messages targeted by the first operation are judged, and whether the information can be deleted or needs to be reserved is confirmed. And if the information meets the first preset condition, the information is used as reserved information, and when batch deletion is executed, deletion of the reserved information is not executed, and the reserved information is reserved. Therefore, the technical problem that the important information is deleted by mistake when batch deletion or all deletion is executed is solved, the information meeting the first preset condition is automatically reserved for the user, and the technical effect of deleting the important information by mistake is avoided.
The technical solutions of the present invention are described in detail below with reference to the drawings and specific embodiments, and it should be understood that the specific features in the embodiments and examples of the present invention are described in detail in the technical solutions of the present application, and are not limited to the technical solutions of the present application, and the technical features in the embodiments and examples of the present application may be combined with each other without conflict.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
A first aspect of the present application provides an information processing method, please refer to fig. 1, including:
s1: a first operation performed on a plurality of information is received.
S2: and judging whether the plurality of information meet a first preset condition or not.
S3: when at least one piece of information meets the first preset condition, determining that the at least one piece of information is reserved information.
S4: and executing a batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information.
Specifically, a plurality of information is received and stored in the electronic device. In the embodiment of the present application, the information may specifically be a short message or chat information in social software, and the present application does not specifically limit this. For convenience of explanation, the text message will be taken as an example hereinafter.
The first operation is for deleting a plurality of pieces of information in a batch. There are various ways in which the user performs the first operation on the electronic device. When the electronic device is provided with a touch display screen and a plurality of pieces of information are displayed on the touch display screen, a user can touch the plurality of pieces of information on the touch display screen to execute a first operation. When the electronic equipment is provided with a mouse, a touch panel or a touch control key, the mouse, the touch panel or the touch control key moves the identifier to the areas of the plurality of information, and the plurality of information is clicked to execute a first operation. Alternatively, when the electronic device has a keyboard, the direction key on the keyboard may be clicked, the area identified to the plurality of pieces of information may be moved, and the confirm key may be clicked to perform the first operation. Further examples are not listed here, and those skilled in the art to which the present application pertains may set the method according to practical applications, and the present application is not limited specifically.
After the user performs the first operation, the electronic device further receives the first operation in S1, and determines that the first operation corresponds to the batch delete instruction according to the mapping relationship between the operations and the instructions stored in the electronic device.
Next, in order to avoid mistaken deletion of important information, in S2, the electronic device determines whether the plurality of information satisfies a first preset condition. In S3, when the information satisfies the first preset condition, the information satisfying the first preset condition is confirmed as the reserved information.
Finally, in S4, a batch delete instruction is executed. Specifically, since the reservation information has already been confirmed from the plurality of information by the aforementioned screening of the plurality of information, when the batch delete instruction is executed in S3, only the remaining information before the reservation information is deleted without being executed on the reservation information.
As can be seen from the above description, when a first operation for deleting information in batches by a user is received, a plurality of short messages targeted by the first operation are determined, and whether the information can be deleted or needs to be retained is determined. And if the information meets the first preset condition, the information is used as reserved information, and when batch deletion is executed, deletion of the reserved information is not executed, and the reserved information is reserved. Therefore, the technical problem that the important information is deleted by mistake when batch deletion or all deletion is executed is solved, the information meeting the first preset condition is automatically reserved for the user, and the technical effect of deleting the important information by mistake is avoided.
Optionally, the reserved information is automatically screened out for the user by the electronic device according to a first preset condition. However, the user may already know the content of the retained information clearly, or in order to protect privacy, the retained information needs to be deleted, so after S4, the method may further include:
receiving a second operation performed on the at least one retention information, the second operation being used for deleting the at least one retention information;
deleting the at least one retention information.
Specifically, in the embodiment of the present application, the second operation is an operation performed by the user for deleting at least one of the reserved information. There are various ways to perform the second operation. When the electronic device has a touch display screen and the reserved information is displayed on the touch display screen, the user can touch at least one piece of reserved information to be deleted on the touch display screen for a long time to execute the second operation. When the electronic equipment is provided with a mouse, a touch panel or a touch control key, the identifier is moved to the area of the at least one piece of reserved information needing to be deleted through the mouse, the touch panel or the touch control key, and the at least one piece of reserved information is double-clicked to execute a second operation. Or, when the electronic device has a keyboard, the direction key on the keyboard can be clicked, the identifier is moved to the at least one area of the reserved information needing to be deleted, and the confirmation key is double-clicked to execute the second operation. Further examples are not listed here, and those skilled in the art to which the present application pertains may set the method according to practical applications, and the present application is not limited specifically.
After receiving the second operation, the electronic device determines that the second operation corresponds to a deletion instruction according to the mapping relationship between the operation and the instruction, and the deletion object is at least one reserved message. Next, the electronic device generates and responds to the deletion instruction to delete the at least one retention information.
In a specific implementation process, there are various possibilities for the first preset condition, and further there are various implementations for determining whether the plurality of information satisfies the first preset condition in S2. Two of which will be described in detail below, including but not limited to the following two in particular implementations.
The first method comprises the following steps:
s2 determines whether the plurality of information satisfy a first preset condition, including:
step 211: obtaining a first parameter of a sender of each message;
step 212: judging whether the first parameter is matched with at least one second parameter of an application program installed in the electronic equipment;
determining that the at least one piece of information is the reserved information in S3, including:
step 31: determining the at least one message as the reserved message when the first parameter of the at least one message matches the at least one second parameter.
Specifically, if the sender of the information matches at least one second parameter of an application installed in the electronic device, such as a conversation program, a browser, a chat program, or the like, among the plurality of information, it is indicated that the sender of the information is a person that the user knows or is related to the work and life of the user, and therefore, the information is regarded as the reserved information.
For clarity, the following description will take the application programs as a conversation program, a browser and a chat program as examples to illustrate how to determine whether the first parameter matches the at least one second parameter.
(1-1) assume that the application installed in the electronic device is a call program. The call program is used for receiving a call request or sending a call request, namely, a user uses the call program to make a call. Therefore, the call program includes the call record of the electronic device. In addition, in order to make a call conveniently, the user also records a plurality of contacts in the call program. Therefore, when the application program is a call program, the at least one second parameter of the call program is specifically at least one contact parameter and/or at least one historical call parameter.
In step 211, first parameters of the sender of each message are first obtained. In the embodiment of the present application, the first parameter includes, but is not limited to, a sender number, an identity, and the like. Assume that the first parameter is the number of the sender.
In step 212, it is determined whether the first parameter of the sender, i.e. the number of the sender, matches at least one contact parameter and/or at least one historical call parameter of the call program. If the sender number matches the contact parameter, indicating that the message was sent by a person identified by the user; if the sender number matches the historical call parameters, indicating that the information was sent by a person who had made a call with the user; or if the sender number matches both the contact parameter and the historical call parameter, indicating that the message is a person that the user knows and that the person who has recently contacted sent. In daily life, if information is sent from a contact and/or a history caller, the possibility that the information is spam such as advertisement and sales is low, and therefore, the confirmation information is reserved information.
For example, it is assumed that the plurality of information is specifically 100 information. By the judgment, the number of the sender of the 1 st message is the same as the number of the contact person Zhang III and is the same as the number of the received call before 2 hours in the historical call parameters, so that the sender of the 1 st message is matched with at least one contact person parameter and at least one historical call parameter, and the 1 st message is used as the reserved message.
The number of the sender of the 2 nd message is the same as the number of the contact "lie four", so the sender of the 1 st message matches at least one contact parameter, so the 2 nd message is taken as the reserved message. The number of the sender of the 3 rd message is the same as the 1 st dialed number in the historical call parameters, so the sender of the 1 st message matches at least one of the historical call parameters, and the 3 rd message is taken as the reserved message. The senders of the remaining 97 pieces of information do not match the at least one contact parameter and the at least one historical call parameter, so the remaining 97 pieces of information are not retained.
(2) Assume that an application installed in the electronic device is a browser. In the embodiment of the present application, when the application is a browser, the at least one second parameter is specifically at least one browsing record parameter.
In step 212, it is determined whether the first parameter of the sender, i.e., the number of the sender, matches at least one browsing history parameter. If the sender number matches the browsing history parameter, indicating that the information was sent from a website where the user browsed a web page, it is likely that the information is a notification message sent by the website to the user, so the possibility that the information is spam such as advertisement, promotion, etc. is low, and further, the information is confirmed to be reserved information.
For example, it is assumed that the plurality of information is specifically 100 information. The sender number of the 4 th message is 1069008100. At least one browsing recording parameter is http:// map.baidu.com/, i.e. a hundredth map. 1069008100 is the official number of the hundred degree map, so the sender number of the 4 th message matches with the browsing history parameter Http:// map.
(3) It is assumed that the application installed in the electronic device is a chat program, such as WeChat. The chat program is used for receiving chat requests or sending chat requests. And a plurality of chatting friends are recorded, and only chatting with the friends can be carried out through a chatting program. When the application program is a chat program, the at least one parameter is at least one friend parameter, wherein the friend parameter includes but is not limited to a friend identifier, a contact number, a chat account number and the like.
In step 212, it is determined whether the first parameter of the sender, i.e. the number of the sender, matches at least one buddy parameter, e.g. is equal to the contact number of the buddy. If the sender number is matched with at least one friend parameter, the information is sent by the chat friends of the user, so that the possibility that the information is junk information such as advertisements, sales promotion and the like is low, and the information is confirmed to be reserved information.
For example, it is assumed that the plurality of information is specifically 100 information. The sender number of the 5 th message is 18011111111. Assume that in the chat program, the friend parameter of friend a is "social account 89565356; nickname: a bird; cell phone number 18011111111 ". Through comparison, the sender number 18011111111 of the 5 th message is judged to be the same as the mobile phone number of the friend A, and then the sender number of the 5 th message is determined to be matched with the friend parameter of the friend A, so that the 5 th message is used as the reserved message.
In a specific implementation process, a person skilled in the art of the present application may select one or a combination of any two or more of the above three embodiments according to practice, and the present application is not limited specifically.
And the second method comprises the following steps:
s2 determines whether the plurality of information satisfy a first preset condition, including:
step 221: extracting keywords in each information content;
step 222: judging whether the keywords are matched with at least one preset keyword or not;
furthermore, the determining at least one piece of information as the reserved information in S3 includes:
step 32: and when the keyword in the at least one piece of information is matched with the at least one preset keyword, determining that the at least one piece of information is the reserved information.
First, in step 221, the electronic device extracts keywords, such as time keywords, location keywords, amount keywords, and the like, from the information content according to an SVM (Support Vector Machine) algorithm, a regular expression algorithm, or the like. Next, in step 222, the keyword is compared with a preset keyword to determine whether the keyword in the information matches the preset keyword.
Specifically, the preset keyword may be a default setting in the electronic device, or may be set by the user according to the preference and habit of the user, which is not particularly limited in the present application. The preset keywords represent the meaning to be conveyed by the information content, and the preset keywords are, for example, "departure time", "consumption", "location", and "flight number". The preset keywords can indicate aspects that the user or the electronic device deems important. Therefore, if the keyword can be matched with at least one preset keyword, the content representing the information is related to an aspect important to the user, so that the information is regarded as the reserved information in order to avoid mistaken deletion of the information.
For example, suppose the information content is "honored traveler is good, thank you for booking flight of Guangzhou (New Baiyun airport) -Zhengzhou (New Zheng airport) 11 months, 4 days 16:10-18:25 Nanhang CZ3394, the passenger plum ticket confirms payment, the ticket is successfully issued, warm reminders to check-in at 45 minutes before taking off, and asks for carrying the booking certificate to check-in before carrying on the head of the passenger. [ NAN-WING ]. By extraction, the keywords "Guangzhou", "Zhengzhou", "Xinbaiyu airport", "Xinzheng airport", "11 month 4 days", "16: 10-18: 25" and "Nanhang CZ3394 flight" are obtained. The preset keywords are "time", "flight number", "meeting theme", "consumption", and "courier order number". The keywords "Guangzhou", "Zhengzhou", "Baiyun airport", "Xinzheng airport", "11 month 4 days", "16: 10-18: 25" and "Nanguang CZ3394 flight" are compared with the preset keywords "time", "flight number", "meeting topic", "consumption" and "express bill number", it is determined that "11 month 4 days", "16: 10-18: 25" in the keywords match with the preset keyword "time", and "Nanguang CZ3394 flight" matches with the preset keyword "flight number". This information is meant to be relevant to the user's flight plan and is important information to the user, so this information is considered to be retained information.
In the specific implementation process, a person having ordinary skill in the art may select the first manner or the second manner to screen the reserved information according to actual selection, and the application is not limited specifically.
As can be seen from the above description, when a first operation for deleting information in batches by a user is received, a plurality of short messages targeted by the first operation are determined, and whether the information can be deleted or needs to be retained is determined. And if the information meets the first preset condition, the information is used as reserved information, and when batch deletion is executed, deletion of the reserved information is not executed, and the reserved information is reserved. Therefore, the technical problem that the important information is deleted by mistake when batch deletion or all deletion is executed is solved, the information meeting the first preset condition is automatically reserved for the user, and the technical effect of deleting the important information by mistake is avoided.
Based on the same inventive concept as the information processing method in the foregoing embodiment of the present application, a second aspect of the embodiment of the present application provides an electronic device, as shown in fig. 2, including:
a housing 201;
a receiving device 202, disposed in the housing 201, for receiving a first operation performed on the plurality of pieces of information, the first operation being used for deleting the plurality of pieces of information in batches;
the processor 203 is arranged in the shell 201, connected with the receiving device 202 and used for judging whether the plurality of information meet a first preset condition; when the at least one piece of information meets a first preset condition, determining the at least one piece of information as reserved information; and executing the batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information.
The housing 201 is used to protect the electronic device. In a specific implementation process, the housing 201 may be made of metal, or a tempered material, and the application is not particularly limited.
Optionally, the receiving device 202 is further configured to execute a batch deletion instruction at the processor 203, delete the rest of the plurality of pieces of information except the retained information, and after retaining the retained information, receive a second operation performed on at least one piece of retained information, where the second operation is used to delete at least one piece of retained information;
the processor 203 is further configured to delete at least one of the retained information.
Further, when the processor 203 determines whether at least one of the information satisfies the first preset condition, there may be two specific embodiments.
The first method comprises the following steps:
the processor 203 is configured to obtain a first parameter of a sender of each message; judging whether the first parameter is matched with at least one second parameter of an application program installed in the electronic equipment; and when the first parameter of the at least one message is matched with the at least one second parameter, determining the at least one message as reserved message.
And the second method comprises the following steps:
the processor 203 is used for extracting keywords in each information content; judging whether the keywords are matched with at least one preset keyword or not; and when the keyword in the at least one piece of information is matched with the at least one preset keyword, determining the at least one piece of information as reserved information.
Specifically, the processor 203 may be a general-purpose Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits for controlling program execution.
Further, the electronic device may further include a memory, and the number of the memories may be one or more. The Memory may include a Read Only Memory (ROM), a Random Access Memory (RAM), and a disk Memory.
Various changes and specific examples in the information processing method in the foregoing embodiment in fig. 1 are also applicable to the electronic device in this embodiment, and those skilled in the art can clearly know the implementation method of the electronic device in this embodiment through the foregoing detailed description of the information processing method, so that details are not described here for the sake of brevity of the description.
Based on the same inventive concept as the information processing method in the foregoing embodiment of the present application, a third aspect of the embodiment of the present application provides an electronic device, as shown in fig. 3, including:
a first receiving unit 301, configured to receive a first operation performed on a plurality of pieces of information, where the first operation is used to delete the plurality of pieces of information in a batch;
a judging unit 302 configured to judge whether the plurality of pieces of information satisfy a first preset condition;
a determining unit 303, configured to determine, when the at least one piece of information satisfies a first preset condition, that the at least one piece of information is reserved information;
the first execution unit 304 is configured to execute the batch delete instruction, delete the remaining information except the reserved information in the plurality of information, and reserve the reserved information.
Optionally, the electronic device in this embodiment of the application further includes:
a second receiving unit, configured to receive, after executing the batch deletion instruction, a second operation executed for at least one piece of retained information, the second operation being used to delete the at least one piece of retained information, delete remaining information, except the retained information, of the plurality of pieces of information;
and a second deleting unit configured to delete the at least one retention information.
Specifically, in the present embodiment, the determination unit 302 is configured to obtain a first parameter of a sender of each piece of information; judging whether the first parameter is matched with at least one second parameter of an application program installed in the electronic equipment;
the determining unit 303 is configured to determine the at least one piece of information as reserved information when the first parameter of the at least one piece of information matches the at least one second parameter.
Specifically, in the embodiment of the present application, the determining unit 302 is configured to extract a keyword in each information content; judging whether the keywords are matched with at least one preset keyword or not;
the determining unit 303 is configured to determine at least one piece of information as reserved information when a keyword in the at least one piece of information matches with at least one preset keyword.
Various changes and specific examples in the information processing method in the foregoing embodiment in fig. 1 are also applicable to the electronic device in this embodiment, and those skilled in the art can clearly know the implementation method of the electronic device in this embodiment through the foregoing detailed description of the information processing method, so that details are not described here for the sake of brevity of the description.
One or more technical solutions in the embodiments of the present application have at least one or more of the following technical effects:
in the technical scheme of the application, a first operation executed for a plurality of pieces of information is received, and the first operation is used for deleting the plurality of pieces of information in batches; judging whether the plurality of information meet a first preset condition or not; when at least one piece of information meets the first preset condition, determining the at least one piece of information as the reserved information; and executing a batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information. Therefore, when a first operation of the user for deleting the information in batches is received, the plurality of short messages targeted by the first operation are judged, and whether the information can be deleted or needs to be reserved is confirmed. And if the information meets the first preset condition, the information is used as reserved information, and when batch deletion is executed, deletion of the reserved information is not executed, and the reserved information is reserved. Therefore, the technical problem that the important information is deleted by mistake when batch deletion or all deletion is executed is solved, the information meeting the first preset condition is automatically reserved for the user, and the technical effect of deleting the important information by mistake is avoided.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Specifically, the computer program instructions corresponding to the two information processing methods in the embodiment of the present application may be stored on a storage medium such as an optical disc, a hard disc, or a usb disk, and when the computer program instructions corresponding to the first information processing method in the storage medium are read or executed by an electronic device, the method includes the following steps:
receiving a first operation executed for a plurality of information, wherein the first operation is used for deleting the plurality of information in batches;
judging whether the plurality of information meet a first preset condition or not;
when at least one piece of information meets the first preset condition, determining the at least one piece of information as the reserved information;
and executing a batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information.
Optionally, the storage medium further stores other computer instructions, and the computer instructions perform the following steps: executing a batch deleting instruction, deleting the rest information except the reserved information in the plurality of information, and executing after the reserved information is reserved, wherein the batch deleting instruction comprises the following steps:
receiving a second operation performed on at least one retention information, the second operation being used for deleting the at least one retention information;
deleting the at least one retention information.
Optionally, the step of storing in the storage medium determines whether the plurality of pieces of information satisfy a first preset condition, and the step of executing the corresponding computer instruction specifically includes the following steps:
obtaining a first parameter of a sender of each message;
judging whether the first parameter is matched with at least one second parameter of an application program installed in the electronic equipment;
when at least one piece of information stored in the storage medium meets the first preset condition, the at least one piece of information is determined to be the reserved information, and a corresponding computer instruction specifically comprises the following steps in a specific executed process:
determining the at least one message as the reserved message when the first parameter of the at least one message matches the at least one second parameter.
Optionally, the step of storing in the storage medium determines whether the plurality of pieces of information satisfy a first preset condition, and the step of executing the corresponding computer instruction specifically includes the following steps:
extracting keywords in each information content;
judging whether the keywords are matched with at least one preset keyword or not;
when at least one piece of information stored in the storage medium meets the first preset condition, the at least one piece of information is determined to be the reserved information, and a corresponding computer instruction specifically comprises the following steps in a specific executed process:
and when the keyword in the at least one piece of information is matched with the at least one preset keyword, determining that the at least one piece of information is the reserved information.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (7)
1. An information processing method comprising:
receiving a first operation executed for a plurality of information, wherein the first operation is used for deleting the plurality of information in batches, the plurality of information comprises communication information received based on communication software, and the first operation comprises a click operation executed for each information in the plurality of information;
judging whether each of the plurality of information satisfies a first preset condition in response to the first operation;
when at least one piece of information meets the first preset condition, determining that the at least one piece of information is reserved information, wherein the step of enabling the at least one piece of information to meet the first preset condition comprises the following steps: the first parameter of the sender of each message in the at least one message is matched with the second parameter of a communication object, the communication object is an object communicated through an application program installed in the electronic equipment, and the application program is different from the communication software;
executing a batch deleting instruction corresponding to the first operation, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information;
receiving a second operation executed aiming at least one piece of retention information in the retention information, wherein the second operation is a click operation executed by a user and used for deleting the at least one piece of retention information, the second operation is different from the first operation, different operations and different instructions have different mapping relations, and the first operation can be determined to correspond to a batch deletion instruction and the second operation can be determined to correspond to a deletion instruction based on the mapping relations;
deleting the at least one retention information in response to the second operation.
2. The method of claim 1, wherein determining whether each of the plurality of information satisfies a first predetermined condition comprises:
obtaining a first parameter of a sender of each message;
judging whether the first parameter is matched with at least one second parameter of an application program installed in the electronic equipment;
when at least one piece of information meets the first preset condition, determining that the at least one piece of information is the reserved information, including:
determining the at least one message as the reserved message when the first parameter of the at least one message matches the at least one second parameter.
3. The method of claim 1, wherein determining whether each of the plurality of information satisfies a first predetermined condition comprises:
extracting keywords in each information content;
judging whether the keywords are matched with at least one preset keyword or not;
when at least one piece of information meets the first preset condition, determining that the at least one piece of information is the reserved information, including:
and when the keyword in the at least one piece of information is matched with the at least one preset keyword, determining that the at least one piece of information is the reserved information.
4. An electronic device, comprising:
a housing;
receiving means, provided in the housing, for receiving a first operation performed on a plurality of pieces of information, the first operation being used for batch deletion of the plurality of pieces of information, the plurality of pieces of information including communication information received based on communication software, the first operation including a click operation performed on each piece of information of the plurality of pieces of information;
the processor is arranged in the shell, connected with the receiving device and used for responding to the first operation to judge whether each piece of the information meets a first preset condition; when at least one piece of information meets the first preset condition, determining that the at least one piece of information is reserved information, wherein the step of enabling the at least one piece of information to meet the first preset condition comprises the following steps: the first parameter of the sender of each message in the at least one message is matched with the second parameter of a communication object, the communication object is an object communicated through an application program installed in the electronic equipment, and the application program is different from the communication software; executing a batch deleting instruction corresponding to the first operation, deleting the rest information except the reserved information in the plurality of information, and reserving the reserved information;
the receiving device is further configured to receive, after the processor executes a batch delete instruction, delete the rest of the plurality of pieces of information except the retained information, and retain the retained information, a second operation performed on at least one piece of retained information, where the second operation is a click operation performed by a user to delete the at least one piece of retained information, the second operation is different from the first operation, and different operations and different instructions have different mapping relationships, and based on the mapping relationships, it can be determined that the first operation corresponds to the batch delete instruction and the second operation corresponds to the delete instruction;
the processor is further configured to delete the at least one retention information in response to the second operation.
5. The apparatus of claim 4, wherein the processor is operative to obtain a first parameter for a sender of each message; judging whether the first parameter is matched with at least one second parameter of an application program installed in the electronic equipment; determining the at least one message as the reserved message when the first parameter of the at least one message matches the at least one second parameter.
6. The apparatus of claim 4, wherein the processor is operative to extract keywords in each information content; judging whether the keywords are matched with at least one preset keyword or not; and when the keyword in the at least one piece of information is matched with the at least one preset keyword, determining that the at least one piece of information is the reserved information.
7. An electronic device, comprising:
a first receiving unit, configured to receive a first operation performed on a plurality of pieces of information, the first operation being used to delete the plurality of pieces of information in a batch, the plurality of pieces of information including communication information received based on communication software, the first operation including a click operation performed on each piece of information in the plurality of pieces of information;
a judging unit configured to judge whether each of the plurality of pieces of information satisfies a first preset condition in response to the first operation, the at least one piece of information satisfying the first preset condition including: the first parameter of the sender of each message in the at least one message is matched with the second parameter of a communication object, the communication object is an object communicated through an application program installed in the electronic equipment, and the application program is different from the communication software;
the determining unit is used for determining at least one piece of information as reserved information when the at least one piece of information meets the first preset condition;
a first execution unit, configured to execute a batch delete instruction corresponding to the first operation, delete the remaining information, except the retained information, of the plurality of information, and retain the retained information;
a second receiving unit, configured to receive, after executing a batch deletion instruction, deleting information other than the retained information from the plurality of pieces of information, and retaining the retained information, a second operation performed on at least one piece of retained information, where the second operation is a click operation performed by a user to delete the at least one piece of retained information, the second operation is different from the first operation, and different operations and different instructions have different mapping relationships, and it can be determined that the first operation corresponds to the batch deletion instruction and the second operation corresponds to the deletion instruction based on the mapping relationships;
a second deleting unit configured to delete the at least one retention information in response to the second operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510370175.6A CN105095004B (en) | 2015-06-29 | 2015-06-29 | Information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510370175.6A CN105095004B (en) | 2015-06-29 | 2015-06-29 | Information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105095004A CN105095004A (en) | 2015-11-25 |
CN105095004B true CN105095004B (en) | 2021-02-19 |
Family
ID=54575506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510370175.6A Active CN105095004B (en) | 2015-06-29 | 2015-06-29 | Information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105095004B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105516944A (en) * | 2015-12-21 | 2016-04-20 | 小米科技有限责任公司 | Short message canceling method and device |
CN107835115A (en) * | 2017-09-27 | 2018-03-23 | 上海掌门科技有限公司 | A kind of information operation method, equipment and medium |
CN107766549A (en) * | 2017-10-31 | 2018-03-06 | 珠海市魅族科技有限公司 | Text delet method and device, terminal installation and readable storage medium storing program for executing |
CN107807985A (en) * | 2017-10-31 | 2018-03-16 | 珠海市魅族科技有限公司 | Multimedia control method and device, terminal installation and computer-readable recording medium |
CN109164694B (en) * | 2018-08-27 | 2020-03-27 | 珠海格力电器股份有限公司 | Reservation method and device of electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493842A (en) * | 2009-02-20 | 2009-07-29 | 中兴通讯股份有限公司 | Method for deleting data in bulk |
CN101867644A (en) * | 2010-01-28 | 2010-10-20 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for deleting short message and mobile terminal |
CN104216991A (en) * | 2014-09-09 | 2014-12-17 | 联想(北京)有限公司 | Information processing method and electronic equipment |
-
2015
- 2015-06-29 CN CN201510370175.6A patent/CN105095004B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493842A (en) * | 2009-02-20 | 2009-07-29 | 中兴通讯股份有限公司 | Method for deleting data in bulk |
CN101867644A (en) * | 2010-01-28 | 2010-10-20 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for deleting short message and mobile terminal |
CN104216991A (en) * | 2014-09-09 | 2014-12-17 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105095004A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11086484B1 (en) | Techniques for context sensitive illustrated graphical user interface elements | |
CN105095004B (en) | Information processing method and electronic equipment | |
CN106357517B (en) | Directional label generation method and device | |
JP6178928B2 (en) | Dynamic filter generation for message management systems | |
US10007897B2 (en) | Auto-calendaring | |
CN109388446B (en) | Information processing method, device and storage medium | |
KR20170037962A (en) | Adaptive notifications on a screen | |
CN105138630A (en) | Schedule prompt method and terminal | |
CN104881279B (en) | A kind of method and device of pocket transmission news | |
CN105068726B (en) | Information processing method and terminal | |
TW202016769A (en) | Method and system for collecting unanswered messages and non-transitory computer-readable recording medium including a selection step, a collection step and a processing step | |
CN114726947B (en) | Message display method, device, user terminal and readable storage medium | |
CN104618225A (en) | Contact list processing method | |
CN109919656A (en) | Advertisement placement method, device, computer equipment and storage medium | |
US20140173451A1 (en) | Creating tasks based on newsfeed user entries | |
CN103179248A (en) | Method and device for displaying contact persons and mobile equipment | |
CN108600086B (en) | Information processing method, electronic device, and computer-readable storage medium | |
CN106227752A (en) | A kind of photograph sharing method and terminal | |
US9965811B2 (en) | Techniques to promote messages | |
CN112261595A (en) | Event reminding method and device, storage medium and mobile terminal | |
CN113905022A (en) | Group chat construction method, equipment and storage medium | |
KR102637796B1 (en) | Method and system for processing chat rooms based on level of usage and non-transitory computer readable recording media | |
CN110019270B (en) | Information updating method and device, terminal, server and readable storage medium | |
CN107562327A (en) | The management method and device of Email Accounts, computer installation and storage medium | |
US20220345436A1 (en) | Cross-platform message management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |