CN104123296A - Method and device for generating message indexes so as to present messages to receiver - Google Patents

Method and device for generating message indexes so as to present messages to receiver Download PDF

Info

Publication number
CN104123296A
CN104123296A CN 201310149223 CN201310149223A CN104123296A CN 104123296 A CN104123296 A CN 104123296A CN 201310149223 CN201310149223 CN 201310149223 CN 201310149223 A CN201310149223 A CN 201310149223A CN 104123296 A CN104123296 A CN 104123296A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
message
index
recipient
generating
state
Prior art date
Application number
CN 201310149223
Other languages
Chinese (zh)
Inventor
马天笑
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/30Information retrieval; Database structures therefor ; File system structures therefor
    • G06F17/30861Retrieval from the Internet, e.g. browsers
    • G06F17/3089Web site content organization and management, e.g. publishing, automatic linking or maintaining pages

Abstract

Disclosed is a method for generating message indexes so as to present messages to a receiver. The method comprises the steps that the messages to be issued are generated; the states of the receiver of the messages are detected; the message indexes corresponding to the messages are generated at different moments based on the different states of the receiver and are copied to a message index queue of the receiver. According to the technical scheme, the message indexes are generated at different moments according to the different states of the receiver of the messages so as to present the messages to the receiver, resource consumption in the message sending process is reduced, the timeliness of the messages is improved, a user can obtain more messages, and user experience is greatly improved. On-line users can see messages which the on-line users pay attention to or messages generated by friends of the on-line users in time, and off-line users cannot miss messages which the off-line users pay attention to or messages generated by friends of the off-line users.

Description

一种生成消息索引以便向接收者呈现消息的方法及装置 A method for generating a message index for presentation to the recipient of the message and means

技术领域 FIELD

[0001] 本申请涉及计算机网络领域,尤其涉及一种生成消息索引以便向接收者呈现消息的方法及装置。 [0001] The present application relates to computer networks, and particularly relates to a method and apparatus for generating an index to present a message to the message recipient.

背景技术 Background technique

[0002] 随着互联网技术的进步,人们更多地使用SNS (社交网络服务)网站,同时SNS网站的功能和应用也越来越多,动态/消息(Feed)的传播也成为SNS网站最基础的一项服务, 例如,在SNS网站中用户可以发布自己的动态/消息,然后使用SNS系统将动态/消息发送给好友或粉丝,让他们可以看到。 [0002] With the advancement of Internet technology, the greater use of SNS (social network service) Web site, while the function and application of SNS sites are more and more dynamic propagation / messages (Feed) has become the most basic SNS website a service, for example, in the SNS website users can publish their own dynamic / message, and then send dynamic / message to a friend or fan use SNS system, so that they can see.

[0003] 目前动态/消息发送的系统有推送和拉取模式,动态/消息的推模式是指当用户产生了一个动态/消息之后,系统会将该动态/消息实时地推送给其好友或者粉丝(消息接收者),而动态/消息的拉模式是指当用户产生了一个动态/消息之后,系统不会马上将这个动态/消息推送给其好友或者粉丝,而是等到其好友或者粉丝主动访问SNS网站时,来拉取这条动态/消息。 After [0003] Currently, the system dynamic / message transmission are push and pull mode, push mode of dynamic / message means that when the user creates a dynamic / message, the system dynamic / real-time message or a fan pushed their friends (message recipient), and a pull mode of dynamic / message means that when the user generates a dynamic / message after this will not immediately dynamic / message pushed to their friends or a fan, but the fan until their friends or actively accesses when the SNS website to pull this dynamic / messages. 目前的消息传送方法主要是如下方式:对于粉丝或者好友比较少的用户,该系统采用推送模式传播动态/消息,而对于粉丝或者好友比较多的用户,该系统则采用拉模式推送动态/消息。 Current messaging method is mainly the following manner: For a fan or friend less user, the system uses push mode propagation dynamic / message, and for fans or friends more users, the system is used to pull mode push dynamic / message.

[0004] 对于以上的现有技术,其中存在两个问题:一是,活跃用户(使用SNS网站比较频繁的用户)在整个SNS用户中占比比较小,而非活跃用户由于不经常访问SNS系统,因此,针对这部分人的推送在消耗计算资源的同时,没有得到应有的回报;二是,由于每个热门用户(粉丝或好友比较多的用户)能够被拉取的动态/消息有比较严格的数量限制,而随着SNS 中热门用户数量的增加,关注热门用户或者是热门用户好友的用户越来越多,因此可能会导致热门用户产生的动态/消息时效性过短(热门用户之前产生的动态/消息会很快被新产生的动态替换掉),这样能够看到这些动态/消息的人就会比较少,而由于目前的传播机制,这一点对于活跃用户和非活跃用户来说是一样的。 [0004] For the above prior art, in which there are two problems: First, active users (users use SNS site more frequently) throughout the relatively small proportion of SNS users, rather than active users because they do not often visit SNS system Therefore, for these people while pushing computing resources consumed, do not get due returns; the second is due to dynamic / Top news each user (fans or friends more users) can take a relatively pulled a strict limit on the number, but with the increase in the number of SNS users in popular, popular attention user or the user's friends are popular more and more users, which could lead to popular user-generated dynamic / timeliness of news is too short (Top user before dynamic / generated message will soon be newly generated dynamically replaced), so to see these developments / news people will be relatively small, but due to the current propagation mechanism, which is for active users and inactive users it's the same.

[0005] 综上所述,针对现有技术中存在的消息发送资源消耗大,消息的时效性过短的问题,有必要提出改进的技术方案来解决上述问题。 [0005] In summary, in the prior art for message transmission resource consumption, time-sensitive message is too short, problems, it is necessary to propose an improved technical solution to solve the above problems.

发明内容 SUMMARY

[0006] 本申请为克服上述缺陷,提供一种生成消息索引以便向接收者呈现消息的方法和装置,以解决在消息发送资源消耗大,消息的时效性过短的问题。 [0006] The present application to overcome the above drawbacks, provide a method and apparatus for generating a message for presentation to a consumer index to resolve message transmission resource consumption, time-sensitive short messages problem.

[0007] 根据本申请的一个方面,一种生成消息索引以便向接收者呈现消息的方法,该方法包括:生成待发布的消息;检测所述消息的接收者的状态;以及基于所述接收者的不同状态,在不同的时刻生成与所述消息相对应的消息索引,并将所述消息索引拷贝到所述接收者的消息索引队列中。 Method [0007] In accordance with one aspect of the present disclosure, a method of generating an index message for presentation to a consumer, the method comprising: generating a message to be distributed; detecting the status of a message recipient; the recipient based on different states, generating a message corresponding to the message index at different times, and the copy of the message to the recipient index in the index queue message.

