CN107517153B - Message push control method and terminal - Google Patents

Message push control method and terminal Download PDF

Info

Publication number
CN107517153B
CN107517153B CN201710626065.0A CN201710626065A CN107517153B CN 107517153 B CN107517153 B CN 107517153B CN 201710626065 A CN201710626065 A CN 201710626065A CN 107517153 B CN107517153 B CN 107517153B
Authority
CN
China
Prior art keywords
terminal
scene
target object
determining
chat
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710626065.0A
Other languages
Chinese (zh)
Other versions
CN107517153A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710626065.0A priority Critical patent/CN107517153B/en
Publication of CN107517153A publication Critical patent/CN107517153A/en
Application granted granted Critical
Publication of CN107517153B publication Critical patent/CN107517153B/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/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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • 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
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Abstract

The invention discloses a message push control method and a terminal, belonging to the technical field of communication. The method comprises the following steps: when receiving a chat message of instant messaging software, judging the current scene of the terminal; determining the label attribute of a target object to which the chat message belongs; judging whether the scene of the target object in which the terminal is currently located is a shielding object according to the label attribute; and if so, shielding the chat message. Therefore, after the chat message is received, the scene where the terminal is located and the object sending the chat message are judged, the message is selectively shielded according to different scenes and objects, the control of message pushing according to the scene is realized, the message pushing is enabled to better meet the requirements of users, better intelligent service is provided for the users, and the user experience is improved.

Description

Message push control method and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message push control method and a terminal.
Background
At present, terminals such as smart phones and the like become necessities necessary for human beings, and the current terminals are generally provided with a plurality of instant messaging software, such as QQ, WeChat and the like. Generally, a user registers an account when using instant messaging software, adds friends through the account or joins some chat groups, and performs one-to-one communication with friends or performs group communication through the groups. Currently, when a user opens instant messaging software and is in an online state, when instant chat messages are sent out from friends or groups, if the user does not separately perform manual shielding setting on a certain friend or group, no matter the instant messaging software is in a background or a foreground, the terminal receives all the chat messages and pushes the chat messages, for example, when the screen is locked, the received chat messages are directly displayed on a screen locking interface and simultaneously vibrate or ring to prompt the user of new chat messages, the number of the received chat messages is directly displayed on an icon of the instant messaging software through corner marks, a drop-down box is automatically popped up above a main page interface of the terminal to display the received chat messages through a notification bar, but for different users, the user may not want to receive the push messages anytime and anywhere, for example, when a meeting is opened, it may not be desirable to vibrate or ring the mobile phone or directly pop up and push a message, or it is undesirable to receive some information of a non-working group when working intensely, and it is undesirable to receive some irrelevant information when playing in a holiday, and so on.
Disclosure of Invention
The invention mainly aims to provide a message pushing control method and a terminal, and aims to solve the problem that chat message pushing of instant messaging software in the prior art is not distinguished.
In order to achieve the above object, the present invention provides a message push control method, including:
when receiving a chat message of instant messaging software, judging the current scene of the terminal;
determining the label attribute of a target object to which the chat message belongs;
judging whether the scene of the target object in which the terminal is currently located is a shielding object according to the label attribute;
and if so, shielding the chat message.
Optionally, the step of determining the current scene of the terminal specifically includes:
inquiring whether the terminal is currently in a preset working mode, if so, determining the current scene of the terminal according to the preset working mode;
if not, acquiring the scene parameters of the terminal, and determining the current scene of the terminal according to the scene parameters and the preset rules.
Optionally, the step of determining the tag attribute of the target object to which the chat message belongs specifically includes:
determining a target object to which the chat message belongs;
and inquiring the name information and the chat records of the target object, and determining the label attribute of the target object according to the name information and the chat records.
Optionally, the step of judging whether the scene where the target object is currently located at the terminal is a shielding object according to the tag attribute specifically includes:
acquiring a corresponding shielding rule mapping table according to a scene where the terminal is currently located;
and determining whether the target object is a shielding object according to whether the shielding rule mapping table contains the label attribute.
Optionally, the step of shielding the chat message specifically includes:
determining a shielding level parameter;
and processing the chat message according to the shielding level parameter.
In addition, to achieve the above object, the present invention further provides a terminal, where the terminal includes a memory, a processor, and a message pushing control program stored in the memory and executable on the processor, and the processor executes the message pushing control program to implement the following steps:
when receiving a chat message of instant messaging software, judging the current scene of the terminal;
determining the label attribute of a target object to which the chat message belongs;
judging whether the scene of the target object in which the terminal is currently located is a shielding object according to the label attribute;
and if so, shielding the chat message.
Optionally, the step of executing the message pushing control program by the processor to determine the current scene of the terminal includes:
inquiring whether the terminal is currently in a preset working mode, if so, determining the current scene of the terminal according to the preset working mode;
if not, acquiring the scene parameters of the terminal, and determining the current scene of the terminal according to the scene parameters and the preset rules.
Optionally, the step of executing the message pushing control program by the processor to determine the tag attribute of the target object to which the chat message belongs includes:
determining a target object to which the chat message belongs;
and inquiring the name information and the chat records of the target object, and determining the label attribute of the target object according to the name information and the chat records.
Optionally, the step of executing the message pushing control program by the processor to determine whether the current scene of the target object at the terminal is a shielding object according to the tag attribute includes:
acquiring a corresponding shielding rule mapping table according to a scene where the terminal is currently located;
and determining whether the target object is a shielding object according to whether the shielding rule mapping table contains the label attribute.
Furthermore, to achieve the above object, the present invention also proposes a computer-readable storage medium storing a message push control program, which is executable by at least one processor to cause the at least one processor to execute the steps of the message push control method as described above.
The message push control method provided by the invention comprises the steps that a terminal judges the current scene of the terminal when receiving the chat message of instant messaging software; determining the label attribute of a target object to which the chat message belongs; judging whether the scene of the target object in which the terminal is currently located is a shielding object according to the label attribute; and if so, shielding the chat message. Therefore, after the chat message is received, the scene where the terminal is located and the object sending the chat message are judged, the message is selectively shielded according to different scenes and objects, the control of message pushing according to the scene is realized, the message pushing is enabled to better meet the requirements of users, better intelligent service is provided for the users, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional terminal for implementing various embodiments of the present invention;
fig. 2 is a schematic diagram of a communication network system of the terminal shown in fig. 1;
fig. 3 is a flowchart illustrating a message push control method according to a first embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a further detailed process of determining the current scene of the terminal in the step of FIG. 3;
FIG. 5 is a schematic view of a detailed flow chart of step 302 in FIG. 3;
FIG. 6 is a detailed flowchart of step 303 in FIG. 3;
FIG. 7 is a reference diagram of an operation mode setting interface of the terminal;
FIG. 8 is a schematic view of a reference of an instant messaging software interface;
FIG. 9 is another diagram of an instant messaging software interface;
FIG. 10 is a reference diagram of a shield installation interface of a terminal
Fig. 11 is a functional module diagram of a message push control program according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The client in the present invention is installed on a terminal, and the terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
In the following description, reference will be made to a mobile terminal as an example, and it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, the terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the terminal configuration shown in fig. 1 is not intended to be limiting, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes the various components of the terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. 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 (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal 100 or may be used to transmit data between the terminal 100 and the external device.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
Although not shown in fig. 1, the terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Firstly, the invention provides a terminal intelligent reminding method.
Referring to fig. 3, a schematic flow chart of a message push control method according to a first embodiment of the present invention is shown, and the method is mainly used in the terminal, and the method includes the steps of:
step S301, when receiving the chat message of the instant messaging software, judging the current scene of the terminal;
specifically, when any group or friend in the instant messaging software sends a chat message to the current user, the terminal receives the chat message, and at this time, the scene where the terminal is located needs to be determined. In the present invention, there may be a plurality of types of scenes, for example, a manufacturer may provide several common scenes by default when leaving a factory, for example, a working scene, a leisure scene, etc., and a user may add a new scene and set scene-related information according to actual needs. For example, a special scene P may be set for a certain trip P, and when it is detected that the current location information of the terminal is P, the terminal is in the special scene P by default.
Further, referring to fig. 4 at the same time, in this embodiment, the step of determining the current scene of the terminal specifically includes the following steps:
step 401, inquiring whether the terminal is currently in a preset working mode, if so, entering step 402, and determining a scene where the terminal is currently located according to the preset working mode; if not, go to step S403;
specifically, in general, for a terminal, a working mode of the terminal may be set, for example, a do not disturb mode, and the like, in this case, if the working mode is currently set for the terminal, the scene determination is preferentially considered as the working mode, and therefore, it is required to first query whether the terminal is currently in a preset working mode, and it can be understood that each preset working mode corresponds to one scene, for example, the working mode corresponds to the working scene, the night mode corresponds to the sleep scene, the travel mode corresponds to one travel scene, and the like. It can be understood that the types of the working modes and the corresponding relations between different working modes and scenes can be preset by manufacturers, and users can modify or add the working modes according to needs. When the terminal is inquired to be in the preset working mode, the corresponding scene can be determined according to the working mode, and therefore the scene where the terminal is located is determined.
Please refer to fig. 7, which is a schematic view of a working mode setting interface according to the present invention, in which a user can select a corresponding working mode to set a terminal, and if a new working mode needs to be added, the user can newly create a working mode through a "+" menu key at the upper right corner, enter a new working mode setting interface, set the new working mode and then add the new working mode, and after the setting is completed, add a working mode in the working mode setting interface.
It can be understood that, the user can also create a new scene as required, and set information related to the scene, which sets and adds a new operation mode type.
Step S403, acquiring scene parameters of the terminal, and determining the current scene of the terminal according to the scene parameters and preset rules.
If the terminal is not set to be in the working mode by the user currently, the terminal needs to be obtained according to the scene parameters, and then the scene where the terminal is located currently is determined according to the scene parameters. In the invention, the scene parameters comprise network parameters, time parameters and place parameters, and through any one or the combination of the three scene parameters and the combination of the three scene parameters, the scene parameters are combined with the preset rules, the current scene in which the terminal is located can be determined, for example, if the location parameter is a company location set by a user or the currently connected network is a company network, whether the current time is in the working hours of Monday to Friday (for example, 9:00-18:00), or the three conditions are met, the current working scene can be determined, the company location and the company network can be set by the user, or by intelligent judgment, e.g., the bandwidth of a corporate network is typically larger than the bandwidth of a home network, when the location information is located in a company, generally, the location information obtained by positioning is a technology park or a company location directly, or there are many companies or technology parks near the located location information. It can be understood that a judgment table can be prestored in the terminal to record various judgment conditions as preset recording rules, the judgment table records corresponding scenes when the scene information meets different conditions, and after the terminal obtains the scene information, the terminal performs judgment according to the preset rules recorded by the judgment table, so that the current scene where the terminal is located can be determined.
Step S302, determining the label attribute of the target object to which the chat message belongs;
specifically, the target object in the chat message refers to a group or a friend who sends the chat message, for example, a new chat message exists in the group K, and when the terminal detects the chat message, the chat message belongs to the group K. For each user of the instant messaging software, a plurality of friends and groups are added, and the added friends and groups form an address book. In the invention, each group and friend have a label attribute for identifying the attribute of the group or friend, wherein the label attribute can be relatives, friends, colleagues, classmates, works and the like. For example, the group K is a work group, and all the group chat records are work related content, the tag attribute of the group K can be determined to be work according to the keywords in the chat records, and the keywords can be intelligently collected and determined by the terminal through the network and updated and expanded in real time, for example, the keywords include some professional terms or common work terms. For another example, if the friend L is the user's mother, and the user has added the remark name "mother" when adding the friend L, the tag attribute may be defined as a parent, and so on. The label attribute can be defined by the user according to the address book of the user, and can be added or deleted at any time.
Further, referring to fig. 5, in this embodiment, the step S302 specifically includes the following steps:
step 501, determining a target object to which the chat message belongs;
step 502, inquiring the name information and the chat records of the target object, and determining the label attribute of the target object according to the name information and the chat records.
Specifically, it is first determined which group and friend sent the chat message, and the group or friend is determined as the target object. By intelligently identifying and matching the name information of the target object and the chat records, the label attribute of the target object can be determined. The name information comprises an actual name and a remark name, the actual name refers to the name of the friend or the group when the friend or the group is registered or established and is consistent to all people, the remark name refers to the name which is added by the user for convenient memory or distinction when the user adds the friend or the group, and the remark name is set by the user, can be set or not set for different users, and has no influence on each other. The terminal can usually determine the tag attribute of the target object very quickly by acquiring the name information of the target object, especially the target object with the remark name set. If the tag attribute cannot be determined from the name information, the tag attribute can be further determined through the chat records, for example, for different tag attributes, the terminal can preset keyword libraries with different tag attributes, and when the number of times of words appearing in a certain keyword library in the chat records reaches the preset number, the tag attribute of the target object corresponding to the chat records can be determined. It is understood that the keyword library can be intelligently collected, determined and updated and expanded in real time by the terminal through a network, the keyword libraries with different tag attributes are different, and for example, the keyword library with work attributes can include some professional terms or common work phrases.
It will be appreciated that the terminal may determine the tag attributes from the name information or the chat history alone or in combination, for example, directly from the name information, it may not be necessary to analyze the chat history, and similarly, directly from the chat history, it may not be necessary to analyze the name information. In the present invention, both the name information and the chat history are preferentially analyzed to achieve dual authentication.
Please refer to fig. 8, which is a schematic diagram of an interface of an instant chat software a according to the present invention. As shown in the figure, the current address list interface is located, the address list includes groups and friends, the group that the user joins can enter the next interface by clicking the group icon, and the interface displays all the groups that the user joins, as shown in fig. 9. On the interface shown in fig. 8, under the group icon, the friends added by the user are sequentially displayed according to a preset sequence (arranged by initials in the figure), each friend includes name information, and the friend with the set remark name also displays the remark name in colleagues. The terminal can determine the tag attribute of the object according to the name information, for example, if the remark name is "xxx colleague", the corresponding tag attribute is obviously colleague, and if the remark name is "table brother", the corresponding tag attribute is obviously relatives. For the group list shown in fig. 9, which shows the names of all groups that the user likes, the label attribute of the group can be determined according to the group name, for example, "XX department work group", the corresponding label attribute is necessarily work, "08-level XX college", and the corresponding label attribute is obviously classmate.
Step S303, judging whether the scene of the target object at the current position of the terminal is a shielding object or not according to the label attribute; if yes, go to step S304, otherwise, go to step S305;
step S304, shielding the chat message;
step S305, pushing the chat message.
Specifically, different scenes need to shield chat messages sent by different target objects, and each scene is mainly distinguished by the tag attribute of the target object. Therefore, after the tag attribute of the target object is determined, whether the target object is a shielding object of a scene where the terminal is currently located can be determined, if yes, the terminal shields the chat message, does not push the chat message, does not prompt a new message, and keeps the state before receiving the chat message after receiving the chat message, and does not change. If not, the chat message is pushed normally. The chat messages are normally pushed, including but not limited to, when the screen is locked, the received chat messages can be directly displayed on the screen locking interface and simultaneously vibrate or ring to prompt that a user has new chat messages, the number of the received chat messages is directly displayed on an icon of the instant chat software through a corner mark, or the received chat messages are automatically popped up and displayed through a drop-down box above a main page interface of the terminal in a notification bar mode, which is not limited by the invention.
Further, referring to fig. 6, in this embodiment, the step S303 specifically includes the following steps:
step 601, acquiring a corresponding shielding rule mapping table according to a scene where the terminal is currently located;
step 602, determining whether the target object is a shielding object according to whether the shielding rule mapping table contains the tag attribute;
specifically, each scene corresponds to a masking rule mapping table, and the group or the friend whose tag attribute is recorded in the table needs to be masked, as shown in the following table 1, which is an example of a masking rule mapping table corresponding to a working scene, it can be understood that the present invention is not limited to the specific form of the masking rule mapping table.
Table 1 shielding rule mapping table corresponding to working scenario
Figure BDA0001362850900000131
As can be seen from table 1, in the working scenario, except for the group or friend whose tag attribute is "work" or "co-worker", all other friends with tag attribute will be masked. It can be understood that the masking rule mapping table may change with changes of the tag attribute and the scene of the group or the friend, for example, if the tag attribute or the scene is added in the setting by the user, the terminal may prompt the user to synchronously modify the relevant masking rule mapping table while setting the tag attribute or the new scene. For example, when the user adds a tag attribute "boss", it may be set that the tag attribute needs to be added to the masking rule mapping tables of which scenes, for example, it may be set that the tag attribute is added to an allowed list in the masking rule mapping table of a working scene, or added to an allowed list in the masking rule mapping tables of all scenes. Similarly, when a new scene is added to the user, the terminal may prompt the user to establish a shielding rule mapping table of the scene at the same time, and the settings of the shielding list and the permission list may be performed when setting the scene-related information when the new scene is established.
After querying a shielding rule list corresponding to a current scene of the terminal according to the tag attribute of the target object, the terminal can determine whether the target object is a shielding object, if the tag attribute of the target object is not allowed in the list any more, the target object is the shielding object, otherwise, the target object is an allowed object.
Further, in this embodiment, the step S304 specifically includes the following steps:
determining a shielding level parameter;
and processing the chat message according to the shielding level parameter.
Specifically, for the screening object, the screening process of the chat message may be different according to the screening level. In this embodiment, two levels of shielding levels are set, level 1 is a lower level shielding, and the corresponding processing is to receive the chat message but not immediately display the chat message, that is, for the chat message of the shielding object, the terminal normally receives the chat message of the shielding object, but when the message is received, if the current interface is not the chat interface of the shielding object, the received chat message will not be directly pushed in other forms, for example, the chat message is directly displayed by a pop-up frame of a screen-locking interface or displayed by a pull-down navigation frame of a main interface, but the terminal still pushes a reminding message to remind the user of a new message, for example, the number of new messages is displayed by vibration reminding, ring reminding or an icon of instant chat software through an angle mark. Level 2 is a higher level mask, which corresponds to a process of receiving the chat message but completely masking any push, including direct push of the message and push of the reminder information, in which case the user does not know that there is a new message unless the user views the chat record of the masked object by himself.
In this embodiment, the shielding level parameter may be set for a certain scene, or may be set for a group or a friend. For example, a shielding level may be set for any group or friend in the instant application software, or a shielding level may be set for a group or friend with a certain type of tag attribute, so that when the group or friend, or the group or friend with the type of tag attribute, is a shielding object in a certain scene, the terminal processes the corresponding chat message according to the set shielding level. Similarly, it may be set directly in the scene without individually setting for the group or the friend, for example, the masking level in the working scene may be set to level 2, and all the objects to be masked in the working scene, whose chat messages are processed, are masked at level 2.
Referring to fig. 10, a schematic reference diagram of a shielding setting interface of a terminal is shown, in which shielding levels of different scenes may be set, for example, a shielding level of a working scene may be set to 2, and a shielding level of a tourism scene may be set to 1.
In the message push control method of the embodiment, when a chat message of instant messaging software is received, the current scene of a terminal is judged; determining the label attribute of a target object to which the chat message belongs; judging whether the scene of the target object in which the terminal is currently located is a shielding object according to the label attribute; and if so, shielding the chat message. Therefore, after the chat message is received, the scene where the terminal is located and the object sending the chat message are judged, the message is selectively shielded according to different scenes and objects, the control of message pushing according to the scene is realized, the message pushing is enabled to better meet the requirements of users, better intelligent service is provided for the users, and the user experience is improved.
Further, the present invention provides a message push control program.
Fig. 11 is a schematic diagram of functional modules of a message push control program 11 according to a second embodiment of the present invention. In this embodiment, the message pushing control program 11 may be divided into one or more modules, and the one or more modules are stored in the memory 109 of the terminal 100 and executed by one or more processors (in this embodiment, the processor 110) to complete the present invention. For example, in fig. 11, the message push control program 11 can be divided into a scene judgment module 111, an attribute determination module 112, a push judgment module 123 and a push processing module 114. The module referred to in the present invention refers to a series of readable computer program instruction segments capable of performing specific functions, which are more suitable than computer programs for describing the execution process of software in the terminal 100. The detailed description of the functions of the function modules 111 and 114 will be described below. Wherein:
the scene judging module 111 is configured to, when receiving a chat message of the instant messaging software, judge a scene where the terminal is currently located;
specifically, when any group or friend in the instant messaging software sends a chat message to the current user, the terminal receives the chat message, and at this time, the scene determining module 111 needs to determine the scene where the terminal is located. In the present invention, there may be a plurality of types of scenes, for example, a manufacturer may provide several common scenes by default when leaving a factory, for example, a working scene, a leisure scene, etc., and a user may add a new scene and set scene-related information according to actual needs. For example, a special scene P may be set for a certain trip P, and when it is detected that the current location information of the terminal is P, the terminal is in the special scene P by default.
Further, in this embodiment, the scene determining module 111 specifically includes:
the query unit is used for querying whether the terminal is currently in a preset working mode;
the determining unit is used for determining the current scene of the terminal according to the preset working mode when the terminal is in the preset working mode;
specifically, in general, for a terminal, a working mode of the terminal may be set, for example, a do not disturb mode, and the like, in this case, if the working mode is currently set for the terminal, the scene determination is considered preferentially with the working mode, and therefore, the query unit needs to query whether the terminal is currently in a preset working mode, and it can be understood that each preset working mode corresponds to one scene, for example, the working mode corresponds to the working scene, the night mode corresponds to the sleep scene, the travel mode corresponds to one travel scene, and the like. It can be understood that the types of the working modes and the corresponding relations between different working modes and scenes can be preset by manufacturers, and users can modify or add the working modes according to needs. When the terminal is found to be currently in the preset working mode, the determining unit may determine the scene corresponding to the terminal according to the working mode, so as to determine the scene where the terminal is currently located.
Please refer to fig. 7, which is a schematic view of a working mode setting interface according to the present invention, in which a user can select a corresponding working mode to set a terminal, and if a new working mode needs to be added, the user can newly create a working mode through a "+" menu key at the upper right corner, enter a new working mode setting interface, set the new working mode and then add the new working mode, and after the setting is completed, add a working mode in the working mode setting interface.
It can be understood that, the user can also create a new scene as required, and set information related to the scene, which sets and adds a new operation mode type.
And the acquisition unit is used for acquiring the scene parameters of the terminal and determining the current scene of the terminal according to the scene parameters and the preset rules.
If the terminal is not set to be in the working mode by the user currently, the obtaining unit needs to obtain the scene parameters of the terminal, and then the scene parameters determine the scene where the terminal is located currently. In the invention, the scene parameters comprise network parameters, time parameters and place parameters, and through any one or the combination of the three scene parameters and the combination of the three scene parameters, the scene parameters are combined with the preset rules, the current scene in which the terminal is located can be determined, for example, if the location parameter is a company location set by a user or the currently connected network is a company network, whether the current time is in the working hours of Monday to Friday (for example, 9:00-18:00), or the three conditions are met, the current working scene can be determined, the company location and the company network can be set by the user, or by intelligent judgment, e.g., the bandwidth of a corporate network is typically larger than the bandwidth of a home network, when the location information is located in a company, generally, the location information obtained by positioning is a technology park or a company location directly, or there are many companies or technology parks near the located location information. It can be understood that a judgment table can be prestored in the terminal to record various judgment conditions as preset recording rules, the judgment table records corresponding scenes when the scene information meets different conditions, and after the terminal obtains the scene information, the terminal performs judgment according to the preset rules recorded by the judgment table, so that the current scene where the terminal is located can be determined.
An attribute determining module 112, configured to determine a tag attribute of a target object to which the chat message belongs;
specifically, the target object in the chat message refers to a group or a friend who sends the chat message, for example, a new chat message exists in the group K, and when the terminal detects the chat message, the chat message belongs to the group K. For each user of the instant messaging software, a plurality of friends and groups are added, and the added friends and groups form an address book. In the invention, each group and friend have a label attribute for identifying the attribute of the group or friend, wherein the label attribute can be relatives, friends, colleagues, classmates, works and the like. For example, the group K is a work group, and all the group chat records are work related content, the tag attribute of the group K can be determined to be work according to the keywords in the chat records, and the keywords can be intelligently collected and determined by the terminal through the network and updated and expanded in real time, for example, the keywords include some professional terms or common work terms. For another example, if the friend L is the user's mother, and the user has added the remark name "mother" when adding the friend L, the tag attribute may be defined as a parent, and so on. The label attribute can be defined by the user according to the address book of the user, and can be added or deleted at any time.
Further, in this embodiment, the attribute determining module 112 specifically includes:
an object determination unit, configured to determine a target object to which the chat message belongs;
and the attribute query unit is used for querying the name information and the chat records of the target object and determining the label attribute of the target object according to the name information and the chat records.
Specifically, the object determining unit first determines which group and friend the chat message is sent from, and determines that the group or friend is the target object. The attribute query unit can determine the label attribute of the target object by intelligently identifying and matching the name information of the target object and the chat records. The name information comprises an actual name and a remark name, the actual name refers to the name of the friend or the group when the friend or the group is registered or established and is consistent to all people, the remark name refers to the name which is added by the user for convenient memory or distinction when the user adds the friend or the group, and the remark name is set by the user, can be set or not set for different users, and has no influence on each other. The attribute query unit can generally determine the tag attribute of the target object very quickly by acquiring the name information of the target object, particularly the target object with the remark name set. If the tag attribute cannot be determined from the name information, the tag attribute can be further determined through the chat records, for example, for different tag attributes, the terminal can preset keyword libraries with different tag attributes, and when the number of times of words appearing in a certain keyword library in the chat records reaches the preset number, the tag attribute of the target object corresponding to the chat records can be determined. It is understood that the keyword library can be intelligently collected, determined and updated and expanded in real time by the terminal through a network, the keyword libraries with different tag attributes are different, and for example, the keyword library with work attributes can include some professional terms or common work phrases.
It will be appreciated that the attribute lookup unit may determine the tag attribute from the name information or the chat history alone or in combination, for example, directly from the name information, it may not be necessary to analyze the chat history, and similarly, directly from the chat history, it may not be necessary to analyze the name information. In the present invention, both the name information and the chat history are preferentially analyzed to achieve dual authentication.
Please refer to fig. 8, which is a schematic diagram of an interface of an instant chat software a according to the present invention. As shown in the figure, the current address list interface is located, the address list includes groups and friends, the group that the user joins can enter the next interface by clicking the group icon, and the interface displays all the groups that the user joins, as shown in fig. 9. On the interface shown in fig. 8, under the group icon, the friends added by the user are sequentially displayed according to a preset sequence (arranged by initials in the figure), each friend includes name information, and the friend with the set remark name also displays the remark name in colleagues. The attribute query unit may determine the tag attribute of the object according to the name information, for example, if the remark name is "xxx colleague", the corresponding tag attribute is obviously colleague, and if the remark name is "table brother", the corresponding tag attribute is obviously relatives. For the group list shown in fig. 9, which shows the names of all groups that the user likes, the label attribute of the group can be determined according to the group name, for example, "XX department work group", the corresponding label attribute is necessarily work, "08-level XX college", and the corresponding label attribute is obviously classmate.
A push judging module 113, configured to judge, according to the tag attribute, whether the current scene where the target object is located in the terminal is a shielding object;
a pushing processing module 114, configured to mask the chat message when the target object is a mask object, and push the chat message when the target object is not a mask object.
Specifically, different scenes need to shield chat messages sent by different target objects, and each scene is mainly distinguished by the tag attribute of the target object. Therefore, after determining the tag attribute of the target object, the push determining module 113 may determine whether the target object is a shielding object of a current scene where the terminal is located, and if so, the push processing module 114 will shield the chat message, not push the chat message, and not prompt a new message, and the terminal will still maintain the state before receiving the chat message, and will not change. If not, the push processing module 114 will normally push the chat message. The chat messages are normally pushed, including but not limited to, when the screen is locked, the received chat messages can be directly displayed on the screen locking interface and simultaneously vibrate or ring to prompt that a user has new chat messages, the number of the received chat messages is directly displayed on an icon of the instant chat software through a corner mark, or the received chat messages are automatically popped up and displayed through a drop-down box above a main page interface of the terminal in a notification bar mode, which is not limited by the invention.
Further, in this embodiment, the pushing determining module 113 specifically includes:
the rule obtaining unit is used for obtaining a corresponding shielding rule mapping table according to a scene where the terminal is located currently;
a shielding determining unit, configured to determine whether the target object is a shielding object according to whether the shielding rule mapping table includes the tag attribute;
specifically, each scene corresponds to a masking rule mapping table, and the group or the friend whose tag attribute is recorded in the table needs to be masked, as shown in table 1 above is an example of a masking rule mapping table corresponding to a working scene, it can be understood that the present invention is not limited to the specific form of the masking rule mapping table.
As can be seen from table 1, in the working scenario, except for the group or friend whose tag attribute is "work" or "co-worker", all other friends with tag attribute will be masked. It can be understood that the masking rule mapping table may change with changes of the tag attribute and the scene of the group or the friend, for example, if the tag attribute or the scene is added in the setting by the user, the terminal may prompt the user to synchronously modify the relevant masking rule mapping table while setting the tag attribute or the new scene. For example, when the user adds a tag attribute "boss", it may be set that the tag attribute needs to be added to the masking rule mapping tables of which scenes, for example, it may be set that the tag attribute is added to an allowed list in the masking rule mapping table of a working scene, or added to an allowed list in the masking rule mapping tables of all scenes. Similarly, when a new scene is added to the user, the terminal may prompt the user to establish a shielding rule mapping table of the scene at the same time, and the settings of the shielding list and the permission list may be performed when setting the scene-related information when the new scene is established.
After querying a shielding rule list corresponding to a current scene of the terminal according to the tag attribute of the target object, the shielding determining unit may determine whether the target object is a shielding object, and if the tag attribute of the target object is not allowed in the list, the target object is a shielding object, otherwise, the target object is an allowed object.
Further, in this embodiment, the step of the push processing module 114 shielding the chat message specifically includes:
determining a shielding level parameter;
and processing the chat message according to the shielding level parameter.
Specifically, for the screening object, the screening process of the chat message may be different according to the screening level. In this embodiment, the masking level is set to have two levels, level 1 is a lower level masking, and the corresponding processing is to receive the chat message but not immediately display the chat message, that is, for the chat message of the masked object, the push processing module 114 normally receives the chat message of the masked object, but when the message is received, if the current interface is not the chat interface of the masked object, the received chat message will not be directly pushed in other forms, for example, a direct screen-locking interface popup box display or a direct main interface pull-down navigation box display, but the push processing module 114 still pushes the reminding information to remind the user of a new message, for example, vibration reminding, ring reminding or display the number of new messages on an instant chat software icon through an angle mark. Level 2 is a higher level mask, which corresponds to a process of receiving the chat message but completely masking any push, including direct push of the message and push of the reminder information, in which case the user does not know that there is a new message unless the user views the chat record of the masked object by himself.
In this embodiment, the shielding level parameter may be set for a certain scene, or may be set for a group or a friend. For example, a shielding level may be set for any group or friend in the instant application software, or a shielding level may be set for a group or friend with a certain type of tag attribute, so that when the group or friend, or the group or friend with the type of tag attribute, is a shielding object in a certain scene, the terminal processes the corresponding chat message according to the set shielding level. Similarly, it may be set directly in the scene without individually setting for the group or the friend, for example, the masking level in the working scene may be set to level 2, and all the objects to be masked in the working scene, whose chat messages are processed, are masked at level 2.
Referring to fig. 10, a schematic reference diagram of a shielding setting interface of a terminal is shown, in which shielding levels of different scenes may be set, for example, a shielding level of a working scene may be set to 2, and a shielding level of a tourism scene may be set to 1.
By executing the message push control program of the embodiment, when a chat message of instant messaging software is received, the current scene of the terminal is judged; determining the label attribute of a target object to which the chat message belongs; judging whether the scene of the target object in which the terminal is currently located is a shielding object according to the label attribute; and if so, shielding the chat message. Therefore, after the chat message is received, the scene where the terminal is located and the object sending the chat message are judged, the message is selectively shielded according to different scenes and objects, the control of message pushing according to the scene is realized, the message pushing is enabled to better meet the requirements of users, better intelligent service is provided for the users, and the user experience is improved.
The present invention further provides a computer-readable storage medium, on which the above-mentioned message push control program is stored, which, when executed by a processor, implements the message push control method as described above.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 invention 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (7)

1. A message push control method, characterized in that the method comprises the steps of:
when receiving a chat message of instant messaging software, judging the current scene of the terminal;
determining the label attribute of a target object to which the chat message belongs;
judging whether the scene of the target object in which the terminal is currently located is a shielding object according to the label attribute;
if yes, shielding the chat message;
the step of determining the tag attribute of the target object to which the chat message belongs specifically includes:
determining a target object to which the chat message belongs;
inquiring name information and a chat record of the target object, and determining the label attribute of the target object according to the name information and the chat record;
the step of shielding the chat message specifically comprises:
determining a shielding level parameter;
processing the chat message according to the shielding level parameter;
the determining the tag attribute of the target object according to the name information and the chat record comprises:
and when the number of times of words in a certain keyword library appearing in the chat records reaches a preset number, determining that the label attribute corresponding to the keyword library is the label attribute of the target object, wherein the keyword libraries with different label attributes are different.
2. The message push control method according to claim 1, wherein the step of determining a current scene of the terminal specifically includes:
inquiring whether the terminal is currently in a preset working mode, if so, determining the current scene of the terminal according to the preset working mode;
if not, acquiring the scene parameters of the terminal, and determining the current scene of the terminal according to the scene parameters and the preset rules.
3. The message push control method according to claim 1, wherein the step of determining whether the scene where the target object is currently located at the terminal is a mask object according to the tag attribute specifically includes:
acquiring a corresponding shielding rule mapping table according to a scene where the terminal is currently located;
and determining whether the target object is a shielding object according to whether the shielding rule mapping table contains the label attribute.
4. A terminal, characterized in that the terminal comprises a memory, a processor and a message push control program stored on the memory and executable on the processor, the processor executing the message push control program to implement the steps of:
when receiving a chat message of instant messaging software, judging the current scene of the terminal;
determining the label attribute of a target object to which the chat message belongs;
judging whether the scene of the target object in which the terminal is currently located is a shielding object according to the label attribute;
if yes, shielding the chat message;
the processor executes the message pushing control program to determine the tag attribute of the target object to which the chat message belongs, and the step of determining the tag attribute of the target object to which the chat message belongs comprises the following steps:
determining a target object to which the chat message belongs;
inquiring name information and a chat record of the target object, and determining the label attribute of the target object according to the name information and the chat record;
the step of shielding the chat message specifically comprises:
determining a shielding level parameter;
processing the chat message according to the shielding level parameter;
the determining the tag attribute of the target object according to the name information and the chat record comprises:
and when the number of times of words in a certain keyword library appearing in the chat records reaches a preset number, determining that the label attribute corresponding to the keyword library is the label attribute of the target object, wherein the keyword libraries with different label attributes are different.
5. The terminal according to claim 4, wherein the step of the processor executing the message pushing control program to determine a current scene of the terminal specifically includes:
inquiring whether the terminal is currently in a preset working mode, if so, determining the current scene of the terminal according to the preset working mode;
if not, acquiring the scene parameters of the terminal, and determining the current scene of the terminal according to the scene parameters and the preset rules.
6. The terminal of claim 4, wherein the processor executes the message pushing control program to determine whether the scene in which the target object is currently located in the terminal is a shielding object according to the tag attribute comprises:
acquiring a corresponding shielding rule mapping table according to a scene where the terminal is currently located;
and determining whether the target object is a shielding object according to whether the shielding rule mapping table contains the label attribute.
7. A computer-readable storage medium storing a message push control program executable by at least one processor to cause the at least one processor to perform the steps of the message push control method according to any one of claims 1-3.
CN201710626065.0A 2017-07-27 2017-07-27 Message push control method and terminal Active CN107517153B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710626065.0A CN107517153B (en) 2017-07-27 2017-07-27 Message push control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710626065.0A CN107517153B (en) 2017-07-27 2017-07-27 Message push control method and terminal

Publications (2)

Publication Number Publication Date
CN107517153A CN107517153A (en) 2017-12-26
CN107517153B true CN107517153B (en) 2021-01-01

Family

ID=60722948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710626065.0A Active CN107517153B (en) 2017-07-27 2017-07-27 Message push control method and terminal

Country Status (1)

Country Link
CN (1) CN107517153B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108616654B (en) * 2018-04-03 2021-03-26 Oppo广东移动通信有限公司 Message reminding method, device, terminal and computer readable storage medium
CN108364650B (en) * 2018-04-18 2024-01-19 北京声智科技有限公司 Device and method for adjusting voice recognition result
CN108920675B (en) * 2018-07-09 2021-05-07 北京百悟科技有限公司 Information processing method and device, computer storage medium and terminal
CN109245990B (en) * 2018-08-28 2021-01-08 Oppo广东移动通信有限公司 Message display method, device, terminal and storage medium
CN109525647B (en) * 2018-10-25 2022-07-08 平安科技(深圳)有限公司 Message push badge value control method, electronic device and storage medium
CN112787910A (en) * 2021-01-29 2021-05-11 联仁健康医疗大数据科技股份有限公司 Message processing method and device, electronic equipment and storage medium
CN112769682A (en) * 2021-01-29 2021-05-07 联仁健康医疗大数据科技股份有限公司 Message display method, message processing device, electronic equipment and storage medium
CN113852528A (en) * 2021-09-16 2021-12-28 珠海格力电器股份有限公司 Message processing method and device, nonvolatile storage medium and electronic device
CN115190093B (en) * 2022-08-07 2024-04-09 王桂英 Method, device, computer equipment and storage medium for simplifying instant messaging operation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929355A (en) * 2014-05-04 2014-07-16 侯贺杰 Communication classification reminder
CN104836722A (en) * 2015-03-30 2015-08-12 北京北信源软件股份有限公司 Processing method of embodying message important degree in instant message
CN105426398A (en) * 2015-10-29 2016-03-23 小米科技有限责任公司 Information processing method and apparatus
CN105656763A (en) * 2016-02-03 2016-06-08 浙江翼信科技有限公司 Message pushing method and message pushing device
CN106302645A (en) * 2016-07-28 2017-01-04 北京小米移动软件有限公司 The method and device of PUSH message

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101282312B (en) * 2008-05-16 2011-02-02 腾讯科技(深圳)有限公司 Control method for group display mode in instant communication system as well as instant communication system
CN103188133B (en) * 2011-12-29 2016-08-17 北京神州泰岳软件股份有限公司 Client good friend's label UltraDialUp communication method and device
CN102685751B (en) * 2012-04-06 2016-06-29 百度在线网络技术(北京)有限公司 A kind of method and apparatus for processing conversation request
CN103455508A (en) * 2012-05-31 2013-12-18 国际商业机器公司 Method and device for controlling social network application information stream display
CN104104583A (en) * 2013-04-15 2014-10-15 富泰华工业(深圳)有限公司 Instant message system and instant message information management method
CN103942021B (en) * 2014-03-24 2018-08-14 华为技术有限公司 Content presenting method, the method for pushing and intelligent terminal of content presentation mode
CN104009910A (en) * 2014-05-28 2014-08-27 惠州Tcl移动通信有限公司 Message pushing processing method and system based on mobile terminal and mobile terminal
CN105511739A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 Message prompting method and device
CN105791099A (en) * 2016-04-25 2016-07-20 上海云睦网络科技有限公司 Message prompting method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103929355A (en) * 2014-05-04 2014-07-16 侯贺杰 Communication classification reminder
CN104836722A (en) * 2015-03-30 2015-08-12 北京北信源软件股份有限公司 Processing method of embodying message important degree in instant message
CN105426398A (en) * 2015-10-29 2016-03-23 小米科技有限责任公司 Information processing method and apparatus
CN105656763A (en) * 2016-02-03 2016-06-08 浙江翼信科技有限公司 Message pushing method and message pushing device
CN106302645A (en) * 2016-07-28 2017-01-04 北京小米移动软件有限公司 The method and device of PUSH message

Also Published As

Publication number Publication date
CN107517153A (en) 2017-12-26

Similar Documents

Publication Publication Date Title
CN107517153B (en) Message push control method and terminal
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN107347011B (en) Group message processing method, equipment and computer readable storage medium
CN108241752B (en) Photo display method, mobile terminal and computer readable storage medium
CN107862217B (en) Position information acquisition method, mobile terminal and computer storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN109219004B (en) Short message unsubscribing method and device, mobile terminal and readable storage medium
CN107832032B (en) Screen locking display method and mobile terminal
CN111949177A (en) Information transmission method, terminal device, and computer-readable storage medium
CN112306799A (en) Abnormal information acquisition method, terminal device and readable storage medium
CN112162870A (en) File processing operation method, mobile terminal and storage medium
CN109309762B (en) Message processing method, device, mobile terminal and storage medium
CN109522276B (en) Application icon management method, terminal and computer-readable storage medium
CN115022457A (en) Reminding method, intelligent terminal and storage medium
CN108282608B (en) Multi-region focusing method, mobile terminal and computer readable storage medium
CN107347114B (en) Voice information receiving and sending control method and terminal
CN113485899A (en) Information processing method, terminal device and storage medium
CN113094585A (en) Information recommendation method, terminal device and readable storage medium
CN110083294B (en) Screen capturing method, terminal and computer readable storage medium
CN109710168B (en) Screen touch method and device and computer readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN109495643B (en) Object multi-chat frame setting method and terminal
CN108845821B (en) Application program updating method, terminal and computer readable storage medium
CN107678622B (en) Application icon display method, terminal and storage medium
CN115914719A (en) Screen projection display method, intelligent terminal and storage medium

Legal Events

Date Code Title Description
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