HK40038806B - Resource processing method and device, storage medium and electronic device - Google Patents
Resource processing method and device, storage medium and electronic device Download PDFInfo
- Publication number
- HK40038806B HK40038806B HK42021028522.7A HK42021028522A HK40038806B HK 40038806 B HK40038806 B HK 40038806B HK 42021028522 A HK42021028522 A HK 42021028522A HK 40038806 B HK40038806 B HK 40038806B
- Authority
- HK
- Hong Kong
- Prior art keywords
- target
- account
- resources
- probability
- rollback
- Prior art date
Links
Description
技术领域Technical Field
本发明涉及计算机领域,具体而言,涉及一种资源的处理方法、装置、存储介质及电子装置。This invention relates to the field of computers, and more specifically, to a method, apparatus, storage medium, and electronic device for processing resources.
背景技术Background Technology
目前技术中在交易支付后的运营活动很难吸引到用户进行分享,转发等操作,使得活动的推广比较困难,用户的参与度也较低。Currently, it is difficult to attract users to share or forward post-transaction activities using current technology, making it difficult to promote the activities and resulting in low user participation.
针对上述的问题,目前尚未提出有效的解决方案。There is currently no effective solution to the above problems.
发明内容Summary of the Invention
本发明实施例提供了一种资源的处理方法、装置、存储介质及电子装置,以至少解决相关技术中资源的回退活动用户参与度较低的技术问题。This invention provides a method, apparatus, storage medium, and electronic device for processing resources, to at least address the technical problem of low user participation in resource rollback activities in related technologies.
根据本发明实施例的一个方面,提供了一种资源的处理方法,包括:According to one aspect of the present invention, a method for processing resources is provided, comprising:
在目标帐号登录的客户端上执行了目标资源转移操作后,在所述客户端上显示提示信息,其中,所述提示信息用于提示执行目标操作,所述目标资源转移操作用于从所述目标帐号中转出目标数量的资源;After the target resource transfer operation is performed on the client logged in to the target account, a prompt message is displayed on the client. The prompt message is used to prompt the execution of the target operation, which is used to transfer a target amount of resources from the target account.
在所述客户端上检测到执行了所述目标操作的情况下,确定与所述目标帐号对应的资源回退参数,其中,所述资源回退参数包括将所述目标数量的资源回退给所述目标帐号的概率;If the target operation is detected to have been performed on the client, a resource rollback parameter corresponding to the target account is determined, wherein the resource rollback parameter includes the probability of rolling back the target number of resources to the target account;
在按照所述资源回退参数指示的概率确定出需要将所述目标数量的资源回退给所述目标帐号的情况下,在所述客户端上显示资源回退结果,其中,所述资源回退结果用于表示所述目标数量的资源被回退给所述目标帐号。If, based on the probability indicated by the resource rollback parameters, it is determined that the target number of resources needs to be rolled back to the target account, the resource rollback result is displayed on the client, wherein the resource rollback result indicates that the target number of resources has been rolled back to the target account.
根据本发明实施例的另一方面,还提供了一种资源的处理装置,包括:According to another aspect of the present invention, a resource processing apparatus is also provided, comprising:
第一显示模块,用于在目标帐号登录的客户端上执行了目标资源转移操作后,在所述客户端上显示提示信息,其中,所述提示信息用于提示执行目标操作,所述目标资源转移操作用于从所述目标帐号中转出目标数量的资源;The first display module is used to display a prompt message on the client after the target resource transfer operation is performed on the client logged in by the target account. The prompt message is used to prompt the execution of the target operation, and the target resource transfer operation is used to transfer a target amount of resources from the target account.
第一确定模块,用于在所述客户端上检测到执行了所述目标操作的情况下,确定与所述目标帐号对应的资源回退参数,其中,所述资源回退参数包括将所述目标数量的资源回退给所述目标帐号的概率;The first determining module is used to determine resource rollback parameters corresponding to the target account when the target operation is detected to have been performed on the client, wherein the resource rollback parameters include the probability of rolling back the target number of resources to the target account;
第二显示模块,用于在按照所述资源回退参数指示的概率确定出需要将所述目标数量的资源回退给所述目标帐号的情况下,在所述客户端上显示资源回退结果,其中,所述资源回退结果用于表示所述目标数量的资源被回退给所述目标帐号。The second display module is used to display the resource rollback result on the client when it is determined, according to the probability indicated by the resource rollback parameters, that the target number of resources need to be rolled back to the target account. The resource rollback result indicates that the target number of resources has been rolled back to the target account.
可选地,所述第一获取模块包括:Optionally, the first acquisition module includes:
第三获取单元,用于获取允许将转出的资源回退给转出资源的帐号所需转移的资源的数量阈值;The third acquisition unit is used to acquire the threshold number of resources that need to be transferred to allow the transferred resources to be returned to the account that transferred the resources.
划分单元,用于将所述数量阈值划分为所述多个数量区间。A division unit is used to divide the quantity threshold into the plurality of quantity intervals.
可选地,第二确定模块包括:Optionally, the second determining module includes:
第二确定单元,用于确定所述帐号的总数量与所述目标操作的触发率的乘积,得到第一乘积值;The second determining unit is used to determine the product of the total number of accounts and the trigger rate of the target operation to obtain a first product value;
第三确定单元,用于确定所述操作数量与所述总操作数量之间的比值,得到第一比值;The third determining unit is used to determine the ratio between the number of operations and the total number of operations to obtain a first ratio.
第四确定单元,用于确定所述第一乘积值与所述第一比值之间的乘积,得到第二乘积值;The fourth determining unit is used to determine the product between the first product value and the first ratio to obtain the second product value;
第五确定单元,用于将所述每个数量区间所对应的回退比例与所述第二乘积值之间的第二比值确定为所述每个数量区间所对应的概率值。The fifth determining unit is used to determine the second ratio between the backoff ratio corresponding to each quantity interval and the second product value as the probability value corresponding to each quantity interval.
可选地,所述第一确定单元包括:Optionally, the first determining unit includes:
第一确定子单元,用于确定所述目标帐号对应的帐号标识所在的帐号标识列表,其中,每个所述帐号标识列表用于记录属于同一种帐号类型的帐号;或者,The first determining subunit is used to determine the account identifier list containing the account identifier corresponding to the target account, wherein each account identifier list is used to record accounts belonging to the same account type; or...
第二确定子单元,用于确定所述目标帐号与属于所述目标帐号类型的帐号之间的相似度,其中,在所述相似度高于目标相似度的情况下,确定所述目标帐号的帐号类型属于所述目标帐号类型。The second determining subunit is used to determine the similarity between the target account and an account belonging to the target account type, wherein if the similarity is higher than the target similarity, the account type of the target account is determined to belong to the target account type.
可选地,第二确定子单元用于:Optionally, the second determining subunit is used for:
将所述目标帐号的目标属性信息作为输入信息输入到目标神经网络模型中,并获取所述目标神经网络模型的输出信息,其中,所述目标神经网络模型是使用属于所述目标帐号类型的帐号所对应的属性信息对初始神经网络模型进行训练得到的模型;The target attribute information of the target account is input into the target neural network model, and the output information of the target neural network model is obtained. The target neural network model is a model obtained by training an initial neural network model using the attribute information corresponding to an account belonging to the target account type.
将所述输出信息确定为所述相似度。The output information is determined as the similarity.
可选地,所述装置还包括:Optionally, the device further includes:
第三确定模块,用于在将所述目标帐号的目标属性信息作为输入信息输入到目标神经网络模型中,并获取所述目标神经网络模型的输出信息之前,将对所述资源回退结果执行分享操作的帐号确定为属于所述目标帐号类型的帐号;The third determining module is used to determine the account that performs the sharing operation on the resource rollback result as an account belonging to the target account type before inputting the target attribute information of the target account into the target neural network model and obtaining the output information of the target neural network model;
第二获取模块,用于获取第一数量的属于所述目标帐号类型的帐号的属性信息,以及第二数量的不属于所述目标帐号类型的帐号的属性信息作为训练样本,其中,所述第一数量大于所述第二数量;The second acquisition module is used to acquire attribute information of a first number of accounts belonging to the target account type and attribute information of a second number of accounts not belonging to the target account type as training samples, wherein the first number is greater than the second number;
训练模块,用于使用所述训练样本对所述初始神经网络模型进行训练,得到所述目标神经网络模型。The training module is used to train the initial neural network model using the training samples to obtain the target neural network model.
可选地,所述第一显示模块包括:Optionally, the first display module includes:
第一跳转单元,用于所述客户端上显示的界面从用于指示执行了所述目标资源转移操作的资源转移界面跳转至活动界面;The first jump unit is used to jump the interface displayed on the client from the resource transfer interface that indicates that the target resource transfer operation has been performed to the active interface;
第一显示单元,用于在所述活动界面上显示用于提示执行所述目标操作的控件;The first display unit is used to display controls on the active interface to prompt the execution of the target operation;
其中,在检测到对所述控件执行了所述目标操作的情况下,确定检测到执行了所述目标操作。Specifically, if the target operation is detected to have been performed on the control, it is determined that the target operation has been detected.
可选地,所述第二显示模块包括:Optionally, the second display module includes:
第二跳转单元,用于所述客户端上显示的界面从所述活动界面跳转至结果界面;The second jump unit is used to jump the interface displayed on the client from the activity interface to the result interface;
第二显示单元,用于在所述结果界面上显示所述资源回退结果,其中,所述资源回退结果包括以下至少之一:用于指示所述目标数量的资源回退成功的信息,所述目标数量,所述目标数量的资源的回退路径。The second display unit is used to display the resource rollback result on the result interface, wherein the resource rollback result includes at least one of the following: information indicating that the target number of resources has been successfully rolled back, the target number, and the rollback path of the target number of resources.
根据本发明实施例的另一方面,还提供了一种存储介质,其特征在于,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项中所述的方法。According to another aspect of the present invention, a storage medium is also provided, characterized in that the storage medium stores a computer program, wherein the computer program is configured to execute the method described in any of the preceding embodiments when running.
根据本发明实施例的另一方面,还提供了一种电子装置,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行上述任一项中所述的方法。According to another aspect of the present invention, an electronic device is also provided, including a memory and a processor, characterized in that the memory stores a computer program, and the processor is configured to execute the method described in any of the preceding embodiments through the computer program.
在本发明实施例中,采用在目标帐号登录的客户端上执行了目标资源转移操作后,在客户端上显示提示信息,其中,提示信息用于提示执行目标操作,目标资源转移操作用于从目标帐号中转出目标数量的资源;在客户端上检测到执行了目标操作的情况下,确定与目标帐号对应的资源回退参数,其中,资源回退参数包括将目标数量的资源回退给目标帐号的概率;在按照资源回退参数指示的概率确定出需要将目标数量的资源回退给目标帐号的情况下,在客户端上显示资源回退结果,其中,资源回退结果用于表示目标数量的资源被回退给目标帐号的方式,在用户在客户端上执行了目标资源转移操作后,提示用户执行目标操作,执行目标操作有几率将通过执行目标资源转移操作转出的目标数量的资源全部回退到目标帐号,从而吸引用户参与活动,同时,将目标数量的资源回退给目标帐号的概率等资源回退参数是与目标帐号对应的,不同的帐号回退的概率也不相同,从而控制活动成本的支出,从而实现了提高资源的回退活动的用户参与度的技术效果,进而解决了相关技术中资源的回退活动用户参与度较低的技术问题。In this embodiment of the invention, after a target resource transfer operation is performed on a client logged into the target account, a prompt message is displayed on the client. The prompt message indicates the execution of the target operation, which involves transferring a target amount of resources from the target account. Upon detecting the execution of the target operation on the client, resource rollback parameters corresponding to the target account are determined. These parameters include the probability of rolling back the target amount of resources to the target account. If, based on the probability indicated by the resource rollback parameters, it is determined that the target amount of resources needs to be rolled back to the target account, a resource rollback result is displayed on the client. This result indicates... The method of returning a target number of resources to a target account involves prompting the user to perform a target operation after the user executes the target resource transfer operation on the client. Executing this operation has a chance to return all the target number of resources transferred out through the target resource transfer operation to the target account, thereby attracting user participation. Furthermore, the probability of returning the target number of resources to the target account, and other resource return parameters, are specific to the target account; different accounts have different probabilities of return, thus controlling the cost of the activity. This achieves the technical effect of increasing user participation in resource return activities, thereby solving the technical problem of low user participation in resource return activities in related technologies.
附图说明Attached Figure Description
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
图1是根据本发明实施例的一种可选的资源的处理方法的示意图;Figure 1 is a schematic diagram of an optional resource processing method according to an embodiment of the present invention;
图2是根据本发明实施例的一种可选的资源的处理方法的应用环境示意图;Figure 2 is a schematic diagram of the application environment of an optional resource processing method according to an embodiment of the present invention;
图3是根据本发明可选的实施方式的一种可选的资源的处理方法的示意图一;Figure 3 is a schematic diagram of an optional resource processing method according to an optional embodiment of the present invention;
图4是根据本发明可选的实施方式的一种可选的资源的处理方法的示意图二;Figure 4 is a schematic diagram of an optional resource processing method according to an optional embodiment of the present invention;
图5是根据本发明可选的实施方式的一种可选的资源的处理方法的示意图三;Figure 5 is a schematic diagram of an optional resource processing method according to an optional embodiment of the present invention;
图6是根据本发明可选的实施方式的一种可选的资源的处理方法的示意图四;Figure 6 is a schematic diagram of an optional resource processing method according to an optional embodiment of the present invention;
图7是根据本发明实施例的一种可选的资源的处理装置的示意图;Figure 7 is a schematic diagram of an optional resource processing apparatus according to an embodiment of the present invention;
图8是根据本发明实施例的一种可选的资源的处理方法的应用场景示意图;以及Figure 8 is a schematic diagram of an application scenario of an optional resource processing method according to an embodiment of the present invention; and
图9是根据本发明实施例的一种可选的电子装置的示意图。Figure 9 is a schematic diagram of an optional electronic device according to an embodiment of the present invention.
具体实施方式Detailed Implementation
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
根据本发明实施例的一个方面,提供了一种资源的处理方法,如图1所示,该方法包括:According to one aspect of the present invention, a method for processing resources is provided, as shown in FIG1, the method comprising:
S102,在目标帐号登录的客户端上执行了目标资源转移操作后,在客户端上显示提示信息,其中,提示信息用于提示执行目标操作,目标资源转移操作用于从目标帐号中转出目标数量的资源;S102, After the target resource transfer operation is performed on the client logged in by the target account, a prompt message is displayed on the client. The prompt message is used to prompt the execution of the target operation, and the target resource transfer operation is used to transfer the target amount of resources from the target account.
S104,在客户端上检测到执行了目标操作的情况下,确定与目标帐号对应的资源回退参数,其中,资源回退参数包括将目标数量的资源回退给目标帐号的概率;S104, if the target operation is detected to have been performed on the client, determine the resource rollback parameters corresponding to the target account, wherein the resource rollback parameters include the probability of rolling back the target amount of resources to the target account;
S106,在按照资源回退参数指示的概率确定出需要将目标数量的资源回退给目标帐号的情况下,在客户端上显示资源回退结果,其中,资源回退结果用于表示目标数量的资源被回退给目标帐号。S106, if it is determined according to the probability indicated by the resource rollback parameters that the target number of resources needs to be rolled back to the target account, the resource rollback result is displayed on the client, wherein the resource rollback result is used to indicate that the target number of resources have been rolled back to the target account.
可选地,在本实施例中,上述资源的处理方法可以应用于如图2所示的客户端202所构成的硬件环境中。如图2所示,客户端202安装在终端设备204上。目标帐号在客户端202上登录,并在客户端202上执行了目标资源转移操作后,在客户端202上显示提示信息,其中,提示信息用于提示执行目标操作,目标资源转移操作用于从目标帐号中转出目标数量的资源;在客户端202上检测到执行了目标操作的情况下,确定与目标帐号对应的资源回退参数,其中,资源回退参数包括将目标数量的资源回退给目标帐号的概率;在按照资源回退参数指示的概率确定出需要将目标数量的资源回退给目标帐号的情况下,在客户端202上显示资源回退结果,其中,资源回退结果用于表示目标数量的资源被回退给目标帐号。Optionally, in this embodiment, the above-described resource processing method can be applied to the hardware environment constituted by the client 202 shown in FIG2. As shown in FIG2, the client 202 is installed on the terminal device 204. After the target account logs in on the client 202 and performs the target resource transfer operation on the client 202, a prompt message is displayed on the client 202. The prompt message is used to prompt the execution of the target operation, and the target resource transfer operation is used to transfer the target amount of resources from the target account. When the client 202 detects that the target operation has been executed, the resource rollback parameters corresponding to the target account are determined. The resource rollback parameters include the probability of rolling back the target amount of resources to the target account. If it is determined according to the probability indicated by the resource rollback parameters that the target amount of resources needs to be rolled back to the target account, the resource rollback result is displayed on the client 202. The resource rollback result is used to indicate that the target amount of resources has been rolled back to the target account.
可选地,在本实施例中,上述资源的处理方法可以但不限于应用于对客户端中转移的资源进行处理的场景中。其中,上述客户端可以但不限于为各种类型的应用,例如,在线教育应用、即时通讯应用、社区空间应用、游戏应用、购物应用、浏览器应用、金融应用、多媒体应用、直播应用等。具体的,可以但不限于应用于在上述即时通讯应用中转移的资源进行处理的场景中,或还可以但不限于应用于在上述游戏应用中的资源进行处理的场景中,以提高资源的回退活动的用户参与度。上述仅是一种示例,本实施例中对此不做任何限定。Optionally, in this embodiment, the resource processing method described above can be applied, but is not limited to, scenarios involving the processing of resources transferred from a client. The client can be, but is not limited to, various types of applications, such as online education applications, instant messaging applications, social networking applications, game applications, shopping applications, browser applications, financial applications, multimedia applications, live streaming applications, etc. Specifically, it can be applied, but is not limited to, scenarios involving the processing of resources transferred in the aforementioned instant messaging applications, or scenarios involving the processing of resources in the aforementioned game applications, to improve user participation in resource rollback activities. The above is merely an example, and this embodiment does not impose any limitations on it.
可选地,在本实施例中,目标帐号是在客户端所对应的应用上注册的帐号。目标帐号可以使用客户端进行资源转移操作,将资源转移到其他帐号或者转移到客户端对应的应用。比如:目标帐号可以是即时通讯帐号,目标帐号可以使用即时通讯应用的客户端上提供的支付功能向好友或者商家执行转账、付款等操作。Optionally, in this embodiment, the target account is an account registered on the application corresponding to the client. The target account can use the client to perform resource transfer operations, transferring resources to other accounts or to the application corresponding to the client. For example, the target account can be an instant messaging account, and the target account can use the payment function provided on the instant messaging application client to perform operations such as transferring money or making payments to friends or merchants.
可选地,在本实施例中,上述资源可以但不限于包括:资金、货币、交易物、道具、装备等等。Optionally, in this embodiment, the resources mentioned above may include, but are not limited to, funds, currency, trade goods, props, equipment, etc.
可选地,在本实施例中,上述提示信息可以但不限于通过文字或者动画的形式来提示执行目标操作。Optionally, in this embodiment, the above-mentioned prompts may be, but are not limited to, prompts to perform the target operation in the form of text or animation.
可选地,在本实施例中,上述目标操作可以但不限于包括摇动操作、点击操作、滑动操作、触摸操作等等。或者,目标操作也可以是更加富有趣味性的一个或者多个操作的组合。比如:游戏操作,目标帐号在客户端上按照游戏指示执行多个操作后游戏成功通关,则确定目标帐号执行了目标操作。Optionally, in this embodiment, the target operation may include, but is not limited to, shaking, clicking, swiping, and touching operations. Alternatively, the target operation may be a combination of one or more more interesting operations. For example, in a game, if the target account successfully completes a level by performing multiple operations according to the game instructions on the client, then the target account has performed the target operation.
可选地,在本实施例中,上述资源回退参数包括将目标数量的资源回退给目标帐号的概率。还可以包括任何用于决定是否将目标数量的资源回退给目标帐号的参数。比如:用于计算将目标数量的资源回退给目标帐号的概率的参数、用于指示是否将目标数量的资源回退给目标帐号的信息等等。Optionally, in this embodiment, the resource rollback parameters include the probability of rolling back the target number of resources to the target account. They may also include any parameters used to determine whether to roll back the target number of resources to the target account. For example, parameters used to calculate the probability of rolling back the target number of resources to the target account, information used to indicate whether to roll back the target number of resources to the target account, etc.
可选地,在本实施例中,在按照所述资源回退参数指示的概率确定出需要将所述目标数量的资源回退给所述目标帐号的情况下,可以由客户端对应的服务器执行资源回退的操作,并在回退成功时,指示客户端回退成功,客户端在显示界面上显示资源回退结果。Optionally, in this embodiment, if it is determined according to the probability indicated by the resource rollback parameters that the target number of resources needs to be rolled back to the target account, the server corresponding to the client can perform the resource rollback operation, and when the rollback is successful, indicate to the client that the rollback is successful, and the client displays the resource rollback result on the display interface.
在一个可选的实施方式中,如图3所示,目标帐号在即时通讯应用的客户端上执行了目标资源转移操作后,在客户端上显示提示信息“摇一摇,有惊喜,免单大奖等着你”,其中,该提示信息用于提示执行目标操作“摇动终端设备”,目标资源转移操作用于从目标帐号中转出157元到商户A。在客户端上检测到执行了摇动终端设备的操作的情况下,确定与目标帐号对应的资源回退参数,其中,资源回退参数包括将157元回退给目标帐号的概率为37%。在按照资源回退参数指示的概率确定出需要将157元回退给目标帐号的情况下,在客户端上显示资源回退结果“恭喜抽中免单大奖”。In an optional implementation, as shown in Figure 3, after the target account performs a target resource transfer operation on the instant messaging application client, a prompt message "Shake it for a surprise, a free order prize awaits you" is displayed on the client. This prompt message indicates that the target operation "shake the terminal device" has been performed, and the target resource transfer operation involves transferring 157 yuan from the target account to Merchant A. Upon detecting that the terminal device shaking operation has been performed on the client, resource rollback parameters corresponding to the target account are determined. These parameters include a 37% probability of returning 157 yuan to the target account. If the probability indicated by the resource rollback parameters determines that 157 yuan needs to be returned to the target account, the client displays the resource rollback result "Congratulations on winning the free order prize."
可见,通过上述步骤,在用户在客户端上执行了目标资源转移操作后,提示用户执行目标操作,执行目标操作有几率将通过执行目标资源转移操作转出的目标数量的资源全部回退到目标帐号,从而吸引用户参与活动,同时,将目标数量的资源回退给目标帐号的概率等资源回退参数是与目标帐号对应的,不同的帐号回退的概率也不相同,从而控制活动成本的支出,从而实现了提高资源的回退活动的用户参与度的技术效果,进而解决了相关技术中资源的回退活动用户参与度较低的技术问题。As can be seen, through the above steps, after the user performs the target resource transfer operation on the client, the user is prompted to perform the target operation. Executing the target operation has a chance to return all the resources transferred out through the target resource transfer operation to the target account, thereby attracting users to participate in the activity. At the same time, the resource return parameters, such as the probability of returning the target amount of resources to the target account, are corresponding to the target account, and the probability of return is different for different accounts, thereby controlling the expenditure of activity costs. This achieves the technical effect of increasing user participation in the resource return activity, and thus solves the technical problem of low user participation in resource return activities in related technologies.
作为一种可选的方案,确定与目标帐号对应的资源回退参数包括:As an optional approach, determining the resource rollback parameters corresponding to the target account includes:
S1,确定目标帐号所属于的目标帐号类型;S1, Determine the target account type to which the target account belongs;
S2,获取目标帐号类型所对应的概率分布信息,其中,概率分布信息包括一一对应的多个数量区间和多个概率值,多个数量区间中的每个数量区间对应的概率值用于指示在转出的资源的数量落入每个数量区间的情况下,将转出的资源回退给转出资源的帐号的概率;S2, obtain the probability distribution information corresponding to the target account type. The probability distribution information includes multiple quantity intervals and multiple probability values that correspond one-to-one. The probability value corresponding to each quantity interval is used to indicate the probability of returning the transferred resources to the account that transferred the resources when the quantity of transferred resources falls into each quantity interval.
S3,从一一对应的多个数量区间和多个概率值中获取目标数量所落入的目标数量区间所对应的目标概率值,其中,资源回退参数包括目标概率值。S3, obtain the target probability value corresponding to the target quantity range into which the target quantity falls from multiple corresponding quantity ranges and multiple probability values, wherein the resource rollback parameter includes the target probability value.
可选地,在本实施例中,不同帐号类型的帐号可以但不限于对应了不同的概率分布信息,也就是说,为不同帐号类型的帐号配置不同的概率分布信息,能够有效控制活动成本和活动的效果。对于不同的活动需求,可以为不同帐号类型的帐号配置不同的概率分布信息。Optionally, in this embodiment, accounts of different account types may, but are not limited to, correspond to different probability distribution information. In other words, configuring different probability distribution information for accounts of different account types can effectively control activity costs and effectiveness. Different probability distribution information can be configured for different account types to meet different activity requirements.
可选地,在本实施例中,目标帐号类型可以但不限于包括:爱分享用户(即对回退资源的事件进行分享的用户帐号),学生用户(比如:高中生用户的帐号、大学生用户的帐号、研究生用户的帐号),高消费用户(比如月平均消费金额在20000元以上的用户的帐号)等等。Optionally, in this embodiment, the target account type may include, but is not limited to: users who love to share (i.e., user accounts that share events related to rollback resources), student users (e.g., accounts of high school students, university students, and graduate students), high-spending users (e.g., accounts of users with an average monthly spending of over 20,000 yuan), etc.
可选地,在本实施例中,不同的数量区间可以配置相同或者不同的概率值,从而在让用户感受到资源回退的随机性的同时,能够有效控制资源回退活动所需支出的成本。Optionally, in this embodiment, different quantity ranges can be configured with the same or different probability values, so that while allowing users to experience the randomness of resource rollback, the cost of resource rollback activities can be effectively controlled.
作为一种可选的方案,在获取目标帐号类型所对应的概率分布信息之前,还包括:As an optional approach, before obtaining the probability distribution information corresponding to the target account type, the following steps are also included:
S1,获取多个数量区间以及目标帐号类型对应的回退资源的平均值;S1, obtain the average value of rollback resources corresponding to multiple quantity ranges and target account types;
S2,根据平均值为每个数量区间分配回退比例,其中,回退比例为落入每个数量区间的回退资源的份数与落入多个数量区间的回退资源的总份数之间的比值;S2, allocate a rollback ratio to each quantity interval based on the average value, where the rollback ratio is the ratio between the number of rollback resources falling into each quantity interval and the total number of rollback resources falling into multiple quantity intervals;
S3,根据每个数量区间所对应的回退比例、客户端对应的应用上属于目标帐号类型的帐号的总数量、目标操作的触发率、每个数量区间对应的资源转移操作的操作数量以及客户端对应的应用上执行资源转移操作的总操作数量确定每个数量区间所对应的概率值,得到概率分布信息,其中,目标操作的触发率用于指示客户端对应的应用中执行目标操作的概率。S3. Based on the rollback ratio corresponding to each quantity interval, the total number of accounts belonging to the target account type on the client's application, the trigger rate of the target operation, the number of resource transfer operations corresponding to each quantity interval, and the total number of resource transfer operations executed on the client's application, determine the probability value corresponding to each quantity interval to obtain probability distribution information. Among them, the trigger rate of the target operation is used to indicate the probability of executing the target operation in the client's application.
可选地,在本实施例中,可以但不限于根据预测的或者预设的回退资源的平均值来为每个数量区间分配回退比例。Optionally, in this embodiment, the rollback ratio can be allocated to each quantity range based on the predicted or preset average value of the rollback resources, but is not limited to.
可选地,在本实施例中,不同帐号类型的帐号可以但不限于对应不同的回退资源的平均值。例如:由于爱分享用户会对免单奖励进行截图分享等行为,所以相较普通用户,爱分享用户可以配置更多的高金额区间免单。经过多轮运营实践测试调优后,配比基本可以稳定如下:爱分享用户包,免单均值20元(即上述回退资源的平均值),数量区间[5,10]对应回退比例31%,数量区间(10,30]对应回退比例51%,数量区间(30,50]对应回退比例17%,数量区间(50,100]对应回退比例0.9%,数量区间(100,200]对应回退比例0.1%。普通用户包,免单均值10元,数量区间[5,10]对应回退比例85%,数量区间(10,30]对应回退比例8.4%,数量区间(30,50]对应回退比例6.5%,数量区间(50,100]对应回退比例0.08%,数量区间(100,200]对应回退比例0.02%。Optionally, in this embodiment, accounts of different account types may, but are not limited to, correspond to different average values of rollback resources. For example, since users who like to share may take screenshots and share their free reward, they can configure more high-value free rewards compared to ordinary users. After multiple rounds of operational testing and optimization, the allocation ratios have stabilized as follows: For the "Love Sharing" user package, the average free order value is 20 yuan (i.e., the average of the returned resources mentioned above). The return rate is 31% for the quantity range [5,10], 51% for the quantity range (10,30], 17% for the quantity range (30,50], 0.9% for the quantity range (50,100], and 0.1% for the quantity range (100,200]. For the "Regular User Package," the average free order value is 10 yuan. The return rate is 85% for the quantity range [5,10], 8.4% for the quantity range (10,30], 6.5% for the quantity range (30,50], 0.08% for the quantity range (50,100], and 0.02% for the quantity range (100,200).
作为一种可选的方案,获取多个数量区间包括:As an optional approach, obtaining multiple quantity ranges includes:
S1,获取允许将转出的资源回退给转出资源的帐号所需转移的资源的数量阈值;S1, obtain the threshold number of resources that need to be transferred to allow the transferred resources to be returned to the account that transferred the resources;
S2,将数量阈值划分为多个数量区间。S2 divides the quantity threshold into multiple quantity intervals.
可选地,在本实施例中,在资源回退的活动中,可以但不限于配置或者自动预测允许将转出的资源回退给转出资源的帐号所需转移的资源的数量阈值。也就是说,配置可以进行资源回退的上限和下限来控制成本。比如:以金额支付为例,通过几期摇摇乐免单的投放和分享率的观察,可以找到免单金额与分享率之间的断点关系,如图4所示,将分享率相近的区间合并,即通过免单金额和分享率的相关性分析,按分享率相似度进行区间划分。为了便于成本管理,减少免单成本波动,金额区间跨度不宜过大,因此,将免单区间[5,200](即上述数量阈值)分为五大金额区间档位(即上述多个数量区间):[5,10],(10,30],(30,50],(50,100],(100,200]。Optionally, in this embodiment, during resource rollback activities, the threshold number of resources required to roll back the transferred resources to the account that transferred the resources can be configured or automatically predicted, but is not limited to. That is, the upper and lower limits of resource rollback can be configured to control costs. For example, taking monetary payment as an example, by observing the distribution and sharing rate of several rounds of free lottery, the breakpoint relationship between the free lottery amount and the sharing rate can be found, as shown in Figure 4. The intervals with similar sharing rates are merged, that is, the intervals are divided according to the similarity of the sharing rate through the correlation analysis of the free lottery amount and the sharing rate. In order to facilitate cost management and reduce the fluctuation of free lottery costs, the range of the amount interval should not be too large. Therefore, the free lottery interval [5,200] (i.e. the above quantity threshold) is divided into five major amount interval levels (i.e. the above multiple quantity intervals): [5,10], (10,30], (30,50], (50,100], (100,200).
作为一种可选的方案,根据每个数量区间所对应的回退比例、客户端对应的应用上属于目标帐号类型的帐号的总数量、目标操作的触发率、每个数量区间对应的资源转移操作的操作数量以及客户端对应的应用上执行资源转移操作的总操作数量确定每个数量区间所对应的概率值包括:As an optional approach, the probability value for each quantity range is determined based on the rollback ratio corresponding to each quantity range, the total number of accounts belonging to the target account type on the client's application, the trigger rate of the target operation, the number of resource transfer operations corresponding to each quantity range, and the total number of resource transfer operations executed on the client's application.
S1,确定帐号的总数量与目标操作的触发率的乘积,得到第一乘积值;S1, determine the product of the total number of accounts and the trigger rate of the target operation to obtain the first product value;
S2,确定操作数量与总操作数量之间的比值,得到第一比值;S2, determine the ratio between the number of operations and the total number of operations to obtain the first ratio;
S3,确定第一乘积值与第一比值之间的乘积,得到第二乘积值;S3, determine the product between the first product value and the first ratio to obtain the second product value;
S4,将每个数量区间所对应的回退比例与第二乘积值之间的第二比值确定为每个数量区间所对应的概率值。S4, the second ratio between the backoff ratio corresponding to each quantity interval and the second product value is determined as the probability value corresponding to each quantity interval.
可选地,在本实施例中,活动运营中,通过运营经验的总结,可知对于单用户,周末的交易订单金额分布处于波动不稳定状态,但对于具有大量用户群体的客户端大盘来说,周末全部订单的交易金额分布比例是相对稳定的,也可以理解为金额支付用户在周末发生某个特定金额支出的概率是可预期的。于是,为了实现特定金额区间免单在当天的均匀发放,可以但不限于通过以下公式确定每个数量区间所对应的概率值:Optionally, in this embodiment, based on operational experience, it is known that for a single user, the distribution of transaction order amounts on weekends is volatile and unstable. However, for a large user base, the overall transaction amount distribution ratio of all orders on weekends is relatively stable. This can be understood as the probability that a user making a payment will incur a specific amount of expenditure on weekends being predictable. Therefore, in order to achieve a uniform distribution of free orders within a specific amount range on the same day, the probability value corresponding to each quantity range can be determined using, but is not limited to, the following formula:
每个数量区间免单中奖概率=该区间免单份数/该区间预计帐号的参与人数The probability of winning a free order in each quantity range = the number of free orders in that range / the estimated number of participants in that range's accounts.
=该区间免单份数/预计帐号参与人数*大盘该金额区间支付订单比例= Number of free orders in this range / Expected number of participating accounts * Percentage of total orders paid in this price range across the market
=该区间免单份数/(帐号总人数*活动参与率(即上述第一乘积值))*(大盘该金额区间支付订单数量/大盘总支付订单数量(即上述第一比值))(即上述第二乘积值)。= Number of free orders in this range / (Total number of accounts * Activity participation rate (i.e., the first product value above)) * (Number of payment orders in this range in the overall market / Total number of payment orders in the overall market (i.e., the first ratio above)) (i.e., the second product value above).
通过以上公式可以实现了两个目标,首先将特定数量的免单,利用统计学原理,进行了均匀分散发放,能够实现奖金的随机拟态发放。此外,该处理方法具有拓展性,除了可以针对爱分享用户群体均匀发放特定数量的免单,还可应用于任意圈定的目标用户群体的免单投放,即上述目标帐号类型的帐号可以替换为任何希望计算免单中间率的用户群,比如:爱分享用户群体,学生群体等等。The above formula achieves two goals. First, it distributes a specific number of freebies evenly using statistical principles, mimicking the random distribution of bonuses. Furthermore, this method is scalable; besides distributing a specific number of freebies evenly to the "Sharing" user group, it can also be applied to any defined target user group. That is, the target account type mentioned above can be replaced with any user group whose median freebie distribution rate needs to be calculated, such as the "Sharing" user group, students, etc.
作为一种可选的方案,确定目标帐号所属于的目标帐号类型包括:As an optional approach, determining the target account type includes:
S1,确定目标帐号对应的帐号标识所在的帐号标识列表,其中,每个帐号标识列表用于记录属于同一种帐号类型的帐号;或者,S1, determine the list of account identifiers corresponding to the target account, where each list of account identifiers records accounts belonging to the same account type; or,
S2,确定目标帐号与属于目标帐号类型的帐号之间的相似度,其中,在相似度高于目标相似度的情况下,确定目标帐号的帐号类型属于目标帐号类型。S2, determine the similarity between the target account and accounts belonging to the target account type, wherein if the similarity is higher than the target similarity, determine that the account type of the target account belongs to the target account type.
可选地,在本实施例中,可以但不限于对客户端上注册的帐号进行分类,并将每一类帐号的帐号标识记录在一个帐号标识列表中。通过查找目标帐号的帐号标识所在的帐号标识列表来确定目标帐号的帐号类型。或者,还可以通过目标帐号与已知帐号类型的帐号之间的相似度来确定目标帐号的帐号类型。Optionally, in this embodiment, the accounts registered on the client can be categorized, but not limited to, and the account identifiers of each category can be recorded in an account identifier list. The account type of the target account is determined by searching the account identifier list where the target account's account identifier is located. Alternatively, the account type of the target account can also be determined by the similarity between the target account and accounts of known account types.
作为一种可选的方案,确定目标帐号与属于目标帐号类型的帐号之间的相似度包括:As an optional approach, determining the similarity between the target account and accounts belonging to the target account type includes:
S1,将目标帐号的目标属性信息作为输入信息输入到目标神经网络模型中,并获取目标神经网络模型的输出信息,其中,目标神经网络模型是使用属于目标帐号类型的帐号所对应的属性信息对初始神经网络模型进行训练得到的模型;S1, Input the target attribute information of the target account into the target neural network model as input information, and obtain the output information of the target neural network model. The target neural network model is a model obtained by training the initial neural network model using the attribute information corresponding to the account belonging to the target account type.
S2,将输出信息确定为相似度。S2, the output information is determined as similarity.
可选地,在本实施例中,可以但不限于通过机器学习的方式训练模型,得到目标神经网络模型,再通过目标神经网络模型确定帐号之间的相似度。Optionally, in this embodiment, the model can be trained using machine learning to obtain a target neural network model, and then the similarity between accounts can be determined using the target neural network model.
作为一种可选的方案,在将目标帐号的目标属性信息作为输入信息输入到目标神经网络模型中,并获取目标神经网络模型的输出信息之前,方法还包括:As an optional approach, before inputting the target account's target attribute information as input into the target neural network model and obtaining the output information of the target neural network model, the method further includes:
S1,将对资源回退结果执行分享操作的帐号确定为属于目标帐号类型的帐号;S1, the account that performs the sharing operation on the resource rollback result is identified as an account belonging to the target account type;
S2,获取第一数量的属于目标帐号类型的帐号的属性信息,以及第二数量的不属于目标帐号类型的帐号的属性信息作为训练样本,其中,第一数量大于第二数量;S2, obtain the attribute information of a first number of accounts belonging to the target account type and the attribute information of a second number of accounts not belonging to the target account type as training samples, wherein the first number is greater than the second number;
S3,使用训练样本对初始神经网络模型进行训练,得到目标神经网络模型。S3, use training samples to train the initial neural network model to obtain the target neural network model.
可选地,在本实施例中,可以但不限于针对爱分享用户训练其对应的目标神经网络模型。爱分享用户可以但不限于指对资源回退结果执行分享操作的用户帐号。Optionally, in this embodiment, the target neural network model can be trained for users who like to share resources. Users who like to share resources can refer to, but are not limited to, user accounts that perform sharing operations on resource rollback results.
可选地,在本实施例中,由于圈定的用户具有一定类似特征,背离了随机性原则,因此通过将一定比例的免单投放至非目标群体用户,可以实现全体大盘用户皆有中免单的机会,产生随机性,增加了中奖的随机感,消除人工干预的痕迹。在对爱分享用户的机器学习过程中,如果人群样本都是人工事先选定的,存在偏差性,影响机器学习模型的最终效果,因此每次机器学习样本中都可以添加入随机产生的样本(即第二数量的不属于目标帐号类型的帐号的属性信息),这样可以增加学习结果的全面性和正确性。Optionally, in this embodiment, since the targeted users share certain similar characteristics, deviating from the principle of randomness, by allocating a certain proportion of freebies to non-target users, all users in the overall pool can have a chance to win a freebie, thus creating randomness, increasing the sense of randomness in winning, and eliminating traces of human intervention. In the machine learning process for users who love sharing, if the user samples are all pre-selected manually, there will be bias, affecting the final effect of the machine learning model. Therefore, each machine learning sample can include randomly generated samples (i.e., attribute information of a second number of accounts that do not belong to the target account type), which can increase the comprehensiveness and accuracy of the learning results.
作为一种可选的方案,在目标帐号登录的客户端上执行了目标资源转移操作后,在客户端上显示提示信息包括:As an optional solution, after performing the target resource transfer operation on the client logged into the target account, the client displays the following prompt information:
S1,客户端上显示的界面从用于指示执行了目标资源转移操作的资源转移界面跳转至活动界面;S1, the interface displayed on the client jumps from the resource transfer interface, which indicates that the target resource transfer operation has been performed, to the activity interface;
S2,在活动界面上显示用于提示执行目标操作的控件;S2 displays controls on the activity interface to prompt for the execution of the target operation;
其中,在检测到对控件执行了目标操作的情况下,确定检测到执行了目标操作。Specifically, if a target operation is detected to have been performed on a control, then the target operation is determined to have been performed.
可选地,在本实施例中,资源转移界面是用于指示执行了目标资源转移操作的界面。例如:资源转移界面可以但不限于包括:支付界面、交易界面、转账界面等。Optionally, in this embodiment, the resource transfer interface is an interface used to indicate that a target resource transfer operation has been performed. For example, the resource transfer interface may include, but is not limited to, a payment interface, a transaction interface, a transfer interface, etc.
可选地,在本实施例中,在显示资金转移界面提醒用户资源转出的结果后,可以将显示界面跳转到活动界面来提醒用户参与活动。活动界面上海可以显示用于执行目标操作的控件,该控件可以但不限于包括:按钮,图标,文字,动画,图片等。界面的跳转可以是自动的,也可以是通过目标帐号的操作触发的。Optionally, in this embodiment, after displaying the fund transfer interface to remind the user of the resource transfer result, the interface can be redirected to an activity interface to remind the user to participate in the activity. The activity interface can display controls for performing the target operation, which may include, but are not limited to, buttons, icons, text, animations, images, etc. The interface redirection can be automatic or triggered by an operation of the target account.
在一个可选的实施方式中,如图5所示,使用目标帐号的用户在即时通讯应用的客户端上执行了支付操作后,客户端上显示出支付结果,比如:已成功向张某某支付50元,在该界面停留3秒,或者,检测到用户点击界面上显示的“完成”按钮后,跳转到免单活动的抽奖界面,界面上显示“摇一摇,有惊喜,赢免单”的提示信息,如果检测到用户对客户端执行了摇晃操作,则可以确定检测到目标帐号执行了目标操作。In an optional implementation, as shown in Figure 5, after a user with the target account performs a payment operation on the instant messaging application client, the client displays the payment result, such as: "50 yuan has been successfully paid to Zhang Moumou." The client stays on the screen for 3 seconds. Alternatively, after detecting that the user clicks the "Complete" button displayed on the screen, the client is redirected to the lottery screen for the free order activity, and the screen displays the prompt message "Shake it for a surprise and win a free order." If the user is detected to have performed a shaking operation on the client, it can be determined that the target account has performed the target operation.
作为一种可选的方案,在客户端上显示资源回退结果包括:As an optional solution, displaying resource rollback results on the client side includes:
S1,客户端上显示的界面从活动界面跳转至结果界面;S1, the interface displayed on the client jumps from the activity interface to the results interface;
S2,在结果界面上显示资源回退结果,其中,资源回退结果包括以下至少之一:用于指示目标数量的资源回退成功的信息,目标数量,目标数量的资源的回退路径。S2, display the resource rollback results on the results interface, wherein the resource rollback results include at least one of the following: information indicating that the target number of resources were successfully rolled back, the target number, and the rollback path of the target number of resources.
可选地,在本实施例中,如果按照资源回退参数指示的概率确定出需要将目标数量的资源回退给目标帐号,则可以通过界面的跳转,显示结果界面来提示用户资源回退结果。Optionally, in this embodiment, if it is determined according to the probability indicated by the resource rollback parameters that a target number of resources need to be rolled back to the target account, the user can be prompted with the resource rollback result by displaying a result interface through interface redirection.
可选地,在本实施例中,提示的资源回退结果包括以下至少之一:用于指示目标数量的资源回退成功的信息,目标数量,目标数量的资源的回退路径。即可以将回退成功的结果,回退资源的数量和将资源回退的帐号或者位置等信息提示给用户。例如:资源回退结果可以包括:“恭喜获得免单奖励,本次免单200元,已返回至支付帐号李某某的余额”。Optionally, in this embodiment, the resource rollback result displayed includes at least one of the following: information indicating a successful rollback of a target number of resources, the target number, and the rollback path for the target number of resources. That is, the user can be prompted with the successful rollback result, the number of resources rolled back, and information such as the account or location where the resources were rolled back. For example, the resource rollback result may include: "Congratulations on receiving a free order reward! This free order is 200 yuan, and it has been returned to the balance of payment account Li Moumou."
在一个可选的实施方式中,如图6所示,使用目标帐号的用户在即时通讯应用的客户端上执行了支付操作后,客户端上显示出支付结果,比如:已成功向张某某支付50元,在该界面停留3秒,或者,检测到用户点击界面上显示的“完成”按钮后,跳转到免单活动的抽奖界面,界面上显示“按一下,有惊喜,赢免单”的提示信息,并显示“按一下”按钮,如果检测到用户对该按钮执行了点击操作,则确定与该目标帐号对应的资源回退参数。在按照该资源回退参数指示的概率确定出需要将50元现金回退给目标帐号的情况下,客户端上显示的界面从上述抽奖活动的界面跳转至结果界面,在结果界面上显示“恭喜您获得本应用支付的免单奖励,本次支付¥50.00,已返还至您的钱包”。In one optional implementation, as shown in Figure 6, after a user with the target account performs a payment operation on the instant messaging application client, the client displays the payment result, for example: 50 yuan has been successfully paid to Mr. Zhang. The client remains on this screen for 3 seconds. Alternatively, if the user clicks the "Complete" button displayed on the screen, the client is redirected to a free order lottery page. The page displays the message "Click here for a surprise, win a free order," and a "Click here" button is displayed. If the user clicks this button, the resource rollback parameters corresponding to the target account are determined. If, according to the probability indicated by the resource rollback parameters, it is determined that 50 yuan needs to be refunded to the target account, the client's interface jumps from the lottery page to the result page, displaying "Congratulations on winning a free order reward from this application. This payment of 50.00 yuan has been returned to your wallet."
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
根据本发明实施例的另一个方面,还提供了一种用于实施上述资源的处理方法的资源的处理装置,如图7所示,该装置包括:According to another aspect of the present invention, a resource processing apparatus for implementing the above-described resource processing method is also provided, as shown in FIG7, the apparatus comprising:
第一显示模块72,用于在目标帐号登录的客户端上执行了目标资源转移操作后,在客户端上显示提示信息,其中,提示信息用于提示执行目标操作,目标资源转移操作用于从目标帐号中转出目标数量的资源;The first display module 72 is used to display a prompt message on the client after the target resource transfer operation is performed on the client logged in by the target account. The prompt message is used to prompt the execution of the target operation, and the target resource transfer operation is used to transfer out the target amount of resources from the target account.
第一确定模块74,用于在客户端上检测到执行了目标操作的情况下,确定与目标帐号对应的资源回退参数,其中,资源回退参数包括将目标数量的资源回退给目标帐号的概率;The first determining module 74 is used to determine the resource rollback parameters corresponding to the target account when the target operation is detected to have been performed on the client. The resource rollback parameters include the probability of rolling back the target number of resources to the target account.
第二显示模块76,用于在按照资源回退参数指示的概率确定出需要将目标数量的资源回退给目标帐号的情况下,在客户端上显示资源回退结果,其中,资源回退结果用于表示目标数量的资源被回退给目标帐号。The second display module 76 is used to display the resource rollback result on the client when it is determined according to the probability indicated by the resource rollback parameters that a target number of resources need to be rolled back to the target account. The resource rollback result indicates that the target number of resources have been rolled back to the target account.
作为一种可选的方案,第一确定模块包括:As an optional approach, the first determining module includes:
第一确定单元,用于确定目标帐号所属于的目标帐号类型;The first determining unit is used to determine the target account type to which the target account belongs;
第一获取单元,用于获取目标帐号类型所对应的概率分布信息,其中,概率分布信息包括一一对应的多个数量区间和多个概率值,多个数量区间中的每个数量区间对应的概率值用于指示在转出的资源的数量落入每个数量区间的情况下,将转出的资源回退给转出资源的帐号的概率;The first acquisition unit is used to acquire the probability distribution information corresponding to the target account type. The probability distribution information includes multiple quantity intervals and multiple probability values that correspond one-to-one. The probability value corresponding to each quantity interval is used to indicate the probability of returning the transferred resources to the account that transferred the resources when the quantity of transferred resources falls into each quantity interval.
第二获取单元,用于从一一对应的多个数量区间和多个概率值中获取目标数量所落入的目标数量区间所对应的目标概率值,其中,资源回退参数包括目标概率值。The second acquisition unit is used to acquire the target probability value corresponding to the target quantity range into which the target quantity falls from a plurality of one-to-one corresponding quantity ranges and a plurality of probability values, wherein the resource rollback parameter includes the target probability value.
作为一种可选的方案,上述装置还包括:As an optional solution, the above-mentioned device further includes:
第一获取模块,用于在获取目标帐号类型所对应的概率分布信息之前,获取多个数量区间以及目标帐号类型对应的回退资源的平均值;The first acquisition module is used to acquire multiple quantity ranges and the average value of rollback resources corresponding to the target account type before acquiring the probability distribution information corresponding to the target account type;
分配模块,用于根据平均值为每个数量区间分配回退比例,其中,回退比例为落入每个数量区间的回退资源的份数与落入多个数量区间的回退资源的总份数之间的比值;The allocation module is used to allocate a rollback ratio to each quantity range based on the average value, wherein the rollback ratio is the ratio between the number of rollback resources falling into each quantity range and the total number of rollback resources falling into multiple quantity ranges.
第二确定模块,用于根据每个数量区间所对应的回退比例、客户端对应的应用上属于目标帐号类型的帐号的总数量、目标操作的触发率、每个数量区间对应的资源转移操作的操作数量以及客户端对应的应用上执行资源转移操作的总操作数量确定每个数量区间所对应的概率值,得到概率分布信息,其中,目标操作的触发率用于指示客户端对应的应用中执行目标操作的概率。The second determining module is used to determine the probability value corresponding to each quantity interval based on the rollback ratio corresponding to each quantity interval, the total number of accounts belonging to the target account type on the client's application, the trigger rate of the target operation, the number of resource transfer operations corresponding to each quantity interval, and the total number of resource transfer operations executed on the client's application, thereby obtaining probability distribution information. The trigger rate of the target operation is used to indicate the probability of executing the target operation in the client's application.
作为一种可选的方案,第一获取模块包括:As an optional solution, the first acquisition module includes:
第三获取单元,用于获取允许将转出的资源回退给转出资源的帐号所需转移的资源的数量阈值;The third acquisition unit is used to acquire the threshold number of resources that need to be transferred to allow the transferred resources to be returned to the account that transferred the resources.
划分单元,用于将数量阈值划分为多个数量区间。The division unit is used to divide the quantity threshold into multiple quantity intervals.
作为一种可选的方案,第二确定模块包括:As an optional solution, the second determining module includes:
第二确定单元,用于确定帐号的总数量与目标操作的触发率的乘积,得到第一乘积值;The second determining unit is used to determine the product of the total number of accounts and the trigger rate of the target operation to obtain the first product value;
第三确定单元,用于确定操作数量与总操作数量之间的比值,得到第一比值;The third determining unit is used to determine the ratio between the number of operations and the total number of operations, and obtain the first ratio.
第四确定单元,用于确定第一乘积值与第一比值之间的乘积,得到第二乘积值;The fourth determining unit is used to determine the product between the first product value and the first ratio to obtain the second product value;
第五确定单元,用于将每个数量区间所对应的回退比例与第二乘积值之间的第二比值确定为每个数量区间所对应的概率值。The fifth determining unit is used to determine the probability value corresponding to each quantity interval by the second ratio between the backoff ratio corresponding to each quantity interval and the second product value.
作为一种可选的方案,第一确定单元包括:As an optional approach, the first determining unit includes:
第一确定子单元,用于确定目标帐号对应的帐号标识所在的帐号标识列表,其中,每个帐号标识列表用于记录属于同一种帐号类型的帐号;或者,The first determining subunit is used to determine the list of account identifiers corresponding to the target account, wherein each list of account identifiers records accounts belonging to the same account type; or...
第二确定子单元,用于确定目标帐号与属于目标帐号类型的帐号之间的相似度,其中,在相似度高于目标相似度的情况下,确定目标帐号的帐号类型属于目标帐号类型。The second determining subunit is used to determine the similarity between the target account and an account belonging to the target account type. If the similarity is higher than the target similarity, the account type of the target account is determined to belong to the target account type.
作为一种可选的方案,第二确定子单元用于:As an optional approach, the second determining subunit is used for:
将目标帐号的目标属性信息作为输入信息输入到目标神经网络模型中,并获取目标神经网络模型的输出信息,其中,目标神经网络模型是使用属于目标帐号类型的帐号所对应的属性信息对初始神经网络模型进行训练得到的模型;The target account's target attribute information is input into the target neural network model, and the output information of the target neural network model is obtained. The target neural network model is a model obtained by training the initial neural network model using the attribute information corresponding to the account belonging to the target account type.
将输出信息确定为相似度。The output information is determined as similarity.
作为一种可选的方案,上述装置还包括:As an optional solution, the above-mentioned device further includes:
第三确定模块,用于在将目标帐号的目标属性信息作为输入信息输入到目标神经网络模型中,并获取目标神经网络模型的输出信息之前,将对资源回退结果执行分享操作的帐号确定为属于目标帐号类型的帐号;The third determination module is used to determine the account that performs the sharing operation on the resource rollback result as an account belonging to the target account type before inputting the target attribute information of the target account into the target neural network model and obtaining the output information of the target neural network model.
第二获取模块,用于获取第一数量的属于目标帐号类型的帐号的属性信息,以及第二数量的不属于目标帐号类型的帐号的属性信息作为训练样本,其中,第一数量大于第二数量;The second acquisition module is used to acquire attribute information of a first number of accounts belonging to the target account type and attribute information of a second number of accounts not belonging to the target account type as training samples, wherein the first number is greater than the second number.
训练模块,用于使用训练样本对初始神经网络模型进行训练,得到目标神经网络模型。The training module is used to train the initial neural network model using training samples to obtain the target neural network model.
作为一种可选的方案,第一显示模块包括:As an optional solution, the first display module includes:
第一跳转单元,用于客户端上显示的界面从用于指示执行了目标资源转移操作的资源转移界面跳转至活动界面;The first jump unit is used to jump the interface displayed on the client from the resource transfer interface that indicates that the target resource transfer operation has been performed to the active interface;
第一显示单元,用于在活动界面上显示用于提示执行目标操作的控件;The first display unit is used to display controls on the active interface to prompt for the execution of the target operation;
其中,在检测到对控件执行了目标操作的情况下,确定检测到执行了目标操作。Specifically, if a target operation is detected to have been performed on a control, then the target operation is determined to have been performed.
作为一种可选的方案,第二显示模块包括:As an optional solution, the second display module includes:
第二跳转单元,用于客户端上显示的界面从活动界面跳转至结果界面;The second jump unit is used to jump from the activity interface to the result interface on the client side;
第二显示单元,用于在结果界面上显示资源回退结果,其中,资源回退结果包括以下至少之一:用于指示目标数量的资源回退成功的信息,目标数量,目标数量的资源的回退路径。The second display unit is used to display the resource rollback results on the result interface, wherein the resource rollback results include at least one of the following: information indicating that the target number of resources were successfully rolled back, the target number, and the rollback path of the target number of resources.
本发明实施例的应用环境可以但不限于参照上述实施例中的应用环境,本实施例中对此不再赘述。本发明实施例提供了用于实施上述实时通信的连接方法的一种可选的具体应用示例。The application environment of this invention embodiment can be, but is not limited to, the application environment described in the above embodiments, and will not be repeated here. This invention embodiment provides an optional specific application example for implementing the above-described real-time communication connection method.
作为一种可选的实施例,上述资源的处理方法可以但不限于应用于如图8所示的交易支付抽取免单奖励活动的场景中。在本场景中,在长期性的大型线上平台活动运营中,第一次利用统计学大数理论提出了一套活动配置剧本模板,实现了运营活动配置的规范化和简易化,同时通过数值策划设计实现了活动奖品的随机拟态发放,让奖品均匀分布于日常交易中。在研究了免单价格区间和分享的关系后,对免单进行了价格区间划分,实现了成本的更加精细化管理。通过几期摇摇乐免单的投放和分享率的观察,确定了免单金额与分享率之间的断点关系,将分享率相近的区间合并。为了便于成本管理,减少免单成本波动,金额区间跨度不宜过大。因此,将免单区间[5,200]分为五大金额区间档位:[5,10],(10,30],(30,50],(50,100],(100,200]。As an optional embodiment, the above-mentioned resource processing method can be applied, but is not limited to, the scenario of a transaction payment lottery for a free reward activity as shown in Figure 8. In this scenario, in the operation of a long-term large-scale online platform activity, a set of activity configuration script templates was proposed for the first time using the statistical theory of large numbers, realizing the standardization and simplification of the operation activity configuration. At the same time, through numerical planning and design, the randomized distribution of activity prizes was realized, allowing prizes to be evenly distributed in daily transactions. After studying the relationship between the free order price range and sharing, the free order price range was divided, realizing more refined cost management. Through the distribution of several rounds of free orders and the observation of the sharing rate, the breakpoint relationship between the free order amount and the sharing rate was determined, and the ranges with similar sharing rates were merged. In order to facilitate cost management and reduce the fluctuation of free order costs, the range of amount should not be too large. Therefore, the free order range [5,200] is divided into five major amount range levels: [5,10], (10,30], (30,50], (50,100], (100,200).
出于优化免单显性效益的运营目的考虑(让用户感知到的免单均值大于实际付出的免单平均成本),提取了爱分享用户包体,为其各个区间配置了特定的免单数量,爱分享用户的免单截图分享行为对于活动的影响力有保障,所以相较普通用户,爱分享用户配置更多的高金额区间免单。经过多轮运营实践测试调优后,目前的配比基本稳定如下:爱分享用户包,免单均值20元,[5,10],31%,(10,30],51%,(30,50],17%,(50,100],0.9%,(100,200],0.1%。普通用户包,免单均值10元[5,10],85%,(10,30],8.4%,(30,50],6.5%,(50,100],0.08%,(100,200],0.02%。(相比大盘用户,爱分享包体用户的高金额区间免单数量占比更高,即这批用户更容易中高值免单)To optimize the visible benefits of freebies (ensuring that the average freebie perceived by users is greater than the average cost of the freebies they actually pay), we extracted the "Love Sharing" user package and assigned specific numbers of freebies to each of its segments. Since the sharing of freebie screenshots by "Love Sharing" users ensures their influence on the campaign, they are assigned more high-value freebies compared to ordinary users. After multiple rounds of operational testing and optimization, the current allocation ratios are basically stable as follows: For users with the "Love Sharing" package, the average free order value is 20 yuan, with [5,10] accounting for 31%, (10,30] for 51%, (30,50] for 17%, (50,100] for 0.9%, and (100,200] for 0.1%. For regular users, the average free order value is 10 yuan, with [5,10] for 85%, (10,30] for 8.4%, (30,50] for 6.5%, (50,100] for 0.08%, and (100,200] for 0.02%. (Compared to the general user base, users with the "Love Sharing" package have a higher proportion of free orders in the high-value range, meaning these users are more likely to receive free orders in the medium to high value range.)
活动运营中,通过运营经验的总结,观察到虽然对于单用户,他们周末的交易订单金额分布处于波动不稳定状态,但对于具有大量(2亿以上规模的)用户群体的支付大盘来说,周末全部订单的交易金额分布比例是相对稳定的,也可以理解为支付用户在周末发生某个特定金额支出的概率是可预期的。于是,为了实现特定金额区间免单在当天的均匀发放,利用如下公式确定特定金额区间免单中奖概率:During the campaign operation, through summarizing operational experience, it was observed that although the distribution of transaction order amounts for individual users fluctuated and was unstable over the weekend, for the large payment platform with a user base of over 200 million, the distribution ratio of all orders over the weekend was relatively stable. This can be understood as the probability of a payment user making a specific expenditure over the weekend being predictable. Therefore, to ensure the even distribution of free orders within a specific amount range on the day of the campaign, the following formula was used to determine the probability of winning a free order within a specific amount range:
特定金额区间免单中奖概率=该区间免单份数/该区间预计包体参与人数Probability of winning a free order within a specific amount range = Number of free orders within that range / Expected number of participants in the package within that range
=该区间免单份数/预计包体参与人数*大盘该金额区间支付订单比例= Number of free orders in this range / Expected number of participants in the package * Percentage of total orders paid in this price range across the market
=该区间免单份数/(包体总人数*活动参与率)*(大盘该金额区间支付订单数量/大盘总支付订单数量)= Number of free orders in this range / (Total number of participants in the package * Activity participation rate) * (Number of paid orders in this range across the entire market / Total number of paid orders across the entire market)
通过以上公式可以实现目标:将特定数量的免单,利用统计学原理,进行了均匀分散发放(随机拟态发放)。该处理方法具有拓展性,除了可以针对爱分享用户群体,均匀发放特定数量的免单,还可应用于任意圈定的目标用户群体的免单投放。The above formula achieves the goal of distributing a specific number of freebies evenly (randomized distribution) using statistical principles. This method is scalable; besides distributing a specific number of freebies evenly to the "Sharing" user group, it can also be applied to any defined target user group.
在大奖配置过程中,还配置特定比例的免单投放到非圈定的目标用户群体,如此配置的目的有两个:由于圈定的用户,具有一定类似特征,背离了随机性,因此通过将一定比例的免单投放至非目标群体用户,实现全体大盘用户皆有中免单的机会,产生随机性,增加了中奖的随机感,消除人工干预的痕迹。在对爱分享人群的机器学习过程中,如果人群样本都是人工事先选定的,存在偏差性,影响机器学习模型的最终效果,因此每次机器学习样本中都添加入随机产生的样本,这样可以增加学习结果的全面性和正确性。During the prize allocation process, a specific proportion of free prizes were distributed to non-target user groups. This allocation serves two purposes: Firstly, since targeted users share similar characteristics, randomness is compromised. Distributing a certain percentage of free prizes to non-target users ensures that all users have a chance to win, introducing randomness, increasing the sense of chance in winning, and eliminating traces of human intervention. Secondly, in the machine learning process for the "sharing" population, if the population samples are all pre-selected manually, bias will exist, affecting the final effect of the machine learning model. Therefore, randomly generated samples are added to each machine learning sample, which increases the comprehensiveness and accuracy of the learning results.
如图8所示,用户小甲支付200元后,在客户端上显示提示信息,其中,提示信息用于提示执行目标操作,在客户端上检测到小甲执行了目标操作的情况下,确定与小甲的帐号对应的资源回退参数,其中,小甲属于爱分享用户,获取的(100,200]数量区间的中奖概率,即资源回退参数,比如0.85%;在按照上述资源回退参数指示的概率确定出需要将目标数量的资源回退给目标帐号的情况下,在客户端上显示资源回退结果,其中,资源回退结果包括:“恭喜获得免单奖励,本次支付¥200.00,已返回至你的零钱账户”。As shown in Figure 8, after user Xiaojia pays 200 yuan, a prompt message is displayed on the client. This prompt message prompts the user to perform the target operation. Upon detecting that Xiaojia has performed the target operation on the client, the resource return parameters corresponding to Xiaojia's account are determined. Xiaojia is a "Sharing" user, and the probability of winning within the range of (100, 200) is the resource return parameter, for example, 0.85%. If the probability indicated by the resource return parameter determines that the target quantity of resources needs to be returned to the target account, the resource return result is displayed on the client. The resource return result includes: "Congratulations on winning a free order reward! This payment of 200.00 yuan has been returned to your WeChat Wallet."
根据本发明实施例的又一个方面,还提供了一种用于实施上述资源的处理的电子装置,如图9所示,该电子装置包括:一个或多个(图中仅示出一个)处理器902、存储器904、传感器906、编码器908以及传输装置910,该存储器中存储有计算机程序,该处理器被设置为通过计算机程序执行上述任一项方法实施例中的步骤。According to another aspect of the present invention, an electronic device for implementing the processing of the above-described resources is also provided, as shown in FIG9. The electronic device includes: one or more (only one is shown in the figure) processors 902, memory 904, sensor 906, encoder 908, and transmission device 910. The memory stores a computer program, and the processor is configured to execute the steps of any of the above-described method embodiments through the computer program.
可选地,在本实施例中,上述电子装置可以位于计算机网络的多个网络设备中的至少一个网络设备。Optionally, in this embodiment, the electronic device may be located in at least one of a plurality of network devices in a computer network.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
S1,在目标帐号登录的客户端上执行了目标资源转移操作后,在所述客户端上显示提示信息,其中,所述提示信息用于提示执行目标操作,所述目标资源转移操作用于从所述目标帐号中转出目标数量的资源;S1, after the target resource transfer operation is performed on the client logged in to the target account, a prompt message is displayed on the client, wherein the prompt message is used to prompt the execution of the target operation, and the target resource transfer operation is used to transfer out the target amount of resources from the target account;
S2,在所述客户端上检测到执行了所述目标操作的情况下,确定与所述目标帐号对应的资源回退参数,其中,所述资源回退参数包括将所述目标数量的资源回退给所述目标帐号的概率;S2, if the target operation is detected to have been performed on the client, determine the resource rollback parameters corresponding to the target account, wherein the resource rollback parameters include the probability of rolling back the target number of resources to the target account;
S3,在按照所述资源回退参数指示的概率确定出需要将所述目标数量的资源回退给所述目标帐号的情况下,在所述客户端上显示资源回退结果,其中,所述资源回退结果用于表示所述目标数量的资源被回退给所述目标帐号。S3, if it is determined according to the probability indicated by the resource rollback parameters that the target number of resources needs to be rolled back to the target account, the resource rollback result is displayed on the client, wherein the resource rollback result is used to indicate that the target number of resources has been rolled back to the target account.
可选地,本领域普通技术人员可以理解,图9所示的结构仅为示意,电子装置也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图9其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图9中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图9所示不同的配置。Optionally, those skilled in the art will understand that the structure shown in Figure 9 is merely illustrative, and the electronic device may also be a smartphone (such as an Android phone, iOS phone, etc.), tablet computer, PDA, mobile internet device (MID), PAD, and other terminal devices. Figure 9 does not limit the structure of the aforementioned electronic device. For example, the electronic device may also include more or fewer components (such as network interfaces, display devices, etc.) than shown in Figure 9, or have a different configuration than that shown in Figure 9.
其中,存储器904可用于存储软件程序以及模块,如本发明实施例中的资源的处理方法和装置对应的程序指令/模块,处理器902通过运行存储在存储器904内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的目标组件的控制方法。存储器904可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器904可进一步包括相对于处理器902远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 904 can be used to store software programs and modules, such as program instructions/modules corresponding to the resource processing methods and apparatus in this embodiment of the invention. The processor 902 executes various functional applications and data processing by running the software programs and modules stored in the memory 904, thereby realizing the control method of the aforementioned target component. The memory 904 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 904 may further include memory remotely located relative to the processor 902, and these remote memories can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
上述的传输装置910用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置910包括一个网络适配器(NetworkInterface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进行通讯。在一个实例中,传输装置910为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。The aforementioned transmission device 910 is used to receive or send data via a network. Specific examples of the network may include wired and wireless networks. In one example, the transmission device 910 includes a Network Interface Controller (NIC), which can be connected to other network devices and a router via a network cable to communicate with the Internet or a local area network. In another example, the transmission device 910 is a radio frequency (RF) module used for wireless communication with the Internet.
其中,具体地,存储器904用于存储应用程序。Specifically, memory 904 is used to store application programs.
本发明的实施例还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present invention also provide a storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
可选地,在本实施例中,上述存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
S1,在目标帐号登录的客户端上执行了目标资源转移操作后,在所述客户端上显示提示信息,其中,所述提示信息用于提示执行目标操作,所述目标资源转移操作用于从所述目标帐号中转出目标数量的资源;S1, after the target resource transfer operation is performed on the client logged in to the target account, a prompt message is displayed on the client, wherein the prompt message is used to prompt the execution of the target operation, and the target resource transfer operation is used to transfer out the target amount of resources from the target account;
S2,在所述客户端上检测到执行了所述目标操作的情况下,确定与所述目标帐号对应的资源回退参数,其中,所述资源回退参数包括将所述目标数量的资源回退给所述目标帐号的概率;S2, if the target operation is detected to have been performed on the client, determine the resource rollback parameters corresponding to the target account, wherein the resource rollback parameters include the probability of rolling back the target number of resources to the target account;
S3,在按照所述资源回退参数指示的概率确定出需要将所述目标数量的资源回退给所述目标帐号的情况下,在所述客户端上显示资源回退结果,其中,所述资源回退结果用于表示所述目标数量的资源被回退给所述目标帐号。S3, if it is determined according to the probability indicated by the resource rollback parameters that the target number of resources needs to be rolled back to the target account, the resource rollback result is displayed on the client, wherein the resource rollback result is used to indicate that the target number of resources has been rolled back to the target account.
可选地,存储介质还被设置为存储用于执行上述实施例中的方法中所包括的步骤的计算机程序,本实施例中对此不再赘述。Optionally, the storage medium is also configured to store a computer program for performing the steps included in the methods of the above embodiments, which will not be described again in this embodiment.
可选地,在本实施例中,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。Optionally, in this embodiment, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。If the integrated units in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in the aforementioned computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between units or modules, and may be electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims (12)
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK40038806A HK40038806A (en) | 2021-07-02 |
| HK40038806B true HK40038806B (en) | 2023-11-10 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11167216B2 (en) | System and method for providing in-game timed offers | |
| CN105306506B (en) | Network advertisement publishing method and network advertisement publishing system | |
| US9449330B2 (en) | Self-serve API for game mechanics tool | |
| US20150148005A1 (en) | Electronic device lock screen content distribution based on environmental context system and method | |
| US8827799B1 (en) | Social gaming platform with real world outcomes | |
| CN109685559A (en) | Lottery drawing method, device, equipment and storage medium based on big data analysis | |
| US11238476B2 (en) | Blockchain-based platform for monetizing social media following | |
| CN111415179B (en) | User rights and interests information processing method and device and electronic equipment | |
| JP3216098U (en) | Advertising system in interactive environment | |
| CN109428910B (en) | Data processing method, device and system | |
| WO2017003710A1 (en) | Automatic invitation delivery system | |
| US20130159068A1 (en) | System and method for determining quality of service for actions to be performed in a virtual space | |
| CN112308582B (en) | Resource processing method and device, storage medium and electronic device | |
| JP2020027650A (en) | Quiz-based question and answer service providing method and system | |
| KR102440532B1 (en) | Blockchain-based content activity reward platform device and content activity reward method using the same | |
| US20220012760A1 (en) | System and method for providing in-game offers | |
| CN109670845A (en) | A kind of data resource distribution method and device | |
| CN104239519B (en) | A kind of information recommendation method and relevant device, system | |
| JP2024102200A (en) | Computer processing for increasing growth speed of service | |
| US20180268650A1 (en) | System and method for online gaming and shopping | |
| CN116228309A (en) | Virtual resource issuing method, terminal, server and storage medium | |
| KR101729185B1 (en) | On-demand traffic trade method, computer-readable medium and system | |
| HK40038806B (en) | Resource processing method and device, storage medium and electronic device | |
| CN112950314A (en) | Method, device, equipment and storage medium for determining ticket purchasing qualification | |
| US20130225266A1 (en) | Providing token-based access to application features |