[0008] 根据本申请实施例的方法,还包括:当生成所述消息时接收者的状态为在线时,则在生成所述消息时生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 [0008] The methods according to embodiments of the present application, further comprising: a status of the recipient is online, the message index is generated and the message with the message corresponding to the index when generating the message when the message is generated copy message to the recipient in the index queue.

[0009] 根据本申请实施例的方法,还包括:当生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻仍然为离线,则在所述预定时刻生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 [0009] The methods according to embodiments of the present application, further comprising: generating the message when the recipient is off-line state, if a predetermined timing after the state of the recipient is generated in the message is still offline, then generating said predetermined timing corresponding to the index of the message and the message to the recipient message index copy message index queue.

[0010] 根据本申请实施例的方法,还包括:当生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻之前变为在线,则在所述接收者的状态变为在线时生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 [0010] According to the method of Example of the present application, further comprising: generating the message when the recipient is off-line state, if the state of the recipient before a predetermined time after the message is changed to generate online, in the state of the receiver becomes online when generating the message index and message index corresponding to the copy of the message to the recipient's message queue index.

[0011] 根据本申请实施例的方法,其中,所述预订时刻为每天的预订时刻。 [0011] According to the method of Example of the present application, wherein the reservation time for the reservation time per day.

[0012] 根据本申请实施例的方法,还包括:当所述接收者在线时基于所述消息索引队列中的消息索引将所述消息向所述接收者进行呈现 [0012] According to the method of Example of the present application, further comprising: when the index of the message index based message queue when the message line for presentation to the recipient the recipient

[0013] 根据本申请的另一个方面,一种生成消息索引以便向接收者呈现消息的装置,该装置包括:消息生成模块,用于生成待发布的消息;检测模块,用于检测所述消息的接收者的状态;以及消息索引生成及拷贝模块,用于基于所述接收者的不同状态,在不同的时刻生成与所述消息相对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 [0013] According to another aspect of the present application, means for generating a message index for a message presented to the recipient, the apparatus comprising: a message generating module for generating messages to be distributed; detecting means for detecting the message state recipient; and a message index generating module and a copy, based on different states of the recipient, at a different time to generate the message and message index corresponding to the copy of the message to the receiving index the index's message queue.

[0014] 根据本申请的实施例,在所述装置中,当生成所述消息时接收者的状态为在线,则在生成所述消息时生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 [0014] According to an embodiment of the present application, in the device, online, and then generates a message index corresponding to the message with the message in the message generating state when generating the message recipient index copy to the recipient index message queue.

[0015] 根据本申请的实施例,在所述装置中,当生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻仍然为离线,则在所述预定时刻生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 [0015] According to an embodiment of the present application, in the device, when generating the message recipient is offline state, after a predetermined time if the status of the recipient is generated in the message is still off-line, generating a corresponding message in the message index and the predetermined time copy of the message to the recipient index in the index queue message.

[0016] 根据本申请的实施例,在所述装置中,生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻之前变为在线,则在所述接收者的状态变为在线时生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 When [0016] According to an embodiment of the present application, in the device generating the status message recipient is offline, online before becomes a predetermined timing after the state of the recipient if the message is generated, then the state of the recipient when the message is changed to generate an index line and said message index corresponding to the copy of the message to the recipient's message queue index.

[0017] 与现有技术相比,根据本申请的技术方案,能够通过避免给非活跃用户发送消息来回收这部分计算资源,同时对于活跃用户,他们所关注或者他们的好友所产生的消息,特别是其中的热门用户所产生的消息,这些消息的实效性将会更长,所以活跃用户将能够比非活跃用户看到更多的动态。 [0017] Compared with the prior art, the technical solution according to the present application, it is possible to recover these computing resources to avoid inactive user sends a message, active users for the same time, they have their friends or message generated interest, in particular message in which popular user generated, the effectiveness of these messages will be longer, so the active users will be able to see more dynamic than non-active users. 对于在线用户可以及时的看到他们关注或者他们好友产生的消息,对于离线用户他们也不会错过他们关注或他们好友产生的消息。 For online users can see the message they are concerned about their friends or produced in a timely manner, for the off-line users that they will not miss the message they are concerned about their friends or produced.

附图说明 BRIEF DESCRIPTION

[0018] 此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。 [0018] The drawings described herein are provided for further understanding of the present disclosure, constitute part of this application, exemplary embodiments of the present disclosure used to explain the embodiment of the present application, without unduly limiting the present disclosure. 在附图中: In the drawings:

[0019] 图1是根据本申请实施例的一种生成消息索引以便向接收者呈现消息的方法的流程图; [0019] FIG. 1 is a flowchart of a method according to an embodiment of generating a message index for presentation of the present application message to the recipient;

[0020] 图2是根据本申请实施例的实时推送模式的流程图; [0020] FIG 2 is a flowchart of real-time push mode embodiment of the present application embodiment;

[0021] 图3是根据本申请实施例的离线拉取模式的流程图; [0021] FIG. 3 is a flowchart of off-line mode according to an embodiment of the present application pulling;

[0022] 图4是根据本申请实施例的实时拉取模式的流程图; [0022] FIG. 4 is a flowchart of real-time pull mode in accordance with an embodiment of the present application;

[0023] 图5是根据本申请实施例的实时拉取模式和离线拉取模式的子系统的示意图;以及 [0023] FIG. 5 is a schematic view of the subsystem pulling pull mode in accordance with the real-time mode and off-line embodiment of the present application; and

[0024] 图6是根据本申请实施例的一种生成消息索引以便向接收者呈现消息的装置的结构框图。 [0024] FIG. 6 is a block diagram of the apparatus according to one embodiment of generating a message index for presentation of the present application message to the recipient.

具体实施方式 Detailed ways

[0025] 本申请的主要思想在于,通过对不同状态的消息接收者在不同时刻生成与消息对应的消息索引,以便向接收者进行消息呈现,这减少了消息发送中的资源消耗,提高了消息的时效性,使得用户得到的消息更多,大大提升了用户体验。 [0025] The main idea of ​​the present application is that the recipient of the message by the message index different states at different times to generate a corresponding message, a message for presentation to the recipient, which reduces the resource consumption of message transmission, the message improved the timeliness of such information users get more, greatly enhance the user experience.

[0026] 为了更好地理解本申请,应当注意,根据本发明的实施例,术语"社交网站"或"社交网络"(social network)是指向对特定对象感兴趣或只是一起"闲逛"的人们提供虚拟社区的Web站点。 [0026] For a better understanding of the present application, it should be noted that, according to embodiments of the present invention, the term "social networking site" or "social networking" (social network) is a pointer to a specific object or people interested with just "hang" in It provides a virtual community Web site. 成员通过语音、聊天、即时消息、视频会议和博客等进行通信,并且该服务通常向成员提供了联系其他成员的好友的方法。 Members communicate through voice, chat, instant messaging, video conferencing and blog, etc., and the service typically provides a link to other members of the Friends of methods to members. 这种站点还可以用作亲自会面的媒介。 This site can also be used to personally meet the media. "社交网站"或"社交网络"是针对"虚拟社区"(一群人使用因特网彼此之间就任何事乃至所有事进行通信)的21世纪术语。 "Social networking site" or "social networking" is the term of the 21st century (communicate with each other in respect of any matter or even a group of people using the Internet for all things) for the "virtual community."

