Resource exchange method, device and system

文档序号:9081 发布日期:2021-09-17 浏览:32次 中文

1. A resource exchange method is applied to a terminal, and the method comprises the following steps:

sending a resource page acquisition request, wherein the resource page acquisition request is sent by the terminal after detecting the selection operation of the description information menu option on the information interaction page;

acquiring motion data bound with a user account according to the resource page acquisition request, and displaying the motion data through the information interaction page, wherein the motion data is acquired from a server by the terminal;

after detecting the selection operation of a resource exchange option aiming at a target resource exchange object on the information interaction page, sending a resource exchange request for resource exchange of at least part of the sports data to a server, wherein the target resource exchange object comprises a public good item, and the resource exchange request comprises at least part of the sports data bound with the user account;

sending a resource aggregation request to the server by using the user account, wherein the resource aggregation request comprises a specified friend account and target motion data;

the resource exchange request is used for triggering the server to acquire historical exchange times, determining a resource value according to the historical exchange times, and transferring the resource with the resource value in a resource providing resource library to a resource library of a target resource exchange object so as to achieve the purpose of adopting the motion data to participate in resource transfer events;

the resource aggregation request is used for triggering the server to send a resource aggregation notification related to the target motion data and the user account to the friend account, and the resource aggregation notification is used for triggering the friend account to transfer aggregated motion data to a motion data resource pool corresponding to the resource aggregation request so as to complete motion data exchange together with the user account.

2. The method according to claim 1, wherein the acquiring of the motion data bound to the user account according to the resource page acquisition request includes:

acquiring the movement data which is accumulated by the user account and meets the exchange condition, wherein the exchange condition is the movement data which is accumulated by a terminal logged in by the user account and is allowed to be exchanged, or the movement data which is accumulated by the terminal logged in by the user account and is allowed to be exchanged within a preset time period, the allowed exchanged data is the movement data which is not exchanged by the user account, and the allowed exchanged data is the movement data which is not exchanged by the user account;

when the exercise data meeting the exchange conditions are larger than a preset threshold value, determining the exercise data meeting the exchange conditions as the exercise data bound with the user account; or determining the motion data with the value larger than the preset threshold value in the motion data meeting the exchange condition as the motion data bound with the user account.

3. The method of claim 2, further comprising:

when the exercise data meeting the exchange conditions is larger than a preset threshold value, setting the attribute of the resource exchange option to be allowed to be selected;

and when the exercise data meeting the redemption conditions is less than a preset threshold value, setting the attribute of the resource redemption option to be prohibited to be selected, or not displaying the resource redemption option.

4. The method according to claim 1, wherein the resource aggregation request further includes an identifier of a resource aggregation object, and the resource aggregation object is an object selected for resource aggregation in the resource exchange objects displayed by the terminal, or is a resource exchange object acquired by the terminal from the server.

5. The method of any of claims 1 to 4, wherein the resource redemption request further includes an identification of the target resource redemption object, the target resource redemption object being an object selected for resource redemption among the resource redemption objects displayed by the terminal,

or obtaining a resource exchange object from the server for the terminal based on the included resource quantity, the achievement rate or the exchange time, wherein the achievement rate refers to the ratio of the resources in the resource library of the resource exchange object to the planned raised resources of the resource exchange object.

6. The method of any of claims 1 to 4, wherein the resource value is positively correlated to the historical redemption times.

7. A resource exchange method is applied to a server, and comprises the following steps:

receiving a resource exchange request aiming at a target resource exchange object sent by a user account, wherein the target resource exchange object comprises a public welfare project, the resource exchange request comprises at least part of movement data bound with the user account, and the movement data is acquired from a server by the terminal;

acquiring historical exchange times, and determining a resource value according to the historical exchange times;

transferring the resource with the resource value in the resource providing resource library to a resource library of a target resource exchange object so as to achieve the purpose of adopting the motion data to participate in the resource transferring item;

receiving a resource aggregation request sent by using the user account, wherein the resource aggregation request comprises a specified friend account and target motion data;

sending a resource aggregation notification related to the target motion data and the user account to the friend account, wherein the resource aggregation notification is used for triggering the friend account to transfer aggregated motion data in a motion data resource pool corresponding to a resource aggregation request initiated by the user account;

and when receiving a motion data transfer request carrying aggregated motion data and the user account sent by using the friend account, transferring the motion data aggregated by the friend account to a motion data resource pool corresponding to a resource aggregation request initiated by the user account.

8. The method of claim 7, wherein the transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource redemption object comprises:

when the resource exchange request does not contain the identifier of the resource exchange object, determining a target resource exchange object from the resource exchange object, and transferring the resource with the resource value in the resource providing resource library into the resource library of the target resource exchange object;

when the resource exchange request contains the identifier of the resource exchange object, determining the object contained in the resource exchange request as a target resource exchange object, and transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

9. The method of claim 7, further comprising:

within a preset time length, if the motion data in the motion data resource pool corresponding to the resource aggregation request reaches the target motion data, acquiring a resource value corresponding to the motion data in the motion data resource pool according to a preset rule, and transferring the resource with the resource value in the resource providing resource pool to a resource pool of a resource aggregation object; pushing a resource aggregation success message related to the resource aggregation request to the user account receiving the resource aggregation request;

and within a preset time, if the motion data in the motion data resource pool corresponding to the resource aggregation request does not reach the target motion data, pushing a resource aggregation failure message related to the resource aggregation request to a user account receiving the resource aggregation request, and emptying the motion data in the motion data resource pool corresponding to the resource aggregation request.

10. The method of any of claims 7 to 9, wherein the value of the resource is positively correlated to the historical redemption times.

11. A resource exchange device is applied to a terminal, and the device comprises:

the terminal comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending a resource page obtaining request which is sent by the terminal after detecting the selection operation of the description information menu option on the information interaction page;

the acquisition module is used for acquiring the motion data bound with the user account according to the resource page acquisition request, and displaying the motion data through the information interaction page, wherein the motion data is acquired from the server by the terminal;

the second sending module is used for sending a resource exchange request for resource exchange of at least part of the sports data to a server after detecting that the selection operation of a resource exchange option aiming at a target resource exchange object on the information interaction page is performed, wherein the target resource exchange object comprises public welfare items, and the resource exchange request comprises at least part of the sports data bound with the user account;

a third sending module, configured to send a resource aggregation request to the server by using the user account, where the resource aggregation request includes a specified friend account and target motion data;

the resource exchange request is used for triggering the server to acquire historical exchange times, determining a resource value according to the historical exchange times, and transferring the resource with the resource value in a resource providing resource library to a resource library of a target resource exchange object so as to achieve the purpose of adopting the motion data to participate in resource transfer events;

the resource aggregation request is used for triggering the server to send a resource aggregation notification related to the target motion data and the user account to the friend account, and the resource aggregation notification is used for triggering the friend account to transfer aggregated motion data to a motion data resource pool corresponding to the resource aggregation request so as to complete motion data exchange together with the user account.

12. A resource exchange device is applied to a server, and the device comprises:

the resource exchange system comprises a first receiving module, a second receiving module and a processing module, wherein the first receiving module is used for receiving a resource exchange request which is sent by a user account and aims at a target resource exchange object, the target resource exchange object comprises public welfare items, the resource exchange request comprises at least part of motion data bound with the user account, and the motion data is acquired from a server by a terminal;

the acquisition module is used for triggering the server to acquire historical exchange times and determining a resource value according to the historical exchange times;

the first transfer module is used for transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object so as to achieve the purpose of adopting the motion data to participate in the resource transfer item;

