TWI513236B - Method, device and system for conversational notifications in instant messaging application - Google Patents

Method, device and system for conversational notifications in instant messaging application Download PDF

Info

Publication number
TWI513236B
TWI513236B TW102148209A TW102148209A TWI513236B TW I513236 B TWI513236 B TW I513236B TW 102148209 A TW102148209 A TW 102148209A TW 102148209 A TW102148209 A TW 102148209A TW I513236 B TWI513236 B TW I513236B
Authority
TW
Taiwan
Prior art keywords
notification
target account
session
instant messaging
messaging application
Prior art date
Application number
TW102148209A
Other languages
Chinese (zh)
Other versions
TW201442462A (en
Inventor
xiao-long Zhang
Original Assignee
Tencent Tech Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Tech Shenzhen Co Ltd filed Critical Tencent Tech Shenzhen Co Ltd
Publication of TW201442462A publication Critical patent/TW201442462A/en
Application granted granted Critical
Publication of TWI513236B publication Critical patent/TWI513236B/en

Links

Description

一種即時通訊應用中的會話通知方法、裝置及系統Session notification method, device and system in instant messaging application

本發明涉及電腦應用技術領域,尤其涉及一種即時通訊應用中的會話通知方法、裝置及系統。The present invention relates to the field of computer application technologies, and in particular, to a session notification method, apparatus and system in an instant messaging application.

即時通訊(Instant Messenger,簡稱IM)應用是一種基於互聯網的即時交流消息的應用,即時通訊可以允許兩人或多人使用互聯網即時地進行文字資訊、圖片、音視頻等交流。在即時通訊應用的基礎上,基於即時通訊應用的公眾平臺(public platform)也應運而生,個人或者企業都可以打造一個基於即時通訊應用的公眾平臺的公眾帳號,以透過該公眾帳號實現與特定群體的文字、圖片、語音的全方位溝通、互動,向特定群體提供相應類型的服務。The Instant Messenger (IM) application is an Internet-based application for instant messaging. Instant messaging allows two or more people to use the Internet to instantly exchange text messages, pictures, audio and video. On the basis of instant messaging applications, a public platform based on instant messaging applications has emerged, and individuals or businesses can create a public account for a public platform based on instant messaging applications to achieve and The group's text, pictures, and voices communicate and interact in an all-round way, providing appropriate types of services to specific groups.

現有技術中處理即時通訊相關資料的方法中,主要的資料處理過程為:發送使用者終端發送包括發送端帳號資訊、目標端帳號資訊以及資料內容的消息;即時通訊應用伺服器接收該消息,進行定址操作,再根據定址操作結果將該消息發送給目標帳號的終端,或者在即時通訊應用伺服器中保存該消息以便於在目標帳號登錄後再發送該消息;目標帳號的終端接收到相應消息後,在與發送端帳號資訊對應的會話介面中,向目標帳號的所有者顯示該消息中的資料內容。In the prior art method for processing instant messaging related data, the main data processing process is: sending the user terminal to send a message including the sender account information, the target account information, and the data content; the instant messaging application server receives the message and performs Addressing operation, and then sending the message to the terminal of the target account according to the result of the address operation, or saving the message in the instant messaging application server to send the message after the target account is logged in; the terminal of the target account receives the corresponding message In the session interface corresponding to the sender account information, the content of the data in the message is displayed to the owner of the target account.

現有技術中,只能夠當使用者在會話介面中輸入內容並確定 發送後,使用者終端或者伺服器再被動地向目標帳號對應的終端發送包括輸入內容的消息,在使用者向該目標帳號發送消息之前,無法自動、及時地作出關於該使用者與目標帳號的會話狀態的通知處理。有鑑於此,如何自動、及時地作出關於該使用者與目標帳號的會話狀態的通知處理為本案發展之目的。In the prior art, only when the user inputs content in the session interface and determines After the sending, the user terminal or the server passively sends a message including the input content to the terminal corresponding to the target account, and cannot automatically and timely make the user and the target account before the user sends the message to the target account. Notification processing of session status. In view of this, how to automatically and timely make notifications about the session state of the user and the target account is for the purpose of development of the case.

本發明實施例所要解決的技術問題在於,提供一種即時通訊應用中的會話通知方法、裝置以及系統,可以在使用者打開與目標帳號的會話介面時發出通知,將使用者的準備會話狀態通知給目標帳號的所有者。The technical problem to be solved by the embodiment of the present invention is to provide a session notification method, device and system in an instant messaging application, which can notify a user when opening a session interface with a target account, and notify the user of the preparation session state. The owner of the target account.

為了解決上述技術問題,本發明實施例提供了一種即時通訊應用中的會話通知方法,包括:在檢測到使用者終端打開與目標帳號的會話介面時,檢測目標帳號是否可以提供基於會話打開通知的服務;若目標帳號可以提供基於會話打開通知的服務,生成第一通知消息,第一通知消息中包括在使用者終端中登錄即時通訊應用的帳號資訊;向目標帳號發送第一通知消息,通知目標帳號所述帳號資訊對應的使用者打開了與目標帳號的會話介面。In order to solve the above technical problem, an embodiment of the present invention provides a session notification method in an instant messaging application, including: detecting that a target account can provide a session open notification based on detecting that the user terminal opens a session interface with a target account If the target account can provide a service based on the session open notification, the first notification message is generated, where the first notification message includes the account information of the instant messaging application registered in the user terminal; the first notification message is sent to the target account to notify the target The user corresponding to the account information described in the account opens the session interface with the target account.

本發明實施例還提供了一種即時通訊應用中的會話通知方法,包括:使用者終端檢測在本使用者終端的即時通訊應用中是否打開了與目標帳號的會話介面;使用者終端在判斷結果為打開了與目標帳號的會話介面時,向即時通訊應用伺服器上報的第二通知消息;即時通訊應用伺服器接收到使用者終端上報的第二通知消息後,檢測目標帳號是否可以提供基於會話打開通知的服務;即時通訊應用伺服器在檢測結果為目標帳號可以提供基於會話打開通知的服務時,生成第一通知消息,第一通知消息中包括使用者終端中登錄即時通訊應用的帳號資訊;即時通訊應用伺服器向目標帳號發送第一通知消息,通知目標帳號所述帳號資訊對應的使用者 打開了與目標帳號的會話介面。The embodiment of the present invention further provides a session notification method in an instant messaging application, including: detecting, by the user terminal, whether a session interface with a target account is opened in an instant messaging application of the user terminal; When the session interface with the target account is opened, the second notification message is reported to the instant messaging application server; after receiving the second notification message reported by the user terminal, the instant messaging application server detects whether the target account can be provided based on The service of the session open notification; the instant messaging application server generates a first notification message when the detection result is that the target account can provide the service based on the session open notification, and the first notification message includes the account information of the instant messaging application registered in the user terminal. The instant messaging application server sends a first notification message to the target account to notify the user corresponding to the account information of the target account. The session interface to the target account is opened.

相應地,本發明實施例還提供了一種即時通訊應用中的會話通知裝置,包括:檢測模組,用於在檢測到使用者終端打開與目標帳號的會話介面時,檢測目標帳號是否可以提供基於會話打開通知的服務;生成模組,用於在目標帳號可以提供基於會話打開通知的服務時,生成第一通知消息,第一通知消息中包括在使用者終端中登錄即時通訊應用的帳號資訊;發送模組,用於向目標帳號發送第一通知消息,通知目標帳號所述帳號資訊對應的使用者打開了與目標帳號的會話介面。Correspondingly, the embodiment of the present invention further provides a session notification device in an instant messaging application, comprising: a detection module, configured to detect whether a target account can be provided based on detecting that a user terminal opens a session interface with a target account a session opening notification service; a generating module, configured to generate a first notification message when the target account can provide a service based on the session open notification, where the first notification message includes account information of the instant messaging application registered in the user terminal; The sending module is configured to send a first notification message to the target account, and notify the user corresponding to the account information of the target account to open the session interface with the target account.

相應地,本發明實施例還提供了一種即時通訊應用中的會話通知系統,包括:使用者終端、即時通訊應用伺服器以及目標帳號終端,其中:使用者終端,用於檢測在本使用者終端的即時通訊應用中是否打開了與目標帳號的會話介面;並在判斷結果為打開了與目標帳號的會話介面時,向即時通訊應用伺服器上報第二通知消息;即時通訊應用伺服器,用於接收到使用者終端上報的第二通知消息後,檢測目標帳號是否可以提供基於會話打開通知的服務;並在檢測結果為目標帳號可以提供基於會話打開通知的服務時,生成第一通知消息,第一通知消息中包括使用者終端中登錄即時通訊應用的帳號資訊;即時通訊應用伺服器,還用於向目標帳號終端第一通知消息。Correspondingly, the embodiment of the present invention further provides a session notification system in an instant messaging application, including: a user terminal, an instant messaging application server, and a target account terminal, wherein: the user terminal is configured to detect the user terminal Whether the session interface of the target account is opened in the instant messaging application; and when the result of the judgment is that the session interface with the target account is opened, the second notification message is reported to the instant messaging application server; the instant messaging application server uses After receiving the second notification message reported by the user terminal, detecting whether the target account can provide a service based on the session open notification; and generating a first notification message when the detection result is that the target account can provide a service based on the session open notification The first notification message includes account information of the user terminal to log in to the instant messaging application; the instant messaging application server is further configured to notify the target account terminal of the first message.

本發明實施例可以在某個使用者打開了會話介面後,自動、及時地向該會話介面對應的目標帳號發出關於該使用者與目標帳號的會話狀態通知,及時提醒目標帳號的所有者作出反應,以更好地為使用者服務。並且在發出通知之前會對目標帳號所能提供的服務進行檢測,在確定該目標帳號能夠提供基於會話打開通知的服務時,再發出通知,保證了伺服器不會產生不必要的通知操作,在保證通知服務的同時,也節約了伺服器資源。In the embodiment of the present invention, after a user opens the session interface, the session status notification of the user and the target account is automatically and timely sent to the target account corresponding to the session interface, and the owner of the target account is promptly alerted. To better serve the user. And before the notification is sent, the service that the target account can provide is detected. When it is determined that the target account can provide the service based on the session open notification, a notification is sent to ensure that the server does not generate unnecessary notification operations. While ensuring the notification service, it also saves server resources.

為了更清楚地說明本發明實施例或現有技術中的技術方 案,下面將對實施例或現有技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本發明的一些實施例,對於本領域普通技術人員來講,在不付出創造性勞動的前提下,還可以根據這些附圖獲得其他的附圖。In order to more clearly illustrate the embodiments of the present invention or the prior art BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set forth in the accompanying drawings Other drawings may also be obtained from these drawings without paying for creative labor.

1‧‧‧即時通訊應用伺服器1‧‧‧IM application server

2‧‧‧使用者終端2‧‧‧User terminal

3‧‧‧目標帳號終端3‧‧‧Target account terminal

11‧‧‧檢測模組11‧‧‧Test module

111‧‧‧判斷單元111‧‧‧judging unit

112‧‧‧檢測單元112‧‧‧Detection unit

12‧‧‧生成模組12‧‧‧Generation Module

121‧‧‧條件判斷單元121‧‧‧Conditional judgment unit

122‧‧‧生成處理單元122‧‧‧Generation processing unit

13‧‧‧發送模組13‧‧‧Send module

21‧‧‧檢測模組21‧‧‧Test module

22‧‧‧通知模組22‧‧‧Notification module

221‧‧‧判斷單元221‧‧‧judging unit

222‧‧‧發送單元222‧‧‧Send unit

S101~S103‧‧‧本發明之即時通訊應用中的會話通知方法之一實施例之步驟流程S101~S103‧‧‧ Step flow of one embodiment of the session notification method in the instant messaging application of the present invention

S201~S205‧‧‧本發明之即時通訊應用中的會話通知方法之一實施例之步驟流程S201~S205‧‧‧ Step flow of one embodiment of the session notification method in the instant messaging application of the present invention

S301~S302‧‧‧本發明之即時通訊應用中的會話通知方法之一實施例之步驟流程S301~S302‧‧‧ Step flow of one embodiment of the session notification method in the instant messaging application of the present invention

S401~S405‧‧‧本發明之即時通訊應用中的會話通知方法之一實施例之步驟流程S401~S405‧‧‧ Step flow of one embodiment of the session notification method in the instant messaging application of the present invention

圖1是本發明實施例的一種即時通訊應用中的會話通知方法的流程示意圖;圖2是本發明實施例的一種會話介面的示意圖;圖3是本發明實施例的另一種即時通訊應用中的會話通知方法的流程示意圖;圖4是本發明實施例的另一種即時通訊應用中的會話通知方法的流程示意圖;圖5是本發明實施例的再一種即時通訊應用中的會話通知方法的流程示意圖;圖6是本發明實施例的一種即時通訊應用中的會話通知系統的結構示意圖;圖7是本發明實施例的一種即時通訊應用中的會話通知裝置的結構示意圖;圖8是本發明實施例的另一種即時通訊應用中的會話通知裝置的結構示意圖;圖9是本發明實施例的再一種即時通訊應用中的會話通知裝置。1 is a schematic flowchart of a session notification method in an instant messaging application according to an embodiment of the present invention; FIG. 2 is a schematic diagram of a session interface according to an embodiment of the present invention; and FIG. 3 is another instant messaging application according to an embodiment of the present invention. FIG. 4 is a schematic flowchart of a session notification method in another instant messaging application according to an embodiment of the present invention; FIG. 5 is a schematic flowchart of a session notification method in another instant messaging application according to an embodiment of the present invention; FIG. 6 is a schematic structural diagram of a session notification system in an instant messaging application according to an embodiment of the present invention; FIG. 7 is a schematic structural diagram of a session notification apparatus in an instant messaging application according to an embodiment of the present invention; Another schematic diagram of a session notification device in an instant messaging application; FIG. 9 is a further session notification device in an instant messaging application according to an embodiment of the present invention.

有關本發明之前述及其他技術內容、特點與功效,在以下配 合參考圖式之一較佳實施例的詳細說明中,將可清楚的呈現。顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有作出創造性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。以下實施例中所提到的方向用語,例如:上、下、左、右、前或後等,僅是參考附加圖式的方向。因此,使用的方向用語是用來說明並非用來限制本發明。The foregoing and other technical contents, features and effects of the present invention are as follows A detailed description of one of the preferred embodiments will be apparent from the detailed description. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. The directional terms mentioned in the following embodiments, such as up, down, left, right, front or back, etc., are only directions referring to the additional drawings. Therefore, the directional terminology used is for the purpose of illustration and not limitation.

請參見圖1,是本發明實施例的一種即時通訊應用中的會話通知方法的流程示意圖,本發明實施例所述的方法可應用於各即時通訊應用系統中、或者基於即時通訊應用的公眾平臺中,由相應的即時通訊應用伺服器實現,具體的,所述方法包括:FIG. 1 is a schematic flowchart of a session notification method in an instant messaging application according to an embodiment of the present invention. The method according to the embodiment of the present invention can be applied to various instant messaging application systems or public platforms based on instant messaging applications. The implementation is implemented by a corresponding instant messaging application server. Specifically, the method includes:

S101:在檢測到使用者終端打開與目標帳號的會話介面時,檢測目標帳號是否可以提供基於會話打開通知的服務。S101: When detecting that the user terminal opens the session interface with the target account, detecting whether the target account can provide a service based on the session open notification.

使用者終端中安裝有相應的即時通訊應用,使用者可以開啟本使用者終端中安裝的即時通訊應用並透過已註冊的使用者帳號登錄到即時通訊應用伺服器。當該使用者需要與其他帳號使用者或者公眾平臺中的某一公眾帳號等目標帳號的所有者發起即時通訊時,可以打開即時通訊應用中目標帳號的會話介面,在會話介面中發起與目標帳號的所有者的會話,發送和/或接收相應的消息。A corresponding instant messaging application is installed in the user terminal, and the user can open the instant messaging application installed in the user terminal and log in to the instant messaging application server through the registered user account. When the user needs to initiate instant messaging with other account users or a public account such as a public account in the public platform, the user can open the session interface of the target account in the instant messaging application, and initiate the target account in the session interface. The owner's session, sending and/or receiving the corresponding message.

使用者終端可以根據使用者對即時通訊應用的點擊選擇操作,或者根據終端系統當前處理的進程中是否包括關於所述目標帳號的會話介面的進程,以判斷本使用者終端是否已打開與目標帳號的會話介面。若點擊操作中包括點擊打開即時通訊應用中目標帳號的會話介面的操作或者進程中包括關於所述目標帳號的會話介面的進程,則可以判定使用者打開了與目標帳號的會話介面。使用者終端可以在每次檢測到使用者打開進入了即時通訊應用中的與目標帳號的會話介面時,上報通知消息以通知即時通訊應用伺服器。或者根據本次打開時間與上一次打開時間的間隔,上 報通知消息以通知即時通訊應用伺服器。The user terminal can determine whether the user terminal has opened the target account according to the user's click selection operation on the instant messaging application or according to whether the process currently processed by the terminal system includes the session interface of the target account. Session interface. If the click operation includes clicking to open the session interface of the target account in the instant messaging application or the process including the session interface of the target account in the process, it may be determined that the user opens the session interface with the target account. The user terminal may report the notification message to notify the instant messaging application server each time the user opens the session interface with the target account in the instant messaging application. Or according to the interval between the current opening time and the last opening time, A notification message is reported to notify the instant messaging application server.

在本發明實施例中,若打開了與目標帳號的會話介面,使用者終端發送通知消息以通知即時通訊應用伺服器。由此,在S101中,即時通訊應用伺服器根據使用者終端的通知來確定使用者終端打開與目標帳號的會話介面,從而執行檢測對應的目標帳號是否可以提供基於會話打開通知的服務的步驟。In the embodiment of the present invention, if the session interface with the target account is opened, the user terminal sends a notification message to notify the instant messaging application server. Therefore, in S101, the instant messaging application server determines, according to the notification of the user terminal, that the user terminal opens the session interface with the target account, thereby performing a step of detecting whether the corresponding target account can provide the service based on the session open notification.

在S101中,目標帳號是否可以提供基於會話打開通知的服務可以包括:目標帳號的所有者是否需要得到其他使用者在打開與本目標帳號的會話介面時的通知,以便於在接收到通知後能夠及時進行回應,例如:立即提醒客服人員向所述其他使用者發起會話以發送諸如歡迎詞、問候語等類型的消息。In S101, whether the target account can provide the service based on the session open notification may include: whether the owner of the target account needs to obtain the notification of the other user when opening the session interface with the target account, so that after receiving the notification, Respond promptly, for example: immediately alert the agent to initiate a conversation with the other user to send a message such as a greeting, a greeting, and the like.

即時通訊應用伺服器可以根據目標帳號的註冊資訊判斷目標帳號是否可以提供基於會話打開通知的服務。具體包括:即時通訊應用伺服器根據目標帳號的註冊資訊確定該目標帳號為第一類帳號,如個人帳號、或者新聞類等類型的帳號時,可以確定該目標帳號的所有者不需要得到關於使用者是否打開了會話介面的通知,該目標帳號不會提供基於會話打開通知的服務。而如果目標帳號為第二類帳號,例如餐飲類、旅遊類等服務業類型的帳號時,表明此目標帳號的所有者希望知道用戶是否關注本帳號,以便於能夠及早安排客服人員準備一些諸如歡迎詞、問候語等類型的消息發送給這些使用者。The instant messaging application server can determine whether the target account can provide a service based on the session open notification according to the registration information of the target account. Specifically, the instant messaging application server determines, according to the registration information of the target account, that the target account is the first type of account, such as a personal account, or a news type, and can determine that the owner of the target account does not need to obtain the use. Whether the notification of the session interface is turned on, the target account does not provide a service based on the session open notification. If the target account is a second type of account, such as a food service type, a travel type, and the like, it indicates that the owner of the target account wants to know whether the user pays attention to the account, so that the customer service staff can be arranged as early as possible to prepare for such a welcome. Messages such as words, greetings, etc. are sent to these users.

或者,即時通訊應用伺服器可以根據預置的配置資訊表來判斷所述目標帳號是否可以提供基於會話打開通知的服務。具體的,即時通訊應用伺服器可以預設一個配置資訊表,每一個帳號在申請階段時,會填寫該帳號是否可以提供基於會話打開通知的服務,若為是時,即時通訊應用伺服器在所述配置資訊表中記錄該帳號並將該帳號記錄為可以提供基於會話打開通知的服務,如記錄為“1”。配置資訊表可以根據目標帳號的更新 操作進行更新,例如目標帳號的所有者將自身修改為不需要進行基於會話打開通知的服務時,即時通訊應用伺服器會從所述配置資訊表上刪除該目標帳號,或者將該目標帳號對應的資訊記錄為不提供基於會話打開通知的服務,如記錄為“0”。Alternatively, the instant messaging application server may determine, according to the preset configuration information table, whether the target account can provide a service based on the session open notification. Specifically, the instant messaging application server can preset a configuration information table. When each account is in the application phase, it will fill in whether the account can provide a service based on the session open notification. If yes, the instant messaging application server is in the office. Record the account in the configuration information table and record the account as a service that can provide session-based notifications, such as a record of "1". The configuration information table can be updated according to the target account. The operation is updated. For example, when the owner of the target account modifies itself to a service that does not need to perform the session-based notification, the instant messaging application server deletes the target account from the configuration information table, or corresponds to the target account. The information record is a service that does not provide a session-based notification, such as a record of "0".

S102:若目標帳號可以提供基於會話打開通知的服務,生成第一通知消息,第一通知消息中包括在使用者終端中登錄即時通訊應用的帳號資訊。S102: If the target account can provide a service based on the session open notification, generate a first notification message, where the first notification message includes account information for logging in to the instant messaging application in the user terminal.

S103:向目標帳號發送第一通知消息,通知目標帳號所述帳號資訊對應的使用者打開了與目標帳號的會話介面。S103: Send a first notification message to the target account, and notify the user corresponding to the account information of the target account to open the session interface with the target account.

即時通訊應用伺服器在確定目標帳號可以提供基於會話打開通知的服務時,生成預定格式的打開會話通知消息即第一通知消息,並在第一通知消息中攜帶使用者終端中登錄即時通訊應用的登錄使用者的帳號資訊,以便於目標帳號的所有者可以確定已打開與目標帳號的會話介面的帳號資訊,以主動發起會話。所述目標帳號的終端可以自動解析第一通知消息,根據第一通知消息中的帳號資訊,自動發送諸如歡迎詞、問候語等類型的消息;當然也可以先根據第一通知消息中的帳號資訊打開與帳號資訊所指示的帳號的會話介面,再自動發送諸如歡迎詞、問候語等類型的消息。The instant messaging application server generates an open session notification message in a predetermined format, that is, a first notification message, when the target account can provide a service based on the session open notification, and carries the first notification message in the first notification message. Log in to the user's account information so that the owner of the target account can determine that the account information of the session interface with the target account has been opened to initiate the session. The terminal of the target account may automatically parse the first notification message, and automatically send a message such as a greeting, a greeting, etc. according to the account information in the first notification message; of course, according to the account information in the first notification message. Open the session interface with the account indicated by the account information, and then automatically send messages such as greetings, greetings, and so on.

具體的,在使用者終端中打開的與目標帳號的會話介面以及在會話介面中顯示目標帳號對應的終端主動發送的歡迎詞、問候語等類型的消息的示意圖可以參考圖2所示。Specifically, a schematic diagram of a message such as a welcome message, a greeting, and the like sent by the terminal corresponding to the target account and the terminal corresponding to the target account displayed in the user interface opened in the user terminal may be referred to FIG. 2 .

本發明實施例可以在某個使用者打開了會話介面後,自動、及時地向該會話介面對應的目標帳號發出關於該使用者與目標帳號的會話狀態通知,及時提醒目標帳號的所有者作出反應,以更好地為使用者服務。並且在發出通知之前會對目標帳號所能提供的服務進行檢測,在確定該目標帳號能夠提供基於會話打開通知的服務時,再發出通知,保證了伺服器 不會產生不必要的通知操作,在保證通知服務的同時,也節約了伺服器資源。In the embodiment of the present invention, after a user opens the session interface, the session status notification of the user and the target account is automatically and timely sent to the target account corresponding to the session interface, and the owner of the target account is promptly alerted. To better serve the user. And before the notification is sent, the service that the target account can provide is detected. When it is determined that the target account can provide the service based on the session open notification, a notification is sent to ensure the server. It does not generate unnecessary notification operations, and saves server resources while ensuring notification services.

再請參見圖3,是本發明實施例的另一種即時通訊應用中的會話通知方法的流程示意圖,本發明實施例所述的方法可應用於各即時通訊應用系統中、或者基於即時通訊應用的公眾平臺中,由相應的即時通訊應用伺服器實現,本發明實施例的所述方法包括:FIG. 3 is a schematic flowchart of a session notification method in another instant messaging application according to an embodiment of the present invention. The method according to the embodiment of the present invention can be applied to each instant messaging application system or based on an instant messaging application. The public platform is implemented by a corresponding instant messaging application server, and the method of the embodiment of the present invention includes:

S201:判斷是否接收到使用者終端上報的第二通知消息。S201: Determine whether a second notification message reported by the user terminal is received.

第二通知消息是使用者終端在檢測到使用者終端的即時通訊應用中打開了與目標帳號的會話介面時自動上報的,其中可以包括打開了與目標帳號的會話介面的事件消息。使用者終端透過第二通知消息通知即時通訊應用伺服器在所述使用者終端的即時通訊應用中打開了與目標帳號的會話介面。The second notification message is automatically reported when the user terminal opens the session interface with the target account in the instant messaging application of the user terminal, and may include an event message that opens a session interface with the target account. The user terminal notifies the instant messaging application server to open the session interface with the target account in the instant messaging application of the user terminal by using the second notification message.

使用者終端可以根據使用者對即時通訊應用的點擊選擇操作,或者根據終端系統當前處理的進程中是否包括關於目標帳號的會話介面的進程,以判斷本使用者終端是否已打開與目標帳號的會話介面。若點擊操作中包括點擊打開即時通訊應用中目標帳號的會話介面的操作或者進程中包括關於目標帳號的會話介面的進程,則可以判定使用者打開了與目標帳號的會話介面,向即時通訊應用伺服器上報第二通知消息。The user terminal can determine whether the user terminal has opened the session with the target account according to the user's click selection operation on the instant messaging application, or according to whether the process currently processed by the terminal system includes the session interface of the target account. interface. If the click operation includes clicking to open the session interface of the target account in the instant messaging application or the process including the session interface of the target account in the process, it may be determined that the user opens the session interface with the target account and applies the server to the instant messaging service. The second notification message is reported.

若即時通訊應用伺服器接收到使用者終端上報的第二通知消息,則確定使用者終端打開與目標帳號的會話介面,執行下述的S202,否則,結束。If the instant messaging application server receives the second notification message reported by the user terminal, it is determined that the user terminal opens the session interface with the target account, and performs the following S202; otherwise, the process ends.

S202:檢測目標帳號是否可以提供基於會話打開通知的服務。在本發明實施例中,S202具體可以包括:在檢測到使用者終端打開與目標帳號的會話介面時,查找目標帳號的配置資訊;判斷配置資訊中是否將目標帳號登記為可以提供基於會話打開通知的服務的帳號;若是,則確定目標帳號可以提供基於會話打 開通知的服務。S202: Detect whether the target account can provide a service based on the session open notification. In the embodiment of the present invention, the S202 may include: searching for the configuration information of the target account when detecting that the user terminal opens the session interface with the target account; determining whether the target account is registered in the configuration information to provide a session-based open notification. Account of the service; if so, then the target account can be provided based on the session Open the service of the notice.

即時通訊應用伺服器可以預設一個配置資訊表,每一個帳號在申請階段時,會填寫該帳號是否可以提供基於會話打開通知的服務,若為是時,即時通訊應用伺服器在配置資訊表中記錄該帳號並將該帳號記錄為可以提供基於會話打開通知的服務,如記錄為“1”。配置資訊表可以根據目標帳號的更新操作進行更新,例如目標帳號的所有者將自身修改為不需要進行基於會話打開通知的服務時,即時通訊應用伺服器會從配置資訊表上刪除該目標帳號,或者將該目標帳號對應的資訊記錄為不提供基於會話打開通知的服務,如記錄為“0”。The instant messaging application server can preset a configuration information table. When each account is in the application phase, it will fill in whether the account can provide a service based on the session open notification. If yes, the instant messaging application server is in the configuration information table. Record the account and record the account as a service that can provide session-based notifications, such as a record of "1". The configuration information table can be updated according to the update operation of the target account. For example, when the owner of the target account modifies itself to a service that does not need to open the notification based on the session, the instant messaging application server deletes the target account from the configuration information table. Or the information corresponding to the target account is recorded as a service that does not provide a session open notification, such as a record of “0”.

若目標帳號可以提供基於會話打開通知的服務,則執行下述的S203,若目標帳號不提供基於會話打開通知的服務,則結束。If the target account can provide a service based on the session open notification, the following S203 is performed, and if the target account does not provide the service based on the session open notification, the process ends.

S203:判斷是否滿足預置的通知條件。在判斷結果為滿足預置的通知條件時,執行下述的S204,否則,結束。S203: Determine whether the preset notification condition is satisfied. When the result of the determination is that the preset notification condition is satisfied, S204 described below is executed, and otherwise, the process ends.

S204:生成第一通知消息。其中,判斷是否滿足預置的通知條件包括:判斷本次確定使用者終端打開與目標帳號的會話介面與上一次確定使用者終端打開與目標帳號的會話介面的時間間隔是否達到預設的間隔閾值,若是,則滿足預置的通知條件。S204: Generate a first notification message. The determining whether the preset notification condition is met includes: determining whether the time interval between the user terminal opening the session interface with the target account and the last determining whether the user terminal opens the session interface with the target account reaches a preset interval threshold. If yes, the preset notification conditions are met.

S205:向目標帳號發送第一通知消息,通知目標帳號所述帳號資訊對應的使用者打開了與目標帳號的會話介面。S205: Send a first notification message to the target account, and notify the user corresponding to the account information of the target account to open the session interface with the target account.

目標帳號的終端可以自動解析第一通知消息,根據第一通知消息中的帳號資訊,自動發送諸如歡迎詞、問候語等類型的消息;當然也可以先根據第一通知消息中的帳號資訊打開與該帳號資訊所指示的帳號的會話介面,再自動發送諸如歡迎詞、問候語等類型的消息。The terminal of the target account may automatically parse the first notification message, and automatically send a message such as a welcome message or a greeting according to the account information in the first notification message; of course, the user may first open the account according to the account information in the first notification message. The session interface of the account indicated by the account information automatically sends a message such as a greeting, a greeting, and the like.

本發明實施例可以在某個使用者打開了會話介面後,自動、及時地向該會話介面對應的目標帳號發出關於該使用者與目標帳號的會話狀態通知,及時提醒目標帳號的所有者作出反應,以更好地為使用者服務。 並且在發出通知之前會對目標帳號所能提供的服務進行檢測,在確定該目標帳號能夠提供基於會話打開通知的服務時,再發出通知,保證了伺服器不會產生不必要的通知操作,在保證通知服務的同時,也節約了伺服器資源;同時,在發出通知之前還會根據時間間隔來判斷是否滿足預置的通知條件,僅在滿足通知條件時再發送通知給目標帳號,避免了由於用戶頻繁的退出、進入會話介面所產生的不必要的通知處理,進一步地保證通知服務的同時,也節約了伺服器資源。In the embodiment of the present invention, after a user opens the session interface, the session status notification of the user and the target account is automatically and timely sent to the target account corresponding to the session interface, and the owner of the target account is promptly alerted. To better serve the user. And before the notification is sent, the service that the target account can provide is detected. When it is determined that the target account can provide the service based on the session open notification, a notification is sent to ensure that the server does not generate unnecessary notification operations. While ensuring the notification service, it also saves the server resources; at the same time, before the notification is issued, it also judges whether the preset notification condition is satisfied according to the time interval, and only sends the notification to the target account when the notification condition is satisfied, thereby avoiding Users frequently exit and enter unnecessary communication processing generated by the session interface to further ensure the notification service and save server resources.

再請參見圖4,是本發明實施例的另一種即時通訊應用中的會話通知方法的流程示意圖,本發明實施例的所述方法由安裝有相應的即時通訊應用,並與即時通訊應用伺服器資料相連的使用者終端中實現,具體的,所述方法包括:4 is a schematic flowchart of a session notification method in another instant messaging application according to an embodiment of the present invention. The method in the embodiment of the present invention includes a corresponding instant messaging application and an instant messaging application server. The data is connected to the user terminal, and the method includes:

S301:檢測在本使用者終端的即時通訊應用中是否打開了與目標帳號的會話介面。S301: Detect whether a session interface with the target account is opened in the instant messaging application of the user terminal.

本使用者終端與現有技術相同的包括有處理器、存儲介質以及現有的資料匯流排等,用於安裝並運行相應的即時通訊應用,實現即時通信,使用者終端中安裝有相應的即時通訊應用,使用者可以開啟本使用者終端中安裝的即時通訊應用並透過已註冊的使用者帳號登錄到即時通訊應用伺服器。當該使用者需要與其他帳號使用者或者公眾平臺中的某一公眾帳號等目標帳號的所有者發起即時通訊時,可以打開即時通訊應用中目標帳號的會話介面,在會話介面中發起與目標帳號的所有者的會話,發送和/或接收相應的消息。The user terminal is the same as the prior art, including a processor, a storage medium, and an existing data bus, etc., for installing and running a corresponding instant messaging application, realizing instant communication, and installing a corresponding instant messaging application in the user terminal. The user can open the instant messaging application installed in the user terminal and log in to the instant messaging application server through the registered user account. When the user needs to initiate instant messaging with other account users or a public account such as a public account in the public platform, the user can open the session interface of the target account in the instant messaging application, and initiate the target account in the session interface. The owner's session, sending and/or receiving the corresponding message.

使用者終端可以根據使用者對即時通訊應用的點擊選擇操作,或者根據終端系統當前處理的進程中是否包括關於目標帳號的會話介面的進程,以判斷本使用者終端是否已打開與目標帳號的會話介面。若點擊操作中包括點擊打開即時通訊應用中目標帳號的會話介面的操作或者進程中包括關於目標帳號的會話介面的進程,則可以判定使用者打開了與目 標帳號的會話介面。The user terminal can determine whether the user terminal has opened the session with the target account according to the user's click selection operation on the instant messaging application, or according to whether the process currently processed by the terminal system includes the session interface of the target account. interface. If the click operation includes clicking to open the session interface of the target account in the instant messaging application or the process including the session interface of the target account in the process, it can be determined that the user has opened the session. The session interface of the standard account.

S302:若是,向即時通訊應用伺服器上報第二通知消息,以使即時通訊應用伺服器向目標帳號發送用於通知目標帳號所述帳號資訊對應的使用者打開了與目標帳號的會話介面的第一通知消息。S302: If yes, the second notification message is reported to the instant messaging application server, so that the instant messaging application server sends the target interface to notify the target account that the user corresponding to the account information opens the session interface with the target account. First notification message.

使用者終端可以在每次檢測到使用者打開進入了即時通訊應用中的與目標帳號的會話介面時,上報第二通知消息以通知即時通訊應用伺服器。或者根據本次打開時間與上一次打開時間的間隔,上報第二通知消息以通知即時通訊應用伺服器。The user terminal may report the second notification message to notify the instant messaging application server each time the user opens the session interface with the target account in the instant messaging application. Or, according to the interval between the current opening time and the last opening time, the second notification message is reported to notify the instant messaging application server.

具體的,在S302中向即時通訊應用伺服器上報第二通知消息包括:若打開了與目標帳號的會話介面,判斷是否滿足預置的通知條件;在判斷結果為滿足預置的通知條件時,向即時通訊應用伺服器上報第二通知消息;其中,判斷是否滿足預置的通知條件包括:判斷本次打開了與目標帳號的會話介面與上一次打開了與目標帳號的會話介面的時間間隔是否達到預設的間隔閾值,若是,則滿足預置的通知條件。Specifically, the reporting the second notification message to the instant messaging application server in S302 includes: if the session interface with the target account is opened, determining whether the preset notification condition is met; and when the determination result is that the preset notification condition is met And reporting the second notification message to the instant messaging application server; wherein determining whether the preset notification condition is met comprises: determining that the session interface with the target account is opened this time and the session interface of the target account is opened last time Whether the interval reaches the preset interval threshold, and if so, the preset notification condition is met.

本發明實施例可以在某個使用者打開了會話介面後,自動、及時地通知伺服器,以便於伺服器向該會話介面對應的目標帳號發出關於該使用者與目標帳號的會話狀態通知,及時提醒目標帳號的所有者作出反應,以更好地為使用者服務。並且在發出通知之前還會根據時間間隔來判斷是否滿足預置的通知條件,僅在滿足通知條件時再發送通知給目標帳號,避免了由於用戶頻繁的退出、進入會話介面所產生的不必要的通知處理,保證通知服務的同時,也節約了終端資源以及伺服器資源。The embodiment of the present invention can automatically and timely notify the server after a user opens the session interface, so that the server sends a session state notification about the user and the target account to the target account corresponding to the session interface. Remind the owner of the target account to respond better to serve the user. And before the notification is sent, it is determined whether the preset notification condition is met according to the time interval, and the notification is sent to the target account only when the notification condition is met, thereby avoiding unnecessary generation due to frequent exit of the user and entering the session interface. Notification processing ensures that the notification service is also saved while saving terminal resources and server resources.

再請參見圖5,是本發明實施例的再一種即時通訊應用中的會話通知方法的流程示意圖,本發明實施例所述的方法可應用於各即時通訊應用系統中、或者基於即時通訊應用的公眾平臺中,由相應的即時通訊應用伺服器、安裝有即時通訊應用的使用者終端實現,本發明實施例的所 述方法包括:5 is a schematic flowchart of a session notification method in another instant messaging application according to an embodiment of the present invention. The method according to the embodiment of the present invention can be applied to each instant messaging application system or based on an instant messaging application. In the public platform, the corresponding instant messaging application server and the user terminal installed with the instant messaging application are implemented in the embodiment of the present invention. The methods include:

S401:使用者終端檢測在本使用者終端的即時通訊應用中是否打開了與目標帳號的會話介面。若打開了,則執行下述的S402,否則,結束。S401: The user terminal detects whether a session interface with the target account is opened in the instant messaging application of the user terminal. If it is turned on, the following S402 is executed, otherwise, it ends.

S402:使用者終端在判斷結果為打開了與目標帳號的會話介面時,向即時通訊應用伺服器上報第二通知消息。S402: When the user terminal determines that the session interface with the target account is opened, the user terminal reports the second notification message to the instant messaging application server.

使用者終端中安裝有相應的即時通訊應用,使用者可以開啟本使用者終端中安裝的即時通訊應用並透過已註冊的使用者帳號登錄到即時通訊應用伺服器。當該使用者需要與其他帳號使用者或者公眾平臺中的某一公眾帳號等目標帳號的所有者發起即時通訊時,可以打開即時通訊應用中目標帳號的會話介面,在會話介面中發起與目標帳號的所有者的會話,發送和/或接收相應的消息。A corresponding instant messaging application is installed in the user terminal, and the user can open the instant messaging application installed in the user terminal and log in to the instant messaging application server through the registered user account. When the user needs to initiate instant messaging with other account users or a public account such as a public account in the public platform, the user can open the session interface of the target account in the instant messaging application, and initiate the target account in the session interface. The owner's session, sending and/or receiving the corresponding message.

使用者終端可以根據使用者對即時通訊應用的點擊選擇操作,或者根據終端系統當前處理的進程中是否包括關於目標帳號的會話介面的進程,以判斷本使用者終端是否已打開與目標帳號的會話介面。若點擊操作中包括點擊打開即時通訊應用中目標帳號的會話介面的操作或者進程中包括關於目標帳號的會話介面的進程,則可以判定使用者打開了與目標帳號的會話介面。The user terminal can determine whether the user terminal has opened the session with the target account according to the user's click selection operation on the instant messaging application, or according to whether the process currently processed by the terminal system includes the session interface of the target account. interface. If the click operation includes clicking to open the session interface of the target account in the instant messaging application or the process including the session interface of the target account in the process, it can be determined that the user opens the session interface with the target account.

使用者終端可以在每次檢測到使用者打開進入了即時通訊應用中的與目標帳號的會話介面時,上報第二通知消息以通知即時通訊應用伺服器。或者根據本次打開時間與上一次打開時間的間隔,上報第二通知消息以通知即時通訊應用伺服器。The user terminal may report the second notification message to notify the instant messaging application server each time the user opens the session interface with the target account in the instant messaging application. Or, according to the interval between the current opening time and the last opening time, the second notification message is reported to notify the instant messaging application server.

S403:即時通訊應用伺服器接收到使用者終端上報的第二通知消息後,檢測目標帳號是否可以提供基於會話打開通知的服務;即時通訊應用伺服器可以根據該目標帳號的註冊資訊判斷該目標帳號是否可以提供基於會話打開通知的服務。具體可以包括:即時 通訊應用伺服器根據目標帳號的註冊資訊確定該目標帳號為第一類帳號,如個人帳號、或者新聞類等類型的帳號時,可以確定該目標帳號的所有者不需要得到關於其他使用者是否打開了會話介面的通知,該目標帳號不會提供基於會話打開通知的服務。而如果目標帳號為第二類帳號,例如餐飲類、旅遊類等服務業類型的帳號時,表明此目標帳號的所有者希望知道其他用戶是否關注本帳號,以便於能夠及早安排客服人員準備一些諸如歡迎詞、問候語等類型的消息發送給這些使用者。S403: After receiving the second notification message reported by the user terminal, the instant messaging application server detects whether the target account can provide a service based on the session open notification; the instant messaging application server can determine the target according to the registration information of the target account. Whether the account can provide a service based on session open notification. Specific can include: The communication application server determines, according to the registration information of the target account, that the target account is the first type of account, such as a personal account, or a news type, and can determine that the owner of the target account does not need to be opened about whether other users are open. The notification of the session interface, the target account does not provide a service based on the session open notification. If the target account is a second type of account, such as a food service type, a travel type, and the like, it indicates that the owner of the target account wants to know whether other users are paying attention to the account, so that the customer service staff can be arranged as early as possible. Messages such as welcome words, greetings, etc. are sent to these users.

或者,即時通訊應用伺服器可以根據預置的配置資訊表來判斷目標帳號是否可以提供基於會話打開通知的服務。具體的,即時通訊應用伺服器可以預設一個配置資訊表,每一個帳號在申請階段時,會填寫該帳號是否可以提供基於會話打開通知的服務,若為是時,即時通訊應用伺服器在配置資訊表中記錄該帳號並將該帳號記錄為可以提供基於會話打開通知的服務,如記錄為“1”。配置資訊表可以根據目標帳號的更新操作進行更新,例如目標帳號的所有者將自身修改為不需要進行基於會話打開通知的服務時,即時通訊應用伺服器會從配置資訊表上刪除該目標帳號,或者將該目標帳號對應的資訊記錄為不提供基於會話打開通知的服務,如記錄為“0”。Alternatively, the instant messaging application server may determine, according to the preset configuration information table, whether the target account can provide a service based on the session open notification. Specifically, the instant messaging application server can preset a configuration information table. When each account is in the application phase, it will fill in whether the account can provide a service based on the session open notification. If yes, the instant messaging application server is configured. The account number is recorded in the information table and recorded as a service that can provide session-based notifications, such as a record of "1". The configuration information table can be updated according to the update operation of the target account. For example, when the owner of the target account modifies itself to a service that does not need to open the notification based on the session, the instant messaging application server deletes the target account from the configuration information table. Or the information corresponding to the target account is recorded as a service that does not provide a session open notification, such as a record of “0”.

即具體的,在S403中,即時通訊應用伺服器檢測目標帳號是否可以提供基於會話打開通知的服務包括:即時通訊應用伺服器查找目標帳號的配置資訊,判斷配置資訊中是否將目標帳號登記為可以提供基於會話打開通知的服務的帳號,若是,則確定目標帳號可以提供基於會話打開通知的服務。若可以,執行下述S404,否則,結束。Specifically, in S403, the instant messaging application server detects whether the target account can provide the session open notification based service, and the instant messaging application server searches for the configuration information of the target account, and determines whether the target account is registered as the configuration information. An account that provides a service based on the session open notification, and if so, determines that the target account can provide a service based on the session open notification. If so, execute S404 below, otherwise, it ends.

S404:即時通訊應用伺服器在檢測結果為目標帳號可以提供基於會話打開通知的服務時,生成第一通知消息,第一通知消息中包括使用者終端中登錄即時通訊應用的帳號資訊;即時通訊應用伺服器在檢測結果為目標帳號可以提供基於 會話打開通知的服務時,生成第一通知消息,包括:即時通訊應用伺服器在檢測結果為目標帳號可以提供基於會話打開通知的服務時,判斷是否滿足預置的通知條件;即時通訊應用伺服器在判斷結果為滿足預置的通知條件時生成第一通知消息;如果不滿足預置的通知條件,則結束,不執行下述步驟。S404: The instant messaging application server generates a first notification message when the detection result is that the target account can provide a service based on the session open notification, where the first notification message includes the account information of the instant messaging application registered in the user terminal; the instant messaging application The server can provide a basis based on the detection result for the target account. When the session opens the notification service, the first notification message is generated, including: the instant messaging application server determines whether the preset notification condition is met when the detection result is that the target account can provide the service based on the session open notification; the instant messaging application server The first notification message is generated when the judgment result is that the preset notification condition is satisfied; if the preset notification condition is not satisfied, the process ends, and the following steps are not performed.

其中,即時通訊應用伺服器判斷是否滿足預置的通知條件包括:即時通訊應用伺服器判斷本次檢測到使用者終端打開與目標帳號的會話介面與上一次檢測到使用者終端打開與目標帳號的會話介面的時間間隔是否達到預設的間隔閾值,若是,則滿足預置的通知條件。The instant messaging application server determines whether the preset notification condition is met: the instant messaging application server determines that the user terminal opens the session interface with the target account and the last time the user terminal is opened and the target account is detected. Whether the time interval of the session interface reaches a preset interval threshold, and if so, the preset notification condition is met.

S405:即時通訊應用伺服器向目標帳號發送第一通知消息,通知目標帳號所述帳號資訊對應的使用者打開了與目標帳號的會話介面。S405: The instant messaging application server sends a first notification message to the target account, and notifies the user corresponding to the account information of the target account to open the session interface with the target account.

即時通訊應用伺服器在確定目標帳號可以提供基於會話打開通知的服務時,生成預定格式的打開會話通知消息即第一通知消息,並在該第一通知消息中攜帶使用者終端中登錄即時通訊應用的登錄使用者的帳號資訊,以便於目標帳號的所有者可以確定已打開與目標帳號的會話介面的帳號資訊,以主動發起會話。目標帳號的終端可以自動解析第一通知消息,根據第一通知消息中的帳號資訊,自動發送諸如歡迎詞、問候語等類型的消息;當然也可以先根據第一通知消息中的帳號資訊打開與該帳號資訊所指示的帳號的會話介面,再自動發送諸如歡迎詞、問候語等類型的消息。The instant messaging application server generates an open session notification message in a predetermined format, that is, a first notification message, when the target account can provide a service based on the session open notification, and carries the login instant messaging application in the user terminal in the first notification message. Log in to the user's account information so that the owner of the target account can determine that the account information of the session interface of the target account has been opened to initiate the session. The terminal of the target account may automatically parse the first notification message, and automatically send a message such as a welcome message or a greeting according to the account information in the first notification message; of course, the user may first open the account according to the account information in the first notification message. The session interface of the account indicated by the account information automatically sends a message such as a greeting, a greeting, and the like.

本發明實施例可以在某個使用者打開了會話介面後,自動、及時地向該會話介面對應的目標帳號發出關於該使用者與目標帳號的會話狀態通知,及時提醒目標帳號的所有者作出反應,以更好地為使用者服務。並且在發出通知之前會對目標帳號所能提供的服務進行檢測,在確定該目標帳號能夠提供基於會話打開通知的服務時,再發出通知,保證了伺服器 不會產生不必要的通知操作,在保證通知服務的同時,也節約了伺服器資源;同時,在發出通知之前還會根據時間間隔來判斷是否滿足預置的通知條件,僅在滿足通知條件時再發送通知給目標帳號,避免了由於用戶頻繁的退出、進入會話介面所產生的不必要的通知處理,進一步地保證通知服務的同時,也節約了伺服器資源。In the embodiment of the present invention, after a user opens the session interface, the session status notification of the user and the target account is automatically and timely sent to the target account corresponding to the session interface, and the owner of the target account is promptly alerted. To better serve the user. And before the notification is sent, the service that the target account can provide is detected. When it is determined that the target account can provide the service based on the session open notification, a notification is sent to ensure the server. It does not generate unnecessary notification operations, and saves the server resources while ensuring the notification service. At the same time, it also judges whether the preset notification conditions are met according to the time interval before the notification is issued, only when the notification conditions are met. The notification is sent to the target account again, which avoids the unnecessary notification processing caused by the frequent exit of the user and entering the session interface, and further ensures the notification service, and also saves the server resources.

下面對本發明實施例的即時通訊應用中的會話通知裝置及系統進行詳細說明。The session notification apparatus and system in the instant messaging application of the embodiment of the present invention will be described in detail below.

請參見圖6,是本發明實施例的一種即時通訊應用中的會話通知系統的結構示意圖,本發明實施例的系統可以由即時通訊應用系統中、或者基於即時通訊應用的公眾平臺中實現,具體的,本發明實施例所述的系統包括:使用者終端2、即時通訊應用伺服器1以及目標帳號終端3,其中:使用者終端2,用於檢測在本使用者終端2的即時通訊應用中是否打開了與目標帳號的會話介面;並在判斷結果為打開了與目標帳號的會話介面時,向即時通訊應用伺服器1上報第二通知消息;即時通訊應用伺服器1,用於接收到使用者終端2上報的第二通知消息後,檢測目標帳號是否可以提供基於會話打開通知的服務;並在檢測結果為目標帳號可以提供基於會話打開通知的服務時,生成第一通知消息,第一通知消息中包括使用者終端2中登錄即時通訊應用的帳號資訊;即時通訊應用伺服器1,還用於向目標帳號終端3發送第一通知消息,通知目標帳號所述帳號資訊對應的使用者打開了與目標帳號的會話介面。FIG. 6 is a schematic structural diagram of a session notification system in an instant messaging application according to an embodiment of the present invention. The system in the embodiment of the present invention may be implemented in an instant messaging application system or a public platform based on an instant messaging application. The system of the embodiment of the present invention includes: a user terminal 2, an instant messaging application server 1 and a target account terminal 3, wherein: the user terminal 2 is configured to detect an instant messaging application in the user terminal 2 Whether the session interface with the target account is opened; and when the result of the judgment is that the session interface with the target account is opened, the second notification message is reported to the instant messaging application server 1; the instant messaging application server 1 is configured to receive After the second notification message reported by the user terminal 2, it is detected whether the target account can provide a service based on the session open notification; and when the detection result is that the target account can provide the service based on the session open notification, the first notification message is generated. A notification message includes account information of the instant messaging application registered in the user terminal 2; The server 1 is further configured to send a first notification message to the target account terminal 3, and notify the target account that the user corresponding to the account information opens the session interface with the target account.

進一步可選地,即時通訊應用伺服器1在檢測目標帳號是否可以提供基於會話打開通知的服務時,用於查找目標帳號的配置資訊,判斷配置資訊中是否將目標帳號登記為可以提供基於會話打開通知的服務的 帳號,若是,則確定目標帳號可以提供基於會話打開通知的服務。Further, the instant messaging application server 1 is configured to find the configuration information of the target account when detecting whether the target account can provide the service based on the session open notification, and determine whether the target account is registered in the configuration information to be available for opening based on the session. Notice of service The account number, if so, determines that the target account can provide a service based on the session open notification.

進一步可選地,即時通訊應用伺服器1在用於檢測結果為目標帳號可以提供基於會話打開通知的服務,生成第一通知消息時,用於在檢測結果為目標帳號可以提供基於會話打開通知的服務時,判斷是否滿足預置的通知條件;並在判斷結果為滿足預置的通知條件時生成第一通知消息;其中,即時通訊應用伺服器1用於判斷是否滿足預置的通知條件時,用於判斷本次接收到第二通知消息(即檢測到使用者終端2打開與目標帳號的會話介面)與上一次接收到第二通知消息(即檢測到使用者終端2打開與目標帳號的會話介面)的時間間隔是否達到預設的間隔閾值,若是,則滿足預置的通知條件。Further, the instant messaging application server 1 can provide a service based on the session open notification for the target account, and when the first notification message is generated, the instant messaging application server 1 can provide the session open notification according to the detection result. When the service is used, it is determined whether the preset notification condition is met; and when the determination result is that the preset notification condition is met, the first notification message is generated; wherein, when the instant messaging application server 1 is used to determine whether the preset notification condition is met, For determining that the second notification message is received (ie, detecting that the user terminal 2 opens the session interface with the target account) and receiving the second notification message last time (ie, detecting that the user terminal 2 opens the session with the target account) Whether the time interval of the interface reaches the preset interval threshold, and if so, the preset notification condition is satisfied.

本發明實施例可以在某個使用者打開了會話介面後,自動、及時地向該會話介面對應的目標帳號發出關於該使用者與目標帳號的會話狀態通知,及時提醒目標帳號的所有者作出反應,以更好地為使用者服務。In the embodiment of the present invention, after a user opens the session interface, the session status notification of the user and the target account is automatically and timely sent to the target account corresponding to the session interface, and the owner of the target account is promptly alerted. To better serve the user.

請參見圖7,是本發明實施例的一種即時通訊應用中的會話通知裝置的結構示意圖,本發明實施例的裝置可以為即時通訊應用系統中、或者基於即時通訊應用的公眾平臺中的即時通訊應用伺服器,裝置包括:檢測模組11,用於在檢測到使用者終端打開與目標帳號的會話介面時,檢測目標帳號是否可以提供基於會話打開通知的服務。生成模組12,用於在目標帳號可以提供基於會話打開通知的服務時,生成第一通知消息,第一通知消息中包括在使用者終端中登錄即時通訊應用的帳號資訊。發送模組13,用於向目標帳號發送第一通知消息,通知目標帳號所述帳號資訊對應的使用者打開了與目標帳號的會話介面。FIG. 7 is a schematic structural diagram of a session notification apparatus in an instant messaging application according to an embodiment of the present invention. The apparatus in the embodiment of the present invention may be an instant messaging in an instant messaging application system or a public platform based on an instant messaging application. The application server includes: a detecting module 11 configured to detect whether the target account can provide a service based on the session open notification when detecting that the user terminal opens the session interface with the target account. The generating module 12 is configured to generate a first notification message when the target account can provide a service based on the session open notification, where the first notification message includes account information of the instant messaging application registered in the user terminal. The sending module 13 is configured to send a first notification message to the target account, and notify the user corresponding to the account information of the target account to open the session interface with the target account.

使用者終端中安裝有相應的即時通訊應用,使用者可以開啟本使用者終端中安裝的即時通訊應用並透過已註冊的使用者帳號登錄到即時通訊應用伺服器。當該使用者需要與其他帳號使用者或者公眾平臺中的 某一公眾帳號等目標帳號的所有者發起即時通訊時,可以打開即時通訊應用中目標帳號的會話介面,在會話介面中發起與目標帳號的所有者的會話,發送和/或接收相應的消息。A corresponding instant messaging application is installed in the user terminal, and the user can open the instant messaging application installed in the user terminal and log in to the instant messaging application server through the registered user account. When the user needs to work with other account users or public platforms When the owner of the target account such as a public account initiates instant messaging, the session interface of the target account in the instant messaging application can be opened, a session with the owner of the target account is initiated in the session interface, and a corresponding message is sent and/or received.

使用者終端可以根據使用者對即時通訊應用的點擊選擇操作,或者根據終端系統當前處理的進程中是否包括關於目標帳號的會話介面的進程,以判斷本使用者終端是否已打開與目標帳號的會話介面。若點擊操作中包括點擊打開即時通訊應用中目標帳號的會話介面的操作或者進程中包括關於目標帳號的會話介面的進程,則可以判定使用者打開了與目標帳號的會話介面。使用者終端可以在每次檢測到使用者打開進入了即時通訊應用中的與目標帳號的會話介面時,上報通知消息以通知即時通訊應用伺服器。或者根據本次打開時間與上一次打開時間的間隔,上報通知消息以通知即時通訊應用伺服器。The user terminal can determine whether the user terminal has opened the session with the target account according to the user's click selection operation on the instant messaging application, or according to whether the process currently processed by the terminal system includes the session interface of the target account. interface. If the click operation includes clicking to open the session interface of the target account in the instant messaging application or the process including the session interface of the target account in the process, it can be determined that the user opens the session interface with the target account. The user terminal may report the notification message to notify the instant messaging application server each time the user opens the session interface with the target account in the instant messaging application. Or, according to the interval between the current opening time and the last opening time, the notification message is reported to notify the instant messaging application server.

在本發明實施例中,若打開了與目標帳號的會話介面,使用者終端發送通知消息以通知即時通訊應用伺服器。檢測模組11可以根據該通知消息來確定使用者終端打開與目標帳號的會話介面。In the embodiment of the present invention, if the session interface with the target account is opened, the user terminal sends a notification message to notify the instant messaging application server. The detecting module 11 can determine, according to the notification message, that the user terminal opens the session interface with the target account.

目標帳號是否可以提供基於會話打開通知的服務可以包括:目標帳號的所有者是否需要得到其他使用者在打開與本目標帳號的會話介面時的通知,以便於在接收到通知後能夠及時進行回應,例如:立即提醒客服人員向其他用戶發起會話以發送諸如歡迎詞、問候語等類型的消息。Whether the target account can provide the service based on the session open notification may include: whether the owner of the target account needs to obtain the notification of the other user when opening the session interface with the target account, so as to be able to respond in time after receiving the notification. For example: Immediately alert the customer service staff to initiate a session to other users to send messages such as greetings, greetings, and the like.

檢測模組11可以根據該目標帳號的註冊資訊判斷該目標帳號是否可以提供基於會話打開通知的服務。具體包括:即時通訊應用伺服器根據目標帳號的註冊資訊確定該目標帳號為第一類帳號,如個人帳號、或者新聞類等類型的帳號時,可以確定該目標帳號的所有者不需要得到關於其他使用者是否打開了會話介面的通知,該目標帳號不會提供基於會話打開通知的服務。而如果目標帳號為第二類帳號,例如餐飲類、旅遊類等 服務業類型的帳號時,表明此目標帳號的所有者希望知道其他用戶是否關注本帳號,以便於能夠及早安排客服人員準備一些諸如歡迎詞、問候語等類型的消息發送給這些使用者。The detecting module 11 can determine, according to the registration information of the target account, whether the target account can provide a service based on the session open notification. Specifically, the instant messaging application server determines, according to the registration information of the target account, that the target account is the first type of account, such as a personal account or a news account, and can determine that the owner of the target account does not need to obtain other Whether the user has opened the notification of the session interface, the target account does not provide a service based on the session open notification. And if the target account is a second type of account, such as catering, travel, etc. The account of the service industry type indicates that the owner of the target account wants to know whether other users are paying attention to the account, so that the customer service staff can be arranged to prepare some messages such as greetings, greetings and the like to be sent to these users.

或者,檢測模組11可以根據預置的配置資訊表來判斷目標帳號是否可以提供基於會話打開通知的服務。具體的,即時通訊應用伺服器可以預設一個配置資訊表,每一個帳號在申請階段時,會填寫該帳號是否可以提供基於會話打開通知的服務,若為是時,即時通訊應用伺服器在配置資訊表中記錄該帳號並將該帳號記錄為可以提供基於會話打開通知的服務,如記錄為“1”。配置資訊表可以根據目標帳號的更新操作進行更新,例如目標帳號的所有者將自身修改為不需要進行基於會話打開通知的服務時,即時通訊應用伺服器會從配置資訊表上刪除該目標帳號,或者將該目標帳號對應的資訊記錄為不提供基於會話打開通知的服務,如記錄為“0”。Alternatively, the detecting module 11 may determine, according to the preset configuration information table, whether the target account can provide a service based on the session open notification. Specifically, the instant messaging application server can preset a configuration information table. When each account is in the application phase, it will fill in whether the account can provide a service based on the session open notification. If yes, the instant messaging application server is configured. The account number is recorded in the information table and recorded as a service that can provide session-based notifications, such as a record of "1". The configuration information table can be updated according to the update operation of the target account. For example, when the owner of the target account modifies itself to a service that does not need to open the notification based on the session, the instant messaging application server deletes the target account from the configuration information table. Or the information corresponding to the target account is recorded as a service that does not provide a session open notification, such as a record of “0”.

生成模組12在確定目標帳號可以提供基於會話打開通知的服務時,生成預定格式的打開會話通知消息即第一通知消息,並在該第一通知消息中攜帶使用者終端中登錄即時通訊應用的登錄使用者的帳號資訊透過發送模組13發送給目標帳號,以便於目標帳號的所有者可以確定已打開與目標帳號的會話介面的帳號資訊,以主動發起會話。The generating module 12 generates an open session notification message, that is, a first notification message in a predetermined format, when the target account can provide a service based on the session open notification, and carries the first notification message in the first notification message. The login user's account information is sent to the target account through the sending module 13, so that the owner of the target account can determine that the account information of the session interface of the target account has been opened to initiate the session.

目標帳號的終端可以自動解析第一通知消息,根據第一通知消息中的帳號資訊,自動發送諸如歡迎詞、問候語等類型的消息;當然也可以先根據第一通知消息中的帳號資訊打開與該帳號資訊所指示的帳號的會話介面,再自動發送諸如歡迎詞、問候語等類型的消息。The terminal of the target account may automatically parse the first notification message, and automatically send a message such as a welcome message or a greeting according to the account information in the first notification message; of course, the user may first open the account according to the account information in the first notification message. The session interface of the account indicated by the account information automatically sends a message such as a greeting, a greeting, and the like.

再請參見圖8,是本發明實施例的另一種即時通訊應用中的會話通知裝置的結構示意圖,所述裝置可以包括圖7對應實施例中的檢測模組11、生成模組12以及發送模組13,在本發明實施例中,如圖8所示,檢測模組11具體可以包括:判斷單元111,用於判斷是否接收到使用者終端上報的第二通知消息,第二通知消息是使用者終端在檢測到使用者終端 的即時通信應用中打開了與目標帳號的會話介面時自動上報的;檢測單元112,用於在接收到使用者終端上報的第二通知消息時,確定使用者終端打開了與目標帳號的會話介面。FIG. 8 is a schematic structural diagram of a session notification apparatus in another instant messaging application according to an embodiment of the present invention. The apparatus may include the detection module 11, the generation module 12, and the transmission mode in the corresponding embodiment of FIG. In the embodiment of the present invention, as shown in FIG. 8, the detecting module 11 may specifically include: a determining unit 111, configured to determine whether a second notification message reported by the user terminal is received, where the second notification message is The user terminal detects the user terminal The instant messaging application automatically reports when the session interface with the target account is opened; the detecting unit 112 is configured to: when receiving the second notification message reported by the user terminal, determine that the user terminal opens the target account Session interface.

其中,檢測單元112還可以具體包括:查找子單元,用於在檢測到使用者終端打開與目標帳號的會話介面時,查找目標帳號的配置資訊;判斷子單元,用於判斷配置資訊中是否將目標帳號登記為可以提供基於會話打開通知的服務的帳號;確定子單元,用於判斷子單元的判斷結果為是時,確定目標帳號可以提供基於會話打開通知的服務。The detecting unit 112 may further include: a searching subunit, configured to: when detecting that the user terminal opens the session interface with the target account, to find configuration information of the target account; the determining subunit is configured to determine whether the configuration information is to be The target account is registered as an account that can provide a service based on the session open notification; the determining subunit is configured to determine that the target account can provide a service based on the session open notification when the judgment result of the subunit is YES.

再請參見圖8,在本發明實施例中,生成模組12具體可以包括:條件判斷單元121,用於在目標帳號可以提供基於會話打開通知的服務時,判斷是否滿足預置的通知條件;生成處理單元122,用於在判斷結果為滿足預置的通知條件時,生成第一通知消息;其中,條件判斷單元121在判斷是否滿足預置的通知條件時,用於判斷本次確定使用者終端打開與目標帳號的會話介面與上一次確定使用者終端打開與目標帳號的會話介面的時間間隔是否達到預設的間隔閾值,若是,則滿足預置的通知條件。Referring to FIG. 8 , in the embodiment of the present invention, the generating module 12 may specifically include: a condition determining unit 121, configured to determine whether the preset notification condition is met when the target account can provide a service based on the session open notification; The generating processing unit 122 is configured to generate a first notification message when the determination result is that the preset notification condition is met; wherein the condition determining unit 121 is configured to determine the current determining user when determining whether the preset notification condition is met The terminal opens the session interface with the target account and determines whether the time interval between the user terminal opening the session interface with the target account reaches a preset interval threshold, and if so, the preset notification condition is met.

本發明實施例可以在某個使用者打開了會話介面後,自動、及時地向該會話介面對應的目標帳號發出關於該使用者與目標帳號的會話狀態通知,及時提醒目標帳號的所有者作出反應,以更好地為使用者服務。並且在發出通知之前會對目標帳號所能提供的服務進行檢測,在確定該目標帳號能夠提供基於會話打開通知的服務時,再發出通知,保證了伺服器不會產生不必要的通知操作,在保證通知服務的同時,也節約了伺服器資源;同時,在發出通知之前還會根據時間間隔來判斷是否滿足預置的通知條件,僅在滿足通知條件時再發送通知給目標帳號,避免了由於用戶頻繁的退出、進入會話介面所產生的不必要的通知處理,進一步地保證通知服務的同時,也節約了伺服器資源。In the embodiment of the present invention, after a user opens the session interface, the session status notification of the user and the target account is automatically and timely sent to the target account corresponding to the session interface, and the owner of the target account is promptly alerted. To better serve the user. And before the notification is sent, the service that the target account can provide is detected. When it is determined that the target account can provide the service based on the session open notification, a notification is sent to ensure that the server does not generate unnecessary notification operations. While ensuring the notification service, it also saves the server resources; at the same time, before the notification is issued, it also judges whether the preset notification condition is satisfied according to the time interval, and only sends the notification to the target account when the notification condition is satisfied, thereby avoiding Users frequently exit and enter unnecessary communication processing generated by the session interface to further ensure the notification service and save server resources.

請參見圖9,是本發明實施例的再一種即時通訊應用中的會 話通知裝置,本發明實施例中的所述裝置可以為安裝有相應的即時通訊應用,並與即時通訊應用伺服器資料相連的使用者終端,具體的,所述裝置包括:檢測模組21,用於檢測在本使用者終端的即時通訊應用中是否打開了與目標帳號的會話介面;通知模組22,用於在檢測模組21的檢測結果為是時,向即時通訊應用伺服器上報第二通知消息,以使即時通訊應用伺服器向目標帳號發送用於通知目標帳號所述帳號資訊對應的使用者打開了與目標帳號的會話介面的第一通知消息。Please refer to FIG. 9 , which illustrates another meeting in an instant messaging application according to an embodiment of the present invention. And the device in the embodiment of the present invention may be a user terminal that is installed with a corresponding instant messaging application and is connected to the instant messaging application server data. Specifically, the device includes: a detecting module 21, For detecting whether the session interface with the target account is opened in the instant messaging application of the user terminal, the notification module 22 is configured to report to the instant messaging application server when the detection result of the detection module 21 is YES. And a second notification message, so that the instant messaging application server sends a first notification message to the target account for notifying the user corresponding to the account information of the target account to open the session interface with the target account.

裝置與現有技術相同的包括有處理器、存儲介質以及現有的資料匯流排等,用於安裝並運行相應的即時通訊應用,實現即時通信,使用者可以開啟即時通訊應用並透過已註冊的使用者帳號登錄到即時通訊應用伺服器。當該使用者需要與其他帳號使用者或者公眾平臺中的某一公眾帳號等目標帳號的所有者發起即時通訊時,可以打開即時通訊應用中目標帳號的會話介面,在會話介面中發起與目標帳號的所有者的會話,發送和/或接收相應的消息。The device is the same as the prior art, including a processor, a storage medium, and an existing data bus, etc., for installing and running the corresponding instant messaging application, realizing instant communication, and the user can open the instant messaging application and pass the registered user. The account is logged in to the instant messaging application server. When the user needs to initiate instant messaging with other account users or a public account such as a public account in the public platform, the user can open the session interface of the target account in the instant messaging application, and initiate the target account in the session interface. The owner's session, sending and/or receiving the corresponding message.

檢測模組21可以根據使用者對即時通訊應用的點擊選擇操作,或者根據終端系統當前處理的進程中是否包括關於目標帳號的會話介面的進程,以判斷本使用者終端是否已打開與目標帳號的會話介面。若點擊操作中包括點擊打開即時通訊應用中目標帳號的會話介面的操作或者進程中包括關於目標帳號的會話介面的進程,則可以判定使用者打開了與目標帳號的會話介面。The detecting module 21 can determine whether the user terminal has opened the target account according to the user's click selection operation on the instant messaging application or according to whether the process currently processed by the terminal system includes the session interface of the target account. Session interface. If the click operation includes clicking to open the session interface of the target account in the instant messaging application or the process including the session interface of the target account in the process, it can be determined that the user opens the session interface with the target account.

通知模組22可以在每次檢測到使用者打開進入了即時通訊應用中的與目標帳號的會話介面時,上報第二通知消息以通知即時通訊應用伺服器。或者根據本次打開時間與上一次打開時間的間隔,上報第二通知消息以通知即時通訊應用伺服器。The notification module 22 can report the second notification message to notify the instant messaging application server each time the user opens the session interface with the target account in the instant messaging application. Or, according to the interval between the current opening time and the last opening time, the second notification message is reported to notify the instant messaging application server.

進一步可選地,如圖9所示,通知模組22具體可以包括:判斷單元221,用於在檢測模組的檢測結果為打開了與目標帳號的會話介面 時,判斷是否滿足預置的通知條件;發送單元222,用於在判斷單元221的判斷結果為滿足預置的通知條件時,向即時通訊應用伺服器上報第二通知消息;其中,判斷單元221在判斷是否滿足預置的通知條件時,用於判斷本次打開了與目標帳號的會話介面與上一次打開了與目標帳號的會話介面的時間間隔是否達到預設的間隔閾值,若是,則滿足預置的通知條件。Further, as shown in FIG. 9 , the notification module 22 may specifically include: a determining unit 221, configured to open a session interface with the target account in the detection result of the detection module. Determining whether the preset notification condition is met; the sending unit 222 is configured to report the second notification message to the instant messaging application server when the determination result of the determining unit 221 is that the preset notification condition is met; wherein the determining unit 221, when determining whether the preset notification condition is met, determining whether the time interval between the session interface opened with the target account and the session interface of the target account opened last time reaches a preset interval threshold, and if yes, Meet the preset notification conditions.

本發明實施例可以在某個使用者打開了會話介面後,自動、及時地通知伺服器,以便於伺服器向該會話介面對應的目標帳號發出關於該使用者與目標帳號的會話狀態通知,及時提醒目標帳號的所有者作出反應,以更好地為使用者服務。並且在發出通知之前還會根據時間間隔來判斷是否滿足預置的通知條件,僅在滿足通知條件時再發送通知給目標帳號,避免了由於用戶頻繁的退出、進入會話介面所產生的不必要的通知處理,保證通知服務的同時,也節約了終端資源以及伺服器資源。The embodiment of the present invention can automatically and timely notify the server after a user opens the session interface, so that the server sends a session state notification about the user and the target account to the target account corresponding to the session interface. Remind the owner of the target account to respond better to serve the user. And before the notification is sent, it is determined whether the preset notification condition is met according to the time interval, and the notification is sent to the target account only when the notification condition is met, thereby avoiding unnecessary generation due to frequent exit of the user and entering the session interface. Notification processing ensures that the notification service is also saved while saving terminal resources and server resources.

本領域普通技術人員可以理解實現上述實施例方法中的全部或部分流程,是可以透過電腦程式來指令相關的硬體來完成,的程式可存儲於一電腦可讀取存儲介質中,該程式在執行時,可包括如上述各方法的實施例的流程。其中,的存儲介質可為磁碟、光碟、唯讀存儲記憶體(Read-Only Memory,ROM)或隨機存儲記憶體(Random Access Memory,RAM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct the related hardware, and the program can be stored in a computer readable storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, a optical disk, a read-only memory (ROM), or a random access memory (RAM).

雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.

S101~S103‧‧‧本發明之即時通訊應用中的會話通知方法之一實施例之步驟流程S101~S103‧‧‧ Step flow of one embodiment of the session notification method in the instant messaging application of the present invention

Claims (14)

一種即時通訊應用中的會話通知方法,其包括:在檢測到一使用者終端打開與一目標帳號的會話介面時,檢測該目標帳號是否可以提供基於會話打開通知的服務;若該目標帳號可以提供基於會話打開通知的服務,生成一第一通知消息,該第一通知消息中包括在該使用者終端中登錄即時通訊應用的一帳號資訊;以及向該目標帳號發送該第一通知消息,通知該目標帳號所述帳號資訊對應的使用者打開了與該目標帳號的會話介面。A session notification method in an instant messaging application, comprising: detecting, when a user terminal opens a session interface with a target account, whether the target account can provide a service based on the session open notification; if the target account can provide Generating a first notification message according to the session opening notification service, where the first notification message includes an account information that is logged into the instant messaging application in the user terminal; and sending the first notification message to the target account to notify the The user corresponding to the account information in the target account opens the session interface with the target account. 如申請專利範圍第1項所述之即時通訊應用中的會話通知方法,其中,檢測該使用者終端打開與目標帳號的會話介面,包括:判斷是否接收到該使用者終端上報的一第二通知消息,該第二通知消息是該使用者終端在檢測到該使用者終端的即時通訊應用中打開了與該目標帳號的會話介面時自動上報的;以及若接收到該使用者終端上報的第二通知消息,則確定該使用者終端打開了與該目標帳號的會話介面。The session notification method in the instant messaging application of claim 1, wherein detecting that the user terminal opens the session interface with the target account comprises: determining whether a second message reported by the user terminal is received a notification message, the second notification message is automatically reported when the user terminal opens the session interface with the target account in the instant messaging application of the user terminal; and if the user terminal receives the report The second notification message determines that the user terminal opens the session interface with the target account. 如申請專利範圍第2項所述之即時通訊應用中的會話通知方法,其中,在檢測到該使用者終端打開與該目標帳號的會話介面時,檢測該目標帳號是否可以提供基於會話打開通知的服務,包括:在檢測到該使用者終端打開與該目標帳號的會話介面時,查找該目標帳號的一配置資訊;判斷該配置資訊中是否將該目標帳號登記為可以提供基於會話打開通知的服務的帳號;以及若是,則確定該目標帳號可以提供基於會話打開通知的服務。The session notification method in the instant messaging application of claim 2, wherein when detecting that the user terminal opens a session interface with the target account, detecting whether the target account can provide a session open notification The service includes: when detecting that the user terminal opens a session interface with the target account, searching for a configuration information of the target account; determining whether the target account is registered as a service that can provide a session-based notification The account number; and if so, it is determined that the target account can provide a service based on the session open notification. 如申請專利範圍第1、2或3項所述之即時通訊應用中的會話通知方法,其中,若該目標帳號可以提供基於會話打開通知的服務,生成該第一通知消息,包括:若該目標帳號可以提供基於會話打開通知的服務,判斷是否滿足預置的通知條件;以及在判斷結果為滿足預置的通知條件時,生成該第一通知消息;其中,判斷是否滿足預置的通知條件包括:判斷本次確定該使用者終端打開與該目標帳號的會話介面與上一次確定該使用者終端打開與該目標帳號的會話介面的時間間隔是否達到預設的間隔閾值,若是,則滿足預置的通知條件。The session notification method in the instant messaging application as described in claim 1, 2 or 3, wherein the first notification message is generated if the target account can provide a service based on the session open notification, including: if the target The account may provide a service based on the session open notification, determine whether the preset notification condition is met, and generate the first notification message when the determination result is that the preset notification condition is met; wherein determining whether the preset notification condition is met includes : determining whether the user terminal opens the session interface with the target account and determines whether the time interval between the user terminal opening the session interface with the target account reaches a preset interval threshold, and if yes, the preset is satisfied. Notification conditions. 一種即時通訊應用中的會話通知方法,其包括:一使用者終端檢測在該使用者終端的即時通訊應用中是否打開與一目標帳號的會話介面;該使用者終端在判斷結果為打開了與該目標帳號的會話介面時,向一即時通訊應用伺服器上報一第二通知消息;該即時通訊應用伺服器接收到該使用者終端上報的該第二通知消息後,檢測該目標帳號是否可以提供基於會話打開通知的服務;該即時通訊應用伺服器在檢測結果為該目標帳號可以提供基於會話打開通知的服務時,生成一第一通知消息,該第一通知消息中包括該使用者終端中登錄即時通訊應用的一帳號資訊;以及該即時通訊應用伺服器向該目標帳號發送該第一通知消息,通知該目標帳號所述帳號資訊對應的使用者打開了與該目標帳號的會話介面。A session notification method in an instant messaging application, comprising: detecting, by a user terminal, whether a session interface with a target account is opened in an instant messaging application of the user terminal; the user terminal is determined to be open and When the session interface of the target account is used, the second notification message is reported to the instant messaging application server; after receiving the second notification message reported by the user terminal, the instant messaging application server detects whether the target account can be Providing a service based on the session open notification; the instant messaging application server generates a first notification message when the detection result is that the target account can provide a service based on the session open notification, where the first notification message includes the user terminal Logging in to an account information of the instant messaging application; and the instant messaging application server sends the first notification message to the target account to notify the user corresponding to the account information of the target account to open a session interface with the target account. 如申請專利範圍第5項所述之即時通訊應用中的會話通知方法,其 中,該即時通訊應用伺服器檢測該目標帳號是否可以提供基於會話打開通知的服務,包括:該即時通訊應用伺服器查找該目標帳號的配置資訊,判斷配置資訊中是否將該目標帳號登記為可以提供基於會話打開通知的服務的帳號,若是,則確定該目標帳號可以提供基於會話打開通知的服務。a session notification method in an instant messaging application as described in claim 5, The instant messaging application server detects whether the target account can provide a service based on the session open notification, including: the instant messaging application server searches for configuration information of the target account, and determines whether the target account is registered as An account that provides a service based on the session open notification, and if so, determines that the target account can provide a service based on the session open notification. 如申請專利範圍第6項所述之即時通訊應用中的會話通知方法,其中,該即時通訊應用伺服器在檢測結果為該目標帳號可以提供基於會話打開通知的服務時,生成該第一通知消息,包括:該即時通訊應用伺服器在檢測結果為該目標帳號可以提供基於會話打開通知的服務時,判斷是否滿足預置的通知條件;以及該即時通訊應用伺服器在判斷結果為滿足預置的通知條件時生成該第一通知消息;其中,該即時通訊應用伺服器判斷是否滿足預置的通知條件包括:該即時通訊應用伺服器判斷本次檢測到該使用者終端打開與該目標帳號的該會話介面與上一次檢測到該使用者終端打開與該目標帳號的該會話介面的時間間隔是否達到預設的間隔閾值,若是,則滿足預置的通知條件。The session notification method in the instant messaging application of claim 6, wherein the instant messaging application server generates the first notification message when the detection result is that the target account can provide a service based on the session open notification. The method includes: the instant messaging application server determines whether the preset notification condition is met when the detection result is that the target account can provide a service based on the session open notification; and the instant messaging application server determines that the preset condition is satisfied The first notification message is generated when the condition is notified; wherein the instant messaging application server determines whether the preset notification condition is met, the method includes: the instant messaging application server determines that the user terminal detects the opening of the target account with the target account The session interface is compared with the last detection of whether the time interval between the user terminal opening the session interface of the target account reaches a preset interval threshold, and if so, the preset notification condition is met. 一種即時通訊應用中的會話通知裝置,其包括:一檢測模組,用於在檢測到一使用者終端打開與一目標帳號的一會話介面時,檢測該目標帳號是否可以提供基於會話打開通知的服務;一生成模組,用於在該目標帳號可以提供基於會話打開通知的服務時,生成一第一通知消息,該第一通知消息中包括在該使用者終端中登錄即時通訊應用的帳號資訊;以及一發送模組,用於向該目標帳號發送該第一通知消息,通知該目標帳號所述帳號資訊對應的使用者打開了與該目標帳號的該會話介面。A session notification device in an instant messaging application, comprising: a detection module, configured to detect, when a user terminal opens a session interface with a target account, whether the target account can provide a session open notification a generating module, configured to generate a first notification message when the target account can provide a service based on the session open notification, where the first notification message includes account information of the instant messaging application registered in the user terminal And a sending module, configured to send the first notification message to the target account, to notify the user corresponding to the account information of the target account to open the session interface with the target account. 如申請專利範圍第8項所述之即時通訊應用中的會話通知裝置,其中,該檢測模組包括:一判斷單元,用於判斷是否接收到一使用者終端上報的一第二通知消息,該第二通知消息是該使用者終端在檢測到該使用者終端的即時通訊應用中打開了與該目標帳號的會話介面時自動上報的;以及一檢測單元,用於在接收到該使用者終端上報的該第二通知消息時,確定該使用者終端打開了與該目標帳號的會話介面。The session notification device of the instant messaging application of claim 8, wherein the detection module comprises: a determining unit, configured to determine whether a second notification message reported by a user terminal is received, The second notification message is automatically reported when the user terminal opens the session interface with the target account in the instant messaging application of the user terminal; and a detecting unit is configured to receive the user When the second notification message is reported by the terminal, it is determined that the user terminal opens the session interface with the target account. 如申請專利範圍第9項所述之即時通訊應用中的會話通知裝置,其中,該檢測單元包括:一查找子單元,用於在檢測到該使用者終端打開與該目標帳號的該會話介面時,查找該目標帳號的一配置資訊;一判斷子單元,用於判斷該配置資訊中是否將該目標帳號登記為可以提供基於會話打開通知的服務的帳號;一確定子單元,用於該判斷子單元的判斷結果為是時,確定該目標帳號可以提供基於會話打開通知的服務。The session notification device of the instant messaging application of claim 9, wherein the detecting unit comprises: a searching subunit, configured to detect when the user terminal opens the session interface with the target account Searching for a configuration information of the target account; a determining subunit, configured to determine whether the target account is registered as an account that can provide a service based on the session open notification; and a determining subunit for the determining When the judgment result of the unit is YES, it is determined that the target account can provide a service based on the session open notification. 如申請專利範圍第8、9或10項所述之即時通訊應用中的會話通知裝置,其中,該生成模組包括:一條件判斷單元,用於在該目標帳號可以提供基於會話打開通知的服務時,判斷是否滿足預置的通知條件;以及一生成處理單元,用於在判斷結果為滿足預置的通知條件時,生成該第一通知消息;其中,該條件判斷單元在判斷是否滿足預置的通知條件時,用於判斷本次確定使用者終端打開與目標帳號的會話介面與上一次確定使用者終端 打開與目標帳號的會話介面的時間間隔是否達到預設的間隔閾值,若是,則滿足預置的通知條件。The session notification device in the instant messaging application of claim 8, wherein the generating module comprises: a condition determining unit, configured to provide a session open notification based service on the target account Determining whether the preset notification condition is satisfied; and a generation processing unit, configured to generate the first notification message when the determination result is that the preset notification condition is satisfied; wherein the condition determination unit determines whether the preset is satisfied The notification condition is used to determine that the user terminal opens the session interface with the target account and the last determined user terminal. Whether the time interval between opening the session interface with the target account reaches the preset interval threshold, and if so, the preset notification condition is met. 一種即時通訊應用中的會話通知系統,其包括:一使用者終端、一即時通訊應用伺服器以及一目標帳號終端,其中:該使用者終端,用於檢測在該使用者終端的即時通訊應用中是否打開與一目標帳號的會話介面;並在判斷結果為打開了與該目標帳號的會話介面時,向該即時通訊應用伺服器上報一第二通知消息;該即時通訊應用伺服器,用於接收到該使用者終端上報的該第二通知消息後,檢測該目標帳號是否可以提供基於會話打開通知的服務;並在檢測結果為該目標帳號可以提供基於會話打開通知的服務時,生成一第一通知消息,該第一通知消息中包括該使用者終端中登錄即時通訊應用的一帳號資訊;該即時通訊應用伺服器,還用於向該目標帳號終端發送該第一通知消息,通知該目標帳號所述帳號資訊對應的使用者打開了與目標帳號的會話介面。A session notification system in an instant messaging application, comprising: a user terminal, an instant messaging application server, and a target account terminal, wherein: the user terminal is configured to detect an instant messaging application in the user terminal Whether to open a session interface with a target account; and when the result of the judgment is that the session interface with the target account is opened, a second notification message is reported to the instant messaging application server; the instant messaging application server is used for After receiving the second notification message reported by the user terminal, detecting whether the target account can provide a service based on the session open notification; and when the detection result is that the target account can provide a service based on the session open notification, generating one a first notification message, the first notification message includes an account information of the instant messaging application registered in the user terminal; the instant messaging application server is further configured to send the first notification message to the target account terminal, to notify the The user corresponding to the account information in the target account opens the session interface with the target account. 如申請專利範圍第12項所述之即時通訊應用中的會話通知系統,其中,該即時通訊應用伺服器在檢測該目標帳號是否可以提供基於會話打開通知的服務時,用於查找該目標帳號的一配置資訊,判斷該配置資訊中是否將該目標帳號登記為可以提供基於會話打開通知的服務的帳號,若是,則確定該目標帳號可以提供基於會話打開通知的服務。The session notification system in the instant messaging application of claim 12, wherein the instant messaging application server is configured to find the target account when detecting whether the target account can provide a service based on the session open notification. A configuration information is used to determine whether the target account is registered as an account that can provide a service based on the session open notification, and if so, it is determined that the target account can provide a service based on the session open notification. 如申請專利範圍第13項所述之即時通訊應用中的會話通知系統,其中,該即時通訊應用伺服器在用於檢測結果為該目標帳號可以提供基於會話打開通知的服務,生成該第一通知消息時,用於在檢測結果為該目標 帳號可以提供基於會話打開通知的服務時,判斷是否滿足預置的通知條件;並在判斷結果為滿足預置的通知條件時生成該第一通知消息;其中,該即時通訊應用伺服器用於判斷是否滿足預置的通知條件時,用於判斷本次接收到第二通知消息與上一次接收到第二通知消息的時間間隔是否達到預設的間隔閾值,若是,則滿足預置的通知條件。The session notification system in the instant messaging application of claim 13, wherein the instant messaging application server generates the first notification by using a session open notification based service for detecting that the target account is provided When the message is used, the result of the test is the target When the account can provide the service based on the session open notification, it is determined whether the preset notification condition is met; and the first notification message is generated when the judgment result is that the preset notification condition is met; wherein the instant messaging application server is used for determining When the preset notification condition is met, it is used to determine whether the time interval between the receipt of the second notification message and the last reception of the second notification message reaches a preset interval threshold, and if so, the preset notification condition is satisfied.
TW102148209A 2013-04-27 2013-12-25 Method, device and system for conversational notifications in instant messaging application TWI513236B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310152763.3A CN104125133B (en) 2013-04-27 2013-04-27 Conversation informing method, Apparatus and system in a kind of instant messaging application

Publications (2)

Publication Number Publication Date
TW201442462A TW201442462A (en) 2014-11-01
TWI513236B true TWI513236B (en) 2015-12-11

Family

ID=51770402

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102148209A TWI513236B (en) 2013-04-27 2013-12-25 Method, device and system for conversational notifications in instant messaging application

Country Status (2)

Country Link
CN (1) CN104125133B (en)
TW (1) TWI513236B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104901869B (en) * 2015-05-25 2017-09-15 南京信息职业技术学院 One kind is in group member's interactive approach
CN105207888A (en) * 2015-08-18 2015-12-30 腾讯科技(深圳)有限公司 Group message prompting method and apparatus
CN105871690B (en) * 2016-03-31 2020-01-21 阿里巴巴集团控股有限公司 Method and device for realizing instant messaging
CN106411691A (en) * 2016-05-31 2017-02-15 要宇轩 Voice public service method and system in instant messenger application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030229670A1 (en) * 2002-06-11 2003-12-11 Siemens Information And Communication Networks, Inc. Methods and apparatus for using instant messaging as a notification tool
TW200522689A (en) * 2004-10-14 2005-07-01 Enf Technology Solutions Co Ltd Instant message receiving method and its apparatus
CN101296200A (en) * 2008-06-30 2008-10-29 腾讯科技(深圳)有限公司 System and method for establishing multi-user conversation
CN101483537A (en) * 2009-02-12 2009-07-15 周佺喜 Method for real-time displaying website user status in webpage instant communication

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101098267B (en) * 2006-06-28 2011-07-20 华为技术有限公司 Method and system for establishing cluster conversation
CN101159714B (en) * 2007-11-30 2011-10-26 腾讯科技(深圳)有限公司 Instant communication method and device
CN101247364B (en) * 2008-03-31 2012-01-18 腾讯科技(深圳)有限公司 Conversation message managing system and method thereof
CN101272358B (en) * 2008-05-05 2010-09-22 中国移动通信集团公司 Method, device and system for showing user group communication ability in instant communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030229670A1 (en) * 2002-06-11 2003-12-11 Siemens Information And Communication Networks, Inc. Methods and apparatus for using instant messaging as a notification tool
TW200522689A (en) * 2004-10-14 2005-07-01 Enf Technology Solutions Co Ltd Instant message receiving method and its apparatus
CN101296200A (en) * 2008-06-30 2008-10-29 腾讯科技(深圳)有限公司 System and method for establishing multi-user conversation
CN101483537A (en) * 2009-02-12 2009-07-15 周佺喜 Method for real-time displaying website user status in webpage instant communication

Also Published As

Publication number Publication date
TW201442462A (en) 2014-11-01
CN104125133B (en) 2015-11-25
CN104125133A (en) 2014-10-29

Similar Documents

Publication Publication Date Title
JP6723340B2 (en) Method and apparatus for prompting business status
US10484533B2 (en) Messaging interface based on caller of an incoming call
US9131017B2 (en) Meeting update dissemination in a real-time communication system
CA2862876C (en) Systems and methods for sharing data among multiple end user devices
US20070124393A1 (en) Presence based notifications
US10474319B2 (en) Methods and instant messaging client devices for performing IM using menu option
TWI513236B (en) Method, device and system for conversational notifications in instant messaging application
US7774416B2 (en) Optimizing the expectation of a response in instant messaging with an automatic hierarchical instant message assistant
US10574782B2 (en) Method and server for generating contact relationship data in network communication system
US11210633B2 (en) Collaborative event processing method and apparatus
WO2018133767A1 (en) Call control method, terminal apparatus, and data storage medium
US10243895B2 (en) Method of and system for processing an electronic message destined for an electronic device
US9998885B2 (en) Method of and system for processing an electronic message destined for an electronic device
US8213580B2 (en) Automated message conversion based on availability of bandwidth
US20090100497A1 (en) Method and apparatus for preventing a set of users from accessing a message in an instant messaging system
US9843608B2 (en) Method of synchronous image sharing
US20150295870A1 (en) Method, apparatus, and system for shielding harassment by mention in user generated content
US20170104698A1 (en) Instant Messaging
US10599505B1 (en) Event handling system with escalation suppression
US9058586B2 (en) Identification of a person located proximite to a contact identified in an electronic communication client
US20140324987A1 (en) Method for communicating with a public id and public id assistant device
WO2015172440A1 (en) Missed call notification method and system
CN106604244B (en) Method and device for prompting notification message
WO2019023972A1 (en) Multi-terminal message synchronization method and system, server and computer processing device
WO2022252808A1 (en) Communication control method, apparatus, and system, electronic device, and storage medium