WO2017008588A1 - 消息处理方法及装置 - Google Patents

消息处理方法及装置 Download PDF

Info

Publication number
WO2017008588A1
WO2017008588A1 PCT/CN2016/084289 CN2016084289W WO2017008588A1 WO 2017008588 A1 WO2017008588 A1 WO 2017008588A1 CN 2016084289 W CN2016084289 W CN 2016084289W WO 2017008588 A1 WO2017008588 A1 WO 2017008588A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
message
threshold
user
receiving
Prior art date
Application number
PCT/CN2016/084289
Other languages
English (en)
French (fr)
Inventor
田元
李锋
李霖
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to JP2017560728A priority Critical patent/JP6517950B2/ja
Priority to KR1020177032012A priority patent/KR102006562B1/ko
Publication of WO2017008588A1 publication Critical patent/WO2017008588A1/zh
Priority to US15/701,962 priority patent/US10680981B2/en

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/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/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers

Definitions

  • FIG. 2 is a flowchart of another message processing method according to an embodiment of the present invention.
  • the threshold set by the server is the third number of received packets
  • the first threshold is smaller than the second threshold, the first number of receiving strips is smaller than the second number of receiving strips, and the second number of receiving strips is smaller than the third number of receiving strips.
  • the receiving threshold set by the server is obtained as the receiving threshold of the group.
  • the server side can set a unified receiving threshold for different groups. Of course, you can also set different receiving thresholds for different groups. For a message, if there are a large number of users in the group, the pressure on the server to store and deliver the server is large, and if the number of users in the group is small, the pressure is relatively small, therefore, Different receiving thresholds can be set for groups of different sizes. The larger the group size, the smaller the receiving threshold can be set.
  • groups can be divided into small groups, medium groups, and large groups by size.
  • the small group may be a group whose number of users in the group is less than a first threshold
  • the middle group may be a group whose number of users in the group is greater than a first threshold and less than a second threshold
  • the large group may be greater than the number of users in the group.
  • a group of second thresholds are examples of second thresholds.
  • the receiving threshold set by the server is the first number of receiving; for the group whose number of users in the group is greater than the first threshold and less than the second threshold
  • the receiving threshold set by the server is the second number of receiving packets; for the group whose number of users in the group is greater than the second threshold, the receiving threshold set by the server is the third receiving number;
  • the first threshold is smaller than the second threshold, the first number of receiving strips is greater than the second number of receiving strips, and the second number of receiving strips is greater than the third number of receiving strips.
  • the division of the group size may also be a super large group, a small group, etc.
  • the setting of the receiving threshold may also conform to the above principle, and is not specifically limited herein.
  • the receiving threshold obtained by the receiving threshold acquisition method is more targeted, and different receiving thresholds may be used for groups of different users.
  • step 203 Determine whether the number of received messages in the group exceeds the receiving threshold in the preset duration. If yes, go to step 204. If no, continue to step 202.
  • step 205 it can be determined whether the user is in the group is greater than the preset reference value by using the preset reference value. If the user is more active in the group than the preset reference value, step 205 can be performed. If the user's activity in the group is less than or equal to the preset reference value, it is determined that the message in the group may be disturbing to the user, and the group needs to be automatically set to the message do not disturb mode.
  • the receiving threshold A of the group is greater than A, and at this time, the activity S of the user in the group is obtained, if active Degree S is greater than pre
  • the mute weight can be adjusted according to S.
  • the setting of the message DND mode may be a method of setting the group as a mute group or rejecting the group message, which is not limited in this embodiment of the present invention.
  • FIG. 3 is a schematic diagram of prompt information display according to an embodiment of the present invention.
  • the display position of the reminder information is located at the upper part of the group session interface, and in the actual scene, the display position of the reminder information may be a certain position of the session list interface, or may be a group.
  • the location of the group session interface is not specifically limited in this embodiment of the present invention.
  • the manner of displaying the reminder information can enable the user to confirm whether he or she really needs to activate the message do not disturb mode through reverse thinking, and can also guide the user to actively remind some groups that are interested in the message. Settings.
  • the session entry corresponding to the group in the session list interface may display information such as the number of update messages, so that the user can Know the approximate conversation status of the group.
  • the update message of the group may not be acquired, but only when the user triggers the viewing operation on the group, according to some groups of the group.
  • the behavior information and the like acquire a certain number of historical messages, and determine whether to acquire more historical messages based on the operation of the user, thereby reducing the traffic consumption of the mobile terminal.
  • the method provided by the embodiment of the present invention determines whether the current interruption of the user is formed according to the group behavior information of the group, the receiving threshold, and the like, thereby automatically setting the group to the message do not disturb in the case of determining that the interference may be caused.
  • the mode enables the subsequent messages in the group to not prompt the user in real time, and implements a message processing method for dynamically triggering the message do not disturb mode, which can effectively prevent message interruption.
  • the server storage and delivery pressure is reduced, and the user's activity level in the group is also added in the judgment process. And the dynamic adjustment of the receiving threshold based on the activity level, so that the automatic setting process is more in line with the user's actual usage habits, closer to the user's psychology, and the setting is more humanized.
  • FIG. 4 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present invention.
  • the apparatus includes:
  • the threshold obtaining module 401 is configured to acquire a receiving threshold of the group
  • the behavior information obtaining module 402 is configured to acquire group behavior information of the group, where the group behavior information includes at least a number of received messages;
  • the setting module 403 is configured to set the group to a message do not disturb mode when the number of received messages in the group exceeds the receiving threshold in a preset duration, so that the group is no longer received by the group.
  • the message to the real-time reminder.
  • the threshold obtaining module 401 is configured to obtain a receiving threshold set by the server as a receiving threshold of the group; or obtain a received message strip when the user sets a message do not disturb mode during historical use. The number is obtained according to the statistics of the historical usage process, and the receiving threshold of the group is obtained.
  • the receiving threshold set by the server is the first number of receiving; and the number of users in the group is greater than the first threshold and less than the second threshold.
  • the receiving threshold set by the server is a second number of receiving; and for a group in which the number of users in the group is greater than the second threshold, the receiving threshold set by the server is the third number of receiving.
  • the group behavior information further includes an activity level of the user in the group
  • the setting module 403 is further configured to: when the user is active in the group, the activity level is greater than a preset reference value. , setting the group to the message do not disturb mode.
  • the device further includes:
  • the setting module 403 is configured to adjust a receiving threshold of the group according to the mute weight, and set a message do not disturb mode based on the adjusted receiving threshold;
  • the device further includes:
  • the display module is configured to display reminder information, where the reminder information is used to prompt the group to have the message DND mode enabled.
  • the message DND mode refers to canceling an audible reminder for the message received by the group; and/or, the message DND mode refers to not performing the message received by the group. Notification bar reminder.
  • FIG. 6 is a flowchart of a message processing method (eg, processing a message in a group of social applications) according to a further embodiment of the present invention.
  • the method can be implemented in a client-server environment where the client communicates with the server over a network such as the Internet.
  • the method can be used in a social application having at least one group that is also implemented in the client-server environment.
  • a member of at least one group of the social application ie, a group user
  • the method of this embodiment will be described in detail below with reference to FIG.
  • the server determines that the group user receives the number of messages within a preset time period to monitor in real time whether the group is bothering the user. Since the transmission of messages in the group is performed by the server, the server can monitor the time of each message received and sent by each user of the group, and the number of messages received and sent by the user within a certain period of time.
  • the predetermined threshold for convenience of description, the symbol "A" below indicates a predetermined threshold.
  • the predetermined threshold may be determined by the server according to any of the following methods Or their combination settings:
  • the server randomly sets the predetermined threshold.
  • the server sets the predetermined threshold according to the number of users of the group (ie, the number of all users of the group).
  • the predetermined threshold is inversely proportional to the number of users of the group.
  • the server determines the predetermined threshold according to a historical behavior of the group user. For example, the server may determine the number of messages that have been received when the group does not disturb the mode during the historical use of the group by each group user, and determine the reservation for each group user according to the statistics of the historical usage process. Threshold.
  • the thresholds obtained by this threshold setting method are more targeted, and the same user may have different thresholds in different groups.
  • the degree of activity of the group user in the group may be determined by the server according to the number or frequency of messages sent by the group user to other users in the group (for convenience of description, the following uses The symbol "S" indicates the degree of activity). For example, it can be simply set that the group user's activity level in the group is proportional to the number or frequency of messages sent.
  • the user may determine according to the activity level of the user in the group for a recent period of time, and when the message data that is relatively long away from the current time is not considered or considered comprehensively, Its proportion is reduced.
  • a reference value can be set in advance (for convenience of description, the reference value is represented by the symbol "Sset" hereinafter), and it is judged whether the user's activity level in the group is greater than the reference value.
  • step 606 If the activity level of the user in the group is less than or equal to the reference value, it is determined that the message in the group is disturbing to the user, and the group needs to be automatically set to the message do not disturb mode (ie, step 606 is performed)
  • step 604 is performed.
  • the server may adjust the predetermined threshold according to the activity level. For example, suppose the number of messages received by a group user within a preset duration is B, and the group user is active in the group as S. If B is greater than the predetermined threshold A and the activity level S is greater than the reference value Sset, the predetermined threshold A may be adjusted according to S such that the larger the activation level S is, the larger the value of the adjusted predetermined threshold A is.
  • the reduction of server storage and delivery pressure is achieved, and in the judgment process, the judgment of the user's activity level in the group is added and based on The activity level dynamically adjusts the threshold, so that the automatic setting process is more in line with the user's actual usage habits, closer to the user's psychology, and the setting is more humanized.
  • Embodiments of the present invention also provide a message processing apparatus including a memory and a processor, the memory storing program instructions that, when executed by a processor, configure the message processing apparatus to perform according to any of the above embodiments Methods.
  • Embodiments of the present invention also provide a computer readable storage medium storing program instructions that, when executed by a processor, configure the processor to perform a method according to any of the above embodiments.
  • the terminal 500 includes:
  • the terminal 500 may include an RF (Radio Frequency) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, and a WiFi (Wireless Fidelity, wireless).
  • the fidelity module 170 includes a processor 180 having one or more processing cores, and a power supply 190 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 5 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 110 can be used for transmitting and receiving information or during a call, and receiving and transmitting signals. Specifically, after receiving downlink information of the base station, the downlink information is processed by one or more processors 180. In addition, the data related to the uplink is sent to the base station. .
  • the RF circuit 110 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier). , duplexer, etc.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access). , Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • e-mail Short Messaging Service
  • the memory 120 can be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by running software programs and modules stored in the memory 120.
  • the memory 120 can mainly include a storage program area and a storage data area, wherein the storage program area can store operations The system, at least one function required application (such as a sound playing function, an image playing function, etc.), etc.; the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the terminal 500.
  • memory 120 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 120 may also include a memory controller to provide access to memory 120 by processor 180 and input unit 130.
  • the input unit 130 can be configured to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input unit 130 can include touch-sensitive surface 131 as well as other input devices 132.
  • Touch-sensitive surface 131 also referred to as a touch display or trackpad, can collect touch operations on or near the user (such as a user using a finger, stylus, etc., on any suitable object or accessory on touch-sensitive surface 131 or The operation near the touch-sensitive surface 131) and driving the corresponding connecting device according to a preset program.
  • the touch-sensitive surface 131 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 180 is provided and can receive commands from the processor 180 and execute them.
  • the touch-sensitive surface 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 can also include other input devices 132.
  • other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Display unit 140 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 500, which can be constructed from graphics, text, icons, video, and any combination thereof.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface 131 may cover the display panel 141, and when the touch-sensitive surface 131 detects a touch operation thereon or nearby, it is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 according to the touch event The type provides a corresponding visual output on display panel 141.
  • the touch-sensitive surface 131 is The display panel 141 is implemented as two separate components to implement input and input functions, but in some embodiments, the touch-sensitive surface 131 can be integrated with the display panel 141 to implement input and output functions.
  • Terminal 500 can also include at least one type of sensor 150, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 141 according to the brightness of the ambient light, and the proximity sensor may close the display panel 141 when the terminal 500 moves to the ear. / or backlight.
  • the gravity acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the terminal 500 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Let me repeat.
  • the audio circuit 160, the speaker 161, and the microphone 162 can provide an audio interface between the user and the terminal 500.
  • the audio circuit 160 can transmit the converted electrical data of the received audio data to the speaker 161 for conversion to the sound signal output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal by the audio circuit 160. After receiving, it is converted into audio data, and then processed by the audio data output processor 180, transmitted to the terminal, for example, via the RF circuit 110, or outputted to the memory 120 for further processing.
  • the audio circuit 160 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 500.
  • WiFi is a short-range wireless transmission technology
  • the terminal 500 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 170, which provides wireless broadband Internet access for users.
  • FIG. 5 shows the WiFi module 170, it can be understood that it does not belong to the essential configuration of the terminal 500, and may be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 180 is the control center of the terminal 500, connecting various portions of the entire handset with various interfaces and lines, by running or executing software programs and/or modules stored in the memory 120, and recalling data stored in the memory 120, The various functions and processing data of the terminal 500 are performed to perform overall monitoring of the mobile phone.
  • the processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor and a modem processor, where the application processes The main processing system, user interface and applications, etc., the modem processor mainly deals with wireless communication. It can be understood that the above modem processor may not be integrated into the processor 180.
  • the terminal 500 also includes a power source 190 (such as a battery) for powering various components.
  • a power source 190 such as a battery
  • the power source can be logically coupled to the processor 180 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • Power supply 190 may also include any one or more of a DC or AC power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.

