WO2018103555A1 - 群组消息通知方法、客户端、电子设备和服务器 - Google Patents

群组消息通知方法、客户端、电子设备和服务器 Download PDF

Info

Publication number
WO2018103555A1
WO2018103555A1 PCT/CN2017/113358 CN2017113358W WO2018103555A1 WO 2018103555 A1 WO2018103555 A1 WO 2018103555A1 CN 2017113358 W CN2017113358 W CN 2017113358W WO 2018103555 A1 WO2018103555 A1 WO 2018103555A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
group message
group
message notification
running state
Prior art date
Application number
PCT/CN2017/113358
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 阿里巴巴集团控股有限公司
Publication of WO2018103555A1 publication Critical patent/WO2018103555A1/zh

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/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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Definitions

  • the present application relates to the field of computer network communication technologies, and in particular, to a group message notification method, a client, an electronic device, and a server.
  • instant messaging (IM) software such as Tencent QQ, WeChat, and nailing are provided with group communication functions.
  • IM instant messaging
  • each user in the group can broadcast a message to other users in the group.
  • instant messaging software often provides features such as “message-free” or “message blocking”; and when enabled, users can indeed be immune to group messages; however, this can cause users to miss or Unable to receive critical or hot news in time. For example, as a busy user in a group, when other users in the group are discussing hot topics about group buying topics that they are also interested in, if they turn on the “message-free” function, they may miss the group purchase.
  • the inventors of the present application have found that the current prior art is difficult to balance in message do not disturb and real-time acquisition of messages, resulting in poor user experience.
  • the purpose of the embodiment of the present application is to provide a group message notification method, a client, an electronic device, and a server to improve the user experience.
  • the embodiment of the present application provides a group message notification method, including the following steps:
  • the client After the user logs in, the client detects whether the specific group specified by the user is currently in a non-foreground running state
  • the client When the acknowledgment is in the non-foreground running state, the client counts the group message received by the specific group in the non-foreground running state;
  • the client When the counted value of the count reaches a preset condition, the client sends a group message notification to the user.
  • the embodiment of the present application provides a client, including:
  • a state detecting module configured to detect, after the user logs in, whether the specific group specified by the user is currently in a non-foreground running state
  • a message counting module configured to count, when the acknowledgment is in the non-foreground running state, a group message received by the user in the non-foreground running state
  • the notification sending module is configured to send a group message notification to the user when the counted value of the count reaches a preset condition.
  • an electronic device including:
  • a storage unit for storing a client, and when the client is processed by the processor, performing the following steps:
  • the embodiment of the present application provides a group message notification method, including the following steps:
  • the embodiment of the present application provides a server, including:
  • a state detecting module configured to detect, after the user logs in, whether the specific group specified by the user is currently in a non-foreground running state
  • a message counting module configured to count, when the acknowledgment is in the non-foreground running state, a group message sent to the specific group in the non-foreground running state
  • the notification sending module is configured to send a group message notification to the user when the counted value of the count reaches a preset condition.
  • the embodiment of the present application after the user logs in, when the acknowledgment is in the non-foreground running state, the group message received by the user in the non-foreground running state is counted;
  • the group message is a group message of a specific group specified by the user; when the counted value reaches a preset threshold, the client sends a group message notification to the user. Therefore, compared with the prior art, the embodiment of the present application not only facilitates the user to obtain the group message in time, but also does not disturb the user excessively, thereby improving the user experience.
  • FIG. 1 is a flowchart of a group message notification method according to an embodiment of the present application
  • FIG. 2 is a flowchart of a notification setting according to an embodiment of the present application.
  • 3a-3c are schematic diagrams of setting a notification threshold according to an embodiment of the present application.
  • 4a-4c are schematic diagrams showing a special attention setting according to an embodiment of the present application.
  • FIG. 5 is a flowchart of a group message notification method according to another embodiment of the present application.
  • FIG. 6 is a structural block diagram of a client according to an embodiment of the present application.
  • FIG. 7 is a structural block diagram of an electronic device according to an embodiment of the present application.
  • FIG. 8 is a structural block diagram of a server according to an embodiment of the present application.
  • the execution body of the method can be a client.
  • the group message notification method may include the following steps:
  • the client After the user logs in, the client detects whether the specific group specified by the user is currently in a non-foreground running state.
  • the user may be a client user.
  • the user login can be understood as that the user logs in to the server through a dedicated client or a universal client, and the server provides an instant communication service.
  • the dedicated client may be an instant messaging software client, such as a Tencent QQ client, a WeChat client, a nail client, an MSN client, a Skype client, and the like.
  • the universal client can be a browser client, such as an IE browser, a Google browser, a Safari browser, a 360 browser, etc.; and a webpage instant messaging application can be implemented through a browser client.
  • clients For the convenience of description, whether it is a dedicated client or a general client, the following are simply referred to as clients.
  • the client may be configured to be installed on an electronic device.
  • the electronic device may be, for example, a desktop computer, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, a shopping guide terminal, a television set with network access function, or the like.
  • some specific events will trigger the client to switch to a non-foreground running state.
  • the client is minimized, other clients on the electronic device are transferred to the foreground, the electronic device enters the lock screen state, and the like. Therefore, in one embodiment of the present application, it can be determined whether the client is not in the foreground running state by detecting these specific events.
  • the detecting may also be implemented by calling the RunningTaskInfo class of the operating system of the electronic device; in another embodiment of the present application, the detecting may also invoke an operating system of the electronic device.
  • the implementation of the RunningAppProcessInfo class is the implementation of the RunningAppProcessInfo class.
  • the detection may be a timing detection or a real-time detection, as the case may be.
  • the background operation means that the client software runs in the resource manager, and the user does not see the user interface of the client software, so in this state, the user generally cannot interact with the client software.
  • the foreground is running; when running in the foreground, the client is soft.
  • the widget runs directly from the window, and the user can see its user interface and can interact with the client software based on the user interface.
  • the specific group specified by the user is in a non-foreground running state, which includes two situations: one is that the client is in the background running state, and in this state, the client includes a specific group specified by the user. Any group within is running in the background; the other is that the client is in the foreground running state, and the current active window of the client is not the specific group.
  • the client When the acknowledgment is in the non-foreground running state, the client counts a group message received by the specific group in the non-foreground running state; the group message is specified by the user. Group message for a specific group.
  • the group message that is received by the user in the non-foreground running state is started. Performing a message count; wherein the group message is a group message of a specific group specified by the user.
  • the user's client account has three groups: a group of colleagues, a group of cells, and a group of friends and relatives, wherein the group of friends and relatives is a specific group specified by the user; when the client of the user is in a non-foreground operation state At the same time, the client starts counting the group of friends and relatives received by the user in the non-foreground running state, and at the same time, ignores the group message and the group message received by the user in the non-foreground running state.
  • the detection may continue.
  • the group message of the specific group may be a group message initiated by any user in the specific group, that is, in a non-foreground running state, regardless of which of the specific groups When a user initiates a group message, it will count and count it.
  • the group message of the specific group may also be a group message initiated by a specified user in the specific group; that is, the user may pre- The specified user is set to a special attention object. Therefore, in the non-foreground operation state, only the group messages initiated by the special attention object in the specific group may be counted, and at the same time, other users in the specific group are in the specific group. Group messages initiated in the middle will be ignored.
  • the specified user setting process in a specific group may be as shown in FIG. 4a to FIG. 4c; wherein the designated user may be one or multiple, and specifically specified by the user according to requirements. .
  • the group message may be any message that the client can support, such as voice, text, picture, video, and/or link, and the like.
  • the client sends a group message notification to the user.
  • the count value of the count reaches a preset condition, and the count value of the count reaches a preset threshold.
  • the count in the exemplary embodiment of the present application is a count of ignoring time (or within an infinite time). Therefore, when the counted count value reaches a preset threshold (for example, 5, 10, 20, etc.), the client may send a group message notification to the user to remind the user that a new message arrives. .
  • the count value of the count reaches a preset condition, and the count value of the count reaches a preset threshold value in a unit time.
  • the unit time is previously set by the user, and the unit time may be, for example, 1 minute, 2 minutes, 5 minutes, or the like.
  • the setting of the threshold may be, for example, as shown in FIGS. 3a-3c. Therefore, when the count value of the count per unit time reaches a preset threshold (for example, 5 pieces/minute, 10 pieces/minute, 20 pieces/minute, etc.), the client can issue a group message to the user. Notice.
  • the unit time may be a natural time period, for example, 09:00:00-09:01:00 is a unit time period, and 09:01:00-09:02:00 is One unit period, 09:02:00-09:03:00 is a unit period, and so on.
  • the user receives the group message A of the relatives and friends group at 09:18:00, and the count is incremented by 1.
  • the client will count the next cycle and the threshold, and so on.
  • the client will be triggered to move from the non-foreground running state to the foreground running state, and the non-foreground running state ends.
  • the client can terminate the counting and can The previous count is cleared to facilitate re-counting and subsequent threshold determination processing when the client enters the non-foreground operation state again.
  • the user ends the client process, the user's electronic device is shut down, etc., and may also trigger the end of the non-foreground operation state.
  • the counted value of the count reaches a preset condition, that is, the specified number of adjacent group messages are received within a preset duration.
  • the specified number and the preset duration are previously set by the user.
  • the client in a non-foreground running state, whenever a new group message arrives, the client can record the arrival time and the phase. The arrival time of the first four group messages of the neighbors is compared. If the five items arrive within one minute, the client may send a group message notification to the user. The adjacent first four group messages are received in the non-foreground running state, and are group messages of the family of friends and relatives.
  • the group of friends and relatives has a total of 5 group messages a, b, c, d, e; if the arrival time of the group message e is 09: At 18:03, it can be determined that a, b, c, d, and e are group messages coming within 1 minute, so the client can send a group message notification to the user; and if the group message e arrives at 09: At 18:10, it can be determined that a, b, c, d, and e are not group messages coming within 1 minute, so no notification is given.
  • the client performs the counting of the next cycle and the threshold judgment, that is, whether b, c, d, e, and f are group messages received within 1 minute.
  • a, b, c, d, and e are group messages arriving within 1 minute
  • b, c, d, e, and f are also group messages arriving within 1 minute
  • c, d , e, f, g are also group messages coming within 1 minute, and so on
  • the user does not perform message viewing operation after receiving the group message notification, so that after receiving the group message e, each received A group message triggers a group message notification, which may also cause interference to the user.
  • re-counting and subsequent threshold judgment processing For example, if a, b, c, d, e are group messages that arrive within 1 minute, and the user does not perform a message viewing operation after receiving the group message notification. When the new group message f arrives, the group message f starts counting again and the subsequent threshold is started. Judgment processing. Of course, if the user performs a message viewing operation after receiving the group message notification, the client will be triggered to go from the non-foreground running state to the foreground running state, and the non-foreground running state ends. At this time, the client can terminate the message counting and arrival time. Record, and the previous count can be cleared to facilitate re-counting and subsequent threshold judgment processing when the client enters the non-foreground operation state again.
  • the group message notification may be an audible prompt and/or a visual cues, and the group message notification manner may also be preset by the user.
  • the voice prompt may be, for example, a voice prompt and/or a vibration prompt;
  • the visual prompt may be, for example, a pop-up prompt and/or a flashing prompt of a predetermined frequency.
  • the method may further include:
  • the sending the group message notification to the user may include:
  • the group message notification is sent to the user after delaying the corresponding time according to the extent of the preset duration.
  • the chronograph duration is 7 seconds
  • the preset duration is 10 seconds
  • the chronograph duration is less than the preset duration of 3 seconds
  • the group message notification can be sent to the user after delaying for 3 seconds.
  • the delay time may not depend on the difference between the timing duration and the preset duration, for example, the fixed delay is once the timing duration is lower than the preset duration.
  • the group message notification is sent to the user after 2 seconds.
  • the unit time, the specified user, the threshold, and the like set by the user preset may be regarded as setting information input by the user; after the user inputs, the client sets the setting.
  • the information is sent to the server, and the server side saves the setting information and makes it effective.
  • the user may input personalized setting information for each group separately, for example, setting different groups for different groups. Group message notification method, etc.
  • a group message notification method according to another embodiment of the present application.
  • the main difference from the group message notification method shown in FIG. 1 is that the execution subject of the group message notification method shown in FIG. 5 is a server.
  • the group message notification method may include the following steps:
  • the count may be a count statistic that ignores time (or for an infinite amount of time).
  • the counting may also be counted in a unit time, that is, the group message received in a unit time is counted and counted.
  • the group communication principle is that a user in a group organizes a group message whose type is group chat and the origin is its own group.
  • the recipient (to) object is the entire member of the group; after the group message is sent to the server, the server is responsible for forwarding (ie, broadcasting) the group message to all members of the group, including Party yourself and indicate the originator of the message.
  • the unit time is no longer based on the time when the user receives the group message, but the server forwards the group message. Based on the time.
  • the group message notification method of the embodiment of the present application is similar to the group message notification method shown in FIG. 1 . Therefore, for a detailed description of the group message notification method in the embodiment of the present application, please refer to the group message notification shown in FIG. 1 . The method will not be described here.
  • a client of the embodiment of the present application may include:
  • the state detecting module 61 is configured to detect, after the user logs in, whether the specific group specified by the user is currently in a non-foreground running state;
  • the message counting module 62 is configured to count, when the acknowledgment is in the non-foreground running state, the group message received by the user in the non-foreground running state;
  • a notification sending module 63 configured to: when the counted value of the count reaches a preset condition, The user sends a group message notification.
  • the client of the embodiment of the present application corresponds to the group message notification method shown in FIG. 1 . Therefore, for a specific description of the client in the embodiment of the present application, refer to the group message notification method shown in FIG. 1 , and details are not described herein again. .
  • the electronic device may include a processor, an internal bus, memory, and memory at the hardware level, and may of course include hardware required for other services.
  • the processor reads the corresponding computer program from memory into memory and then runs to form a client at a logical level.
  • the present application does not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each logical unit, and may be Hardware or logic device.
  • the electronic device in the embodiment of the present application corresponds to the group message notification method shown in FIG. 1 . Therefore, for a detailed description of the electronic device in the embodiment of the present application, please refer to the group message notification method shown in FIG. 1 . Narration.
  • a server may include:
  • the state detecting module 81 is configured to detect, after the user logs in, whether the specific group specified by the user is currently in a non-foreground running state;
  • the message counting module 82 is configured to count, when the acknowledgment is in the non-foreground running state, a group message sent to the specific group in the non-foreground running state;
  • the notification sending module 83 is configured to send a group message notification to the user when the counted value of the count reaches a preset condition.
  • the server of the embodiment of the present application corresponds to the group message notification method shown in FIG. 5 . Therefore, for a specific description of the server in the embodiment of the present application, refer to the group message communication shown in FIG. 5 . Know the method, no longer repeat here.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner, for example, the controller can take the form of, for example, a microprocessor or processor and store a computer readable program executable by the (micro)processor A computer readable medium (such as software or firmware), a logic gate, a switch, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller.
  • the controller include but not Limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller can also be implemented as part of the memory's control logic.
  • the controller can be logically programmed by means of logic gates, switches, ASICs, programmable logic controllers, and embedding.
  • Such a controller can therefore be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component.
  • a device for implementing various functions can be considered as a software module that can be both a method of implementation and a structure within a hardware component.
  • the client and server illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • Computer-readable medium does not include a temporary storage computer readable medium, such as a modulated data letter, as defined herein. Number and carrier.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • the application can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • the present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请实施例提供了一种群组消息通知方法、客户端、电子设备和服务器,该方法包括:在用户登录后,客户端检测所述用户指定的特定群组当前是否处于非前台运行状态;当确认处于所述非前台运行状态时,所述客户端对所述特定群组在所述非前台运行状态下接收到的群组消息进行计数;在所述计数的计数值达到预设条件时,所述客户端向所述用户发出群组消息通知。本申请实施例既有利于用户及时获取到群消息,又不至于过多的打扰用户,因而提高了用户体验。