the second receiving module is used for receiving a resource aggregation request sent by using the user account, wherein the resource aggregation request comprises a specified friend account and target motion data;

a sending module, configured to send a resource aggregation notification related to the target motion data and the user account to the friend account, where the resource aggregation notification is used to trigger a motion data resource pool corresponding to a resource aggregation request initiated by the friend account to the user account to transfer aggregated motion data;

and the second transfer module is used for transferring the motion data aggregated by the friend account to a motion data resource pool corresponding to a resource aggregation request initiated by the user account when receiving a motion data transfer request which is sent by using the friend account and carries the aggregated motion data and the user account.

13. A resource redemption system, the system comprising: at least one terminal and a server, wherein,

the terminal comprises the resource redemption device of claim 11;

the server comprising the resource redemption device of claim 12.

Background

At present, after a user pays attention to a resource transfer item displayed by a certain platform, the user can generally adopt a resource transfer mode to participate in the resource transfer item.

Since the way of the user participating in the resource transfer item is single, the single participation way is easy to make the user lose interest in the resource transfer item for a long time.

Disclosure of Invention

In order to solve the problem that a single participation mode in the related technology easily causes a user to lose interest in the resource transfer item, the embodiment of the invention provides a resource exchange method, a device and a system. The technical scheme is as follows:

in a first aspect, a resource exchange method is provided, which is applied to a terminal, and the method includes:

sending a resource page acquisition request, wherein the resource page acquisition request is sent by the terminal after detecting the selection operation of the description information menu option on the information interaction page;

acquiring motion data bound with a user account according to the resource page acquisition request, and displaying the motion data through the information interaction page;

and after detecting the selection operation of the resource exchange option aiming at the target resource exchange object on the information interaction page, sending a resource exchange request for resource exchange of at least part of the sports data, wherein the resource exchange request is used for triggering a server to acquire a resource value corresponding to the sports data according to a preset rule, and transferring the resource with the resource value in a resource providing resource library to the resource library of the target resource exchange object.

The technical solution provided by the first aspect of the embodiments of the present disclosure may include the following beneficial effects: at least part of the motion data bound with the user account is sent to a server, and the server exchanges resources for the motion data; the server can obtain the resource value corresponding to the sports data according to the preset rule and transfer the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object, so that the problem that a user loses interest in the resource transfer item due to a single participation mode in the related technology is solved, the purpose of taking the exchange sports data as a novel resource transfer item participation mode is achieved, and the resource transfer item participation mode of the user is enriched.

Optionally, the acquiring, according to the resource page acquisition request, the motion data bound to the user account includes:

acquiring the accumulated motion data which accords with the exchange condition and is accumulated by the user account, wherein the exchange condition is the motion data which is accumulated by the terminal logged by the user account and is allowed to be exchanged, or the motion data which is accumulated by the terminal logged by the user account within a preset time and is allowed to be exchanged;

when the exercise data meeting the exchange conditions are larger than a preset threshold value, determining the exercise data meeting the exchange conditions as the exercise data bound with the user account; or determining the motion data with the value larger than the preset threshold value in the motion data meeting the exchange condition as the motion data bound with the user account.

The optional technical solution provided by the first aspect of the embodiment of the present disclosure may include the following beneficial effects: through two ways of acquiring the exercise data exchanged by using the user account, the user can independently select the exchanged exercise data according to own will, and the user experience is improved.

Optionally, the method further includes:

when the exercise data meeting the exchange condition is smaller than the preset threshold value, setting the attribute of the resource exchange option to be prohibited to be selected;

when the sports data meeting the redemption conditions are larger than the preset threshold value, setting the attribute of the resource redemption option to be allowed to be selected, and after the resource redemption option is selected, the terminal executes the step of sending the resource redemption request for performing resource redemption on at least part of the sports data.

Optionally, the method further includes:

and sending a resource aggregation request to a server by using the user account, wherein the resource aggregation request comprises a specified friend account and target motion data, and the resource aggregation request is used for triggering the server to send a resource aggregation notification related to the target motion data and the user account to the friend account.

The optional technical solution provided by the first aspect of the embodiment of the present disclosure may include the following beneficial effects: by sending a resource aggregation request to the server by using the user account, inviting friends to participate in the exchange of the sports data together, promoting the resource transfer items, and simultaneously maintaining the emotional heat of the users to the resource transfer items.

Optionally, the resource aggregation request further includes an identifier of a resource aggregation object, where the resource aggregation object is an object selected for resource aggregation in the resource exchange objects displayed by the terminal, or is a resource exchange object acquired by the terminal from the server.

Optionally, the resource exchange request further includes an identifier of the target resource exchange object, where the target resource exchange object is an object selected for resource aggregation in the resource exchange objects displayed by the terminal, or is a resource exchange object acquired by the terminal from the server.

In a second aspect, a resource redemption method is provided, which is applied to a server, and the method includes:

receiving a resource exchange request sent by using a user account, wherein the resource exchange request comprises at least part of movement data bound with the user account;

acquiring a resource value corresponding to the motion data according to a preset rule;

and transferring the resource with the resource value in the resource providing resource library into the resource library of the target resource exchange object.

The technical solution provided by the second aspect of the embodiment of the present disclosure may include the following beneficial effects: acquiring a resource value corresponding to the motion data according to a preset rule, and transferring the resource with the resource value in a resource providing resource library into a resource library of a target resource exchange object; because the user can participate in the public welfare in the mode of exchanging the sports data, the problem that the user is easy to lose interest in the resource transfer item due to a single participation mode in the related technology is solved, the mode of exchanging the sports data as a novel resource transfer item is achieved, and the mode of the user participating in the resource transfer item is enriched.

Optionally, the obtaining a resource value corresponding to the motion data according to a predetermined rule includes:

acquiring an exchange rate, wherein the exchange rate refers to a rate of exchanging the sports data into a resource value; calculating a resource value corresponding to the sports data according to the exchange rate;

alternatively, the first and second electrodes may be,

and determining a resource value corresponding to the motion data according to the corresponding relation between the motion data range and the resource value.

Optionally, the obtaining the exchange rate includes:

acquiring a preset exchange rate of the server;

alternatively, the first and second electrodes may be,

acquiring an exchange rate preset by the server and corresponding to the resource exchange level of the user account;

alternatively, the first and second electrodes may be,

acquiring the exchange rate provided by the resource providing resource library;

alternatively, the first and second electrodes may be,

reading the corresponding relation between the resource exchange level provided by the resource providing resource library and the exchange rate, acquiring the exchange rate corresponding to the resource exchange level of the user account according to the corresponding relation,

wherein the resource exchange level is positively correlated with the sport data exchanged by the user account.

The optional technical solution provided by the second aspect of the embodiment of the present disclosure may include the following beneficial effects: different resources provide different exchange rates corresponding to the resource library, so that each resource provider can independently change or set the exchange rate, the resource exchange levels of different user accounts correspond to different exchange rates, the exchange rate corresponding to the resource exchange level is continuously improved along with the improvement of the resource exchange level, a user has power to participate in resource transfer items for a long time, and the emotional heat of the user on the resource transfer items can be effectively maintained.

Optionally, the transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object includes:

when the resource exchange request does not include the identifier of the resource exchange object, determining a target resource exchange object from the resource exchange object, and transferring the resource with the resource value in the resource providing resource library into the resource library of the target resource exchange object;

when the resource exchange request contains the identifier of the resource exchange object, determining the object contained in the resource exchange request as a target resource exchange object, and transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

Optionally, the method further includes:

receiving a resource aggregation request sent by using the user account, wherein the resource aggregation request comprises a specified friend account and target motion data;