Abstract

本公开提供了一种消息处理方法及装置。所述方法包括:获取群组的收信阈值;获取所述群组的群行为信息,所述群行为信息至少包括接收消息条数;当所述群组在预设时长内的收消息条数超过所述收信阈值,将所述群组设置为消息免打扰模式,从而不再对所述群组所接收到的消息进行实时提醒。本公开通过根据群组的群行为信息以及收信阈值等确定当前是否构成了对用户的打扰,从而在确定可能构成打扰的情况下,自动将群组设置为消息免打扰模式,使得后续该群组内的消息均不对用户进行实时提醒,实现了一种动态触发消息免打扰模式的消息处理方法,能够有效的预防消息的打扰。

Description

消息处理方法及装置
本申请要求2015年7月15日提交中国专利局、申请号为201510417238.9、发明名称为“消息处理方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及网络技术领域,特别涉及一种消息处理方法及装置。
背景技术
随着网络技术的发展,用于提供信息服务的社交应用应运而生。用户不仅可以通过社交应用与自己的好友进行一对一的消息交互,还可以在社交应用的群组中与群组中的其他用户进行消息交互。一般来说,组群中的一个成员发消息时,该成员发送的消息组群中的其他成员都可以收到,从而可以实现多个用户就相关主题展开讨论。
而对于用户来说,虽然可以自行选择是否加入群组,但是由于关注程度或当前使用场景的不同,用户可能不想接收到某些群组的消息。为了避免群组消息的打扰,可以由用户将群组设置为消息免打扰模式,如设置为静音群等方式,实现群组消息免打扰的目的。
上述消息处理方式是用户在已经感觉到被打扰的情况下才会进行免打扰设置,然而,打扰的事实已经形成,这种消息处理方式仅能起到后续补救的作用,而不能够对打扰起到预防作用。
发明内容
为了解决上述问题,本发明实施例提供了一种消息处理方法及装置。
一方面,本发明实施例提供了一种消息处理方法,所述方法包括:
获取群组的收信阈值;
获取所述群组的群行为信息,所述群行为信息至少包括接收消息条数;
当所述群组在预设时长内的接收消息条数超过所述收信阈值,将所述群组设置为消息免打扰模式,从而不再对所述群组所接收到的消息进行实时提醒。
另一方面,本发明实施例提供了一种消息处理装置,所述装置包括:
阈值获取模块,用于获取群组的收信阈值;
行为信息获取模块,用于获取所述群组的群行为信息,所述群行为信息至少包括接收消息条数;
设置模块,用于当所述群组在预设时长内的接收消息条数超过所述收信阈值,将所述群组设置为消息免打扰模式,从而不再对所述群组所接收到的消息进行实时提醒。
根据本发明的实施例,通过根据群组的群行为信息以及收信阈值等确定当前是否构成了对用户的打扰,从而在确定可能构成打扰的情况下,自动将群组设置为消息免打扰模式,使得后续该群组内的消息均不对用户进行实时提醒,实现了一种动态触发消息免打扰模式的消息处理方法,能够有效的预防消息的打扰。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种消息处理方法的流程图;
图2是本发明实施例提供的另一种消息处理方法的流程图;
图3是本发明实施例提供的提示信息显示示意图;
图4是本发明实施例提供的一种消息处理装置的结构示意图;
图5是本发明实施例提供的一种终端的结构示意图;
图6是本发明实施例提供的又一种消息处理方法的流程图。
具体实施方式
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图,对本发明实施例进行清楚、完整地描述。虽然本发明将结合这些实施例来进行描述,但应该理解的是,本发明并不限制于这些实施例。基于下文描述的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。此外,在以下对本发明的实施例的具体描述中展示了大量具体细节,以提供对本发明的深入理解。然而,本领域普通技术人员应该意识到,本发明可在没有这些具体细节的情况下被实施。
图1是本发明一个实施例提供的一种消息处理方法的流程图。参见图1,所述方法包括:
101、获取群组的收信阈值。
102、获取所述群组的群行为信息,所述群行为信息至少包括接收消息条数。
103、当所述群组在预设时长内的接收消息条数超过所述收信阈值,将所述群组设置为消息免打扰模式,从而不再对所述群组所接收到的消息进行实时提醒。
本发明实施例提供的方法,通过根据群组的群行为信息以及收信阈值等确定当前是否构成了对用户的打扰,从而在确定可能构成打扰的情况下,自动将群组设置为消息免打扰模式,使得后续该群组内的消息均不对用户进行实时提醒,实现了一种动态触发消息免打扰模式的消息处理方法,能够有效的预防消息的打扰。
可选地,所述获取群组的收信阈值包括:
将服务器所设置的收信阈值获取为所述群组的收信阈值;或,
获取用户在历史使用过程中设置消息免打扰模式时的接收消息条数,根据对所述历史使用过程的统计,获取所述群组的收信阈值。
可选地,对于群组内用户数小于第一阈值的群组,所述服务器所设置的 收信阈值为第一接收条数;
对于群组内用户数大于第一阈值且小于第二阈值的群组,所述服务器所设置的收信阈值为第二接收条数;
对于群组内用户数大于所述第二阈值的群组,所述服务器所设置的收信阈值为第三接收条数;
其中,所述第一阈值小于所述第二阈值,所述第一接收条数小于所述第二接收条数,所述第二接收条数小于所述第三接收条数。
可选地,所述群行为信息还包括所述用户在所述群组中的活跃程度,所述方法还包括:
当所述用户在所述群组中的活跃程度大于预设参考值,将所述群组设置为消息免打扰模式。
可选地,所述方法还包括:
当所述用户在所述群组中的活跃程度不大于预设参考值,根据所述活跃程度,获取静音权重;
根据所述静音权重,调整所述群组的收信阈值,并基于调整后的收信阈值进行免打扰模块的设置;
其中,活跃程度越高,所述静音权重越高,调整后的收信阈值越大。
可选地,将所述群组设置为消息免打扰模式之后,所述方法还包括:
显示提醒信息,所述提醒信息用于提示所述群组已经开启消息免打扰模式。
可选地,所述消息免打扰模式是指取消对所述群组所接收到的消息的声音提醒;和/或,所述消息免打扰模式是指不对所述群组所接收到的消息进行通知栏提醒。
上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。
图2是本发明另一实施例提供的一种消息处理方法的流程图。参见图2,该实施例具体包括:
201、获取群组的收信阈值。
收信阈值是指预设时长内接收到群组消息的最大条数。该预设时长可以由服务器设置或由终端用户自行设置,本发明实施例对此不作具体限定。
另外,终端可以在启动社交应用时获取终端用户的各个群组的收信阈值,也可以在社交应用运行过程中的任意时刻获取终端用户的各个群组的收信阈值,本发明实施例对该获取时机不作限定。
在本发明实施例中,获取群组的收信阈值的过程具体可以包括以下任一种方式:
第一种方式、将服务器所设置的收信阈值获取为所述群组的收信阈值。
服务器侧可以为不同群组设置一个统一的收信阈值。当然,还可以为不同群组设置不同的收信阈值。对于一条消息,如果群组内用户数较多,则会对服务器存储和下发的压力较大,而如果群组内用户数较少,则相对来说,所造成的压力较小,因此,对于不同规模的群组可以设置不同的收信阈值,群组规模越大,其设置的收信阈值可以越小。
例如,可以将群组按照规模分成小群、中群和大群。其中,小群可以为群组内用户数小于第一阈值的群组,中群可以为群组内用户数大于第一阈值且小于第二阈值的群组,大群可以为群组内用户数大于第二阈值的群组。那么,对于群组内用户数小于第一阈值的群组,所述服务器所设置的收信阈值为第一接收条数;对于群组内用户数大于第一阈值且小于第二阈值的群组,所述服务器所设置的收信阈值为第二接收条数;对于群组内用户数大于所述第二阈值的群组,所述服务器所设置的收信阈值为第三接收条数;其中,所述第一阈值小于所述第二阈值,所述第一接收条数大于所述第二接收条数,所述第二接收条数大于所述第三接收条数。
当然,对群组规模的划分还可以由超大群、小小群等,其收信阈值的设置也可以符合上述原理,在此不作具体限定。
第二种方式、获取用户在历史使用过程中设置消息免打扰模式时的接收消息条数,根据对所述历史使用过程的统计,获取所述群组的收信阈值。
为了使消息免打扰模式的自动设置更加符合用户的使用习惯,可以记录 终端用户每次对任一群组设置消息免打扰模式之前的接收消息条数,当然,该接收消息条数可以是某一预设时长内统计的条数,从而根据上述记录的多次统计得到的接收消息条数,获取该终端用户的各个群组的收信阈值,此时,该收信阈值可以是历史使用过程中接收消息条数的平均值,还可以是历史使用过程中接收消息条数的最大值,还可以是历史使用过程中接收消息条数的最小值等,本发明实施例对此不作具体限定。
当然,在统计和获取过程中,可以根据某一个群组的历史使用过程确定该群组的收信阈值,还可以是根据多个群组的历史使用过程确定所有群组的统一的收信阈值,本发明实施例对此不作限定。例如,对于群组A、B和C在历史使用过程中被设置为消息免打扰模式之前预设时长内所接收消息条数进行统计,分别为15条、20条和25条,则可以将群组A、B和C的收信阈值设置为(15+20+25)/3=20条。而如果群组A在多次使用过程中被设置为消息免打扰模式之前预设时长内所接收消息条数分别为15、16和17条,则可以将群组A的收信阈值设置为(15+16+17)/3=16条。
通过这种收信阈值获取方式所获取到的收信阈值更加有针对性,对于不同用户的群组可以有不同的收信阈值。
202、获取所述群组的群行为信息,所述群行为信息至少包括接收消息条数。
终端可以在社交应用运行过程中获取终端用户的各个群组的群行为信息,以便实时监控各个群组是否可能发生对用户造成打扰的行为。当然,该获取是针对未设置消息免打扰模式的群组,对于已设置消息免打扰模式的群组来说,可以不进行该获取过程。
203、判断所述群组在预设时长内的接收消息条数是否超过所述收信阈值,如果是,执行步骤204,如果否,继续执行步骤202。
对于终端用户的每个群组,均根据监控所得到的预设时长内的接收消息条数判断该群组是否可能会发生打扰用户的行为,如果群组在预设时长内的接收消息条数超过了所述收信阈值,用户心理可能会产生厌烦情绪,感觉会被消息提醒骚扰,因此,可以进一步分析该用户在群组内的行为,以确定是 否自动设置为消息免打扰模式。
本发明实施例中是以需要结合群组的收信阈值以及用户在群组的活跃程度来进行消息免打扰模式的设置为例进行说明,而在实际场景中,也可以进根据群组的收信阈值进行消息免打扰模式的设置,也可以实现自动设置从而避免对用户的打扰的目的,本发明实施例对该过程不作赘述。
204、判断用户在所述群组中的活跃程度是否大于预设参考值,如果是,执行步骤205,如果否,执行步骤207。
群组的群行为信息还可以包括用户在群组中的活跃程度。用户在群组中的活跃程度可以是用户对群组发言的参与度。该活跃程度可以采取用户在群组中发布消息的数量或频率表示,当然,也可以是根据用户在群组中发布消息的数量或频率确定的其他参考值。该用户在群组中发布消息越多或发布消息频率越高,则其在群组中的活跃程度越高。而如果用户在群组中的活跃程度较高,说明用户对该群组的参与感强,关注度比较高,因此,即使接收到很多条消息也不会造成对其的打扰。因此,可以通过判断用户在群组中的活跃程度是否大于预设参考值,来确定是否对其构成打扰,当用户在群组中的活跃程度大于预设参考值,则可以执行步骤205,而如果用户在群组中的活跃程度小于或等于预设参考值,则确定该群组内消息可能对用户构成打扰,则需要自动将群组设置为消息免打扰模式。
需要说明的是,为了保证该消息免打扰模式的实时性,可以根据用户最近一段时间在群组中的活跃程度进行判定,而对于离当前时间比较久远的发布消息数据不作考虑或者综合考虑时将其所占比重降低。
205、根据所述活跃程度,获取静音权重。
对于用户在群组中的活跃程度较高的情况,说明该用户对群组的参与度较高,其接收到的消息对其可能不构成打扰,因此,可以相应调整收信阈值。
在服务器侧可以事先设置活跃程度与静音权重之间的对应关系,其中,活跃程度越高,所述静音权重越高,调整后的收信阈值越大。
例如,当在预设时长内该群组的接收消息条数为B,该群组的收信阈值A,而B大于A,此时,获取该用户在群组中的活跃度S,如果活跃度S大于预 设参考值Sset,则可以根据S对静音权重进行调整。
206、根据所述静音权重,调整所述群组的收信阈值,并基于调整后的收信阈值执行步骤203。
该调整可以是基于静音权重和该群组的收信阈值,得到新收信阈值的过程。该过程可以通过数学计算事先,如,该群组的收信阈值为A,而当活跃度S大于Sset时,可以根据活跃程度获取静音权重Wi,从而新的收信阈值可以为A(1+Wi)。
在得到群组的新收信阈值后,可以根据新收信阈值继续执行步骤203,也即是继续对群组的群行为信息进行获取,并基于获取到的预设时长内的接收消息条数和该新收信阈值进行判断,当所述群组在预设时长内的接收消息条数超过新收信阈值时,再执行步骤207。
207、将所述群组设置为消息免打扰模式。
该设置为消息免打扰模式可以为将该群组设置为静音群或拒收该群组消息等方式,本发明实施例对此不作限定。
208、显示提醒信息,所述提醒信息用于提示所述群组已经开启消息免打扰模式。
当将群组设置为消息免打扰模式后,可以通过弹窗或显示提示栏等方式,显示提醒信息,以便让用户获知当前已经关闭了群提醒,后续所接收到的消息均不进行提醒。如图3所示,图3是本发明实施例提供的提示信息显示示意图。该图3中是以提醒信息的显示位置位于该群组会话界面的上部为例进行说明,而在实际场景中,该提醒信息的显示位置可以是会话列表界面的某个位置,还可以是群组会话界面的任一个位置,本发明实施例对此不作具体限定。
进一步地,在显示提醒信息的同时,还可以显示对消息免打扰模式的设置选项,以便用户进行快速设置,取消已设置的消息免打扰模式。当然,该显示对消息免打扰模式的设置选项可以是显示该设置选项的跳转选项,当检测到对跳转选项的选中操作时,可以跳转至设置界面,使得用户在设置界面上对消息免打扰模式进行取消。可选地,当在预设时长内未检测到对该跳转 选项或提醒信息的任何操作时,可以认为用户默认该设置,则取消该提醒信息或跳转选项的显示。
需要说明的是,这种显示提醒信息的方式可以使得用户能够通过反向思考确认自己是否真的需要启动该消息免打扰模式,还可以引导用户主动将某些自己感兴趣的群组进行消息提醒设置。
上述实施例中所提供的消息免打扰模式可以是指取消对所述群组所接收到的消息的声音提醒;或,所述消息免打扰模式可以是指不对所述群组所接收到的消息进行通知栏提醒。当然,还可以是上述两种方式的结合,也即是,对于该群组所接收到的消息既不进行声音提醒也不进行通知栏提醒,能够最大化的避免对用户的打扰。对于不同的应用或不同终端来说,其消息免打扰模式所提供的功能可以不同,该消息免打扰模式还可以是不对该群组所接收到的消息进行应用图标的红点提醒等方式。可选地,在设置了消息免打扰模式后,在会话列表界面中该群组所对应的会话表项上,可以显示其更新消息的条数等信息,以便用户在想要查看的时候,能够获知该群组的大概会话状况。进一步地,对于设置了消息免打扰模式的群组来说,还可以不对该群组的更新消息进行获取,而仅在用户触发了对群组的查看操作时,才根据该群组的一些群行为信息等,获取一定数量的历史消息,并基于用户的操作来确定是否获取更多的历史消息,从而也降低了移动终端的流量消耗。
本发明实施例提供的方法,通过根据群组的群行为信息以及收信阈值等确定当前是否构成了对用户的打扰,从而在确定可能构成打扰的情况下,自动将群组设置为消息免打扰模式,使得后续该群组内的消息均不对用户进行实时提醒,实现了一种动态触发消息免打扰模式的消息处理方法,能够有效的预防消息的打扰。进一步地,通过根据群组规模的不同,确定不同的收信阈值,实现了对服务器存储和下发压力的减小,且,在判断过程中还加入了对用户在群组中活跃程度的判断以及基于活跃程度对收信阈值进行动态的调整,使得自动设置的过程更加符合用户实际使用习惯,更贴近用户心理,设置更加人性化。
图4是本发明一实施例提供的一种消息处理装置的结构示意图。参见图4,所述装置包括:
阈值获取模块401,用于获取群组的收信阈值;
行为信息获取模块402,用于获取所述群组的群行为信息,所述群行为信息至少包括接收消息条数;
设置模块403,用于当所述群组在预设时长内的接收消息条数超过所述收信阈值,将所述群组设置为消息免打扰模式,从而不再对所述群组所接收到的消息进行实时提醒。
可选地,所述阈值获取模块401用于将服务器所设置的收信阈值获取为所述群组的收信阈值;或,获取用户在历史使用过程中设置消息免打扰模式时的接收消息条数,根据对所述历史使用过程的统计,获取所述群组的收信阈值。
可选地,对于群组内用户数小于第一阈值的群组,所述服务器所设置的收信阈值为第一接收条数;对于群组内用户数大于第一阈值且小于第二阈值的群组,所述服务器所设置的收信阈值为第二接收条数;对于群组内用户数大于所述第二阈值的群组,所述服务器所设置的收信阈值为第三接收条数;其中,所述第一阈值小于所述第二阈值,所述第一接收条数小于所述第二接收条数,所述第二接收条数小于所述第三接收条数。
可选地,所述群行为信息还包括所述用户在所述群组中的活跃程度,所述设置模块403还用于当所述用户在所述群组中的活跃程度大于预设参考值,将所述群组设置为消息免打扰模式。
可选地,所述装置还包括:
权重获取模块,用于当所述用户在所述群组中的活跃程度不大于预设参考值,根据所述活跃程度,获取静音权重;
所述设置模块403用于根据所述静音权重,调整所述群组的收信阈值,并基于调整后的收信阈值进行消息免打扰模式的设置;
其中,活跃程度越高,所述静音权重越高,调整后的收信阈值越大。
可选地,所述装置还包括:
显示模块,用于显示提醒信息,所述提醒信息用于提示所述群组已经开启消息免打扰模式。
可选地,所述消息免打扰模式是指取消对所述群组所接收到的消息的声音提醒;和/或,所述消息免打扰模式是指不对所述群组所接收到的消息进行通知栏提醒。
需要说明的是:上述实施例提供的消息处理装置在消息处理时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的消息处理装置与消息处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。
图6是根据本发明另外的实施例提供的一种消息处理方法(例如对社交应用的群组中的消息进行处理)的流程图。该方法可以在客户端-服务器环境中实现,其中客户端通过例如因特网等网络与服务器进行通信。该方法可以用在也在该客户端-服务器环境中实现的具有至少一个群组的社交应用中。社交应用的至少一个群组的成员(即群组用户)可以通过客户端访问服务器。下面结合图6,对该实施例的方法进行详细描述。
601、确定群组用户在预设时长内接收消息的数量。
根据本发明的实施例,由服务器确定群组用户在预设时长内接收消息数量,以实时监控群组是否对用户造成打扰。由于群组中消息的传输通过服务器进行,服务器可以监控群组的每个用户接收和发送的每条消息的时间,以及一定时间内用户接受和发送消息的数量。
602、判断所述群组用户在预设时长内接收消息数量是否超过预定阈值。
根据本发明的实施例,可以由服务器判断所述群组用户在预设时长内接收消息数量是否超过所述预定阈值(为了描述的方便,下文用符号“A”表示预定阈值)。如果是,执行步骤603;如果否,返回到步骤601。
根据本发明的实施例,该预定阈值可以由服务器根据下述的任一种方式 或者它们的组合设置:
第一种方式、服务器随机设置该预定阈值。
第二种方式、服务器根据群组的用户数(即群组的全部用户的数目)设置该预定阈值。群组的用户数越小则该预定阈值可以设置的越大,反之群组的用户数越大则该预定阈值可以设置的越小。因此,在一个例子中,预定阈值与群组的用户数成反比。
第三种方式、服务器根据群组用户的历史行为确定所述预定阈值。例如服务器可以根据每个群组用户在群组的历史使用过程中设置消息免打扰模式时已经接收的消息条数,根据对所述历史使用过程的统计,为每个群组用户确定所述预定阈值。通过这种阈值设置方式所获取到的阈值更加有针对性,而且同一用户在不同的群组可以有不同的阈值。
603、判断所述群组用户在所述群组中的活跃程度。
根据本发明的实施例,可以由服务器根据群组用户在群组中对其他用户发送消息的数量或频率判断所述群组用户在所述群组中的活跃程度(为了描述的方便,下文用符号“S”表示活跃程度)。例如可以简单的设置群组用户在群组中的活跃程度与发送消息的数量或频率成正比。
需要说明的是,为了保证该消息免打扰模式的实时性,可以根据用户最近一段时间在群组中的活跃程度进行判定,而对于离当前时间比较久远的发送消息数据不作考虑或者综合考虑时将其所占比重降低。
该用户在群组中发送消息越多或发送消息频率越高,则说明其在群组中的活跃程度越高。而如果用户在群组中的活跃程度较高,说明用户对该群组的参与感强,关注度比较高,因此,即使接收到很多条消息也不会造成对其的打扰。因此,可以预先设置一参考值(为了描述的方便,下文用符号“Sset”表示该参考值),判断用户在群组中的活跃程度是否大于该参考值。
如果用户在群组中的活跃程度小于或等于该参考值,则确定该群组内消息对用户构成了打扰,则需要自动将群组设置为消息免打扰模式(即执行步骤606)
如果用户在群组中的活跃程度大于该参考值,说明用户对该群组的参与 感强,关注度比较高,这时可以有两种可选的做法:一种是不将群组设置为消息免打扰模式;另一种是,将上述预定阈值变大,即执行步骤604。
604、根据所述活跃程度,调节所述预定阈值。
服务器可以根据所述活跃程度,调节上述预定阈值。例如,假设某个群组用户在预设时长内接收消息的数量为B,该群组用户在群组中的活跃程度为S。如果B大于预定阈值A,活跃程度S大于参考值Sset,则可以根据S对预定阈值A进行调整,使得活跃程度S越大调整后的预定阈值A的值也越大。
605、基于调整后的预定阈值,判断是否为所述群组用户将所述群组设置为消息免打扰模式。
服务器可以基于调整后的预定阈值,判断是否为所述群组用户将所述群组设置为消息免打扰模式。例如可以将在步骤601中确定的群组用户在预设时长内接收消息的数量与调整后的预定阈值进行比较,如果所述群组用户在预设时长内接收消息数量超过调整后的预定阈值,则需要为所述群组用户将所述群组设置为消息免打扰模式。或者服务器可以重新确定群组用户在预设时长内接收消息的数量,如果所述数量超过调整后的预定阈值,则需要为所述群组用户将所述群组设置为消息免打扰模式。
如果服务器判断需要为所述群组用户将所述群组设置为消息免打扰模式,则执行步骤606。
606、将所述群组为所述群组用户设置为消息免打扰模式,并通知所述群组用户的客户端。
服务器将所述群组为所述群组用户设置为消息免打扰模式并通知所述群组用户的客户端。例如,服务器可以为所述群组用户将该群组设置为静音群,本发明实施例对此不作限定。
607、客户端显示提醒信息,所述提醒信息用于提示所述群组已经为所述群组用户设置为消息免打扰模式。
当将群组设置为消息免打扰模式后,可以通过弹窗或显示提示栏等方式,显示提醒信息,以便让该群组用户获知该群组设置为消息免打扰模式。
在显示提醒信息的同时,还可以显示对消息免打扰模式的设置选项,以便在该用户发现他不想将该群组设置为消息免打扰模式时,可以进行快速设置,取消已设置的消息免打扰模式。
608、客户端判断该群组用户是否取消消息免打扰模式。
如果该群组用户不想将群组设置为消息免打扰模式,可以操作设置选项,取消已设置的消息免打扰模式。根据本发明的实施例,如果该群组用户在一定时间段内没有操作设置选项,则认为用户同意将所述群组设置为消息免打扰模式。
需要说明的是,这种显示提醒信息的方式可以使得用户能够思考确认自己是否真的需要启动该消息免打扰模式。当然,本领域的技术人员可以理解,显示提醒信息并不是必须的,为了减少用户的操作以及由此给用户带来的负担,可以省略显示提醒信息的步骤以及与之相关的其它步骤。
609、客户端通知服务器群组用户是否取消消息免打扰模式。
客户端通知服务器群组用户是否取消消息免打扰模式。如果用户取消消息免打扰模式,服务器根据客户端的通知关闭消息免打扰模式,如果用户没有取消消息免打扰模式,服务器保持开启消息免打扰模式。此外,服务器根据客户端的通知,存储消息免打扰模式的状态,即消息免打扰模式处于关闭状态还是开启状态。根据本发明的实施例,可选的是,客户端仅在群组用户取消消息免打扰模式时,才通知服务器,服务器根据客户端的通知关闭消息免打扰模式。
在上文的描述中,步骤606中服务器将所述群组为所述群组用户设置为消息免打扰模式后通知所述群组用户的客户端,在步骤607中客户端显示提醒信息,然后在步骤608客户端判断消息免打扰模式是否被取消,并在步骤609通知服务器。可选的,在步骤606中服务器并不将所述群组设置为消息免打扰模式,而是通知所述群组用户的客户端所述群组将要设置为消息免打扰模式,这样在步骤607中客户端显示提醒信息,提示所述群组将要设置为消息免打扰模式,然后在步骤608客户端接收用户的反馈,如果用户同意所述群组设置为消息免打扰模式,在步骤609中客户端通知服务器,随后服务器 将所述群组为所述群组用户设置为消息免打扰模式。
需要说明的是,本发明不以任意方式限制上述步骤的顺序。而且,上述的一个或多个步骤可以省略,而不影响本发明实施例的实施。例如,可以省去上述步骤602,或者服务器可以将所述群组为所述用户设置为消息免打扰模式,而不通知客户端。还需要说明的是,本本领域的技术人员可以理解,上文描述的在服务器执行的一个或多个步骤可以在客户端执行,同样,上文描述的在客户端执行的一个或多个步骤可以在服务器执行。
虽然上文以客户端-服务器环境描述了本发明的实施例,本领域的技术人员也可以理解该实施例的方法也可在其他环境(例如作为一个非限制性示例的对等环境)中实现。
上述实施例中所提供的消息免打扰模式可以是指取消对所述群组所接收到的消息的声音提醒;或,所述消息免打扰模式可以是指不对所述群组所接收到的消息进行通知栏提醒。当然,还可以是上述两种方式的结合,也即是,对于该群组所接收到的消息既不进行声音提醒也不进行通知栏提醒,能够最大化的避免对用户的打扰。
本发明实施例提供的方法,通过根据群行为信息以及阈值等确定当前是否构成了对某用户的打扰,从而在确定可能构成打扰的情况下,自动将群组为该用户设置为消息免打扰模式,使得后续该群组内的消息均不对该用户进行实时提醒,实现了一种动态触发消息免打扰模式的消息处理方法,能够有效的预防消息的打扰。进一步地,通过根据群组规模的不同,确定不同的阈值,实现了对服务器存储和下发压力的减小,且,在判断过程中还加入了对用户在群组中活跃程度的判断以及基于活跃程度对阈值进行动态的调整,使得自动设置的过程更加符合用户实际使用习惯,更贴近用户心理,设置更加人性化。
本发明的实施例还提供一种消息处理装置,该装置包括存储器和处理器,所述存储器存储程序指令,该指令当由处理器执行时,配置所述消息处理装置执行根据上述任一实施例的方法。
本发明的实施例还提供一种计算机可读存储介质,其存储程序指令,该指令当由处理器执行时,配置所述处理器执行根据上述任一实施例的方法。
本实施例提供了一种终端,该终端可以用于执行上述各个实施例中提供的消息处理方法。参见图5,该终端500包括:
终端500可以包括RF(Radio Frequency,射频)电路110、包括有一个或一个以上计算机可读存储介质的存储器120、输入单元130、显示单元140、传感器150、音频电路160、WiFi(Wireless Fidelity,无线保真)模块170、包括有一个或者一个以上处理核心的处理器180、以及电源190等部件。本领域技术人员可以理解,图5中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:
RF电路110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器180处理;另外,将涉及上行的数据发送给基站。通常,RF电路110包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路110还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long Term Evolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。
存储器120可用于存储软件程序以及模块,处理器180通过运行存储在存储器120的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操 作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端500的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器120还可以包括存储器控制器,以提供处理器180和输入单元130对存储器120的访问。
输入单元130可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元130可包括触敏表面131以及其他输入设备132。触敏表面131,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面131上或在触敏表面131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器180,并能接收处理器180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面131。除了触敏表面131,输入单元130还可以包括其他输入设备132。具体地,其他输入设备132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元140可用于显示由用户输入的信息或提供给用户的信息以及终端500的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元140可包括显示面板141,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板141。进一步的,触敏表面131可覆盖显示面板141,当触敏表面131检测到在其上或附近的触摸操作后,传送给处理器180以确定触摸事件的类型,随后处理器180根据触摸事件的类型在显示面板141上提供相应的视觉输出。虽然在图5中,触敏表面131与 显示面板141是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面131与显示面板141集成而实现输入和输出功能。
终端500还可包括至少一种传感器150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板141的亮度,接近传感器可在终端500移动到耳边时,关闭显示面板141和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端500还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路160、扬声器161,传声器162可提供用户与终端500之间的音频接口。音频电路160可将接收到的音频数据转换后的电信号,传输到扬声器161,由扬声器161转换为声音信号输出;另一方面,传声器162将收集的声音信号转换为电信号,由音频电路160接收后转换为音频数据,再将音频数据输出处理器180处理后,经RF电路110以发送给比如另一终端,或者将音频数据输出至存储器120以便进一步处理。音频电路160还可能包括耳塞插孔,以提供外设耳机与终端500的通信。
WiFi属于短距离无线传输技术,终端500通过WiFi模块170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图5示出了WiFi模块170,但是可以理解的是,其并不属于终端500的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器180是终端500的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器120内的软件程序和/或模块,以及调用存储在存储器120内的数据,执行终端500的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器180可包括一个或多个处理核心;优选的,处理器180可集成应用处理器和调制解调处理器,其中,应用处理 器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器180中。
终端500还包括给各个部件供电的电源190(比如电池),优选的,电源可以通过电源管理系统与处理器180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源190还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。
尽管未示出,终端500还可以包括摄像头、蓝牙模块等,在此不再赘述。具体在本实施例中,终端的显示单元是触摸屏显示器,终端还包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行。所述一个或者一个以上程序包含用于执行上述实施例中终端侧操作的指令。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (20)

  1. 一种消息处理方法,包括:
    获取群组的收信阈值;
    获取所述群组的群行为信息,所述群行为信息至少包括接收消息条数;
    当所述群组在预设时长内的接收消息条数超过所述收信阈值,将所述群组设置为消息免打扰模式,从而不再对所述群组所接收到的消息进行实时提醒。
  2. 根据权利要求1所述的方法,其中,所述获取群组的收信阈值包括:
    将服务器所设置的收信阈值获取为所述群组的收信阈值;或,
    获取用户在历史使用过程中设置消息免打扰模式时的接收消息条数,根据对所述历史使用过程的统计,获取所述群组的收信阈值。
  3. 根据权利要求1所述的方法,其中,对于群组内用户数小于第一阈值的群组,所述服务器所设置的收信阈值为第一接收条数;
    对于群组内用户数大于第一阈值且小于第二阈值的群组,所述服务器所设置的收信阈值为第二接收条数;
    对于群组内用户数大于所述第二阈值的群组,所述服务器所设置的收信阈值为第三接收条数;
    其中,所述第一阈值小于所述第二阈值,所述第一接收条数大于所述第二接收条数,所述第二接收条数大于所述第三接收条数。
  4. 根据权利要求1所述的方法,其中,所述群行为信息还包括所述用户在所述群组中的活跃程度,所述方法还包括:
    当所述用户在所述群组中的活跃程度大于预设参考值,将所述群组设置为消息免打扰模式。
  5. 根据权利要求4所述的方法,还包括:
    当所述用户在所述群组中的活跃程度不大于预设参考值,根据所述活跃程度,获取静音权重;
    根据所述静音权重,调整所述群组的收信阈值,并基于调整后的收信阈值进行免打扰模块的设置;
    其中,活跃程度越高,所述静音权重越高,调整后的收信阈值越大。
  6. 根据权利要求1所述的方法,其中,将所述群组设置为消息免打扰模式之后,所述方法还包括:
    显示提醒信息,所述提醒信息用于提示所述群组已经开启消息免打扰模式。
  7. 根据权利要求1-6任一项所述的方法,其中,所述消息免打扰模式是指取消对所述群组所接收到的消息的声音提醒;和/或,所述消息免打扰模式是指不对所述群组所接收到的消息进行通知栏提醒。
  8. 一种消息处理装置,包括:
    至少一个处理器;和
    存储器,所述存储器存储有程序指令,所述指令当由所述至少一个处理器执行时,配置所述装置执行下述操作:
    获取群组的收信阈值;
    获取所述群组的群行为信息,所述群行为信息至少包括接收消息条数;
    当所述群组在预设时长内的接收消息条数超过所述收信阈值,将所述群组设置为消息免打扰模式,从而不再对所述群组所接收到的消息进行实时提醒。
  9. 根据权利要求8所述的装置,其中,所述获取群组的收信阈值包括:
    将服务器所设置的收信阈值获取为所述群组的收信阈值;或,
    获取用户在历史使用过程中设置消息免打扰模式时的接收消息条数,根据对所述历史使用过程的统计,获取所述群组的收信阈值。
  10. 根据权利要求8所述的装置,其中,对于群组内用户数小于第一阈值的群组,所述服务器所设置的收信阈值为第一接收条数;对于群组内用户数大于第一阈值且小于第二阈值的群组,所述服务器所设置的收信阈值为第二接收 条数;对于群组内用户数大于所述第二阈值的群组,所述服务器所设置的收信阈值为第三接收条数;其中,所述第一阈值小于所述第二阈值,所述第一接收条数大于所述第二接收条数,所述第二接收条数大于所述第三接收条数。
  11. 根据权利要求8所述的装置,其中,所述群行为信息还包括所述用户在所述群组中的活跃程度,所述指令当由所述处理器执行时,还配置所述装置执行下述操作:
    当所述用户在所述群组中的活跃程度大于预设参考值,将所述群组设置为消息免打扰模式。
  12. 根据权利要求11所述的装置,其中,所述指令当由所述处理器执行时,还配置所述装置执行下述操作:
    当所述用户在所述群组中的活跃程度不大于预设参考值,根据所述活跃程度,获取静音权重;
    根据所述静音权重,调整所述群组的收信阈值,并基于调整后的收信阈值进行消息免打扰模式的设置;
    其中,活跃程度越高,所述静音权重越高,调整后的收信阈值越大。
  13. 根据权利要求8所述的装置,其中,所述指令当由所述处理器执行时,还配置所述装置执行下述操作:
    显示提醒信息,所述提醒信息用于提示所述群组已经开启消息免打扰模式。
  14. 根据权利要求8-13任一项所述的装置,其中,所述消息免打扰模式是指取消对所述群组所接收到的消息的声音提醒;和/或,所述消息免打扰模式是指不对所述群组所接收到的消息进行通知栏提醒。
  15. 一种消息处理方法,包括:
    确定群组用户在预设时长内接收消息的数量;
    判断所述群组用户在预设时长内接收消息数量是否超过预定阈值;
    响应所述群组用户在预设时长内接收消息数量超过预定阈值,判断所述群组用户在所述群组中的活跃程度;
    根据所述活跃程度,调节所述预定阈值;
    基于调整后的预定阈值,判断是否为所述群组用户将所述群组设置为消息免打扰模式.
  16. 根据权利要求15所述的方法,还包括根据群组的用户数设置该预定阈值,群组的用户数越小则该预定阈值越大。
  17. 根据权利要求15所述的方法,还包括根据该群组用户的历史行为确定所述预定阈值。
  18. 根据权利要求15所述的方法,还包括:
    响应所述群组用户在预设时长内接收消息数量超过预定阈值,判断群组用户在群组中的活跃程度是否大于预设参考值,如果群组用户在群组中的活跃程度小于或等于该预设参考值,则将群组设置为消息免打扰模式。
  19. 根据权利要求15所述的方法,其中所述群组用户活跃程度越大,调整后的预定阈值也越大
  20. 根据权利要求15所述的方法,还包括将所述群组为所述群组用户设置为消息免打扰模式,并通知所述群组用户。