[0027] 社交网络向其用户(也可称为成员)提供与该社交网络的其他成员进行通信和交互的能力。 [0027] Social networks provide the ability to communicate and interact with other members of the social network to its users (also referred to as a member). 在使用中,成员加入社交网络,继而向其希望连接的多个其他成员添加连接。 In use, the members join the social network, then adding thereto a plurality of connector want to connect other members. 连接可以由成员显式地添加,例如成员选择将要成为好友的特定其他成员;或者基于成员的共同特征(例如,相同教育机构的校友)而由社交网络自动创建。 Connection can be explicitly added by members, such as members choose to become members of certain other friends; or based on common characteristics of the members (for example, alumni of the same educational institution) automatically created by the social network. 如在此使用的,术语"好友" 是指成员通过该网站与之形成连接、关联或者关系的任何其他成员。 As used herein, the term "friend" refers to a member connected to any other member with the formation of, or association relation by the site. 社交网络中的连接通常是双向的(但这不是必须的),因此,术语"成员"、"用户"、和"好友"可能依赖于参照系。 Social network connection is usually two-way (but not required), therefore, the term "member", "user", and "friends" may depend on the frame of reference. 另夕卜,术语"好友"并非必须要求成员在现实生活中实际上是朋友(在成员之一是商户或者其他实体时,一般更是这样);其仅表明在社交网络中存在的连接关系。 Bu the other evening, the term "friend" is not required to be members in real life actually friends (one is a member of the merchant or other entity, usually more so); it only indicates that the connection relationship exists in a social network.

[0028] 此外,在本申请中,发出动态/消息的用户可以称为发布者,而接收该动态/消息的用户/成员/好友可以称为接收者。 User [0028] Further, in the present application, issue dynamic / publisher message may be referred to, and receiving the dynamic / message / member / friend may be referred to the recipient. 可以理解,发布者和接收者是相对而言的,也即是说, 对于某一条动态/消息而言,A用户是发布者,B用户是接收者;但是,对于另一条动态/消息而言,A用户可能是接收者、B用户可能是发布者。 It will be appreciated, the publisher and receiver are relative, that is to say, one for a dynamic / message concerned, A publisher who is the user, B is the recipient user; however, for another dynamic / message in terms of , A user may be the recipient, B users may be the publisher.

[0029] 现在,将在下文中参考附图更全面地描述本发明的示例实施例,附图中示出了本发明的某些而不是所有实施例。 [0029] Now, with reference to the accompanying drawings hereinafter be more fully described with exemplary embodiments of the present invention, is shown in some, but not all embodiments of the present invention, the accompanying drawings. 实际上,本发明可以体现为很多不同的形式并且不应当解释为限于在此阐明的实施例;相反,提供这些实施例从而使得本公开内容将满足适用的法律要求。 Indeed, the invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will satisfy applicable legal requirements. 贯穿说明书,类似的参考标号指代类似的元素。 Throughout the description, like reference numerals refer to like elements throughout. 基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。 Based on the embodiments of the present application, all other embodiments to those of ordinary skill in the art without any creative effort shall fall within the scope of the present application.

[0030] 针对现有技术中消息发送资源消耗大、消息的时效性过短的问题,本申请的实施例提供一种生成消息索引以便向接收者呈现消息的方法,图1是根据本申请实施例的一种生成消息索引以便向接收者呈现消息的方法的流程图,该方法包括以下步骤。 [0030] The prior art for message transmission resource consumption, time-sensitive message is too short, problems, the present embodiment provides a method of generating an index message to the recipient of the message for presentation, FIG. 1 is an embodiment of the present application a method of generating an index message flowchart of a method embodiment for presenting the message to the recipient, the method comprising the following steps.

[0031] 在步骤S101处,生成待发布的消息。 [0031] In step S101, the generated message to be distributed. 用户在使用SNS网站时,如果要发布自己的消息,就是在SNS系统中指定位置输入自己要发布的消息并点击发布,用户在该指定位置输入自己要发布的消息,即可以是用户自己输入的,也可以是用户转发而输入的。 Users in the use of SNS website, if you want to publish your own news is specified in the SNS system position input message they have to publish and click Publish, the user enters the message they have to release at the specified location, which can be entered by the user , and it may also be forwarded user input. 这时系统会记录下用户输入的消息,并生成一条待发布的消息。 The system will record the message input by the user, and generates a message to be distributed. 接下来,该方法进行到步骤S102。 Next, the method proceeds to step S102.

[0032] 在步骤S102处,检测所述消息的接收者的状态。 [0032] In step S102, the status of the recipient of the message is detected. 消息发布的时候,会对该消息的接收者状态进行检测,检测消息接收者的状态是在线还是离线,再依据接收者不同的状态进行不同的处理。 When news release, will be the recipient of the status message detection, detection message recipient status is online or offline, and then handled differently depending on the recipient states.

[0033] 在步骤S103处,基于所述接收者的状态,在不同时刻生成与所述消息相对应的消息索引,并将所述消息索引拷贝到所述接收者的消息索引队列中。 [0033] In step S103, the based on the status of the recipient, generating a message corresponding to the message index at different times, and the message is copied to index the index queue message in the recipient. 这里的接收者可以是消息发布者的粉丝或好友。 Here is the recipient of a message can be a publisher of fans or friends. 在消息发布者发布消息时,接收者的状态为在线状态或是离线状态,则基于不同的状态,可以在不同的时刻生成对应消息的消息索引,并将所述消息索引拷贝到所述接收者的消息索引队列中,基于接收者的状态不同,生成及拷贝的时刻也不同,就形成了不同的生成及拷贝方式。 When the message publisher publishes a message, the recipient status is online or offline, on a different state, may generate a message index corresponding to the message at different times, and copies the message to the recipient index message index queue, based on the state of the different receivers, and copy generation timing is different, is formed and the different generation copy mode. 其中,不同的生成及拷贝方式可以包括实时推送模式、离线拉取模式以及实时拉取模式或以上模式的相互组合等。 Wherein the different embodiment may include copy generation and real-time push, pull off mode and real mode pull mode with each other or a combination thereof, and the like. 下面结合图2、图3和图4分别对本申请的不同模式做进一步的详细说明。 Below in connection with FIG. 2, 3 and 4 are different modes of the present disclosure further detail.