sending a resource aggregation notification related to the target motion data and the user account to the friend account, wherein the resource aggregation notification is used for triggering the friend account to transfer aggregated motion data in a motion data resource pool corresponding to a resource aggregation request initiated by the user account;

and when receiving a motion data transfer request carrying aggregated motion data and the user account sent by using the friend account, transferring the motion data aggregated by the friend account to a motion data resource pool corresponding to a resource aggregation request initiated by the user account.

The optional technical solution provided by the first aspect of the embodiment of the present disclosure may include the following beneficial effects: when a friend account accepting a resource aggregation request sends a motion data transfer request to a server through a terminal, motion data converted by the friend account is transferred to a motion data resource pool corresponding to the resource aggregation request, so that the friend account and a user account can participate in conversion of the motion data together, the converted motion data is accumulated, the transferable resource value is increased, and the emotional heat of the user on resource transfer items can be better maintained.

Optionally, the determining a target resource exchange object from the resource exchange objects includes:

determining an object with the least resources in the resource library from the resource exchange objects, and determining the determined resource exchange object as a target resource exchange object;

alternatively, the first and second electrodes may be,

determining an object with earliest starting time or latest ending time from the resource exchange objects, and determining the determined resource exchange object as a target resource exchange object;

alternatively, the first and second electrodes may be,

randomly selecting one object from the resource exchange objects, and determining the selected resource exchange object as a target resource exchange object.

Optionally, the method further includes:

within a preset time length, if the motion data in the motion data resource pool corresponding to the resource aggregation request reaches the target motion data, acquiring a resource value corresponding to the motion data in the motion data resource pool according to a preset rule, and transferring the resource with the resource value in the resource providing resource pool to a resource pool of a resource aggregation object; pushing a resource aggregation success message related to the resource aggregation request to the user account receiving the resource aggregation request;

and within a preset time, if the motion data in the motion data resource pool corresponding to the resource aggregation request does not reach the target motion data, pushing a resource aggregation failure message related to the resource aggregation request to a user account receiving the resource aggregation request, and emptying the motion data in the motion data resource pool corresponding to the resource aggregation request.

The optional technical solution provided by the first aspect of the embodiment of the present disclosure may include the following beneficial effects: by limiting the effective duration of the resource aggregation request, the user receiving the resource aggregation request is effectively prompted to move in the duration, and the exercise enthusiasm of the user and the emotional enthusiasm of the user for resource transfer matters are increased.

Optionally, the method further includes:

and acquiring historical converted movement data of the user account, and improving the resource conversion level of the user account when the historical converted movement data reaches a preset conversion threshold value.

In a third aspect, a resource exchange apparatus is provided, which is applied to a terminal, and the apparatus includes:

the terminal comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is used for sending a resource page obtaining request which is sent by the terminal after detecting the selection operation of the description information menu option on the information interaction page;

the acquisition module is used for acquiring the motion data bound with the user account according to the resource page acquisition request and displaying the motion data through the information interaction page;

and the second sending module is used for sending a resource exchange request for exchanging resources for at least part of the sports data after detecting the selection operation of the resource exchange option aiming at the target resource exchange object on the information interaction page, wherein the resource exchange request is used for triggering the server to obtain a resource value corresponding to the sports data according to a preset rule and transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

Optionally, the obtaining module includes:

the acquiring unit is used for acquiring the motion data which is accumulated by the user account and meets the exchange condition, wherein the exchange condition is the motion data which is accumulated by the terminal logged by the user account and allowed to be exchanged, or the motion data which is accumulated by the terminal logged by the user account within a preset time period and allowed to be exchanged;

the determining unit is used for determining the motion data meeting the exchange conditions as the motion data bound with the user account when the motion data meeting the exchange conditions is larger than a preset threshold; or determining the motion data with the value larger than the preset threshold value in the motion data meeting the exchange condition as the motion data bound with the user account.

Optionally, the apparatus further comprises:

the first setting module is used for setting the attribute of the resource exchange option to be prohibited to be selected when the sports data meeting the exchange condition is smaller than the preset threshold value;

and the second setting module is used for setting the attribute of the resource exchange option to be allowed to be selected when the sports data meeting the selection condition is larger than the preset threshold value, and after the resource exchange option is selected, sending a resource exchange request for exchanging resources for at least part of the sports data.

Optionally, the apparatus further comprises:

a third sending module, configured to send a resource aggregation request to a server by using the user account, where the resource aggregation request includes a specified friend account and target motion data, and the resource aggregation request is used to trigger the server to send a resource aggregation notification related to the target motion data and the user account to the friend account.

Optionally, the resource aggregation request further includes an identifier of a resource aggregation object, where the resource aggregation object is an object selected for resource aggregation in the resource exchange objects displayed by the terminal, or is a resource exchange object acquired by the terminal from the server.

Optionally, the resource exchange request further includes an identifier of the target resource exchange object, where the target resource exchange object is an object selected for resource aggregation in the resource exchange objects displayed by the terminal, or is a resource exchange object acquired by the terminal from the server.

In a fourth aspect, there is provided a resource exchange apparatus, applied to a server, the apparatus including:

the resource exchange system comprises a first receiving module, a second receiving module and a resource exchange module, wherein the first receiving module is used for receiving a resource exchange request sent by using a user account, and the resource exchange request comprises at least part of motion data bound with the user account;

the acquisition module is used for acquiring a resource value corresponding to the motion data according to a preset rule;

and the first transfer module is used for transferring the resource with the resource value in the resource providing resource library into the resource library of the target resource exchange object.

Optionally, the obtaining module includes:

the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is used for acquiring an exchange rate, and the exchange rate refers to the rate of exchanging sports data into a resource value; calculating a resource value corresponding to the sports data according to the exchange rate;

alternatively, the first and second electrodes may be,

and the determining unit is used for determining the resource value corresponding to the motion data according to the corresponding relation between the motion data range and the resource value.

Optionally, the obtaining unit includes:

the first acquisition subunit is used for acquiring the preset exchange rate of the server;

alternatively, the first and second electrodes may be,

the second acquisition subunit is used for acquiring the exchange rate preset by the server and corresponding to the resource exchange level of the user account;

alternatively, the first and second electrodes may be,

the third acquiring subunit is used for acquiring the exchange rate provided by the resource providing resource library;

alternatively, the first and second electrodes may be,

a fourth obtaining subunit, configured to read a corresponding relationship between the resource exchange level provided by the resource providing resource library and the exchange rate, obtain, according to the corresponding relationship, an exchange rate corresponding to the resource exchange level of the user account,

wherein the resource exchange level is positively correlated with the sport data exchanged by the user account.

Optionally, the first transfer module includes:

the first transfer unit is used for determining a target resource exchange object from the resource exchange objects when the resource exchange request does not contain the identifier of the resource exchange object, and transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object;

and the second transfer unit is used for determining the object contained in the resource exchange request as a target resource exchange object when the resource exchange request contains the identifier of the resource exchange object, and transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

Optionally, the apparatus further comprises:

the second receiving module is used for receiving a resource aggregation request sent by using the user account, wherein the resource aggregation request comprises a specified friend account and target motion data;

a sending module, configured to send a resource aggregation notification related to the target motion data and the user account to the friend account, where the resource aggregation notification is used to trigger a motion data resource pool corresponding to a resource aggregation request initiated by the friend account to the user account to transfer aggregated motion data;

and the second transfer module is used for transferring the motion data aggregated by the friend account to a motion data resource pool corresponding to a resource aggregation request initiated by the user account when receiving a motion data transfer request which is sent by using the friend account and carries the aggregated motion data and the user account.

Optionally, the first transfer unit includes:

