CN111917628A - Message processing method and device and electronic equipment - Google Patents

Message processing method and device and electronic equipment Download PDF

Info

Publication number
CN111917628A
CN111917628A CN202010574212.6A CN202010574212A CN111917628A CN 111917628 A CN111917628 A CN 111917628A CN 202010574212 A CN202010574212 A CN 202010574212A CN 111917628 A CN111917628 A CN 111917628A
Authority
CN
China
Prior art keywords
information
input
message
application
keyword
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010574212.6A
Other languages
Chinese (zh)
Other versions
CN111917628B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010574212.6A priority Critical patent/CN111917628B/en
Publication of CN111917628A publication Critical patent/CN111917628A/en
Application granted granted Critical
Publication of CN111917628B publication Critical patent/CN111917628B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/212Monitoring or handling of messages using filtering or selective blocking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a message processing method, a message processing device and electronic equipment, belongs to the technical field of communication, and can solve the problem of poor flexibility of message processing of the electronic equipment. The message processing method comprises the following steps: under the condition that the first message is received, acquiring target information corresponding to the first message, wherein the target information comprises at least one of the following items: receiving information of an application program of the first message, keyword information of the first message and time information of receiving the first message; shielding the first message under the condition that the target information is matched with the first preset information; and prompting the first message in a preset mode under the condition that the target information is matched with the second preset information. The embodiment of the application can be applied to the process of processing the message.

Description

