Virtual Property Settlement Method, Device, Electronic Device, and Storage Medium

The heartbeat request-based virtual asset settlement method addresses server load and transaction inaccuracies in host-guest applications by synchronizing virtual assets, enhancing user experience through reduced interactions and improved accuracy.

CN114612088BActive Publication Date: 2025-07-15BEIJING LEWO INFINITE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210246324.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-14
Publication Date
2025-07-15
Estimated Expiration
2042-03-14

AI Technical Summary

Technical Problem

Frequent changes in virtual property increase and decrease in the number of changes in the third-party H5 mini games cause excessive server pressure, and there is a problem of inaccurate increase and decrease in virtual currency when the network is poor, affecting the user experience.

Method used

By adopting a heartbeat request mechanism between the host application server and the boarding application server, virtual property settlement is carried out according to the heartbeat event type, frequent interactions are reduced, identity tokens are used for account identification, and timers are set for automatic settlement when network abnormalities are set.

Benefits of technology

It reduces frequent interactions between the host application server and the boarding application server, improves the accuracy of virtual property settlement, and improves the user's experience in using boarding applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114612088B_ABST
    Figure CN114612088B_ABST
Patent Text Reader

Abstract

The present application provides a virtual property settlement method, apparatus, electronic device, and storage medium, relating to the field of computer technology. The method includes: receiving a heartbeat request sent by a hosting application server; where the heartbeat request includes a heartbeat event type and an identity token; and performing settlement processing on the virtual property of a target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server by using a settlement processing method corresponding to the heartbeat event type. The present application avoids frequent interactions between the host application server and the hosting application server, making the process of the user using the hosting application smoother, and improving the accuracy of virtual property settlement between the host application server and the hosting application server, thus enhancing the user experience in the hosting application.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular, to a virtual property settlement method, apparatus, electronic device, and storage medium. Background Art

[0002] Currently, more and more host applications choose to access hosted applications to pull more traffic and improve user stickiness. Taking a hosted application as a third-party H5 game as an example, when a third-party H5 game is accessed in a certain mobile application, during the process of the user using the third-party H5 game in the mobile application, according to the incentive mechanism of the third-party H5 game, there will be changes in the virtual property of the user in the third-party H5 game, such as obtaining corresponding rewards for passing a level, or obtaining corresponding incentives according to the achieved achievements. In order to unify the settlement method, the hosted application needs to adopt the same virtual property types as the host application, such as virtual property types like points and virtual currency. For example, if the host application uses points as virtual property, then the hosted application also needs to use points as virtual property. Therefore, when using some hosted applications, every time there is a change in the virtual property in the third-party H5 game, it is necessary to perform an interactive increase or decrease of virtual property with the host application.

[0003] However, for third-party H5 games with frequent changes in virtual property, it will cause relatively large server pressure. And when the network condition is not good, there is a problem that the increase or decrease of virtual currency is inaccurate, which brings losses to users and affects the user experience. Summary of the Invention

[0004] This application provides a virtual property settlement method, apparatus, electronic device, and storage medium.

[0005] According to a first aspect of this application, there is provided a virtual property settlement method applied to a host application server, including:

[0006] Receiving a heartbeat request sent by a hosted application server; wherein, the heartbeat request includes a heartbeat event type and an identity token;

[0007] Adopting a settlement processing method corresponding to the heartbeat event type, and performing settlement processing on the virtual property of the target account on the hosted application server corresponding to the identity token and the virtual property of the target account on the host application server.

[0008] Optionally, in some embodiments of the present application, before receiving the heartbeat request sent by the hosted application server, the virtual property settlement method applied to the host application server further includes: receiving an account information acquisition request sent by the hosted application server; the account information acquisition request is sent when the account of the host application clicks on the hosted application icon and enters the hosted application page; determining the account information of the account, and sending the account information to the hosted application server to respond to the account information acquisition request; the account information includes the identity token.

[0009] Optionally, in some embodiments of the present application, the heartbeat event type is a start heartbeat event; the settlement processing of the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server by using the settlement processing method corresponding to the heartbeat event type includes: deducting all the virtual property of the target account corresponding to the identity token on the host application server; sending the total value of the deducted all virtual property to the hosted application server to increase the virtual property value of the target account on the hosted application server based on the total value.

[0010] Optionally, in some embodiments of the present application, the heartbeat event type is a middle heartbeat event; the settlement processing of the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server by using the settlement processing method corresponding to the heartbeat event type includes: detecting the current virtual property value of the target account corresponding to the identity token on the host application server; in response to the current virtual property value being greater than a preset value, deducting the current virtual property value of the target account on the host application server; sending the deducted current virtual property value to the hosted application server to increase the virtual property value of the target account on the hosted application server based on the current virtual property value.

[0011] Optionally, in some embodiments of the present application, the heartbeat event type is a recharge heartbeat event, and the heartbeat request further includes a first virtual property return value; the step of performing settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server by using the settlement processing method corresponding to the heartbeat event type includes: obtaining the first virtual property return value from the heartbeat request; wherein, the first virtual property return value is the value obtained after the hosted application server settles the virtual property of the target account when a recharge event is triggered on the host application for the target account corresponding to the identity token; determining the first virtual property return value as the total value of the virtual property of the target account on the host application server.

[0012] Optionally, in some embodiments of the present application, the heartbeat event type is a recharge completion heartbeat event; the step of performing settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server by using the settlement processing method corresponding to the heartbeat event type includes: determining the virtual property increment of the target account corresponding to the identity token in the recharge event; performing settlement based on the virtual property increment and the total value of the virtual property of the target account on the host application server to obtain the virtual property settlement value of the target account on the host application server; deducting the virtual property settlement value of the target account on the host application server; sending the deducted virtual property settlement value to the hosted application server to increase the virtual property value of the target account on the hosted application server based on the virtual property settlement value.

[0013] Optionally, in some embodiments of the present application, the heartbeat event type is an end heartbeat event, and the heartbeat request further includes a second virtual property return value; the step of performing settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server by using the settlement processing method corresponding to the heartbeat event type includes: obtaining the second virtual property return value from the heartbeat request; wherein, the second virtual property return value is the value obtained after the hosted application server settles the virtual property of the target account when an end event is triggered on the hosted application for the target account corresponding to the identity token; determining the second virtual property return value as the total value of the virtual property of the target account on the host application server.

[0014] Optionally, in some embodiments of the present application, the virtual property settlement method applied to the host application server further includes: starting a timer when receiving a heartbeat request sent by the hosted application server; in response to not receiving a new heartbeat request sent by the hosted application server when the timer expires, restoring the virtual property value of the target account on the host application server to a first virtual property value, where the first virtual property value is the sum of the initial value and the virtual property value obtained from recharge operations within a first time period.

[0015] According to a second aspect of the present application, there is provided a virtual property settlement method applied to a hosted application server, including:

[0016] Sending a heartbeat request to the host application server; wherein, the heartbeat request includes a heartbeat event type and an identity token;

[0017] Using a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server.

[0018] Optionally, in some embodiments of the present application, before sending the heartbeat request to the host application server, the virtual property settlement method applied to the hosted application server further includes: sending an account information acquisition request to the host application server; the account information acquisition request is sent when the account of the host application clicks on the hosted application icon and enters the hosted application page; receiving the account information sent by the host application server; the account information includes the identity token.

[0019] Optionally, in some embodiments of the present application, the heartbeat event type is a start heartbeat event; the using a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server includes: receiving the virtual property custody value sent by the host application server; the virtual property custody value is the total virtual property value of the target account corresponding to the identity token on the host application server; determining the virtual property custody value as the total virtual property of the target account on the hosted application server.

[0020] Optionally, in some embodiments of the present application, the heartbeat event type is a central heartbeat event; adopting a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server includes: receiving a recharge increment value sent by the host application server; the recharge increment value is the increment value obtained by performing a recharge operation on the target account on a non-host application server; increasing the virtual property value of the target account on the hosting application server based on the recharge increment value.

[0021] Optionally, in some embodiments of the present application, the heartbeat event type is a recharge heartbeat event, and the heartbeat request further includes a first virtual property return value, where the first virtual property return value is the value obtained after the hosting application server settles the virtual property of the target account corresponding to the identity token when a recharge event is triggered on the host application.

[0022] Optionally, in some embodiments of the present application, the heartbeat event type is a recharge completion heartbeat event; adopting a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server includes: obtaining the virtual property settlement value of the target account on the host application server; the virtual property settlement value is the value obtained after settlement based on the virtual property increment and the total virtual property value of the target account on the host application server, and the virtual property increment is the increment obtained by performing a recharge operation on the target account on the host application server; increasing the virtual property value of the target account on the hosting application server based on the virtual property settlement value.