[0034] 参考图2,图2是根据本申请实施例的实时推送模式的流程图。 [0034] Referring to FIG 2, FIG. 2 is a flowchart of real-time application according to the present embodiment push mode. 在图2中步骤S201 与图1中的步骤S101类似,生成待发布的消息。 Similar steps S201 S101 in FIG. 2 and FIG. 1 in step, generating the message to be distributed. 由消息发布者进行消息的输入以进行发送, 在步骤S201处,根据消息发布者输入的消息生成待发布的消息。 Message input by the message publisher to be transmitted, at step S201, generates a message to be distributed according to the message input by the message distribution.

[0035] 在步骤S202处,系统检测接收者的状态,并判断消息发布者发布消息时接收者的状态是否为在线状态。 [0035] In the state at step S202, the detection system of the recipient, and the message is determined when publishers publish message recipient state whether online. 如果接收者的状态为在线状态,则以实时推送的模式对消息索引进行生成及拷贝。 If the status of the recipient is online, real-time push mode places the message copies and index generation. 即当生成所述消息时接收者的状态为在线状态,则在生成消息时生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 That is, when generating the status message recipient is online and generating a corresponding message to the message generating a message when the message index index and copying message to the recipient in the index queue.

[0036] 接着进行到步骤S203,生成与所述消息对应的消息索引。 [0036] then proceeds to step S203, the index generating a message corresponding to the message. 当消息发布者发布消息时,系统会把消息内容存储在数据库中,这些存储下来的消息就是消息本体。 When the message publisher announced that the system will store the message content in the database, these stored down the message is the message body. 在要对消息进行发送时,会根据消息本体生成与之对应的消息索引,发送时只需对消息索引进行生成及拷贝,不需要对消息本体直接发送,消息索引的大小很小,这样就大大节约了发送的资源, 对于需要对多个接收者进行消息发送的,则将会生成多个消息索引的副本,用来将消息发送个多个接收者。 When the message to be transmitted is generated according to the message body corresponding message index, the message index for simply generating and sending copies need not be transmitted directly to the body of the message, the message index is small in size, thereby greatly saving transmission resources, the need for a message sent to multiple recipients, will generate multiple copies of the message index, used to send a message to multiple recipients.

[0037] 生成消息索引后进行到步骤S204,将所述消息索引拷贝到所述接收者的消息索引队列中。 [0037] proceeds to step S204 after generating a message index, the message index copy to the recipient index message queue. 接收者能看到的消息条数和消息内容取决于接收者消息索引队列中保存有哪些消息索引。 The recipient can see the message bar depend on the number and content of the message recipient of the message queue index Index which messages saved there.

[0038] 然后进行到步骤S205,基于所述消息索引,将所述消息向所述接收者进行发送。 [0038] and then proceeds to step S205,, transmits the message to the recipient based on the message index. 依据消息索引从数据库中找到对应的消息本体,再以一定的格式将消息本体向接收者呈现, 最终完成消息发送的工作。 Find the corresponding body of the message from the database according to the news index, and then to a certain format the message body will appear to the recipient, the final completion of the work of messages sent.

[0039] 接下来对图3进行参考,图3是根据本申请实施例的离线拉取模式的流程图。 [0039] Next, with reference to FIG. 3, FIG. 3 is a flowchart of off-line mode according to an embodiment of the present application pull. 在图3中步骤S301与图1中的步骤S101类似,生成待发布的消息。 In step S301 is similar to FIG. 1 S101 in FIG. 3 step, generating the message to be distributed. 由消息发布者进行消息的输入以进行发送,在步骤S301处,根据消息发布者输入的消息,生成待发布的消息。 Message input by the message publisher to be transmitted, in step S301, the message according to the message input by the publisher to generate a message to be published.

[0040] 在步骤S302处,系统检测接收者的状态,并判断消息发布者发布消息时接收者的状态是否为在线状态。 [0040] In the state at step S302, the detection system of the recipient, and the message is determined when publishers publish message recipient state whether online. 如果接收者的状态为离线状态,则进行步骤S303,判断接收者的状态在消息发布后的预定时刻之前是否变为在线。 If the status of the recipient is offline, for step S303, the receiver determines a state before a predetermined time after the message is changed into an online publishing. 如果接收者在消息发布后的预定时刻之前一直为离线状态,则以离线拉取的模式对消息索引进行生成及拷贝。 If the receiver before a predetermined time after the release message has been offline, it places the pulled offline mode message and copy generation index. 即当生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻仍然为离线,则在所述预定时刻生成与所述消息对应的消息索引,并将所述消息索引拷贝到所述接收者的消息索引队列中,当所述接收者的状态变为在线时,基于所述消息索引,将所述消息向所述接收者进行呈现。 That is, when generating the message index message recipient is offline state, after a predetermined time if the status of the recipient is generated in the message is still off-line, the message is generated corresponding to the predetermined time and copying the message to the recipient index in the index queue message, when the recipient goes online state based on the message index, the message for presentation to the recipient.

[0041] 根据本申请的实施例,预订时刻可以为每天的预订时刻,例如,每天的零点,或者预定时刻可以选择为系统负担小的时刻,这样在预定时刻为离线用户进行消息发送时会减少系统资源的压力,让消息发送效果更好。 Reduces to [0041] According to embodiments of the present application, the reservation time may be a reservation time each day, e.g., zero, or a predetermined time of day can be selected as a smaller burden on the system time, so that a message sent to an offline user at a predetermined timing pressure system resources, so messaging better. 在本申请中预定时刻还可以是任意适当的时刻, 可以为间隔不同时间段的时刻,也可以为间隔固定时间段的时刻。 In the present application, the predetermined timing may be any suitable time interval may be a different time period, the time interval may be a fixed period of time. 另外,预定时刻也可以是连续的时刻,即离线拉取模式可以一直处于运行状态,这样可以减少实时拉取模式所需要获取的数据量,从而加速系统的响应时间,但也会给整个系统带来额外的负载。 Further, the predetermined timing may be a continuous time, i.e. off-line pull mode has been running, thus reducing the amount of data in real time pull mode needs to be acquired, so that the acceleration response time of the system, but also to the entire system with to the additional load.

[0042] 消息发布后,因为现有的技术中对消息保存的时间和数目都有限,如果接收者离线的时间过长,此消息会被新的消息或太多的消息所替换,那么在接收者下一次在线的时候就无法看到此条消息,于是在本申请中会在预定时刻对接收者离线的这段时间中需要接收的消息进行离线拉取,并保存消息索引,这样在接收者下一次在线时就能看到他在离线时他所关注或他好友的所有产生的消息。 [0042] After the release message, since the time and the number of the prior art are limited to the stored message, if the recipient is off-line for too long, this message will be replaced with a new message or message too, if the receiving the next line when a person can not see this message, we will for this time then the receiver needs to receive offline messages to offline pulling at a predetermined timing in the present application, the index and save the message, so the recipient the next time will be able to see all the messages he produced his concerns while offline or when his friends online. 具体而言,在步骤S303判断接收者的状态在消息发布后的预定时刻之前没有变为在线,则该方法进行到步骤S304。 Specifically, in the state of step S303 is determined at the receiver before a predetermined time after the release message does not become online, the method proceeds to step S304.