Message processing method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message processing method, a message processing device and electronic equipment.
Background
Currently, a user may trigger the electronic device to shield a notification message received by an application program in the electronic device during the use of the electronic device. Specifically, the user may select and input the notification message blocking option of the certain application program in the setting application program of the electronic device, so as to trigger the electronic device to block all notification messages received by the certain application program.
However, in the above method, since there may be notification messages that need not be masked by the user in the notification messages received by a certain application, and the electronic device may mask all notification messages received by the certain application, the electronic device has poor flexibility in processing the notification messages.
Disclosure of Invention
The embodiment of the application aims to provide a message processing method, a message processing device and electronic equipment, and can solve the problem that the flexibility of processing messages by the electronic equipment is poor.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a message processing method, where the method includes: under the condition that the first message is received, acquiring target information corresponding to the first message, wherein the target information comprises at least one of the following items: receiving information of an application program of the first message, keyword information of the first message and time information of receiving the first message; shielding the first message under the condition that the target information is matched with the first preset information; and prompting the first message in a preset mode under the condition that the target information is matched with the second preset information.
In a second aspect, an embodiment of the present application provides a message processing apparatus, including: the device comprises an acquisition module, a shielding module and a prompt module. The obtaining module is configured to obtain target information corresponding to the first message when the first message is received, where the target information includes at least one of the following: information of an application program that receives the first message, keyword information of the first message, and time information of the receipt of the first message. And the shielding module is used for shielding the first message under the condition that the target information acquired by the acquisition module is matched with the first preset information. And the prompting module is used for prompting the first message in a preset mode under the condition that the target information acquired by the acquisition module is matched with the second preset information.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In this embodiment of the present application, when receiving a first message, an electronic device may obtain target information corresponding to the first message (i.e., at least one of information of an application program that receives the first message, keyword information of the first message, and time information of receiving the first message), so that the electronic device may shield the first message when the target information matches first preset information; or, the first message may be prompted in a preset manner when the target information matches with the second preset information. The electronic device can determine whether to shield the first message according to the target information corresponding to the first message received by a certain application program, so as to shield the first message under the condition that the target information is matched with the first preset information, that is, the electronic device can shield some messages, which are received by the certain application program and matched with the preset information, but not all messages received by the certain application program, so that the flexibility of the electronic device in processing messages can be improved.
Drawings
Fig. 1 is a schematic diagram of a message processing method according to an embodiment of the present application;
fig. 2 is a second schematic diagram of a message processing method according to an embodiment of the present application;
fig. 3 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 5 is a third schematic diagram of a message processing method according to an embodiment of the present application;
fig. 6 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 7 is a fourth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 8 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 9 is a sixth schematic view of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 10 is a seventh schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 11 is a fourth schematic diagram of a message processing method according to an embodiment of the present application;
fig. 12 is an eighth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application;
fig. 14 is a hardware schematic diagram of an electronic device according to an embodiment of the present disclosure;
fig. 15 is a second hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The message processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 shows a flowchart of a message processing method according to an embodiment of the present invention. As shown in fig. 1, the message processing method provided by the embodiment of the present invention may include step 101, step 102, and step 103 (or step 104) described below.
Step 101, the electronic device acquires target information corresponding to the first message under the condition that the first message is received.
In an embodiment of the present application, the target information includes at least one of: information of an application program that receives the first message, keyword information of the first message, and time information of the receipt of the first message.
Optionally, in this embodiment of the application, the first message may specifically be a notification message.
Optionally, in this embodiment of the application, the user may input the option of the "shortcut shielding function" in the setting application, so that the electronic device may use the "shortcut shielding function," and thus, the electronic device may obtain the target information corresponding to the message when the message is received.
Optionally, in this embodiment of the application, the electronic device may detect the first message to obtain target information corresponding to the first message.
Optionally, in this embodiment of the application, the information of the application program that receives the first message may specifically be an application package name of the application program.
Optionally, in this embodiment of the application, the keyword information of the first message may specifically be information of a keyword of the first message.
Optionally, in this embodiment of the application, the electronic device may detect the first message to obtain the content of the first message, so that the electronic device may perform keyword extraction processing on the content by using a keyword extraction algorithm to obtain keyword information of the first message.
It should be noted that, for the specific description of the keyword extraction algorithm, reference may be made to related descriptions in the prior art, and details of the embodiment of the present invention are not repeated herein.
Optionally, in this embodiment of the application, the time information of receiving the first message may specifically be a current system time of the electronic device when the electronic device receives the first message.
Step 102, the electronic device determines whether the target information matches with the first preset information.
It should be noted that the above "the target information matches the first preset information" may be understood as: the target information is the same as the first preset information, or the difference between the target information and the first preset information is less than or equal to a preset threshold.
In an embodiment of the present application, the first preset information may include at least one of the following: information of a preset application (for example, information of a first application in the following embodiments), preset keyword information (for example, first keyword information in the following embodiments), and preset time information (for example, first time information in the following embodiments).
Optionally, in this embodiment of the application, the first preset information may be preset information that is preset in the electronic device by a user, or may be preset information that is received by the electronic device from other electronic devices.
Optionally, in this embodiment of the application, the electronic device may determine whether the information of the application that receives the first message matches the information of the preset application, determine whether the keyword information of the first message matches the preset keyword information, and determine whether the time information that receives the first message matches the preset time information, so as to determine whether the target information matches the first preset information.
And 103, shielding the first message by the electronic equipment under the condition that the target information is matched with the first preset information.
It should be noted that the above "the electronic device masks the first message" may be understood that the electronic device receives the first message and does not prompt the user for the first message, for example, the first message is not displayed in the notification bar and is not prompted by a ring tone (or a vibration).
In the embodiment of the application, if the target information is matched with the first preset information, it can be considered that the user may not need to view the content of the first message, so that the electronic device can shield the first message.
And step 104, under the condition that the target information is matched with the second preset information, the electronic equipment prompts the first message in a preset mode.
In an embodiment of the application, the second preset information may include at least one of the following: information of a preset application (for example, information of a second application in the following embodiments), preset keyword information (for example, second keyword information in the following embodiments), and preset time information (for example, second time information in the following embodiments).
Optionally, in this embodiment of the application, the second preset information may be preset information that is preset in the electronic device by a user, or may be preset information that is received by the electronic device from other electronic devices.
Optionally, in this embodiment of the application, the preset manner may include at least one of the following: a ring reminding mode, a vibration reminding mode, a prompt box reminding mode and a prompt lamp reminding mode.
Optionally, in this embodiment of the application, the user may not need the electronic device to prompt some received messages in some time periods (e.g., night time periods (e.g., 22: 00 to 8:00)), and the user may trigger the electronic device to turn on the "do not disturb" mode, and set the second preset information in the electronic device (or trigger the electronic device to obtain the second preset information from other electronic devices), so that the electronic device may prompt the first message in a preset manner if the target information matches the second preset information when receiving the first message.
In the embodiment of the application, if the target information is matched with the second preset information, it can be considered that the user may need to view the content of the first message, so that the electronic device can directly prompt the first message in a preset mode.
The embodiment of the application provides a message processing method, where an electronic device may obtain target information corresponding to a first message (i.e., at least one of information of an application program that receives the first message, keyword information of the first message, and time information of receiving the first message) when receiving the first message, so that the electronic device may shield the first message when the target information matches first preset information; or, the first message may be prompted in a preset manner when the target information matches with the second preset information. The electronic device can determine whether to shield the first message according to the target information corresponding to the first message received by a certain application program, so as to shield the first message under the condition that the target information is matched with the first preset information, that is, the electronic device can shield some messages, which are received by the certain application program and matched with the preset information, but not all messages received by the certain application program, so that the flexibility of the electronic device in processing messages can be improved.
Optionally, in a possible implementation manner of the embodiment of the present application, with reference to fig. 1 and as shown in fig. 2, before the step 101, the message processing method provided in the embodiment of the present application further includes a step 201 and a step 202 described below.
Step 201, in the case of displaying a shielding rule setting interface, the electronic device receives a first input of a user.
In an embodiment of the present application, the first input is input of first information in a shielding rule setting interface by a user, where the first information includes at least one of: information of the first application, first keyword information, and first time information.
Optionally, in this embodiment of the application, after the user inputs the option of the "shortcut shielding function", the electronic device may switch the interface for setting the application program to the rule setting interface, and then the user may input the option of the "shielding rule setting" in the rule setting interface, so that the electronic device may switch the rule setting interface to the shielding rule setting interface, and thus the user may perform the first input in the shielding rule setting interface.
Optionally, in this embodiment of the application, under the condition that the first information includes information of the first application program, first keyword information, and first time information, the shielding rule setting interface may include a fourth control, a fifth control, and a sixth control, where the fourth control is used to acquire information of the application program, the fifth control is used to acquire keyword information, and the sixth control is used to acquire time information, so that the user may perform first input for the fourth control, the fifth control, and the sixth control.
Optionally, in this embodiment of the application, the fourth control may include at least one first option and a first text entry area, where each first option in the at least one first option corresponds to a mode, and the first text entry area is used for a user to enter information of an application; the fifth control may include at least one second option and a second text input area, where each of the at least one second option corresponds to a mode, and the second text input area is used for a user to input keyword information; the sixth control may include a first time control and a second time control, and the first time control and the second time control are used for inputting time information by a user.
Optionally, in this embodiment of the present application, at least one mode may include any one of the following: including the manner of the content entered, the manner other than the content entered, and the manner of all content.
Note that the above "manner of including the input" may be understood as: the electronic device determines the content input by the user as the acquired content, for example, the content input by the user in the first text input area is "APP 1", and then the electronic device determines "APP 1" as the information of the acquired application program. The above "manner other than the content of the input" may be understood as: the electronic equipment determines the content except the content input by the user as the acquired content, for example, the content input by the user in the first text input area is "APP 1", and the electronic equipment determines the content except "APP 1" (i.e. the information of the application except "APP 1") as the information of the acquired application. The above-mentioned "manner of all contents" can be understood as: the electronic device determines all the content in the electronic device as the acquired content, for example, the user inputs the option "all content mode" in the fourth control, so that the electronic device can determine the information of all the applications in the electronic device as the acquired application information.
The electronic device is taken as a mobile phone for illustration. As shown in fig. 3, the mobile phone displays a shielding rule setting interface (e.g., interface 10), where the interface 10 includes a fourth control (e.g., "from the following APP" option, "from all APP" option and first text input area 11), a fifth control (e.g., "any content" option, "content-containing" option, "content-free" option and second text input area 12), and a sixth control (e.g., time control 13 and time control 14), so that the user can perform a first input with respect to the fourth control, the fifth control, and the sixth control.
In an embodiment of the application, the first input is used to trigger the electronic device to set the first preset information.
Optionally, in this embodiment of the application, the first input may include a seventh sub-input, an eighth sub-input, and a ninth sub-input, where the seventh sub-input is input by a user for one first option of the at least one first option, the first text input region, and the first application, the eighth sub-input is input by a user for one second option of the at least one second option, the second text input region, and the first keyword information, and the ninth sub-input is input by a user for the first time control, the second time control, and the first time information.
It is understood that the user may click-input one of the at least one first option and input information of the first application program in the first text input area to make a seventh sub-input; the user can click and input one second option in the at least one second option, and input the first keyword information in the second text input area to perform eighth sub-input; the user can input one time information in the first time control and input another time information in the second time control to input the first time information to perform the ninth sub-input.
Step 202, the electronic device responds to the first input, and determines the first information as first preset information.
Optionally, in this embodiment of the application, after the electronic device determines the first information as the first preset information, the electronic device may switch the display shielding rule setting interface to a rule management interface, where the management interface includes an identifier of the first preset information and a switching control, and the switching control is used to switch a state of the first preset information.
Optionally, in this embodiment of the application, the state of the first preset information may include an effective state and a failure state.
It should be noted that the "valid state" may be understood as: in the case of receiving a message, if information corresponding to the message (i.e., at least one of information of an application program receiving the message, keyword information of the message, and time information of receiving the message) matches the first preset information, the state of the message is masked. The above-mentioned "invalid state" may be understood as a state in which, in the case of receiving a message, if information corresponding to the message (i.e., at least one of information of an application program that receives the message, keyword information of the message, and time information of receiving the message) matches the first preset information, the message is not masked.
For example, referring to fig. 3, as shown in fig. 4, after the user makes the first input, the mobile phone may switch the interface 10 to a rule management interface (e.g., the interface 15), where the interface 15 includes an identifier (e.g., the identifier 16) of the first preset information and a switching control (e.g., the control 17), and the user may make an input on the control 17, so that the mobile phone may switch the state of the first preset information.
In this embodiment of the application, a user may input a shielding rule (i.e., preset information (e.g., first preset information)) according to a user requirement, in a case that a shielding rule setting interface is displayed, so that, when an electronic device receives a message, it may be determined whether the message is a message that is shielded by the user requirement according to information corresponding to the message, and in a case that the message is determined to be the message that is shielded by the user requirement, the message is shielded.
In the embodiment of the application, the electronic device may determine, according to the first input of the user, first information (at least one of information of the first application program, the first keyword information, and the first time information) corresponding to the first input as first preset information, that is, the electronic device may set the first preset information according to a user requirement, so as to shield the received message, and therefore, convenience of processing the message by the electronic device may be improved.
Optionally, in this embodiment of the application, if the user needs to set the preset information again, the user may input the electronic device, so that the electronic device may perform step 201 to step 202 again to set one preset information, and thus, when the electronic device receives the message, the electronic device may shield the message when the information corresponding to the message matches any preset information (that is, the one preset information or the first preset information).
Optionally, in another possible implementation manner of the embodiment of the present application, with reference to fig. 1 and as shown in fig. 5, before the step 101, the message processing method provided in the embodiment of the present application further includes the following steps 301 to 304.
Step 301, in the case that the second message is displayed, the electronic device receives a fourth input of the second message from the user.
Optionally, in this embodiment of the application, when the electronic device receives the second message, the second message may be displayed in a notification bar interface of the electronic device, so that the user may perform a fourth input on the second message.
In an embodiment of the application, the fourth input is used to trigger the electronic device to set the first preset information.
Optionally, in this embodiment of the application, the fourth input may be one input or multiple inputs.
Optionally, in this embodiment of the application, the fourth input may specifically be a press input (for example, a long press input) of the second message by the user.
Optionally, in this embodiment of the application, the fourth input may include a first sub-input and a second sub-input, where the first sub-input is specifically a pressing input (for example, a long-press input) of the user on the second message, the first sub-input is used to trigger the electronic device to display a setting control (for example, a third control in the following embodiment), the second sub-input is specifically a pressing input (for example, a click input) of the user on the setting control, and the second sub-input is used to trigger the electronic device to switch the displayed notification bar interface to the setting interface (for example, the first interface in the following embodiment); or, the first sub-input is specifically a pressing input (for example, a long-press input) of the user on the second message, the first sub-input is used to trigger the electronic device to display at least one keyword and a control (for example, a second control in the following embodiments), the second sub-input is an input of the user on the second control, and the second sub-input is used to trigger the electronic device to display at least one application identifier.
Step 302, the electronic device displays at least one keyword and at least one application identifier in response to the fourth input.
In this embodiment of the application, the at least one keyword is determined by the electronic device based on the second message; each of the at least one application id is used to indicate a third application program.
Optionally, in this embodiment of the application, in response to a fourth input, the electronic device may switch the notification bar interface to the setting interface to a first interface, where the first interface includes at least one keyword and at least one application identifier, so as to display the at least one keyword and the at least one application identifier.
Optionally, in this embodiment of the application, the electronic device may detect the second message to obtain content of the second message, so that the electronic device may perform keyword extraction processing on the content by using a keyword extraction algorithm to obtain at least one keyword, and the electronic device may display the at least one keyword.
Optionally, in this embodiment of the application, for each application identifier in the at least one application identifier, the electronic device may determine, as a third application program, an application program corresponding to any keyword in the at least one keyword, so as to display the application identifier of the third application program, so as to display the at least one application identifier; or, the electronic device may determine, according to an input to the electronic device by the user, one application corresponding to the input as a third application, so as to display an application identifier of the third application, so as to display at least one application identifier.
Optionally, in this embodiment of the application, the fourth input includes a first sub-input and a second sub-input, where the first sub-input is used to trigger the electronic device to display the setting control, and the second sub-input is used to trigger the electronic device to switch the displayed notification bar interface to the setting interface. Specifically, the step 302 can be realized by the following steps 302a and 302 b.
Step 302a, the electronic device responds to the first sub-input and displays a third control.
In this embodiment, the first sub-input is an input (for example, a long press input) of a second message by a user, and the third control element is configured to set a shielding rule of the message.
Optionally, in this embodiment of the application, the electronic device may display a third control on the notification bar interface.
Step 302b, the electronic device responds to the second sub-input and displays the first interface to display at least one keyword and at least one application identifier.
In this embodiment of the application, the second sub-input is an input of a third control by a user.
Illustratively, as shown in fig. 6, the mobile phone displays a notification bar interface (e.g., interface 18), and the interface 18 includes a second message 19 therein, so that the user can make a first sub-input on the second message 19, so that the mobile phone can display a third control (e.g., "selectively mask" control); after the user makes the second sub-input to the third control element, the mobile phone may switch the interface 18 to the first interface to display at least one keyword (e.g., "recommended" keyword, "this year" keyword, "cost performance" keyword, and "refrigerator" keyword) and at least one application identifier (e.g., application identifier 7, application identifier 8, and application identifier 9).
In the embodiment of the application, the electronic device can display the third control according to the first sub-input of the user, and display the first interface according to the second sub-input of the user to the third control, that is, the electronic device needs to display the first interface according to the secondary sub-input of the user, so that the situation that the electronic device displays the first interface due to misoperation of the user can be avoided, and the use experience of the user can be improved.
Step 303, the electronic device receives a fifth input from the user.
Optionally, in this embodiment of the application, the fifth input may specifically be an input (for example, a long-press input) of a physical key of the electronic device by a user; alternatively, the fifth input may include a third sub-input and a fourth sub-input.
Step 304, the electronic device determines first preset information based on the at least one keyword and the at least one application identifier in response to a fifth input.
It is understood that the first preset information includes information of at least one keyword and information of an application program indicated by at least one application identifier.
In the embodiment of the application, under the condition that the second message is displayed, the electronic device can perform fifth input on the electronic device according to the input of the user to the second message, so that the electronic device can quickly determine the first preset information without inputting the information of the at least one keyword and the application program indicated by the at least one application identifier one by the user, time consumption for setting the first preset information by the user can be reduced, and thus the efficiency for setting the preset information by the user can be improved.
Optionally, in this embodiment of the application, the fourth input includes a first sub-input and a second sub-input, where the first sub-input is used to trigger the electronic device to display at least one keyword, and the second sub-input is used to trigger the electronic device to display at least one application identifier. Specifically, the step 302 may be specifically realized by steps 302c and 302d described below, and the step 304 may be specifically realized by a step 304a described below.
Step 302c, the electronic device displays at least one keyword and a second control in response to the first sub-input.
In this embodiment of the application, the second control is used to determine information of at least one third application; the first sub-input is a user input to the second message.
In this embodiment of the application, the second control is used to determine information of at least one third application.
Optionally, in this embodiment of the application, the second control may include a seventh control and an eighth control, where the seventh control is used to determine at least one third application corresponding to the at least one keyword, and the eighth control is used to set the at least one third application.
Illustratively, as shown in fig. 7, after the user makes a fourth input on the second message, the mobile phone displays a first interface (e.g., the interface 20), where the interface 20 includes at least one keyword (e.g., a "recommendation" keyword, a "this year" keyword, a "cost performance" keyword, and a "refrigerator" keyword), and a second control (e.g., a seventh control (e.g., an "automatic parsing" control) and an eighth control (e.g., a "manual selection" control)), where the "automatic parsing" control is used to determine at least one third application corresponding to the at least one keyword, and the "manual selection" control is used to set the at least one third application.
Step 302d, the electronic device responds to the second sub-input and displays at least one application identification.
In this embodiment of the application, the second sub-input is an input of a second control by a user.
In an embodiment of the application, the second sub-input is used to trigger the electronic device to determine information of at least one third application.
Optionally, in this embodiment of the application, the second sub-input may specifically be a pressing input (for example, a click input) of the user on the seventh control, or may specifically be a pressing input (for example, a click input) of the user on the eighth control.
Optionally, in this embodiment of the application, when the second sub-input is a press input of the seventh control by the user, each of the at least one third application program is an application program corresponding to any keyword in the at least one keyword; in a case where the second sub-input is a user press input to the eighth control, each of the at least one third application respectively identifies an indicated one of the applications for the user input.
In this embodiment, each of the at least one application identifier is used to indicate a third application program.
Optionally, in this embodiment of the present application, the at least one application identifier is determined by any one of: information of the application of the second message, the at least one keyword and user input of the application identification are received.
Optionally, in this embodiment of the application, the electronic device may display the time control in the first interface when the first preset information includes information of a preset application program, preset keyword information, and preset time information.
Optionally, in this embodiment of the application, in a case that the second sub-input is a press input of the seventh control by the user, the electronic device, in response to the second sub-input, may detect historical usage information of all applications in the electronic device, so as to determine at least one third application according to the historical usage information of all applications and the at least one keyword, so as to display at least one application identifier and the time control on the first interface.
Optionally, in this embodiment of the application, the electronic device may determine, according to whether any keyword is included in the historical usage information of one of all the applications, and in the case where any keyword is included in the one application's historical usage information, determining the one application as a third application, then according to whether any keyword is included in the historical use condition information of another application program in all application programs, and in the case where any keyword is included in the historical usage information of the other application, the one application is determined as a third application, and so on, until in the case that any keyword is included in the historical usage information of the last application, the last application is determined as a third application to determine at least one third application.
It is to be understood that the at least one third application may be a part of all the applications or the entire applications.
For example, in conjunction with fig. 7, as shown in fig. 8, the user may make a second sub-input to the "automatic parsing" control, so that the mobile phone may determine at least one third application according to the historical usage information of all the applications and at least one keyword (i.e., a "recommendation" keyword, a "this year" keyword, a "cost performance" keyword, and a "refrigerator" keyword) to display at least one application identifier (e.g., "APP 7" application identifier, an "APP 8" application identifier, and an "APP 9" application identifier) on the first interface.
Optionally, in this embodiment of the application, in a case that the second sub-input is a press input of the eighth control by the user, the electronic device, in response to the second sub-input, may switch the first interface to a third interface, where the third interface includes application identifiers of application programs (e.g., all application programs) in the electronic device, so that the user may input at least one of the application identifiers of all application programs in the third interface, so that the electronic device may determine at least one application program indicated by the at least one application identifier as the at least one third application program, and switch the third interface to the first interface.
For example, in conjunction with fig. 7, as shown in (a) in fig. 9, the user may make a second sub-input to the "manual selection" control, so that the electronic device may switch the interface 20 to a third interface (e.g., the interface 22), where the interface 22 includes application identifications (e.g., "APP 10" application identification, "APP 11" application identification, "APP 12" application identification, "APP 13" application identification, "APP 14" application identification, "APP 15" application identification, "APP 16" application identification, and "APP 17" application identification) of all application programs in the cell phone, so that the user may input at least one application identification (e.g., "APP 12" application identification, "APP 63 15" application identification, and "APP 16" application identification) in the at least one application identification, so that the cell phone may switch the interface 22 to the interface 20; as shown in (B) in fig. 9, after the user inputs the application identifiers "APP 12", "APP 15", and "APP 16", the cell phone may switch the interface 21 to the interface 20, where the interface 20 includes the application identifiers "APP 12", "APP 15", and "APP 16", and the time control 23.
Optionally, in this embodiment of the application, after the user inputs at least one of the application identifiers of all the application programs in the third interface, the electronic device may mark the at least one application identifier in the first marking manner.
Optionally, in this embodiment of the application, the first marking manner may include at least one of: a dotted frame marking mode, a highlight marking mode, a color marking mode, a gray marking mode, a preset transparency marking mode, a flashing marking mode and the like.
Step 304a, the electronic device determines information of the at least one keyword and information of the at least one third application as first preset information.
Optionally, in this embodiment of the application, in a case that the first preset information includes information of a preset application program, preset keyword information, and preset time information, the user may perform a sixth input on the electronic device, so that the electronic device may determine information of at least one keyword, information of at least one third application program, and time information input by the user as the first preset information.
Optionally, in this embodiment of the application, the sixth input is input of the time control and third time information by the user.
Optionally, in this embodiment of the application, the time control may include a third time control and a fourth time control, and the user may input one piece of time information in the third time control and input another piece of time information in the fourth time control to input the third time information.
Optionally, in this embodiment of the application, in a case that the sixth input is input by the user to the time control and the third time information, the electronic device may determine the at least one keyword, the at least one application identifier, and the third time information as the first preset information.
In this embodiment, in a case that an electronic device receives a message, if a user needs to set a shielding rule (i.e., a preset information (e.g., a first preset information)) corresponding to the message, the user may input to the electronic device, so that the electronic device may display a notification bar interface to display the message, so that the user may input to the message, so that the electronic device may display a shielding rule setting interface, where the shielding rule setting interface includes at least one keyword and a second control in content of the message, so that the user may input to the second control, so that the electronic device may display some application identifiers and time controls corresponding to the at least one keyword, so that the user may input to the time control and time information, so that the electronic device may set information of the at least one keyword, The information of the certain application program indicated by the certain application identification and the time information are determined as a shielding rule, so that if the information corresponding to the message (at least one of the information of the application program receiving the other message, the keyword information of the other message and the time information of receiving the other message) matches with the first preset information, the other message is determined as a message which needs to be shielded by the user, so as to shield the other known message.
In the embodiment of the application, in the case of receiving the second message, the electronic device may display a first interface including at least one keyword of the second message and a second control according to the input of the user to the second message, so that the user can input to the second control, so that the electronic device can display at least one application identification corresponding to the at least one keyword (or display at least one application identification input by the user) and a time control, so that the user can input the time control and the third time information, so that the electronic device can quickly determine the first preset information, without the user inputting information of at least one keyword and at least one application program indicated by the application identification one by one, therefore, time consumption for setting the first preset information by the user can be reduced, and the efficiency for setting the preset information by the user can be improved.
Optionally, in this embodiment of the application, the fifth input includes a third sub input and a fourth sub input. Specifically, the step 304 may be realized by the following steps 304b and 304 c.
And step 304b, the electronic equipment responds to the third sub-input and displays a target keyword in the at least one keyword and a target application identification in the at least one application identification.
In this embodiment of the application, the third sub-input is input by a user for the target keyword and the target application identifier.
Optionally, in this embodiment of the application, the third sub-input may specifically be an input that a user drags a target keyword to a target application identifier, or may be an input that a user drags a target application identifier to a target keyword.
It should be noted that the "dragging the target keyword to the target application identifier" may be understood as: and the user performs sliding input in the first interface (the starting input position of the sliding input is the position where the target keyword is located, and the ending position of the sliding input is the position where the target application identifier is located), so that the electronic equipment moves the target keyword to the target application identifier.
Optionally, in this embodiment of the application, in response to the third sub-input, the electronic device may switch the first interface to the second interface, so as to display a target keyword in the at least one keyword and a target application identifier in the at least one application identifier in the second interface.
Optionally, in this embodiment of the application, the electronic device may display the time control in the second interface when the first preset information includes information of a preset application program, preset keyword information, and preset time information.
For example, in conjunction with (B) in fig. 9, as shown in (a) in fig. 10, the user may make a sixth input (e.g., an input of dragging the "refrigerator" keyword to the "APP 12" application id) on the target keyword (e.g., "refrigerator" keyword) and the target application id (e.g., "APP 12" application id), so that the cell phone may display the second interface; as shown in fig. 10 (B), after the user makes a sixth input, the cell phone may switch the interface 18 to a second interface (e.g., interface 24), which includes a "refrigerator" keyword, an "APP 12" application identifier, and a time control 25 in the interface 24.
And step 304c, the electronic device responds to the fourth sub-input, and determines the information of the target keyword and the information of the third application program indicated by the target application identification as the first preset information.
Optionally, in this embodiment of the application, the fourth sub-input may specifically be input of a time control and fourth time information.
Optionally, in this embodiment of the application, the time control may include a fifth time control and a sixth time control, and the user may input one piece of time information in the fifth time control and input another piece of time information in the sixth time control to input the fourth time information.
Optionally, in this embodiment of the application, in response to the seventh input, the electronic device may determine, as the first preset information, information of the target keyword, information of the third application indicated by the target application identifier, and fourth time information.
In the embodiment of the application, the electronic device can rapidly determine the information of the target keyword and the information of the third application program indicated by the target application identifier as the first preset information according to the input of the user, and the user does not need to input the information of the target keyword and the information of the third application program indicated by the target application identifier one by one, so that the time consumed for the user to set the first preset information can be reduced, and the efficiency for the user to set the preset information can be improved.
Optionally, in this embodiment, with reference to fig. 1, as shown in fig. 11, before step 101, the message processing method provided in this embodiment further includes step 401 and step 402 described below.
Step 401, in the case of displaying the prompt rule setting interface, the electronic device receives a second input of the user.
In an embodiment of the present application, the second input is input of second information by a user in a prompt rule setting interface, where the second information includes at least one of the following: information of the second application, second keyword information, and second time information.
Optionally, in this embodiment of the application, the user may input a "prompt rule setting" option in the rule setting interface, so that the electronic device may switch the rule setting interface to the prompt rule setting interface, and thus the user may perform a second input in the prompt rule setting interface.
Optionally, in this embodiment of the application, the prompt rule setting interface may include a ninth control, a tenth control, and an eleventh control, where the ninth control is used to obtain information of the application program, the tenth control is used to obtain keyword information, and the eleventh control is used to obtain time information, so that a user may perform a second input for the ninth control, the tenth control, and the eleventh control.
Optionally, in this embodiment of the application, the ninth control may include at least one third option and a third text entry area, where each third option in the at least one third option corresponds to a mode, and the third text entry area is used for a user to enter information of an application program; the tenth control may include at least one fourth option and a fourth text entry area, where each fourth option in the at least one fourth option corresponds to a mode, and the fourth text entry area is used for a user to enter keyword information; the eleventh control may include a seventh time control and an eighth time control for a user to input time information.
It should be noted that, for the specific description of the second input, reference may be made to the related description of the first input in the foregoing embodiment, and details are not described here again.
Step 402, the electronic device determines the second information as second preset information in response to a second input.
In this embodiment of the application, if the user needs the electronic device to prompt some messages (for example, important messages), the prompting rule (that is, preset information (for example, second preset information)) may be input in the case that a prompting rule setting interface is displayed, so that the electronic device may determine, according to information corresponding to the message, whether the message is a message that the user needs to prompt, in the case that the message is determined to be a message that the user needs to prompt, and prompt the message in a preset manner.
In this embodiment of the application, the electronic device may determine, according to a second input of the user, information corresponding to the second input (i.e., at least one of information of the second application program, second keyword information, and second time information) as second preset information, so as to prompt a message that the user needs to prompt quickly according to the second preset information, so as to improve flexibility of processing the message by the electronic device.
Optionally, in this embodiment of the application, the prompt rule setting interface includes a first control, and the first control is used to determine a prompt mode of the message. Specifically, after the step 402, the message processing method according to the embodiment of the present application may further include the following steps 403 and 404.
In step 403, the electronic device receives a third input of the first control and the first identifier from the user.
In this embodiment of the application, the first identifier is used to indicate a first prompting mode.
Optionally, in this embodiment of the application, the third input may include a fifth sub-input and a sixth sub-input, where the fifth sub-input is an input of the first control by the user, the fifth sub-input is used to trigger the electronic device to display at least one setting identifier, each setting identifier in the at least one setting identifier may respectively indicate a prompt mode, the sixth sub-input is a click input of the first identifier in the at least one setting identifier by the user, and the sixth sub-input is used to trigger the electronic device to determine a prompt mode of the message.
Optionally, in this embodiment of the application, the first prompting manner may include at least one of the following: a ring reminding mode, a vibration reminding mode, a prompt box reminding mode and a prompt lamp reminding mode.
Illustratively, as shown in fig. 12, the mobile phone displays a prompt rule setting interface (e.g., interface 26), the interface 26 includes a ninth control (e.g., "from the following APP" option, "from all APP" option and third text input area 27), a tenth control (e.g., "any content" option, "no content" option and fourth text input area 28), an eleventh control (e.g., time control 29 and time control 30), and a first control (e.g., "enhanced mode" control), so that the user can make a second input to the ninth control, the tenth control, and the eleventh control, so that the mobile phone can determine a second preset information, and then the user can make a third input to the "selection enhanced mode" control 31 and the first identification (e.g., "ring tone" identification 32), so that the handset can determine the alert mode (e.g., ring alert mode) indicated by the "ring" flag 32 as a preset mode.
And step 404, the electronic device determines the first prompting mode as a preset mode in response to the third input.
In the embodiment of the application, the electronic device may determine the first prompt mode indicated by the first identifier as the preset mode according to the third input of the user to the first control and the first identifier, that is, the user may determine the mode of the electronic device to prompt the message according to the user requirement, so that the use experience of the user may be improved.
It should be noted that, in the message processing method provided in the embodiment of the present application, the execution main body may be a message processing apparatus, or a control module in the message processing apparatus for executing the message processing method. In the embodiment of the present application, a message processing apparatus executes a message processing method as an example, and a device of the message processing method provided in the embodiment of the present application is described.
Fig. 13 is a schematic diagram showing a possible structure of a message processing apparatus according to an embodiment of the present invention. As shown in fig. 13, the message processing apparatus 60 may include: an acquisition module 61, a shielding module 62 and a prompt module 63.
The obtaining module 61 is configured to obtain target information corresponding to the first message when the first message is received, where the target information includes at least one of the following items: information of an application program that receives the first message, keyword information of the first message, and time information of receiving the first message. And a shielding module 62, configured to shield the first message when the target information acquired by the acquiring module 61 matches the first preset information. And the prompting module 63 is configured to prompt the first message in a preset manner under the condition that the target information acquired by the acquiring module 61 matches with the second preset information.
In a possible implementation manner, the message processing apparatus 60 provided by the present application may further include: the device comprises a receiving module and a determining module. The receiving module is configured to receive a first input of a user under the condition that the shielding rule setting interface is displayed before the obtaining module 61 obtains the target information corresponding to the first message under the condition that the first message is received, where the first input is an input of the first information in the shielding rule setting interface by the user, and the first information includes at least one of the following: information of the first application, first keyword information, and first time information. And the determining module is used for responding to the first input received by the receiving module and determining the first information as first preset information.
In a possible implementation manner, the message processing apparatus 60 provided by the present application may further include: the device comprises a receiving module and a determining module. The receiving module is configured to receive a second input of the user under the condition that the prompting rule setting interface is displayed before the obtaining module 61 obtains the target information corresponding to the first message under the condition that the first message is received, where the second input is an input of second information by the user in the prompting rule setting interface, and the second information includes at least one of the following: information of the second application, second keyword information, and second time information. And the determining module is used for responding to the second input received by the receiving module and determining the second information as second preset information.
In a possible implementation manner, the prompt rule setting interface includes a first control, and the first control is used for determining a prompt manner of the message. The receiving module is further configured to receive, after the determining module determines that the second information is about to be provided, a third input of the user to the first control and the first identifier, where the first identifier is used to indicate the first prompt mode. The determining module is further configured to determine the first prompting mode as a preset mode in response to the third input received by the receiving module.
In a possible implementation manner, the message processing apparatus 60 provided by the present application may further include: the device comprises a receiving module, a display module and a determining module. The receiving module is configured to receive a fourth input of the second message from the user when the second message is displayed before the obtaining module 61 obtains the target information corresponding to the first message when the first message is received. And a display module, configured to display, in response to the fourth input received by the receiving module, at least one keyword and at least one application identifier, where the at least one keyword is determined by the message processing apparatus based on the second message, and each application identifier is respectively used for indicating a third application program. The receiving module is further configured to receive a fifth input from the user. And the determining module is used for responding to the fifth input received by the receiving module and determining the first preset information based on the at least one keyword and the at least one application identification.
In one possible implementation, the fourth input includes a first sub-input and a second sub-input. The display module is specifically configured to display, in response to the first sub-input, at least one keyword and a second control, where the second control is used to determine information of at least one third application program; the first sub-input is input of a second message by a user; and in response to the second sub-input, displaying at least one application identifier; the second sub-input is user input to a second control. The determining module is specifically configured to determine information of the at least one keyword and information of the at least one third application as first preset information.
In a possible implementation manner, the fifth input includes a third sub-input and a fourth sub-input. The display module is specifically configured to display, in response to the third sub-input, a target keyword in the at least one keyword and a target application identifier in the at least one application identifier; the third sub-input is input by the user for the target keyword and the target application identification. The determining module is further configured to determine, in response to the fourth sub-input, information of the target keyword and information of a third application program indicated by the target application identifier as first preset information.
In a possible implementation, the at least one application identifier is determined by any one of: information of the application of the second message, the at least one keyword and user input of the application identification are received.
The message processing apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The message processing apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The message processing apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments in fig. 1 to fig. 12, and is not described here again to avoid repetition.
The embodiment of the application provides a message processing apparatus, where the message processing apparatus may determine whether to shield a first message received by a certain application according to target information corresponding to the first message, so as to shield the first message when the target information matches with first preset information, that is, an electronic device may shield some messages, which are received by the certain application and match with the preset information, but not all messages received by the certain application, so that flexibility of processing messages by the electronic device may be improved.
Optionally, as shown in fig. 14, an electronic device 70 is further provided in this embodiment of the present application, and includes a processor 72, a memory 71, and a program or an instruction stored in the memory 71 and executable on the processor 72, where the program or the instruction is executed by the processor 72 to implement each process of the foregoing message processing method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 15 is a schematic hardware structure diagram of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 15 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 110 is configured to, in a case that the first message is received, acquire target information corresponding to the first message, where the target information includes at least one of: receiving information of an application program of the first message, keyword information of the first message and time information of receiving the first message; shielding the first message under the condition that the target information is matched with the first preset information; and prompting the first message in a preset mode under the condition that the target information is matched with the second preset information.
The embodiment of the application provides an electronic device, and the electronic device may determine whether to shield a first message received by a certain application according to target information corresponding to the first message, so as to shield the first message when the target information matches with first preset information, that is, the electronic device may shield some messages received by the certain application, where the messages match with the preset information, but not all messages received by the certain application, so that flexibility of processing messages by the electronic device may be improved.
Optionally, in this embodiment of the application, the user input unit 107 is configured to receive a first input of a user in a case that the masking rule setting interface is displayed before the processor 110 obtains target information corresponding to the first message in the case that the first message is received, where the first input is an input of first information in the masking rule setting interface by the user, and the first information includes at least one of the following: information of the first application, first keyword information, and first time information.
The processor 110 is further configured to determine the first information as first preset information in response to the first input.
In this embodiment of the application, a user may input a shielding rule (i.e., preset information (e.g., first preset information)) according to a user requirement, in a case that a shielding rule setting interface is displayed, so that, when an electronic device receives a message, it may be determined whether the message is a message that is shielded by the user requirement according to information corresponding to the message, and in a case that the message is determined to be the message that is shielded by the user requirement, the message is shielded.
Optionally, in this embodiment of the application, the user input unit 107 is configured to receive, in a case that the processor 110 receives the first message and before the processor 110 obtains the target information corresponding to the first message, a second input of the user in a case that a prompt rule setting interface is displayed, where the second input is an input of second information by the user in the prompt rule setting interface, and the second information includes at least one of the following: information of the second application, second keyword information, and second time information.
The processor 110 is further configured to determine the second information as second preset information in response to a second input.
In the embodiment of the application, the electronic device may determine, according to the first input of the user, first information (at least one of information of the first application program, the first keyword information, and the first time information) corresponding to the first input as first preset information, that is, the electronic device may set the first preset information according to a user requirement, so as to shield the received message, and therefore, convenience of processing the message by the electronic device may be improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive, after the processor 110 determines the second information as the second preset information, a third input of the first control and the first identifier by the user, where the first identifier is used to indicate the first prompting mode.
The processor 110 is further configured to determine the first prompting mode as a preset mode in response to a third input.
In the embodiment of the application, the electronic device may determine the first prompt mode indicated by the first identifier as the preset mode according to the third input of the user to the first control and the first identifier, that is, the user may determine the mode of the electronic device to prompt the message according to the user requirement, so that the use experience of the user may be improved.
Optionally, in this embodiment of the application, the user input unit 107 is configured to receive a fourth input of the second message from the user when the processor 110 receives the second message and before the processor 110 obtains the target information corresponding to the second message when the first message is received and when the second message is displayed.
A display unit 106, configured to display, in response to the fourth input, at least one keyword and at least one application identifier, where the at least one keyword is determined by the electronic device based on the second message, and each application identifier is respectively used to indicate a third application program.
The user input unit 107 is further configured to receive a fifth input from the user.
The display unit 106 is further configured to determine, in response to a fifth input, first preset information based on the at least one keyword and the at least one application identifier.
In the embodiment of the application, under the condition that the second message is displayed, the electronic device can perform fifth input on the electronic device according to the input of the user to the second message, so that the electronic device can quickly determine the first preset information without inputting the information of the at least one keyword and the application program indicated by the at least one application identifier one by the user, time consumption for setting the first preset information by the user can be reduced, and thus the efficiency for setting the preset information by the user can be improved.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to, in response to the first sub-input, display at least one keyword and a second control, where the second control is used to determine information of at least one third application program; the first sub-input is input of the second message by the user; and in response to the second sub-input, displaying at least one application identifier; the second sub-input is user input to a second control.
The processor 110 is specifically configured to determine information of at least one keyword and information of at least one third application as the first preset information.
In the embodiment of the application, under the condition that the second message is displayed, the electronic device may display at least one keyword and a second control according to a first sub-input of the second message by the user, so that the user may perform a second sub-input on the second control, so that the electronic device may display at least one application identifier corresponding to the at least one keyword (or display at least one application identifier input by the user), and thus the user may input the electronic device, so that the electronic device may quickly determine the first preset information, and the user does not need to input the information of the at least one keyword and the application program indicated by the at least one application identifier one by one, so that time consumed for the user to set the first preset information may be reduced, and thus, efficiency for the user to set the preset information may be improved.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to, in response to the third sub-input, display a target keyword in the at least one keyword and a target application identifier in the at least one application identifier; the third sub-input is input by the user for the target keyword and the target application identification.
The processor 110 is specifically configured to determine, in response to the fourth sub-input, information of the target keyword and information of the third application program indicated by the target application identifier as the first preset information.
In the embodiment of the application, the electronic device can rapidly determine the information of the target keyword and the information of the third application program indicated by the target application identifier as the first preset information according to the input of the user, and the user does not need to input the information of the target keyword and the information of the third application program indicated by the target application identifier one by one, so that the time consumed for the user to set the first preset information can be reduced, and the efficiency for the user to set the preset information can be improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of message processing, the method comprising:
under the condition of receiving a first message, acquiring target information corresponding to the first message, wherein the target information comprises at least one of the following items: receiving information of an application program of the first message, keyword information of the first message and time information of receiving the first message;
shielding the first message under the condition that the target information is matched with first preset information;
and prompting the first message in a preset mode under the condition that the target information is matched with second preset information.
2. The method according to claim 1, wherein before the obtaining of the target information corresponding to the first message in case of receiving the first message, the method further comprises:
receiving a first input of a user under the condition that a shielding rule setting interface is displayed, wherein the first input is input of first information in the shielding rule setting interface by the user, and the first information comprises at least one of the following items: information of a first application program, first keyword information and first time information;
determining the first information as the first preset information in response to the first input.
3. The method according to claim 1, wherein before the obtaining of the target information corresponding to the first message in case of receiving the first message, the method further comprises:
receiving a second input of the user under the condition that a prompt rule setting interface is displayed, wherein the second input is input of second information in the prompt rule setting interface by the user, and the second information comprises at least one of the following items: information of a second application, second keyword information, and second time information;
determining the second information as the second preset information in response to the second input.
4. The method according to claim 3, wherein the prompt rule setting interface comprises a first control, and the first control is used for determining a prompt mode of the message;
after determining the second information as the second preset information, the method further includes:
receiving a third input of the first control and a first identification from a user, wherein the first identification is used for indicating a first prompt mode;
and responding to the third input, and determining the first prompting mode as the preset mode.
5. The method according to claim 1, wherein before the obtaining of the target information corresponding to the first message in case of receiving the first message, the method further comprises:
receiving a fourth input of the second message from the user in the case of displaying the second message;
displaying at least one keyword and at least one application identifier in response to the fourth input, wherein the at least one keyword is determined by the electronic equipment based on the second message, and each application identifier is respectively used for indicating a third application program;
receiving a fifth input of the user;
in response to the fifth input, determining the first preset information based on the at least one keyword and the at least one application identification.
6. The method of claim 5, wherein the fourth input comprises a first sub-input and a second sub-input;
said displaying at least one keyword and at least one application identification in response to said fourth input, comprising:
displaying at least one keyword and a second control in response to the first sub-input, the second control being used for determining information of at least one third application; the first sub-input is input of the second message by a user;
displaying at least one application identification in response to the second sub-input; the second sub-input is input of the second control by a user;
the determining the first preset information based on the at least one keyword and the at least one application identifier includes:
and determining the information of the at least one keyword and the information of the at least one third application program as the first preset information.
7. The method of claim 5, wherein the fifth input comprises a third sub-input and a fourth sub-input;
the determining, in response to the fifth input, the first preset information based on the at least one keyword and the at least one application identification includes:
displaying a target keyword of the at least one keyword and a target application identifier of the at least one application identifier in response to the third sub-input; the third sub-input is input by a user aiming at the target keyword and the target application identifier;
and in response to the fourth sub-input, determining the information of the target keyword and the information of the third application program indicated by the target application identification as the first preset information.
8. A message processing apparatus, characterized in that the message processing apparatus comprises: the device comprises an acquisition module, a shielding module and a prompt module;
the obtaining module is configured to obtain target information corresponding to the first message when the first message is received, where the target information includes at least one of the following items: receiving information of an application program of the first message, keyword information of the first message and time information of receiving the first message;
the shielding module is configured to shield the first message when the target information acquired by the acquisition module matches first preset information;
the prompting module is used for prompting the first message in a preset mode under the condition that the target information acquired by the acquisition module is matched with second preset information.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the message processing method as claimed in any one of claims 1 to 7.
10. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the message processing method according to any one of claims 1 to 7.
CN202010574212.6A 2020-06-22 2020-06-22 Message processing method and device and electronic equipment Active CN111917628B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010574212.6A CN111917628B (en) 2020-06-22 2020-06-22 Message processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010574212.6A CN111917628B (en) 2020-06-22 2020-06-22 Message processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111917628A true CN111917628A (en) 2020-11-10
CN111917628B CN111917628B (en) 2022-06-17