the first determining subunit is used for determining an object with the least resources in the resource library from the resource exchange objects and determining the determined object as a target resource exchange object;

alternatively, the first and second electrodes may be,

the second determining subunit is used for determining an object with the earliest starting exchange time or the latest ending exchange time from the resource exchange objects, and determining the determined object as a target resource exchange object;

alternatively, the first and second electrodes may be,

and the third determining subunit is used for randomly selecting one object from the resource exchange objects and determining the selected object as the target resource exchange object.

Optionally, the apparatus further comprises:

the first pushing module is used for acquiring a resource value corresponding to the motion data in the motion data resource pool according to a preset rule if the motion data in the motion data resource pool corresponding to the resource aggregation request reaches the target motion data within a preset time length, and transferring the resource with the resource value in the resource providing resource pool to a resource pool of a resource aggregation object; pushing a resource aggregation success message related to the resource aggregation request to the user account receiving the resource aggregation request;

the second pushing module is used for pushing a resource aggregation failure message related to the resource aggregation request to a user account receiving the resource aggregation request when the motion data in the motion data resource pool corresponding to the resource aggregation request does not reach the target motion data within a preset time length; and emptying the motion data in the motion data resource pool corresponding to the resource aggregation request.

Optionally, the apparatus further comprises:

and the improving module is used for acquiring the historical exchanged motion data of the user account, and improving the resource exchange level of the user account when the historical exchanged motion data reaches a preset exchange threshold value.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

FIG. 1 is a schematic illustration of an implementation environment in which methods of resource redemption provided in some embodiments of the invention are involved;

FIG. 2 is a flow diagram of a resource redemption method provided in one embodiment of the invention;

FIG. 3 is a flow diagram of a method of resource redemption provided in one embodiment of the invention;

FIG. 4A is a flow diagram of a method for resource redemption provided in another embodiment of the invention;

fig. 4B is a flowchart of a method for acquiring motion data bound to a user account according to a resource page acquisition request according to an embodiment of the present invention;

FIG. 4C is a diagram illustrating an information interaction page displayed by the terminal provided in one embodiment of the invention;

FIG. 5A is a flow diagram of a method for resource redemption provided in another embodiment of the invention;

FIG. 5B is a flowchart of a method for obtaining resource values corresponding to athletic data according to exchange rate rules, according to an embodiment of the invention;

fig. 5C is a flowchart of a method for obtaining a resource value corresponding to athletic data according to a historical exchange time rule according to an embodiment of the present invention;

FIG. 6 is a flow diagram of a method of resource redemption provided in yet another embodiment of the invention;

FIG. 7 is a flow diagram of a method of resource redemption provided in one embodiment of the invention;

fig. 8A is a block diagram showing the construction of a resource exchanging apparatus provided in an embodiment of the present invention;

fig. 8B is a block diagram showing the construction of a resource exchanging apparatus according to another embodiment of the present invention;

fig. 9A is a block diagram showing the construction of a resource exchanging apparatus provided in an embodiment of the present invention;

fig. 9B is a block diagram showing the construction of a resource exchanging apparatus according to another embodiment of the present invention;

fig. 10 is a block diagram illustrating a resource redemption system in accordance with an exemplary embodiment.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

Fig. 1 is a schematic diagram of an implementation environment related to a resource redemption method provided in some embodiments of the present invention, and as shown in fig. 1, the implementation environment may include: at least one terminal 110 and a server 120.

Each terminal 110 may be connected to the server 120 by way of a wireless network.

The terminal 110 may be a mobile phone, a computer, a tablet device, a fitness device, a personal digital assistant, etc., among others.

Fig. 2 is a flowchart of a resource redemption method provided in an embodiment of the present invention, and the resource redemption method is applied to the terminal 110, and as shown in fig. 2, the resource redemption method includes the following steps.

Step 201, sending a resource page obtaining request, where the resource page obtaining request is sent by a terminal after detecting a selection operation of a description information menu option on an information interaction page.

Step 202, acquiring the motion data bound with the user account according to the resource page acquisition request, and displaying the motion data through an information interaction page.

Step 203, after detecting the selection operation of the resource exchange option for the target resource exchange object on the information interaction page, sending a resource exchange request for resource exchange of at least part of the athletic data, where the resource exchange request is used to trigger the server to obtain a resource value corresponding to the athletic data according to a predetermined rule, and transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

In summary, in the resource exchange method provided in the embodiment of the present invention, at least part of the athletic data bound to the user account is sent to the server, and the server exchanges the resource for the athletic data; the server can obtain the resource value corresponding to the sports data according to the preset rule and transfer the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object, so that the problem that a user loses interest in the resource transfer item due to a single participation mode in the related technology is solved, the purpose of taking the exchange sports data as a novel resource transfer item participation mode is achieved, and the resource transfer item participation mode of the user is enriched.

Fig. 3 is a flowchart of a resource redemption method provided in an embodiment of the present invention, and the resource redemption method is applied to the server 120. As shown in fig. 3, the resource exchange method includes the following steps.

Step 301, receiving a resource exchange request sent by using a user account, where the resource exchange request includes at least part of motion data bound to the user account.

Step 302, acquiring a resource value corresponding to the motion data according to a predetermined rule.

Step 303, transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

In summary, in the resource exchange method provided in the embodiment of the present invention, the resource value corresponding to the motion data is obtained according to the predetermined rule, and the resource having the resource value in the resource providing resource library is transferred to the resource library of the target resource exchange object; because the user can participate in the public welfare in the mode of exchanging the sports data, the problem that the user is easy to lose interest in the resource transfer item due to a single participation mode in the related technology is solved, the mode of exchanging the sports data as a novel resource transfer item is achieved, and the mode of the user participating in the resource transfer item is enriched.

Fig. 4A is a flowchart of a resource redemption method provided in another embodiment of the present invention, where the resource redemption method is applied to the terminal 110, and as shown in fig. 4A, the resource redemption method includes the following steps.

Step 401, a resource page acquisition request is sent.

The resource page acquisition request is sent by the terminal after detecting the selection operation of the description information menu option on the information interaction page.

And step 402, acquiring the motion data bound with the user account according to the resource page acquisition request, and displaying the motion data through an information interaction page.

The converted sports data can be selected from sports data accumulated by a single terminal logged in by a user account, or can be selected from sports data accumulated by a plurality of different terminals logged in by the user account.

It should be noted that the exercise data mentioned herein may specifically refer to exercise step number data, exercise distance data, exercise time data, heat data consumed by exercise, and the like, and the embodiment does not limit the type of the exercise data.

In addition, the motion data can be collected by the terminal, such as: the terminal acquires the motion steps of the user by using an acceleration sensor; the motion data may be obtained by the terminal from the bound smart devices, such as: the terminal acquires the exercise steps of the user from a bracelet bound with the terminal; the motion data may also be acquired by the terminal from a server.

In one possible implementation manner, in order to avoid repeated redemption of the athletic data that the user account has already been redeemed, the athletic data may be defined as being selected from accumulated athletic data meeting redemption conditions of the terminal in which the user account is logged. Fig. 4B is a flowchart of a method for acquiring motion data bound to a user account according to a resource page acquisition request in an embodiment of the present invention, and as shown in fig. 4B, the method for acquiring motion data bound to a user account according to a resource page acquisition request is implemented in steps 402a to 402B.

Step 402a, acquiring the motion data which is accumulated by the user account and meets the exchange condition.

The exchange condition may be the accumulated motion data allowed to be exchanged by the terminal logged in by the user account, or the accumulated motion data allowed to be exchanged by the terminal logged in by the user account within a predetermined time period. The predetermined time may be 24 hours, 36 hours, 48 hours, or the like. The predetermined time period may also be 24 hours corresponding to the current day, or 48 hours corresponding to yesterday and the current day, etc.