Description

群组消息通知方法、客户端、电子设备和服务器 技术领域
本申请涉及计算机网络通信技术领域,尤其是涉及一种群组消息通知方法、客户端、电子设备和服务器。
背景技术
目前诸如腾讯QQ、微信、钉钉等即时通信(instant message,IM)软件,均提供有群组通信功能。在群组交流环境下,群组中的每个用户都可以向群组中的其他用户广播消息。
然而,当群组中的有些用户当前正在忙碌,或对于当前群组中的交流主题不感兴趣时,对于他们而言,可能会感到不断的被群组消息所打扰。诚然,即时通信软件往往还提供有“消息免打扰”或“消息屏蔽”之类的功能;并且开启该功能后,用户确实可以免受群组消息打扰;但是,这样,又会让用户遗漏或者不能及时接收到关键或者热点消息。比如,作为群组中的一个正在忙碌的用户,当群组的其他用户正在热点讨论自己也感兴趣的团购话题时,如果自己开启了“消息免打扰”功能,就可能会错过这次团购。
由此,本申请的发明人发现,目前现有技术难以在消息免打扰和实时获取消息中取得平衡,导致用户体验不佳。
发明内容
本申请实施例的目的在于提供一种群组消息通知方法、客户端、电子设备和服务器,以提高用户体验。
为达到上述目的,一方面,本申请实施例提供了一种群组消息通知方法,包括以下步骤:
在用户登录后,客户端检测所述用户指定的特定群组当前是否处于非前台运行状态;
当确认处于所述非前台运行状态时,所述客户端对所述特定群组在所述非前台运行状态下接收到的群组消息进行计数;
在所述计数的计数值达到预设条件时,所述客户端向所述用户发出群组消息通知。
另一方面,本申请实施例提供了一种客户端,包括:
状态检测模块,用于在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态;
消息计数模块,用于当确认处于所述非前台运行状态时,对所述用户在所述非前台运行状态下接收到的群组消息进行计数;
通知发送模块,用于在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
再一方面,本申请实施例提供了一种电子设备,包括:
处理器,
储存器,用于存储客户端,所述客户端被所述处理器处理时,执行如下步骤:
在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态;
当确认处于所述非前台运行状态时,对所述用户在所述非前台运行状态下接收到的群组消息进行计数;
在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
再一方面,本申请实施例提供了一种群组消息通知方法,包括以下步骤:
在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态;
当确认处于所述非前台运行状态时,对在所述非前台运行状态下向所述特定群组发送的群组消息进行计数;
在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
再一方面,本申请实施例提供了一种服务器,包括:
状态检测模块,用于在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态;
消息计数模块,用于当确认处于所述非前台运行状态时,对在所述非前台运行状态下向所述特定群组发送的群组消息进行计数;
通知发送模块,用于在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
由以上本申请实施例提供的技术方案可见,本申请实施例中,在用户登录后,当确认处于非前台运行状态时,对用户在非前台运行状态下接收到的群组消息进行计数;其中,群组消息为用户指定的特定群组的群组消息;在计数的计数值达到预设的阈值时,客户端向用户发出群组消息通知。因此,与现有技术相比,本申请实施例既有利于用户及时获取到群消息,又不至于过多的打扰用户,因而提高了用户体验。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。在附图中:
图1为本申请一实施例的群组消息通知方法的流程图;
图2为本申请一实施例的通知设置流程图;
图3a-图3c为本申请实施例的通知阈值设置示意图;
图4a-图4c为本申请实施例的特别关注设置示意图;
图5为本申请另一实施例的群组消息通知方法的流程图;
图6为本申请一实施例的客户端的结构框图;
图7为本申请一实施例的电子设备的结构框图;
图8为本申请一实施例的服务器的结构框图。
具体实施方式
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不 是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
参考图1所示,为本申请实施例的一种群组消息通知方法。该方法的执行主体可以为客户端。该群组消息通知方法可以包括以下步骤:
S101、在用户登录后,客户端检测所述用户指定的特定群组当前是否处于非前台运行状态。
本申请实施例中,所述用户可以为客户端用户。所述用户登录可以理解为,所述用户通过专用客户端或通用客户端登录服务器,所述服务器提供即时通信服务。其中,所述的专用客户端可以为即时通信软件客户端,例如腾讯QQ客户端、微信客户端、钉钉客户端、MSN客户端、Skype客户端等等。所述的通用客户端可以为浏览器客户端,例如IE浏览器、谷歌浏览器、Safari浏览器、360浏览器等;通过浏览器客户端可实现网页版即时通信应用。为便于描述,不论是专用客户端还是通用客户端,以下均简称为客户端。
本申请实施例中,所述客户端可以配置安装于电子设备上。所述电子设备例如可以为台式电脑、平板电脑、笔记本电脑、智能手机、数字助理、智能可穿戴设备、导购终端、具有网络访问功能的电视机等。
一般的,一些特定事件会触发客户端切换进入非前台运行状态。例如客户端被最小化,电子设备上的其他客户端等转入前台运行,电子设备进入锁屏状态等等。因此,在本申请的一个实施例中,通过检测这些特定事件可以判断客户端是否非前台运行状态。在本申请的另一个实施例中,所述的检测也可以调用电子设备的操作系统的RunningTaskInfo类实现;在本申请的另一个实施例中,所述的检测还可以调用电子设备的操作系统的RunningAppProcessInfo类实现。
此外,在本申请的一些实施例中,根据具体情况,所述的检测可以为定时检测,也可以为实时检测。
一般而言,后台运行是指客户端软件在资源管理器里运行,用户看不到客户端软件的用户界面,因此在此状态下用户一般无法与客户端软件交互。与所述后台运行相对的是前台运行;在前台运行时,客户端软 件直接由窗口运行,用户可以看到其用户界面,并可以基于该用户界面与客户端软件交互。而本申请实施例中,所述用户指定的特定群组处于非前台运行状态包括两种情况:一种为客户端处于后台运行状态,在此状态下,客户端中包括用户指定的特定群组在内的任何群组都处于后台运行状态;另一种为客户端处于前台运行状态,且所述客户端的当前活动窗口不是所述特定群组。
S102、当确认处于所述非前台运行状态时,所述客户端对所述特定群组在所述非前台运行状态下接收到的群组消息进行计数;所述群组消息为所述用户指定的特定群组的群组消息。
本申请实施例中,当客户端通过检测确认所述用户指定的特定群组当前处于所述非前台运行状态时,开始对所述用户在所述非前台运行状态下,接收到的群组消息进行消息计数;其中,所述群组消息为所述用户指定的特定群组的群组消息。例如在一个示例性实施例中,用户的客户端账号上有三个群组:同事群、小区群和亲友群,其中亲友群为用户指定的特定群组;当用户的客户端处于非前台运行状态时,该客户端开始对用户在非前台运行状态下接收到的亲友群消息进行计数,与此同时,忽略用户在非前台运行状态下接收到的同事群消息及小区群消息。
本申请实施例中,当客户端通过检测确认所述用户指定的特定群组当前未处于所述非前台运行状态时,则可以继续进行检测。
在本申请的一个实施例中,所述特定群组的群组消息可以为该特定群组中的任意用户发起的群组消息,即在非前台运行状态下,无论所述特定群组中哪一个用户发起了群组消息,都会对其进行计数统计。
在本申请的另一个实施例中,所述特定群组的群组消息也可以为该特定群组中的指定用户发起的群组消息;也就是说,用户可预先将该特定群组中的指定用户设定为特别关注对象。因此,在非前台运行状态下,可仅对该特别关注对象在所述特定群组中发起的群组消息进行计数统计,与此同时,所述特定群组中其他用户在所述特定群组中发起的群组消息会被忽略。在一个示例性实施例中,特定群组中的指定用户设定过程可以如图4a-图4c所示;其中,指定用户可以为一个,也可以为多个,具体由用户根据需要个性化指定。
本申请的实施例中,所述群组消息可以是客户端能支持的任何消息,例如语音、文字、图片、视频和/或链接等等。
S103、在所述计数的计数值达到预设条件时,所述客户端向所述用户发出群组消息通知。
本申请的一个实施例中,所述计数的计数值达到预设条件可以为:所述计数的计数值达到预设阈值。其中,本申请的示例性实施例中的计数为忽略时间(或在无限长时间内)的计数。因此,当计数的计数值达到预设的阈值(例如5条、10条、20条等等)时,所述客户端可向所述用户发出群组消息通知,以提醒该用户有新消息到来。
在本申请的另一个实施例中,所述计数的计数值达到预设条件可以为:在单位时间内,所述计数的计数值达到预设阈值。本申请的示例性实施例中,所述的单位时间预先由所述用户设定,所述的单位时间例如可以是1分钟、2分钟、5分钟等等。其中,所述阈值的设定例如可以如图3a-图3c所示。因此,当单位时间内的计数的计数值达到预设的阈值(例如5条/分钟、10条/分钟、20条/分钟等等)时,所述客户端可向所述用户发出群组消息通知。
在本申请的一个示例性实施例中,所述单位时间可以为自然时间段,例如09:00:00-09:01:00为一个单位时段,09:01:00-09:02:00为一个单位时段,09:02:00-09:03:00为一个单位时段,以此类推。在非前台运行状态下,例如09:18:00用户接收到亲友群的群消息A,计数加1,由于当前分钟(09:18)内只有1条群信息,所以不通知;09:18:03用户接收到亲友群的群消息B,同理,不通知;09:18:04用户接收到亲友群的群消息C,同理,不通知;09:18:05用户接收到亲友群的群消息D,同理,不通知;但是,当09:18:07用户接收到亲友群的群消息E时,由于该当前分钟(09:18)内已经有5条群信息,达到了预设阈值5条/分钟,由此,客户端可向所述用户发出群组消息通知。后续,该当前分钟(09:18)内再来新群消息,则可不再通知。
需要说明的是,如果用户在收到群组消息通知后未进行消息查看操作,或者用户在该当前分钟(09:18)收到的群消息未达到5条时,从09:19:00开始,客户端会进行下一周期的计数及阈值判断,以此类推。当 然,如果用户在收到群组消息通知后进行消息查看操作,则会触发客户端由非前台运行状态转入前台运行状态,非前台运行状态结束,此时客户端可终止计数,并可以将此前计数清零,以便于当客户端再次进入非前台运行状态时,重新进行计数及后续阈值判断处理。除用户的消息查看操作外,用户结束客户端进程、用户电子设备关机等,亦可触发非前台运行状态结束。
在本申请的另一个实施例中,所述计数的计数值达到预设条件可以为:指定数量个相邻的群组消息是在预设时长内接收到的。其中,指定数量和所述预设时长预先由所述用户设定。在本申请的一个示例性实施例中,在非前台运行状态下,每当亲友群有新的群消息到来时,客户端除对其进行计数的同时,还可以记录其到来时间,并和相邻的前4条群消息的到来时间进行比较,如果这5条是在1分钟内到来的,则客户端可向所述用户发出群组消息通知。其中,相邻的前4条群消息均是在所述非前台运行状态下接收到的,且为所述亲友群的群消息。例如在所述非前台运行状态下,从09:17:54开始,所述亲友群陆续有a、b、c、d、e共5条群消息到来;如果群消息e的到达时间为09:18:03,则可以确定a、b、c、d、e为1分钟内到来的群消息,于是客户端可以向所述用户发出群组消息通知;而如果群消息e的到达时间为09:18:10,则可以确定a、b、c、d、e不是1分钟内到来的群消息,所以不通知。
需要说明的是,如果用户在收到群组消息通知后未进行消息查看操作,或者用户在1分钟内收到的群消息未达到5条,当所述亲友群又有新的群消息f到来时,客户端会进行下一周期的计数及阈值判断,即判断b、c、d、e、f是否为1分钟内收到的群消息。此外,由于在一些特殊情况下,例如a、b、c、d、e为1分钟内到来的群消息,b、c、d、e、f也为1分钟内到来的群消息,c、d、e、f、g也为1分钟内到来的群消息,等等,且用户在收到群组消息通知后均未进行消息查看操作,这样,就相当于在群消息e后,每收到一个群组消息就触发了一次群组消息通知,从而也可能会给用户造成干扰。为避免这种情况,可以在用户在收到群组消息通知后且未进行消息查看操作时,或者用户在1分钟内收到的群消息未达到5条后,重新进行计数及后续阈值判断处理,例如如果a、b、 c、d、e为1分钟内到来的群消息,且用户在收到群组消息通知后未进行消息查看操作,当新的群消息f到来时,从群消息f开始重新进行计数及后续阈值判断处理。当然,如果用户在收到群组消息通知后进行消息查看操作,则会触发客户端由非前台运行状态转入前台运行状态,非前台运行状态结束,此时客户端可终止消息计数和到来时间记录,并可以将此前计数清零,以便于当客户端再次进入非前台运行状态时,重新进行计数及后续阈值判断处理。
本申请的实施例中,所述的群组消息通知可以为声音提示和/或可视提示,并且所述群组消息通知方式也可以由用户预先设定。其中,所述声音提示例如可以为语音提示和/或振动提示;所述可视提示例如可以为弹窗提示和/或预定频率的闪光提示。
在本申请另一实施例中,在所述计数的计数值达到预设条件之后,还可以包括:
判断自上一次发出群组消息通知起,至当前时刻的计时时长是否低于预设时长;
对应的,所述向所述用户发出群组消息通知可以包括:
当所述计时时长低于所述预设时长时,根据低于所述预设时长的程度,延迟相应的时间后向所述用户发出群组消息通知。例如计时时长为7秒,预设时长为10秒,计时时长低于预设时长3秒,则可以延迟3秒后再向所述用户发出群组消息通知。这样,当特定群组讨论比较激烈时,可以适当控制群组消息通知的触发间隔,从而避免了对用户的过多打扰。当然,在本申请其他实施例中,所述延迟的时间也可以不依赖于计时时长和预设时长之间的差值,例如一旦所述计时时长低于所述预设时长时,则固定延迟2秒后再向所述用户发出群组消息通知。
结合图2所示,本申请的实施例中,上述用户预设设定的单位时间、指定用户和阈值等,均可以看作是用户输入的设置信息;在用户输入后,客户端会将设置信息发送至服务器,服务器侧保存设置信息并使之生效。需要说明的是,本申请实施例中,当用户的一个客户端账号上有多个群组时,用户可针对每个群组分别输入个性化的设置信息,例如对不同的群组设置不同的群组消息通知方式等。
参考图5所示,为本申请另一实施例的一种群组消息通知方法。与图1所示群组消息通知方法的主要不同之处在于,图5所示群组消息通知方法的执行主体为服务器。该群组消息通知方法可以包括以下步骤:
S501、在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态。
S502、当确认处于所述非前台运行状态时,对在所述非前台运行状态下向所述特定群组发送的群组消息进行计数;所述群组消息为所述用户指定的特定群组的群组消息。
S503、在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
本申请的一个实施例中,所述计数可以是忽略时间(或在无限长时间内)的计数统计。本申请的另一个实施例中,所述计数也可以单位时间内计数,即对单位时间内接收到的群组消息进行计数统计。本领域技术人员悉知,群组通信原理为:群组中的一个用户组织一个群消息(message),其类型(type)为群聊天(group chat),发起方(from)为自己的在群中的标识或昵称(nickname),接收方(to)的对象为群组的全体成员;群消息发送到服务器后,服务器负责将该群消息转发(即广播)给该群组的全体成员包括发起方自己,并标明消息发起方。因此,当本申请实施例的计数为单位时间内计数时,与图1所述的群组消息通知不同,单位时间不再以用户接收群消息的时间为依据,而是以服务器转发群组消息的时间为依据。
本申请实施例的群组消息通知方法与图1所示群组消息通知方法类似,因此,有关于本申请实施例的群组消息通知方法的具体描述,请参考图1所示群组消息通知方法,在此不再赘述。
参考图6所示,为本申请实施例的一种客户端,其可以包括:
状态检测模块61,用于在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态;
消息计数模块62,用于当确认处于所述非前台运行状态时,对所述用户在所述非前台运行状态下接收到的群组消息进行计数;
通知发送模块63,用于在所述计数的计数值达到预设条件时,向所 述用户发出群组消息通知。
本申请实施例的客户端与图1所示群组消息通知方法对应,因此,有关于本申请实施例的客户端的具体描述,请参考图1所示群组消息通知方法,在此不再赘述。
参考图7所示,为本申请实施例的一种电子设备。该电子设备在硬件层面可以包括处理器、内部总线、存储器和内存,当然还可能包括其他业务所需要的硬件。处理器从存储器中读取对应的计算机程序到内存中然后运行,在逻辑层面上形成客户端。当然,除了软件实现方式之外,本申请并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。其中,所述客户端被所述处理器处理时,执行如下步骤:
在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态;
当确认处于所述非前台运行状态时,对所述用户在所述非前台运行状态下接收到的群组消息进行计数;
在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
本申请实施例的电子设备与图1所示群组消息通知方法对应,因此,有关于本申请实施例的电子设备的具体描述,请参考图1所示群组消息通知方法,在此不再赘述。
参考图8所示,为本申请实施例的一种服务器,其可以包括:
状态检测模块81,用于在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态;
消息计数模块82,用于当确认处于所述非前台运行状态时,对在所述非前台运行状态下向所述特定群组发送的群组消息进行计数;
通知发送模块83,用于在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
本申请实施例的服务器与图5所示群组消息通知方法对应,因此,有关于本申请实施例的服务器的具体描述,请参考图5所示群组消息通 知方法,在此不再赘述。
虽然上文描述的过程流程包括以特定顺序出现的多个操作,但是,应当清楚了解,这些过程可以包括更多或更少的操作,这些操作可以顺序执行或并行执行(例如使用并行处理器或多线程环境)。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代 码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的客户端和服务器,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上客户端和服务器时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中 的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信 号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。