PCT/CN2016/084289 2015-07-15 2016-06-01 消息处理方法及装置 WO2017008588A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2017560728A JP6517950B2 (ja) 2015-07-15 2016-06-01 メッセージ処理方法および装置
KR1020177032012A KR102006562B1 (ko) 2015-07-15 2016-06-01 메시지 프로세싱 방법 및 장치
US15/701,962 US10680981B2 (en) 2015-07-15 2017-09-12 Message processing method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510417238.9A CN105120065B (zh) 2015-07-15 2015-07-15 消息处理方法及装置
CN201510417238.9 2015-07-15

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/701,962 Continuation US10680981B2 (en) 2015-07-15 2017-09-12 Message processing method and apparatus

Publications (1)

Publication Number Publication Date
WO2017008588A1 true WO2017008588A1 (zh) 2017-01-19

Family

ID=54667946

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084289 WO2017008588A1 (zh) 2015-07-15 2016-06-01 消息处理方法及装置

Country Status (5)

Country Link
US (1) US10680981B2 (zh)
JP (1) JP6517950B2 (zh)
KR (1) KR102006562B1 (zh)
CN (1) CN105120065B (zh)
WO (1) WO2017008588A1 (zh)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120065B (zh) * 2015-07-15 2017-03-29 腾讯科技(深圳)有限公司 消息处理方法及装置
CN106850394B (zh) * 2015-12-04 2019-07-12 腾讯科技(深圳)有限公司 一种会话群组的消息的显示方法和装置
CN105676991A (zh) * 2015-12-28 2016-06-15 小米科技有限责任公司 一种管理应用程序的方法和装置
CN105959206B (zh) * 2016-04-29 2019-09-17 新昌县澄聚农业科技有限公司 基于群组的聊天记录提示方法
CN106656736B (zh) * 2016-09-14 2019-10-18 Oppo广东移动通信有限公司 消息接收控制方法、及终端设备
CN106713122A (zh) * 2016-12-24 2017-05-24 上海与德信息技术有限公司 自动静音方法和自动静音装置
CN109792467B (zh) * 2017-08-03 2020-04-03 腾讯科技(深圳)有限公司 用于控制通信群组的消息传输的方法和系统
US11669915B1 (en) * 2017-09-27 2023-06-06 Meta Platforms, Inc. Systems and methods for making high value account recommendations
CN108111397B (zh) * 2017-12-15 2020-08-04 北京小米移动软件有限公司 转发通知消息的处理方法及装置
CN108184014B (zh) * 2017-12-22 2021-05-28 维沃移动通信有限公司 一种通知消息的提醒方法及移动终端
CN108111399B (zh) * 2017-12-27 2021-06-04 Oppo广东移动通信有限公司 消息处理的方法、装置、终端及存储介质
CN108156330B (zh) * 2018-03-19 2020-09-18 郑贤良 一种基于移动终端的消息管理系统和方法
CN108616654B (zh) * 2018-04-03 2021-03-26 Oppo广东移动通信有限公司 消息提醒的方法、装置、终端及计算机可读存储介质
CN108924346B (zh) * 2018-06-25 2021-05-28 维沃移动通信有限公司 一种消息屏蔽方法及移动终端
US10581775B2 (en) * 2018-06-28 2020-03-03 Microsoft Technology Licensing, Llc Automatic usage control of instant messages in computing systems
WO2020006478A1 (en) * 2018-06-29 2020-01-02 Alfa Enzo Inc. Multi-blockchain proof-of-activity platform
CN113194022A (zh) * 2020-01-14 2021-07-30 连株式会社 用于使消息应用程序之聊天室失效之电子装置、方法及计算机可读记录介质
CN112947823B (zh) * 2021-01-27 2023-06-20 北京达佳互联信息技术有限公司 会话处理方法、装置、设备及存储介质
US11736431B2 (en) 2021-08-16 2023-08-22 Salesforce, Inc. Context-based notifications presentation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060248146A1 (en) * 2005-04-27 2006-11-02 Wilk Tomasz F Method and system for status reporting
CN101282312A (zh) * 2008-05-16 2008-10-08 腾讯科技(深圳)有限公司 即时通讯系统中群的显示方式控制方法及即时通讯系统
CN103259825A (zh) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 消息推送方法和装置
CN104572688A (zh) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 信息推送方法及装置
CN105120065A (zh) * 2015-07-15 2015-12-02 腾讯科技(深圳)有限公司 消息处理方法及装置

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4704993B2 (ja) * 2006-10-06 2011-06-22 シャープ株式会社 メッセージ情報交換装置及びその動作方法
JP2008097218A (ja) * 2006-10-10 2008-04-24 Sky Kk 携帯端末および電子メールサーバ
EP2678822A4 (en) * 2011-02-23 2014-09-10 Bottlenose Inc System and method for message analysis in a network or between networks
US20150149567A1 (en) * 2012-07-18 2015-05-28 Viper Media S.a.r.l. Smart notifications
JP5936480B2 (ja) * 2012-08-03 2016-06-22 シャープ株式会社 送信装置、送信装置の制御方法、制御プログラム、および制御プログラムを記録したコンピュータ読み取り可能な記録媒体
CN102932238B (zh) * 2012-11-13 2016-06-29 华为技术有限公司 群组消息的提醒方法和设备
CN103051810B (zh) * 2013-01-05 2015-06-24 小米科技有限责任公司 一种信息提醒的方法及移动终端
US9473428B1 (en) * 2013-03-01 2016-10-18 Whatsapp Inc. Dynamic muting of communication notifications
JP2015064689A (ja) * 2013-09-24 2015-04-09 シャープ株式会社 通知サーバ、通知システム、通知方法、プログラム、および記録媒体
KR102095533B1 (ko) * 2013-10-02 2020-03-31 삼성전자주식회사 알림 정보를 선택적으로 제공하기 위한 전자 장치 및 방법
KR20150074764A (ko) * 2013-12-24 2015-07-02 인제대학교 산학협력단 이동통신단말기에 의한 모바일 채팅 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060248146A1 (en) * 2005-04-27 2006-11-02 Wilk Tomasz F Method and system for status reporting
CN101282312A (zh) * 2008-05-16 2008-10-08 腾讯科技(深圳)有限公司 即时通讯系统中群的显示方式控制方法及即时通讯系统
CN103259825A (zh) * 2012-02-21 2013-08-21 腾讯科技(深圳)有限公司 消息推送方法和装置
CN104572688A (zh) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 信息推送方法及装置
CN105120065A (zh) * 2015-07-15 2015-12-02 腾讯科技(深圳)有限公司 消息处理方法及装置