[0043] 在步骤S304处,在所述预定时刻生成与所述消息对应的消息索引。 [0043] In step S304, the generated message to the message index corresponding to said predetermined time. 例如,可以在每天的预定时刻对接收者所要接收的消息都会进行拉取工作,于是对于每条消息,在该预定时刻就会生成与之对应的消息索引。 For example, you can pull the work recipient message will be received at a predetermined time each day, then for each message, it will generate a message index corresponding to the predetermined time.

[0044] 然后进行到步骤S305,将所述消息索引拷贝到所述接收者的消息索引队列中。 [0044] and then proceeds to step S305, the copy of the message to the recipient index in the index queue message. 可参照步骤S204。 You can refer to step S204.

[0045] 接着进行到步骤S306,当所述接收者的状态变为在线时,基于所述消息索引,将所述消息向所述接收者进行呈现。 [0045] then proceeds to step S306, the state when the receiver becomes online, based on the message index, the message for presentation to the recipient. 可参照步骤S205。 You can refer to step S205. 这样也就完成了消息的发送工作。 Such work is finished sending the message.

[0046] 参考图4,图4是根据本申请实施例的实时拉取模式的流程图。 [0046] Referring to FIG 4, FIG. 4 is a flowchart of the present application real pull mode embodiment. 在图3中步骤S401 与图1中的步骤S101类似,生成待发布的消息。 In step S401 is similar to FIG. 1 S101 in FIG. 3 step, generating the message to be distributed. 由消息发布者进行消息的输入以进行发送, 在步骤S401处,根据消息发布者输入的消息,生成待发布的消息。 Message input by the message publisher to be transmitted, in step S401, the message according to the message input by the publisher to generate a message to be published.

[0047] 在步骤S402处,系统检测接收者的状态,并判断消息发布者发布消息时接收者的状态是否为在线状态。 [0047] In the state of step S402, the system detects the recipient of the message and determines the publisher when publishing the message recipient state whether online. 如果接收者的状态为离线状态,则进行步骤S403,判断接收者的状态在消息发布后的预定时刻之前是否变为在线。 If the status of the recipient is offline, for step S403, the receiver determines a state before a predetermined time after the message is changed into an online publishing. 如果接收者在消息发布后的预定时刻之前变为在线状态,则以实时拉取的模式对消息索引进行生成及拷贝。 If the receiver before a predetermined time after the message distribution becomes online, real-time places the pull mode and a message index generation copy. 即当生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻之前变为在线,则在所述接收者的状态变为在线时,生成与所述消息对应的消息索引,并将所述消息索引拷贝到所述接收者的消息索引队列中,基于所述消息索引将所述消息向所述接收者进行呈现。 That is, when generating the message recipient is offline state, if the state of the recipient before a predetermined time after the message is changed to generate online, then the state of the receiver becomes online, generates corresponding to the message and message index, said message index and copying the message to the recipient in the index queue, the message for presentation to the recipient of the message based on the index.

[0048] 如果接收者从离线状态变为在线状态所间隔的时间比较短,即在预定时刻之前就变为在线状态,这时接收者所要接收的消息并没有超过预定的保存时间和保存数目,所以可以通过实时拉取的模式对消息索引进行生成及拷贝。 [0048] If the receiver from the offline state to the online state time interval is relatively short, i.e., before the predetermined time becomes online, then the recipient and the message to be received does not exceed the predetermined number of storage time and storage, and copying can be performed to generate a real-time message index pull mode. 具体而言,在步骤S403判断接收者的状态在消息发布后的预定时刻之前已经变为在线,则该方法进行到步骤S404。 Specifically, in the state of step S403 is determined at the receiver before a predetermined time after the release message has become online, the method proceeds to step S404.

[0049] 在步骤S404处,在所述接收者的状态变为在线时,生成与所述消息对应的消息索引。 [0049] At step S404, the state when the recipient goes online, it generates a message with the message corresponding to the index.

[0050] 然后进行到步骤S405,将所述消息索引拷贝到所述接收者的消息索引队列中。 [0050] and then proceeds to step S405, the copy of the message to the recipient index in the index queue message. 可参照步骤S204。 You can refer to step S204.

[0051] 接着进行到步骤S406,基于所述消息索引,将所述消息向所述接收者进行发送。 [0051] Next to step S406,, transmits the message to the recipient based on the message index. 可参照步骤S205。 You can refer to step S205. 这样也就完成了该消息的发送工作。 Such work is finished sending the message.

[0052] 对于上述实时推送模式、离线拉取模式和实时拉取模式在消息索引生成及拷贝的方法中也可以相互协作、相互补充。 [0052] For the above-described real-time push, pull off the pull mode and real mode may cooperate with each other in the process of generating a message index and the copy, complement each other. 例如,图5中所示的消息索引生成及拷贝方法。 For example, the index information shown in FIG. 5 and copy generation method. 图5是根据本申请实施例的实时拉取模式和离线拉取模式的子系统的示意图。 FIG 5 is a schematic diagram of the subsystem real-time mode of pulling and pulling off mode embodiment of the present application.

[0053] 在图5中所示的系统中,离线拉取模式子系统采用离线拉取模式进行消息发送, 实时拉取模式子系统采用实时拉取模式进行消息发送。 [0053] In the system shown in FIG. 5, the offline mode subsystem pull off line pull mode messaging, real-time real-time mode subsystem pulling pull mode messaging.

[0054] 离线拉取模式子系统可以在某个固定时间(例如,在每天的某个固定时刻,例如, 系统负担较轻的时刻)开始运行以获取相关消息数据,将消息索引生成及拷贝给那些在实时推送模式下没有接收到消息的接收者,然后将每个接收者对于其粉丝和好友的最后一次拉取的时间信息记录下来。 [0054] Offline pull mode subsystem can start running at a fixed time (e.g., every day at a fixed time, e.g., less taxing system time) to obtain the relevant message data, and copies the message to the index generator for recipients who received the message is not in real-time push mode, and then finally the fans for each recipient and a pull friends recorded time information.