The athletic data allowed to be redeemed is the athletic data which is not redeemed by the user account, that is, the athletic data redeemed by the user account is less than or equal to the athletic data allowed to be redeemed by the user account.

Step 402b, when the exercise data meeting the exchange condition is larger than a preset threshold value, determining the exercise data meeting the exchange condition as the exercise data bound with the user account; or, determining the exercise data with the value larger than the preset threshold value in the exercise data meeting the exchange condition as the exercise data bound with the user account.

For example, taking 15000 as the athletic data meeting the conversion condition and 10000 as the predetermined threshold value, since the athletic data meeting the conversion condition is larger than the predetermined threshold value (15000>10000), the athletic data may be determined by the terminal according to the conversion rule, for example, 15000 or 12000, or any value may be specified by the user in the range from 10000 to 15000.

Optionally, when the motion data meeting the exchange condition is smaller than a predetermined threshold, the terminal sets the attribute of the resource exchange option in the information interaction page displayed by the terminal to be prohibited to be selected; or the resource exchange option is not displayed in the information interaction page displayed by the terminal.

When the exercise data meeting the exchange conditions is larger than a preset threshold value, the terminal sets the attribute of the resource exchange option to be allowed to be selected, and after the resource exchange option is selected, the terminal executes the step of sending a resource exchange request for exchanging the resources for at least part of the exercise data.

Step 403, after detecting the selection operation of the resource exchange option for the target resource exchange object on the information interaction page, sending a resource exchange request for resource exchange on at least part of the athletic data.

Optionally, the resource exchange request further includes an identifier of a target resource exchange object, where the target resource exchange object is an object selected for resource exchange from the resource exchange objects displayed by the terminal, or is a resource exchange object acquired by the terminal from the server.

In the first situation, the target resource exchange object is not displayed on the information interaction page displayed by the terminal, when a user sends a resource exchange request (the resource exchange request does not include the identifier of the target resource exchange object) to the server by using the terminal, the server determines the target resource exchange object, obtains a resource value corresponding to the motion data according to a preset rule, and transfers the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

In the second situation, the information interaction page displayed by the terminal displays the resource exchange object, when the user selects the object a in the resource exchange object and sends a resource exchange request (the resource exchange request includes the identifier of the object a) to the server by using the terminal, the server obtains a resource value corresponding to the motion data according to a preset rule, and transfers the resource with the resource value in the resource providing resource library to the resource library of the object a.

In the third situation, only one object B is displayed on the information interaction page displayed by the terminal, and when a user sends a resource exchange request (the resource exchange request includes an identifier of the object B) to the server by using the terminal, the server obtains a resource value corresponding to the resource exchange motion data according to a predetermined rule, and transfers the resource with the resource value in the resource providing resource library to the resource library of the object B. Fig. 4C is a schematic diagram of an information interaction page displayed by the terminal according to an embodiment of the present invention, as shown in fig. 4C, the information interaction page displayed by the terminal 50 includes a target resource exchange object 10, a resource providing resource library 20, and a resource exchange option 30, and after the resource exchange option 30 is selected, the terminal 50 sends a resource exchange request to the server by using the user account.

In summary, in the resource exchange method provided in the embodiment of the present invention, at least part of the athletic data bound to the user account is sent to the server, and the server exchanges the resource for the athletic data; the server can obtain the resource value corresponding to the sports data according to the preset rule and transfer the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object, so that the problem that a user loses interest in the resource transfer item due to a single participation mode in the related technology is solved, the purpose of taking the exchange sports data as a novel resource transfer item participation mode is achieved, and the resource transfer item participation mode of the user is enriched.

In this embodiment, in order to avoid repeated redemption of the athletic data that has been redeemed by the user account, the athletic data may be defined as being selected from the accumulated athletic data meeting the redemption condition of the terminal that the user account logs in.

Fig. 5A is a flowchart of a resource redemption method provided in another embodiment of the present invention, which is applied to the server 120, and as shown in fig. 5A, the resource redemption method includes the following steps.

Step 501, receiving a resource exchange request sent by using a user account.

The resource redemption request as referred to herein includes at least a portion of the athletic data bound to the user account.

Step 502, acquiring a resource value corresponding to the motion data according to a predetermined rule.

In a possible implementation manner, the predetermined rule may be an exchange rate rule, a correspondence relationship between an athletic data range and a resource value, or a historical exchange number rule, fig. 5B is a flowchart of a method for obtaining a resource value corresponding to athletic data according to an exchange rate rule provided in an embodiment of the present invention, and as shown in fig. 5B, the method for obtaining a resource value corresponding to athletic data according to an exchange rate rule is implemented in steps 502a to 502B.

Step 502a, obtaining an exchange rate.

The exchange rate as referred to herein refers to a rate at which athletic data is exchanged into a resource value. Such as: if the athletic data 10000 can be converted into the asset value 1, the conversion rate is 10000: 1.

optionally, the exchange rate may be an exchange rate preset by the server, and the exchange rate may be a fixed value unrelated to the resource exchange level of the user account, or a variable value corresponding to the resource exchange level of the user account.

For example, when the exchange rate corresponds to the resource exchange level of the user account, the corresponding relationship between the exchange rate and the resource exchange level is shown in table a:

resource exchange level Exchange rate (sports data: resource value)
0 10000:1
1 10000:1.5
2 10000:2
3 10000:2.5

TABLE A

After receiving a resource exchange request sent by a user account with a resource exchange level of 0, the server will perform resource exchange according to an exchange rate of 10000: 1, calculating a resource value corresponding to the athletic data converted by the user account. After receiving a resource exchange request sent by a user account with a resource exchange level of 2, the server will exchange the resource with the resource exchange rate of 10000: and 2, calculating a resource value corresponding to the athletic data converted by the user account.

Optionally, the exchange rate mentioned herein may be an exchange rate provided by the resource providing repository, and the exchange rate may be a fixed value independent of the resource exchange level provided by the resource providing repository, or may be a variable value corresponding to the resource exchange level provided by the resource providing repository.

For example, when the exchange rate is a fixed value unrelated to the exchange level of the resource provided by the resource providing repository, the corresponding relationship between the exchange rate and the resource providing repository is shown in table B:

resource provisioning repository Exchange rate (sports data: resource value)
Advertising company A 10000:1
Education institution B 10000:1.5
Network electronic commerce C 10000:2

TABLE B

When the resource providing resource library is the advertising company A, the server will calculate the resource providing resource library according to the exchange rate of 10000: 1, calculating a resource value corresponding to the athletic data converted by the user account. When the resource providing resource library is the network e-commerce C, the server can obtain the resource providing resource library according to the exchange rate of 10000: and 2, calculating a resource value corresponding to the athletic data converted by the user account.

When the exchange rate corresponds to the resource exchange level provided by the resource providing resource library, the server reads the corresponding relation between the resource exchange level provided by the resource providing resource library and the exchange rate, and acquires the exchange rate corresponding to the resource exchange level of the user account according to the corresponding relation.

It should be noted that, the resource exchange level of the user account is determined by the server according to the acquired historical exchange motion data of the user account, and when the historical exchange motion data of the user account reaches a predetermined exchange threshold, the server may increase the resource exchange level of the user account. Therefore, the resource exchange level mentioned in this embodiment is positively correlated with the historical exchange movement data of the user account, that is, the larger the historical exchange movement data of the user account is, the higher the resource exchange level of the user account is; conversely, the smaller the historical exchanged movement data of the user account is, the lower the resource exchange level of the user account is.

