CN100461773C - A method for receiving instant messages - Google Patents
A method for receiving instant messages Download PDFInfo
- Publication number
- CN100461773C CN100461773C CNB2005100568699A CN200510056869A CN100461773C CN 100461773 C CN100461773 C CN 100461773C CN B2005100568699 A CNB2005100568699 A CN B2005100568699A CN 200510056869 A CN200510056869 A CN 200510056869A CN 100461773 C CN100461773 C CN 100461773C
- Authority
- CN
- China
- Prior art keywords
- user
- instant message
- message
- online
- instant
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明公开了一种即时消息的接收方法。应用于无线通信领域。用以解决现有技术存在当IMPS业务的注册用户离线时无法及时收取未接收的即时消息的问题。本发明方法包括下列步骤:A.当即时消息和存在业务服务器(IMPSServer)接收到即时消息(IM)后,判断接收方用户是否在线,若在线,则转入步骤C,否则转入步骤B;B.IMPS Server暂存所述即时消息,并向接收方用户发送通知消息,告知有未接收的即时消息,并等待接收方用户上线,接收方用户上线后,转入步骤C;C.IMPS Server转发所述即时消息给接收方用户。
The invention discloses an instant message receiving method. Applied in the field of wireless communication. It is used to solve the problem in the prior art that the registered user of the IMPS service cannot timely receive unreceived instant messages when the registered user of the IMPS service is offline. The inventive method comprises the following steps: A. after the instant message and presence service server (IMPSServer) receives the instant message (IM), judge whether the recipient user is online, if online, then proceed to step C, otherwise proceed to step B; B. The IMPS Server temporarily stores the instant message, and sends a notification message to the recipient user to inform that there is an unreceived instant message, and waits for the recipient user to go online. After the recipient user goes online, go to step C; C.IMPS Server The instant message is forwarded to the recipient user.
Description
技术领域 technical field
本发明涉及无线通信领域,特别是涉及一种即时消息的接收方法。The invention relates to the field of wireless communication, in particular to a method for receiving instant messages.
背景技术 Background technique
即时消息和存在业务(IMPS)属于一种基于存在信息(Presence)的个人对个人、个人对群组的消息类移动数据业务,其由国际标准组织OMA(Open MobileAlliance)的IMPS工作组研究和提供应用框架和规范。用户使用IMPS业务时,既可以作为通信的主动发起方,也可以作为通信的被动接收方。作为通信的主动发起方,用户可以执行发送即时消息、更新Presence信息、订阅Presence信息、发起群组会话、建立共享内容等等操作。作为通信的被动接收方,在IMPS服务器的指挥控制以及手机终端的配合工作下,用户可以执行接收即时消息、获取Presence信息、接收群组会话邀请等等操作。Instant Messaging and Presence Service (IMPS) belongs to a person-to-person and person-to-group messaging mobile data service based on presence information (Presence), which is researched and provided by the IMPS working group of the International Standards Organization OMA (Open Mobile Alliance) Application frameworks and specifications. When users use IMPS services, they can be either active initiators or passive receivers of communications. As the active initiator of communication, users can perform operations such as sending instant messages, updating presence information, subscribing to presence information, initiating group conversations, and creating shared content. As a passive recipient of communication, under the command and control of the IMPS server and the cooperation of the mobile terminal, the user can perform operations such as receiving instant messages, obtaining presence information, receiving group session invitations, and so on.
目前的移动即时消息业务系统中,用户无论是作为通信的主动发起方,还是作为通信的被动接收方,都要求用户是IMPS业务的注册用户,如果用户不是IMPS业务的注册用户,显然他不可使用IMPS业务,也就不可主动发起IMPS通信和接收他人发起的IMPS消息。In the current mobile instant message service system, whether the user is the active initiator of communication or the passive receiver of communication, the user is required to be a registered user of the IMPS service. If the user is not a registered user of the IMPS service, obviously he cannot use For IMPS services, it is not allowed to actively initiate IMPS communication and receive IMPS messages initiated by others.
而且用户作为通信的主动发起方时还必须已经登录在线,如果该用户是IMPS业务的注册用户但是当前未登录,也即处于离线状态,那么显然也是无法主动发起IMPS通信的。Moreover, the user must be logged in online as the active initiator of communication. If the user is a registered user of the IMPS service but is not currently logged in, that is, in an offline state, it is obviously impossible to actively initiate IMPS communication.
若用户作为通信的被动接收方时,如果该用户是IMPS业务的注册用户但是当前未登录,也即处于离线状态,当有未接收即时消息需要该用户接收时,目前现有技术的处理方式有两种:一种是存储转发模式,即IMPS Server首先检查接收方用户此时是否为离线状态,如果是在线状态则将该即时消息正常发送到接收方终端;如果是离线状态,则此时不转发该即时消息到接收方终端,先把相关信息暂存在IMPS Server上,等下次用户上线时再转发给用户终端;另一种是直接下发模式,即IMPS Server不判断接收方用户是否为离线状态,直接将即时消息转发到接收方终端,如果此时用户离线,那么将不能接收到该即时消息,由于IMPS Server上未暂存该即时消息,因此即使用户下次上线后也不能接收到该即时消息。If the user is a passive receiver of communication, if the user is a registered user of the IMPS service but is not currently logged in, that is, in an offline state, when there is an unreceived instant message that needs to be received by the user, the current processing methods in the prior art are as follows: Two types: one is the store-and-forward mode, that is, the IMPS Server first checks whether the receiving user is offline at this time, and if it is online, it will send the instant message to the receiving terminal normally; if it is offline, it will not Forward the instant message to the receiving terminal, temporarily store the relevant information on the IMPS Server, and then forward it to the user terminal when the user goes online next time; the other is the direct sending mode, that is, the IMPS Server does not judge whether the receiving user is an In the offline state, the instant message is directly forwarded to the receiving terminal. If the user is offline at this time, the instant message will not be received. Since the instant message is not temporarily stored on the IMPS Server, the user cannot receive it even after the user goes online next time. that instant message.
从以上两种现有技术的处理方式可以看出,无论即时消息是否被暂存,只要当注册用户离线时都无法及时收取未接收的即时消息。It can be seen from the above two processing methods of the prior art that no matter whether the instant messages are temporarily stored or not, as long as the registered user is offline, the unreceived instant messages cannot be received in time.
发明内容 Contents of the invention
本发明提供一种即时消息的接收方法,用以解决现有技术存在当IMPS业务的注册用户离线时无法及时收取未接收的即时消息的问题。The invention provides a method for receiving instant messages, which is used to solve the problem in the prior art that unreceived instant messages cannot be received in time when the registered user of the IMPS service is offline.
本发明采用一种即时消息的接收方法,包括下列步骤:The present invention adopts a kind of receiving method of instant message, comprises the following steps:
A、当即时消息和存在业务服务器(IMPS Server)接收到即时消息(IM)后,判断接收方用户是否在线,若在线,则转入步骤C,否则转入步骤B;A, after the instant message and presence service server (IMPS Server) receives the instant message (IM), judge whether the recipient user is online, if online, then proceed to step C, otherwise proceed to step B;
B、IMPS Server暂存所述即时消息,并向接收方用户发送通知消息,告知有未接收的即时消息,并等待接收方用户上线,当接收方用户上线后,转入步骤C;B. The IMPS Server temporarily stores the instant message, and sends a notification message to the recipient user, notifying that there is an unreceived instant message, and waits for the recipient user to go online. When the recipient user goes online, proceed to step C;
C、IMPS Server转发所述即时消息给接收方用户。C. The IMPS Server forwards the instant message to the recipient user.
所述的通知消息的发送方式是通过短消息发送,或者通过WAP PUSH发送。The sending mode of the notification message is sent by short message or sent by WAP PUSH.
所述通知消息的内容包括:发送方用户标识、即时消息会话发起时间、即时会话类型。The content of the notification message includes: the user identifier of the sender, the initiation time of the instant message session, and the type of the instant message session.
所述的发送方用户标识是下列各项之一或组合:发送方用户代码(UserID)、发送方用户昵称、发送方用户手机号码。The sender user ID is one or a combination of the following items: sender user code (UserID), sender user nickname, sender user mobile phone number.
所述的即时会话类型是待接收即时消息、存在信息(Presence)更新通知、群组消息或者共享内容通知。The instant conversation type is to receive instant messages, presence information (Presence) update notifications, group messages or shared content notifications.
本发明方法在IMPS Server收到发送方用户发来的即时消息后,判断接收方用户是否在线,若不在线,则暂存该即时消息,并通过短消息或WAP PUSH向接收方终端发送一含有发送方用户标识的通知消息,接收方用户收到该通知消息后可以决定是否立即上线接收所述即时消息,从而避免了现有技术存在注册用户离线时无法及时收取未接收的即时消息的问题。而且注册用户不必为了避免遗漏即时消息,而长期处于在线状态,这样既节省了费用,又可使移动终端的待机时间延长。After the IMPS Server of the present invention receives the instant message sent by the sender user, it judges whether the receiver user is online, if not online, then temporarily stores the instant message, and sends a message containing The notification message identified by the sender user, after receiving the notification message, the receiver user can decide whether to go online to receive the instant message immediately, thereby avoiding the problem in the prior art that the registered user cannot receive the unreceived instant message in time when the registered user is offline. Moreover, the registered user does not need to be in the online state for a long time in order to avoid missing instant messages, which not only saves the cost, but also prolongs the standby time of the mobile terminal.
附图说明 Description of drawings
图1所示为本发明方法步骤流程图。Figure 1 shows a flow chart of the steps of the method of the present invention.
具体实施方式 Detailed ways
本发明涉及一种即时消息的接收方法,主要包括下列步骤:The invention relates to a method for receiving an instant message, which mainly includes the following steps:
当即时消息和存在业务服务器(IMPS Server)接收到发起方用户发来的即时消息(IM)后,IMPS Server判断接收方用户是否在线;若在线,则IMPS Server直接转发该即时消息给接收方用户;否则IMPS Server暂存该即时消息,并向接收方用户发送通知消息,告知有未接收的即时消息,并等待接收方用户上线,当接收方用户上线后IMPS Server转发该即时消息给接收方用户。When the instant message and presence service server (IMPS Server) receives the instant message (IM) sent by the originating user, the IMPS Server judges whether the receiving user is online; if online, the IMPS Server directly forwards the instant message to the receiving user ; Otherwise, the IMPS Server temporarily stores the instant message, and sends a notification message to the recipient user to inform that there is an unreceived instant message, and waits for the recipient user to go online. After the recipient user goes online, the IMPS Server forwards the instant message to the recipient user .
现以点对点发送即时消息为例描述本发明方法的具体实施步骤:Now take the point-to-point sending instant message as an example to describe the specific implementation steps of the inventive method:
首先,发起方用户向即时消息和存在业务服务器(IMPS Server)发送即时消息会话请求,所述IMPS服务器收到该请求后判断接收方用户是否已登录到即时消息和存在业务(IMPS),即判断接收方用户是否在线。若判断结果表明该接收方用户在线,则服务器直接将发起方用户发来的即时消息转发给接收方用户终端,接收方用户收到该即时消息后可以通过IMPS业务界面与发起方用户进行会话;若判断结果表明该接收方用户离线,则服务器暂存所述发起方用户发来的即时消息,并通过短消息方式,或者WAP PUSH方式向接收方用户发送通知消息,其目的在于告知该接收方用户有未接收的即时消息。所述的通知消息的内容包括:发送方用户标识,其可以是发送方用户代码(UserID)、和/或发送方用户昵称、和/或发送方用户手机号码,以及其它能够标识出发送方用户身份的表达方式,这样当接收方用户收到IMPS服务器发来的通知消息后,可以直观的了解该即时消息是由谁发来的;所述的通知消息的内容还包括即时消息会话发起时间,这样接收方用户可以了解发起时间,并根据发起时间判断是否还有必要立即上线;所述的通知消息的内容还包括即时会话类型,其可以是待接收即时消息、存在信息(Presence)更新通知、群组消息或者共享内容通知,以及其它即时业务会话类型。First, the initiator user sends an instant message session request to an instant message and presence service server (IMPS Server), and after receiving the request, the IMPS server judges whether the recipient user has logged into the instant message and presence service (IMPS), that is, judges Whether the recipient user is online. If the judgment result shows that the receiver user is online, the server directly forwards the instant message sent by the initiator user to the receiver user terminal, and the receiver user can have a conversation with the initiator user through the IMPS service interface after receiving the instant message; If the judgment result shows that the receiving party user is offline, the server temporarily stores the instant message sent by the initiator user, and sends a notification message to the receiving party user through a short message mode or WAP PUSH mode, and its purpose is to inform the receiving party User has unreceived instant messages. The content of the notification message includes: the sender user identification, which can be the sender user code (UserID), and/or the sender user nickname, and/or the sender user mobile phone number, and other information that can identify the sender user The expression mode of identity, after receiving the notification message that the IMPS server sends like this, the receiver user can intuitively understand who sent the instant message; the content of the notification message also includes the instant message session initiation time, In this way, the recipient user can understand the initiation time, and judge whether it is necessary to go online immediately according to the initiation time; the content of the notification message also includes the instant session type, which can be an instant message to be received, an update notification of presence information (Presence), Group messaging or shared content notifications, and other types of instant business conversations.
接收方用户获知了通知消息的内容后,就可以根据发起方用户身份、发起时间和即时业务会话类型决定何时通过用户终端界面登录到IMPS业务,来接收发起方用户发来的即时消息,并与之进行会话。若接收方用户决定上线,则当该接收方用户上线时,IMPS服务器将相应的未接收即时消息转发给该接收方用户。例如:若发起方用户是接收方用户不愿联系的人,那么接收方用户可以等到IMPS服务器设定的暂存时限到达后再上线,这样在IMPS服务器设定的暂存时限到达时,IMPS服务器将删除该即时消息,所以接收方用户就收不到该即时消息,显然也就看不到不想看的留言。又例如:接收方用户看到通知消息时已经距离发起时间很远,那么可以判断发起方用户已经下线,接收方用户可以据此决定是否还有必要立即上线作出回应,或以其它通信方式进行联系。又例如:即时业务会话类型是更新通知,那么接收方用户可以不用立即上线更新,而是等到下一次上线时一并完成。通过这些通知消息涉及的内容,使接收方用户获得了是否接收、何时接收的自主权。After the receiver user knows the content of the notification message, he can decide when to log in to the IMPS service through the user terminal interface according to the identity of the initiator user, the initiation time and the instant service session type to receive the instant message sent by the initiator user, and Have a conversation with it. If the receiving user decides to go online, the IMPS server forwards the corresponding unreceived instant messages to the receiving user when the receiving user goes online. For example: if the initiator user is a person whom the receiving user does not want to contact, then the receiving user can wait until the temporary storage time limit set by the IMPS server arrives before going online, so that when the temporary storage time limit set by the IMPS server arrives, the IMPS server The instant message will be deleted, so the receiving user will not receive the instant message, and obviously will not see unwanted messages. Another example: when the recipient user sees the notification message, it is far away from the initiation time, so it can be judged that the originator user has gone offline. Based on this, the recipient user can decide whether it is necessary to go online immediately to respond, or use other communication methods. connect. Another example: if the instant service session type is an update notification, then the receiver user does not need to go online immediately to update, but wait until the next time the user goes online to complete the update. Through the content involved in these notification messages, the recipient user has the autonomy to receive it and when to receive it.
存在信息(Presence)更新通知、群组消息,或者共享内容通知,以及其它即时业务会话类型的接收流程与上述方法相同,都应在本发明的保护范围之内。The reception process of presence information (Presence) update notification, group message, or shared content notification, and other instant service session types is the same as the above method, and should be within the protection scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100568699A CN100461773C (en) | 2005-03-25 | 2005-03-25 | A method for receiving instant messages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100568699A CN100461773C (en) | 2005-03-25 | 2005-03-25 | A method for receiving instant messages |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1838643A CN1838643A (en) | 2006-09-27 |
CN100461773C true CN100461773C (en) | 2009-02-11 |
Family
ID=37015899
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100568699A Expired - Fee Related CN100461773C (en) | 2005-03-25 | 2005-03-25 | A method for receiving instant messages |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100461773C (en) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100539553C (en) * | 2006-12-05 | 2009-09-09 | 华为技术有限公司 | Method, system and terminal, the server of transmission data between the terminal |
CN101193070B (en) * | 2006-12-13 | 2010-08-18 | 腾讯科技(深圳)有限公司 | Instant communication system, instant communication client and instant communication method |
CN100438651C (en) * | 2006-12-14 | 2008-11-26 | 中国移动通信集团公司 | Immediate message server, guestroom end, processing system and processing method |
CN101247242B (en) * | 2007-02-14 | 2010-10-27 | 华为技术有限公司 | A communication method, service server and system |
US20080212763A1 (en) * | 2007-03-01 | 2008-09-04 | Chandranmenon Girish P | Network-based methods and systems for responding to customer requests based on provider presence information |
CN101299785B (en) * | 2007-04-30 | 2013-06-05 | 华为技术有限公司 | Method, system and service server for processing conversation |
CN101242357B (en) * | 2008-01-17 | 2010-09-29 | 中兴通讯股份有限公司 | A realization method for mobile IP user notification service |
CN101262655B (en) * | 2008-04-23 | 2011-08-03 | 华为技术有限公司 | Conversation method, system and device |
CN101340493B (en) * | 2008-07-30 | 2012-07-04 | 华为技术有限公司 | Calling method and calling center based on off-line waiting |
CN101400021A (en) * | 2008-10-15 | 2009-04-01 | 中兴通讯股份有限公司 | PoC call-back request processing method, sending/receiving device, mobile terminal |
CN101742429B (en) * | 2008-11-05 | 2013-06-05 | 华为技术有限公司 | Method, device and system for intercommunication of instant message and short message |
CN102045373B (en) * | 2009-10-10 | 2012-09-26 | 中兴通讯股份有限公司 | Implementation method and system supporting capability of actively pushing data messages |
CN101895842B (en) * | 2010-08-09 | 2014-06-04 | 华为终端有限公司 | Method, device and system for awakening offline mobile terminal |
CN102571704B (en) * | 2010-12-24 | 2015-05-27 | 华为终端有限公司 | Management conversation initiating and notifying method, managed terminal and management server |
CN102647478A (en) * | 2012-05-16 | 2012-08-22 | 深圳市乐唯科技开发有限公司 | Automatic updating method for electronic name card, server and system |
CN103856645B (en) * | 2012-12-04 | 2016-05-25 | 华为终端有限公司 | Method, Apparatus and system that a kind of off-line is called out |
CN103096253B (en) * | 2012-12-20 | 2015-11-25 | 北京思特奇信息技术股份有限公司 | A kind of system and method for prevent loss incoming call requests or message request |
CN103475567B (en) * | 2013-07-31 | 2016-09-14 | 华为软件技术有限公司 | Data transmission method, device, equipment and system |
CN104468667B (en) * | 2013-09-22 | 2018-06-22 | 腾讯科技(深圳)有限公司 | Information push method, device and server |
CN104954414B (en) * | 2014-03-31 | 2019-01-11 | 腾讯科技(深圳)有限公司 | Method, terminal, server and the system of information exchange |
CN106470149B (en) * | 2015-08-20 | 2020-04-21 | 腾讯科技(深圳)有限公司 | Message sending method and device |
CN111355650B (en) * | 2018-12-21 | 2022-05-24 | 沈阳美行科技股份有限公司 | Real-time chat method, platform, system and related equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003044418A (en) * | 2001-07-27 | 2003-02-14 | Sharp Corp | Instant message transmission and reception system |
EP1372316A1 (en) * | 2002-06-11 | 2003-12-17 | Siemens Information and Communication Networks Inc. | Methods and apparatus for processing an instant message |
US20040128310A1 (en) * | 2002-12-30 | 2004-07-01 | Zmudzinski Krystof C. | Method and apparatus for distributing notification among cooperating devices and device channels |
CN1794710A (en) * | 2004-12-21 | 2006-06-28 | 阿尔卡特公司 | Systems and methods for handling presence messages |
-
2005
- 2005-03-25 CN CNB2005100568699A patent/CN100461773C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003044418A (en) * | 2001-07-27 | 2003-02-14 | Sharp Corp | Instant message transmission and reception system |
EP1372316A1 (en) * | 2002-06-11 | 2003-12-17 | Siemens Information and Communication Networks Inc. | Methods and apparatus for processing an instant message |
US20040128310A1 (en) * | 2002-12-30 | 2004-07-01 | Zmudzinski Krystof C. | Method and apparatus for distributing notification among cooperating devices and device channels |
CN1794710A (en) * | 2004-12-21 | 2006-06-28 | 阿尔卡特公司 | Systems and methods for handling presence messages |
Also Published As
Publication number | Publication date |
---|---|
CN1838643A (en) | 2006-09-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100461773C (en) | A method for receiving instant messages | |
CA2479937C (en) | Facilitating instant messaging outside of user-defined buddy group in a wireless and non-wireless environment | |
JP5525496B2 (en) | A method for creating a peer-to-peer rapid messaging solution without using an instant messaging server | |
CN101227652B (en) | A method, device and system for instant messaging | |
CN101262453B (en) | Method and system for intelligent chant service in next-generation network | |
US20140372330A1 (en) | Social network user information association method and device | |
CN101710881A (en) | Method and system for realizing private messages in chat room | |
EP2160051A1 (en) | Methods and devices for messaging | |
CN1794722B (en) | Method of transfering off-line message and instant message server | |
CN102123133A (en) | Message disposition notification transmission method in internetworking of different messaging service platforms and messaging system | |
CN104901865B (en) | A kind of mobile terminal instant messaging signal synchronizing method based on global monotonic sequence number | |
CN102255897A (en) | IM (Instant Message) system and instant communication method based on WAP (Wireless Application Protocol) technology | |
US20100015953A1 (en) | Method and System for Transmitting an Instantaneous Message to a Terminal | |
CN101784017A (en) | Method and system for realizing chat online on mobile telephone | |
CN103024694A (en) | A method, device and mobile terminal for sending multi-person information | |
CN103368821A (en) | Voice-message sending method and system and integrated-message server and clients | |
CN101854597B (en) | Transmission method and system of large fusion IP (Internet Protocol) message | |
CN100461774C (en) | A way to subscribe to presence information | |
CN103067882B (en) | The verification method of mobile phone, GSM and MSN account | |
CN107332754A (en) | A kind of instant communication message reads rear receipt implementation method | |
CN101309458A (en) | Method, system and device for implementing short message between multiple enterprises | |
TW200822651A (en) | Deleting mechanism in SIP multimedia services | |
KR100822162B1 (en) | Chat system and method using chat server based on interactive text message service | |
CN106559762A (en) | Note double receiving method, platform and group network systems | |
CN101902703A (en) | Processing method and system of multimedia message retransmission failure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090211 |