[0023] Optionally, in some embodiments of the present application, the heartbeat event type is an end heartbeat event, and the heartbeat request further includes a second virtual property return value, where the second virtual property return value is the value obtained after the hosting application server settles the virtual property of the target account corresponding to the identity token when an end event is triggered on the hosting application.

[0024] Optionally, in some embodiments of the present application, sending a heartbeat request to the host application server includes: sending a heartbeat request to the host application server at preset intervals.

[0025] According to the third aspect of the present application, there is provided a virtual property settlement device applied to a host application server, including:

[0026] A first receiving module, configured to receive a heartbeat request sent by a hosting application server; wherein, the heartbeat request includes a heartbeat event type and an identity token;

[0027] A first settlement module, adopting a settlement processing method corresponding to the heartbeat event type, is configured to perform settlement processing on the virtual property of a target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server.

[0028] Optionally, in some embodiments of the present application, the virtual property settlement device applied to the host application server further includes: a second receiving module, configured to receive an account information acquisition request sent by the hosting application server; the account information acquisition request is sent when an account of the host application clicks on the hosting application icon and enters the hosting application page; a first sending module, configured to determine the account information of the account and send the account information to the hosting application server to respond to the account information acquisition request; the account information includes the identity token.

[0029] Optionally, in some embodiments of the present application, the heartbeat event type is a start heartbeat event; the first settlement module is specifically configured to: deduct all the virtual property of the target account corresponding to the identity token on the host application server; send the total value of the deducted all virtual property to the hosting application server to increase the virtual property value of the target account on the hosting application server based on the total value.

[0030] Optionally, in some embodiments of the present application, the heartbeat event type is a progress heartbeat event; the first settlement module is specifically configured to: detect the current virtual property value of the target account corresponding to the identity token on the host application server; in response to the current virtual property value being greater than a preset value, deduct the current virtual property value of the target account on the host application server; send the deducted current virtual property value to the hosting application server to increase the virtual property value of the target account on the hosting application server based on the current virtual property value.

[0031] Optionally, in some embodiments of the present application, the heartbeat event type is a recharge heartbeat event; the first settlement module is specifically configured to: obtain the first virtual property return value from the heartbeat request; wherein, the first virtual property return value is the value obtained after the hosting application server settles the virtual property of the target account when a recharge event is triggered for the target account corresponding to the identity token on the host application; determine the first virtual property return value as the total virtual property value of the target account on the host application server.

[0032] Optionally, in some embodiments of the present application, the heartbeat event type is a recharge completion heartbeat event; the first settlement module is specifically configured to: determine the virtual property increment of the target account corresponding to the identity token in the recharge event; perform settlement based on the virtual property increment and the total virtual property value of the target account on the host application server to obtain the virtual property settlement value of the target account on the host application server; deduct the virtual property settlement value of the target account on the host application server; and send the deducted virtual property settlement value to the hosting application server to increase the virtual property value of the target account on the hosting application server based on the virtual property settlement value.

[0033] Optionally, in some embodiments of the present application, the heartbeat event type is an end heartbeat event; the first settlement module is specifically configured to: obtain the second virtual property return value from the heartbeat request; wherein, the second virtual property return value is the value obtained after the hosting application server settles the virtual property of the target account corresponding to the identity token when an end event is triggered on the hosting application; and determine the second virtual property return value as the total virtual property value of the target account on the host application server.

[0034] Optionally, in some embodiments of the present application, the virtual property settlement device applied to the host application server further includes: a timing module, configured to start a timer when receiving a heartbeat request sent by the hosting application server; a recovery module, in response to not receiving a new heartbeat request from the hosting application server when the timer expires, configured to restore the virtual property value of the target account on the host application server to a first virtual property value, where the first virtual property value is the sum of the initial value and the virtual property value obtained from recharge operations within a first time period.

[0035] According to a fourth aspect of the present application, there is provided a virtual property settlement device applied to a hosting application server, including:

[0036] A second sending module, configured to send a heartbeat request to the host application server; wherein, the heartbeat request includes a heartbeat event type and an identity token;

[0037] A second settlement module, configured to perform a settlement process on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server by using a settlement processing method corresponding to the heartbeat event type.

[0038] Optionally, in some embodiments of the present application, the virtual property settlement device applied to the hosting application server further includes: a third sending module, configured to send an account information acquisition request to the hosting application server; the account information acquisition request is sent when the account of the host application clicks on the hosting application icon and enters the hosting application page; a third receiving module, configured to receive the account information sent by the host application server; the account information includes the identity token.

[0039] Optionally, in some embodiments of the present application, the heartbeat event type is a start heartbeat event; the second settlement module is specifically configured to: receive the virtual property trusteeship value sent by the host application server; the virtual property trusteeship value is the total virtual property value of the target account corresponding to the identity token on the host application server; determine the virtual property trusteeship value as the total virtual property of the target account on the hosting application server.

[0040] Optionally, in some embodiments of the present application, the heartbeat event type is a progress heartbeat event; the second settlement module is specifically configured to: receive the recharge increment value sent by the host application server; the recharge increment value is the increment value obtained by the target account performing a recharge operation on a non-host application server; increase the virtual property value of the target account on the hosting application server based on the recharge increment value.

[0041] Optionally, in some embodiments of the present application, the heartbeat event type is a recharge heartbeat event, and the heartbeat request further includes a first virtual property return value, where the first virtual property return value is the value obtained after the hosting application server settles the virtual property of the target account when a recharge event is triggered on the host application for the target account corresponding to the identity token.

[0042] Optionally, in some embodiments of the present application, the heartbeat event type is a recharge completion heartbeat event; the second settlement module is specifically configured to: obtain the virtual property settlement value of the target account on the host application server; the virtual property settlement value is a value obtained after settlement based on virtual property appreciation and the total virtual property value of the target account on the host application server, and the virtual property appreciation is the appreciation obtained by the target account performing a recharge operation on the host application server; increase the virtual property value of the target account on the hosting application server based on the virtual property settlement value.

[0043] Optionally, in some embodiments of the present application, the heartbeat event type is an end heartbeat event, and the heartbeat request further includes a second virtual property return value, which is the value obtained after the hosting application server settles the virtual property of the target account corresponding to the identity token when an end event is triggered on the hosting application.

[0044] Optionally, in some embodiments of the present application, the third sending module is specifically configured to: send a heartbeat request to the host application server at preset intervals.

[0045] According to a fifth aspect of the present application, there is provided a virtual property settlement system, including:

[0046] The virtual property settlement device as described in the foregoing third aspect;

[0047] The virtual property settlement device as described in the foregoing fourth aspect.

[0048] According to a sixth aspect of the present application, there is provided an electronic device, including:

[0049] At least one processor; and

[0050] A memory communicatively connected to the at least one processor; wherein,

[0051] The memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the method described in the foregoing first aspect, or execute the method described in the foregoing second aspect.

[0052] According to a seventh aspect of the present application, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method described in the foregoing first aspect, or execute the method described in the foregoing second aspect.

[0053] According to the technical solution of the present application, the host application server receives the heartbeat request sent by the hosting application server, and according to the different types of heartbeat events in the heartbeat request, adopts a settlement processing method corresponding to the heartbeat event type to settle the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server, avoiding frequent interactions between the host application server and the hosting application server, making the user experience smoother when using the hosting application, and improving the accuracy of virtual property settlement between the host application server and the hosting application server, enhancing the user experience in the hosting application.

[0054] Additional aspects and advantages of the present application will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The above-mentioned and / or additional aspects and advantages of the present application will become apparent and be readily understood from the following description of embodiments in conjunction with the accompanying drawings, in which:

[0056] Figure 1 FIG. [Number] is a schematic flowchart of a virtual property settlement method applied to the host application server for Embodiment 1 of the present application;

[0057] Figure 2 FIG. [Number] is a schematic flowchart of a virtual property settlement method applied to the host application server for Embodiment 2 of the present application;

[0058] Figure 3 FIG. [Number] is a schematic flowchart of a virtual property settlement method applied to the host application server for Embodiment 3 of the present application;

[0059] Figure 4 FIG. [Number] is a schematic flowchart of a virtual property settlement method applied to the host application server for Embodiment 4 of the present application;

[0060] Figure 5 FIG. [Number] is a schematic flowchart of a virtual property settlement method applied to the host application server for Embodiment 5 of the present application;

[0061] Figure 6 FIG. [Number] is a schematic flowchart of a virtual property settlement method applied to the host application server for Embodiment 6 of the present application;

[0062] Figure 7 FIG. [Number] is a schematic flowchart of a virtual property settlement method applied to the host application server for Embodiment 7 of the present application;

[0063] Figure 8 FIG. [Number] is a structural block diagram of a virtual property settlement device configured in the host application server for Embodiment 8 of the present application;

[0064] Figure 9 FIG. [Number] is a structural block diagram of a virtual property settlement device configured in the host application server for Embodiment 9 of the present application;