Step 502b, calculating the resource value corresponding to the sports data according to the exchange rate.

For example, when the exchange rate corresponds to the resource exchange level of the user account, the corresponding relationship between the exchange rate and the resource exchange level is still referred to in table a.

After receiving a resource exchange request sent by a user account with a resource exchange level of 0, the server will perform resource exchange according to an exchange rate of 10000: 1, calculating a resource value corresponding to the athletic data exchanged by the user account, and if the athletic data exchanged by the user account is 50000, exchanging the athletic data into a resource value of 5.

After receiving a resource exchange request sent by a user account with a resource exchange level of 2, the server will exchange the resource with the resource exchange rate of 10000: and 2, calculating a resource value corresponding to the athletic data exchanged by the user account, and if the athletic data exchanged by the user account is 50000, exchanging the athletic data into a resource value of 10.

For another example, when the exchange rate is a fixed value unrelated to the exchange level of the resource provided by the resource providing repository, the corresponding relationship between the exchange rate and the resource providing repository is still referred to in table B.

When the resource providing resource library is the advertising company A, the server will calculate the resource providing resource library according to the exchange rate of 10000: 1, calculating a resource value corresponding to the athletic data exchanged by the user account, and if the athletic data exchanged by a certain user account is 50000, exchanging the athletic data into a resource value of 5.

When the resource providing resource library is the network e-commerce C, the server can obtain the resource providing resource library according to the exchange rate of 10000: and 2, calculating a resource value corresponding to the athletic data exchanged by the user account, and if the athletic data exchanged by a certain user account is 50000, exchanging the athletic data into a resource value of 10.

Optionally, the server determines the resource value corresponding to the motion data according to the correspondence between the motion data range and the resource value.

For example, the corresponding relationship between the motion data range and the resource value is shown in table C.

Range of motion data Resource value
10000 to 19999 1
20000 to 29999 1.5
30000 to 39999 2

Watch C

If the sports data included in the resource exchange request sent by the terminal to the server is 15000, the sports data will be exchanged into the resource value 1 by the server since 15000 falls within the range of 10000 to 19999.

Fig. 5C is a flowchart of a method for obtaining a resource value corresponding to athletic data according to a historical exchange time rule according to an embodiment of the present invention, as shown in fig. 5C, the method for obtaining a resource value corresponding to athletic data according to a historical exchange time rule is implemented in steps 502C to 502 d.

And step 502c, acquiring historical exchange times.

The predetermined motion data referred to herein is motion data of a predetermined value preset by the server. For example, if the predetermined athletic data is 10000, the athletic data included in the resource exchange request sent by the terminal to the server may only be 10000.

The historical exchange times are referred to as the times of accumulating and exchanging the preset exercise data into the resource value by the user account. For example, each time the server receives 1 time of resource exchange requests sent by the terminal by using the user account, the server adds 1 to the historical exchange times of the user account.

Step 502d, determining the resource value according to the historical exchange times.

For example, the corresponding relationship between the historical redemption times and the resource values is shown in table D:

table D

When the server receives a resource exchange request sent by a user account with the historical exchange frequency of 5, determining a resource value of 1, and adding 1 to the historical exchange frequency of the user account.

When the server receives a resource exchange request sent by a user account with the historical exchange frequency of 20, determining a resource value of 2, and adding 1 to the historical exchange frequency of the user account.

Step 503, transferring the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

In a possible implementation manner, the resource exchange request sent by the terminal to the server has two cases, namely an identifier containing the resource exchange object and an identifier not containing the resource exchange object, and the server implements different operation steps for the two different cases.

In the first case, when the resource exchange request does not include the identifier of the resource exchange object, the server determines the target resource exchange object from the resource exchange object, and transfers the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

For example, the relevant information of the resource exchange object is shown in table E:

TABLE E

Optionally, the server determines an object with the least or most resources in the resource library from the resource exchange objects, and determines the determined object as a target resource exchange object. As can be seen from table E, the object with the least resources in the resource library is the object a, so the server can determine that the object a is the target resource exchange object. Or, as can be seen from table E, the object with the most resources in the resource library is the object C, so the server may determine that the object C is the target resource exchange object.

Optionally, the server determines an object with the lowest or highest achievement rate from the resource exchange objects, and determines the determined object as a target resource exchange object, where the achievement rate is a ratio of resources in a resource library of the resource exchange object to resources planned and raised by the resource exchange object. As can be seen from table E, the resource exchange object with the lowest achievement rate is the object C, and therefore the server determines that the object C is the target resource exchange object. Alternatively, as can be seen from table E, the resource exchange object with the highest achievement rate is the object B, and therefore the server determines that the object B is the target resource exchange object.

Optionally, the server determines a resource exchange object with the earliest starting exchange time or the latest ending exchange time from the resource exchange objects, and determines the determined resource exchange object as the target resource exchange object. As can be seen from table E, the resource exchange object with the earliest exchange time is the object C, so the server may determine that the object C is the target resource exchange object. Or, as can be seen from table E, the resource exchange object whose exchange time is most recent is the object a, so the server may determine that the object a is the target resource exchange object.

Optionally, the server randomly selects one object from the resource exchange objects, and determines the selected object as a target resource exchange object.

In the second case, when the resource exchange request includes the identifier of the resource exchange object, the server determines the object included in the resource exchange request as the target resource exchange object, and transfers the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

In summary, in the resource exchange method provided in the embodiment of the present invention, the resource value corresponding to the motion data is obtained according to the predetermined rule, and the resource having the resource value in the resource providing resource library is transferred to the resource library of the target resource exchange object; because the user can participate in the public welfare in the mode of exchanging the sports data, the problem that the user is easy to lose interest in the resource transfer item due to a single participation mode in the related technology is solved, the mode of exchanging the sports data as a novel resource transfer item is achieved, and the mode of the user participating in the resource transfer item is enriched.

In this embodiment, the resource exchange request sent by the terminal to the server has two cases, that is, an identifier containing the resource exchange object and an identifier not containing the resource exchange object, and the server performs different operation steps for the two different cases.

In a possible implementation manner, when the terminal establishes a connection with the server, see fig. 6, where fig. 6 is a flowchart of a resource redemption method provided in another embodiment of the present invention, and as shown in fig. 6, the resource redemption method may include the following steps:

step 601, the terminal sends a resource page acquisition request.

Step 602, the terminal acquires the motion data bound with the user account according to the resource page acquisition request, and displays the motion data through the information interaction page.

Step 603, after detecting the selection operation of the resource exchange option for the target resource exchange object on the information interaction page, the terminal sends a resource exchange request for resource exchange of at least part of the sports data.

Since steps 601 to 603 are similar to steps 401 to 403, please refer to the description information of steps 401 to 403, which is not repeated in this embodiment.

Correspondingly, the server receives a resource exchange request sent by using the user account.

In step 604, the server obtains a resource value corresponding to the motion data according to a predetermined rule.

Step 605, the server transfers the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

Since steps 604 to 605 are similar to steps 502 to 503, please refer to the description information of steps 502 to 503, which is not repeated in this embodiment.

In summary, in the resource exchange method provided in the embodiment of the present invention, at least part of the athletic data bound to the user account is sent to the server, and the server exchanges the resource for the athletic data; the server can obtain the resource value corresponding to the sports data according to the preset rule and transfer the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object, so that the problem that a user loses interest in the resource transfer item due to a single participation mode in the related technology is solved, the purpose of taking the exchange sports data as a novel resource transfer item participation mode is achieved, and the resource transfer item participation mode of the user is enriched.