Claims (25)

  1. 一种群组消息通知方法,其特征在于,包括以下步骤:
    在用户登录后,客户端检测所述用户指定的特定群组当前是否处于非前台运行状态;
    当确认处于所述非前台运行状态时,所述客户端对所述特定群组在所述非前台运行状态下接收到的群组消息进行计数;
    在所述计数的计数值达到预设条件时,所述客户端向所述用户发出群组消息通知。
  2. 根据权利要求1所述的群组消息通知方法,其特征在于,所述计数的计数值达到预设条件,包括以下中的一种:
    所述计数的计数值达到预设阈值;
    在单位时间内,所述计数的计数值达到预设阈值;
    指定数量个相邻的群组消息是在预设时长内接收到的。
  3. 根据权利要求1或2所述的群组消息通知方法,其特征在于,所述群组消息包括以下中的任意一种:
    所述特定群组中的指定用户发起的群组消息;
    所述特定群组中的任意用户发起的群组消息。
  4. 根据权利要求1或2所述的群组消息通知方法,其特征在于,在所述计数的计数值达到预设条件之后,还包括:
    判断自上一次发出群组消息通知起,至当前时刻的计时时长是否低于预设时长;
    对应的,所述向所述用户发出群组消息通知包括:
    当所述计时时长低于所述预设时长时,根据低于所述预设时长的程度,延迟相应的时间后向所述用户发出群组消息通知。
  5. 根据权利要求2所述的群组消息通知方法,其特征在于,所述阈值预先由所述用户设定。
  6. 根据权利要求2所述的群组消息通知方法,其特征在于,所述单位时间预先由所述用户设定。
  7. 根据权利要求3所述的群组消息通知方法,其特征在于,所述特定群组中的指定用户预先由所述用户设定。
  8. 根据权利要求1或2所述的群组消息通知方法,其特征在于,所述的群组消息通知包括:声音提示和/或可视提示。
  9. 根据权利要求8所述的群组消息通知方法,其特征在于,所述声音提示包括:
    语音提示和/或振动提示。
  10. 根据权利要求8所述的群组消息通知方法,其特征在于,所述可视提示包括:
    弹窗提示和/或预定频率的闪光提示。
  11. 根据权利要求1或2所述的群组消息通知方法,其特征在于,还包括:
    当所述非前台运行状态结束时,终止所述计数。
  12. 一种客户端,其特征在于,包括:
    状态检测模块,用于在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态;
    消息计数模块,用于当确认处于所述非前台运行状态时,对所述特定群组在所述非前台运行状态下接收到的群组消息进行计数;
    通知发送模块,用于在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
  13. 一种电子设备,其特征在于,包括:
    处理器,
    储存器,用于存储客户端,所述客户端被所述处理器处理时,执行如下步骤:
    在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态;
    当确认处于所述非前台运行状态时,对所述用户在所述非前台运行状态下接收到的群组消息进行计数;
    在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
  14. 一种群组消息通知方法,其特征在于,包括以下步骤:
    在用户登录后,检测所述用户指定的特定群组当前是否处于非前台 运行状态;
    当确认处于所述非前台运行状态时,对在所述非前台运行状态下向所述特定群组发送的群组消息进行计数;
    在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
  15. 根据权利要求14所述的群组消息通知方法,其特征在于,所述计数的计数值达到预设条件,包括以下中的一种:
    所述计数的计数值达到预设阈值;
    在单位时间内,所述计数的计数值达到预设阈值;
    指定数量个相邻的群组消息是在预设时长内接收到的。
  16. 根据权利要求14或15所述的群组消息通知方法,其特征在于,所述群组消息包括以下中的任意一种:
    所述特定群组中的指定用户发起的群组消息;
    所述特定群组中的任意用户发起的群组消息。
  17. 根据权利要求14或15所述的群组消息通知方法,其特征在于,在所述计数的计数值达到预设条件之后,还包括:
    判断自上一次发出群组消息通知起,至当前时刻的计时时长是否低于预设时长;
    对应的,所述向所述用户发出群组消息通知包括:
    当所述计时时长低于所述预设时长时,根据低于所述预设时长的程度,延迟相应的时间后向所述用户发出群组消息通知。
  18. 根据权利要求15所述的群组消息通知方法,其特征在于,所述阈值预先由所述用户设定。
  19. 根据权利要求15所述的群组消息通知方法,其特征在于,所述单位时间预先由所述用户设定。
  20. 根据权利要求16所述的群组消息通知方法,其特征在于,所述特定群组中的指定用户预先由所述用户设定。
  21. 根据权利要求14或15所述的群组消息通知方法,其特征在于,所述的群组消息通知包括:声音提示和/或可视提示。
  22. 根据权利要求21所述的群组消息通知方法,其特征在于,所述 声音提示包括:
    语音提示和/或振动提示。
  23. 根据权利要求21所述的群组消息通知方法,其特征在于,所述可视提示包括:
    弹窗提示和/或预定频率的闪光提示。
  24. 根据权利要求14或15所述的群组消息通知方法,其特征在于,还包括:
    当所述非前台运行状态结束时,终止所述计数。
  25. 一种服务器,其特征在于,包括:
    状态检测模块,用于在用户登录后,检测所述用户指定的特定群组当前是否处于非前台运行状态;
    消息计数模块,用于当确认处于所述非前台运行状态时,对在非前台运行状态下所述向所述特定群组发送的群组消息进行计数;
    通知发送模块,用于在所述计数的计数值达到预设条件时,向所述用户发出群组消息通知。