[0065] Figure 10 FIG. [Number] is a structural block diagram of a virtual property settlement device configured in the host application server for Embodiment 10 of the present application;

[0066] Figure 11Block diagram of a virtual property settlement device configured in a host application server provided in the eleventh embodiment of the present application;

[0067] Figure 12 Block diagram of a virtual property settlement device configured in a host application server provided in the twelfth embodiment of the present application;

[0068] Figure 13 Interaction schematic diagram of a virtual property settlement system provided in the embodiment of the present application;

[0069] Figure 14 Block diagram of an electronic device for implementing a virtual property settlement method provided in the thirteenth embodiment of the present application. Detailed implementation manners

[0070] The embodiments of the present application will be described in detail below. The examples of the embodiments are shown in the accompanying drawings, in which the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present application, but should not be construed as a limitation to the present application.

[0071] It should be noted that when using some host applications, every time there is an increase or decrease in virtual property in a third-party H5 mini-game, it is necessary to interact with the host application for the increase or decrease of virtual property. For third-party H5 mini-games with frequent increases or decreases in virtual property, it will cause a relatively large server pressure. And when the network condition is poor, there is a problem that the increase or decrease of virtual currency is inaccurate, which brings losses to users and affects the user experience.

[0072] For this reason, the present application provides a virtual property settlement method, device, electronic device and storage medium. The virtual property settlement method, device, electronic device and storage medium of the embodiments of the present application will be described below with reference to the accompanying drawings. Among them, the host application server can be a mobile application or a web page, etc., and the host application server can be a third-party H5 mini-game.

[0073] Figure 1 Flow schematic diagram of a virtual property settlement method provided in the first embodiment of the present application. This virtual property settlement method is applied to the host application server. As Figure 1 shown, this virtual property settlement method includes the following steps:

[0074] Step 101, receiving a heartbeat request sent by the host application server; wherein, the heartbeat request includes a heartbeat event type and an identity token.

[0075] It should be noted that in the embodiments of the present application, the heartbeat request sent by the hosted application server may be an HTTP (Hypertext Transfer Protocol) request. The heartbeat event type included in the heartbeat request is a parameter representing different heartbeat event types. In addition, the identity token in the heartbeat request can be understood as a unique identifier used to represent an account, and the host application server distinguishes different accounts based on this identity token.

[0076] Step 102: Use the settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account on the hosted application server and the virtual property of the target account on the host application server corresponding to the identity token.

[0077] In some embodiments of the present application, the heartbeat event types may include a start heartbeat event, a central heartbeat event, a recharge heartbeat event, a recharge completion heartbeat event, and an end heartbeat event. It should be noted that different heartbeat event types represent different behaviors of the user in the hosted application. After receiving the heartbeat request sent by the hosted application server, the host application server needs to use different settlement processing methods according to different heartbeat event types in the heartbeat request.

[0078] According to the virtual property settlement method of the embodiments of the present application, the host application server receives the heartbeat request sent by the hosted application server, and according to different heartbeat event types in the heartbeat request, uses the settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account on the hosted application server and the virtual property of the target account on the host application server corresponding to the identity token, avoiding frequent interactions between the host application server and the hosted application server, making the user's process of using the hosted application smoother, and improving the accuracy of virtual property settlement between the host application server and the hosted application server, enhancing the user experience in the hosted application.

[0079] In some embodiments of the present application, before receiving the heartbeat request sent by the hosted application server, the host application server also needs to send account information to the hosted application server, so that the identity token in the account information can be carried in the heartbeat request sent by the hosted application server, and the host application server determines which account's virtual property on the hosted application server and the host application server needs to be settled according to this identity token. Figure 2 It is a schematic flowchart of a virtual property settlement method provided by the second embodiment of the present application. This virtual property settlement method is applied to the host application server. As Figure 2 shown, this virtual property settlement method includes the following steps:

[0080] Step 201: Receive an account information acquisition request sent by the hosted application server; the account information acquisition request is sent when the account of the host application clicks on the hosted application icon and enters the hosted application page.

[0081] Step 202: Determine the account information of the account and send the account information to the hosted application server to respond to the account information acquisition request; the account information includes an identity token.

[0082] It should be noted that in addition to the identity token, the account information may also include information such as the nickname, avatar, and region of the user account.

[0083] Step 203: Receive a heartbeat request sent by the hosted application server; the heartbeat request includes a heartbeat event type and an identity token.

[0084] Step 204: Use a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server.

[0085] In the embodiments of the present application, Step 203 and Step 204 can be implemented in any of the methods in the various embodiments of the present application. The present application does not make specific limitations in this regard and will not elaborate further.

[0086] According to the virtual property settlement method of the embodiments of the present application, after the host application server receives the account information acquisition request sent by the hosted application server, it sends the account information including the identity token to the hosted application server. The host application server receives the heartbeat request containing the identity token sent by the hosted application server, and according to the different heartbeat event types in the heartbeat request, uses a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server, avoiding frequent interactions between the host application server and the hosted application server, making the user experience smoother when using the hosted application, and improving the accuracy of virtual property settlement between the host application server and the hosted application server, enhancing the user experience in the hosted application.

[0087] It should be noted that after the host application server receives the heartbeat request sent by the hosted application server, it needs to use a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server. Among them, as an example, for different heartbeat event types, taking the heartbeat event type as the start heartbeat event. Figure 3The flowchart shows a virtual property settlement method provided in the third embodiment of this application. This virtual property settlement method is applied to the host application server. As Figure 3 shown, the virtual property settlement method includes the following steps:

[0088] Step 301: Receive an account information acquisition request sent by the hosted application server; the account information acquisition request is sent when the account of the host application clicks on the hosted application icon and enters the hosted application page;

[0089] Step 302: Determine the account information of the account and send the account information to the hosted application server to respond to the account information acquisition request; the account information includes an identity token.

[0090] Step 303: Receive a heartbeat request sent by the hosted application server; among them, the heartbeat request contains a heartbeat event type and an identity token.

[0091] Step 304: Determine the heartbeat event type in the heartbeat request.

[0092] Step 305: When the heartbeat event type is the start heartbeat event, deduct all the virtual property of the target account corresponding to the identity token on the host application server.

[0093] Step 306: Send the total value of all the deducted virtual property to the hosted application server to increase the virtual property value of the target account on the hosted application server based on the total value.

[0094] For example, assume that the virtual property types of the host application and the hosted application are virtual coins, and all the virtual property of the target account corresponding to the identity token on the host application server is 1000 virtual coins. When the host application server receives a heartbeat request sent by the hosted application server and the heartbeat event type is the start heartbeat event, deduct all the virtual property of 1000 virtual coins of the target account on the host application server. Send the total value of all the deducted virtual property, which is 1000, to the hosted application server to increase the virtual property value of the target account on the hosted application server based on the total value of 1000. After the settlement process corresponding to the start heartbeat event, at this time, the total virtual property value of the target account on the host application server is 0 (1000 - 1000), and the virtual property value of the target account on the hosted application server is 1000 (0 + 1000).

[0095] It should be noted that in some embodiments of this application, in addition to the start heartbeat event, the heartbeat event type also includes other heartbeat events, and different heartbeat event types correspond to different settlement processing methods. Examples are as follows:

[0096] Example 1: When the heartbeat event type is the in - progress heartbeat event, detect the current virtual property value of the target account corresponding to the identity token on the host application server. If the current virtual property value is greater than the preset value, deduct the current virtual property value of the target account on the host application server, and send the deducted current virtual property value to the boarding application server to increase the virtual property value of the target account on the boarding application server based on the current virtual property value.

[0097] For example, assume the preset value is 0, and the virtual property value of the target account on the boarding application server is 1000 virtual coins. When the host application server receives a heartbeat request sent by the boarding application server and the heartbeat event type is the in - progress heartbeat event, detect that the current virtual property value of the target account corresponding to the identity token on the host application server is 100. Since the current virtual property value of the target account on the host application server, which is 100, is greater than the preset value of 0, it is considered that the user has a top - up operation through other channels. Deduct the current virtual property value of 100 of the target account on the host application server, and send the deducted current virtual property value of 100 to the boarding application server to increase the virtual property value of the target account on the boarding application server based on the current virtual property value of 100. After the settlement process corresponding to the in - progress heartbeat event, at this time, the total virtual property value of the target account on the host application server is 0 (100 - 100), and the virtual property value of the target account on the boarding application server is 1100 (1000 + 100). If the current virtual property value on the host application server is less than or equal to the preset value, it is considered that the user has no top - up operation through other channels, and no settlement process is performed on the virtual property of the target account corresponding to the identity token on the boarding application server.