[0055] 接收者状态变为在线后,开始执行实时拉取模式子系统,由于预定时刻的设定,所以接收者变为在线的时间可能为两次离线拉取子系统执行时间的中间,这样在第一次执行离线拉取子系统到接收者变为在线的这一段时间内用户产生的消息就由实时拉取子系统进行获取,这时,实时拉取子系统就会根据上面离线拉取子系统记录下来的接收者最后一次拉取的时间信息,进行消息索引的获取。 [0055] The receiver becomes online state, begin pulling real mode subsystem, since the predetermined time is set, so that the receiver becomes online time may be two intermediate sub pulling off execution time, so in the first execution subsystem pulling off message to the recipient goes online within this period of time to user generated by the real-time acquisition subsystem pulled this time, the real-time subsystems will pull off according to the above pulling subsystem recipient of the last recorded time information pulled, the message index for acquisition. 这样实时拉取子系统获得的消息索引连同离线拉取子系统获得的消息索引都在接收者的消息索引队列中,再根据消息索引队列中的消息索引向接收者进行消息呈现。 Such real-time message index subsystem pulled off together with the obtained message index obtained subsystem pulling the index queue in the message recipient, the message is then presented to the recipient index index message according to the message queue.

[0056] 由于离线拉取模式子系统的存在,使得需要经过实时拉取模式子系统拉取的数据量就会比较有限,从而提高了整个系统的性能和稳定性。 [0056] Since the present mode subsystem pull off such that the amount of data in real time through the sub pulling pull mode will be limited, thereby improving overall system performance and stability.

[0057] 上述只是本申请的一个实施例,本申请还有其他实施例的变形,对于多种发送模式的相结合或单个执行以达到消息发送的目的都属于本申请的保护范围。 [0057] The above-described embodiment is just one embodiment of the present application, the present application there are other variations of the embodiment, for the purpose of combining a plurality of transmission modes or a single execution to achieve the messages sent are within the scope of the present application.

[0058] 根据本申请的一个实施例,本申请还提供一种生成消息索引以便向接收者呈现消息的装置。 [0058] According to one embodiment of the present application, the present application also provides an apparatus for generating an index message to the recipient of the message presented. 具体可以参考图6,图6是根据本申请实施例的一种生成消息索引以便向接收者呈现的装置的结构框图。 Referring specifically to FIG. 6, FIG. 6 is a block diagram generating apparatus according to one embodiment of the message index for presentation to the recipient application. 该装置可以包括:消息生成模块10、检测模块20和消息索引生成及拷贝模块30,消息呈现模块70。 The apparatus may comprise: a message generating module 10, and a detecting module 20 and a message index generation copy module 30, rendering module 70 message. 消息生成模块10可以用于生成待发布的消息。 Message generation module 10 may generate a message to be distributed. 消息发布者进行消息内容输入并点击发布后,系统会根据输入的内容生成待发布的消息。 After the news publisher input for message content and click Post, the system generates a message to be issued based on the contents of the input.

[0059] 检测模块20可以用于检测所述消息的接收者的状态。 [0059] The status detection module 20 may be used to detect the recipient of the message. 消息发布的时候,会对该消息的接收者状态进行检测,检测用户的状态是在线还是离线,再依据接收者不同的状态进行不同的处理。 When news release, will be the recipient of the status message detection, detection of the user's status is online or offline, and then handled differently depending on the recipient states.

[0060] 消息索引生成及拷贝模块30可以用于基于所述接收者的状态,在不同时刻生成与所述消息相对应的消息索引,并将所述消息索引拷贝到所述接收者的消息索引队列中。 Message Index [0060] message and a copy of the index generating module 30 may be used based on the state of the receiver, generating a message corresponding to the message index at different times, and a copy of the message to the recipient index queue. 得到待发布的消息后,根据接收者的状态,接收者是否在线或消息发布后的预定时刻之前接收者是否变为在线状态,基于接收者不同的状态,可以在不同的时刻生成对应消息的消息索引,并将所述消息索引拷贝到所述接收者的消息索引队列中,基于接收者的状态不同, 生成及拷贝的时刻也不同,就形成了不同的生成及拷贝方式。 After obtaining the message to be distributed, according to the state of the receiver, whether the receiver before a predetermined time after the release of the line or whether the recipient message goes online state based on the state of different receivers, a corresponding message may be generated at different times of message index, the message index and copying the message to the recipient in the index queue, based on the state of the different receivers, and copy generation timing is different, is formed and the different generation copy mode. 不同生成及拷贝方式包括实时推送模式、离线拉取模式以及实时拉取模式或以上模式的相互组合等。 And generating a different copy mode embodiment comprises a real-time push, pull off mode and real mode pull mode with each other or a combination thereof, and the like.

[0061] 消息呈现模块70可以用于当所述接收者在线时,基于所述消息索引队列中的消息索引将所述消息向所述接收者进行呈现。 [0061] The message presentation module 70 may be used when the recipient is logged in, the message index based on the index message in the message queue for presentation to the recipient. 当接收者变为在线时,根据接收者消息索引队列中的消息索引,到数据库中找到与之对应的消息本体,再以一定的格式将消息本体向接收者进行呈现。 When the receiver becomes online, the message according to the message recipient index in the index queue, found in the database corresponding to the message body, and then a certain format for presentation to the recipient the message body.

[0062] 根据本申请的实施例,其中,消息索引生成及拷贝模块30还可以包括:实时推送模块40、离线拉取模块50和实时拉取模块60。 [0062] According to an embodiment of the present disclosure, wherein the message index generating module 30 and a copy may further include: real-time push module 40, module 50 and the pulling off pulling module 60 in real time.

[0063] 实时推送模块40可以被配置成当生成所述消息时接收者的状态为在线,则生成与所述消息对应的消息索引,并将所述消息索引拷贝到所述接收者的消息索引队列中。 [0063] Real-time push module 40 may be configured to generate the message when the recipient's online status, generating a message index corresponding to the message, and copies the message to the recipient index message index queue.

[0064] 离线拉取模块50可以被配置成当生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻仍然为离线,则在所述预定时刻生成与所述消息对应的消息索引,并将所述消息索引拷贝到所述接收者的消息索引队列中。 [0064] pulling off module 50 may be configured to generate the message when the recipient is off-line state, if a predetermined timing after the state of the recipient is generated in the message is still offline, then the generating a message with predetermined timing corresponding to the message index, the message index and the index queue are copied to the message recipient.

[0065] 实时拉取模块60可以被配置成生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻之前变为在线,则在所述接收者的状态变为在线时,生成与所述消息对应的消息索弓丨,并将所述消息索引拷贝到所述接收者的消息索引队列中。 [0065] The real-time status pulling module 60 may be configured to generating the message recipient is offline, online changed before a predetermined time after the state of the recipient if the message is generated, then in the the receiver becomes online state, generate a message corresponding to the message index bow Shu, and copies the message to the message index the index queue in the recipient.

[0066] 由于本实施例的装置所实现的功能基本相应于前述图1-图5所示的方法实施例, 故本实施例的描述中未详尽之处,可以参见前述实施例中的相关说明,在此不做赘述。 [0066] Since the apparatus of this embodiment substantially correspond to the functions implemented in the method illustrated in Figures 1-5 embodiment, it is not exhaustive of the embodiments described in the present embodiment, reference may be related to the foregoing embodiments described , not be described herein.

