技术领域technical field
本发明涉及互联网技术领域,尤其涉及一种信息提示方法及终端。The invention relates to the technical field of the Internet, in particular to an information prompting method and a terminal.
背景技术Background technique
随着互联网技术的发展,各种功能的应用被不断推出,其中也不乏许多功能相似的应用。为了吸引用户使用应用,应用商经常设置一些兑换物在兑换页面,以供用户使用虚拟资源(如积分、经验值等)来进行兑换。在实际应用中,由于人们生活节奏越来越快,不少用户因忙碌而忘记去对兑换物进行兑换的情况经常发生。由于用户容易忘记对兑换物进行兑换,将导致用户对兑换物进行兑换的兑换成功率降低,这给用户带来了不少困扰。With the development of Internet technology, applications with various functions are continuously launched, and there are many applications with similar functions. In order to attract users to use applications, application providers often set some exchange items on the exchange page for users to use virtual resources (such as points, experience points, etc.) to exchange. In practical applications, due to the faster and faster pace of people's life, it often happens that many users forget to exchange the exchange items due to busyness. Since the user easily forgets to exchange the exchange item, the exchange success rate of the user's exchange of the exchange item will be reduced, which brings a lot of troubles to the user.
发明内容Contents of the invention
本发明实施例公开了一种信息提示方法及终端,有利于提升用户对兑换物进行兑换的兑换成功率。The embodiment of the present invention discloses an information prompting method and a terminal, which are beneficial to improving the conversion success rate of a user's conversion of a conversion item.
本发明实施例第一方面公开了一种信息提示方法,所述方法包括:The first aspect of the embodiment of the present invention discloses an information prompting method, the method comprising:
获取目标账号所拥有的虚拟资源的数量;Obtain the number of virtual resources owned by the target account;
根据所述目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物,其中,所述第一兑换物被兑换时所需的虚拟资源的数量小于或等于所述目标账号所拥有的虚拟资源的数量,所述第二兑换物被兑换时所需的虚拟资源的数量与所述目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值;According to the number of virtual resources owned by the target account, the first exchange item or the second exchange item is obtained from the preset exchange item library, wherein the number of virtual resources required for the first exchange item to be exchanged is less than Or equal to the number of virtual resources owned by the target account, the absolute value of the difference between the number of virtual resources required when the second exchange item is exchanged and the number of virtual resources owned by the target account is less than the preset value;
向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第一兑换物或所述第二兑换物的提示信息。Pushing prompt information for prompting the user to redeem the first exchange item or the second exchange item to a pre-stored terminal or an associated account bound to the target account.
在本发明实施例第一方面的第一种可能的实现方式中,所述根据所述目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物之后,所述方法还包括:In the first possible implementation manner of the first aspect of the embodiment of the present invention, according to the amount of virtual resources owned by the target account, the first exchange item or the second exchange item is obtained from the preset exchange item library Afterwards, the method also includes:
针对获取的每一第一兑换物,判断所述第一兑换物在预设时间段内被兑换的总次数是否超过与所述第一兑换物对应的预设总次数;For each acquired first exchange item, determine whether the total number of times the first exchange item has been exchanged within a preset time period exceeds the preset total number of times corresponding to the first exchange item;
若判断结果为否,则将所述第一兑换物设置为第三兑换物;If the judgment result is no, setting the first exchange item as the third exchange item;
所述步骤向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第一兑换物或所述第二兑换物的提示信息包括:The step of pushing the prompt information for prompting the user to redeem the first exchange item or the second exchange item to the pre-stored terminal or associated account bound to the target account includes:
向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第三兑换物或所述第二兑换物的提示信息。Pushing prompt information for prompting the user to redeem the third exchange item or the second exchange item to the pre-stored terminal or associated account bound to the target account.
在本发明实施例第一方面的第二种可能的实现方式中,所述根据所述目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物之后,所述方法还包括:In the second possible implementation manner of the first aspect of the embodiment of the present invention, according to the number of virtual resources owned by the target account, the first exchange item or the second exchange item is obtained from the preset exchange item library Afterwards, the method also includes:
针对获取的每一第二兑换物,判断所述第二兑换物在预设时间段内被兑换的总次数是否超过与所述第二兑换物对应的预设总次数;For each acquired second exchange item, determine whether the total number of times the second exchange item has been exchanged within a preset time period exceeds the preset total number of times corresponding to the second exchange item;
若判断结果为否,则将所述第二兑换物设置为第四兑换物;If the judgment result is no, setting the second exchange item as the fourth exchange item;
所述步骤向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第一兑换物或所述第二兑换物的提示信息包括:The step of pushing the prompt information for prompting the user to redeem the first exchange item or the second exchange item to the pre-stored terminal or associated account bound to the target account includes:
向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第一兑换物或所述第四兑换物的提示信息。Pushing prompt information for prompting the user to redeem the first exchange item or the fourth exchange item to a pre-stored terminal or an associated account bound to the target account.
结合本发明实施例第一方面或第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方式,在本发明实施例第一方面的第三种可能的实现方式中,所述提示信息包括推荐应用,所述向预先储存的与所述目标账号相绑定的终端推送用于提示用户兑换所述第一兑换物或所述第二兑换物的提示信息之后,所述方法还包括:In combination with the first aspect of the embodiment of the present invention or the first possible implementation of the first aspect or the second possible implementation of the first aspect, in the third possible implementation of the first aspect of the embodiment of the present invention , the prompt information includes a recommended application, and after the prompt information for prompting the user to exchange the first exchange item or the second exchange item is pushed to the pre-stored terminal bound to the target account, the The method also includes:
选取所述推荐应用中的任意一个推荐应用作为目标推荐应用;selecting any one of the recommended applications as the target recommended application;
接收客户端发送的针对所述目标推荐应用的下载请求,所述下载请求携带有所述目标账号;receiving a download request for the target recommended application sent by the client, the download request carrying the target account;
响应所述下载请求,向所述客户端发送所述目标推荐应用的应用程序;Responding to the download request, sending the application program of the target recommended application to the client;
将预先设置的与所述目标推荐应用对应的虚拟资源添加至所述目标账号中。Adding a preset virtual resource corresponding to the target recommended application to the target account.
结合本发明实施例第一方面或第一方面的第一种可能的实现方式或第一方面的第二种可能的实现方式,在本发明实施例第一方面的第四种可能的实现方式中,向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第一兑换物或所述第二兑换物的提示信息之后,所述方法还包括:In combination with the first aspect of the embodiment of the present invention or the first possible implementation of the first aspect or the second possible implementation of the first aspect, in the fourth possible implementation of the first aspect of the embodiment of the present invention After pushing a reminder message for prompting the user to redeem the first exchange item or the second exchange item to the pre-stored terminal or associated account bound to the target account, the method further includes:
选取所述第一兑换物中的任意一个第一兑换物作为目标兑换物;selecting any one of the first exchange items as the target exchange item;
接收客户端发送的针对所述目标兑换物的兑换请求,所述兑换请求携带有用户在待校验信息输入口输入的待校验信息和所述目标账号,所述待校验信息入口为所述客户端响应接收到的由用户输入的针对所述目标兑换物的兑换指令之后输出的;Receive the exchange request sent by the client for the target exchange item, the exchange request carries the information to be verified and the target account number entered by the user at the information input port to be verified, and the information to be verified entry is the output after the client responds to the received exchange instruction for the target exchange item input by the user;
校验所述待校验信息与预设的校验信息是否一致,如果一致,从所述目标账号中扣除预先设置的对所述目标兑换物进行兑换时所需的虚拟资源。Verifying whether the information to be verified is consistent with the preset verification information, and if they are consistent, deducting the preset virtual resources required for exchanging the target exchange item from the target account.
本发明实施例第二方面公开了一种终端,所述终端包括:The second aspect of the embodiment of the present invention discloses a terminal, and the terminal includes:
第一获取模块,用于获取目标账号所拥有的虚拟资源的数量;The first obtaining module is used to obtain the quantity of virtual resources owned by the target account;
第二获取模块,用于根据所述目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物,其中,所述第一兑换物被兑换时所需的虚拟资源的数量小于或等于所述目标账号所拥有的虚拟资源的数量,所述第二兑换物被兑换时所需的虚拟资源的数量与所述目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值;The second acquisition module is used to acquire the first exchange item or the second exchange item from the preset exchange item library according to the amount of virtual resources owned by the target account, wherein the first exchange item is exchanged by The number of virtual resources required is less than or equal to the number of virtual resources owned by the target account, and the difference between the number of virtual resources required when the second exchange item is exchanged and the number of virtual resources owned by the target account The absolute value of the difference is less than a preset value;
推送模块,用于向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第一兑换物或所述第二兑换物的提示信息。A push module, configured to push prompt information for prompting the user to redeem the first exchange item or the second exchange item to a pre-stored terminal or an associated account bound to the target account.
在本发明实施例第二方面的第一种可能的实现方式中,所述终端还包括:In a first possible implementation manner of the second aspect of the embodiments of the present invention, the terminal further includes:
第一判断模块,用于针对获取的每一第一兑换物,判断所述第一兑换物在预设时间段内被兑换的总次数是否超过与所述第一兑换物对应的预设总次数;The first judging module is configured to, for each acquired first exchange item, determine whether the total number of times the first exchange item has been exchanged within a preset time period exceeds the preset total number of times corresponding to the first exchange item ;
第一设置模块,用于若判断结果为否,则将所述第一兑换物设置为第三兑换物;The first setting module is used to set the first exchange item as the third exchange item if the judgment result is no;
所述推荐模块具体用于:The recommendation module is specifically used for:
向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第三兑换物或所述第二兑换物的提示信息。Pushing prompt information for prompting the user to redeem the third exchange item or the second exchange item to the pre-stored terminal or associated account bound to the target account.
在本发明实施例第二方面的第二种可能的实现方式中,所述终端还包括:In a second possible implementation manner of the second aspect of the embodiment of the present invention, the terminal further includes:
第二判断模块,用于针对获取的每一第二兑换物,判断所述第二兑换物在预设时间段内被兑换的总次数是否超过与所述第二兑换物对应的预设总次数;The second judging module is configured to, for each acquired second exchange item, determine whether the total number of times the second exchange item has been exchanged within a preset time period exceeds the preset total number of times corresponding to the second exchange item ;
第二设置模块,用于若判断结果为否,则将所述第二兑换物设置为第四兑换物;The second setting module is used to set the second exchange item as the fourth exchange item if the judgment result is no;
所述推荐模块具体用于:The recommendation module is specifically used for:
向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第一兑换物或所述第四兑换物的提示信息。Pushing prompt information for prompting the user to redeem the first exchange item or the fourth exchange item to a pre-stored terminal or an associated account bound to the target account.
结合本发明实施例第二方面或第二方面的第一种可能的实现方式或第二方面的第二种可能的实现方式,在本发明实施例第二方面的第三种可能的实现方式中,所述提示信息包括推荐应用,所述终端还包括:In combination with the second aspect of the embodiment of the present invention or the first possible implementation of the second aspect or the second possible implementation of the second aspect, in the third possible implementation of the second aspect of the embodiment of the present invention , the prompt information includes recommended applications, and the terminal further includes:
第一选取模块,用于选取所述推荐应用中的任意一个推荐应用作为目标推荐应用;A first selection module, configured to select any one of the recommended applications as a target recommended application;
第一接收模块,用于接收客户端发送的针对所述目标推荐应用的下载请求,所述下载请求携带有所述目标账号;A first receiving module, configured to receive a download request for the target recommended application sent by the client, where the download request carries the target account;
响应模块,用于响应所述下载请求,向所述客户端发送所述目标推荐应用的应用程序;a response module, configured to respond to the download request, and send the application program of the target recommended application to the client;
添加模块,用于将预先设置的与所述目标推荐应用对应的虚拟资源添加至所述目标账号中。An adding module, configured to add a preset virtual resource corresponding to the target recommended application to the target account.
结合本发明实施例第二方面或第二方面的第一种可能的实现方式或第二方面的第二种可能的实现方式,在本发明实施例第二方面的第四种可能的实现方式中,所述终端还包括:In combination with the second aspect of the embodiment of the present invention or the first possible implementation of the second aspect or the second possible implementation of the second aspect, in the fourth possible implementation of the second aspect of the embodiment of the present invention , the terminal also includes:
第二选取模块,用于选取所述第一兑换物中的任意一个第一兑换物作为目标兑换物;The second selection module is configured to select any one of the first exchange items as the target exchange item;
第二接收模块,用于接收客户端发送的针对所述目标兑换物的兑换请求,所述兑换请求携带有用户在待校验信息输入口输入的待校验信息和所述目标账号,所述待校验信息入口为所述客户端响应接收到的由用户输入的针对所述目标兑换物的兑换指令之后输出的;The second receiving module is used to receive the exchange request for the target exchange item sent by the client, the exchange request carries the information to be verified input by the user at the information input port to be verified and the target account number, the The information entry to be verified is output after the client responds to the received exchange instruction for the target exchange item input by the user;
校验模块,用于校验所述待校验信息与预设的校验信息是否一致,如果一致,从所述目标账号中扣除预先设置的对所述目标兑换物进行兑换时所需的虚拟资源。The verification module is used to verify whether the information to be verified is consistent with the preset verification information, and if they are consistent, deduct the preset virtual currency required for exchanging the target exchange from the target account. resource.
在本发明实施例中,通过获取目标账号所拥有的虚拟资源的数量,再根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物,其中,第一兑换物被兑换时所需的虚拟资源的数量小于或等于目标账号所拥有的虚拟资源的数量,第二兑换物被兑换时所需的虚拟资源的数量与目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值;最后向预先储存的与目标账号相绑定的终端或关联账号推送用于提示用户兑换第一兑换物或第二兑换物的提示信息。可见,本发明实施例有利于提升用户对兑换物进行兑换的兑换成功率。In the embodiment of the present invention, by obtaining the number of virtual resources owned by the target account, and then according to the number of virtual resources owned by the target account, the first exchange item or the second exchange item is obtained from the preset exchange item library, wherein , the amount of virtual resources required when the first exchange item is exchanged is less than or equal to the amount of virtual resources owned by the target account, and the amount of virtual resources required when the second exchange item is exchanged is the same as the number of virtual resources owned by the target account The absolute value of the difference in quantity is less than the preset value; finally, a prompt message for prompting the user to exchange the first exchange item or the second exchange item is pushed to the pre-stored terminal or associated account bound to the target account. It can be seen that the embodiment of the present invention is beneficial to improve the exchange success rate of the user's exchange of the exchange items.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the embodiments. Obviously, the drawings in the following description are some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1是本发明实施例公开的一种信息提示方法的流程示意图;FIG. 1 is a schematic flowchart of an information prompt method disclosed in an embodiment of the present invention;
图2是本发明实施例公开的另一种信息提示方法的流程示意图;Fig. 2 is a schematic flowchart of another information prompting method disclosed in an embodiment of the present invention;
图3是本发明实施例公开的另一种信息提示方法的流程示意图;Fig. 3 is a schematic flowchart of another information prompting method disclosed in an embodiment of the present invention;
图4是本发明实施例公开的另一种信息提示方法的流程示意图;Fig. 4 is a schematic flowchart of another information prompting method disclosed in an embodiment of the present invention;
图5是本发明实施例公开的另一种信息提示方法的流程示意图;Fig. 5 is a schematic flowchart of another information prompting method disclosed in an embodiment of the present invention;
图6是本发明实施例公开的一种终端的结构示意图;FIG. 6 is a schematic structural diagram of a terminal disclosed in an embodiment of the present invention;
图7是本发明实施例公开的另一种终端的结构示意图;FIG. 7 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention;
图8是本发明实施例公开的另一种终端的结构示意图;FIG. 8 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention;
图9是本发明实施例公开的另一种终端的结构示意图;FIG. 9 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention;
图10是本发明实施例公开的另一种终端的结构示意图。FIG. 10 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明实施例公开了一种信息提示方法及终端,有利于提升用户对兑换物进行兑换的兑换成功率。以下分别进行详细说明。The embodiment of the present invention discloses an information prompting method and a terminal, which are beneficial to improving the conversion success rate of a user's conversion of a conversion item. Each will be described in detail below.
请参见图1,图1为本发明实施例公开的一种信息提示方法的流程示意图。如图1所示,该信息提示方法可以包括以下步骤。Please refer to FIG. 1 . FIG. 1 is a schematic flowchart of an information prompting method disclosed in an embodiment of the present invention. As shown in Fig. 1, the information prompting method may include the following steps.
S101、获取目标账号所拥有的虚拟资源的数量。S101. Obtain the number of virtual resources owned by the target account.
本发明实施例中,终端将获取目标账号所拥有的虚拟资源的数量。其中,该终端可为软件商店服务器等具有物品兑换功能的应用的服务器,本发明实施例不做限定。其中,目标账号可以是软件商店注册账号、即时通信应用注册账号、微博注册账号等等注册账号,本发明实施例不做限定。In the embodiment of the present invention, the terminal will obtain the quantity of virtual resources owned by the target account. Wherein, the terminal may be a server of an application having an item exchange function such as a software store server, which is not limited in this embodiment of the present invention. Wherein, the target account may be a registered account of a software store, a registered account of an instant messaging application, a registered account of Weibo, etc., which is not limited in this embodiment of the present invention.
本发明实施例中,该目标账号可拥有虚拟资源,可选的,该虚拟资源可以是积分或经验值等等。可选的,可以通过登录该目标账号或在登录该目标账号的情况下进行签到来增加该目标账号对应的虚拟资源。In the embodiment of the present invention, the target account may have virtual resources, and optionally, the virtual resources may be credits or experience points and the like. Optionally, the virtual resource corresponding to the target account can be increased by logging in the target account or signing in while logging in the target account.
作为一种可选的实施方式,终端可以在一个预设时间点获取目标账号所拥有的虚拟资源的数量,可选的,预设时间点可以是用户设定的或系统设定的;可选的,终端可以以一个预设时间周期来获取目标账号所拥有的虚拟资源的数量。As an optional implementation, the terminal can obtain the number of virtual resources owned by the target account at a preset time point. Optionally, the preset time point can be set by the user or the system; optional Yes, the terminal can acquire the quantity of virtual resources owned by the target account in a preset time period.
S102、根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物。S102. Acquire a first exchange item or a second exchange item from a preset exchange item library according to the amount of virtual resources owned by the target account.
本发明实施例中,终端将根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物,其中,该第一兑换物被兑换时所需的虚拟资源的数量小于或等于目标账号所拥有的虚拟资源的数量,该第二兑换物被兑换时所需的虚拟资源的数量与目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值。In the embodiment of the present invention, the terminal will obtain the first exchange item or the second exchange item from the preset exchange item library according to the number of virtual resources owned by the target account, wherein the first exchange item needs to be exchanged The number of virtual resources is less than or equal to the number of virtual resources owned by the target account, and the absolute value of the difference between the number of virtual resources required when the second exchange item is exchanged and the number of virtual resources owned by the target account is less than the preset value.
本发明实施例中,可以预先设置预设兑换物库,该预设兑换物库中可以包括多个兑换物,其中预设兑换物库中包括的兑换物可以是虚拟物品或实物,本发明不做限定。其中,可以预先设置对预设兑换物库中的兑换物进行兑换时所需的虚拟资源的数量,即预先设置兑换物库中的兑换物被兑换时所需的虚拟资源的数量,每一兑换物对应的被兑换时所需的虚拟资源的数量可以不同。In the embodiment of the present invention, a preset exchange library can be set in advance, and the preset exchange library can include multiple exchange items, wherein the exchange items included in the preset exchange library can be virtual items or real objects, and the present invention does not Do limited. Among them, the number of virtual resources required for exchanging the exchange items in the preset exchange item library can be preset, that is, the number of virtual resources required for exchanging the exchange items in the exchange item library can be preset, and each exchange The amount of virtual resources required when being exchanged for the corresponding object can be different.
本发明实施例中,在终端获取到目标账号所拥有的虚拟资源的数量之后,将针对预设兑换物库中的每一个兑换物,首先获取预先设置的对兑换物进行兑换时所需的虚拟资源的数量,再判断对兑换物进行兑换时所需的虚拟资源的数量是否小于或等于目标账号所拥有的虚拟资源的数量,即判断该目标账号是否能够兑换该兑换物,若对兑换物进行兑换时所需的虚拟资源的数量小于或等于目标账号所拥有的虚拟资源的数量,则将该兑换物作为第一兑换物;或者,在终端获取到目标账号所拥有的虚拟资源的数量之后,将针对预设兑换物库中的每一个兑换物,首先获取预先设置的对兑换物进行兑换时所需的虚拟资源的数量,再判断对兑换物进行兑换时所需的虚拟资源的数量与目标账号所拥有的虚拟资源的数量之差的绝对值是否小于预设数值,若对兑换物进行兑换时所需的虚拟资源的数量与目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值,则将该兑换物作为第二兑换物。可选的,该第二兑换物可以为用户所拥有的虚拟资源的数量只差一点就可兑换的兑换物。可选的,该预设数值可以是一个较小的正数值,例如:1、2、3、4等等。该预设数值也可是一个经验值,本发明实施例不做限定。In the embodiment of the present invention, after the terminal acquires the number of virtual resources owned by the target account, for each exchange item in the preset exchange item library, it first obtains the preset virtual resource required for exchanging the exchange item. The amount of resources, and then judge whether the amount of virtual resources required for exchanging the exchange item is less than or equal to the number of virtual resources owned by the target account, that is, to determine whether the target account can exchange the exchange item. If the number of virtual resources required for exchange is less than or equal to the number of virtual resources owned by the target account, the exchange item is used as the first exchange item; or, after the terminal obtains the number of virtual resources owned by the target account, For each exchange item in the preset exchange item library, first obtain the preset quantity of virtual resources required for exchanging the exchange item, and then determine the quantity and target of virtual resources required for exchanging the exchange item Whether the absolute value of the difference between the number of virtual resources owned by the account is less than the preset value, if the absolute value of the difference between the number of virtual resources required for exchanging the exchange item and the number of virtual resources owned by the target account is less than the preset value If a value is set, the exchange item will be used as the second exchange item. Optionally, the second exchange item may be an exchange item that can be exchanged only slightly less than the amount of virtual resources owned by the user. Optionally, the preset value may be a smaller positive value, for example: 1, 2, 3, 4 and so on. The preset value may also be an empirical value, which is not limited in this embodiment of the present invention.
S103、向预先储存的与目标账号相绑定的终端或关联账号推送用于提示用户兑换第一兑换物或第二兑换物的提示信息。S103. Push prompt information for prompting the user to exchange the first exchange item or the second exchange item to the pre-stored terminal or associated account bound to the target account.
本发明实施例中,终端将向预先储存的与目标账号相绑定的终端推送用于提示用户兑换第一兑换物或第二兑换物的提示信息;或终端将向预先储存的与目标账号相绑定关联账号推送用于提示用户兑换第一兑换物或第二兑换物的提示信息,可选的,该提示信息还可包括第一兑换物或第二兑换物的被兑换的总次数,剩余可被兑换的次数。In the embodiment of the present invention, the terminal will push a reminder message for prompting the user to redeem the first exchange item or the second exchange item to the pre-stored terminal bound with the target account; Binding the associated account to push a reminder message for prompting the user to redeem the first exchange item or the second exchange item. Optionally, the prompt information may also include the total number of times the first exchange item or the second exchange item has been exchanged, and the remaining The number of times that can be redeemed.
本发明实施例中,终端可以预先将一个或多个终端与目标账号绑定,与目标账号绑定的终端可用于接收用于提示用户兑换第一兑换物或第二兑换物的提示信息。可选的,将一个终端与目标账号绑定可以是将该终端的标识信息与目标账号绑定,例如终端的标识信息可以为MDN号码或包括了MDN号码的信息;或者将一个终端与目标账号绑定可以是将该终端的SIM卡号与目标账号相绑定,本发明实施例不做限定。In the embodiment of the present invention, the terminal may pre-bind one or more terminals with the target account, and the terminals bound to the target account may be used to receive prompt information for prompting the user to redeem the first exchange item or the second exchange item. Optionally, binding a terminal to a target account may be to bind the identification information of the terminal to the target account, for example, the identification information of the terminal may be an MDN number or information including an MDN number; or bind a terminal to the target account The binding may be to bind the SIM card number of the terminal with the target account, which is not limited in this embodiment of the present invention.
本发明实施例中,终端可以预先将一个或多个关联账号与目标账号绑定,与目标账号绑定的关联账号可用于接收用于提示用户兑换第一兑换物或第二兑换物的提示信息。该关联账号可以是即时通讯注册账号、微博注册账号等等注册账号,本发明实施例不做限定。In the embodiment of the present invention, the terminal can bind one or more associated accounts with the target account in advance, and the associated accounts bound to the target account can be used to receive prompt information for prompting the user to redeem the first exchange item or the second exchange item . The associated account may be an instant messaging registered account, a microblog registered account, and other registered accounts, which are not limited in this embodiment of the present invention.
在实际应用中,若用户忘记去兑换的兑换物,将可能导致用户错过心仪的兑换物,本发明实施例通过向用户发送用于提示用户对第一兑换物或第二兑换物进行兑换的提示信息,将有可能避免用户错过心仪的兑换物,提高了用户对兑换物进行兑换的兑换成功率,提升了用户的体验,使功能更人性化。In practical applications, if the user forgets to redeem the exchange item, it may cause the user to miss the desired exchange item. In the embodiment of the present invention, a prompt for prompting the user to exchange the first exchange item or the second exchange item is sent to the user. information, it will be possible to prevent users from missing their favorite exchange items, improve the exchange success rate of users' exchange items, improve user experience, and make functions more humanized.
在图1所描述的方法中,通过获取目标账号所拥有的虚拟资源的数量,再根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物,其中,第一兑换物被兑换时所需的虚拟资源的数量小于或等于目标账号所拥有的虚拟资源的数量,第二兑换物被兑换时所需的虚拟资源的数量与目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值;最后向预先储存的与目标账号相绑定的终端或关联账号推送用于提示用户兑换第一兑换物或第二兑换物的提示信息。可见,本发明实施例有利于提升用户对兑换物进行兑换的兑换成功率。In the method described in Figure 1, by obtaining the number of virtual resources owned by the target account, and then according to the number of virtual resources owned by the target account, the first exchange item or the second exchange item is obtained from the preset exchange item library , wherein the number of virtual resources required when the first exchange item is exchanged is less than or equal to the number of virtual resources owned by the target account, and the number of virtual resources required when the second exchange item is exchanged is equal to the number of virtual resources owned by the target account The absolute value of the difference in the number of virtual resources is less than a preset value; finally, a prompt message for prompting the user to exchange the first exchange item or the second exchange item is pushed to the pre-stored terminal or associated account bound to the target account. It can be seen that the embodiment of the present invention is beneficial to improve the exchange success rate of the user's exchange of the exchange item.
请参见图2,图2为本发明实施例公开的另一种信息提示方法的流程示意图。如图2所示,该信息提示方法可以包括以下步骤。Please refer to FIG. 2 . FIG. 2 is a schematic flowchart of another information prompting method disclosed in an embodiment of the present invention. As shown in Fig. 2, the information prompting method may include the following steps.
S201、终端获取目标账号所拥有的虚拟资源的数量。S201. The terminal obtains the quantity of virtual resources owned by the target account.
S202、终端根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物。S202. The terminal acquires the first exchange item or the second exchange item from a preset exchange item library according to the amount of virtual resources owned by the target account.
S203、终端针对获取的每一第一兑换物,判断第一兑换物在预设时间段内被兑换的总次数是否超过与该第一兑换物对应的预设总次数。S203. For each acquired first exchange item, the terminal determines whether the total number of times the first exchange item has been exchanged within a preset time period exceeds the preset total number of times corresponding to the first exchange item.
本发明实施例中,可以预先设置预设兑换物库中每一兑换物在预设时间段内对应的预设总次数,与兑换物对应预设总次数为该兑换物在预设时间段内能够被用户兑换的总次数。该预设时间段可以是1小时、5小时或24小时等等,本发明实施例不做限定。In the embodiment of the present invention, the preset total number of times corresponding to each exchange item in the preset exchange item library within the preset time period can be preset, and the preset total number of times corresponding to the exchange item is the exchange item within the preset time period The total number of times that can be redeemed by the user. The preset time period may be 1 hour, 5 hours, or 24 hours, etc., which is not limited in this embodiment of the present invention.
本发明实施例中,在预设时间段内兑换物每被兑换一次,就将该预设时间段内兑换物被兑换的总次数加一,直到该预设时间段内兑换物被兑换的总次数等于预设总次数。In the embodiment of the present invention, every time the exchange item is exchanged within the preset time period, the total number of times the exchange item is exchanged within the preset time period is increased by one, until the total number of times the exchange item is exchanged within the preset time period The number of times is equal to the preset total number of times.
本发明实施例中,当终端获取到第一兑换物之后,将针对获取到的每一第一兑换物,首先获取第一兑换物在预设时间段内被兑换的总次数,然后获取第一兑换物的预设总次数,并判断第一兑换物在预设时间段内被兑换的总次数是否超过与第一兑换物对应的预设总次数,若第一兑换物在预设时间段内被兑换的总次数未超过与第一兑换物对应的预设总次数,则将第一兑换物设置为第三兑换物。In the embodiment of the present invention, after the terminal acquires the first exchange item, for each acquired first exchange item, it first obtains the total number of times the first exchange item has been exchanged within a preset time period, and then obtains the first The preset total number of exchange items, and determine whether the total number of times the first exchange item is exchanged within the preset time period exceeds the preset total number of times corresponding to the first exchange item. If the first exchange item is within the preset time period If the total number of exchanged times does not exceed the preset total number of times corresponding to the first exchanged item, then the first exchanged item is set as the third exchanged item.
S204、若判断结果为否,则终端将该第一兑换物设置为第三兑换物。S204. If the judgment result is no, the terminal sets the first exchange item as the third exchange item.
本发明实施例中,举例说明,若该预设时间段为24小时,预先设置的该第一兑换物对应的预设总次数为30,获取到的第一兑换物在预设时间段内被兑换的总次数为20,则说明该第一兑换物在24小时之内还能够被兑换,则将该第一兑换物作为第三兑换物。In the embodiment of the present invention, for example, if the preset time period is 24 hours, the preset total number of preset times corresponding to the first exchange item is 30, and the obtained first exchange item is processed within the preset time period. If the total number of exchanges is 20, it means that the first exchange item can still be exchanged within 24 hours, and the first exchange item is regarded as the third exchange item.
S205、终端向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换第三兑换物或第二兑换物的提示信息。S205. The terminal pushes prompt information for prompting the user to redeem the third exchange item or the second exchange item to the pre-stored terminal or associated account bound to the target account.
本发明实施例中,终端可以进一步筛选出用户能够兑换的兑换物,为用户提供更加精确的兑换提示信息。In the embodiment of the present invention, the terminal can further filter out the exchange items that the user can exchange, and provide the user with more accurate exchange prompt information.
在图2所描述的方法中,通过获取目标账号所拥有的虚拟资源的数量,再根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物;再针对获取的每一第一兑换物,判断第一兑换物在预设时间段内被兑换的总次数是否超过与该第一兑换物对应的预设总次数;若判断结果为是,则将该第一兑换物设置为第三兑换物;最后向预先储存的与目标账号相绑定的终端或关联账号推送用于提示用户兑换第三兑换物或第二兑换物的提示信息。可见,本发明实施例有利于提升用户对兑换物进行兑换的兑换成功率。In the method described in FIG. 2, by obtaining the number of virtual resources owned by the target account, and then according to the number of virtual resources owned by the target account, the first exchange item or the second exchange item is obtained from the preset exchange item library ; Then, for each first exchange item obtained, it is judged whether the total number of times the first exchange item has been exchanged within a preset time period exceeds the preset total number of times corresponding to the first exchange item; if the judgment result is yes, then The first exchange item is set as the third exchange item; finally, a prompt message for prompting the user to exchange the third exchange item or the second exchange item is pushed to the pre-stored terminal or associated account bound to the target account. It can be seen that the embodiment of the present invention is beneficial to improve the exchange success rate of the user's exchange of the exchange items.
请参见图3,图3为本发明实施例公开的另一种信息提示方法的流程示意图。如图3所示,该信息提示方法可以包括以下步骤。Please refer to FIG. 3 . FIG. 3 is a schematic flowchart of another information prompting method disclosed in an embodiment of the present invention. As shown in Fig. 3, the information prompting method may include the following steps.
S301、终端获取目标账号所拥有的虚拟资源的数量。S301. The terminal obtains the quantity of virtual resources owned by the target account.
S302、终端根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物。S302. The terminal acquires the first exchange item or the second exchange item from a preset exchange item library according to the amount of virtual resources owned by the target account.
S303、终端针对获取的每一第二兑换物,判断第二兑换物在预设时间段内被兑换的总次数是否超过与该第二兑换物对应的预设总次数。S303. For each acquired second exchange item, the terminal determines whether the total number of times the second exchange item has been exchanged within a preset time period exceeds the preset total number of times corresponding to the second exchange item.
本发明实施例中,可以预先设置预设兑换物库中每一兑换物在预设时间段内对应的预设总次数,与兑换物对应预设总次数为该兑换物在预设时间段内能够被用户兑换的总次数。该预设时间段可以是1小时、5小时或24小时等等,本发明实施例不做限定。In the embodiment of the present invention, the preset total number of times corresponding to each exchange item in the preset exchange item library within the preset time period can be preset, and the preset total number of times corresponding to the exchange item is the exchange item within the preset time period The total number of times that can be redeemed by the user. The preset time period may be 1 hour, 5 hours, or 24 hours, etc., which is not limited in this embodiment of the present invention.
本发明实施例中,在预设时间段内兑换物每被兑换一次,就将该预设时间段内兑换物被兑换的总次数加一,直到该预设时间段内兑换物被兑换的总次数等于预设总次数。In the embodiment of the present invention, every time the exchange item is exchanged within the preset time period, the total number of times the exchange item is exchanged within the preset time period is increased by one, until the total number of times the exchange item is exchanged within the preset time period The number of times is equal to the preset total number of times.
本发明实施例中,当终端获取到第二兑换物之后,将针对获取到的每一第二兑换物,首先获取第二兑换物在预设时间段内被兑换的总次数,然后获取第二兑换物的预设总次数,并判断二兑换物在预设时间段内被兑换的总次数是否超过与第二兑换物对应的预设总次数,若判断二兑换物在预设时间段内被兑换的总次数未超过与第二兑换物对应的预设总次数,则将第二兑换物设置为第四兑换物。In the embodiment of the present invention, after the terminal obtains the second exchange item, for each acquired second exchange item, it first obtains the total number of times the second exchange item has been exchanged within a preset time period, and then obtains the second The preset total number of exchange items, and determine whether the total number of times the second exchange item has been exchanged within the preset time period exceeds the preset total number of times corresponding to the second exchange item. If it is determined that the second exchange item has been exchanged within the preset time period If the total number of exchanges does not exceed the preset total number of times corresponding to the second exchange item, then the second exchange item is set as the fourth exchange item.
S304、若判断结果为是,则终端将该第二兑换物设置为第四兑换物。S304. If the judgment result is yes, the terminal sets the second exchange item as the fourth exchange item.
本发明实施例中,举例说明,若该预设时间段为24小时,预先设置的该第二兑换物对应的预设总次数为30,获取到的第二兑换物在预设时间段内被兑换的总次数为20,则说明该第二兑换物在24小时之内还能够被兑换,则将该第二兑换物作为第四兑换物。In the embodiment of the present invention, for example, if the preset time period is 24 hours, the preset total number of preset times corresponding to the second exchange item is 30, and the acquired second exchange item is processed within the preset time period. If the total number of exchanges is 20, it means that the second exchange item can still be exchanged within 24 hours, and the second exchange item is regarded as the fourth exchange item.
S305、终端向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换第一兑换物或第四兑换物的提示信息。S305. The terminal pushes prompt information for prompting the user to redeem the first exchange item or the fourth exchange item to the pre-stored terminal or associated account bound to the target account.
本发明实施例中,终端可以进一步筛选出用户能够兑换的兑换物,为用户提供更加精确的兑换提示信息。In the embodiment of the present invention, the terminal can further filter out the exchange items that the user can exchange, and provide the user with more accurate exchange prompt information.
在图3所描述的方法中,通过获取目标账号所拥有的虚拟资源的数量,再根据所述目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物;再针对获取的每一第二兑换物,判断第二兑换物在预设时间段内被兑换的总次数是否超过与该第二兑换物对应的预设总次数;若判断结果为是,则将该第二兑换物设置为第四兑换物;最后向预先储存的与目标账号相绑定的终端或关联账号推送用于提示用户兑换第一兑换物或第四兑换物的提示信息。可见,本发明实施例有利于提升用户对兑换物进行兑换的兑换成功率。In the method described in FIG. 3, by obtaining the number of virtual resources owned by the target account, and then according to the number of virtual resources owned by the target account, the first exchange item or the second exchange item is obtained from the preset exchange item library. exchange item; then, for each acquired second exchange item, determine whether the total number of times the second exchange item has been exchanged within a preset time period exceeds the preset total number of times corresponding to the second exchange item; if the judgment result is yes , then set the second exchange item as the fourth exchange item; finally push the prompt information for prompting the user to exchange the first exchange item or the fourth exchange item to the pre-stored terminal or associated account bound to the target account. It can be seen that the embodiment of the present invention is beneficial to improve the exchange success rate of the user's exchange of the exchange item.
请参见图4,图4为本发明实施例公开的另一种信息提示方法的流程示意图。如图4所示,该信息提示方法可以包括以下步骤。Please refer to FIG. 4 , which is a schematic flowchart of another information prompting method disclosed in an embodiment of the present invention. As shown in Fig. 4, the information prompting method may include the following steps.
S401、终端获取目标账号所拥有的虚拟资源的数量。S401. The terminal acquires the quantity of virtual resources owned by the target account.
S402、终端根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物。S402. The terminal acquires the first exchange item or the second exchange item from a preset exchange item library according to the amount of virtual resources owned by the target account.
S403、终端向预先储存的与目标账号相绑定的终端或关联账号推送用于提示用户兑换第一兑换物或第二兑换物的提示信息。S403. The terminal pushes prompt information for prompting the user to exchange the first exchange item or the second exchange item to the pre-stored terminal or associated account bound to the target account.
S404、终端选取推荐应用中的任意一个推荐应用作为目标推荐应用。S404. The terminal selects any one of the recommended applications as a target recommended application.
本发明实施例中,在推送的提示信息中可包括一个或多个推荐应用,每个推荐应用可预先设置与推荐应用对应的虚拟资源,用户下载推荐应用即可获得该推荐应用对应的虚拟资源。可选的,可以设置每一第一兑换物或每一第二兑换物分别与至少一个推荐应用对应。其中每个第一兑换物或第二兑换物对应的推荐应用可以相同也可以不同,本发明实施例不做限定。In the embodiment of the present invention, one or more recommended applications may be included in the pushed prompt information, each recommended application may preset a virtual resource corresponding to the recommended application, and the user may download the recommended application to obtain the virtual resource corresponding to the recommended application . Optionally, each first exchange item or each second exchange item may be set to correspond to at least one recommended application. The recommended applications corresponding to each first exchange item or second exchange item may be the same or different, which is not limited in this embodiment of the present invention.
S405、终端接收客户端发送的针对目标推荐应用的下载请求,该下载请求携带有目标账号。S405. The terminal receives a download request for the target recommended application sent by the client, where the download request carries the target account.
本发明实施例中,客户端可以是软件商店客户端或具有兑换物兑换功能的应用客户端,本发明实施例不做限定。In this embodiment of the present invention, the client may be a software store client or an application client with a function of redeeming items, which is not limited in this embodiment of the present invention.
S406、终端响应下载请求,向客户端发送目标推荐应用的应用程序。S406. The terminal responds to the download request, and sends the application program of the target recommended application to the client terminal.
S407、终端将预先设置的与目标推荐应用对应的虚拟资源添加至目标账号中。S407. The terminal adds a preset virtual resource corresponding to the target recommended application to the target account.
本发明实施例中,当检测到目标推荐应用下载完成时,终端将把预先设置的与目标推荐应用对应的虚拟资源添加至目标账号中。可选的,终端也可预先制定预设规则,当用户下载该目标推荐应用之后,终端执行该预设规则,用户即有机会获取与目标推荐应用对应的兑换物。In the embodiment of the present invention, when it is detected that the download of the target recommended application is completed, the terminal will add the preset virtual resources corresponding to the target recommended application to the target account. Optionally, the terminal may also formulate a preset rule in advance. After the user downloads the target recommended application, the terminal executes the preset rule, and the user has the opportunity to obtain the exchange item corresponding to the target recommended application.
在图4所描述的方法中,通过获取目标账号所拥有的虚拟资源的数量,再根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物,其中,第一兑换物被兑换时所需的虚拟资源的数量小于或等于目标账号所拥有的虚拟资源的数量,第二兑换物被兑换时所需的虚拟资源的数量与目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值;最后向预先储存的与目标账号相绑定的终端或关联账号推送用于提示用户兑换第一兑换物或第二兑换物的提示信息。可见,本发明实施例有利于提升用户对兑换物进行兑换的兑换成功率。In the method described in FIG. 4, by obtaining the number of virtual resources owned by the target account, and then according to the number of virtual resources owned by the target account, the first exchange item or the second exchange item is obtained from the preset exchange item library , wherein the number of virtual resources required when the first exchange item is exchanged is less than or equal to the number of virtual resources owned by the target account, and the number of virtual resources required when the second exchange item is exchanged is equal to the number of virtual resources owned by the target account The absolute value of the difference in the number of virtual resources is less than a preset value; finally, a prompt message for prompting the user to exchange the first exchange item or the second exchange item is pushed to the pre-stored terminal or associated account bound to the target account. It can be seen that the embodiment of the present invention is beneficial to improve the exchange success rate of the user's exchange of the exchange items.
请参见图5,图5为本发明实施例公开的另一种信息提示方法的流程示意图。如图5所示,该信息提示方法可以包括以下步骤。Please refer to FIG. 5 , which is a schematic flowchart of another information prompting method disclosed in an embodiment of the present invention. As shown in Fig. 5, the information prompting method may include the following steps.
S501、终端获取目标账号所拥有的虚拟资源的数量。S501. The terminal acquires the quantity of virtual resources owned by the target account.
S502、终端根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物。S502. The terminal acquires the first exchange item or the second exchange item from a preset exchange item library according to the amount of virtual resources owned by the target account.
S503、终端向预先储存的与目标账号相绑定的终端或关联账号推送用于提示用户兑换第一兑换物或第二兑换物的提示信息。S503. The terminal pushes prompt information for prompting the user to redeem the first exchange item or the second exchange item to the pre-stored terminal or associated account bound to the target account.
S504、终端选取第一兑换物中的任意一个第一兑换物作为目标兑换物。S504. The terminal selects any one of the first exchange items as the target exchange item.
S505、终端接收客户端发送的针对目标兑换物的兑换请求,该兑换请求携带有用户在待校验信息输入口输入的待校验信息和目标账号。S505. The terminal receives the exchange request for the target exchange item sent by the client, and the exchange request carries the information to be verified and the target account number input by the user at the information input port to be verified.
本发明实施例中,待校验信息输入口为客户端响应接收到的由用户输入的针对目标兑换物的兑换指令之后输出的。其中,待校验信息可以包括待校验密码、待校验指纹信息、待校验脸形信息、待校验虹膜信息、待校验视网膜信息以及待校验声纹信息中的任意一种和几种的组合。In the embodiment of the present invention, the input port of the information to be verified is output after the client responds to the received exchange instruction for the target exchange item input by the user. Among them, the information to be verified can include any one or several of passwords to be verified, fingerprint information to be verified, face shape information to be verified, iris information to be verified, retina information to be verified, and voiceprint information to be verified. combination of species.
S506、终端校验待校验信息与预设的校验信息是否一致,如果一致,从目标账号中扣除预先设置的对目标兑换物进行兑换时所需的虚拟资源。S506. The terminal verifies whether the information to be verified is consistent with the preset verification information, and if they are consistent, deducts the preset virtual resources required for exchanging the target exchange item from the target account.
本发明实施例中,当使用目标账号对兑换物进行兑换之前,可以设置与目标账号对应的预设的校验信息,其中,该预设的校验信息可以包括校验密码、校验指纹信息、校验脸形信息、校验虹膜信息、校验视网膜信息以及校验声纹信息中的任意一种和几种的组合。当终端校验与目标账号对应的校验信息与待校验信息一致时,终端从目标账号中扣除预先设置的对目标兑换物进行兑换时所需的虚拟资源。In the embodiment of the present invention, before using the target account to exchange the exchange item, preset verification information corresponding to the target account can be set, wherein the preset verification information can include verification password, verification fingerprint information , verifying face shape information, verifying iris information, verifying retinal information and verifying voiceprint information, any one or a combination of several. When the terminal verifies that the verification information corresponding to the target account is consistent with the information to be verified, the terminal deducts the preset virtual resources required for exchanging the target exchange item from the target account.
本发明实施例中,当用户在待校验信息输入口输入的待校验信息与预设的校验信息一致时,终端才执行兑换操作,有效的防止了他人的非法操作。In the embodiment of the present invention, when the information to be verified input by the user at the input port of the information to be verified is consistent with the preset verification information, the terminal performs the exchange operation, effectively preventing illegal operations by others.
在图5所描述的方法中,通过获取目标账号所拥有的虚拟资源的数量,再根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物,其中,第一兑换物被兑换时所需的虚拟资源的数量小于或等于目标账号所拥有的虚拟资源的数量,第二兑换物被兑换时所需的虚拟资源的数量与目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值;最后向预先储存的与目标账号相绑定的终端或关联账号推送用于提示用户兑换第一兑换物或第二兑换物的提示信息。可见,本发明实施例有利于提升用户对兑换物进行兑换的兑换成功率。In the method described in FIG. 5, by obtaining the number of virtual resources owned by the target account, and then according to the number of virtual resources owned by the target account, the first exchange item or the second exchange item is obtained from the preset exchange item library , wherein the number of virtual resources required when the first exchange item is exchanged is less than or equal to the number of virtual resources owned by the target account, and the number of virtual resources required when the second exchange item is exchanged is equal to the number of virtual resources owned by the target account The absolute value of the difference in the number of virtual resources is less than a preset value; finally, a prompt message for prompting the user to exchange the first exchange item or the second exchange item is pushed to the pre-stored terminal or associated account bound to the target account. It can be seen that the embodiment of the present invention is beneficial to improve the exchange success rate of the user's exchange of the exchange item.
请参阅图6,图6是本发明实施例公开的一种终端的结构示意图。其中,图6所示的终端可以包括第一获取模块601、第二获取模块602、推送模块603。Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a terminal disclosed in an embodiment of the present invention. Wherein, the terminal shown in FIG. 6 may include a first acquiring module 601 , a second acquiring module 602 , and a pushing module 603 .
第一获取模块601,用于获取目标账号所拥有的虚拟资源的数量。The first obtaining module 601 is configured to obtain the quantity of virtual resources owned by the target account.
本发明实施例中,第一获取模块601将获取目标账号所拥有的虚拟资源的数量。其中,目标账号可以是软件商店注册账号、即时通信应用注册账号、微博注册账号等等注册账号,本发明实施例不做限定。In the embodiment of the present invention, the first obtaining module 601 will obtain the quantity of virtual resources owned by the target account. Wherein, the target account may be a registered account of a software store, a registered account of an instant messaging application, a registered account of Weibo, etc., which is not limited in this embodiment of the present invention.
本发明实施例中,该目标账号可拥有虚拟资源,可选的,该虚拟资源可以是积分或经验值等等。可选的,可以通过登录该目标账号或在登录该目标账号的情况下进行签到来增加该目标账号对应的虚拟资源。In the embodiment of the present invention, the target account may have virtual resources, and optionally, the virtual resources may be credits or experience points and the like. Optionally, the virtual resource corresponding to the target account can be increased by logging in the target account or signing in while logging in the target account.
作为一种可选的实施方式,第一获取模块601可以在一个预设时间点获取目标账号所拥有的虚拟资源的数量,可选的,预设时间点可以是用户设定的或系统设定的;可选的,第一获取模块601可以以一个预设时间周期来获取目标账号所拥有的虚拟资源的数量。As an optional implementation, the first acquisition module 601 can acquire the number of virtual resources owned by the target account at a preset time point. Optionally, the preset time point can be set by the user or the system Optionally, the first obtaining module 601 may obtain the number of virtual resources owned by the target account within a preset time period.
第二获取模块602,用于根据所述目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物,其中,所述第一兑换物被兑换时所需的虚拟资源的数量小于或等于所述目标账号所拥有的虚拟资源的数量,所述第二兑换物被兑换时所需的虚拟资源的数量与所述目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值。The second acquiring module 602 is configured to acquire the first exchange item or the second exchange item from the preset exchange item library according to the amount of virtual resources owned by the target account, wherein when the first exchange item is exchanged The number of virtual resources required is less than or equal to the number of virtual resources owned by the target account, and the number of virtual resources required when the second exchange item is exchanged is the same as the number of virtual resources owned by the target account The absolute value of the difference is smaller than the preset value.
本发明实施例中,可以预先设置预设兑换物库,该预设兑换物库中可以包括多个兑换物,其中预设兑换物库中包括的兑换物可以是虚拟物品或实物,本发明不做限定。其中,可以预先设置对预设兑换物库中的兑换物进行兑换时所需的虚拟资源的数量,即预先设置兑换物库中的兑换物被兑换时所需的虚拟资源的数量,每一兑换物对应的被兑换时所需的虚拟资源的数量可以不同。In the embodiment of the present invention, a preset exchange library can be set in advance, and the preset exchange library can include multiple exchange items, wherein the exchange items included in the preset exchange library can be virtual items or real objects, and the present invention does not Do limited. Among them, the number of virtual resources required for exchanging the exchange items in the preset exchange item library can be preset, that is, the number of virtual resources required for exchanging the exchange items in the exchange item library can be preset, and each exchange The amount of virtual resources required when being exchanged for the corresponding object can be different.
本发明实施例中,在第一获取模块601获取到目标账号所拥有的虚拟资源的数量之后,第二获取模块602将针对预设兑换物库中的每一个兑换物,首先获取预先设置的对兑换物进行兑换时所需的虚拟资源的数量,再判断对兑换物进行兑换时所需的虚拟资源的数量是否小于或等于目标账号所拥有的虚拟资源的数量,即判断目标账号是否能够兑换该兑换物,若对兑换物进行兑换时所需的虚拟资源的数量小于或等于目标账号所拥有的虚拟资源的数量,则将该兑换物作为第一兑换物;或者,在第一获取模块601获取到目标账号所拥有的虚拟资源的数量之后,第二获取模块602将针对预设兑换物库中的每一个兑换物,首先获取预先设置的对该兑换物进行兑换时所需的虚拟资源的数量,再判断对兑换物进行兑换时所需的虚拟资源的数量与目标账号所拥有的虚拟资源的数量之差的绝对值是否小于预设数值,若对兑换物进行兑换时所需的虚拟资源的数量与目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值,则将该兑换物作为第二兑换物。可选的,该第二兑换物可以为用户所拥有的虚拟资源的数量只差一点就可兑换的兑换物。可选的,该预设数值可以是一个较小的正数值,例如:1、2、3、4等等。该预设数值也可是一个经验值,本发明实施例不做限定。In the embodiment of the present invention, after the first acquisition module 601 acquires the number of virtual resources owned by the target account, the second acquisition module 602 will first acquire the preset pair The number of virtual resources required for the exchange of exchange items, and then judge whether the number of virtual resources required for exchange of exchange items is less than or equal to the number of virtual resources owned by the target account, that is, to determine whether the target account can exchange the Exchange item, if the amount of virtual resources required for exchange is less than or equal to the number of virtual resources owned by the target account, the exchange item is used as the first exchange item; or, obtained in the first acquisition module 601 After the number of virtual resources owned by the target account is obtained, the second acquisition module 602 will, for each exchange item in the preset exchange item library, first obtain the preset number of virtual resources required for exchanging the exchange item , and then judge whether the absolute value of the difference between the number of virtual resources required for exchanging the exchange item and the number of virtual resources owned by the target account is less than the preset value, if the virtual resource required for exchanging the exchange item If the absolute value of the difference between the amount and the amount of virtual resources owned by the target account is less than a preset value, then the exchange item is used as the second exchange item. Optionally, the second exchange item may be an exchange item that can be exchanged only slightly less than the amount of virtual resources owned by the user. Optionally, the preset value may be a smaller positive value, for example: 1, 2, 3, 4 and so on. The preset value may also be an empirical value, which is not limited in this embodiment of the present invention.
推送模块603,用于向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第一兑换物或所述第二兑换物的提示信息。The push module 603 is configured to push prompt information for prompting the user to redeem the first exchange item or the second exchange item to a pre-stored terminal or an associated account bound to the target account.
本发明实施例中,推送模块603将向预先储存的与目标账号相绑定的终端推送用于提示用户兑换第一兑换物或第二兑换物的提示信息;或推送模块603将向预先储存的与目标账号相绑定关联账号推送用于提示用户兑换第一兑换物或第二兑换物的提示信息,可选的,该提示信息还可包括第一兑换物或第二兑换物的被兑换的总次数,剩余可被兑换的次数。In the embodiment of the present invention, the push module 603 will push prompt information for prompting the user to redeem the first exchange item or the second exchange item to the pre-stored terminal bound with the target account; or the push module 603 will send the pre-stored The associated account bound to the target account pushes prompt information for prompting the user to redeem the first exchange item or the second exchange item. Optionally, the prompt information may also include the exchanged value of the first exchange item or the second exchange item. The total number of times, the remaining number of times that can be exchanged.
本发明实施例中,可以预先将一个或多个终端与目标账号绑定,与目标账号绑定的终端可用于接收用于提示用户兑换第一兑换物或第二兑换物的提示信息。可选的,将一个终端与目标账号绑定可以是将该终端的标识信息与目标账号绑定,例如终端的标识信息可以为MDN号码或包括了MDN号码的信息;或者将一个终端与目标账号绑定可以是将该终端的SIM卡号与目标账号相绑定,本发明实施例不做限定。In the embodiment of the present invention, one or more terminals may be bound to the target account in advance, and the terminals bound to the target account may be used to receive prompt information for prompting the user to redeem the first exchange item or the second exchange item. Optionally, binding a terminal to a target account may be to bind the identification information of the terminal to the target account, for example, the identification information of the terminal may be an MDN number or information including an MDN number; or bind a terminal to the target account The binding may be to bind the SIM card number of the terminal with the target account, which is not limited in this embodiment of the present invention.
本发明实施例中,可以预先将一个或多个关联账号与目标账号绑定,与目标账号绑定的关联账号可用于接收用于提示用户兑换第一兑换物或第二兑换物的提示信息。该关联账号可以是即时通讯注册账号、微博注册账号等等注册账号,本发明实施例不做限定。In the embodiment of the present invention, one or more associated accounts may be bound to the target account in advance, and the associated accounts bound to the target account may be used to receive prompt information for prompting the user to redeem the first exchange item or the second exchange item. The associated account may be an instant messaging registered account, a microblog registered account, and other registered accounts, which are not limited in this embodiment of the present invention.
在实际应用中,若用户忘记去兑换的兑换物,将可能导致用户错过心仪的兑换物,本发明实施例通过向用户发送用于提示用户对第一兑换物或第二兑换物进行兑换的提示信息,将有可能避免用户错过心仪的兑换物,提高了用户对兑换物进行兑换的兑换成功率,提升了用户的体验,使功能更人性化。In practical applications, if the user forgets to redeem the exchange item, it may cause the user to miss the desired exchange item. In the embodiment of the present invention, a prompt for prompting the user to exchange the first exchange item or the second exchange item is sent to the user. information, it will be possible to prevent users from missing their favorite exchange items, improve the exchange success rate of users' exchange items, improve user experience, and make functions more humanized.
请一并参阅图7,图7是本发明实施例公开的另一种终端的结构示意图。其中,图7所示的终端是由图6所示的终端进行优化得到的。与图6所示的终端相比较,图7所示的终端除包括图6所示的模块外,还可以包括第一判断模块604和第一设置模块605。Please refer to FIG. 7 together. FIG. 7 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention. Wherein, the terminal shown in FIG. 7 is obtained by optimizing the terminal shown in FIG. 6 . Compared with the terminal shown in FIG. 6 , the terminal shown in FIG. 7 may further include a first judging module 604 and a first setting module 605 in addition to the modules shown in FIG. 6 .
第一判断模块604,用于针对获取的每一第一兑换物,判断所述第一兑换物在预设时间段内被兑换的总次数是否超过与所述第一兑换物对应的预设总次数。The first judging module 604 is configured to, for each acquired first exchange item, determine whether the total number of times the first exchange item has been exchanged within a preset time period exceeds the preset total number of times corresponding to the first exchange item. frequency.
本发明实施例中,可以预先设置预设兑换物库中每一兑换物在预设时间段内对应的预设总次数,与兑换物对应预设总次数为该兑换物在预设时间段内能够被用户兑换的总次数。该预设时间段可以是1小时、5小时或24小时等等,本发明实施例不做限定。In the embodiment of the present invention, the preset total number of times corresponding to each exchange item in the preset exchange item library within the preset time period can be preset, and the preset total number of times corresponding to the exchange item is the exchange item within the preset time period The total number of times that can be redeemed by the user. The preset time period may be 1 hour, 5 hours, or 24 hours, etc., which is not limited in this embodiment of the present invention.
本发明实施例中,在预设时间段内兑换物每被兑换一次,就将该预设时间段内兑换物被兑换的总次数加一,直到该预设时间段内兑换物被兑换的总次数等于预设总次数。In the embodiment of the present invention, every time the exchange item is exchanged within the preset time period, the total number of times the exchange item is exchanged within the preset time period is increased by one, until the total number of times the exchange item is exchanged within the preset time period The number of times is equal to the preset total number of times.
本发明实施例中,当第二获取模块602获取到第一兑换物之后,第一判断模块604将针对获取到的每一第一兑换物,首先获取第一兑换物在预设时间段内被兑换的总次数,然后获取第一兑换物的预设总次数,并判断第一兑换物在预设时间段内被兑换的总次数是否超过与第一兑换物对应的预设总次数,若判断第一兑换物在预设时间段内被兑换的总次数未超过与第一兑换物对应的预设总次数,则将第一兑换物设置为第三兑换物。In the embodiment of the present invention, after the second acquiring module 602 acquires the first exchange item, the first judging module 604 will, for each acquired first exchange item, first acquire the The total number of times of exchange, and then obtain the preset total number of times of the first exchange item, and determine whether the total number of times the first exchange item has been exchanged within the preset time period exceeds the preset total number of times corresponding to the first exchange item, if judged If the total number of times the first exchange item is exchanged within the preset time period does not exceed the preset total number of times corresponding to the first exchange item, then the first exchange item is set as the third exchange item.
第一设置模块605,用于若判断结果为否,则将所述第一兑换物设置为第三兑换物。The first setting module 605 is configured to set the first exchange item as the third exchange item if the judgment result is no.
本发明实施例中,举例说明,若该预设时间段为24小时,预先设置的该第一兑换物对应的预设总次数为30,获取到的第一兑换物在预设时间段内被兑换的总次数为20,则说明该第一兑换物在24小时之内还能够被兑换,则第一设置模块605将该第一兑换物作为第三兑换物。In the embodiment of the present invention, for example, if the preset time period is 24 hours, the preset total number of preset times corresponding to the first exchange item is 30, and the obtained first exchange item is processed within the preset time period. If the total number of exchanges is 20, it means that the first exchange item can still be exchanged within 24 hours, and the first setting module 605 takes the first exchange item as the third exchange item.
推荐模块603具体用于:The recommendation module 603 is specifically used for:
向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第三兑换物或所述第二兑换物的提示信息。Pushing prompt information for prompting the user to redeem the third exchange item or the second exchange item to the pre-stored terminal or associated account bound to the target account.
实施本发明实施例可以进一步筛选出用户能够兑换的兑换物,为用户提供更加精确的兑换提示信息。Implementing the embodiment of the present invention can further screen out the exchange items that the user can exchange, and provide the user with more accurate exchange prompt information.
请一并参阅图8,图8是本发明实施例公开的另一种终端的结构示意图。其中,图8所示的终端是由图6所示的终端进行优化得到的。与图6所示的终端相比较,图8所示的终端除包括图6所示的模块外,还可以包括第二判断模块606和第二设置模块607。Please also refer to FIG. 8 . FIG. 8 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention. Wherein, the terminal shown in FIG. 8 is obtained by optimizing the terminal shown in FIG. 6 . Compared with the terminal shown in FIG. 6 , the terminal shown in FIG. 8 may further include a second judging module 606 and a second setting module 607 in addition to the modules shown in FIG. 6 .
第二判断模块606,用于针对获取的每一第二兑换物,判断所述第二兑换物在预设时间段内被兑换的总次数是否超过与所述第二兑换物对应的预设总次数。The second judging module 606 is configured to, for each acquired second exchange item, determine whether the total number of times the second exchange item has been exchanged within a preset time period exceeds the preset total number of times corresponding to the second exchange item. frequency.
本发明实施例中,可以预先设置预设兑换物库中每一兑换物在预设时间段内对应的预设总次数,与兑换物对应预设总次数为该兑换物在预设时间段内能够被用户兑换的总次数。该预设时间段可以是1小时、5小时或24小时等等,本发明实施例不做限定。In the embodiment of the present invention, the preset total number of times corresponding to each exchange item in the preset exchange item library within the preset time period can be preset, and the preset total number of times corresponding to the exchange item is the exchange item within the preset time period The total number of times that can be redeemed by the user. The preset time period may be 1 hour, 5 hours, or 24 hours, etc., which is not limited in this embodiment of the present invention.
本发明实施例中,在预设时间段内兑换物每被兑换一次,就将该预设时间段内兑换物被兑换的总次数加一,直到该预设时间段内兑换物被兑换的总次数等于预设总次数。In the embodiment of the present invention, every time the exchange item is exchanged within the preset time period, the total number of times the exchange item is exchanged within the preset time period is increased by one, until the total number of times the exchange item is exchanged within the preset time period The number of times is equal to the preset total number of times.
本发明实施例中,当第二获取模块602获取到第二兑换物之后,第二判断模块606将针对获取到的每一第二兑换物,首先获取第二兑换物在预设时间段内被兑换的总次数,然后获取第二兑换物的预设总次数,并判断二兑换物在预设时间段内被兑换的总次数是否超过与第二兑换物对应的预设总次数,若判断二兑换物在预设时间段内被兑换的总次数未超过与第二兑换物对应的预设总次数,则将第二兑换物设置为第四兑换物。In the embodiment of the present invention, after the second acquisition module 602 acquires the second exchange item, the second judging module 606 will, for each acquired second exchange item, first obtain The total number of times of exchange, and then obtain the preset total number of times of the second exchange item, and judge whether the total number of times the second exchange item has been exchanged within the preset time period exceeds the preset total number of times corresponding to the second exchange item. If the total number of times the exchange item is exchanged within the preset time period does not exceed the preset total number of times corresponding to the second exchange item, then the second exchange item is set as the fourth exchange item.
第二设置模块607,用于若判断结果为否,则将所述第二兑换物设置为第四兑换物。The second setting module 607 is configured to set the second exchange item as the fourth exchange item if the judgment result is no.
本发明实施例中,举例说明,若该预设时间段为24小时,预先设置的该第二兑换物对应的预设总次数为30,获取到的第二兑换物在预设时间段内被兑换的总次数为20,则说明该第二兑换物在24小时之内还能够被兑换,则将该第二兑换物作为第四兑换物。In the embodiment of the present invention, for example, if the preset time period is 24 hours, the preset total number of preset times corresponding to the second exchange item is 30, and the acquired second exchange item is processed within the preset time period. If the total number of exchanges is 20, it means that the second exchange item can still be exchanged within 24 hours, and the second exchange item is regarded as the fourth exchange item.
推荐模块603具体用于:The recommendation module 603 is specifically used for:
向预先储存的与所述目标账号相绑定的终端或关联账号推送用于提示用户兑换所述第一兑换物或所述第四兑换物的提示信息。Pushing prompt information for prompting the user to redeem the first exchange item or the fourth exchange item to a pre-stored terminal or an associated account bound to the target account.
实施本发明实施例可以进一步筛选出用户能够兑换的兑换物,为用户提供更加精确的兑换提示信息。Implementing the embodiment of the present invention can further screen out the exchange items that the user can exchange, and provide the user with more accurate exchange prompt information.
请一并参阅图9,图9是本发明实施例公开的另一种终端的结构示意图。其中,图9所示的终端是由图6所示的终端进行优化得到的。与图6所示的终端相比较,图9所示的终端除包括图6所示的模块外,还可以包括第一选取模块608、第一接收模块609、响应模块610和添加模块611。Please refer to FIG. 9 together. FIG. 9 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention. Wherein, the terminal shown in FIG. 9 is obtained by optimizing the terminal shown in FIG. 6 . Compared with the terminal shown in FIG. 6 , the terminal shown in FIG. 9 may include a first selecting module 608 , a first receiving module 609 , a responding module 610 and an adding module 611 in addition to the modules shown in FIG. 6 .
第一选取模块608,用于选取所述推荐应用中的任意一个推荐应用作为目标推荐应用。The first selecting module 608 is configured to select any one of the recommended applications as a target recommended application.
本发明实施例中,在推送的提示信息中可包括一个或多个推荐应用,每个推荐应用可预先设置与推荐应用对应的虚拟资源,用户下载推荐应用即可获得该推荐应用对应的虚拟资源。可选的,可以设置每一第一兑换物或每一第二兑换物分别与至少一个推荐应用对应。其中每个第一兑换物或第二兑换物对应的推荐应用可以相同也可以不同,本发明实施例不做限定。In the embodiment of the present invention, one or more recommended applications may be included in the pushed prompt information, each recommended application may preset a virtual resource corresponding to the recommended application, and the user may download the recommended application to obtain the virtual resource corresponding to the recommended application . Optionally, each first exchange item or each second exchange item may be set to correspond to at least one recommended application. The recommended applications corresponding to each first exchange item or second exchange item may be the same or different, which is not limited in this embodiment of the present invention.
第一接收模块609,用于接收客户端发送的针对所述目标推荐应用的下载请求,所述下载请求携带有所述目标账号。The first receiving module 609 is configured to receive a download request for the target recommended application sent by the client, where the download request carries the target account.
本发明实施例中,客户端可以是软件商店客户端或具有兑换物兑换功能的应用客户端,本发明实施例不做限定。In this embodiment of the present invention, the client may be a software store client or an application client with a function of redeeming items, which is not limited in this embodiment of the present invention.
响应模块610,用于响应所述下载请求,向所述客户端发送所述目标推荐应用的应用程序。The response module 610 is configured to send the application program of the target recommended application to the client in response to the download request.
添加模块611,用于将预先设置的与所述目标推荐应用对应的虚拟资源添加至所述目标账号中。The adding module 611 is configured to add a preset virtual resource corresponding to the target recommended application to the target account.
本发明实施例中,当检测到目标推荐应用下载完成时,添加模块611将把预先设置的与目标推荐应用对应的虚拟资源添加至目标账号中。可选的,也可预先制定预设规则,当用户下载该目标推荐应用之后,添加模块611执行该预设规则,用户即有机会获取与目标推荐应用对应的兑换物。In the embodiment of the present invention, when it is detected that the download of the target recommended application is completed, the adding module 611 will add the preset virtual resource corresponding to the target recommended application to the target account. Optionally, a preset rule can also be pre-established. After the user downloads the target recommended application, the adding module 611 executes the preset rule, and the user has the opportunity to obtain the exchange item corresponding to the target recommended application.
请一并参阅图10,图10是本发明实施例公开的另一种终端的结构示意图。其中,图10所示的终端是由图6所示的终端进行优化得到的。与图6所示的终端相比较,图10所示的终端除包括图6所示的模块外,还可以包括第二选取模块612、第二接收模块613和校验模块614。Please refer to FIG. 10 together. FIG. 10 is a schematic structural diagram of another terminal disclosed in an embodiment of the present invention. Wherein, the terminal shown in FIG. 10 is obtained by optimizing the terminal shown in FIG. 6 . Compared with the terminal shown in FIG. 6 , the terminal shown in FIG. 10 may include a second selecting module 612 , a second receiving module 613 and a checking module 614 in addition to the modules shown in FIG. 6 .
第二选取模块612,用于选取所述第一兑换物中的任意一个第一兑换物作为目标兑换物。The second selecting module 612 is configured to select any one of the first exchange items as the target exchange item.
第二接收模块613,用于接收客户端发送的针对所述目标兑换物的兑换请求,所述兑换请求携带有用户在待校验信息输入口输入的待校验信息和所述目标账号,所述待校验信息入口为所述客户端响应接收到的由用户输入的针对所述目标兑换物的兑换指令之后输出的。The second receiving module 613 is configured to receive an exchange request for the target exchange item sent by the client, the exchange request carries the information to be verified input by the user at the information input port to be verified and the target account number, so The entry of information to be verified is output after the client responds to the received exchange instruction for the target exchange item input by the user.
本发明实施例中,待校验信息输入口为客户端响应接收到的由用户输入的针对目标兑换物的兑换指令之后输出的。其中,待校验信息可以包括待校验密码、待校验指纹信息、待校验脸形信息、待校验虹膜信息、待校验视网膜信息以及待校验声纹信息中的任意一种和几种的组合。In the embodiment of the present invention, the input port of the information to be verified is output after the client responds to the received exchange instruction for the target exchange item input by the user. Among them, the information to be verified can include any one or several of passwords to be verified, fingerprint information to be verified, face shape information to be verified, iris information to be verified, retina information to be verified, and voiceprint information to be verified. combination of species.
校验模块614,用于校验所述待校验信息与预设的校验信息是否一致,如果一致,从所述目标账号中扣除预先设置的对所述目标兑换物进行兑换时所需的虚拟资源。The verification module 614 is used to verify whether the information to be verified is consistent with the preset verification information, and if they are consistent, deduct the preset amount required for exchanging the target exchange item from the target account. virtual resources.
本发明实施例中,当使用目标账号对兑换物进行兑换之前,可以设置与目标账号对应的预设的校验信息,其中,该预设的校验信息可以包括校验密码、校验指纹信息、校验脸形信息、校验虹膜信息、校验视网膜信息以及校验声纹信息中的任意一种和几种的组合。当校验模块614校验与目标账号对应的预设的校验信息与待校验信息一致时,校验模块614从目标账号中扣除预先设置的对所述目标兑换物进行兑换时所需的虚拟资源。In the embodiment of the present invention, before using the target account to exchange the exchange item, preset verification information corresponding to the target account can be set, wherein the preset verification information can include verification password, verification fingerprint information , verifying face shape information, verifying iris information, verifying retinal information and verifying voiceprint information, any one or a combination of several. When the verification module 614 verifies that the preset verification information corresponding to the target account is consistent with the information to be verified, the verification module 614 deducts from the target account the preset amount required for exchanging the target exchange item. virtual resources.
本发明实施例中,当用户在待校验信息输入口输入的待校验信息与预设的校验信息一致时,终端才执行兑换操作,有效的防止了他人的非法操作。In the embodiment of the present invention, when the information to be verified input by the user at the input port of the information to be verified is consistent with the preset verification information, the terminal performs the exchange operation, effectively preventing illegal operations by others.
在图6~10所描述的终端中,第一获取模块获取目标账号所拥有的虚拟资源的数量;第二获取模块根据目标账号所拥有的虚拟资源的数量,从预设兑换物库中获取第一兑换物或第二兑换物,其中,第一兑换物被兑换时所需的虚拟资源的数量小于或等于目标账号所拥有的虚拟资源的数量,第二兑换物被兑换时所需的虚拟资源的数量与目标账号所拥有的虚拟资源的数量之差的绝对值小于预设数值;推送模块向预先储存的与目标账号相绑定的终端或关联账号推送用于提示用户兑换第一兑换物或第二兑换物的提示信息。可见,本发明实施例有利于提升用户对兑换物进行兑换的兑换成功率。In the terminals described in Figures 6-10, the first acquisition module acquires the quantity of virtual resources owned by the target account; An exchange item or a second exchange item, wherein the amount of virtual resources required when the first exchange item is exchanged is less than or equal to the amount of virtual resources owned by the target account, and the amount of virtual resources required when the second exchange item is exchanged The absolute value of the difference between the number of virtual resources owned by the target account and the number of virtual resources owned by the target account is less than the preset value; the push module pushes the pre-stored terminal or associated account that is bound to the target account to prompt the user to exchange the first exchange item or The prompt information of the second exchange item. It can be seen that the embodiment of the present invention is beneficial to improve the exchange success rate of the user's exchange of the exchange item.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the methods of the embodiments of the present invention can be adjusted, combined and deleted according to actual needs.
本发明实施例终端或设备中的单元或子单元可以根据实际需要进行合并、划分和删减。The units or subunits in the terminal or device in the embodiment of the present invention can be combined, divided and deleted according to actual needs.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(RandomAccess Memory,RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can be Including: a flash disk, a read-only memory (Read-Only Memory, ROM), a random access device (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
以上对本发明实施例公开的一种信息提示方法及终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The information prompt method and terminal disclosed in the embodiments of the present invention are described above in detail. In this article, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only used to help understand the present invention. method and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. Invention Limitations.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510080678.XACN105989517B (en) | 2015-02-12 | 2015-02-12 | Information prompting method and terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510080678.XACN105989517B (en) | 2015-02-12 | 2015-02-12 | Information prompting method and terminal |
| Publication Number | Publication Date |
|---|---|
| CN105989517A CN105989517A (en) | 2016-10-05 |
| CN105989517Btrue CN105989517B (en) | 2018-03-02 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510080678.XAActiveCN105989517B (en) | 2015-02-12 | 2015-02-12 | Information prompting method and terminal |
| Country | Link |
|---|---|
| CN (1) | CN105989517B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106651399A (en)* | 2016-12-28 | 2017-05-10 | 携程旅游信息技术(上海)有限公司 | Internet enterprise user right variation and notification method based on network |
| CN107376355A (en)* | 2017-08-04 | 2017-11-24 | 天脉聚源(北京)科技有限公司 | A kind of function activation method and device |
| CN111080429B (en)* | 2018-10-18 | 2023-03-10 | 腾讯科技(深圳)有限公司 | Virtual resource acquisition method, device and storage medium |
| CN114071119B (en)* | 2020-07-31 | 2024-03-19 | 北京达佳互联信息技术有限公司 | Resource testing method and device, electronic equipment and storage medium |
| CN111861592B (en)* | 2020-09-24 | 2021-05-11 | 浙江口碑网络技术有限公司 | Method, device and equipment for processing activity information |
| CN113110777B (en)* | 2021-04-15 | 2022-07-12 | 网易(杭州)网络有限公司 | Data processing method and device and intelligent terminal |
| CN114926198A (en)* | 2022-05-05 | 2022-08-19 | 广东电力信息科技有限公司 | Point exchange method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040129314A1 (en)* | 2002-12-18 | 2004-07-08 | Masco Corporation Of Indiana | Valve component with multiple surface layers |
| CN1518714A (en)* | 2001-11-02 | 2004-08-04 | 索尼公司 | Point sales server and point sales method |
| CN101118637A (en)* | 2007-09-21 | 2008-02-06 | 陆航程 | Specific donate remote giving method and system thereof |
| CN101185093A (en)* | 2005-03-04 | 2008-05-21 | 软银移动公司 | Value information output method and mobile communication terminal |
| CN102859543A (en)* | 2010-03-08 | 2013-01-02 | 火棘移动公司 | System and method for determining appropriate redemption presentations for a virtual token associated with a stored value account |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1518714A (en)* | 2001-11-02 | 2004-08-04 | 索尼公司 | Point sales server and point sales method |
| US20040129314A1 (en)* | 2002-12-18 | 2004-07-08 | Masco Corporation Of Indiana | Valve component with multiple surface layers |
| CN101185093A (en)* | 2005-03-04 | 2008-05-21 | 软银移动公司 | Value information output method and mobile communication terminal |
| CN101118637A (en)* | 2007-09-21 | 2008-02-06 | 陆航程 | Specific donate remote giving method and system thereof |
| CN102859543A (en)* | 2010-03-08 | 2013-01-02 | 火棘移动公司 | System and method for determining appropriate redemption presentations for a virtual token associated with a stored value account |
| Publication number | Publication date |
|---|---|
| CN105989517A (en) | 2016-10-05 |
| Publication | Publication Date | Title |
|---|---|---|
| CN105989517B (en) | Information prompting method and terminal | |
| CN104835056B (en) | Information-pushing method and information transmission system | |
| US8549073B2 (en) | Cross social network data aggregation | |
| CN109698809B (en) | A method and device for identifying abnormal account login | |
| CN105337997B (en) | Login method of application client and related equipment | |
| CN105868970B (en) | authentication method and electronic equipment | |
| CN106850390B (en) | An information sharing method, server and terminal equipment | |
| CN113112266A (en) | Multi-card processing method and system based on 5G message and block chain | |
| CN106453205A (en) | Identity verification method and identity verification device | |
| US11943222B2 (en) | Systems and methods for multi-device multi-factor authentication | |
| CN106034126B (en) | The method of calibration and device of identifying code | |
| CN103984887A (en) | Method and device for controlling user permission | |
| CN102684882A (en) | Verifying method and verifying equipment | |
| CN105207985A (en) | Application program login method and mobile terminal | |
| CN110537359A (en) | The authentication of Behavior-based control | |
| WO2019128378A1 (en) | User tracking method, server, and client | |
| EP3211578A1 (en) | Verification method and apparatus | |
| CN104462934B (en) | A kind of information processing method and electronic equipment | |
| CN105989516B (en) | A kind of method for information display and terminal | |
| CN111178995B (en) | Method and system for processing bill based on cloud bill system | |
| CN111061984B (en) | Information pushing method, information associating method, information pushing equipment, information associating equipment and computer storage medium | |
| CN105049521A (en) | Information notification method and information notification system | |
| KR20180017084A (en) | Transaction processing method and system | |
| CN105208094B (en) | Message notification method and message notification system | |
| CN105100265A (en) | Method for using interactive software information and system for using interactive software information |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP01 | Change in the name or title of a patent holder | Address after:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. | |
| CP01 | Change in the name or title of a patent holder |