[0098] Example 2: When the heartbeat event type is the top - up heartbeat event, the heartbeat request further includes a first virtual property return value. Obtain the first virtual property return value from the heartbeat request; where the first virtual property return value is the value obtained after the boarding application server settles the virtual property of the target account when a top - up event is triggered for the target account corresponding to the identity token on the host application. Determine the first virtual property return value as the total virtual property value of the target account on the host application server.

[0099] It should be noted that when a top - up event is triggered for the target account on the host application, the user is out of the boarding application page, and the user needs to view their current total virtual property value on the host application. Therefore, the boarding application server needs to settle the virtual property of the target account, settle the virtual property value sent by the host application server to the boarding application server when starting to use the boarding application, the virtual property value top - up through other channels during the use of the boarding application, and the virtual property value obtained or deducted during the use of the boarding application, and return the settled virtual property to the host application.

[0100] For example, assume that when a target account triggers a start event on a hosted application, the total virtual property value of the target account on the host application server is 1000, and the host application server sends the virtual property value of 1000 to the hosted application server. When the target account triggers an in-progress event on the hosted application, the user performs a recharge operation through other channels, and the recharge virtual property value through other channels is 100. After the target account triggers the previous recharge event in the hosted application (if this is the first time to trigger a recharge event, it is after the target account triggers the start event in the hosted application), and before triggering the current recharge event, the target account obtains 500 virtual coins as an incentive in the hosted application. When the target account triggers a recharge event on the host application, the hosted application server settles the virtual property value of 1000 sent by the host application server to the hosted application server, the virtual property value of 100 recharged through other channels during the use of the hosted application, and the virtual property value of 500 obtained during the use of the hosted application, and determines the virtual property return value of 1600 (1000 + 100 + 500) after settlement as the first virtual property return value. The host application server receives the heartbeat request sent by the hosted application server including the first virtual property return value of 1600, and determines the first virtual property return value of 1600 as the total virtual property value of the target account on the host application server. After the settlement process corresponding to the recharge heartbeat event, at this time, the total virtual property value of the target account on the host application server is 1600 (0 + 1600), and the virtual property value of the target account on the hosted application server is 0 (1600 - 1600).

[0101] Example 3: When the heartbeat event type is a recharge completion heartbeat event, determine the virtual property increment of the target account corresponding to the identity token in the recharge event; settle according to the virtual property increment and the total virtual property value of the target account on the host application server to obtain the virtual property settlement value of the target account on the host application server; deduct the virtual property settlement value of the target account on the host application server; send the deducted virtual property settlement value to the hosted application server to increase the virtual property value of the target account on the hosted application server based on the virtual property settlement value.

[0102] For example, assume that the virtual property increment of the target account corresponding to the identity token in the recharge event is 200, and the total value of the virtual property of the target account on the host application server is 1600. When the host application server receives a heartbeat request sent by the hosted application server and the heartbeat event type is a recharge completion heartbeat event, a settlement is performed based on the virtual property increment of 200 and the total value of the virtual property of the target account on the host application server of 1600, resulting in a virtual property settlement value of 1800 (200 + 1600) for the target account on the host application server. The virtual property settlement value of 1800 for the target account is deducted, and the deducted virtual property settlement value of 1800 is sent to the hosted application server to increase the virtual property value of the target account on the hosted application server based on the virtual property settlement value of 1800. After the settlement process corresponding to the recharge completion heartbeat event, at this time, the virtual property value of the target account on the host application server is 0 (1800 - 1800), and the virtual property value of the target account on the hosted application server is 1800 (0 + 1800).

[0103] Example 4: When the heartbeat event type is an end heartbeat event, the heartbeat request further includes a second virtual property return value, and the second virtual property return value is obtained from the heartbeat request; wherein, the second virtual property return value is the value obtained after the hosted application server settles the virtual property of the target account when the target account corresponding to the identity token triggers an end event on the hosted application; the second virtual property return value is determined as the total value of the virtual property of the target account on the host application server.

[0104] For example, before the target account triggers an end event on the hosting application, when the target account triggers a recharge completion event on the hosting application (if the target account does not trigger a recharge completion event after triggering a start event in the hosting application, it is when the target account triggers a start event in the hosting application), the virtual property value sent by the host application server to the hosting application server is 1,800. After the target account triggers the previous recharge completion event in the hosting application (if the target account does not trigger a recharge completion event after triggering a start event in the hosting application, it is after the target account triggers a start event in the hosting application) and before triggering the end event, the target account obtains 1,000 virtual coins as incentives in the hosting application. When the target account triggers an end event on the host application, the hosting application server settles the virtual property value of 1,800 sent by the host application server to the hosting application server and the virtual property value of 1,000 obtained during the use of the hosting application, and determines the settled virtual property value of 2,800 (1,800 + 1,000) as the second virtual property return value. The host application server receives the heartbeat request sent by the hosting application server including the second virtual property return value of 2,800, and determines the second virtual property return value of 2,800 as the total virtual property value of the target account on the host application server. After the settlement process corresponding to the end heartbeat event, at this time, the total virtual property value of the target account on the host application server is 2,800 (0 + 2,800), and the virtual property value of the target account on the hosting application server is 0 (2,800 - 2,800).

[0105] According to the virtual property settlement method of the embodiment of the present application, after the host application server receives the account information acquisition request sent by the hosting application server, it sends the account information including the identity token to the hosting application server. The host application server receives the heartbeat request sent by the hosting application server including the identity token, and the heartbeat event types in the heartbeat request include a start heartbeat event, a progress heartbeat event, a recharge heartbeat event, a recharge completion heartbeat event, and an end heartbeat event. After receiving the heartbeat request, the host application server uses a settlement processing method corresponding to the heartbeat event type to settle the virtual property of the target account on the hosting application server corresponding to the identity token and the virtual property of the target account on the host application server, avoiding frequent interactions between the host application server and the hosting application server, making the process of the user using the hosting application smoother, and further improving the accuracy of virtual property settlement between the host application server and the hosting application server, and enhancing the user experience in the hosting application.

[0106] In some embodiments of the present application, in order to avoid the problem that the virtual property on the hosting application server and the virtual property on the host application server of the target account cannot be normally settled in special situations such as network anomalies or when the user directly exits during the use of the hosting application, a timer can be set on the host application server. If a new heartbeat request is not received within a preset time, it is regarded as a special situation, and corresponding settlement processing methods are adopted for the virtual property value of the target account on the host application server. As an example, Figure 4 FIG. 2 is a schematic flowchart of a virtual property settlement method provided in the fourth embodiment of the present application. This virtual property settlement method is applied to the host application server. As Figure 4 shown, this virtual property settlement method includes the following steps:

[0107] Step 401, receiving an account information acquisition request sent by the hosting application server; the account information acquisition request is sent when the account of the host application clicks on the hosting application icon and enters the hosting application page.

[0108] Step 402, determining the account information of the account, and sending the account information to the hosting application server to respond to the account information acquisition request; the account information includes an identity token.

[0109] Step 403, receiving a heartbeat request sent by the hosting application server, and starting a timer when the heartbeat request sent by the hosting application server is received; among them, the heartbeat request contains a heartbeat event type and an identity token.

[0110] Step 404, determining whether a new heartbeat request sent by the hosting application server is received when the timer expires. If a new heartbeat request sent by the hosting application server is received when the timer expires, execute Step 405; if a new heartbeat request sent by the hosting application server is still not received when the timer expires, execute Step 406.

[0111] Step 405, adopting a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server.

[0112] Step 406, restoring the virtual property value of the target account on the host application server to a first virtual property value, and the first virtual property value is the sum of the initial value and the virtual property value obtained from the recharge operation within the first time period.

[0113] It should be noted that the initial value is the virtual property value before receiving the start heartbeat event request sent by the host application server, and the first time period is the time between receiving the start heartbeat event request sent by the host application server and the timer expiration. As an example, the virtual property value before the host application server receives the start heartbeat event request sent by the host application server is 1000. During the time between receiving the start heartbeat event request sent by the host application server and the timer expiration, the virtual property value obtained from the recharge operation is 600. Among them, the recharge operation includes recharge operations from other channels and recharge operations triggered on the host application server. When the timer expires and a new heartbeat request from the host application server has not been received yet, the virtual property value of the target account on the host application server is restored to the first virtual property value, which is the sum of the initial value 1000 and the virtual property value 600 obtained from the recharge operation during the first time period, i.e., 1600.

[0114] According to the virtual property settlement method of the embodiments of the present application, after the host application server receives the account information acquisition request sent by the host application server, it sends the account information including the identity token to the host application server. The host application server receives the heartbeat request including the identity token sent by the host application server, and according to the different types of heartbeat events in the heartbeat request, adopts the settlement processing method corresponding to the type of heartbeat event to settle the virtual property of the target account corresponding to the identity token on the host application server and the virtual property of the target account on the host application server, avoiding frequent interactions between the host application server and the host application server, making the user's process of using the host application smoother, and improving the accuracy of virtual property settlement between the host application server and the host application server. And by setting a timer, it avoids the problem that the virtual property of the target account on the host application server and the virtual property on the host application server cannot be normally settled in special cases such as network anomalies or the user directly exiting during the process of using the host application, minimizing the user's losses and enhancing the user experience in the host application.