Family

ID=73226261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010574212.6A Active CN111917628B (en) 2020-06-22 2020-06-22 Message processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111917628B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010251A (en) * 2021-03-19 2021-06-22 维沃移动通信有限公司 Information processing method and device and electronic equipment
CN113298667A (en) * 2021-05-24 2021-08-24 维沃移动通信有限公司 Message shielding method and device, electronic equipment and storage medium
CN114398128A (en) * 2022-01-04 2022-04-26 维沃移动通信有限公司 Information display method and device
WO2022226700A1 (en) * 2021-04-25 2022-11-03 深圳传音控股股份有限公司 Control method, mobile terminal, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677316A (en) * 2015-12-24 2016-06-15 小米科技有限责任公司 Message notification filtering method and apparatus
CN106055198A (en) * 2016-05-26 2016-10-26 维沃移动通信有限公司 Method for displaying notifications based on content and mobile terminal
US20170324859A1 (en) * 2015-02-10 2017-11-09 Tencent Technology (Shenzhen) Company Limited Information processing method, terminal, and computer-readable storage medium
CN108111675A (en) * 2017-12-13 2018-06-01 维沃移动通信有限公司 Processing method, device and the mobile terminal of notification message
CN108810275A (en) * 2018-06-08 2018-11-13 麒麟合盛网络技术股份有限公司 A kind of information displaying method and device
CN110069306A (en) * 2019-03-29 2019-07-30 维沃移动通信有限公司 A kind of message display method and terminal device
CN110768895A (en) * 2019-10-09 2020-02-07 北京达佳互联信息技术有限公司 Message prompting method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170324859A1 (en) * 2015-02-10 2017-11-09 Tencent Technology (Shenzhen) Company Limited Information processing method, terminal, and computer-readable storage medium
CN105677316A (en) * 2015-12-24 2016-06-15 小米科技有限责任公司 Message notification filtering method and apparatus
CN106055198A (en) * 2016-05-26 2016-10-26 维沃移动通信有限公司 Method for displaying notifications based on content and mobile terminal
CN108111675A (en) * 2017-12-13 2018-06-01 维沃移动通信有限公司 Processing method, device and the mobile terminal of notification message
CN108810275A (en) * 2018-06-08 2018-11-13 麒麟合盛网络技术股份有限公司 A kind of information displaying method and device
CN110069306A (en) * 2019-03-29 2019-07-30 维沃移动通信有限公司 A kind of message display method and terminal device
CN110768895A (en) * 2019-10-09 2020-02-07 北京达佳互联信息技术有限公司 Message prompting method and device, electronic equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010251A (en) * 2021-03-19 2021-06-22 维沃移动通信有限公司 Information processing method and device and electronic equipment
WO2022226700A1 (en) * 2021-04-25 2022-11-03 深圳传音控股股份有限公司 Control method, mobile terminal, and storage medium
CN113298667A (en) * 2021-05-24 2021-08-24 维沃移动通信有限公司 Message shielding method and device, electronic equipment and storage medium
CN114398128A (en) * 2022-01-04 2022-04-26 维沃移动通信有限公司 Information display method and device
WO2023131092A1 (en) * 2022-01-04 2023-07-13 维沃移动通信有限公司 Information display method and apparatus