In a possible implementation manner, when the terminal establishes a connection with the server, see fig. 7, where fig. 7 is a flowchart of a resource redemption method provided in an embodiment of the present invention, and as shown in fig. 7, the resource redemption method may include the following steps:

in step 701, a terminal sends a resource aggregation request to a server by using a user account.

Correspondingly, the server receives a resource aggregation request sent by using the user account.

The resource aggregation request as referred to herein includes a specified friend account and target athletic data.

The resource aggregation request further includes an identifier of a resource aggregation object, where the resource aggregation object is an object selected for resource aggregation in resource exchange objects displayed by the terminal, or is a resource exchange object acquired by the terminal from the server.

Optionally, when the accumulated motion data allowed to be redeemed by the terminal logged in by the user account is smaller than a preset threshold, the terminal sets the attribute of the resource redemption option to be prohibited from being selected.

When the accumulated motion data which are allowed to be exchanged and are accumulated by the terminal logged in by the user account are larger than a preset threshold value, setting the attribute of the resource exchange option to be allowed to be selected, and after the resource exchange option is selected, the terminal executes the step of sending a resource exchange request for exchanging the resources of at least part of the motion data.

Still referring to fig. 4C, the information interaction page displayed by the terminal 50 further includes a resource aggregation control 40, and after the resource aggregation control 40 is triggered, the terminal 50 sends a resource aggregation request to the server by using the user account.

In step 702, the server sends a resource aggregation notification related to the target motion data and the user account to the friend account.

The resource aggregation notification is used to trigger the friend account to transfer aggregated motion data in a motion data resource pool corresponding to a resource aggregation request initiated by the user account.

In step 703, when the server receives a motion data transfer request carrying aggregated motion data and a user account sent by using the friend account, the motion data aggregated by the friend account is transferred to a motion data resource pool corresponding to a resource aggregation request initiated by the user account.

For example, after the user C accepts the resource aggregation request B initiated by the user a, the athletic data exchanged by the user C is transferred to the athletic data resource pool corresponding to the resource aggregation request B.

Optionally, when the accumulated motion data allowed to be redeemed by the terminal logged in by the friend account is smaller than a specified threshold, the terminal logged in by the friend account prohibits sending a motion data transfer request to the server by using the friend account.

Step 704, within a predetermined time, when the motion data in the motion data resource pool corresponding to the resource aggregation request reaches the target motion data, obtaining a resource value corresponding to the motion data in the motion data resource pool according to a predetermined rule, and transferring the resource with the resource value in the resource providing resource pool to the resource pool of the resource aggregation object; and pushing a resource aggregation success message related to the resource aggregation request to the user account receiving the resource aggregation request.

In a possible implementation manner, when the resource aggregation request does not include the identifier of the resource exchange object, the target resource exchange object is determined from the resource exchange object, and the resource with the resource value in the resource providing resource library is transferred to the resource library of the resource aggregation object.

When the resource aggregation request contains the identifier of the resource exchange object, the resource exchange object contained in the resource aggregation request is determined as the target resource exchange object, and the resource with the resource value in the resource providing resource library is transferred to the resource library of the resource aggregation object.

For example, the target motion data of the resource aggregation request B initiated by the user a is set to 50000. Then, when the motion data in the motion data resource pool corresponding to the resource aggregation request B reaches 50000, the server will push a resource aggregation success message related to the resource aggregation request B to the user account receiving the resource aggregation request B, obtain a resource value corresponding to the motion data in the motion data resource pool according to a predetermined rule, and transfer the resource having the resource value in the resource providing resource pool to the resource pool of the resource aggregation object.

Or when the motion data in the motion data resource pool corresponding to the resource aggregation request B reaches 50000, the server pushes a resource aggregation success message related to the resource aggregation request B to the user account receiving the resource aggregation request B, and after receiving a resource exchange request sent by the terminal logged in by the user a, the server acquires a resource value corresponding to the motion data in the motion data resource pool according to a predetermined rule and transfers the resource with the resource value in the resource providing resource pool to the resource pool of the resource aggregation object.

Step 705, in a preset time, when the motion data in the motion data resource pool corresponding to the resource aggregation request does not reach the target motion data, pushing a resource aggregation failure message related to the resource aggregation request to the user account receiving the resource aggregation request; and emptying the motion data in the motion data resource pool corresponding to the resource aggregation request.

The preset time period may be set by the server, or may be set by the user account initiating the resource aggregation request, and the setting mode of the preset time period is not limited in this embodiment.

In summary, in the resource exchange method provided in the embodiment of the present invention, when receiving a motion data transfer request sent by using a friend account, motion data exchanged by the friend account is transferred to a motion data resource pool corresponding to a resource aggregation request initiated by the user account; because the user account and the friend account can exchange the sports data together by receiving the resource aggregation request, the problem that the user loses interest in the resource transfer item due to a single participation mode in the related technology is solved, the purpose of exchanging the sports data as a novel resource transfer item participation mode is achieved, and the modes of the user participating in the resource transfer item are enriched.

The following are embodiments of the apparatus of the present invention, and for details not described in detail in the embodiments of the apparatus, reference may be made to the above-mentioned one-to-one corresponding method embodiments.

Fig. 8A is a block diagram illustrating a structure of a resource exchanging apparatus provided in an embodiment of the present invention, which is applied to the terminal 110. As shown in fig. 8A, the resource exchanging apparatus includes: a first sending module 801, an obtaining module 802 and a second sending module 803.

A first sending module 801, configured to send a resource page acquisition request, where the resource page acquisition request is sent by a terminal after detecting that an operation of selecting an information menu option is described on an information interaction page;

an obtaining module 802, configured to obtain motion data bound to a user account according to a resource page obtaining request, and display the motion data through an information interaction page;

the second sending module 803 is configured to send a resource exchange request for resource exchange on at least part of the athletic data after detecting a selection operation of a resource exchange option for the target resource exchange object on the information interaction page, where the resource exchange request is used to trigger the server to obtain a resource value corresponding to the athletic data according to a predetermined rule, and transfer a resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object.

In a possible implementation manner, please refer to fig. 8B, which is a block diagram illustrating a structure of a resource exchanging apparatus according to another embodiment of the present invention, where the obtaining module 802 includes: an acquisition unit 802a and a determination unit 802 b.

An obtaining unit 802a, configured to obtain athletic data that meets an exchange condition and is accumulated by a user account, where the exchange condition is athletic data that is accumulated by a terminal that the user account logs in and is allowed to be exchanged, or athletic data that is accumulated by the terminal that the user account logs in and is allowed to be exchanged within a predetermined time period;

the determining unit 802b is configured to determine, when the athletic data meeting the exchange condition is greater than a predetermined threshold, the athletic data meeting the exchange condition as athletic data bound to the user account; or, determining the exercise data with the value larger than the preset threshold value in the exercise data meeting the exchange condition as the exercise data bound with the user account.

In one possible implementation, still referring to fig. 8B, the resource exchanging apparatus further includes: a third sending module 804.

A third sending module 804, configured to send a resource aggregation request to a server by using a user account, where the resource aggregation request includes a specified friend account and target motion data, and the resource aggregation request is used to trigger the server to send a resource aggregation notification related to the target motion data and the user account to the friend account.

In a possible implementation manner, the resource aggregation request further includes an identifier of a resource aggregation object, where the resource aggregation object is an object for resource aggregation in resource exchange objects displayed by the terminal, or is a resource exchange object acquired by the terminal from the server.

In a possible implementation manner, the resource exchange request further includes an identifier of a target resource exchange object, where the target resource exchange object is an object selected for resource aggregation in the resource exchange objects displayed by the terminal, or is a resource exchange object acquired by the terminal from the server.

