技术领域technical field
本公开涉及红包信息技术领域,尤其涉及红包发放方法及装置。The present disclosure relates to the field of red envelope information technology, and in particular to a method and device for issuing red envelopes.
背景技术Background technique
目前,很多用户在宣传活动或者观看球赛时经常会发一个信息(如帖子),声明顶到XX层就发红包等,以吸引更多用户参与这个话题,但是用户在发红包时,通常需要专门再使用即时通信软件建一个群,以让参与者加群发红包,而这种红包发送方案显然给发起者和红包的参与者带来很大不便。At present, many users often send a message (such as a post) when promoting an event or watching a football game, declaring that a red envelope will be issued when they reach the XX level, etc., in order to attract more users to participate in this topic, but when users send red envelopes, they usually need to specialize Then use instant messaging software to build a group, so that participants can join the group to send red envelopes, and this red envelope sending scheme obviously brings great inconvenience to the initiator and the participants of the red envelope.
发明内容Contents of the invention
本公开实施例提供了红包发放方法及装置。所述技术方案如下:Embodiments of the present disclosure provide a method and device for issuing red envelopes. Described technical scheme is as follows:
根据本公开实施例的第一方面,提供一种红包发放方法,包括:According to the first aspect of the embodiments of the present disclosure, a method for distributing red envelopes is provided, including:
接收到针对一信息的回复信息;Receiving a reply message to a message;
判断所述回复信息是否满足所述信息对应的红包发放条件;Judging whether the reply information satisfies the red envelope distribution conditions corresponding to the information;
当满足时,向所述回复信息的第一账户发放红包。When it is satisfied, a red packet is issued to the first account of the reply message.
在一个实施例中,所述接收到针对一信息的回复信息之前,所述方法还包括:In one embodiment, before receiving a reply message for a piece of information, the method further includes:
获取输入的所述红包发放条件。The input conditions for issuing red envelopes are acquired.
在一个实施例中,在获取输入的所述信息对应的所述红包发放条件之前,所述方法还包括:In one embodiment, before obtaining the red envelope issuance conditions corresponding to the input information, the method further includes:
当输入所述信息时,生成账户绑定提示,其中,所述账户绑定提示用于指示将发布所述信息的第二账户与金额支付账户相绑定,所述金额支付账户包括:所述第二账户对应的银行卡账户、支付宝账户、微信账户中的至少一项;When the information is input, an account binding prompt is generated, wherein the account binding prompt is used to indicate that the second account that issues the information will be bound with the amount payment account, and the amount payment account includes: the At least one of the bank card account, Alipay account, and WeChat account corresponding to the second account;
接收所述金额支付账户针对所述信息转入的红包金额。Receive the red envelope amount transferred from the amount payment account for the information.
在一个实施例中,所述判断所述回复信息是否满足所述信息对应的红包发放条件,包括:In one embodiment, the judging whether the reply information satisfies the red envelope issuance conditions corresponding to the information includes:
在接收到所述回复信息时,为所述第一账户设置回复编号;When receiving the reply information, set a reply number for the first account;
根据所述回复编号和所述红包发放条件对应的红包发放编号是否匹配,确定所述回复信息是否满足所述红包发放条件;或者According to whether the reply number matches the red packet distribution number corresponding to the red packet distribution condition, determine whether the reply information satisfies the red packet distribution condition; or
根据所述回复信息的内容是否与所述红包发放条件对应的预设回复内容相匹配,确定所述回复信息是否满足所述红包发放条件。According to whether the content of the reply information matches the preset reply content corresponding to the red envelope issuing condition, it is determined whether the reply information satisfies the red envelope issuing condition.
在一个实施例中,所述当满足时,向所述回复信息的第一账户发放红包,包括:In one embodiment, the sending a red envelope to the first account of the reply message when it is satisfied includes:
当满足所述红包发放条件时,确定所述信息中的关键词;When the conditions for issuing the red envelopes are met, determining keywords in the information;
根据所述回复信息的内容与所述关键词的关联程度,向所述第一账户发放红包。According to the degree of association between the content of the reply information and the keyword, a red envelope is issued to the first account.
在一个实施例中,所述当满足时,向所述回复信息的第一账户发放红包,包括:In one embodiment, the sending a red envelope to the first account of the reply message when it is satisfied includes:
当满足所述红包发放条件时,向所述第一账户随机发放红包;或者When the conditions for issuing red envelopes are met, randomly issue red envelopes to the first account; or
当满足所述红包发放条件时,向所述第一账户发放预设金额的红包。When the condition for issuing the red envelope is satisfied, a red envelope with a preset amount is issued to the first account.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
当所述红包金额的剩余金额为零时,生成提示信息,其中,所述提示信息指示所述第二账户所述红包金额已发放完毕。When the remaining amount of the red envelope amount is zero, a prompt message is generated, wherein the prompt information indicates that the red envelope amount in the second account has been issued.
根据本公开实施例的第二方面,提供一种红包发放装置,包括:According to the second aspect of the embodiments of the present disclosure, a device for distributing red envelopes is provided, including:
第一接收模块,用于接收到针对一信息的回复信息;The first receiving module is configured to receive reply information for a message;
判断模块,用于判断所述回复信息是否满足所述信息对应的红包发放条件;A judging module, configured to judge whether the reply information satisfies the red envelope distribution condition corresponding to the information;
处理模块,用于当满足时,向所述回复信息的第一账户发放红包。A processing module, configured to issue a red envelope to the first account of the reply message when it is satisfied.
在一个实施例中,所述装置还包括:In one embodiment, the device also includes:
获取模块,用于在接收到针对一信息的回复信息之前,获取输入的所述红包发放条件。The obtaining module is used to obtain the input red envelope issuing conditions before receiving a reply message to a message.
在一个实施例中,所述装置还包括:In one embodiment, the device also includes:
第一生成模块,在获取输入的所述红包发放条件之前,当输入所述信息时,生成账户绑定提示,其中,所述账户绑定提示用于指示将发布所述信息的第二账户与金额支付账户相绑定,所述金额支付账户包括:所述第二账户对应的银行卡账户、支付宝账户、微信账户中的至少一项;The first generation module generates an account binding prompt when the information is input before obtaining the input red envelope issuing conditions, wherein the account binding prompt is used to indicate that the second account that will issue the information is related to the The amount payment account is bound, and the amount payment account includes: at least one of the bank card account, Alipay account, and WeChat account corresponding to the second account;
第二接收模块,用于接收所述金额支付账户针对所述信息转入的红包金额。The second receiving module is configured to receive the red envelope amount transferred from the amount payment account for the information.
在一个实施例中,所述判断模块包括:In one embodiment, the judgment module includes:
设置子模块,用于在接收到所述回复信息时,为所述第一账户设置回复编号;Setting a submodule, configured to set a reply number for the first account when the reply message is received;
第一确定子模块,用于根据所述回复编号和所述红包发放条件对应的红包发放编号是否匹配,确定所述回复信息是否满足所述红包发放条件;或者The first determination submodule is used to determine whether the reply information satisfies the red envelope issuance condition according to whether the reply number matches the red envelope issuance number corresponding to the red envelope issuance condition; or
第二确定子模块,用于根据所述回复信息的内容是否与所述红包发放条件对应的预设回复内容相匹配,确定所述回复信息是否满足所述红包发放条件。The second determining submodule is used to determine whether the reply information satisfies the red envelope issuance condition according to whether the content of the reply information matches the preset reply content corresponding to the red envelope issuance condition.
在一个实施例中,所述处理模块包括:In one embodiment, the processing module includes:
第三确定子模块,用于当满足所述红包发放条件时,确定所述信息中的关键词;The third determining submodule is used to determine the keywords in the information when the conditions for issuing the red envelopes are met;
第一处理子模块,用于根据所述回复信息的内容与所述关键词的关联程度,向所述第一账户发放红包。The first processing sub-module is configured to issue red envelopes to the first account according to the degree of association between the content of the reply information and the keyword.
在一个实施例中,所述处理模块包括:In one embodiment, the processing module includes:
第二处理子模块,用于当满足所述红包发放条件时,向所述第一账户随机发放红包;或者The second processing submodule is used to randomly distribute red packets to the first account when the red packet distribution conditions are satisfied; or
第三处理子模块,用于当满足所述红包发放条件时,向所述第一账户发放预设金额的红包。The third processing sub-module is configured to issue a preset amount of red envelopes to the first account when the conditions for issuing red envelopes are satisfied.
在一个实施例中,所述装置还包括:In one embodiment, the device also includes:
第二生成模块,用于当所述红包金额的剩余金额为零时,生成提示信息,其中,所述提示信息指示所述第二账户所述红包金额已发放完毕。The second generating module is configured to generate prompt information when the remaining amount of the red envelope amount is zero, wherein the prompt information indicates that the red envelope amount in the second account has been issued.
根据本公开实施例的第三方面,提供了一种红包发放装置,包括:According to the third aspect of the embodiments of the present disclosure, there is provided a device for distributing red envelopes, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
接收到针对一信息的回复信息;Receiving a reply message to a message;
判断所述回复信息是否满足所述信息对应的红包发放条件;Judging whether the reply information satisfies the red envelope distribution conditions corresponding to the information;
当满足时,向所述回复信息的第一账户发放红包。When it is satisfied, a red packet is issued to the first account of the reply message.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开的实施例提供的技术方案,在接收到任何用户针对该信息的回复信息时,可以判断该回复信息是否满足该信息对应的红包发放条件,如果满足,则向输入该回复信息的回复者所登陆的第一账户自动地发放红包,从而极大地简化了针对回复信息发放红包的流程,避免了在该回复信息满足该红包发放条件时,需要专门登录某个即时通信软件、然后建立一个红包群,才能为回复者发放红包,极大地方便了用户。The technical solutions provided by the embodiments of the present disclosure can determine whether the reply information satisfies the red envelope distribution conditions corresponding to the information when receiving any reply information from any user. The first account logged in automatically distributes red envelopes, which greatly simplifies the process of issuing red envelopes for reply messages, and avoids the need to log in to a certain instant messaging software and create a red envelope when the reply information meets the conditions for issuing red envelopes Group, in order to distribute red envelopes to the respondents, which greatly facilitates the users.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1是根据一示例性实施例示出的一种红包发放方法的流程图。Fig. 1 is a flow chart of a method for issuing red envelopes according to an exemplary embodiment.
图2是根据一示例性实施例示出的另一种红包发放方法的流程图。Fig. 2 is a flow chart of another method for distributing red envelopes according to an exemplary embodiment.
图3是根据一示例性实施例一示出的又一种红包发放方法的流程图。Fig. 3 is a flow chart of another method for distributing red envelopes according to the first exemplary embodiment.
图4A是根据一示例性实施例一示出的再一种红包发放方法的流程图。Fig. 4A is a flow chart of yet another method for distributing red envelopes according to the first exemplary embodiment.
图4B是根据一示例性实施例一示出的再一种红包发放方法的流程图。Fig. 4B is a flow chart of yet another method for distributing red envelopes according to the first exemplary embodiment.
图5是根据一示例性实施例一示出的再一种红包发放方法的流程图。Fig. 5 is a flow chart of yet another method for distributing red envelopes according to the first exemplary embodiment.
图6A是根据一示例性实施例一示出的再一种红包发放方法的流程图。Fig. 6A is a flow chart of still another method for distributing red envelopes according to the first exemplary embodiment.
图6B是根据一示例性实施例一示出的再一种红包发放方法的流程图。Fig. 6B is a flow chart of yet another method for distributing red envelopes according to the first exemplary embodiment.
图7是根据一示例性实施例一示出的再一种红包发放方法的流程图。Fig. 7 is a flow chart of yet another method for distributing red envelopes according to the first exemplary embodiment.
图8是根据一示例性实施例示出的一种红包发放装置的框图。Fig. 8 is a block diagram of a device for distributing red envelopes according to an exemplary embodiment.
图9是根据一示例性实施例示出的另一种红包发放装置的框图。Fig. 9 is a block diagram of another apparatus for distributing red envelopes according to an exemplary embodiment.
图10是根据一示例性实施例示出的又一种红包发放装置的框图。Fig. 10 is a block diagram of another apparatus for distributing red envelopes according to an exemplary embodiment.
图11A是根据一示例性实施例示出的再一种红包发放装置的框图。Fig. 11A is a block diagram of another apparatus for distributing red envelopes according to an exemplary embodiment.
图11B是根据一示例性实施例示出的再一种红包发放装置的框图。Fig. 11B is a block diagram of another apparatus for distributing red packets according to an exemplary embodiment.
图12是根据一示例性实施例示出的再一种红包发放装置的框图。Fig. 12 is a block diagram of another apparatus for distributing red envelopes according to an exemplary embodiment.
图13A是根据一示例性实施例示出的再一种红包发放装置的框图。Fig. 13A is a block diagram of another apparatus for distributing red envelopes according to an exemplary embodiment.
图13B是根据一示例性实施例示出的再一种红包发放装置的框图。Fig. 13B is a block diagram of another apparatus for distributing red packets according to an exemplary embodiment.
图14是根据一示例性实施例示出的再一种红包发放装置的框图。Fig. 14 is a block diagram of another apparatus for distributing red envelopes according to an exemplary embodiment.
图15是根据一示例性实施例示出的适用于红包发放装置的框图。Fig. 15 is a block diagram showing a device suitable for distributing red envelopes according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
目前,很多用户在宣传活动或者观看球赛时经常会发一个信息(如帖子),声明顶到XX层就发红包等,以吸引更多用户参与这个话题,但是用户在发红包时,通常需要专门再使用即时通信软件建一个群,以让参与者加群发红包,而这种红包发送方案显然给发起者和红包的参与者带来很大不便。At present, many users often send a message (such as a post) when promoting an event or watching a football game, declaring that a red envelope will be issued when they reach the XX level, etc., in order to attract more users to participate in this topic, but when users send red envelopes, they usually need to specialize Then use instant messaging software to build a group, so that participants can join the group to send red envelopes, and this red envelope sending scheme obviously brings great inconvenience to the initiator and the participants of the red envelope.
为了解决上述技术问题,本公开实施例提供了一种红包发放方法,该方法可用于红包发放程序、系统或装置中,且该方法对应的执行主体可以是用户携带的终端,如图1所示,该方法包括步骤S101至步骤S103:In order to solve the above technical problems, an embodiment of the present disclosure provides a method for issuing red packets, which can be used in a program, system or device for issuing red packets, and the execution subject corresponding to the method can be a terminal carried by a user, as shown in Figure 1 , the method includes step S101 to step S103:
在步骤S101中,接收到针对一信息的回复信息;In step S101, a reply message to a message is received;
该信息可以是发布者在任何平台上发布的用于吸引用户参与讨论的帖子、留言、状态信息等。The information may be posts, messages, status information, etc. published by the publisher on any platform to attract users to participate in the discussion.
在步骤S101中,判断回复信息是否满足信息对应的红包发放条件;In step S101, it is judged whether the reply information satisfies the red envelope distribution condition corresponding to the information;
在步骤S102中,当满足时,向回复信息的第一账户发放红包,需要说明的是:该第一账户是回复该信息的用户所登陆的账号,用于与该信息的发布者的第二账户相区分,并不表示所有回复该信息的用户所登陆的账号的实际名称都是第一账户。In step S102, when it is satisfied, a red envelope is issued to the first account that replied to the information. The distinction between accounts does not mean that the actual names of the accounts logged in by all users who reply to this information are the first account.
在接收到任何用户针对该信息的回复信息时,可以判断该回复信息是否满足该信息对应的红包发放条件,如果满足,则向输入该回复信息的回复者所登陆的第一账户自动地发放红包,从而极大地简化了针对回复信息发放红包的流程,避免了在该回复信息满足该红包发放条件时,需要专门登录某个即时通信软件、然后建立一个红包群,才能为回复者发放红包,极大地方便了用户。When any user's reply information to the information is received, it can be judged whether the reply information satisfies the red envelope issuance condition corresponding to the information, and if so, the red envelope is automatically issued to the first account logged in by the responder who input the reply information , which greatly simplifies the process of issuing red envelopes for reply messages, and avoids the need to log in to a certain instant messaging software and then create a red envelope group to issue red envelopes to the respondent when the reply information meets the conditions for issuing red envelopes. Great convenience for users.
如图2所示,在一个实施例中,在执行图1中的步骤S101之前,上述方法还可包括:As shown in FIG. 2, in one embodiment, before step S101 in FIG. 1 is performed, the above method may further include:
在步骤S201中,获取输入的红包发放条件。In step S201, the input conditions for issuing red envelopes are obtained.
该信息的发布者在发布该信息时,可以根据自己的喜好和需求,个性化定制该红包发放条件,以吸引更多用户回复该信息,参与该信息的讨论,从而满足信息的发布者的需求,例如:When the publisher of the information publishes the information, he can customize the distribution conditions of the red envelope according to his own preferences and needs, so as to attract more users to reply to the information and participate in the discussion of the information, so as to meet the needs of the publisher of the information ,For example:
该红包发放条件可以是第N个回复该信息的用户可以获取该信息对应的红包;或者The condition for issuing the red envelope may be that the Nth user who replies to the information can obtain the red envelope corresponding to the information; or
该红包发放条件可以是前N个回复该信息的用户可以获取该信息对应的红包;或者The condition for issuing the red envelope may be that the first N users who reply to the information can obtain the red envelope corresponding to the information; or
该红包发放条件可以是第N个之后(从N+1开始)回复该信息的用户可以获取该信息对应的红包;或者The condition for issuing the red envelope may be that the user who replies to the information after the Nth (starting from N+1) can obtain the red envelope corresponding to the information; or
当该回复信息的内容与预设回复内容匹配时,该回复信息的用户可以获取该信息对应的红包。When the content of the reply message matches the preset reply content, the user of the reply message can obtain the red envelope corresponding to the message.
如图3所示,在一个实施例中,在执行图2中的步骤S201之前,上述方法还可包括:As shown in FIG. 3, in one embodiment, before performing step S201 in FIG. 2, the above method may further include:
在步骤S301中,当输入信息时,生成账户绑定提示,其中,账户绑定提示用于指示将发布信息的第二账户与金额支付账户相绑定,金额支付账户包括:第二账户对应的银行卡账户、支付宝账户、微信账户中的至少一项,且该第二账户是该信息的发布者在发布该信息时,所登录的账户(如XX贴吧的账户),当然,当该信息是该第二账户对应的发布者通过该第二账户首次发布的信息时,需要生成该账户绑定提示,而一旦发布者将该第二账户与其对应的金额支付账户相绑定,发布者再次通过该第二账户发布信息时,就不必再生成该账户绑定提示,以避免给发布者带来不便;In step S301, when the information is input, an account binding prompt is generated, wherein the account binding prompt is used to indicate that the second account that publishes the information is bound to the amount payment account, and the amount payment account includes: the account corresponding to the second account At least one of the bank card account, Alipay account, and WeChat account, and the second account is the account that the publisher of the information logged in when publishing the information (such as the account of XX Tieba). Of course, when the information is When the publisher corresponding to the second account publishes the information for the first time through the second account, it needs to generate the account binding reminder, and once the publisher binds the second account with the corresponding payment account, the publisher will pass the When the second account publishes information, there is no need to generate the account binding reminder again, so as to avoid inconvenience to the publisher;
为了使参与该信息的回复者在回复该信息之后能够有可能直接获取到红包,在发布者输入该信息时,可以生成账户绑定提示,以提示信息发布者将其登录的第二账户与其所使用的金额支付账户相绑定,这样发布者在发布该信息时,可以通过该金额支付账户为该信息输入相应的红包金额,以为后期能够为满足该红包发放条件的参与者自动地发送红包奠定基础。In order to make it possible for the respondent who participated in the information to obtain the red envelope directly after replying to the information, when the publisher enters the information, an account binding prompt can be generated to prompt the information publisher to link the second account they log in with the one they belong to. The amount payment account used is bound, so that when publishing the information, the publisher can enter the corresponding red envelope amount for the information through the amount payment account, so as to lay the foundation for automatically sending red envelopes to participants who meet the red envelope issuance conditions later. Base.
在步骤S302中,接收金额支付账户针对信息转入的红包金额。In step S302, the amount of the red envelope transferred from the amount payment account for the information is received.
接收金额支付账户针对信息转入的红包金额,就是通过该金额支付账户为该信息输入相应的红包金额,使得该信息成为红包信息,以便于为满足该红包发放条件的参与者自动地发送红包。The receiving amount payment account transfers the red envelope amount for the information, which is to enter the corresponding red envelope amount for the information through the amount payment account, so that the information becomes red envelope information, so that red envelopes are automatically sent to participants who meet the red envelope issuance conditions.
另外,在接收红包金额时,为了方便用户进行操作,该第二账户和第一账户的用户所登陆的平台可以发布的信息可以分为两种信息:普通信息(即无法添加红包的信息)和红包信息,这样当用户选择发布用于吸引用户参与讨论的红包信息(即本公开中的信息)时,设备会自动地提示用户通过该金额支付账户输入针对该信息的红包金额,并在接收到用户通过该金额支付账户转入的针对该信息的红包金额和相应的发布指令之后,就会自动地生成该信息。In addition, when receiving the amount of red envelopes, in order to facilitate the user's operation, the information that can be released by the platforms logged in by the users of the second account and the first account can be divided into two types of information: ordinary information (that is, information that cannot add red envelopes) and Red envelope information, so that when the user chooses to publish the red envelope information (that is, the information in this disclosure) used to attract users to participate in the discussion, the device will automatically prompt the user to enter the red envelope amount for the information through the amount payment account, and upon receiving The information will be automatically generated after the user pays the red envelope amount for the information transferred into the account through the amount and the corresponding release instruction.
此外,在生成该信息之后,为了突出该信息是红包信息与普通信息不同,在显示该信息时,可以突出显示该信息,如将该信息的字体放大、增加该信息的显示亮度、或者在该信息的开头添加红包的图案标志等,以使其他用户可以醒目地看到该红包信息。In addition, after the information is generated, in order to highlight that the information is different from ordinary information, the information can be highlighted when displaying the information, such as enlarging the font of the information, increasing the display brightness of the information, or displaying the information in the At the beginning of the information, add the pattern logo of the red envelope, etc., so that other users can see the red envelope information prominently.
如图4A所示,在一个实施例中,上述步骤S102可被执行为:As shown in FIG. 4A, in one embodiment, the above step S102 may be executed as:
在步骤A1中,在接收到回复信息时,为第一账户设置回复编号,其中,每个回复者(即第一账号)均对应一个回复编号,而不同的第一账号对应不同的回复编号,且该回复编号根据回复该信息的顺序而制定,当第一个回复该信息的第一账户的编号为1时,第二个回复该信息的第一账户的编号就为2,以此类推,第N个回复该信息的第一账户的编号就为N;In step A1, when the reply message is received, a reply number is set for the first account, wherein each replyer (ie, the first account) corresponds to a reply number, and different first accounts correspond to different reply numbers, And the reply number is formulated according to the order of replying to the message. When the number of the first account that replies to the message first is 1, the number of the first account that replies to the message second is 2, and so on. The number of the first account that replies to the Nth message is N;
在步骤A2中,根据回复编号和红包发放条件对应的红包发放编号是否匹配,确定回复信息是否满足红包发放条件;In step A2, according to whether the reply number matches the red packet distribution number corresponding to the red packet distribution condition, determine whether the reply information satisfies the red packet distribution condition;
由于红包发放条件可能与该回复信息的回复编号有关,因而,在接收到该回复信息时,可以根据已接收到的回复信息对应的用户的回复编号,顺序地为该第一账户设置回复编号,进而根据该回复编号和该红包发放条件对应的红包发放编号是否匹配,来确定回复信息是否满足红包发放条件,具体地:Since the red envelope issuing condition may be related to the reply number of the reply message, when the reply message is received, the reply number can be sequentially set for the first account according to the reply number of the user corresponding to the received reply message, Then, according to whether the reply number matches the red packet distribution number corresponding to the red packet distribution condition, it is determined whether the reply information meets the red packet distribution condition, specifically:
当该回复编号与该红包发放条件对应的红包发放编号相匹配时,确定该回复信息满足该红包发放条件。When the reply number matches the red packet distribution number corresponding to the red packet distribution condition, it is determined that the reply information satisfies the red packet distribution condition.
当该回复编号与该红包发放条件对应的红包发放编号不匹配时,确定该回复信息不满足该红包发放条件。When the reply number does not match the red packet distribution number corresponding to the red packet distribution condition, it is determined that the reply information does not meet the red packet distribution condition.
另外,该回复编号与该红包发放条件对应的红包发放编号相匹配,表示该回复编号与该红包发放条件对应的某个红包发放编号相等、或者该回复编号位于该红包发放条件对应的红包发放编号的范围内,例如:In addition, the reply number matches the red packet distribution number corresponding to the red packet distribution condition, which means that the reply number is equal to a red packet distribution number corresponding to the red packet distribution condition, or the reply number is located in the red packet distribution number corresponding to the red packet distribution condition within the range, for example:
当该红包发放条件对应的红包发放编号的范围为大于或等于N+1、且该回复编号为N+3时,该回复编号就与该红包发放条件对应的红包发放编号相匹配;When the range of the red envelope issuing number corresponding to the red envelope issuing condition is greater than or equal to N+1, and the reply number is N+3, the reply number matches the red envelope issuing number corresponding to the red envelope issuing condition;
当该红包发放条件对应的红包发放编号的范围为小于或等于N-1、且该回复编号为N-3时,该回复编号就与该红包发放条件对应的红包发放编号相匹配;When the range of the red envelope issuing number corresponding to the red envelope issuing condition is less than or equal to N-1, and the reply number is N-3, the reply number matches the red envelope issuing number corresponding to the red envelope issuing condition;
当该红包发放条件对应的红包发放编号为N+1、N+11、N+21、N+31、N+41,且该回复编号为N+11时,该回复编号就与该红包发放条件对应的红包发放编号相匹配;When the red envelope issuance number corresponding to the red envelope issuance condition is N+1, N+11, N+21, N+31, N+41, and the reply number is N+11, the reply number is the same as the red envelope issuance condition The corresponding red envelope distribution numbers match;
或者or
如图4B所示,在一个实施例中,上述步骤S102还可被执行为:As shown in FIG. 4B, in one embodiment, the above step S102 may also be executed as:
在步骤A3中,根据回复信息的内容是否与红包发放条件对应的预设回复内容相匹配,确定回复信息是否满足红包发放条件,该预设回复内容可以是在发布该信息时,发布者根据该信息简单预置的回复内容,例如:可以是发布者关心的与该信息相关的若干个关键词。In step A3, according to whether the content of the reply information matches the preset reply content corresponding to the red envelope distribution conditions, it is determined whether the reply information meets the red envelope distribution conditions. The simple preset reply content of the information, for example, can be several keywords related to the information that the publisher cares about.
在确定该回复信息是否满足该红包发放条件时,还可以根据该回复信息的内容是否与该预设回复内容相匹配来确定,具体地:When determining whether the reply information satisfies the condition for issuing the red envelope, it can also be determined according to whether the content of the reply information matches the preset reply content, specifically:
当该回复信息的内容与该预设回复内容相匹配时,确定该回复信息满足该红包发放条件;When the content of the reply message matches the preset reply content, it is determined that the reply message satisfies the condition for issuing the red envelope;
当该回复信息的内容与该预设回复内容不匹配时,确定该回复信息不满足该红包发放条件;When the content of the reply message does not match the preset reply content, it is determined that the reply message does not satisfy the red envelope distribution condition;
而该回复信息的内容与该预设回复内容相匹配,表示该回复信息的内容与该预设回复内容相关联,即该回复信息的内容与该预设回复内容具有某些相同、或者是意思相同的词汇、或者语句等。And the content of the reply information matches the preset reply content, which means that the content of the reply information is associated with the preset reply content, that is, the content of the reply information and the preset reply content have some same, or meaning The same vocabulary, or sentence, etc.
另外,图4A和图4B所示的确定回复信息是否满足红包发放条件的两种实施方式也可以相结合,既当该回复编号与该红包发放条件对应的红包发放编号相匹配、且该回复信息的内容与该预设回复内容相匹配时,才确定该回复信息满足该红包发放条件,否则,确定该回复信息不满足该红包发放条件,以提高确定结果的准确性。In addition, the two implementations of determining whether the reply information meets the red envelope distribution conditions shown in Figure 4A and Figure 4B can also be combined, that is, when the reply number matches the red envelope issuance number corresponding to the red envelope issuance condition, and the reply information Only when the content of the reply matches the preset reply content, it is determined that the reply information satisfies the red envelope issuance condition; otherwise, it is determined that the reply information does not meet the red envelope issuance condition, so as to improve the accuracy of the determination result.
如图5所示,在一个实施例中,上述步骤S103还可被执行为:As shown in FIG. 5, in one embodiment, the above step S103 may also be executed as:
在步骤B1中,当满足红包发放条件时,确定信息中的关键词,其中,该信息中的关键词可以通过词法分析器来获取,或者结合当下热门的话题来获取,例如:当该信息与某场热门球赛有关时,该关键词可能就是该球赛的得分、某个球员、球赛直播时间、该球赛的教练等,当该信息与某个热播电视剧有关时,该关键词可能就是该电视剧的某个剧情、某个演员、该电视剧的结局、或者电视剧的更新时间等;In step B1, when the conditions for issuing red envelopes are satisfied, the keywords in the information are determined, wherein the keywords in the information can be obtained through a lexical analyzer, or combined with current hot topics, for example: when the information is related to When it is related to a popular football game, the keyword may be the score of the game, a certain player, the live broadcast time of the game, the coach of the game, etc. When the information is related to a popular TV series, the keyword may be the TV series A certain plot, a certain actor, the ending of the TV series, or the update time of the TV series, etc.;
在步骤B2中,根据回复信息的内容与关键词的关联程度,向第一账户发放红包,其中,在计算关联程度时,可以根据该回复信息的内容中出现的该关键词的数目来确定,或者根据该回复信息的内容中与该关键词意思相同的词的数目来确定,而该数目越高,关联程度也就越高。In step B2, according to the degree of association between the content of the reply information and the keyword, a red envelope is issued to the first account, wherein, when calculating the degree of association, it can be determined according to the number of the keyword appearing in the content of the reply information, Or it can be determined according to the number of words with the same meaning as the keyword in the content of the reply message, and the higher the number, the higher the degree of association.
当满足该红包发放条件时,可以确定该信息中的关键词,进而根据该回复信息的内容与关键词的关联程度,向该第一账户发放相应的红包,具体地:关联程度越高,向该第一账户发放的红包就越大,关联程度越低,向该第一账户发放的红包就越小。When the condition for issuing the red envelope is satisfied, the keyword in the information can be determined, and then according to the degree of association between the content of the reply message and the keyword, a corresponding red envelope is issued to the first account, specifically: the higher the degree of association, the more The larger the red envelope issued by the first account and the lower the degree of association, the smaller the red envelope issued to the first account.
如图6A所示,在一个实施例中,上述步骤S103还可被执行为:As shown in FIG. 6A, in one embodiment, the above step S103 can also be executed as:
在步骤B3中,当满足红包发放条件时,向第一账户随机发放红包;或者In step B3, when the conditions for issuing red envelopes are met, randomly issue red envelopes to the first account; or
如图6B所示,在一个实施例中,上述步骤S103可被执行为:As shown in FIG. 6B, in one embodiment, the above step S103 may be executed as:
在步骤B4中,当满足红包发放条件时,向第一账户发放预设金额的红包,该预设金额为固定金额。In step B4, when the conditions for issuing red envelopes are satisfied, a red envelope with a preset amount is issued to the first account, and the preset amount is a fixed amount.
在为满足该红包发放条件的第一账户发放红包时,还可以为该第一账户随机发放红包、或者为每个满足该红包发放条件的第一账户发送等金额的红包。When distributing red envelopes to the first account that meets the red envelope distribution conditions, red envelopes can also be randomly distributed to the first account, or red envelopes of the same amount can be sent to each first account that meets the red envelope distribution conditions.
如图7所示,在一个实施例中,上述方法还可包括:As shown in Figure 7, in one embodiment, the above method may also include:
在步骤S701中,当红包金额的剩余金额为零时,生成提示信息,其中,提示信息指示第二账户红包金额已发放完毕。In step S701, when the remaining amount of the red envelope amount is zero, a prompt message is generated, wherein the prompt information indicates that the red envelope amount of the second account has been issued.
当该信息对应的红包金额的剩余金额为零时,可以生成该提示信息,以提示该发布者该红包金额已发放完毕,无法为满足红包发放条件的回复者再发放红包,以使发布者在不需要手动地查看剩余金额时,可以及时地了解红包的发放情况,同时也可以使发布者可以根据个人需求来确定是否继续通过金额支付账户为该信息再次设置红包,从而鼓励更多参与者回复该信息。When the remaining amount of the red envelope amount corresponding to the information is zero, the prompt message can be generated to remind the publisher that the amount of the red envelope has been distributed, and no more red envelopes can be issued to the respondent who meets the red envelope distribution conditions, so that the publisher can When you don’t need to manually check the remaining amount, you can keep abreast of the distribution of red envelopes in a timely manner. At the same time, it can also enable the publisher to determine whether to continue to set up red envelopes for the information again through the amount payment account according to individual needs, thereby encouraging more participants to reply the information.
对应本公开实施例提供的上述红包发放方法,本公开实施例还提供一种红包发放装置,如图8所示,该装置包括:Corresponding to the above method for issuing red envelopes provided by the embodiments of the present disclosure, the embodiments of the present disclosure also provide a device for issuing red envelopes, as shown in FIG. 8 , the device includes:
第一接收模块801,被配置为接收到针对一信息的回复信息;The first receiving module 801 is configured to receive reply information for a piece of information;
判断模块802,被配置为判断回复信息是否满足信息对应的红包发放条件;The judging module 802 is configured to judge whether the reply information satisfies the red envelope distribution condition corresponding to the information;
处理模块803,被配置为当满足时,向回复信息的第一账户发放红包。The processing module 803 is configured to issue a red envelope to the first account that replies to the information when it is satisfied.
如图9所示,在一个实施例中,上述装置还可包括:As shown in Figure 9, in one embodiment, the above-mentioned device may further include:
获取模块901,被配置为在接收到针对一信息的回复信息之前,获取输入的红包发放条件。The obtaining module 901 is configured to obtain the input red packet issuing conditions before receiving a reply message to a message.
如图10所示,在一个实施例中,上述装置还可包括:As shown in Figure 10, in one embodiment, the above-mentioned device may further include:
第一生成模块1001,被配置为在获取输入的红包发放条件之前,当输入信息时,生成账户绑定提示,其中,账户绑定提示被配置为指示将发布信息的第二账户与金额支付账户相绑定,金额支付账户包括:第二账户对应的银行卡账户、支付宝账户、微信账户中的至少一项;The first generation module 1001 is configured to generate an account binding prompt when inputting information before obtaining the input red envelope distribution conditions, wherein the account binding prompt is configured to indicate that the second account that will issue the information and the amount payment account Binding, the amount payment account includes: at least one of the bank card account, Alipay account, and WeChat account corresponding to the second account;
第二接收模块1002,被配置为接收金额支付账户针对信息转入的红包金额。The second receiving module 1002 is configured to receive the amount of red envelope transferred from the amount payment account for the information.
如图11A所示,在一个实施例中,上述判断模块802可包括:As shown in Figure 11A, in one embodiment, the above-mentioned judging module 802 may include:
设置子模块8021,被配置为在接收到回复信息时,为第一账户设置回复编号;The setting submodule 8021 is configured to set a reply number for the first account when receiving the reply message;
第一确定子模块8022,被配置为根据回复编号和红包发放条件对应的红包发放编号是否匹配,确定回复信息是否满足红包发放条件;或者The first determination sub-module 8022 is configured to determine whether the reply information meets the red envelope issuance condition according to whether the reply number matches the red envelope issuance number corresponding to the red envelope issuance condition; or
如图11B所示,在一个实施例中,上述判断模块802可包括:As shown in FIG. 11B , in one embodiment, the above judgment module 802 may include:
第二确定子模块8023,被配置为根据回复信息的内容是否与红包发放条件对应的预设回复内容相匹配,确定回复信息是否满足红包发放条件。The second determination sub-module 8023 is configured to determine whether the reply information satisfies the red envelope issuance condition according to whether the content of the reply information matches the preset reply content corresponding to the red envelope issuance condition.
如图12所示,在一个实施例中,上述处理模块803可以包括:As shown in FIG. 12, in one embodiment, the above-mentioned processing module 803 may include:
第三确定子模块8031,被配置为当满足红包发放条件时,确定信息中的关键词;The third determination sub-module 8031 is configured to determine the keywords in the information when the conditions for issuing red envelopes are met;
第一处理子模块8032,被配置为根据回复信息的内容与关键词的关联程度,向第一账户发放红包。The first processing sub-module 8032 is configured to issue red envelopes to the first account according to the degree of correlation between the content of the reply information and the keywords.
如图13A所示,在一个实施例中,上述处理模块803可以包括:As shown in FIG. 13A, in one embodiment, the processing module 803 may include:
第二处理子模块8033,被配置为当满足红包发放条件时,向第一账户随机发放红包;或者The second processing sub-module 8033 is configured to randomly issue a red envelope to the first account when the red envelope issuing condition is met; or
如图13B所示,在一个实施例中,上述处理模块803可以包括:As shown in FIG. 13B, in one embodiment, the processing module 803 may include:
第三处理子模块8034,被配置为当满足红包发放条件时,向第一账户发放预设金额的红包。The third processing sub-module 8034 is configured to issue a preset amount of red envelopes to the first account when the conditions for issuing red envelopes are met.
如图14所示,在一个实施例中,上述装置还包括:As shown in Figure 14, in one embodiment, the above-mentioned device also includes:
第二生成模块1401,被配置为当红包金额的剩余金额为零时,生成提示信息,其中,提示信息指示第二账户红包金额已发放完毕。The second generating module 1401 is configured to generate prompt information when the remaining amount of the red envelope amount is zero, wherein the prompt information indicates that the red envelope amount of the second account has been issued.
根据本公开实施例的第三方面,提供一种红包发放装置,包括:According to a third aspect of the embodiments of the present disclosure, a device for distributing red envelopes is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,处理器被配置为:where the processor is configured as:
接收到针对一信息的回复信息;Receiving a reply message to a message;
判断所述回复信息是否满足所述信息对应的红包发放条件;Judging whether the reply information satisfies the red envelope distribution conditions corresponding to the information;
当满足时,向所述回复信息的第一账户发放红包。When it is satisfied, a red packet is issued to the first account of the reply message.
上述处理器还可被配置为:The processors described above can also be configured to:
所述接收到针对一信息的回复信息之前,所述方法还包括:Before receiving the reply information for a piece of information, the method also includes:
获取输入的所述红包发放条件。The input conditions for issuing red envelopes are acquired.
上述处理器还可被配置为:The processors described above can also be configured to:
在获取输入的所述信息对应的所述红包发放条件之前,所述方法还包括:Before acquiring the red envelope distribution conditions corresponding to the input information, the method further includes:
当输入所述信息时,生成账户绑定提示,其中,所述账户绑定提示用于指示将发布所述信息的第二账户与金额支付账户相绑定,所述金额支付账户包括:所述第二账户对应的银行卡账户、支付宝账户、微信账户中的至少一项;When the information is input, an account binding prompt is generated, wherein the account binding prompt is used to indicate that the second account that issues the information will be bound with the amount payment account, and the amount payment account includes: the At least one of the bank card account, Alipay account, and WeChat account corresponding to the second account;
接收所述金额支付账户针对所述信息转入的红包金额。Receive the red envelope amount transferred from the amount payment account for the information.
上述处理器还可被配置为:The processors described above can also be configured to:
所述判断所述回复信息是否满足所述信息对应的红包发放条件,包括:The judging whether the reply information satisfies the red envelope distribution conditions corresponding to the information includes:
在接收到所述回复信息时,为所述第一账户设置回复编号;When receiving the reply information, set a reply number for the first account;
根据所述回复编号和所述红包发放条件对应的红包发放编号是否匹配,确定所述回复信息是否满足所述红包发放条件;或者According to whether the reply number matches the red packet distribution number corresponding to the red packet distribution condition, determine whether the reply information satisfies the red packet distribution condition; or
根据所述回复信息的内容是否与所述红包发放条件对应的预设回复内容相匹配,确定所述回复信息是否满足所述红包发放条件。According to whether the content of the reply information matches the preset reply content corresponding to the red envelope issuing condition, it is determined whether the reply information satisfies the red envelope issuing condition.
上述处理器还可被配置为:The processors described above can also be configured to:
所述当满足时,向所述回复信息的第一账户发放红包,包括:Said when it is satisfied, issuing a red envelope to the first account of said reply message, including:
当满足所述红包发放条件时,确定所述信息中的关键词;When the conditions for issuing the red envelopes are met, determining keywords in the information;
根据所述回复信息的内容与所述关键词的关联程度,向所述第一账户发放红包。According to the degree of association between the content of the reply information and the keyword, a red envelope is issued to the first account.
上述处理器还可被配置为:The processors described above can also be configured to:
所述当满足时,向所述回复信息的第一账户发放红包,包括:Said when it is satisfied, issuing a red envelope to the first account of said reply message, including:
当满足所述红包发放条件时,向所述第一账户随机发放红包;或者When the conditions for issuing red envelopes are met, randomly issue red envelopes to the first account; or
当满足所述红包发放条件时,向所述第一账户发放预设金额的红包。When the condition for issuing the red envelope is satisfied, a red envelope with a preset amount is issued to the first account.
上述处理器还可被配置为:The processors described above can also be configured to:
所述方法还包括:The method also includes:
当所述红包金额的剩余金额为零时,生成提示信息,其中,所述提示信息指示所述第二账户所述红包金额已发放完毕。When the remaining amount of the red envelope amount is zero, a prompt message is generated, wherein the prompt information indicates that the red envelope amount in the second account has been issued.
图15是根据一示例性实施例示出的一种用于红包发放装置1500的框图,该装置适用于终端设备。例如,装置1500可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个用户数字助理等。Fig. 15 is a block diagram showing an apparatus 1500 for distributing red packets according to an exemplary embodiment, and the apparatus is suitable for terminal equipment. For example, the apparatus 1500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图15,装置1500可以包括以下一个或至少两个组件:处理组件1502,存储器1504,电源组件1506,多媒体组件1508,音频组件1510,输入/输出(I/O)的接口1512,传感器组件1514,以及通信组件1516。Referring to Fig. 15, device 1500 may comprise following one or at least two components: processing component 1502, memory 1504, power supply component 1506, multimedia component 1508, audio component 1510, input/output (I/O) interface 1512, sensor component 1514 , and the communication component 1516.
处理组件1502通常控制装置1500的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1502可以包括一个或至少两个处理器1520来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件1502可以包括一个或至少两个模块,便于处理组件1502和其他组件之间的交互。例如,处理组件1502可以包括多媒体模块,以方便多媒体组件1508和处理组件1502之间的交互。The processing component 1502 generally controls the overall operations of the device 1500, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1502 may include one or at least two processors 1520 to execute instructions to complete all or part of the steps of the above method. Additionally, the processing component 1502 may include one or at least two modules to facilitate interaction between the processing component 1502 and other components. For example, processing component 1502 may include a multimedia module to facilitate interaction between multimedia component 1508 and processing component 1502 .
存储器1504被配置为存储各种类型的数据以支持在装置1500的操作。这些数据的示例包括用于在装置1500上操作的任何存储对象或方法的指令,联系用户数据,电话簿数据,消息,图片,视频等。存储器1504可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1504 is configured to store various types of data to support operations at the device 1500 . Examples of such data include instructions for any stored objects or methods operating on device 1500, contact user data, phonebook data, messages, pictures, videos, and the like. The memory 1504 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件1506为装置1500的各种组件提供电源。电源组件1506可以包括电源管理系统,一个或至少两个电源,及其他与为装置1500生成、管理和分配电源相关联的组件。Power component 1506 provides power to various components of device 1500 . Power supply components 1506 may include a power management system, one or at least two power supplies, and other components associated with generating, managing, and distributing power to device 1500 .
多媒体组件1508包括在所述装置1500和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或至少两个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1508包括一个前置摄像头和/或后置摄像头。当装置1500处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1508 includes a screen that provides an output interface between the device 1500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or at least two touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1508 includes a front camera and/or a rear camera. When the device 1500 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件1510被配置为输出和/或输入音频信号。例如,音频组件1510包括一个麦克风(MIC),当装置1500处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1504或经由通信组件1516发送。在一些实施例中,音频组件1510还包括一个扬声器,用于输出音频信号。The audio component 1510 is configured to output and/or input audio signals. For example, the audio component 1510 includes a microphone (MIC), which is configured to receive external audio signals when the device 1500 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1504 or sent via communication component 1516 . In some embodiments, the audio component 1510 also includes a speaker for outputting audio signals.
I/O接口1512为处理组件1502和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1512 provides an interface between the processing component 1502 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件1514包括一个或至少两个传感器,用于为装置1500提供各个方面的状态评估。例如,传感器组件1514可以检测到装置1500的打开/关闭状态,组件的相对定位,例如所述组件为装置1500的显示器和小键盘,传感器组件1514还可以检测装置1500或装置1500一个组件的位置改变,用户与装置1500接触的存在或不存在,装置1500方位或加速/减速和装置1500的温度变化。传感器组件1514可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1514还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1514还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1514 includes one or at least two sensors for providing various aspects of status assessment for device 1500 . For example, the sensor component 1514 can detect the open/closed state of the device 1500, the relative positioning of components, such as the display and keypad of the device 1500, and the sensor component 1514 can also detect a change in the position of the device 1500 or a component of the device 1500 , the presence or absence of user contact with the device 1500 , the device 1500 orientation or acceleration/deceleration and the temperature change of the device 1500 . Sensor assembly 1514 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 1514 may also include optical sensors, such as CMOS or CCD image sensors, for use in imaging applications. In some embodiments, the sensor component 1514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件1516被配置为便于装置1500和其他设备之间有线或无线方式的通信。装置1500可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1516经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1516还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1516 is configured to facilitate wired or wireless communication between the apparatus 1500 and other devices. The device 1500 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 1516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,装置1500可以被一个或至少两个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子组件实现,用于执行上述方法。In an exemplary embodiment, apparatus 1500 may be implemented by one or at least two application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1504,上述指令可由装置1500的处理器1520执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1504 including instructions, which can be executed by the processor 1520 of the device 1500 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由上述装置1500的处理器执行时,使得上述装置1500能够执行一种红包发放方法,包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the above-mentioned device 1500, the above-mentioned device 1500 can execute a method for issuing red envelopes, including:
接收到针对一信息的回复信息;Receiving a reply message to a message;
判断所述回复信息是否满足所述信息对应的红包发放条件;Judging whether the reply information satisfies the red envelope distribution conditions corresponding to the information;
当满足时,向所述回复信息的第一账户发放红包。When it is satisfied, a red packet is issued to the first account of the reply message.
在一个实施例中,所述接收到针对一信息的回复信息之前,所述方法还包括:In one embodiment, before receiving a reply message for a piece of information, the method further includes:
获取输入的所述红包发放条件。The input conditions for issuing red envelopes are acquired.
在一个实施例中,在获取输入的所述信息对应的所述红包发放条件之前,所述方法还包括:In one embodiment, before obtaining the red envelope issuance conditions corresponding to the input information, the method further includes:
当输入所述信息时,生成账户绑定提示,其中,所述账户绑定提示用于指示将发布所述信息的第二账户与金额支付账户相绑定,所述金额支付账户包括:所述第二账户对应的银行卡账户、支付宝账户、微信账户中的至少一项;When the information is input, an account binding prompt is generated, wherein the account binding prompt is used to indicate that the second account that issues the information will be bound with the amount payment account, and the amount payment account includes: the At least one of the bank card account, Alipay account, and WeChat account corresponding to the second account;
接收所述金额支付账户针对所述信息转入的红包金额。Receive the red envelope amount transferred from the amount payment account for the information.
在一个实施例中,所述判断所述回复信息是否满足所述信息对应的红包发放条件,包括:In one embodiment, the judging whether the reply information satisfies the red envelope issuance conditions corresponding to the information includes:
在接收到所述回复信息时,为所述第一账户设置回复编号;When receiving the reply information, set a reply number for the first account;
根据所述回复编号和所述红包发放条件对应的红包发放编号是否匹配,确定所述回复信息是否满足所述红包发放条件;或者According to whether the reply number matches the red packet distribution number corresponding to the red packet distribution condition, determine whether the reply information satisfies the red packet distribution condition; or
根据所述回复信息的内容是否与所述红包发放条件对应的预设回复内容相匹配,确定所述回复信息是否满足所述红包发放条件。According to whether the content of the reply information matches the preset reply content corresponding to the red envelope issuing condition, it is determined whether the reply information satisfies the red envelope issuing condition.
在一个实施例中,所述当满足时,向所述回复信息的第一账户发放红包,包括:In one embodiment, the sending a red envelope to the first account of the reply message when it is satisfied includes:
当满足所述红包发放条件时,确定所述信息中的关键词;When the conditions for issuing the red envelopes are met, determining keywords in the information;
根据所述回复信息的内容与所述关键词的关联程度,向所述第一账户发放红包。According to the degree of association between the content of the reply information and the keyword, a red envelope is issued to the first account.
在一个实施例中,所述当满足时,向所述回复信息的第一账户发放红包,包括:In one embodiment, the sending a red envelope to the first account of the reply message when it is satisfied includes:
当满足所述红包发放条件时,向所述第一账户随机发放红包;或者When the conditions for issuing red envelopes are met, randomly issue red envelopes to the first account; or
当满足所述红包发放条件时,向所述第一账户发放预设金额的红包。When the condition for issuing the red envelope is satisfied, a red envelope with a preset amount is issued to the first account.
在一个实施例中,所述方法还包括:In one embodiment, the method also includes:
当所述红包金额的剩余金额为零时,生成提示信息,其中,所述提示信息指示所述第二账户所述红包金额已发放完毕。When the remaining amount of the red envelope amount is zero, a prompt message is generated, wherein the prompt information indicates that the red envelope amount in the second account has been issued.
本领域技术用户员在考虑说明书及实践这里公开的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to users skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610282367.6ACN105956837A (en) | 2016-04-29 | 2016-04-29 | Red packet issuing method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610282367.6ACN105956837A (en) | 2016-04-29 | 2016-04-29 | Red packet issuing method and device |
| Publication Number | Publication Date |
|---|---|
| CN105956837Atrue CN105956837A (en) | 2016-09-21 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610282367.6APendingCN105956837A (en) | 2016-04-29 | 2016-04-29 | Red packet issuing method and device |
| Country | Link |
|---|---|
| CN (1) | CN105956837A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106557952A (en)* | 2016-10-27 | 2017-04-05 | 董明哲 | A kind of red packet payment system and method |
| CN106845958A (en)* | 2017-01-07 | 2017-06-13 | 上海洪洋通信科技有限公司 | A kind of interactive red packet distribution method and system |
| CN107172496A (en)* | 2017-04-11 | 2017-09-15 | 广州华多网络科技有限公司 | The virtual resource sending method and device of a kind of direct broadcasting room |
| CN107979529A (en)* | 2017-11-20 | 2018-05-01 | 珠海市魅族科技有限公司 | Information processing method, device, computer installation and computer-readable recording medium |
| CN107979525A (en)* | 2017-10-11 | 2018-05-01 | 上海掌门科技有限公司 | A kind of red packet distribution method, equipment and medium |
| CN108111386A (en)* | 2016-11-25 | 2018-06-01 | 财付通支付科技有限公司 | Resource sending method, apparatus and system |
| CN108764990A (en)* | 2018-05-22 | 2018-11-06 | 广州勇往科技有限公司 | One kind sending out voice red packet software based on wechat small routine |
| CN108924032A (en)* | 2018-06-14 | 2018-11-30 | 网易(杭州)网络有限公司 | E-sourcing distribution method, medium, device and calculating equipment based on instant messaging behavioral data |
| CN111047304A (en)* | 2019-12-06 | 2020-04-21 | 中国建设银行股份有限公司 | Method and system for acquiring online red packet of random amount based on one-way non-circulation |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105530175A (en)* | 2016-01-29 | 2016-04-27 | 腾讯科技(深圳)有限公司 | Message processing method, device and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105530175A (en)* | 2016-01-29 | 2016-04-27 | 腾讯科技(深圳)有限公司 | Message processing method, device and system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106557952A (en)* | 2016-10-27 | 2017-04-05 | 董明哲 | A kind of red packet payment system and method |
| CN108111386A (en)* | 2016-11-25 | 2018-06-01 | 财付通支付科技有限公司 | Resource sending method, apparatus and system |
| CN108111386B (en)* | 2016-11-25 | 2019-07-05 | 财付通支付科技有限公司 | Resource sending method, apparatus and system |
| CN106845958A (en)* | 2017-01-07 | 2017-06-13 | 上海洪洋通信科技有限公司 | A kind of interactive red packet distribution method and system |
| CN107172496A (en)* | 2017-04-11 | 2017-09-15 | 广州华多网络科技有限公司 | The virtual resource sending method and device of a kind of direct broadcasting room |
| CN107979525A (en)* | 2017-10-11 | 2018-05-01 | 上海掌门科技有限公司 | A kind of red packet distribution method, equipment and medium |
| CN107979529A (en)* | 2017-11-20 | 2018-05-01 | 珠海市魅族科技有限公司 | Information processing method, device, computer installation and computer-readable recording medium |
| CN108764990A (en)* | 2018-05-22 | 2018-11-06 | 广州勇往科技有限公司 | One kind sending out voice red packet software based on wechat small routine |
| CN108924032A (en)* | 2018-06-14 | 2018-11-30 | 网易(杭州)网络有限公司 | E-sourcing distribution method, medium, device and calculating equipment based on instant messaging behavioral data |
| CN108924032B (en)* | 2018-06-14 | 2020-12-11 | 网易(杭州)网络有限公司 | Electronic resource distribution method, medium, device and computing equipment based on instant messaging behavior data |
| CN111047304A (en)* | 2019-12-06 | 2020-04-21 | 中国建设银行股份有限公司 | Method and system for acquiring online red packet of random amount based on one-way non-circulation |
| Publication | Publication Date | Title |
|---|---|---|
| CN105956837A (en) | Red packet issuing method and device | |
| US9602516B2 (en) | Method, server and terminal device for establishing communication session | |
| CN107172497B (en) | Live broadcast method, device and system | |
| CN107145800A (en) | Privacy information protection method and device, terminal and storage medium | |
| CN106599251A (en) | Method and device for displaying anchor rankings | |
| CN106528709A (en) | Social information recommendation method and apparatus | |
| CN106067111A (en) | Message processing method and device | |
| WO2015196667A1 (en) | Method and device for acquiring voice service | |
| US20230007312A1 (en) | Method and apparatus for information interaction in live broadcast room | |
| US20180035154A1 (en) | Method, Apparatus, and Storage Medium for Sharing Video | |
| CN106790043A (en) | The method and device of message is sent in live application | |
| CN107181671A (en) | Social information treating method and apparatus | |
| CN112464110B (en) | Method, device, server, client, terminal and storage medium for conducting vein promotion in application with social function | |
| CN106228374A (en) | Queuing service method and apparatus | |
| CN114124866A (en) | Session processing method, device, electronic equipment and storage medium | |
| CN107247794B (en) | Topic guidance method in live broadcast, live broadcast device and terminal device | |
| CN110162366B (en) | Information display method and device, electronic equipment and storage medium | |
| CN106681600A (en) | Information display method and device | |
| CN106572003A (en) | User information recommendation method and device | |
| CN111539617B (en) | Data processing method and device, electronic equipment, interaction system and storage medium | |
| CN106027361A (en) | Information display method and device | |
| CN106447747B (en) | Image processing method and device | |
| CN111835617B (en) | User head portrait adjusting method and device and electronic equipment | |
| CN109992937B (en) | Authentication method and authentication device | |
| CN106791897A (en) | Living broadcast interactive method and device based on video playback platform |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20160921 | |
| RJ01 | Rejection of invention patent application after publication |