Also Published As

Publication number Publication date
CN111917628B (en) 2022-06-17

Similar Documents

Publication Publication Date Title
CN111917628B (en) Message processing method and device and electronic equipment
CN112162807B (en) Function execution method and device
CN111984162A (en) Page display method and device and electronic equipment
CN113141293B (en) Message display method and device and electronic equipment
CN111884908B (en) Contact person identification display method and device and electronic equipment
CN112399006B (en) File sending method and device and electronic equipment
CN112671635B (en) Sending method, device and electronic equipment
CN113141294B (en) Message prompting method and device and electronic equipment
CN112764624B (en) Information screen display method and device
CN112099685A (en) Notification message display control method and device, electronic equipment and readable storage medium
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN112181559A (en) Interface display method and device and electronic equipment
CN113141295A (en) Message display method and device and electronic equipment
CN112162808A (en) Interface display method and device and electronic equipment
CN111865763A (en) Message display method and device, electronic equipment and storage medium
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN112764611B (en) Application program control method and device and electronic equipment
CN112148169B (en) Identification display control method and device and electronic equipment
CN113709307A (en) Message display method and device and electronic equipment
CN113709306A (en) Session processing method and device and electronic equipment
CN112948843A (en) Encryption method, encryption device, electronic equipment and medium
CN112286615A (en) Information display method and device of application program
CN113824841B (en) Notification message processing method and device, electronic equipment and readable storage medium
CN113239212B (en) Information processing method and device and electronic equipment
CN112181565A (en) Screen display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant