[go: up one dir, main page]

CN100385854C - A system and method for sending broadcast messages - Google Patents

A system and method for sending broadcast messages Download PDF

Info

Publication number
CN100385854C
CN100385854C CNB200510073234XA CN200510073234A CN100385854C CN 100385854 C CN100385854 C CN 100385854C CN B200510073234X A CNB200510073234X A CN B200510073234XA CN 200510073234 A CN200510073234 A CN 200510073234A CN 100385854 C CN100385854 C CN 100385854C
Authority
CN
China
Prior art keywords
online
user
information
broadcast message
message
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 - Lifetime
Application number
CNB200510073234XA
Other languages
Chinese (zh)
Other versions
CN1874233A (en
Inventor
王星
李旭阳
高自光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology 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 Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CNB200510073234XA priority Critical patent/CN100385854C/en
Publication of CN1874233A publication Critical patent/CN1874233A/en
Application granted granted Critical
Publication of CN100385854C publication Critical patent/CN100385854C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供了一种发送广播消息的系统及方法,所述方法包括如下步骤:获取在线用户的用户信息,生成广播消息及其附加信息;从当前在线用户中查找用户信息与附加信息相匹配的在线目标用户,向所述在线目标用户发送广播消息。所述系统包括消息生成模块、消息发送模块、用户信息模块通过本发明,可以向用户发送与其相关的消息,避免了无用消息对用户的打扰,充分利用消息资源。同时,通过对用户在特定时间段内接收特定消息的数量进行控制,以及对特定消息发送总量的控制,既达到了推送消息的目的,又节省了网络资源,同时提高用户对消息的满意度。

Figure 200510073234

The present invention provides a system and method for sending broadcast messages. The method includes the following steps: acquiring user information of online users, generating broadcast messages and their additional information; The online target user sends a broadcast message to the online target user. The system includes a message generation module, a message sending module, and a user information module. Through the present invention, messages related to it can be sent to users, which avoids disturbing users by useless messages and makes full use of message resources. At the same time, by controlling the number of specific messages received by users within a specific time period and the total amount of specific messages sent, the purpose of pushing messages is achieved, network resources are saved, and user satisfaction with messages is improved. .

Figure 200510073234

Description

一种发送广播消息的系统及方法 A system and method for sending broadcast messages

技术领域 technical field

本发明涉及即时通信技术,特别是涉及一种发送广播消息的系统及方法。The invention relates to instant communication technology, in particular to a system and method for sending broadcast messages.

背景技术 Background technique

随着计算机网络技术的飞速发展,即时通信工具已经成为比较普遍的通信工具,由于使用即时通信工具进行即时消息的用户越来越多,所以向即时通信系统的用户发送广播消息的应用也越来越广,尤其是发送广告消息具有很大的商业价值。With the rapid development of computer network technology, instant messaging tools have become a relatively common communication tool. Since more and more users use instant messaging tools for instant messaging, the application of sending broadcast messages to users of instant messaging systems is also increasing. The wider, especially sending advertising messages has great commercial value.

图1是现有技术中发送广播消息的系统结构示意图,如图1所示,在现有技术中,消息生成服务器生成的广告消息通过消息发送服务器向所有用户发送。采用这种发送广播消息的方式,广播消息的发送没有针对性,造成许多无用广播消息干扰用户的即时通信,同时浪费了大量消息资源与网络资源。FIG. 1 is a schematic structural diagram of a system for sending broadcast messages in the prior art. As shown in FIG. 1 , in the prior art, the advertisement message generated by the message generating server is sent to all users through the message sending server. In this way of sending broadcast messages, the sending of broadcast messages is not targeted, causing many useless broadcast messages to interfere with users' instant messaging, and simultaneously wasting a lot of message resources and network resources.

发明内容 Contents of the invention

本发明的主要目的在于提供一种发送广播消息的系统及方法,有针对性地向即时通信系统的用户发送广播消息。The main purpose of the present invention is to provide a system and method for sending broadcast messages, which can send broadcast messages to users of the instant messaging system in a targeted manner.

本发明的目的是通过如下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:

一种发送广播消息的方法,应用于即时通信系统,该方法包括如下步骤:A method for sending a broadcast message, applied to an instant messaging system, the method includes the following steps:

A、获取在线用户的用户信息,生成广播消息并根据目标用户信息为该广播消息生成附加信息;A. Obtain the user information of the online user, generate a broadcast message and generate additional information for the broadcast message according to the target user information;

B、通过将所获取的用户信息与所生成的广播消息的附加信息匹配,从所述在线用户中查找在线目标用户,向所述在线目标用户发送所生成的广播消息。B. By matching the obtained user information with the additional information of the generated broadcast message, find an online target user from the online users, and send the generated broadcast message to the online target user.

优选地,在步骤A之前包括:建立上线队列,该队列中包含数量小于预设值的最近上线的在线用户,Preferably, before step A, it includes: establishing an online queue, which contains online users whose number is less than a preset value recently,

步骤A所述获取在线用户的用户信息为:获取上线队列中在线用户的用户信息,Obtaining the user information of the online user described in step A is: obtaining the user information of the online user in the online queue,

步骤B所述查找目标用户为:从上线队列的在线用户中查找在线目标用户。The searching for target users in step B is: searching for online target users from the online users in the online queue.

其中,在步骤A中,所述获取在线用户的用户信息具体包括:Wherein, in step A, said acquisition of user information of online users specifically includes:

获取在线用户的登录信息,所述登录信息至少包括用户唯一标识、即时消息客户端版本、所在区域和所属网络服务商中的至少一项;和,Obtaining the login information of the online user, the login information at least including at least one of the unique identifier of the user, the version of the instant message client, the area where the user is located, and the network service provider to which he belongs; and,

获取在线用户的注册信息,所述注册信息包括性别、年龄、职业、血型、星座、学历和生日中的至少一项,Acquiring registration information of online users, said registration information including at least one of gender, age, occupation, blood type, constellation, education and birthday,

所述生成广播消息的附加信息包括:将目标用户的登录信息和注册信息中的任意一项或者至少两项的组合作为所述附加信息。The generating the additional information of the broadcast message includes: using any one or a combination of at least two of the target user's login information and registration information as the additional information.

其中,在步骤A中,所述生成广播消息的附加信息还包括:设置在设定时间段内发送所述广播消息的次数最大值,Wherein, in step A, the generating the additional information of the broadcast message further includes: setting the maximum number of times the broadcast message is sent within a set time period,

在步骤A和B之间包括:Between steps A and B include:

P、为所生成的广播消息建立发送记录,该发送记录包含在设定时间段内发送该广播消息的次数;P. Establishing a sending record for the generated broadcast message, the sending record including the number of times the broadcast message is sent within a set time period;

Q、判断该广播消息在设定时间段内的发送次数是否达到所述附加信息中的次数最大值,如果是,则退出本流程;否则,执行步骤B,并更新该广播消息的发送记录。Q. Determine whether the number of times the broadcast message is sent within the set time period reaches the maximum number of times in the additional information, and if so, exit the procedure; otherwise, execute step B and update the sending record of the broadcast message.

其中,所述生成广播消息的附加信息还包括:设置在设定时间段内针对一个用户发送该广播消息的次数最大值,Wherein, the additional information for generating the broadcast message further includes: setting the maximum number of times the broadcast message is sent to a user within a set period of time,

在步骤B之前包括:为在线用户建立接收记录,该接收记录中包括该用户在设定时间段内接收到广播消息的序号和各序号所对应的广播消息的接收次数,Before the step B, it includes: establishing a receiving record for the online user, which includes the sequence number of the broadcast message received by the user within the set time period and the number of times the broadcast message corresponding to each sequence number is received,

在步骤B中,在查找到在线目标用户之后,向在线目标用户发送广播消息之前,包括:判断在线目标用户的接收记录中该广播消息的接收次数是否小于所述附加信息中的次数最大值,如果是,则向在线目标用户发送广播消息,并更新符合条件的在线目标用户的接收记录;否则,不向在线目标用户发送广播消息。In step B, after the online target user is found, before sending the broadcast message to the online target user, it includes: judging whether the number of times the broadcast message is received in the receiving record of the online target user is less than the maximum number of times in the additional information, If so, send a broadcast message to the online target user, and update the receiving record of the online target user who meets the conditions; otherwise, do not send the broadcast message to the online target user.

优选地,所述广播消息为广告消息。Preferably, the broadcast message is an advertisement message.

一种发送广播消息的系统,应用于即时通信系统,该系统包括消息生成模块、消息发送模块、用户信息模块,其中:A system for sending broadcast messages, applied to instant messaging systems, the system includes a message generating module, a message sending module, and a user information module, wherein:

消息生成模块,用于生成广播消息并根据目标用户信息为该广播消息生成附加信息,a message generation module, configured to generate a broadcast message and generate additional information for the broadcast message according to target user information,

用户信息模块,用于记录并保存在线用户的用户信息;User information module, used to record and save user information of online users;

消息发送模块,用于从用户信息模块获取所述在线用户的用户信息;从消息生成模块获取所述广播消息及其附加信息;通过将所述用户信息与广播消息的附加信息匹配,从所述在线用户中查找在线目标用户,并向所述在线目标用户发送所述广播消息。The message sending module is used to obtain the user information of the online user from the user information module; obtain the broadcast message and its additional information from the message generation module; by matching the user information with the additional information of the broadcast message, from the Find online target users among online users, and send the broadcast message to the online target users.

其中,该系统进一步包括消息数据库,用于存储消息生成模块生成的广播消息及其附加信息,所述消息发送模块从消息数据库获取所述广播消息及其附加信息。Wherein, the system further includes a message database for storing the broadcast message and its additional information generated by the message generating module, and the message sending module obtains the broadcast message and its additional information from the message database.

其中,所述用户信息模块包括:Wherein, the user information module includes:

登录服务器,用于记录在线用户的登录信息并保存;Log in to the server to record and save the login information of online users;

用户资料服务器,用于记录所有用户在注册时填写的或注册后修改的注册信息并保存,The user profile server is used to record and save the registration information filled in by all users during registration or modified after registration,

所述在线用户的用户信息包括在线用户的登录信息和注册信息。The user information of the online user includes login information and registration information of the online user.

优选地,所述广播消息为广告消息。Preferably, the broadcast message is an advertisement message.

从以上技术方案可以看出,通过本发明的系统和方法,可以根据用户信息,有针对性地向用户发送广播消息,用户仅仅接收到与自己相关的广播消息,避免无用消息对用户的干扰,从而避免消息资源和网络资源的浪费。而且,通过对用户在特定时间段内接收广播消息的数量进行控制,以及对广播消息发送总量的控制,既达到了发送广播消息的目的,又能进一步节省网络资源和消息资源,同时提高用户对即时通信业务的满意度。It can be seen from the above technical solutions that through the system and method of the present invention, broadcast messages can be sent to users in a targeted manner according to user information, and users only receive broadcast messages related to themselves, avoiding interference to users by useless messages, Thereby avoiding the waste of message resources and network resources. Moreover, by controlling the number of broadcast messages received by users within a specific period of time and the total amount of broadcast messages sent, the purpose of sending broadcast messages can be achieved, network resources and message resources can be further saved, and user Satisfaction with instant messaging services.

附图说明 Description of drawings

图1是现有技术的发送广播消息的系统结构示意图;FIG. 1 is a schematic structural diagram of a system for sending broadcast messages in the prior art;

图2是根据本发明实施例一的发送广播消息的方法流程图;FIG. 2 is a flowchart of a method for sending a broadcast message according to Embodiment 1 of the present invention;

图3是根据本发明实施例二的发送广播消息的方法流程图;FIG. 3 is a flowchart of a method for sending a broadcast message according to Embodiment 2 of the present invention;

图4是根据本发明实施例三的发送广播消息的方法流程图;FIG. 4 is a flowchart of a method for sending a broadcast message according to Embodiment 3 of the present invention;

图5是根据本发明的发送广播消息的系统结构示意图。Fig. 5 is a schematic structural diagram of a system for sending broadcast messages according to the present invention.

具体实施方式 Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明提供了一种发送广播消息的方法,该方法应用于即时通信系统,其具体步骤为:获取在线用户的用户信息,生成广播消息及其附加信息;然后从在线用户中查找用户信息与附加信息相匹配的在线目标用户,向在线目标用户发送广播消息。The invention provides a method for sending a broadcast message, which is applied to an instant communication system, and its specific steps are: acquiring user information of online users, generating broadcast messages and their additional information; and then searching for user information and additional information from online users The online target user whose information matches, sends a broadcast message to the online target user.

这里,广播消息指即时通信系统向多个用户发送的各种类型的消息,诸如广告消息、系统消息或网页推广消息等。Here, broadcast messages refer to various types of messages sent by the instant messaging system to multiple users, such as advertisement messages, system messages, or web page promotion messages.

下面,以广告消息为例,详细阐述本发明的发送广播消息的方法。In the following, the method for sending a broadcast message of the present invention will be described in detail by taking an advertisement message as an example.

图2是根据本发明实施例一的发送广播消息的方法流程图,从图2可见,在本实施例中,广播消息为广告消息,发送广告消息的具体流程如下:FIG. 2 is a flow chart of a method for sending a broadcast message according to Embodiment 1 of the present invention. It can be seen from FIG. 2 that in this embodiment, the broadcast message is an advertisement message, and the specific flow of sending the advertisement message is as follows:

步骤201:预先设置上线队列,该上线队列包含最近上线的设定最大数量在线用户,上线队列的形式类似于先进先出的堆栈,队列中的用户可随时更新,即不断加入新上线的用户,删除下线的用户,在用户数量超过设定最大数量时,清除列表中最早上线的在线用户,以使上线队列中的在线用户的最大数量保持不变。例如,上线队列中可最多包括1000个最近上线的在线用户。Step 201: Pre-set the online queue, which contains the set maximum number of online users who have been online recently. The form of the online queue is similar to a first-in-first-out stack. Users in the queue can be updated at any time, that is, new online users are continuously added. Delete offline users. When the number of users exceeds the set maximum number, clear the earliest online users in the list so that the maximum number of online users in the online queue remains unchanged. For example, the online queue may include at most 1000 recently online users.

步骤202:获取上线队列中在线用户的登录信息,然后获取上线队列中在线用户的注册信息。Step 202: Obtain the login information of the online users in the online queue, and then obtain the registration information of the online users in the online queue.

用户的登录信息包括用户登录时即时通信系统记录的用户唯一标识、即时消息客户端版本、所在区域和所属网络服务商。优选地,登录信息中的所在区域是IP地址。The user's login information includes the user's unique identifier recorded by the instant messaging system when the user logs in, the version of the instant messaging client, the region where the user is located, and the network service provider to which he belongs. Preferably, the location field in the login information is an IP address.

用户的注册信息包括用户在注册为即时通信系统的合法用户时填写的或在注册后修改的性别、年龄、职业、血型、星座、学历和生日等信息。The user's registration information includes information such as gender, age, occupation, blood type, zodiac sign, education and birthday that the user filled in when registering as a legal user of the instant messaging system or modified after registration.

用户的登录信息和注册信息统称为用户信息。The user's login information and registration information are collectively referred to as user information.

步骤203:生成广告消息及其附加信息,其中,附加信息包含对在线目标用户的注册信息和/或登录信息的限定。Step 203: Generate an advertisement message and its additional information, wherein the additional information includes restrictions on registration information and/or login information of online target users.

优选地,向用户提供定制广告消息的WEB界面,然后接收用户对广告进行的定制信息和发送限定信息,分别根据定制信息和发送限定信息生成广告消息及其附加信息。Preferably, a WEB interface for customizing advertisement messages is provided to the user, and then the user's customization information and transmission restriction information on the advertisement are received, and the advertisement message and its additional information are respectively generated according to the customization information and the transmission restriction information.

例如,在本实施例中,生成针对北京地区的商场促销的一条广告消息,在该广告消息的附加信息中,将用户所在区域限定为北京,将用户性别限定为女性。For example, in this embodiment, an advertisement message is generated for promotion in a shopping mall in the Beijing area. In the additional information of the advertisement message, the user's location is limited to Beijing, and the user's gender is limited to female.

步骤204:通过对在线用户的登录信息和注册信息与广告消息的附加信息进行比较,查找用户信息与附加信息相匹配的在线目标用户。Step 204: Find online target users whose user information matches the additional information by comparing the online user's login information and registration information with the additional information of the advertisement message.

例如,在本实施例中,查找到的在线目标用户是所在区域为北京、性别为女性的在线用户。For example, in this embodiment, the found online target users are online users whose location is Beijing and whose gender is female.

步骤205:向在线目标用户发送该条广告消息。Step 205: Send the advertisement message to the online target user.

例如,在本实施例中,向在线的北京女性用户发送该条有关于北京地区商场促销的广告消息。For example, in this embodiment, the advertisement message about sales promotion in shopping malls in the Beijing area is sent to online female users in Beijing.

在本实施例中,从上线队列中获取在线用户的用户信息,容易理解,在本发明的其它实施例中,也可以获取即时通信系统的所有在线用户的用户信息,然后在所有在线用户中查找在线目标用户。In this embodiment, the user information of online users is obtained from the online queue. It is easy to understand that in other embodiments of the present invention, it is also possible to obtain the user information of all online users of the instant messaging system, and then search among all online users target users online.

图3是根据本发明的实施例二的发送在线广播消息的流程图,在本实施例中,广播消息为广告消息,广告消息的附加信息还包括在设定时间段内向单个用户发送该广告消息的最大数量,下面参考图3,详述本实施例的流程:Fig. 3 is a flow chart of sending an online broadcast message according to Embodiment 2 of the present invention. In this embodiment, the broadcast message is an advertisement message, and the additional information of the advertisement message also includes sending the advertisement message to a single user within a set time period The maximum number, below with reference to Figure 3, details the flow process of the present embodiment:

步骤301:预先设置上线队列,本实施例中设置上线队列的方式与实施例一的步骤201相同,在此不予赘述。Step 301: Pre-setting the online queue. The method of setting the online queue in this embodiment is the same as that of step 201 in the first embodiment, and will not be repeated here.

步骤302:从上线队列中获取在线用户的登录信息和注册信息,本实施例中获取登录信息和注册信息的方式与实施例一的步骤202相同,在此不予赘述。Step 302: Obtain login information and registration information of online users from the online queue. The method of obtaining login information and registration information in this embodiment is the same as step 202 in Embodiment 1, and will not be repeated here.

步骤303:为上线队列中的所有在线用户建立接收记录,接收记录中包含用户在设定时间段内接收到的所有广告消息的序号和每条广告消息的接收数量。Step 303: Create receiving records for all online users in the online queue, and the receiving records include the sequence numbers of all advertising messages received by users within a set time period and the number of each advertising message received.

步骤304:生成广告消息及其附加信息,在本实施例中,生成广告消息及其附加信息的方式与实施例一的步骤303大致相同,所不同之处在于,本实施例的附加信息除了对在线目标用户的登录信息和注册信息的限定以外,还包括在设定时间段内向单个用户发送该条广告消息的最大数量。Step 304: Generate an advertisement message and its additional information. In this embodiment, the method of generating an advertisement message and its additional information is roughly the same as step 303 in Embodiment 1. The difference is that the additional information of this embodiment is except for In addition to the limitation of login information and registration information of online target users, it also includes the maximum number of advertisement messages sent to a single user within a set period of time.

步骤305:通过对在线用户的登录信息和注册信息与广告消息中的附加信息进行匹配,查找在线目标用户。Step 305: Find online target users by matching the online user's login information and registration information with the additional information in the advertisement message.

步骤306:从在线目标用户中查找其接收记录中该条广告消息的接收数量未达到附加信息中最大数量的用户,作为符合条件的在线目标用户。Step 306: Search online target users whose number of receptions of the advertisement message in the receiving records does not reach the maximum number in the additional information, as eligible online target users.

步骤307:向符合条件的在线目标用户发送该条广告消息,然后更新符合条件的在线目标用户的接收记录,即将符合条件的在线目标用户的接收记录中该条广告消息的接收数量加一。Step 307: Send the advertisement message to the eligible online target users, and then update the receiving records of the eligible online target users, that is, add one to the received quantity of the advertisement message in the receiving records of the eligible online target users.

本实施例可对用户接收一条广告消息的数量进行控制。In this embodiment, the number of advertisement messages received by a user can be controlled.

上述接收记录可以保存在哈希表中,优选地,存储接收记录的哈希表存储24小时之内所有曾经登录过即时通信系统的用户的接收记录。The above-mentioned receiving records can be stored in a hash table. Preferably, the hash table storing the receiving records stores the receiving records of all users who have logged in the instant messaging system within 24 hours.

图4是根据本发明的实施例三的发送在线广播消息的流程图,在本实施例中,广播消息为广告消息,广告消息的附加信息还包括在设定时间段内发送该条消息的最大数量,下面参考图4,详述本实施例的流程:Fig. 4 is a flow chart of sending an online broadcast message according to Embodiment 3 of the present invention. In this embodiment, the broadcast message is an advertisement message, and the additional information of the advertisement message also includes the maximum Quantity, with reference to Fig. 4 below, describe the flow process of the present embodiment in detail:

步骤401:预先设置上线队列,本实施例中设置上线队列的方式与实施例一的步骤201相同,在此不予赘述。Step 401: Pre-setting the online queue. The method of setting the online queue in this embodiment is the same as that of step 201 in the first embodiment, and will not be repeated here.

步骤402:从上线队列中获取在线用户的登录信息和注册信息,本实施例中获取用户信息的方式与实施例一的步骤202相同,在此不予赘述。Step 402: Obtain login information and registration information of online users from the online queue. The manner of obtaining user information in this embodiment is the same as step 202 in Embodiment 1, and will not be repeated here.

步骤403:生成广告消息及其附加信息,在本实施例中,生成广告消息及其附加信息的方式与实施例一的步骤303大致相同,所不同之处在于,本实施例的附加信息除了对在线目标用户的登录信息和注册信息的限定以外,还包括在设定时间段内发送该条广告消息的最大数量。Step 403: Generate an advertisement message and its additional information. In this embodiment, the method of generating an advertisement message and its additional information is roughly the same as step 303 in Embodiment 1. The difference is that the additional information of this embodiment is except for In addition to the limitation of the login information and registration information of the online target user, it also includes the maximum number of advertisement messages sent within the set time period.

步骤404:为该条广告消息建立发送记录,在发送记录中包含发送该条广告消息的数量,初始值为0。Step 404: Create a sending record for the advertisement message, the sending record includes the number of sending the advertisement message, and the initial value is 0.

步骤405:判断广告消息的发送记录中的发送数量是否小于附加信息中的最大数量,如果是,则执行步骤406;否则,该条广告消息的发送数量已超过最大值,发送结束。Step 405: Determine whether the sending quantity in the sending record of the advertisement message is less than the maximum quantity in the additional information, if yes, execute step 406; otherwise, the sending quantity of the advertisement message has exceeded the maximum value, and the sending ends.

步骤406:通过对在线用户的登录信息和注册信息与广告消息中的附加信息进行匹配,查找在线目标用户。Step 406: Find online target users by matching the online user's login information and registration information with the additional information in the advertisement message.

步骤407:向在线目标用户发送该条广告消息,更新该条广告消息的发送记录,即将发送记录中发送数量加上在线目标用户的数量。Step 407: Send the advertisement message to the online target user, and update the sending record of the advertisement message, that is, add the number of online target users to the sending number in the sending record.

本实施例可对一条广告消息的发送总量进行控制。In this embodiment, the total amount of sending an advertisement message can be controlled.

上述发送记录可以保存在哈希表中,优选地,存储发送记录的哈希表存储较长时间内所有广告消息的发送记录,例如存储一个月内所有广告消息的发送记录。The above sending records can be stored in a hash table. Preferably, the hash table storing the sending records stores the sending records of all advertisement messages within a long period of time, for example, stores the sending records of all advertisement messages within one month.

需要说明,上述三个实施例仅作为示例,在具体实现中,可以将三个实施例相结合,也就是说,在向用户信息与附加信息相匹配的用户发送广告消息的同时,对用户接收到的该条广告消息的数量进行控制,同时对该广告消息的发送总量进行控制。It should be noted that the above three embodiments are only examples, and in specific implementation, the three embodiments can be combined, that is, while sending an advertisement message to a user whose user information matches the additional information, the user receives an advertisement message The quantity of the received advertisement message is controlled, and at the same time, the total amount of the advertisement message sent is controlled.

另外,图2至图4的实施例是以广告消息为例,说明本发明的发送广播消息的方法,本领域普通技术人员应该理解,本发明不局限于发送广告消息,也包括发送其它类型的广播消息,例如网页推广消息或即时通信系统的系统消息。In addition, the embodiments in Fig. 2 to Fig. 4 take advertisement messages as an example to illustrate the method for sending broadcast messages of the present invention. Those of ordinary skill in the art should understand that the present invention is not limited to sending advertisement messages, but also includes sending other types of broadcast messages. Broadcast messages, such as webpage promotion messages or system messages of instant messaging systems.

本发明还提供了一种发送广播消息的系统,该系统应用于即时通信系统,通过该系统,可向即时通信系统的在线用户发送广播消息。The present invention also provides a system for sending broadcast messages, which is applied to instant messaging systems, through which broadcast messages can be sent to online users of the instant messaging system.

图5是根据本发明的发送广播消息的系统结构示意图,从图5可见,该系统包括消息生成模块501、消息数据库502、消息发送模块503、登录服务器504和用户资料服务器505,其中:Fig. 5 is a schematic structural diagram of a system for sending broadcast messages according to the present invention. As can be seen from Fig. 5, the system includes a message generation module 501, a message database 502, a message sending module 503, a login server 504 and a user profile server 505, wherein:

登录服务器504,记录在线用户的登录信息并保存;Log in to the server 504, record the login information of the online user and save it;

用户资料服务器505,记录所有即时消息系统用户的注册信息并保存,该注册信息是用户在注册时填写的或在注册后修改的信息;The user data server 505 records and saves the registration information of all instant messaging system users, and the registration information is the information that the user fills in when registering or modifies after registration;

消息生成模块501生成广播消息及其附加信息,并将广播消息及其附加信息保存在消息数据库502中;The message generating module 501 generates a broadcast message and its additional information, and saves the broadcast message and its additional information in the message database 502;

消息发送模块503从登录服务器504获取在线用户的登录信息;从用户资料服务器505获取在线用户的注册信息;从消息数据库502获取广播消息及其附加信息;查找用户登录信息和注册信息与附加信息相匹配的在线目标用户,向在线目标用户发送广播消息。The message sending module 503 obtains the login information of the online user from the login server 504; obtains the registration information of the online user from the user data server 505; obtains the broadcast message and its additional information from the message database 502; The matching online target user sends a broadcast message to the online target user.

优选地,消息发送模块503进一步存储设定时间段内所有曾经登录过即时通信系统的用户的接收记录,用户接收记录中包括该用户接收到广播消息的序号和数量;消息发送模块503从在线用户中筛选出接收广播消息的数量符合预定条件的在线目标用户,向符合预定条件的在线目标用户发送消息。Preferably, the message sending module 503 further stores the receiving records of all users who have logged into the instant messaging system in the set time period, and the user receiving records include the sequence number and the quantity that the user receives the broadcast message; The online target users whose number of receiving broadcast messages meets the preset conditions are screened out, and the message is sent to the online target users who meet the preset conditions.

优选地,消息发送模块503进一步存储设定时间段内所有广播消息的发送记录,广播消息发送记录中包括该广播消息被发送的次数;消息发送模块503根据广播消息发送记录判断是否继续发送该广播消息。Preferably, the message sending module 503 further stores the sending records of all broadcast messages within a set time period, and the broadcast message sending records include the number of times the broadcast message is sent; the message sending module 503 judges whether to continue sending the broadcast message according to the broadcast message sending records information.

优选地,登录服务器504还存储一个可实时滚动更新的上线队列,该上线队列不包括所有的在线用户,而是包括最近上线的不超过设定最大数量的在线用户,该上线队列的形式类似于先进先出的堆栈,队列中的用户随时更新,即不断加入新上线的用户,在队列中的用户数量达到设定的最大值时,清除列表中最早上线的在线用户,以使上线队列中的在线用户数量保持不变;消息发送服务器503从登录服务器504获取该上线队列中在线用户的登录信息,然后再从用户资料服务器505获取该上线队列中在线用户的注册信息。Preferably, the login server 504 also stores an online queue that can be rolled and updated in real time. The online queue does not include all online users, but includes online users who have recently gone online and do not exceed a set maximum number. The online queue is in the form of First-in-first-out stack, the users in the queue are updated at any time, that is, new online users are continuously added, and when the number of users in the queue reaches the set maximum value, the earliest online users in the list are cleared, so that the online queue in the online queue The number of online users remains unchanged; the message sending server 503 obtains the login information of the online users in the online queue from the login server 504 , and then obtains the registration information of the online users in the online queue from the user profile server 505 .

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.

Claims (10)

1.一种发送广播消息的方法,应用于即时通信系统,其特征在于,该方法包括如下步骤:1. A method for sending a broadcast message, applied to an instant messaging system, characterized in that the method comprises the steps: A、获取在线用户的用户信息,生成广播消息并根据目标用户信息为该广播消息生成附加信息;A. Obtain the user information of the online user, generate a broadcast message and generate additional information for the broadcast message according to the target user information; B、通过将所获取的用户信息与所生成的广播消息的附加信息匹配,从所述在线用户中查找在线目标用户,向所述在线目标用户发送所生成的广播消息。B. By matching the obtained user information with the additional information of the generated broadcast message, find an online target user from the online users, and send the generated broadcast message to the online target user. 2.根据权利要求1所述的方法,其特征在于,在步骤A之前包括:建立上线队列,该队列中包含数量小于预设值的最近上线的在线用户,2. The method according to claim 1, characterized in that, before step A, comprising: setting up an online queue, which includes online users whose quantity is less than a preset value recently, 步骤A所述获取在线用户的用户信息为:获取上线队列中在线用户的用户信息,Obtaining the user information of the online user described in step A is: obtaining the user information of the online user in the online queue, 步骤B所述查找目标用户为:从上线队列的在线用户中查找在线目标用户。The searching for target users in step B is: searching for online target users from the online users in the online queue. 3.根据权利要求1所述的方法,其特征在于,在步骤A中,所述获取在线用户的用户信息具体包括:3. The method according to claim 1, characterized in that, in step A, said obtaining user information of online users specifically comprises: 获取在线用户的登录信息,所述登录信息至少包括用户唯一标识、即时消息客户端版本、所在区域和所属网络服务商中的至少一项;和,Obtaining the login information of the online user, the login information at least including at least one of the unique identifier of the user, the version of the instant message client, the area where the user is located, and the network service provider to which he belongs; and, 获取在线用户的注册信息,所述注册信息包括性别、年龄、职业、血型、星座、学历和生日中的至少一项,Acquiring registration information of online users, said registration information including at least one of gender, age, occupation, blood type, constellation, education and birthday, 所述生成广播消息的附加信息包括:将目标用户的登录信息和注册信息中的任意一项或者至少两项的组合作为所述附加信息。The generating the additional information of the broadcast message includes: using any one or a combination of at least two of the target user's login information and registration information as the additional information. 4.根据权利要求1或3所述的方法,其特征在于,在步骤A中,所述生成广播消息的附加信息还包括:设置在设定时间段内发送所述广播消息的次数最大值,4. The method according to claim 1 or 3, characterized in that, in step A, said generating the additional information of the broadcast message further comprises: setting the maximum number of times the broadcast message is sent within a set time period, 在步骤A和B之间包括:Between steps A and B include: P、为所生成的广播消息建立发送记录,该发送记录包含在设定时间段内发送该广播消息的次数;P. Establishing a sending record for the generated broadcast message, the sending record including the number of times the broadcast message is sent within a set time period; Q、判断该广播消息在设定时间段内的发送次数是否达到所述附加信息中的次数最大值,如果是,则退出本流程;否则,执行步骤B,并更新该广播消息的发送记录。Q. Determine whether the number of times the broadcast message is sent within the set time period reaches the maximum number of times in the additional information, and if so, exit the procedure; otherwise, execute step B and update the sending record of the broadcast message. 5.根据权利要求1或3所述的方法,其特征在于,所述生成广播消息的附加信息还包括:设置在设定时间段内针对一个用户发送该广播消息的次数最大值,5. The method according to claim 1 or 3, wherein said generating the additional information of the broadcast message further comprises: setting the maximum number of times the broadcast message is sent to a user within a set period of time, 在步骤B之前包括:为在线用户建立接收记录,该接收记录中包括该用户在设定时间段内接收到广播消息的序号和各序号所对应的广播消息的接收次数,Before the step B, it includes: establishing a receiving record for the online user, which includes the sequence number of the broadcast message received by the user within the set time period and the number of times the broadcast message corresponding to each sequence number is received, 在步骤B中,在查找到在线目标用户之后,向在线目标用户发送广播消息之前,包括:判断在线目标用户的接收记录中该广播消息的接收次数是否小于所述附加信息中的次数最大值,如果是,则向在线目标用户发送广播消息,并更新符合条件的在线目标用户的接收记录;否则,不向在线目标用户发送广播消息。In step B, after the online target user is found, before sending the broadcast message to the online target user, it includes: judging whether the number of times the broadcast message is received in the receiving record of the online target user is less than the maximum number of times in the additional information, If so, send a broadcast message to the online target user, and update the receiving record of the online target user who meets the conditions; otherwise, do not send the broadcast message to the online target user. 6.根据权利要求1所述的方法,其特征在于,所述广播消息为广告消息。6. The method according to claim 1, wherein the broadcast message is an advertisement message. 7.一种发送广播消息的系统,应用于即时通信系统,其特征在于,该系统包括消息生成模块、消息发送模块、用户信息模块,其中:7. A system for sending broadcast messages, applied to instant messaging systems, characterized in that the system includes a message generation module, a message sending module, and a user information module, wherein: 消息生成模块,用于生成广播消息并根据目标用户信息为该广播消息生成附加信息,a message generation module, configured to generate a broadcast message and generate additional information for the broadcast message according to target user information, 用户信息模块,用于记录并保存在线用户的用户信息;The user information module is used to record and save the user information of online users; 消息发送模块,用于从用户信息模块获取所述在线用户的用户信息;从消息生成模块获取所述广播消息及其附加信息;通过将所述用户信息与广播消息的附加信息匹配,从所述在线用户中查找在线目标用户,并向所述在线目标用户发送所述广播消息。The message sending module is used to obtain the user information of the online user from the user information module; obtain the broadcast message and its additional information from the message generation module; by matching the user information with the additional information of the broadcast message, from the Find online target users among online users, and send the broadcast message to the online target users. 8.根据权利要求7所述的系统,其特征在于,该系统进一步包括消息数据库,用于存储消息生成模块生成的广播消息及其附加信息,所述消息发送模块从消息数据库获取所述广播消息及其附加信息。8. The system according to claim 7, characterized in that the system further comprises a message database for storing the broadcast message generated by the message generation module and its additional information, and the message sending module obtains the broadcast message from the message database and its additional information. 9.根据权利要求7所述的系统,其特征在于,所述用户信息模块包括:9. The system according to claim 7, wherein the user information module comprises: 登录服务器,用于记录在线用户的登录信息并保存;Log in to the server to record and save the login information of online users; 用户资料服务器,用于记录所有用户在注册时填写的或注册后修改的注册信息并保存,The user profile server is used to record and save the registration information filled in by all users during registration or modified after registration, 所述在线用户的用户信息包括在线用户的登录信息和注册信息。The user information of the online user includes login information and registration information of the online user. 10.根据权利要求7至9中任一项所述的系统,其特征在于,所述广播消息为广告消息。10. The system according to any one of claims 7 to 9, wherein the broadcast message is an advertisement message.
CNB200510073234XA 2005-06-01 2005-06-01 A system and method for sending broadcast messages Expired - Lifetime CN100385854C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200510073234XA CN100385854C (en) 2005-06-01 2005-06-01 A system and method for sending broadcast messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200510073234XA CN100385854C (en) 2005-06-01 2005-06-01 A system and method for sending broadcast messages

Publications (2)

Publication Number Publication Date
CN1874233A CN1874233A (en) 2006-12-06
CN100385854C true CN100385854C (en) 2008-04-30

Family

ID=37484516

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200510073234XA Expired - Lifetime CN100385854C (en) 2005-06-01 2005-06-01 A system and method for sending broadcast messages

Country Status (1)

Country Link
CN (1) CN100385854C (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101114980B (en) * 2007-09-12 2010-06-09 腾讯科技(深圳)有限公司 Method and system for establishing instant communication relation
CN101136837A (en) 2007-09-21 2008-03-05 华为技术有限公司 Control method, device and system for push message
CN101299673B (en) * 2008-06-30 2011-04-06 中兴通讯股份有限公司 Amalgamation system of multimedia broadcast and instant message communication as well as implementing method thereof
CN103379126A (en) * 2012-04-11 2013-10-30 联想(北京)有限公司 Push period control method, mobile terminal and server
CN103812889B (en) * 2012-11-09 2017-10-17 阿里巴巴集团控股有限公司 A kind of method and apparatus for transmitting ageing information
CN103327110B (en) * 2013-06-28 2016-05-25 腾讯科技(深圳)有限公司 A kind of information-pushing method and system
CN103685039B (en) * 2013-11-27 2016-08-24 宁波三星医疗电气股份有限公司 The transmission method of broadcast in radio communication
CN103685502B (en) 2013-12-09 2017-07-25 腾讯科技(深圳)有限公司 A message push method, device and system
CN103684808B (en) * 2013-12-30 2017-02-08 腾讯科技(深圳)有限公司 Method for sending broadcast messages and server
CN106469041A (en) * 2016-08-30 2017-03-01 北京小米移动软件有限公司 The method and device of PUSH message, terminal unit
CN107688586B (en) * 2016-12-28 2020-03-27 平安科技(深圳)有限公司 Client data shielding processing method and device
CN108900641A (en) * 2018-08-16 2018-11-27 安徽大尺度网络传媒有限公司 A kind of method for pushing and device of internet content
CN112328409A (en) * 2020-10-30 2021-02-05 中国平安财产保险股份有限公司 Consumer consumption state control method, system, terminal and storage medium
KR102612403B1 (en) * 2023-09-01 2023-12-08 박준호 System for providing message transmitting service using message standby station

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1379880A (en) * 1999-10-18 2002-11-13 爱亭株式会社 Information distribution device and method, and recording medium recording program
US20040186766A1 (en) * 2003-03-19 2004-09-23 International Business Machines Corporation Apparatus and method for marketing to instant messaging service users
US20050033806A1 (en) * 2002-06-26 2005-02-10 Harvey Christopher Forrest System and method for communicating images between intercommunicating users
CN1614959A (en) * 2003-11-06 2005-05-11 国际商业机器公司 Method and system for multiple instant messaging login sessions
CN1620812A (en) * 2001-12-25 2005-05-25 株式会社电通 Information distribution systems and methods, programs for realizing these methods, and information media related to the programs

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1379880A (en) * 1999-10-18 2002-11-13 爱亭株式会社 Information distribution device and method, and recording medium recording program
CN1620812A (en) * 2001-12-25 2005-05-25 株式会社电通 Information distribution systems and methods, programs for realizing these methods, and information media related to the programs
US20050033806A1 (en) * 2002-06-26 2005-02-10 Harvey Christopher Forrest System and method for communicating images between intercommunicating users
US20040186766A1 (en) * 2003-03-19 2004-09-23 International Business Machines Corporation Apparatus and method for marketing to instant messaging service users
CN1614959A (en) * 2003-11-06 2005-05-11 国际商业机器公司 Method and system for multiple instant messaging login sessions

Also Published As

Publication number Publication date
CN1874233A (en) 2006-12-06

Similar Documents

Publication Publication Date Title
JP6085691B2 (en) Method, device and system for pushing information
CN103295147B (en) method, device and system for advertising
CN100385854C (en) A system and method for sending broadcast messages
CN105847020B (en) Message pushing method and device
US8843463B2 (en) Providing content by using a social network
CN103138954B (en) Method, system and recommendation server for pushing recommended items
CN111260396B (en) Advertisement preloading method and device, electronic equipment and storage medium
CN103581111B (en) A kind of communication means and system
CN103546517B (en) Network information push system and method
US20080177626A1 (en) System and method for determining user preferences in a telecommunications network
CN107370780B (en) Media pushing method, device and system based on Internet
WO2010040308A1 (en) Method and system for transmitting messages
CN101631136A (en) Method, system, terminal device and advertiser terminal for realizing interactive advertisement
CN106126519B (en) Display method and server for media information
US11095580B2 (en) Instant message (IM) routing to a virtual user consisting of a group of possible sub-users associated with a common IM identity
KR101783431B1 (en) Method for providing funding and consulting information related with entertainment by crowd funding system
CN103037000B (en) Publish-subscribe system and notification message processing method thereof
CN109598550A (en) A kind of Internet advertising put-on method and device
JP2011191911A (en) Advertisement distribution device, advertisement distribution system, advertisement distribution method and program
WO2009146639A1 (en) Processing method, system and device for advertisement distribution
CN101836405B (en) Method for publishing, querying and subscribing information in VoIP network system through SIP terminal, SIP terminal, SIP application server, SIP information center and VoIP network system
AU2013203643B2 (en) Methods and apparatus to monitor impressions of social media messages
KR20100112979A (en) Method and apparatus for providing mobile advertising service in mobile advertising system
WO2009003388A1 (en) Advertisement event statistic method and advertisement information system and associated devices
CN105847371A (en) A method, server and terminal for pushing notification messages

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
ASS Succession or assignment of patent right

Owner name: TENTENT SCIENCE ( BEIJING ) CO., LTD.

Free format text: FORMER OWNER: TENCENT TECHNOLOGY (SHENZHEN) CO., LTD.

Effective date: 20081010

C41 Transfer of patent application or patent right or utility model
C56 Change in the name or address of the patentee
CP03 Change of name, title or address

Address after: Shenzhen, Guangdong hi tech park, south of a Fiyta building, 3-10 floor

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Address before: Room 403, east 2, SEG Science Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20081010

Address after: Beijing City, Haidian District Haidian street, No. 38 building 16 room 1601-1608 branch bank

Patentee after: Tencent Technology (Beijing) Co.,Ltd.

Address before: Shenzhen, Guangdong hi tech park, south of a Fiyta building, 3-10 floor

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

CX01 Expiry of patent term

Granted publication date: 20080430

CX01 Expiry of patent term