[0067] 本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块或单元。 [0067] The present application may be described in the general context of computer-executable instructions, executed by a computer, such as program modules or units. 一般地,程序模块或单元可以包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。 Generally, program modules or units may include performing particular tasks or implement particular abstract data types routines, programs, objects, components, data structures, and the like. 一般来说,程序模块或单元可以由软件、硬件或两者的结合来实现。 Generally, program modules or units may be implemented by a combination of software and hardware, or both. 也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。 This application may be practiced in a distributed computing environment, the distributed computing environments, where tasks are performed by remote processing devices that are linked through a communications network. 在分布式计算环境中,程序模块或单元可以位于包括存储设备在内的本地和远程计算机存储介质中。 In a distributed computing environment, program modules or units may be located in both local and remote computer storage media including memory storage devices in.

[0068] 最后,还需要说明的是,术语"包括"、"包含"或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。 [0068] Finally, it should be noted that the terms "comprises", "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus include only those commodities elements, but also includes other elements not explicitly listed, or further includes elements of the process, method, article, or device inherent. 在没有更多限制的情况下,由语句"包括一个……"限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。 Without more constraints, by the wording "include a ......" defined does not exclude the existence of additional identical elements in the process comprising the element, method, article, or apparatus.

[0069] 本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其主要思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包括在本申请的权利要求范围之内。 [0069] As used herein the specific examples of the application of the principles of the present disclosure and embodiments are set forth in the foregoing description of the embodiments of the present application understood that only the main ideas and methods to help; Meanwhile, those of ordinary skill in the art, According to the application of thought, in the specific embodiments and the scope of application may make modifications at any modification within the spirit and principle of the present application, the, equivalent replacements and improvements should be included in this application within the scope of the claims. 综上所述,本说明书内容不应理解为对本申请的限制。 Therefore, the specification shall not be construed as limiting the present disclosure.

[0070] 本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。 [0070] skilled in the art should understand that the embodiments of the present disclosure may provide a method, system, or computer program product. 因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Accordingly, the present disclosure may be of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in conjunction with the form of software and hardware aspects. 而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 Further, the present application may take the form of a computer program product embodied in one or more of which comprises a computer usable storage medium having computer-usable program code (including but not limited to, disk storage, CD-ROM, optical memory, etc.).

[0071] 在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、 网络接口和内存。 [0071] In a typical configuration, computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory. 内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。 Memory may include a computer-readable medium volatile memory, a random access memory (RAM) and / or other forms of nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM). 内存是计算机可读介质的示例。 Are examples of computer-readable memory medium.