PCT/CN2017/113358 2016-12-07 2017-11-28 群组消息通知方法、客户端、电子设备和服务器 WO2018103555A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611116393.8A CN106973003B (zh) 2016-12-07 2016-12-07 群组消息通知方法、客户端、电子设备和服务器
CN201611116393.8 2016-12-07

Publications (1)

Publication Number Publication Date
WO2018103555A1 true WO2018103555A1 (zh) 2018-06-14

Family

ID=59334580

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/113358 WO2018103555A1 (zh) 2016-12-07 2017-11-28 群组消息通知方法、客户端、电子设备和服务器

Country Status (3)

Country Link
CN (1) CN106973003B (zh)
TW (1) TWI658398B (zh)
WO (1) WO2018103555A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106973003B (zh) * 2016-12-07 2021-02-12 创新先进技术有限公司 群组消息通知方法、客户端、电子设备和服务器
CN108111605A (zh) * 2017-12-22 2018-06-01 广东欧珀移动通信有限公司 一种消息通知方法、装置和计算机可读存储介质
CN108418950B (zh) * 2018-01-31 2019-10-18 维沃移动通信有限公司 消息提醒方法及移动终端
CN108540368B (zh) * 2018-02-28 2022-02-01 维沃移动通信有限公司 消息屏蔽方法及装置
CN110266505B (zh) * 2019-04-29 2022-02-18 上海连尚网络科技有限公司 一种管理会话群的方法与设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060277262A1 (en) * 2005-06-06 2006-12-07 Boss Gregory J Session management enhancements for instant messaging applications
CN101193081A (zh) * 2007-12-21 2008-06-04 腾讯科技(深圳)有限公司 信息提示方法和终端
CN104978025A (zh) * 2015-06-02 2015-10-14 深圳市金立通信设备有限公司 一种信息提示的方法及终端
CN105227449A (zh) * 2015-11-05 2016-01-06 腾讯科技(深圳)有限公司 一种群组消息提示方法及服务器
CN105867733A (zh) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 一种通知显示方法、装置及移动设备
CN106973003A (zh) * 2016-12-07 2017-07-21 阿里巴巴集团控股有限公司 群组消息通知方法、客户端、电子设备和服务器

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8352561B1 (en) * 2009-07-24 2013-01-08 Google Inc. Electronic communication reminder technology
KR20160005386A (ko) * 2014-07-04 2016-01-15 에스케이플래닛 주식회사 메신저 서비스 제공 방법 및 이를 위한 장치
CN105245692A (zh) * 2015-08-31 2016-01-13 深圳市金立通信设备有限公司 一种消息提醒方法及终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060277262A1 (en) * 2005-06-06 2006-12-07 Boss Gregory J Session management enhancements for instant messaging applications
CN101193081A (zh) * 2007-12-21 2008-06-04 腾讯科技(深圳)有限公司 信息提示方法和终端
CN104978025A (zh) * 2015-06-02 2015-10-14 深圳市金立通信设备有限公司 一种信息提示的方法及终端
CN105227449A (zh) * 2015-11-05 2016-01-06 腾讯科技(深圳)有限公司 一种群组消息提示方法及服务器
CN105867733A (zh) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 一种通知显示方法、装置及移动设备
CN106973003A (zh) * 2016-12-07 2017-07-21 阿里巴巴集团控股有限公司 群组消息通知方法、客户端、电子设备和服务器