[0115] In some embodiments of the present application, Figure 5 FIG. 5 is a schematic flowchart of a virtual property settlement method provided in Embodiment 5 of the present application. This virtual property settlement method is applied to the host application server. As Figure 5 shown, this virtual property settlement method includes the following steps:

[0116] Step 501, send a heartbeat request to the host application server; among them, the heartbeat request includes the type of heartbeat event and the identity token.

[0117] In some embodiments of the present application, the hosted application server sends a heartbeat request to the host application server at preset intervals. As an example, the preset interval can be set to 10 seconds, and the hosted application server sends a heartbeat request to the host application server every 10 seconds. Among them, the preset interval needs to be less than the set time of the timer in the fourth embodiment of the present application. For example, the preset interval is 10 seconds and the set time of the timer is 30 seconds.

[0118] Step 502, adopt a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server.

[0119] It should be noted that different heartbeat event types represent different behaviors of the user in the hosted application. After the hosted application server sends a heartbeat request to the host application server, different settlement processing methods need to be adopted according to different heartbeat event types in the heartbeat request. In some embodiments of the present application, the heartbeat event types may include start heartbeat event, in - progress heartbeat event, recharge heartbeat event, recharge completion heartbeat event, and end heartbeat event.

[0120] According to the virtual property settlement method of the embodiments of the present application, the hosted application server sends a heartbeat request to the host application server, and according to different heartbeat event types in the heartbeat request, adopts a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server, avoiding frequent interactions between the host application server and the hosted application server, making the process of the user using the hosted application smoother, and improving the accuracy of virtual property settlement between the host application server and the hosted application server, enhancing the user experience in the hosted application.

[0121] In some embodiments of the present application, before the hosted application server sends a heartbeat request to the host application server, it also needs to send an account information acquisition request to the host application server to obtain the identity token in the account information. As an example, Figure 6 The flowchart of a virtual property settlement method provided in the sixth embodiment of the present application, and this virtual property settlement method is applied to the hosted application server. As Figure 6 shown, this virtual property settlement method includes the following steps:

[0122] Step 601, send an account information acquisition request to the host application server; the account information acquisition request is sent when the account of the host application clicks on the hosted application icon and enters the hosted application page.

[0123] Step 602: Receive the account information sent by the host application server; the account information includes an identity token.

[0124] Step 603: Send a heartbeat request to the host application server; the heartbeat request includes a heartbeat event type and an identity token.

[0125] Step 604: Settle the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server by using a settlement processing method corresponding to the heartbeat event type.

[0126] According to the virtual property settlement method of the embodiments of the present application, the hosting application server sends an account information acquisition request to the host application server and receives the account information including the identity token sent by the host application server. The hosting application server sends a heartbeat request to the host application server, and according to the different heartbeat event types in the heartbeat request, uses a settlement processing method corresponding to the heartbeat event type to settle the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server, avoiding frequent interactions between the host application server and the hosting application server, making the user experience smoother during the use of the hosting application, and improving the accuracy of virtual property settlement between the host application server and the hosting application server, enhancing the user experience in the hosting application.

[0127] It should be noted that after the hosting application server sends a heartbeat request to the host application server, it is necessary to use a settlement processing method corresponding to the heartbeat event type to settle the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server. Among them, as an example, taking the heartbeat event type as the start heartbeat event, the settlement processing methods corresponding to different heartbeat event types Figure 7 is a schematic flowchart of a virtual property settlement method provided in the seventh embodiment of the present application. This virtual property settlement method is applied to the hosting application server. As Figure 7 shown, this virtual property settlement method includes the following steps:

[0128] Step 701: Send an account information acquisition request to the host application server; the account information acquisition request is sent when the account of the host application clicks on the hosting application icon and enters the hosting application page.

[0129] Step 702: Receive the account information sent by the host application server; the account information includes an identity token.

[0130] Step 703: Send a heartbeat request to the host application server; the heartbeat request includes a heartbeat event type and an identity token.

[0131] Step 704, determine the heartbeat event type in the heartbeat request.

[0132] Step 705, when the heartbeat event type is the start heartbeat event, receive the virtual property trusteeship value sent by the host application server; the virtual property trusteeship value is all the virtual property values of the target account corresponding to the identity token on the host application server.

[0133] It should be noted that when the user clicks the "Start" or other buttons to start using the host application in the host application interface, it is regarded that the start event is triggered on the host application for the target account corresponding to the identity token, and the heartbeat event type is determined to be the start heartbeat event.

[0134] Step 706, determine the virtual property trusteeship value as all the virtual property of the target account on the host application server.

[0135] It should be noted that in some embodiments of the present application, the heartbeat event type includes other heartbeat events in addition to the start heartbeat event, and different heartbeat event types correspond to different settlement processing methods, as shown in the following examples:

[0136] Example 1: When the heartbeat event type is the ongoing heartbeat event, receive the recharge increment value sent by the host application server; the recharge increment value is the increment value obtained by the target account performing a recharge operation on the non-host application server; increase the virtual property value of the target account on the host application server based on the recharge increment value.

[0137] It should be noted that after the start event is triggered on the host application for the target account corresponding to the identity token, when the host application server does not detect the recharge event, recharge completion event, or end event triggered on the host application for the target account corresponding to the identity token, the heartbeat event type can be determined to be the ongoing heartbeat event.

[0138] Example 2: When the heartbeat event type is the recharge heartbeat event, the heartbeat request sent by the host application server to the host application server further includes a first virtual property return value, and the first virtual property return value is the value obtained after the host application server settles the virtual property of the target account when the recharge event is triggered on the host application for the target account corresponding to the identity token.

[0139] It should be noted that when the recharge event is triggered on the host application for the target account corresponding to the identity token, such as clicking the "Recharge" button on the host application page, the heartbeat event type is determined to be the recharge heartbeat event.

[0140] Example 3: When the heartbeat event type is a recharge completion heartbeat event, obtain the virtual property settlement value of the target account on the host application server; the virtual property settlement value is a value obtained after settlement based on the virtual property increment and the total virtual property value of the target account on the host application server, and the virtual property increment is the increment obtained by the target account performing a recharge operation on the host application server; increase the virtual property value of the target account on the host application server based on the virtual property settlement value.

[0141] It should be noted that in some embodiments of the present application, when the target account corresponding to the identity token completes a recharge on the host application, the recharge page will be closed. When the host application server captures the action of closing the recharge page, it is determined that the heartbeat event type is a recharge completion heartbeat event.

[0142] Example 4: When the heartbeat event type is an end heartbeat event, the heartbeat request sent by the host application server to the host application server further includes a second virtual property return value, and the second virtual property return value is the value obtained after the host application server settles the virtual property of the target account when the target account corresponding to the identity token triggers an end event on the host application.

[0143] It should be noted that when the user clicks the "Exit", "End" or other buttons to end the use of the host application in the host application interface, it can be regarded as the target account corresponding to the identity token triggering an end event on the host application, and it is determined that the heartbeat event type is an end heartbeat event.

[0144] According to the virtual property settlement method of the embodiments of the present application, the host application server sends an account information acquisition request to the host application server and receives the account information including the identity token sent by the host application server. The host application server sends a heartbeat request to the host application server, and the heartbeat event type in the heartbeat request includes a start heartbeat event, a center heartbeat event, a recharge heartbeat event, a recharge completion heartbeat event, and an end heartbeat event. After the host application server sends the heartbeat request, according to the different heartbeat event types in the heartbeat request, a settlement processing method corresponding to the heartbeat event type is adopted to settle the virtual property of the target account corresponding to the identity token on the host application server and the virtual property of the target account on the host application server, avoiding frequent interactions between the host application server and the host application server, making the user's process of using the host application smoother, and improving the accuracy of virtual property settlement between the host application server and the host application server, enhancing the user experience in the host application.

[0145] Figure 8 It is a structural block diagram of a virtual property settlement device provided in Embodiment 8 of the present application, and the virtual property settlement device is configured on the host application server. AsFigure 8 As shown, the virtual property settlement device may include a first receiving module 801 and a first settlement module 802.

[0146] Specifically, the first receiving module 801 is configured to receive a heartbeat request sent by a hosting application server; wherein, the heartbeat request includes a heartbeat event type and an identity token.

[0147] The first settlement module 802 uses a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server.

[0148] In some embodiments of the present application, when the heartbeat event type is a start heartbeat event, the first settlement module 802 is specifically configured to: deduct all the virtual property of the target account corresponding to the identity token on the host application server; send the total value of the deducted virtual property to the hosting application server to increase the virtual property value of the target account on the hosting application server based on the total value.