Also Published As

Publication number Publication date
US20180006975A1 (en) 2018-01-04
CN105120065B (zh) 2017-03-29
US10680981B2 (en) 2020-06-09
KR20170134658A (ko) 2017-12-06
KR102006562B1 (ko) 2019-08-01
CN105120065A (zh) 2015-12-02
JP2018521548A (ja) 2018-08-02
JP6517950B2 (ja) 2019-05-22

Similar Documents

Publication Publication Date Title
WO2017008588A1 (zh) 消息处理方法及装置
WO2017008569A1 (zh) 消息更新方法、装置及终端
WO2016184302A1 (zh) 消息转发方法及电子设备
WO2018095129A1 (zh) 一种播放直播视频的方法和装置
WO2016169465A1 (zh) 一种显示弹幕信息的方法、装置和系统
US10269163B2 (en) Method and apparatus for switching real-time image in instant messaging
EP3306865A1 (en) Communication message sending method and device
CN106993227B (zh) 一种进行信息展示的方法和装置
WO2018045878A1 (zh) 触摸屏参数的调整方法及相关产品
US10171640B2 (en) Method, apparatus, and system for displaying message in mobile terminal
US9680921B2 (en) Method, apparatus, and system for controlling voice data transmission
WO2015024372A1 (zh) 发起通信的方法、装置及移动终端
WO2018040844A1 (zh) 基于车载多媒体设备的语音控制方法、装置及设备
CN109660445B (zh) 一种消息处理方法、装置及存储介质
CN107622234B (zh) 一种显示萌脸礼物的方法和装置
WO2015078349A1 (zh) 麦克风收音状态的切换方法和装置
CN112003983A (zh) 自适应振动系统、终端、方法和计算机可读存储介质
WO2020118496A1 (zh) 音频通路切换方法和装置、可读存储介质、电子设备
CN108184014B (zh) 一种通知消息的提醒方法及移动终端
CN109923848B (zh) 一种设备音量的控制方法、设备以及服务器
CN106980498B (zh) 窗口管理方法和装置
CN110944086B (zh) 一种通话保持方法及电子设备
CN110572516B (zh) 通话控制方法、装置、存储介质及终端设备
CN107015898B (zh) 一种处理展示信息的方法和装置
CN117406950A (zh) 一种音频播放控制方法、装置、电子设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16823735

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 20177032012

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2017560728

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16823735

Country of ref document: EP

Kind code of ref document: A1