[0072] 计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。 [0072] Computer-readable media includes both permanent and non-permanent, removable and non-removable media may be accomplished by any method or technology for storing information. 信息可以是计算机可读指令、数据结构、程序的模块或其他数据。 Information may be computer-readable instructions, data modules, or other data structures, program. 计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、 动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPR0M)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。 Examples of computer-storage media include, but are not limited to, phase change memory (the PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read only memory (EEPR0M), flash memory or other memory technology, CD-ROM read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, or magnetic disk storage or other magnetic storage devices, any other non-transmission medium, may be used to store information can be accessed by computing device. 按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。 As defined herein, computer-readable media does not include temporary computer-readable medium (transitory media), and a modulated data signal such as a carrier.

[0073] 以上所述仅为本申请的实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。 [0073] The embodiments described above are only embodiments of the present disclosure, but not intended to limit the present application, those skilled in the art, the present application may have various changes and variations. 凡在本申请的精神和原则之内,所作的任何修改、 等同替换、改进等,均应包含在本申请的权利要求范围之内。 Any modification within the spirit and principle of the present application, the, equivalent substitutions, improvements should be included within the scope of the claims of the present application.

Claims (10)

  1. 1. 一种生成消息索引以便向接收者呈现消息的方法,其特征在于,该方法包括: 生成待发布的消息; 检测所述消息的接收者的状态;以及基于所述接收者的不同状态,在不同的时刻生成与所述消息相对应的消息索引,并将所述消息索引拷贝到所述接收者的消息索引队列中。 A method for generating a message index for presentation to the recipient of the message, characterized in that, the method comprising: generating a message to be published; for detecting the state of the message recipient; and based on different states of the recipient, generating a message corresponding to the message index at different times, and the copy of the message to the recipient index in the index queue message.
  2. 2. 根据权利要求1所述的方法,其特征在于,所述消息索引的生成及拷贝的步骤包括: 当生成所述消息时接收者的状态为在线,则在生成所述消息时,生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 2. The method according to claim 1, wherein the step of generating a copy of the message and the index comprises: generating the status message when the recipient is online, at the time of generating the message, generating message index corresponding to the message and copies the message to the recipient index in the index queue message.
  3. 3. 根据权利要求1所述的方法,其特征在于,所述消息索引的生成及拷贝的步骤包括: 当生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻仍然为离线,则在所述预定时刻生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 3. The method according to claim 1, wherein the step of generating a copy of the message and the index comprises: a state when generating the message recipient is offline state if the recipient of the a predetermined time after the message is generated off-line still, and generating a corresponding message in the message index and the predetermined time copy of the message to the recipient index in the index queue message.
  4. 4. 根据权利要求1所述的方法,其特征在于,所述消息索引的生成及拷贝的步骤包括: 当生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻之前变为在线,则在所述接收者的状态变为在线时生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 4. The method according to claim 1, wherein the step of generating a copy of the message and the index comprises: a state when generating the message recipient is offline state if the recipient of the becomes online, then the state becomes the recipient when the message generating line of the message index and the index corresponding to the copy of the message to the recipient's message queue index before a predetermined time after the message is generated .
  5. 5. 根据权利要求3或4所述的方法,其特征在于,所述预订时刻为每天的预订时刻。 The method according to claim 3 or claim 4, wherein the reservation time for the reservation time each day.
  6. 6. 根据权利要求2-4所述的方法,其特征在于,还包括:当所述接收者在线或者所述接收者从离线变成在线时时基于所述消息索引队列中的消息索引将所述消息向所述接收者进行呈现。 6. The method according to claim 2-4, characterized in that, further comprising: when the recipient online or off-line from the recipient into the message index from time to time based on the message queue of the index message for presentation to the recipient.
  7. 7. -种生成消息索引以便向接收者呈现消息的装置,其特征在于,该装置包括: 消息生成模块,用于生成待发布的消息; 检测模块,用于检测所述消息的接收者的状态;以及消息索引生成及拷贝模块,用于基于所述接收者的不同状态,在不同的时刻生成与所述消息相对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 7. - kind of message means generates an index for presentation to the recipient of the message, wherein, the apparatus comprising: a message generating module configured to generate a message to be published; a detection module for detecting a state of the recipient of the message ; and a message index generation and copy module, based on different states of the recipient, generated at different times with the message and a message index corresponding to the copy of the message to the recipient index in the index queue message in.
  8. 8. 根据权利要求7所述的装置,其特征在于,所述消息索引生成及拷贝模块还用于: 当生成所述消息时接收者的状态为在线,则在生成所述消息时生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 8. The apparatus according to claim 7, wherein said message index generation and copy module further configured to: when generating the state of generating the message recipient is online, then the message is generated said message index corresponding to the message and copies the message to the recipient index in the index queue message.
  9. 9. 根据权利要求7所述的装置,其特征在于,所述消息索引生成及拷贝模块还用于: 当生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻仍然为离线,则在所述预定时刻生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 9. The apparatus according to claim 7, wherein said message index generation and copy module further configured to: when generating the status message recipient is offline, if the state of the recipient a predetermined time after the message is generated off-line still, and generating a corresponding message in the message index and the predetermined time copy of the message to the recipient index in the index queue message.
  10. 10. 根据权利要求7所述的装置,其特征在于,所述消息索引生成及拷贝模块还用于: 当生成所述消息时接收者的状态为离线,如果所述接收者的状态在所述消息被生成之后的预定时刻之前变为在线,则在所述接收者的状态变为在线时生成与所述消息对应的消息索引并将所述消息索引拷贝到所述接收者的消息索引队列中。 10. The apparatus according to claim 7, wherein said message index generation and copy module further configured to: when generating the status message recipient is offline, if the state of the recipient becomes online, then the state becomes the recipient when the message generating line of the message index and the index corresponding to the copy of the message to the recipient's message queue index before a predetermined time after the message is generated .
CN 201310149223 2013-04-26 2013-04-26 Method and device for generating message indexes so as to present messages to receiver CN104123296A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201310149223 CN104123296A (en) 2013-04-26 2013-04-26 Method and device for generating message indexes so as to present messages to receiver

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN 201310149223 CN104123296A (en) 2013-04-26 2013-04-26 Method and device for generating message indexes so as to present messages to receiver
HK15101919A HK1201602A1 (en) 2013-04-26 2015-02-26 Method and device for generating message index for convenience of presenting message to recipient

Publications (1)

Publication Number Publication Date
CN104123296A true true CN104123296A (en) 2014-10-29

Family

ID=51768709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201310149223 CN104123296A (en) 2013-04-26 2013-04-26 Method and device for generating message indexes so as to present messages to receiver

Country Status (1)

Country Link
CN (1) CN104123296A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020055975A1 (en) * 2000-11-08 2002-05-09 Yevgeniy Petrovykh Method and apparatus for intelligent routing of instant messaging presence protocol (IMPP) events among a group of customer service representatives
CN1863174A (en) * 2006-01-12 2006-11-15 华为技术有限公司 Instant message system and message processing method
CN101105786A (en) * 2006-07-14 2008-01-16 中兴通讯股份有限公司 Double CPU communication method based on shared memory
CN101483561A (en) * 2009-02-12 2009-07-15 杭州华三通信技术有限公司 Method for controlling information output of network appliance system and network appliance
CN101677301A (en) * 2008-09-16 2010-03-24 联想(北京)有限公司 Intermediate server for instant messaging and instant messaging realizing method thereof
CN101883181A (en) * 2010-06-18 2010-11-10 中兴通讯股份有限公司 Method and terminal for processing short message
CN102088419A (en) * 2009-12-07 2011-06-08 倪加元 Method and system for searching information of good friends in social network
CN102387182A (en) * 2010-09-06 2012-03-21 腾讯科技(深圳)有限公司 Method and device for managing listener list information of microblog users
CN102685138A (en) * 2012-05-21 2012-09-19 华为技术有限公司 Offline message pushing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020055975A1 (en) * 2000-11-08 2002-05-09 Yevgeniy Petrovykh Method and apparatus for intelligent routing of instant messaging presence protocol (IMPP) events among a group of customer service representatives
CN1863174A (en) * 2006-01-12 2006-11-15 华为技术有限公司 Instant message system and message processing method
CN101105786A (en) * 2006-07-14 2008-01-16 中兴通讯股份有限公司 Double CPU communication method based on shared memory
CN101677301A (en) * 2008-09-16 2010-03-24 联想(北京)有限公司 Intermediate server for instant messaging and instant messaging realizing method thereof
CN101483561A (en) * 2009-02-12 2009-07-15 杭州华三通信技术有限公司 Method for controlling information output of network appliance system and network appliance
CN102088419A (en) * 2009-12-07 2011-06-08 倪加元 Method and system for searching information of good friends in social network
CN101883181A (en) * 2010-06-18 2010-11-10 中兴通讯股份有限公司 Method and terminal for processing short message
CN102387182A (en) * 2010-09-06 2012-03-21 腾讯科技(深圳)有限公司 Method and device for managing listener list information of microblog users
CN102685138A (en) * 2012-05-21 2012-09-19 华为技术有限公司 Offline message pushing method and device

Similar Documents

Publication Publication Date Title
US20080059519A1 (en) System, method, and apparatus for providing storage operations on an online computer system
US20120158753A1 (en) Comment Ordering System
US20120079066A1 (en) System and method to create bi-directional event subscriptions
US20090144392A1 (en) Sharing Digital Content On A Social Network
US20130238745A1 (en) Providing content to a user across multiple devices
US20110119444A1 (en) Adaptive caching of data
US20100057835A1 (en) Information on availability of services provided by publish-subscribe service
US20140108562A1 (en) Automatically Suggesting Groups Based on Past User Interaction
US20110055329A1 (en) Dynamic data sharing in a collaborative environment
US20110270931A1 (en) News Feed Techniques
US20090100289A1 (en) Method and System for Handling Failover in a Distributed Environment that Uses Session Affinity
US20130290711A1 (en) Providing content to a user across multiple devices
US20100037225A1 (en) Workload routing based on greenness conditions
US20130046811A1 (en) Stream processing using a client-server architecture
US20110145320A1 (en) Message bus based replication
US9385976B1 (en) Systems and methods for storing message data
Neumayer Distance, power and ideology: diplomatic representation in a world of nation‐states
CN101741830A (en) Method, system, client and server for realizing multi-client data synchronization
US20080235384A1 (en) Web service for coordinating actions of clients
CN102724139A (en) Method and device for friend recommending through instant messaging
US20150026237A1 (en) Push notification via file sharing service synchronization
CN102685237A (en) Method for requesting session maintaining and dispatching in cluster environment
US20090199103A1 (en) System and method for auto-generating threads on web forums
US20120066314A1 (en) Private messaging a second recipient of an electronic communication
US20140365504A1 (en) Estimation of closeness of topics based on graph analytics

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1201602

Country of ref document: HK