[0149] In some embodiments of the present application, when the heartbeat event type is a center heartbeat event, the first settlement module 802 is specifically configured to: detect the current virtual property value of the target account corresponding to the identity token on the host application server; in response to the current virtual property value being greater than a preset value, deduct the current virtual property value of the target account on the host application server; send the deducted current virtual property value to the hosting application server to increase the virtual property value of the target account on the hosting application server based on the current virtual property value.

[0150] In some embodiments of the present application, when the heartbeat event type is a recharge heartbeat event, the first settlement module 802 is specifically configured to: obtain a first virtual property return value from the heartbeat request; wherein, the first virtual property return value is the value obtained after the hosting application server settles the virtual property of the target account when a recharge event is triggered on the host application corresponding to the identity token; determine the total virtual property value of the target account on the host application server as the first virtual property return value.

[0151] In some embodiments of the present application, when the heartbeat event type is a recharge completion heartbeat event, the first settlement module 802 is specifically configured to: determine the virtual property increment of the target account corresponding to the identity token in the recharge event; perform settlement based on the virtual property increment and the total virtual property value of the target account on the host application server to obtain the virtual property settlement value of the target account on the host application server; deduct the virtual property settlement value of the target account on the host application server; send the deducted virtual property settlement value to the hosting application server to increase the virtual property value of the target account on the hosting application server based on the virtual property settlement value.

[0152] In some embodiments of the present application, when the heartbeat event type is an end heartbeat event, the first settlement module 802 is specifically configured to: obtain a second virtual property return value from the heartbeat request; wherein, the second virtual property return value is the value obtained after the virtual property of the target account corresponding to the identity token is settled by the hosting application server when an end event is triggered on the hosting application; and determine the second virtual property return value as the total virtual property value of the target account on the host application server.

[0153] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.

[0154] In some embodiments of the present application, as Figure 9 shown, Figure 9 FIG. 9 is a structural block diagram of a virtual property settlement device provided in Embodiment 9 of the present application. The virtual property settlement device is configured on the host application server, and the virtual property settlement device may further include a second receiving module 903 and a first sending module 904.

[0155] Specifically, the second receiving module 903 is configured to receive an account information acquisition request sent by the hosting application server; the account information acquisition request is sent when the account of the host application clicks on the hosting application icon and enters the hosting application page.

[0156] The first sending module 904 is configured to determine the account information of the account and send the account information to the hosting application server to respond to the account information acquisition request; the account information includes an identity token.

[0157] Wherein, Figure 9 901 and 902 in Figure 8 have the same functions and structures as 801 and 802 in

[0158] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.

[0159] In some embodiments of the present application, as Figure 10 shown, Figure 10 FIG. 10 is a structural block diagram of a virtual property settlement device provided in Embodiment 10 of the present application. The virtual property settlement device is configured on the host application server, and the virtual property settlement device may further include a timing module 1005 and a recovery module 1006.

[0160] Specifically, the timing module 1005 is configured to start a timer when receiving a heartbeat request sent by the hosting application server.

[0161] The restoration module 1006, in response to not receiving a new heartbeat request from the host application server when the timer expires, is used to restore the virtual property value of the target account on the host application server to the first virtual property value, where the first virtual property value is the sum of the initial value and the virtual property value obtained from recharge operations within the first time period.

[0162] Among them, Figure 10 1001 - 1004 in Figure 9 has the same functions and structures as 901 and 904 in

[0163] Regarding the device in the above embodiments, the specific ways in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0164] According to the virtual property settlement device of the embodiments of the present application, after the host application server receives an account information acquisition request sent by the hosted application server, it sends account information containing an identity token to the hosted application server. The host application server receives a heartbeat request containing an identity token sent by the hosted application server, and according to different heartbeat event types in the heartbeat request, adopts a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account on the hosted application server and the virtual property of the target account on the host application server corresponding to the identity token, avoiding frequent interactions between the host application server and the hosted application server, making the process of the user using the hosted application smoother, and improving the accuracy of virtual property settlement between the host application server and the hosted application server. And by setting a timer, it avoids the problem that the virtual property of the target account on the hosted application server and the virtual property on the host application server cannot be normally settled in special situations such as network anomalies or the user directly exiting during the process of using the hosted application, minimizing user losses and enhancing the user experience in the hosted application.

[0165] Figure 11 It is a structural block diagram of a virtual property settlement device provided in the eleventh embodiment of the present application. The virtual property settlement device is configured in the hosted application server. As Figure 11 shown, the virtual property settlement device may include a second sending module 1101 and a second settlement module 1102.

[0166] Specifically, the second sending module 1101 is used to send a heartbeat request to the host application server; among them, the heartbeat request contains a heartbeat event type and an identity token;

[0167] The second settlement module 1102 is configured to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server by using a settlement processing method corresponding to the heartbeat event type.

[0168] In some embodiments of the present application, when the heartbeat event type is the start heartbeat event, the second settlement module 1102 is specifically configured to: receive the virtual property custody value sent by the host application server; the virtual property custody value is the total virtual property value of the target account corresponding to the identity token on the host application server; determine the virtual property custody value as the total virtual property of the target account on the hosted application server.

[0169] In some embodiments of the present application, when the heartbeat event type is the ongoing heartbeat event, the second settlement module 1102 is specifically configured to: receive the recharge increment value sent by the host application server; the recharge increment value is the increment value obtained by the target account performing a recharge operation on a non-host application server; increase the virtual property value of the target account on the hosted application server based on the recharge increment value.

[0170] In some embodiments of the present application, when the heartbeat event type is the recharge heartbeat event, the second settlement module 1102 is specifically configured to: the heartbeat request sent by the hosted application server to the host application server further includes a first virtual property return value, and the first virtual property return value is the value obtained after the hosted application server settles the virtual property of the target account when the target account corresponding to the identity token triggers a recharge event on the host application.

[0171] In some embodiments of the present application, when the heartbeat event type is the recharge completion heartbeat event, the second settlement module 1102 is specifically configured to: obtain the virtual property settlement value of the target account on the host application server; the virtual property settlement value is the value obtained after settlement based on the virtual property increment and the total virtual property value of the target account on the host application server, and the virtual property increment is the increment obtained by the target account performing a recharge operation on the host application server; increase the virtual property value of the target account on the hosted application server based on the virtual property settlement value.

[0172] In some embodiments of the present application, when the heartbeat event type is the end heartbeat event, the second settlement module 1102 is specifically configured to: the heartbeat request sent by the hosted application server to the host application server further includes a second virtual property return value, and the second virtual property return value is the value obtained after the hosted application server settles the virtual property of the target account when the target account corresponding to the identity token triggers an end event on the hosted application.

[0173] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0174] In some embodiments of the present application, as Figure 12 shown, Figure 12 FIG. 12 is a structural block diagram of a virtual property settlement device provided in the twelfth embodiment of the present application. The virtual property settlement device is configured in a host application server, and the virtual property settlement device may further include a third sending module 1203 and a third receiving module 1204.

[0175] Specifically, the third sending module 1203 is configured to send an account information acquisition request to the host application server; the account information acquisition request is sent when the account of the host application clicks on the host application icon and enters the host application page.

[0176] In some embodiments of the present application, the third sending module 1203 is further specifically configured to: send a heartbeat request to the host application server at preset intervals.

[0177] The third receiving module 1204 is configured to receive the account information sent by the host application server; the account information includes an identity token.

[0178] Wherein, Figure 12 1201 and 1202 in Figure 11 have the same functions and structures as 1101 and 1102 in

[0179] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.

[0180] According to the virtual property settlement device of the embodiments of the present application, the host application server sends an account information acquisition request to the host application server and receives the account information including the identity token sent by the host application server. The host application server sends a heartbeat request to the host application server, and the heartbeat event types in the heartbeat request include a start heartbeat event, a center heartbeat event, a recharge heartbeat event, a recharge completion heartbeat event, and an end heartbeat event. After the host application server sends the heartbeat request, according to the different heartbeat event types in the heartbeat request, a settlement processing method corresponding to the heartbeat event type is adopted to perform settlement processing on the virtual property of the target account corresponding to the identity token on the host application server and the virtual property of the target account on the host application server, avoiding frequent interactions between the host application server and the host application server, making the user's process of using the host application smoother, and improving the accuracy of virtual property settlement between the host application server and the host application server, enhancing the user experience in the host application.

[0181] To implement the above embodiments, the present application further provides a virtual property settlement system, which includes: the virtual property settlement device described in any one of the embodiments as shown in Figures 8 to 10 ; and the virtual property settlement device described in any one of the embodiments as shown in Figures 11 to 12 . To better understand the virtual property settlement system provided by the embodiments of the present application, the following will be described in detail in conjunction with Figure 13 , Figure 13 which is a schematic diagram of a virtual property settlement system provided by an embodiment of the present application.