Also Published As

Publication number Publication date
TWI658398B (zh) 2019-05-01
CN106973003B (zh) 2021-02-12
CN106973003A (zh) 2017-07-21
TW201821965A (zh) 2018-06-16

Similar Documents

Publication Publication Date Title
WO2018103555A1 (zh) 群组消息通知方法、客户端、电子设备和服务器
TWI727120B (zh) 一種發送交易資訊和共識驗證的方法及裝置
WO2018161901A1 (zh) 一种共识方法及装置
JP6723340B2 (ja) 業務状態をプロンプトする方法及び装置
TWI677836B (zh) 業務資料處理方法、裝置及用戶端
US10425368B2 (en) Information processing method, user equipment, server, and computer-readable storage medium
US9060107B2 (en) Video responses to messages
US20150229598A1 (en) Method and system of synchroning an unread message in instant communication
WO2019192251A1 (zh) 一种基于集群的信息发送方法、装置及设备
JP2012199915A (ja) データ処理装置、受信装置、データ処理装置の操作方法、受信装置の操作方法、及びプログラム
EP3532917B1 (en) Video playback in group communications
WO2015131669A1 (zh) 一种应用控制方法、装置、终端及计算机存储介质
US20120198372A1 (en) Communication processing based on current reading status and/or dynamic determination of a computer user's focus
US11069359B2 (en) Context-aware real-time meeting audio transcription
WO2015112600A1 (en) Method and device for sharing data
TW201733375A (zh) 快速添加提醒對象的方法及裝置
US20150120374A1 (en) Automation of customer relationship management (crm) tasks responsive to electronic communications
US10623344B2 (en) Message processing using deactivation condition and after scheduled end time
US9985918B2 (en) Message recipient indicator
WO2017128544A1 (zh) 通知提示方法及装置
WO2019174421A1 (zh) 一种信息推送的方法、信息获取的方法、装置及设备
WO2017080243A1 (zh) 一种信息同步的方法、装置和系统
WO2016169189A1 (zh) 病毒扫描方法和病毒扫描装置
US9652311B2 (en) Optimization of non-volatile memory in message queuing
US20140164523A1 (en) Automated enabling of instant messaging communications in a client system

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: 17877621

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17877621

Country of ref document: EP

Kind code of ref document: A1