In summary, the resource exchange device provided in the embodiment of the present invention sends at least part of the athletic data bound to the user account to the server, and the server exchanges the resource for the athletic data; the server can obtain the resource value corresponding to the sports data according to the preset rule and transfer the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object, so that the problem that a user loses interest in the resource transfer item due to a single participation mode in the related technology is solved, the purpose of taking the exchange sports data as a novel resource transfer item participation mode is achieved, and the resource transfer item participation mode of the user is enriched.

In this embodiment, in order to avoid repeated redemption of the athletic data that has been redeemed by the user account, the athletic data may be defined as being selected from the accumulated athletic data meeting the redemption condition of the terminal that the user account logs in.

Fig. 9A is a block diagram illustrating a structure of a resource exchanging apparatus provided in an embodiment of the present invention, and the resource exchanging apparatus is applied to the server 120. As shown in fig. 9A, the resource exchanging apparatus includes: a receiving module 901, an obtaining module 902 and a transferring module 903.

A first receiving module 901, configured to receive a resource exchange request sent by using a user account, where the resource exchange request includes at least part of motion data bound to the user account;

an obtaining module 902, configured to obtain a resource value corresponding to the motion data according to a predetermined rule;

a first transferring module 903, configured to transfer a resource with a resource value in the resource providing resource library to the resource library of the target resource exchange object.

In a possible implementation manner, please refer to fig. 9B, which is a block diagram illustrating a structure of a resource exchanging apparatus according to another embodiment of the present invention, where the obtaining module 902 includes: an acquisition unit 902a and a determination unit 902 b.

An obtaining unit 902a, configured to obtain an exchange rate, where the exchange rate is a rate of exchanging athletic data into a resource value; calculating a resource value corresponding to the sports data according to the exchange rate;

alternatively, the first and second electrodes may be,

the determining unit 902b is configured to determine a resource value corresponding to the motion data according to a correspondence between the motion data range and the resource value.

In one possible implementation, still referring to fig. 9B, the obtaining unit 902a includes: a first acquisition sub-unit 902a1, a second acquisition sub-unit 902a2, a third acquisition sub-unit 902a3, and a fourth acquisition sub-unit 902a 4.

A first obtaining subunit 902a1, configured to obtain an exchange rate preset by the server;

alternatively, the first and second electrodes may be,

a second obtaining subunit 902a2, configured to obtain an exchange rate that is preset by the server and corresponds to the resource exchange level of the user account;

alternatively, the first and second electrodes may be,

a third obtaining subunit 902a3, configured to obtain an exchange rate provided by the resource providing repository;

alternatively, the first and second electrodes may be,

a fourth obtaining subunit 902a4, configured to read a corresponding relationship between the resource exchange level provided by the resource providing repository and the exchange rate, obtain, according to the corresponding relationship, the exchange rate corresponding to the resource exchange level of the user account,

wherein the resource exchange level is positively correlated with the sport data exchanged by the user account.

In one possible implementation, still referring to fig. 9B, the first transfer module 903 includes: a first transfer unit 903a and a second transfer unit 903 b.

A first transferring unit 903a, configured to determine a target resource exchange object from the resource exchange object when the resource exchange request does not include the identifier of the resource exchange object, and transfer a resource with a resource value in a resource providing resource library to a resource library of the target resource exchange object;

a second transferring unit 903b, configured to determine, when the resource exchange request includes an identifier of a resource exchange object, an object included in the resource exchange request as a target resource exchange object, and transfer a resource having the resource value in a resource providing resource library to the resource library of the target resource exchange object.

In one possible implementation, still referring to fig. 9B, the resource exchanging apparatus further includes: a second receiving module 904, a sending module 905, and a second transferring module 906.

A second receiving module 904, configured to receive a resource aggregation request sent by using a user account, where the resource aggregation request includes a specified friend account and target motion data;

a sending module 905, configured to send a resource aggregation notification related to target motion data and a user account to a friend account, where the resource aggregation notification is used to trigger a motion data resource pool corresponding to a resource aggregation request initiated by the friend account to the user account to transfer aggregated motion data;

a second transferring module 906, configured to transfer, when receiving a motion data transfer request that carries aggregated motion data and a user account and is sent by using a friend account, the motion data aggregated by the friend account to a motion data resource pool corresponding to a resource aggregation request initiated by the user account.

In one possible implementation, still referring to fig. 9B, the resource exchanging apparatus further includes: a first push module 907 and a second push module 908.

A first pushing module 907, configured to, within a predetermined duration, if motion data in a motion data resource pool corresponding to the resource aggregation request reaches target motion data, obtain a resource value corresponding to the motion data in the motion data resource pool according to a predetermined rule, and transfer a resource having the resource value in a resource providing resource library to a resource library of a resource aggregation object; pushing a resource aggregation success message related to the resource aggregation request to the user account receiving the resource aggregation request;

a second pushing module 908, configured to, within a predetermined duration, push a resource aggregation failure message related to the resource aggregation request to a user account receiving the resource aggregation request when the motion data in the motion data resource pool corresponding to the resource aggregation request does not reach the target motion data; and emptying the motion data in the motion data resource pool corresponding to the resource aggregation request.

In one possible implementation, still referring to fig. 9B, the resource exchanging apparatus further includes: the block 909 is raised.

An increasing module 909, configured to obtain exercise data of historical redemption of the user account, and increase the resource redemption level of the user account when the exercise data of historical redemption reaches a predetermined redemption threshold.

In summary, in the resource exchange apparatus provided in the embodiment of the present invention, the resource value corresponding to the motion data is obtained according to the predetermined rule, and the resource having the resource value in the resource providing resource library is transferred to the resource library of the target resource exchange object; because the user can participate in the public welfare in the mode of exchanging the sports data, the problem that the user is easy to lose interest in the resource transfer item due to a single participation mode in the related technology is solved, the mode of exchanging the sports data as a novel resource transfer item is achieved, and the mode of the user participating in the resource transfer item is enriched.

In this embodiment, the resource exchange request sent by the terminal to the server has two cases, that is, an identifier containing the resource exchange object and an identifier not containing the resource exchange object, and the server performs different operation steps for the two different cases.

FIG. 10 is a block diagram illustrating a resource redemption system, shown in FIG. 10, for use in the implementation environment shown in FIG. 1, in accordance with an exemplary embodiment. The resource redemption system may include: a terminal 1001 and a server 1002.

The terminal 1001 includes a resource exchange apparatus as described in fig. 8A and 8B, which may specifically refer to the description in fig. 8A and 8B, and will not be described herein again.

The server 1002 may include a resource redemption device as described in fig. 9A and 9B, which may be specifically referred to the description in fig. 9A and 9B, and will not be described herein again.

In summary, the resource exchange device provided in the embodiment of the present invention sends at least part of the athletic data bound to the user account to the server, and the server exchanges the resource for the athletic data; the server can obtain the resource value corresponding to the sports data according to the preset rule and transfer the resource with the resource value in the resource providing resource library to the resource library of the target resource exchange object, so that the problem that a user loses interest in the resource transfer item due to a single participation mode in the related technology is solved, the purpose of taking the exchange sports data as a novel resource transfer item participation mode is achieved, and the resource transfer item participation mode of the user is enriched.

It should be noted that: when the resource exchange device provided in the above embodiment exchanges resources, only the division of the above functional modules is used for illustration, in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the intelligent terminal is divided into different functional modules, so as to complete all or part of the above described functions. In addition, the resource exchange device and the resource exchange method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.

The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.

It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.

The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:基于智慧屏的广告播放方法、移动设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!