[0182] Assume that the virtual property settlement device described in any one of the embodiments as shown in Figures 8 to 10 is configured on the host application server; the virtual property settlement device described in any one of the embodiments as shown in Figures 11 to 12 is configured on the guest application server. As shown in Figure 13As shown, when the account of the host application (such as a user) clicks on the icon of the hosted application and enters the hosted application page, the hosted application server sends an account information acquisition request to the host application server (S1301). After receiving the account information acquisition request sent by the hosted application server, the host application server determines the account information of the account and sends the account information to the hosted application server, where the account information includes an identity token (S1302). The hosted application server sends a heartbeat request to the host application server at a preset interval. When the target account corresponding to the identity token triggers a start event on the hosted application, the hosted application server sends a heartbeat request including the start heartbeat event to the host application server (S1303). The host application server deducts all the virtual property of 1000 of the target account on the host application server and sends the all virtual property of 1000 of the target account on the host application server as the virtual property escrow value to the hosted application server (S1304). The hosted application server sends a heartbeat request including the central heartbeat event to the host application server (S1305). The host application server detects that the current virtual property value of the target account corresponding to the identity token on the host application server is 0, which is less than or equal to the preset value of 0. Therefore, no settlement process is performed on the virtual property of the target account on the hosted application server and the virtual property on the host application server. Here, 150 is the incentive value obtained by the target account during the use of the hosted application. The hosted application server sends a heartbeat request including the central heartbeat event to the host application server (S1306). The host application server detects that the current virtual property value of the target account corresponding to the identity token on the host application server is 100, which is greater than the preset value of 0. It is regarded that the target account has performed a recharge operation on a non-host application server, obtaining an increase value of 100. The host application server deducts the current virtual property value of 100 and sends the current virtual property value of 100 as the recharge increase value to the hosted application server (S1307). Here, -60 is the incentive value deducted by the target account during the use of the hosted application. When the target account triggers a recharge event on the host application, the hosted application server settles the virtual property of the target account and sends a heartbeat request including the recharge heartbeat event and the first virtual property return value of 1190 as the first virtual property return value to the host application server (S1308). When the target account completes the recharge and closes the recharge page on the host application, the hosted application server sends a heartbeat request including the recharge completion heartbeat event to the host application server (S1309). The increase value obtained by the target account through the recharge operation on the host application server is 300. The host application server settles the virtual property of the target account and obtains the virtual property settlement value of 1490. The host application server deducts the virtual property settlement value of 1490 of the target account on the host application server and sends the virtual property settlement value of 1490 to the hosted application server (S1310).The hosted application server sends a heartbeat request including a center heartbeat event to the host application server (S1311, S1312). The host application server detects that the target account has not performed a recharge operation on the non-hosted application server, so it does not perform settlement processing on the virtual property of the target account on the hosted application server and the virtual property on the host application server. When an end event is triggered on the hosted application for the target account, the hosted application server settles the virtual property of the target account and returns the value 1370 obtained after settlement as the second virtual property return value, and sends a heartbeat request including the end heartbeat event and the second virtual property return value to the host application server (S1313).

[0183] To implement the above embodiments, the present application also proposes an electronic device.

[0184] Figure 14 It is a structural block diagram of an electronic device provided in Embodiment Thirteen of the present application. As Figure 14 shown, the electronic device 1400 may include a memory 1401, a processor 1402, and a computer program 1403 stored on the memory 1401 and executable on the processor 1402. When the processor 1402 executes the computer program 1403, it executes the virtual property settlement method described in any of the above embodiments of the present application.

[0185] To implement the above embodiments, the present application also proposes a non-transitory computer-readable storage medium storing computer instructions. When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the virtual property settlement method described in any of the above embodiments of the present application.

[0186] In the description of this specification, the descriptions with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without conflict, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0187] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the technical features indicated. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "a plurality of" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0188] Any process or method description represented in a flowchart or otherwise described herein may be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a customized logical function or process. The scope of the preferred embodiments of the present application includes additional implementations, where functions may be executed not in the order shown or discussed, including in a substantially simultaneous manner according to the functions involved or in a reverse order, which should be understood by those skilled in the art to which the embodiments of the present application pertain.

[0189] The logic and / or steps represented in a flowchart or otherwise described herein, for example, may be considered a sequenced list of executable instructions for implementing a logical function and may be embodied specifically in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection portion having one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable medium on which the program can be printed, as the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or otherwise processing as appropriate, and then storing it in a computer memory.

[0190] It should be understood that each part of the present application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one of the following techniques known in the art or a combination thereof can be used: discrete logic circuits having logic gate circuits for implementing logic functions on data signals, application specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0191] Those of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by instructing relevant hardware through a program. The said program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0192] In addition, each functional unit in various embodiments of the present application can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. When the above integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0193] The above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disc, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.

Claims

1. A virtual property settlement method, characterized in that, The method is applied to the host application server, and the method includes: Receiving a heartbeat request sent by the hosted application server; wherein, the heartbeat request includes a heartbeat event type and an identity token; wherein, different said heartbeat event types represent different behaviors of the user in the hosted application server, and the heartbeat event types include a start heartbeat event, a center heartbeat event, a recharge heartbeat event, a recharge completion heartbeat event, and an end heartbeat event; Adopting a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server.

2. The method according to claim 1, characterized in that Before receiving the heartbeat request sent by the hosted application server, the method further includes: Receiving an account information acquisition request sent by the hosted application server; the account information acquisition request is sent when the account of the host application clicks on the hosted application icon and enters the hosted application page; Determining the account information of the account and sending the account information to the hosted application server to respond to the account information acquisition request; the account information includes the identity token.

3. The method according to claim 1, wherein The heartbeat event type is a start heartbeat event; the adopting a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server includes: Deducting all the virtual property of the target account corresponding to the identity token on the host application server; Sending the total value of the deducted all virtual property to the hosted application server to increase the virtual property value of the target account on the hosted application server based on the total value.

4. The method according to claim 1, wherein The heartbeat event type is a center heartbeat event; the adopting a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server includes: Detecting the current virtual property value of the target account corresponding to the identity token on the host application server; In response to the current virtual property value being greater than a preset value, deducting the current virtual property value of the target account on the host application server; Sending the deducted current virtual property value to the hosted application server to increase the virtual property value of the target account on the hosted application server based on the current virtual property value.

5. The method according to claim 1, wherein The heartbeat event type is a recharge heartbeat event, and the heartbeat request further includes a first virtual property return value; the adopting a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosted application server and the virtual property of the target account on the host application server includes: Obtain the first virtual property return value from the heartbeat request; wherein, the first virtual property return value is the value obtained after the virtual property of the target account corresponding to the identity token is settled by the hosting application server when a recharge event is triggered on the host application; determine the first virtual property return value as the total virtual property value of the target account on the host application server.

6. The method according to claim 1, wherein The heartbeat event type is a recharge completion heartbeat event; the settlement processing of the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server by using the settlement processing method corresponding to the heartbeat event type includes: Determine the virtual property increment of the target account corresponding to the identity token in the recharge event; Settle according to the virtual property increment and the total virtual property value of the target account on the host application server to obtain the virtual property settlement value of the target account on the host application server; Deduct the virtual property settlement value of the target account on the host application server; Send the deducted virtual property settlement value to the hosting application server to increase the virtual property value of the target account on the hosting application server based on the virtual property settlement value.

7. The method according to claim 1, wherein The heartbeat event type is an end heartbeat event, and the heartbeat request further includes a second virtual property return value; the settlement processing of the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server by using the settlement processing method corresponding to the heartbeat event type includes: Obtain the second virtual property return value from the heartbeat request; wherein, the second virtual property return value is the value obtained after the virtual property of the target account corresponding to the identity token is settled by the hosting application server when an end event is triggered on the hosting application; Determine the second virtual property return value as the total virtual property value of the target account on the host application server.

8. The method according to claim 1, wherein Further includes: Start a timer when receiving the heartbeat request sent by the hosting application server; In response to not receiving a new heartbeat request sent by the hosting application server when the timer expires, restore the virtual property value of the target account on the host application server to the first virtual property value, and the first virtual property value is the sum of the initial value and the virtual property value obtained from the recharge operation within the first time period.

9. A virtual property settlement method, characterized in that The method is applied to the hosting application server, and the method includes: Send a heartbeat request to the host application server; wherein, the heartbeat request includes a heartbeat event type and an identity token; wherein, different heartbeat event types represent different behaviors of the user in the hosting application server, and the heartbeat event types include a start heartbeat event, a center heartbeat event, a recharge heartbeat event, a recharge completion heartbeat event, and an end heartbeat event; Adopt a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server.

10. The method according to claim 9, wherein Before sending the heartbeat request to the host application server, the method further includes: Sending an account information acquisition request to the host application server; the account information acquisition request is sent when the account of the host application clicks on the hosting application icon and enters the hosting application page; Receiving the account information sent by the host application server; the account information includes the identity token.

11. The method according to claim 9, wherein The heartbeat event type is the start heartbeat event; the adopting a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server includes: Receiving the virtual property trusteeship value sent by the host application server; the virtual property trusteeship value is the total virtual property value of the target account corresponding to the identity token on the host application server; Determining the virtual property trusteeship value as the total virtual property of the target account on the hosting application server.

12. The method according to claim 9, wherein The heartbeat event type is the ongoing center heartbeat event; the adopting a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server includes: Receiving the recharge increment value sent by the host application server; the recharge increment value is the increment value obtained by the target account performing a recharge operation on a non-host application server; Increasing the virtual property value of the target account on the hosting application server based on the recharge increment value.

13. The method according to claim 9, wherein The heartbeat event type is the recharge heartbeat event, and the heartbeat request further includes a first virtual property return value, where the first virtual property return value is the value obtained after the hosting application server settles the virtual property of the target account when a recharge event is triggered on the host application for the target account corresponding to the identity token.

14. The method according to claim 9, wherein The heartbeat event type is the recharge completion heartbeat event; the adopting a settlement processing method corresponding to the heartbeat event type to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server includes: Obtaining the virtual property settlement value of the target account on the host application server; the virtual property settlement value is the value obtained after settlement based on the virtual property increment and the total virtual property value of the target account on the host application server, and the virtual property increment is the increment obtained by the target account performing a recharge operation on the host application server; Increasing the virtual property value of the target account on the hosting application server based on the virtual property settlement value.

15. The method according to claim 9, wherein The heartbeat event type is an end heartbeat event, and the heartbeat request further includes a second virtual property return value, which is the value obtained after the hosting application server settles the virtual property of the target account corresponding to the identity token when an end event is triggered on the hosting application.

16. The method according to claim 9, characterized in that, Sending the heartbeat request to the host application server includes: Sending a heartbeat request to the host application server at preset intervals.

17. A virtual property settlement device, characterized in that, The device is applied to the host application server, and the device includes: A first receiving module, configured to receive a heartbeat request sent by the hosting application server; wherein, the heartbeat request includes a heartbeat event type and an identity token; wherein, different heartbeat event types represent different behaviors of the user in the hosting application server, and the heartbeat event types include a start heartbeat event, a center heartbeat event, a recharge heartbeat event, a recharge completion heartbeat event, and an end heartbeat event; A first settlement module, which adopts a settlement processing method corresponding to the heartbeat event type, and is configured to perform settlement processing on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the host application server.

18. The device according to claim 17, wherein the device further includes: A second receiving module, configured to receive an account information acquisition request sent by the hosting application server; The account information acquisition request is sent when the account of the host application clicks on the hosting application icon and enters the hosting application page; A first sending module, configured to determine the account information of the account and send the account information to the hosting application server to respond to the account information acquisition request; the account information includes the identity token.

19. The device according to claim 17, wherein The heartbeat event type is a start heartbeat event; specifically, the first settlement module is configured to: Deduct all the virtual property of the target account corresponding to the identity token on the host application server; Send the total value of the deducted all virtual property to the hosting application server to increase the virtual property value of the target account on the hosting application server based on the total value.

20. The device according to claim 17, characterized in that, The heartbeat event type is a center heartbeat event; specifically, the first settlement module is configured to: Detect the current virtual property value of the target account corresponding to the identity token on the host application server; In response to the current virtual property value being greater than a preset value, deduct the current virtual property value of the target account on the host application server; Send the deducted current virtual property value to the hosting application server to increase the virtual property value of the target account on the hosting application server based on the current virtual property value.

21. The device according to claim 17, characterized in that, The heartbeat event type is a recharge heartbeat event, and the heartbeat request further includes a first virtual property return value; specifically, the first settlement module is configured to: Obtain the first virtual property return value from the heartbeat request; wherein, the first virtual property return value is the value obtained after the hosting application server settles the virtual property of the target account corresponding to the identity token when a recharge event is triggered on the hosting application; determine the first virtual property return value as the total virtual property value of the target account on the hosting application server.

22. The device according to claim 17, characterized in that, The heartbeat event type is a recharge completion heartbeat event; the first settlement module is specifically configured to: Determine the virtual property increment of the target account corresponding to the identity token in the recharge event; Settle according to the virtual property increment and the total virtual property value of the target account on the hosting application server to obtain the virtual property settlement value of the target account on the hosting application server; Deduct the virtual property settlement value of the target account on the hosting application server; Send the deducted virtual property settlement value to the hosting application server to increase the virtual property value of the target account on the hosting application server based on the virtual property settlement value.

23. The device according to claim 17, characterized in that, The heartbeat event type is an end heartbeat event, and the heartbeat request further includes a second virtual property return value; the first settlement module is specifically configured to: Obtain the second virtual property return value from the heartbeat request; wherein, the second virtual property return value is the value obtained after the hosting application server settles the virtual property of the target account corresponding to the identity token when an end event is triggered on the hosting application; Determine the second virtual property return value as the total virtual property value of the target account on the hosting application server.

24. The device according to claim 17, wherein the device further includes: A timing module, configured to start a timer when receiving a heartbeat request sent by the hosting application server; A recovery module, in response to not receiving a new heartbeat request from the hosting application server when the timer expires, is configured to restore the virtual property value of the target account on the hosting application server to a first virtual property value, and the first virtual property value is the sum of the initial value and the virtual property value obtained from recharge operations within a first time period.

25. A virtual property settlement device, characterized in that, The device is applied to a hosting application server, and the device includes: A second sending module, configured to send a heartbeat request to the hosting application server; wherein, the heartbeat request includes a heartbeat event type and an identity token; wherein, different heartbeat event types represent different behaviors of a user in the hosting application server, and the heartbeat event types include a start heartbeat event, a center heartbeat event, a recharge heartbeat event, a recharge completion heartbeat event, and an end heartbeat event; A second settlement module, configured to perform a settlement process on the virtual property of the target account corresponding to the identity token on the hosting application server and the virtual property of the target account on the hosting application server by using a settlement processing method corresponding to the heartbeat event type.

26. The device according to claim 25, wherein the device further includes: A third sending module, configured to send an account information acquisition request to the hosted application server; The account information acquisition request is sent when the account of the host application clicks on the hosted application icon and enters the hosted application page; A third receiving module, configured to receive the account information sent by the host application server; The account information includes the identity token.

27. The device according to claim 25, characterized in that, The heartbeat event type is a start heartbeat event; specifically, the second settlement module is configured to: Receive the virtual property custody value sent by the host application server; the virtual property custody value is the total virtual property value of the target account corresponding to the identity token on the host application server; Determine the virtual property custody value as the total virtual property of the target account on the hosted application server.

28. The device according to claim 25, characterized in that, The heartbeat event type is a middle heartbeat event; specifically, the second settlement module is configured to: Receive the recharge increment value sent by the host application server; the recharge increment value is the increment value obtained by the target account performing a recharge operation on a non-host application server; Increase the virtual property value of the target account on the hosted application server based on the recharge increment value.

29. The device according to claim 25, characterized in that, The heartbeat event type is a recharge heartbeat event, and the heartbeat request further includes a first virtual property return value, where the first virtual property return value is the value obtained after the hosted application server settles the virtual property of the target account corresponding to the identity token when a recharge event is triggered on the host application.

30. The device according to claim 25, characterized in that, The heartbeat event type is a recharge completion heartbeat event; specifically, the second settlement module is configured to: Obtain the virtual property settlement value of the target account on the host application server; the virtual property settlement value is the value obtained after settlement based on the virtual property increment and the total virtual property value of the target account on the host application server, and the virtual property increment is the increment obtained by the target account performing a recharge operation on the host application server; Increase the virtual property value of the target account on the hosted application server based on the virtual property settlement value.

31. The device according to claim 25, characterized in that, The heartbeat event type is an end heartbeat event, and the heartbeat request further includes a second virtual property return value, where the second virtual property return value is the value obtained after the hosted application server settles the virtual property of the target account corresponding to the identity token when an end event is triggered on the hosted application.

32. The apparatus according to claim 25, wherein, Specifically, the second sending module is configured to: Send a heartbeat request to the host application server at preset intervals.

33. A virtual property settlement system, characterized in that, Comprising: The virtual property settlement device according to any one of claims 17-24; The virtual property settlement device according to any one of claims 25-32.

34. An electronic device, characterized in that, Comprising: At least one processor; And A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1-8, or execute the method according to any one of claims 9-16.

35. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to execute the method described in any one of claims 1-8 or the method described in any one of claims 9-16.

Citation Information

Patent Citations

  • Virtual article sending method and device, computer equipment and storage medium

    CN112616091A