Data processing and display method, device, electronic equipment and readable storage medium
By decoupling the virtual wallet system from the payment system, the automatic conversion of virtual resources into real assets is achieved, solving the problem that the activity system needs to be redesigned for each activity in the existing technology, thus improving efficiency and security.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2021-08-12
- Publication Date
- 2026-06-26
AI Technical Summary
In existing technologies, business entities need to redesign the event system every time they launch an event, resulting in wasted resources, increased design costs, and reduced event organization efficiency.
The virtual wallet system provides a resource extraction solution that allows virtual resources to be converted into real assets. By decoupling from the payment system, it enables automatic conversion and management of resources, avoiding the need to redesign the wallet system for each activity.
It improves the efficiency of event organization, reduces design and development costs, ensures that user resources are not lost, and provides flexible resource conversion methods suitable for different businesses and business parties.
Smart Images

Figure CN115936695B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer and Internet technology, and in particular to a data processing method, a data display method, a data processing apparatus, an electronic device, and a computer-readable storage medium. Background Technology
[0002] Internet marketing is a marketing activity that targets mobile device users (phones or tablets) and delivers personalized, real-time information directly and precisely to the target audience on mobile devices, achieving marketing goals through information interaction with consumers.
[0003] With the popularization of e-commerce and online consumption, online platforms have become an important tool for people's daily consumption. To expand promotion and stimulate consumption, businesses often need to conduct online marketing and promotional activities. Among these, marketing methods that send electronic resources (such as electronic red envelopes) to users through activity systems can quickly attract a large number of people's attention. Therefore, they are increasingly valued by businesses.
[0004] When organizing events, businesses typically store the electronic resources earned by users as virtual resources in a virtual account within the event system. Only when a user initiates a resource retrieval request will the virtual resources be converted into actual assets and transferred to the user's real account through the event system.
[0005] In related technologies, the setup of virtual accounts and the transfer of actual assets typically need to be coupled into the event system. Therefore, every time a business initiates an event, the event system (including the virtual account and actual asset transfer functions) needs to be redesigned for that event, resulting in a waste of resources, a significant waste of design resources and event funding, and a reduction in event organization efficiency. Summary of the Invention
[0006] The purpose of this disclosure is to provide a data processing method, apparatus, electronic device, and computer-readable storage medium that provides a resource extraction scheme through a virtual wallet system, so that a first object can convert virtual resources in a first virtual wallet in the virtual wallet system into actual assets.
[0007] This disclosure provides a data processing method executed by a virtual wallet system, which includes multiple virtual wallets. The data processing method includes: receiving a resource extraction request from a first object in a first activity, the resource extraction request carrying a resource extraction amount, a first activity identifier of the first activity, and the actual asset receiving account of the first object, the first activity being initiated by a first business party; determining a first virtual wallet from the multiple virtual wallets based on the first activity identifier, the first virtual wallet including a first virtual account of the first object; performing a virtual resource extraction operation in the first virtual wallet based on the resource extraction amount, such that the virtual balance in the first virtual account after resource extraction is the difference between the virtual balance before resource extraction and the resource extraction amount; the virtual wallet system initiating an asset transfer request to a payment system based on the resource extraction amount and the actual asset receiving account of the first object, the payment system including the actual asset payment account of the first business party, so that the payment system controls the actual asset payment account to perform an actual asset transfer operation corresponding to the resource extraction amount to the actual asset receiving account based on the asset transfer request.
[0008] This disclosure provides a data processing method executed by a business system. The method includes: receiving an activity initiation request from a first business party for a first activity, the activity initiation request including activity strategy information, the activity strategy information including a total activity budget; receiving a virtual wallet application request from the first business party, and sending the virtual wallet application request to a virtual wallet system so that the virtual wallet system allocates a first virtual wallet for the first activity, the first virtual wallet including a first virtual wallet identifier; receiving the first virtual wallet identifier issued by the virtual wallet system; responding to an activity generation request sent by the first business party, synchronizing the total activity budget to the first virtual wallet according to the first virtual wallet identifier, so as to generate a first virtual resource pool for the first activity in the first virtual wallet, the virtual resources in the first virtual resource pool being used for the first activity; generating the first activity according to the activity strategy information and the first virtual wallet identifier, the first activity including a first activity identifier; and distributing the first activity and the first activity identifier to terminals of multiple objects so that each object can participate in the first activity through the first activity identifier.
[0009] This disclosure provides a data display method, comprising: displaying an activity settings interface, the activity settings interface including an activity strategy setting control, a virtual wallet claiming control, and an activity generation control; displaying the activity strategy setting interface in response to a triggering operation of the activity strategy setting control; obtaining activity strategy information input by a first business party for a first activity through the activity strategy setting interface; displaying a virtual wallet claiming interface in response to a triggering operation of the virtual wallet claiming control; obtaining virtual wallet claiming information input by the first business party for the first activity through the virtual wallet claiming interface, so that the virtual wallet system allocates a first virtual wallet and a first virtual wallet identifier of the first virtual wallet to the first activity according to the virtual wallet claiming information; and displaying a triggering interface for a first activity in response to a triggering operation of the activity generation control, the triggering interface for the first activity being generated based on the activity strategy information and the first virtual wallet identifier.
[0010] This disclosure provides a data processing apparatus, including: a resource acquisition request receiving module, a first virtual wallet determination module, a virtual resource extraction operation module, and an actual asset transfer module.
[0011] The resource acquisition request receiving module is used to receive a resource extraction request from a first object in a first activity. The resource extraction request carries the resource extraction amount, the first activity identifier of the first activity, and the actual asset receiving account of the first object. The first activity is initiated by a first business party. The first virtual wallet determination module is used to determine a first virtual wallet from multiple virtual wallets based on the first activity identifier. The first virtual wallet includes the first virtual account of the first object. The virtual resource extraction operation module is used to perform a virtual resource extraction operation in the first virtual wallet based on the resource extraction amount, so that the virtual balance in the first virtual account after resource extraction is the difference between the virtual balance before resource extraction and the resource extraction amount. The actual asset transfer module is used by the virtual wallet system to initiate an asset transfer request to the payment system based on the resource extraction amount and the actual asset receiving account of the first object. The payment system includes the actual asset payment account of the first business party, so that the payment system controls the actual asset payment account to perform an actual asset transfer operation corresponding to the resource extraction amount to the actual asset receiving account based on the asset transfer request.
[0012] This disclosure provides a data processing device installed in a business system. The data processing device includes: an activity initiation request receiving module, a virtual wallet application request receiving module, a first virtual wallet identifier issuing module, a synchronization module, a first activity generation module, and a first activity issuing module.
[0013] The activity initiation request receiving module is used to receive an activity initiation request from a first business party for a first activity. The activity initiation request includes activity strategy information, which includes a total activity budget. The virtual wallet application request receiving module is used to receive a virtual wallet application request from the first business party and send the virtual wallet application request to a virtual wallet system so that the virtual wallet system can allocate a first virtual wallet for the first activity. The first virtual wallet includes a first virtual wallet identifier. The first virtual wallet identifier issuing module is used to receive the first virtual wallet identifier issued by the virtual wallet system. The synchronization module responds to the activity generation request sent by the first business party and synchronizes the total activity budget to the first virtual wallet according to the first virtual wallet identifier so that a first virtual resource pool can be generated in the first virtual wallet for the first activity. The virtual resources in the first virtual resource pool are used for the first activity. The first activity generation module is used to generate the first activity according to the activity strategy information and the first virtual wallet identifier. The first activity includes a first activity identifier. The first activity issuing module is used to issue the first activity and the first activity identifier to the terminals of multiple objects so that each object can participate in the first activity through the first activity identifier.
[0014] This disclosure provides a data display device, which includes: an activity settings interface display module, an activity strategy settings interface display module, an activity strategy information acquisition module, a virtual wallet redemption interface display module, a virtual wallet redemption information acquisition module, and a trigger interface display module.
[0015] The activity settings interface display module is used to display the activity settings interface, which includes an activity strategy setting control, a virtual wallet claiming control, and an activity generation control. The activity strategy setting interface display module is used to display the activity strategy setting interface in response to a trigger operation of the activity strategy setting control. The activity strategy information acquisition module is used to acquire activity strategy information input by the first business party for the first activity through the activity strategy setting interface. The virtual wallet claiming interface display module is used to display the virtual wallet claiming interface in response to a trigger operation of the virtual wallet claiming control. The virtual wallet claiming information acquisition module is used to acquire virtual wallet claiming information input by the first business party for the first activity through the virtual wallet claiming interface, so that the virtual wallet system can allocate a first virtual wallet and a first virtual wallet identifier to the first activity based on the virtual wallet claiming information. The trigger interface display module is used to display the trigger interface of the first activity in response to a trigger operation of the activity generation control, and the trigger interface of the first activity is generated based on the activity strategy information and the first virtual wallet identifier.
[0016] This disclosure provides an electronic device comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any of the data processing methods or data display methods described above.
[0017] This disclosure provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the data processing method or data display method as described in any of the preceding claims.
[0018] This disclosure provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned data processing method or data display method.
[0019] The data processing method, apparatus, electronic device, and computer-readable storage medium provided in this disclosure, on the one hand, provide a virtual wallet to a first object through a virtual wallet system to record virtual resources acquired by the first object; on the other hand, the first object can convert virtual resources into actual assets in its actual asset receiving account through the virtual resource system; furthermore, this disclosure provides a virtual wallet system decoupled from the business system and payment system, which can provide services for different businesses and different business parties without requiring the business party to design a separate wallet function for a particular activity; in addition, the virtual wallet system decoupled from the business system ensures that the electronic resources acquired by the user are not lost through the calling relationship between the virtual wallet system and the payment system, and through the decoupling of the virtual wallet system from the payment system, it eliminates the need to design different wallets for different activities. Attached Figure Description
[0020] Figure 1 A schematic diagram of an exemplary system architecture applied to a data processing method or data processing apparatus according to embodiments of this disclosure is shown.
[0021] Figure 2 This is a flowchart of a data processing method according to an exemplary embodiment of this disclosure.
[0022] Figure 3 This is a schematic diagram illustrating a data interaction according to an exemplary embodiment.
[0023] Figure 4 This is a flowchart illustrating a resource transfer method according to an exemplary embodiment.
[0024] Figure 5 This is a flowchart illustrating a virtual wallet application method according to an exemplary embodiment.
[0025] Figure 6 This is a schematic diagram of a layered structure of a virtual wallet system according to an exemplary embodiment.
[0026] Figure 7 This is a schematic diagram illustrating the horizontal scaling and business isolation of a virtual wallet according to an exemplary embodiment.
[0027] Figure 8 This is a schematic diagram illustrating an entity correspondence according to an exemplary embodiment.
[0028] Figure 9 This is a flowchart illustrating a method for expanding storage resources according to an exemplary embodiment.
[0029] Figure 10 This is an example of a library-based representation.
[0030] Figure 11 This is a structural diagram of a virtual wallet system according to an exemplary embodiment.
[0031] Figure 12 This is a schematic diagram illustrating a security module of a virtual wallet system according to an exemplary embodiment.
[0032] Figure 13 This is a schematic diagram of a virtual wallet system's batch balance expiration processing module, according to an exemplary embodiment.
[0033] Figure 14 This is a data processing method illustrated according to an exemplary embodiment.
[0034] Figure 15 This is a schematic diagram illustrating a resource acquisition method according to an exemplary embodiment.
[0035] Figure 16 This is a flowchart illustrating a resource extraction method according to an exemplary embodiment.
[0036] Figure 17 This is a schematic diagram of an active system based on relevant technologies.
[0037] Figure 18 This is a schematic diagram of an active system service according to an exemplary embodiment.
[0038] Figure 19 This is a schematic diagram of a red envelope activity system according to an exemplary embodiment.
[0039] Figure 20 This is a flowchart illustrating a data processing method according to an exemplary embodiment.
[0040] Figure 21 This is a schematic diagram of a red envelope activity settings interface according to an exemplary embodiment.
[0041] Figure 22 This is a schematic diagram of a red envelope type selection interface according to an exemplary embodiment.
[0042] Figure 23 This is a schematic diagram of a red envelope information setting interface according to an exemplary embodiment.
[0043] Figure 24 This is a schematic diagram of a red envelope information setting interface according to an exemplary embodiment.
[0044] Figure 25 This is a schematic diagram illustrating a virtual wallet redemption interface according to an exemplary embodiment.
[0045] Figure 26 This is a schematic diagram of a red envelope activity triggering interface according to an exemplary embodiment.
[0046] Figure 27 This is a schematic diagram of a red envelope activity interface according to an exemplary embodiment.
[0047] Figure 28 This is a schematic diagram illustrating the data flow of a red envelope activity according to an exemplary embodiment.
[0048] Figure 29 This is a schematic diagram illustrating red envelope details according to an exemplary embodiment.
[0049] Figure 30 This is a schematic diagram of a withdrawal interface according to an exemplary embodiment.
[0050] Figure 31 This is a schematic diagram illustrating the rate limiting configuration of a wallet system, based on an example.
[0051] Figure 32 A block diagram of a data processing apparatus according to an exemplary embodiment is shown.
[0052] Figure 33 A block diagram of a data processing apparatus according to an exemplary embodiment is shown.
[0053] Figure 34 A block diagram of a data display device is shown according to an exemplary embodiment.
[0054] Figure 35A schematic diagram of the structure of an electronic device suitable for implementing embodiments of the present disclosure is shown. Detailed Implementation
[0055] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, they are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the exemplary embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted.
[0056] The features, structures, or characteristics described in this disclosure can be combined in any suitable manner in one or more embodiments. Numerous specific details are provided in the following description to give a thorough understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more specific details omitted, or other methods, components, apparatuses, steps, etc., can be employed. In other instances, well-known methods, apparatuses, implementations, or operations are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0057] The accompanying drawings are merely illustrative of this disclosure, and the same reference numerals in the drawings denote the same or similar parts, thus omitting repeated descriptions of them. Some block diagrams shown in the drawings do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0058] The flowchart shown in the accompanying drawings is merely illustrative and does not necessarily include all content and steps, nor does it require execution in the described order. For example, some steps may be broken down, while others may be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.
[0059] In this specification, the terms “a,” “an,” “the,” “at least one” are used to indicate the presence of one or more elements / components / etc.; the terms “include,” “include,” and “have” are used to indicate an open-ended inclusion and to mean that there may be other elements / components / etc. in addition to the listed elements / components / etc.; the terms “first,” “second,” and “third,” etc., are used only as markings and are not a limitation on the number of objects.
[0060] The exemplary embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.
[0061] Figure 1A schematic diagram of an exemplary system architecture that can be applied to the data processing method, data display method, and related apparatus of the embodiments of this disclosure is shown.
[0062] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, and 103, network 104, and servers 105, 106, and 107. Network 104 serves as the medium for providing communication links between terminal devices 101, 102, and 103 and servers 105, 106, and 107. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.
[0063] Users can use terminal devices 101, 102, and 103 to interact with servers 105, 106, and 107 via network 104 to receive or send messages, etc. Terminal devices 101, 102, and 103 can be various electronic devices with displays and web browsing capabilities, including but not limited to smartphones, tablets, laptops, desktop computers, wearable devices, virtual reality devices, smart home devices, etc.
[0064] In some embodiments, terminal devices 101, 102, and 103 may, for example, display an activity settings interface, which includes an activity policy setting control, a virtual wallet redemption control, and an activity generation control; in response to a trigger operation of the activity policy setting control, the activity policy setting interface is displayed; activity policy information input by the first business party for the first activity is obtained through the activity policy setting interface; in response to a trigger operation of the virtual wallet redemption control, a virtual wallet redemption interface is displayed; virtual wallet redemption information input by the first business party for the first activity is obtained through the virtual wallet redemption interface, so that the virtual wallet system allocates a first virtual wallet and a first virtual wallet identifier of the first virtual wallet to the first activity according to the virtual wallet redemption information; in response to a trigger operation of the activity generation control, a trigger interface for the first activity is displayed, which is generated based on the activity policy information and the first virtual wallet identifier.
[0065] In other embodiments, terminal devices 101, 102, and 103 may, for example, display a first activity so that users can participate in the first activity or a second activity; display a resource extraction interface for the first activity so that users can initiate a resource extraction request for the first activity; and display a resource transfer interface (e.g., a red envelope receiving interface) so that users can initiate a resource transfer request.
[0066] Servers 105, 106, or 107 can be servers that provide various services, such as backend management servers that support the devices operated by users using terminal devices 101, 102, and 103. The backend management server can analyze and process received requests and other data, and then feed the processing results back to the terminal devices.
[0067] A server can be a standalone physical server, a server cluster or a distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. This disclosure does not impose any restrictions on this.
[0068] In some embodiments, a virtual wallet system may be deployed on servers 105, 106, or 107. Servers 105, 106, or 107 with the deployed virtual wallet system may, for example, receive a resource withdrawal request from a first object in a first activity. The resource withdrawal request carries the resource withdrawal amount, a first activity identifier of the first activity, and the actual asset receiving account of the first object. The first activity is initiated by a first business party. Based on the first activity identifier, a first virtual wallet is determined from multiple virtual wallets. The first virtual wallet includes the first object's first virtual account. A virtual resource withdrawal operation is performed in the first virtual wallet based on the resource withdrawal amount, so that the virtual balance in the first virtual account after resource withdrawal is the difference between the virtual balance before resource withdrawal and the resource withdrawal amount. The virtual wallet system initiates an asset transfer request to a payment system based on the resource withdrawal amount and the first object's actual asset receiving account. The payment system includes the first business party's actual asset payment account, so that the payment system controls the actual asset payment account to perform an actual asset transfer operation corresponding to the resource withdrawal amount from the actual asset receiving account according to the asset transfer request.
[0069] In some other embodiments, a business system may be deployed on servers 105, 106, or 107. Servers 105, 106, or 107 with the deployed business system may, for example, receive an activity initiation request from a first business party for a first activity, the activity initiation request including activity strategy information, the activity strategy information including the total activity budget; receive a virtual wallet application request from the first business party, and send the virtual wallet application request to a virtual wallet system so that the virtual wallet system can allocate a first virtual wallet for the first activity, the first virtual wallet including a first virtual wallet identifier; receive the first virtual wallet identifier issued by the virtual wallet system; respond to an activity generation request sent by the first business party, synchronize the total activity budget to the first virtual wallet according to the first virtual wallet identifier, so as to generate a first virtual resource pool for the first activity in the first virtual wallet, the virtual resources in the first virtual resource pool being used for the first activity; generate a first activity according to the activity strategy information and the first virtual wallet identifier, the first activity including a first activity identifier; and distribute the first activity and the first activity identifier to the terminals of multiple objects so that each object can participate in the first activity through the first activity identifier.
[0070] In some other embodiments, a payment system may be deployed on servers 105, 106, or 107. Servers 105, 106, or 107 with a deployed payment system can, for example, control the transfer of actual assets corresponding to the resource extraction amount from the actual asset payment account to the actual asset receiving account based on an asset transfer request.
[0071] This understanding, Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Servers 105, 106, or 107 can be a single physical server or a combination of multiple servers. Depending on actual needs, there can be any number of terminal devices, networks, and servers.
[0072] Before describing the embodiments of this disclosure, the relevant terms used in this disclosure will be explained.
[0073] Virtual Wallet: In online red envelope marketing campaigns, cash is used to attract users to participate. The cash received from participating in the campaign is deposited into the user's virtual account. Users can withdraw cash from the virtual account, and the withdrawn cash can be deposited into the user's real cash account.
[0074] Merchant ID: The source of activity funds, usually a real cash account provided by the business party for the activity, used to pay users.
[0075] High concurrency: A large number of users participating in an event simultaneously make a large number of requests to the backend service within a short period of time.
[0076] Scalability: High scalability represents the elasticity of a system. The system architecture can be flexibly expanded according to the scale of business. With little or no modification, the processing capacity of the entire system can be linearly increased, achieving high throughput and low latency with high performance.
[0077] High security: By employing specific security strategies, we combat illicit activities, ensure the safety of funds, and acquire more daily active users at the lowest possible cost.
[0078] Figure 2 This is a flowchart illustrating a data processing method according to an exemplary embodiment.
[0079] The data processing method provided in this embodiment can be executed by a virtual wallet system. This virtual wallet system can be deployed on any electronic device with computing power, such as the one described above. Figure 1 The server in the embodiment can also be deployed on the above-mentioned Figure 1 In the embodiments, the terminal device can also be deployed on both the server and the terminal device; the virtual wallet system can be deployed on a single physical computing device or on a distributed system, and this disclosure does not limit it in this way.
[0080] In the following embodiments, the virtual wallet system is deployed on a distributed server as an example, but this disclosure does not limit it.
[0081] Reference Figure 2 The data processing method provided in this disclosure may include the following steps.
[0082] Step S202: Receive a resource extraction request from the first object in the first activity. The resource extraction request carries the resource extraction amount, the first activity identifier of the first activity, and the actual asset receiving account of the first object. The first activity is initiated by the first business party.
[0083] The first activity can be any online activity initiated by the first business party, such as a resource redemption activity, which could be a cash red envelope redemption activity, an electronic resource redemption activity, etc. This disclosure does not impose any restrictions on it. The first activity identifier is an identifier that can globally and uniquely identify the first activity.
[0084] In this disclosure, the first activity, which is a cash red envelope giveaway, will be used as an example for explanation, but this disclosure is not limited to this.
[0085] The first business party can be the business party that initiates the first activity, the first object can be the user participating in the first activity, and the actual asset receiving account of the first object is a third-party account provided by the first object that can be called by the virtual wallet system. This account can be used to receive the actual assets transferred by the first business party. The actual asset receiving account can be, for example, a cash receiving account (such as a bank card account, e-bank account, XXbao, XXxin, etc.), or it can be, for example, a third-party resource receiving account (such as a game currency receiving account, a game equipment receiving account, or a reward resource (such as an airplane, ship, or rose in a live broadcast) receiving account, etc.).
[0086] The resource extraction request can be for cash resources, virtual items, or any other type of electronic resource, and the extraction amount can be the amount of electronic resources that the first object wants to extract.
[0087] like Figure 3 As shown, in the cash red envelope campaign, the resource extraction request can be the first object (i.e., Figure 3 The user in the system can initiate a red packet withdrawal request to the virtual wallet system 302 through the red packet business system 301. The resource withdrawal amount can be the withdrawal amount in the red packet withdrawal request.
[0088] The red envelope business system can be any system that can implement the business logic.
[0089] Step S204: Determine the first virtual wallet among multiple virtual wallets based on the first activity identifier. The first virtual wallet includes the first virtual account of the first object.
[0090] In some embodiments, the virtual wallet system may include multiple virtual wallets, and each activity corresponds to at least one virtual wallet. In this embodiment, the first virtual wallet corresponding to the first activity can be determined in the virtual wallet system by the first activity identifier.
[0091] In some embodiments, a virtual account can be set up in the first virtual wallet for each user participating in the first activity, and the virtual account can provide relevant virtual wallet services to the corresponding user in the first activity.
[0092] In this embodiment, the virtual wallet system can provide corresponding wallet services to the first activity through the first virtual wallet. For example, the first virtual wallet can provide the first activity with virtual resource transfer services, virtual resource extraction services, data storage services, etc.
[0093] like Figure 3As shown, the virtual wallet system 302 can provide the first object (i.e., the user) with deposit services, withdrawal services, and storage services through the first virtual wallet. The first virtual wallet can store relevant account tables, deposit transaction logs (including deposit idempotency tables), withdrawal transaction logs (including withdrawal idempotency tables), and payment order tables (including payment idempotency tables) for the first activity through the storage service.
[0094] Step S206: Perform a virtual resource withdrawal operation in the first virtual wallet according to the resource withdrawal amount, so that the virtual balance in the first virtual account after resource withdrawal is the difference between the virtual balance before resource withdrawal and the resource withdrawal amount.
[0095] In some embodiments, in response to a resource extraction request from a first object in a first activity, the first virtual wallet first needs to complete a virtual resource extraction operation within the first virtual wallet, that is, subtract the resource extraction amount from the virtual balance of the first object recorded in the first virtual account, so that the virtual balance in the first virtual account after resource extraction is the difference between the virtual balance before resource extraction and the resource extraction amount.
[0096] It is understandable that when the first virtual account performs a virtual resource withdrawal operation, it will not cause any external changes outside the wallet, except for a change in the virtual balance in the first virtual account.
[0097] In step S208, the virtual wallet system initiates an asset transfer request to the payment system based on the resource extraction amount and the actual asset receiving account of the first party. The payment system includes the actual asset payment account of the first business party, so that the payment system controls the actual asset payment account to perform an actual asset transfer operation corresponding to the resource extraction amount to the actual asset receiving account according to the asset transfer request.
[0098] In some embodiments, in response to a virtual resource extraction request from a first object in a first activity, the virtual wallet system will initiate an asset transfer request to the payment system based on the amount of resource extraction, so as to call the actual asset payment account provided by the first business party to transfer the actual asset receiving account provided by the first object.
[0099] Among them, the aforementioned actual assets are asset resources that are distinct from virtual resources in virtual wallet systems. The actual form of these actual assets can also be a virtual resource, such as electronic cash resources, game currency resources, virtual item resources (such as flowers, airplanes, and ships in live streaming systems), etc.
[0100] The aforementioned actual asset payment account is an account corresponding to the actual asset receiving account, meaning that the actual assets stored in the actual asset payment account and the actual asset receiving account can be the same.
[0101] In some embodiments, the actual asset payment account provided by the first business party may include actual asset payment accounts provided by multiple account providers, such as bank card providers (e.g., a bank) or game account providers (e.g., a game designer), etc. This disclosure does not limit this.
[0102] In some embodiments, the multiple account providers include a target account provider (e.g., a bank), and the actual asset payment account provided by the target account provider to the first business party includes the target actual asset payment account (e.g., a bank account provided by a bank card to the first business party).
[0103] In some embodiments, the virtual wallet system initiates an asset transfer request to the payment system based on the resource withdrawal amount and the actual asset receiving account of the first object, so that the payment system controls the transfer of actual assets corresponding to the resource withdrawal amount from the actual asset payment account to the actual asset receiving account according to the asset transfer request. This may include the following steps: determining that the account provider of the actual asset receiving account of the first object is the target account provider; determining that the actual asset payment account provided by the target account provider to the first business party is the target actual asset payment account; and initiating an asset transfer request to the target actual asset payment account in the payment system based on the resource withdrawal amount, so that the target actual asset payment account transfers the actual assets corresponding to the resource withdrawal amount to the actual asset receiving account.
[0104] That is, the payment system needs to determine the account provider of the actual asset receiving account provided by the first object, and then determine the target actual asset payment account corresponding to the actual asset receiving account from multiple actual asset payment accounts provided by the first business party based on the account provider.
[0105] For example, if the payment system determines that the actual asset receiving account provided by the first party is provided by a certain bank, then the payment system needs to identify the target actual asset payment account provided by that bank as the asset transfer account from among the multiple actual asset payment accounts provided by the first party.
[0106] The aforementioned payment methods provide the first party with multiple ways to transfer resources, facilitating resource transfer operations and improving the efficiency of resource transfer.
[0107] This embodiment provides a general-purpose virtual wallet solution and system that supports rapid business integration, flexible scalability, high performance, high availability, and strict fund security guarantees. It is highly reusable, can quickly integrate with cash activities of various scales, requires little or no development, greatly improves production efficiency, and allows for the accumulation of experience while avoiding fund security issues, thus solving business pain points. Furthermore, the virtual wallet system provided in this application reduces business integration costs, shortens the development cycle, greatly improves R&D efficiency, and maximizes benefits.
[0108] The data processing method provided in this disclosure provides a virtual wallet to a first object through a virtual wallet system to record the virtual resources acquired by the first object. Furthermore, the first object can convert virtual resources into actual assets in its actual asset receiving account through this virtual resource system. Additionally, this disclosure provides a virtual wallet system decoupled from the business system and payment system. This virtual wallet system can provide services to different businesses and different business parties without requiring the business party to design a separate wallet function for a particular activity. Moreover, the decoupling from the business system ensures that the user's acquired electronic resources are not lost through the call relationship between the virtual wallet system and the payment system, and avoids the need to redesign the wallet system every time an activity changes. Furthermore, this disclosure also provides the first object with multiple selectable payment methods through the payment system, facilitating resource transfer operations and improving resource transfer efficiency.
[0109] Figure 4 This is a flowchart illustrating a resource transfer method according to an exemplary embodiment.
[0110] In some embodiments, when the first business party initiates the first activity, it will provide an activity budget for the first activity. The virtual wallet system can generate a first virtual resource pool in the first virtual wallet according to the activity budget. The virtual resources in the first virtual resource pool can be used for the first activity.
[0111] refer to Figure 4 The above-mentioned resource transfer method may include the following steps.
[0112] Step S402: Receive a resource transfer request from the first object in the first activity. The resource transfer request carries the resource transfer amount and the identifier of the first activity.
[0113] For example, in a cash red envelope campaign, a resource transfer request can be a red envelope payment request initiated by the first object to the virtual wallet system through the red envelope business system, and the resource transfer amount is the red envelope payment amount in the red envelope payment request.
[0114] like Figure 3As shown, in the red envelope receiving activity, the resource transfer request can be a red envelope crediting request initiated by the first object (i.e., the user) to the virtual wallet system 302 through the red envelope business system 301, and the resource transfer amount is the red envelope crediting amount in the red envelope crediting request.
[0115] Step S404: Determine the first virtual wallet among multiple virtual wallets based on the first activity identifier.
[0116] Step S406: Based on the amount of resources transferred in, control the first virtual resource pool in the first virtual wallet to perform a virtual resource transfer operation to the first virtual account, so that the virtual balance in the first virtual account after the resource transfer is the sum of the virtual balance before the resource transfer and the amount of resources transferred in, and the balance in the first virtual resource pool after the resource transfer is the difference between the balance before the resource transfer and the amount of resources transferred out, and the amount of resources transferred in is equal to the amount of resources transferred out.
[0117] In some embodiments, when the virtual wallet system receives a resource transfer request from the first object, it will transfer the virtual resources in the first resource pool of the first activity to the first virtual account according to the resource transfer amount, so that the virtual balance in the first virtual account after the resource transfer is the sum of the virtual balance before the resource transfer and the resource transfer amount, and the balance in the first virtual resource pool after the resource transfer is the difference between the balance before the resource transfer and the resource transfer amount, and the resource transfer amount is equal to the resource transfer amount.
[0118] The technical solution provided in this embodiment provides a method for transferring resources to a first object through a virtual wallet system, so as to record the virtual resources deposited by the first object in a timely manner, realize the wallet function, enrich the interaction between the first object and the virtual wallet system, and improve the security of virtual resources.
[0119] Figure 5 This is a flowchart illustrating a virtual wallet application method according to an exemplary embodiment.
[0120] Before introducing the virtual wallet application method, we can first introduce the architecture of the virtual wallet system.
[0121] refer to Figure 6 The virtual wallet system 600 can include, from top to bottom, an access layer 601, a logic layer 602, and a storage layer 603.
[0122] The access layer 601 can include a component store (as the entry point for business access) and access routes (mainly used for the isolation of logic layer businesses, with different wallets deployed on different server clusters); the logic layer 602 can include the main logical functions of the virtual wallet system; the storage layer 603 can include core storage MySQL, external cache Redis, and local cache, etc. MySQL is the core storage for virtual wallet data, Redis is a remote cache for accelerating access to dynamic data, and the local cache contains some static configuration information.
[0123] The main logical functions of the virtual wallet system include at least: resource transfer in (deposit), resource transfer out (withdrawal), transaction history and balance inquiry, asynchronous payment, data synchronization, black market gateway, payment gateway, reconciliation statistics and notification, delayed deposit, single deposit expiration, and account release.
[0124] like Figure 7 As shown, the logical layer 701 of the virtual wallet system can include multiple logical units (such as logical unit 1, logical unit 2, logical unit 3 and logical unit 4). Each logical unit can be deployed in sets according to the wallet identifier (i.e. wallet id) to isolate the logical services of different wallets. The routing layer can route to each logical unit through the wallet id.
[0125] like Figure 7 As shown, the storage resources corresponding to each wallet can be referred to as storage units. The storage layer 702 of the virtual wallet system can also include multiple storage units (such as storage unit 1, storage unit 2, etc.).
[0126] like Figure 8 As shown, one activity can correspond to one wallet, and multiple activities can also correspond to one wallet (for example, activity 1 initiated by business party 801 and activity 2 initiated by business party 2 can share wallet 805). One activity can also correspond to multiple wallets (activity 3 initiated by business party 803 can use wallet 806 and wallet 807 at the same time). This disclosure does not impose any restrictions on this, and those skilled in the art can set it up according to actual needs.
[0127] Additionally, it should be noted that only one merchant ID will exist for each activity within a single wallet. This merchant ID can correspond to multiple actual asset payment accounts, allowing users to extract resources according to their specific needs. For example... Figure 8As shown, assuming Activity 2 corresponds to Wallet 805, then Activity 2 will only have one merchant ID in Wallet 805—Merchant ID A 808. Within Merchant ID A 808, multiple actual asset payment accounts provided by Business Provider 802 (i.e., Actual Asset Payment Account 1 and Actual Asset Payment Account 2) can exist. Similarly, Wallet 806 will also set a unique merchant ID B 809 for Activity 3, and Wallet 807 will also set a unique merchant ID C 810 for Activity 4.
[0128] In some embodiments, each storage unit may include a core storage subunit and an external cache storage subunit, wherein each core storage subunit has a corresponding external cache storage subunit.
[0129] In addition, since the amount of data that the external cache storage subunit can store and the amount of user requests it can handle are relatively large, in order to save resources, multiple core storage subunits can be associated with the same external cache storage subunit to generate multiple storage units.
[0130] like Figure 7 As shown, the core storage subunit 2 can be combined with the external cache storage subunit 2 to form storage unit 2, and the core storage subunit 3 can also be combined with the external cache storage subunit 2 to form storage unit 3 (not shown in the figure).
[0131] In some embodiments, storage resources can be allocated to an activity based on a preset activity request amount and a preset activity storage amount submitted by the business party when applying for the activity, so as to ensure that the storage resources can meet the activity's needs.
[0132] refer to Figure 5 The above-mentioned virtual wallet application method may include the following steps.
[0133] Step S502: Receive the virtual wallet application request from the first business party for the first activity.
[0134] In step S504, the virtual wallet system assigns the first logical unit to the first activity so that the first logical unit can provide logical services to the first activity.
[0135] In some embodiments, logical units in the logical layer can provide stateless services to activities. Therefore, when a virtual wallet application request for a first activity is received, the virtual wallet system can allocate any unused logical unit (e.g., the first logical unit) to the first activity.
[0136] In step S506, the virtual wallet system allocates the first storage unit to the first activity so that the first storage unit can provide storage services to the first activity.
[0137] In some embodiments, storage units may be allocated to the first activity based on a preset activity request amount and a preset activity storage amount.
[0138] In some embodiments, if the first storage unit can satisfy the preset activity request amount and preset activity storage amount of the first activity, the first storage unit can be allocated to the first activity.
[0139] In other embodiments, the multiple virtual wallets in the virtual wallet system may include a second virtual wallet, the multiple logical units may include a second logical unit, and the multiple storage units may include a second storage unit. The second virtual wallet may include a second logical unit and a second storage unit, and the virtual wallet application request for the first activity may include a first preset activity request amount and a first preset activity storage amount for the first activity.
[0140] In some embodiments, if the first storage unit cannot meet the preset activity request amount or the preset activity storage amount of the first activity, one activity can correspond to multiple wallets. Specifically, the following method can be used to allocate virtual wallet resources to the first activity: determine that the first preset activity request amount is greater than the first preset activity request amount threshold or the first preset activity storage amount is greater than the first preset activity storage amount threshold; allocate the second logic unit to the first activity so that the first logic unit and the second logic unit jointly provide logical services to the first activity; allocate the second storage unit to the first activity so that the first storage unit and the second storage unit jointly provide storage services to the first activity, and also allocate the second virtual wallet resources to the first activity.
[0141] In other embodiments, if the preset activity request amount or preset activity storage amount of the first activity is relatively small, in accordance with the design concept of saving resources, the following can be adopted: Figure 8 The scheme shown assigns one wallet to multiple activities. Specifically, the virtual wallet resources can be configured as follows: A virtual wallet application request from a second business party for a second activity is received. This request includes a second preset activity request quantity and a second preset activity storage quantity. The sum of the first preset activity request quantity and the second preset activity request quantity, as well as the sum of the first preset storage quantity and the second preset activity storage quantity, are determined. If the sum of the first preset activity request quantity and the second preset activity request quantity is less than a second preset activity request quantity threshold, and the sum of the first preset storage quantity and the second preset activity storage quantity is less than a second preset activity storage quantity threshold, then a first logical unit is allocated to the second activity so that the first logical unit can provide logical services to the second activity; and a first storage unit is allocated to the second activity so that the first storage unit can provide storage services to the second activity.
[0142] In some embodiments, the multiple storage units in the virtual wallet system can be pre-set storage resources of fixed size, or they can be storage resources dynamically generated according to activity requirements.
[0143] like Figure 7 As shown, the core storage resources in a virtual wallet system can be divided into N (e.g., 1000) database units (dbunits). Figure 7 The external cache resources are divided into M (e.g., 1000) cache units, using db1, db2, db3, db4, etc. Figure 7 The datasets are set1, set2, set3, set4, etc., where N is an integer greater than or equal to 1, and M is an integer greater than or equal to 1. Each database unit corresponds to a different physical server resource to achieve physical isolation between database units, thereby ensuring data isolation between different activity data. When the first business method initiates a wallet application request for the first activity, the virtual wallet system can dynamically distribute the corresponding number of database units and cache units to the first activity according to its needs.
[0144] like Figure 7 As shown, the virtual wallet system can send database units db1, db2, db3 and cache units Set1, Set2 to the first activity in response to the wallet application of the first activity. Database units db1, db2, and db3 form the core storage unit 1, and Set1 and Set2 form the external cache storage subunit 1. The core storage unit 1 and the external cache storage subunit 1 form storage unit 1 (i.e., the first storage unit).
[0145] The technical solution provided in this disclosure can, on the one hand, dynamically allocate logical and storage resources to the first activity based on its actual activity requirements, so that the logical and storage resources can meet the activity requirements of the first activity; on the other hand, by isolating the physical server resources corresponding to the logical unit or storage unit, logical isolation and data isolation are achieved, so that the data of different activity supports are isolated from each other, thereby improving data security.
[0146] Figure 9 This is a flowchart illustrating a method for expanding storage resources according to an exemplary embodiment.
[0147] refer to Figure 9 The flowchart of the above-mentioned storage resource expansion method may include the following steps.
[0148] Step S902: Receive the target request from the second object in the first activity.
[0149] The second object can be a user participating in the first activity. This second object can be the same as or different from the first object. The target request can refer to any request issued by the second object, which can be a write request or a read request. This disclosure restricts this step. Among them, the write request can be a resource extraction request, a resource transfer request, etc., and the read request can refer to a balance query request, a transaction history query request, etc., which are not restricted by this disclosure.
[0150] Step S904: Determine that the number of requests received by the first storage unit within a unit time is greater than or equal to a third preset active request threshold, or that the data storage amount of the first storage unit is greater than or equal to a third preset active storage threshold.
[0151] In step S906, the virtual wallet system allocates the third storage unit to the first activity.
[0152] In some embodiments, when the number of requests received by the first storage unit within a certain unit of time (e.g., per second), i.e., the queries per second (QPS), is too high, or when the first storage unit currently stores too many resources, a third storage unit can be allocated to the first activity. In short, when the first storage unit is about to be unable to continue meeting the activity needs of the first activity, dynamic addition of storage resources can be considered for the first activity; that is, the virtual wallet system can identify a third storage unit from the idle storage resources and allocate it to the first activity.
[0153] Step S908: Determine the target storage unit from the first storage unit and the third storage unit so that the target storage unit can provide storage services to the target request of the second object.
[0154] In some embodiments, user data on the first storage unit can be routed to a new third storage unit using a consistent hashing method, and then the relevant data corresponding to the target request of the second object can also be routed to the first or second storage unit using a consistent hashing method.
[0155] Generally, to better conserve resources, the third unit can include a minimum storage unit, namely a database unit (dbunit). Of course, depending on actual needs, the third unit can also include multiple database units, and this disclosure does not impose any restrictions on this.
[0156] This embodiment provides a general-purpose virtual wallet system that supports rapid business access, is scalable, high-performance, highly available, and has strict fund security guarantees. It solves business pain points, reduces business access costs, and shortens the development cycle from more than half a month to less than a day, greatly improving R&D efficiency, reducing access costs, and maximizing benefits.
[0157] This disclosure will illustrate a method for determining a target storage unit through the following embodiments.
[0158] In some embodiments, the first storage unit may include a first storage hash identifier, which is obtained by hashing a first storage identifier of the first storage unit. The first storage identifier of the first storage unit may refer to an identification number of the first storage unit, etc., and this disclosure does not limit this.
[0159] In some embodiments, the first storage unit may store information about multiple activity participants, each of which has a corresponding object hash identifier.
[0160] In some embodiments, when the first storage unit receives user data from an external source, it issues a unique and identifiable internal order number to the incoming data through the virtual wallet system's order number distribution system to achieve order number mapping, that is, mapping the external order number to a unified internal order number. Then, data slicing (the internal order number contains date information, and the transaction table is divided according to date) and global idempotency can be performed based on the internal order number.
[0161] In some embodiments, such as Figure 10 The method shown performs data slicing processing, which may include: horizontally partitioning the incoming data according to the user ID (i.e., object identifier), dividing the user ID into S tables by taking the modulo S (e.g., 100), reducing the performance impact caused by single table insertion and excessively large single table data, where S is an integer greater than or equal to 1; vertically partitioning the incoming data according to the date in the order number, avoiding the performance impact caused by excessively large single table data.
[0162] When the amount of data or the number of requests in the first storage unit reaches its limit, the storage resources corresponding to the first activity can be expanded using the following methods: A hash calculation is performed on the third storage identifier of the third storage unit to obtain a third storage hash identifier; if the first storage hash identifier is less than the third storage hash identifier, the hash identifiers of multiple objects in the first storage unit are truncated based on the third storage hash identifier; the information of objects corresponding to object hash identifiers greater than or equal to the third storage hash identifier is transferred to the third storage unit; A hash calculation is performed on the object identifier of the second object to obtain a second object hash identifier; if the second object hash identifier is greater than or equal to the third storage hash identifier, the third storage unit is determined as the target storage unit; if the second object hash identifier is less than the third storage hash identifier but greater than or equal to the first storage hash identifier, the first storage unit is determined as the target storage unit.
[0163] In some embodiments, if the first storage unit and the third storage unit still cannot meet the activity requirements of the first activity, a fourth storage unit may be allocated to the first activity, and then the user information may be stored using the following method. Specifically, this may include: performing a hash calculation on the fourth storage identifier of the fourth storage unit to obtain a fourth storage hash identifier; if the fourth storage hash identifier is greater than the third storage hash identifier, and the third storage hash is greater than the first storage hash, then multiple object hash identifiers in the third storage unit may be processed in stages according to the fourth storage hash, and the information of objects with a hash identifier greater than or equal to the third hash identifier may be transferred to the fourth storage unit; then performing a hash calculation on the object identifier of the third object (assuming the third object is a user who initiated a request in the first activity) to obtain a third object hash identifier; if the third object hash identifier is greater than or equal to the third storage hash identifier and less than the fourth storage hash identifier, then the data corresponding to the third object may be stored in the third storage unit; if the third object hash identifier is greater than or equal to the fourth storage hash identifier, then the data corresponding to the third object may be stored in the fourth storage unit.
[0164] Those skilled in the art can extend storage resources for other activities based on the above embodiments, and this disclosure will not elaborate further. This allows the virtual wallet system to flexibly allocate storage resources of different sizes according to the needs of different businesses, enabling linear growth in the processing capacity of the wallet corresponding to the business system without modifying the virtual wallet system, achieving high throughput and low latency with high performance.
[0165] In some embodiments, the virtual wallet system provided in this disclosure can provide, for example, Figure 11 The services shown include external services, internal system services, internal and external common modules, fine-grained control modules, and storage modules. External services may include: access to business activities (e.g., various red envelope promotions), anti-fraud components (e.g., firewalls, cloud-based payment tools, Tianjing, etc.), and calls to relevant payment systems (e.g., first payment method, second payment method, Tenpay, etc.). Internal system services include: deposits, withdrawals, withdrawal retry, balance inquiries, transaction history inquiries, wallet reconciliation, and notification services. Internal and external common modules may include: global account release services, black market gateways, and payment gateways. Fine-grained control modules may include handling expired withdrawals and delayed deposits. Storage modules include: core storage and external cache storage.
[0166] Based on experience, the ratio of user acquisition of funds (write operation) to query of asset balance (read operation) is 1:9, which is a scenario with more reads and fewer writes.
[0167] To address the above issues, this disclosure presents a virtual wallet system with read / write separation and data caching. Core storage handles user write operations, while an external cache handles user read operations.
[0168] like Figure 11 As shown, when data needs to be written to the virtual wallet system, the written data will be stored in both the core storage and the external cache. However, the above operation cannot guarantee the consistency between the MySQL data in the core storage and the Redis data in the external cache.
[0169] To address the aforementioned storage separation scenario, this disclosure provides two data synchronization methods, including...
[0170] 1. The external cache periodically retrieves data from the core storage and periodically evicts Redis cached data. This approach is logically simple and does not require additional consideration of data consistency issues.
[0171] 2. Core storage pushes updates to the external cache Redis. That is, when there are updates in core storage, the data is proactively pushed to the external cache. In this disclosure, if the core storage subunit receives a write request for the first object in the first activity, and the write request includes write information, then the core storage subunit is updated according to the write information; the core storage subunit then synchronizes the write information to the external cache storage subunit. This method achieves complete separation of read and write operations, ensuring that reading data does not affect writing data.
[0172] In some embodiments, the virtual wallet system provided in this disclosure can be implemented through, for example... Figure 12 The security modules shown provide various security strategies to ensure the security of data within the virtual wallet system. For example... Figure 12 As shown, the security modules provided by the virtual wallet system may include an inflow (inflow is resource transfer) security module 1201, a payment (payment is resource transfer) security module 1202, a table record security module 1203, and a withdrawal (withdrawal is resource extraction) security module 1204.
[0173] The inbound security module 1201 can provide the following functions: daily inbound limit for a single user, maximum inbound amount limit for each transaction, daily inbound total amount limit for a single wallet, inbound signature verification, inbound on / off switch, and local strong transaction (data consistency) function.
[0174] The payment security module 1202 can provide the following functions: daily payment limit for a single user, maximum payment limit per transaction, maximum daily payment limit for a merchant account, real-name verification, certificate and signature verification for API calls, and other risk control strategies.
[0175] The table record security module 1203 can provide the following functions: security of incoming transaction records, security of withdrawal transaction records, security of user account records, and security of payment records.
[0176] The withdrawal security module 1204 can provide the following functions: daily withdrawal limit for a single user, maximum withdrawal amount limit for a single transaction, total daily withdrawal limit for the wallet, login status verification, withdrawal start and end time limit, anti-fraud function, verification code function, user account freezing function (blacklist calculated offline by the security side), withdrawal switch function, manual review function for large withdrawals, withdrawal signature verification function, and local strong transaction (data consistency) function.
[0177] In addition, in order to save costs and further combat black market activities, the virtual wallet system provided in this embodiment can also perform batch expiration processing of user account balances through the batch balance expiration module 1301.
[0178] like Figure 13 As shown, the batch balance expiration module 1301 may include a delayed crediting module 1302 and a single cash expiration module 1303. The delayed crediting module can control the electronic resources received by the user after they initiate a crediting request, preventing them from being immediately credited to the virtual wallet system. Instead, the crediting will be credited after a certain delay. This delayed crediting module 1302 can effectively prevent illegal activities by black market accounts. The single cash expiration function refers to automatically deducting a credited sum from the user's balance when it expires. This single cash expiration function can reduce activity costs.
[0179] Figure 14 This is a data processing method illustrated according to an exemplary embodiment. This data processing method can be executed by a business system.
[0180] This embodiment will involve independent business systems, virtual wallet systems, and payment systems.
[0181] The virtual wallet system can be the virtual wallet system provided in the above embodiments. The specific implementation and usage methods have been described in the above embodiments and will not be repeated in this embodiment.
[0182] The business system is mainly used to implement the business logic of related business operations. It should be noted that the design of the business system provided in this embodiment is similar to that of the virtual wallet system. That is, the business system can also consist of a logic layer and a storage layer. The logic layer of the business system can be used to implement the relevant logic of the business system. For example, in the red envelope business system, the logic layer can implement the red envelope distribution business logic. The storage layer of the business system can be used to store the relevant data of the business system.
[0183] The payment system can include various payment interfaces for users to use during the withdrawal process.
[0184] refer to Figure 14 The above data processing method may include the following steps.
[0185] Step S1402: Receive an activity initiation request from the first business party for the first activity. The activity initiation request includes activity strategy information, which includes the total activity budget.
[0186] Step S1404: Receive the virtual wallet application request from the first business party and send the virtual wallet application request to the virtual wallet system so that the virtual wallet system can allocate a first virtual wallet for the first activity. The first virtual wallet includes a first virtual wallet identifier.
[0187] Step S1406: Receive the first virtual wallet identifier issued by the virtual wallet system.
[0188] In step S1408, in response to the activity generation request sent by the first business party, the total activity budget is synchronized to the first virtual wallet according to the first virtual wallet identifier, so as to generate a first virtual resource pool for the first activity in the first virtual wallet, and the virtual resources in the first virtual resource pool are used for the first activity.
[0189] Step S1410: Generate a first activity based on the activity strategy information and the first virtual wallet identifier. The first activity includes the first activity identifier.
[0190] Step S1412: The first activity and the first activity identifier are sent to the terminals where multiple objects are located, so that each object can participate in the first activity through the first activity identifier.
[0191] In some embodiments, after the first activity is sent to each object, each object can then access... Figure 15 or Figure 16 Follow the steps shown to participate in this first activity.
[0192] Figure 15 This is a schematic diagram illustrating a resource acquisition method according to an exemplary embodiment.
[0193] refer to Figure 15 The above-mentioned resource acquisition method may include the following steps.
[0194] Step S1502: Receive the resource acquisition request from the first object in the first activity.
[0195] In step S1504, in response to the resource acquisition request, the business system determines the resource acquisition amount for the first object based on the activity strategy information.
[0196] Step S1506: The resource withdrawal amount is used as the resource transfer amount to initiate a resource transfer request to the virtual wallet system, so that the virtual wallet system controls the first virtual resource pool to perform a virtual resource transfer operation to the first virtual account, so that the virtual balance in the first virtual account after the resource transfer is the sum of the virtual balance before the resource transfer and the resource transfer amount, and the balance in the first virtual resource pool after the resource transfer is the difference between the balance before the resource transfer and the resource transfer amount, and the resource transfer amount is equal to the resource transfer amount.
[0197] Figure 16 This is a flowchart illustrating a resource extraction method according to an exemplary embodiment.
[0198] In some embodiments, the virtual wallet application request includes the actual asset payment account of the first business party.
[0199] refer to Figure 16 The above resource extraction method may include the following steps.
[0200] Step S1602: Receive the resource withdrawal request from the first withdrawal object. The resource withdrawal request includes the amount of resource withdrawal and the actual asset receiving account of the first object.
[0201] Step S1604: Initiate a resource extraction request to the virtual wallet system based on the resource extraction request, so that the virtual wallet system can perform virtual resource extraction operation in the first virtual wallet according to the resource extraction amount, and initiate an asset transfer request to the payment system based on the resource extraction amount and the actual asset receiving account of the first object, so that the payment system can control the transfer of the actual asset payment account of the first business party to the actual asset receiving account corresponding to the resource extraction amount according to the asset transfer request.
[0202] The technical solution provided in this embodiment, on the one hand, realizes the transfer of virtual resources and corresponding real assets in the business system through the cooperation of the business system, the virtual wallet system and the payment system; on the other hand, by decoupling the business system from the virtual system and the payment system, it provides more possibilities for matching the business system with the virtual wallet system, eliminating the need to design a separate virtual wallet system for each business system, saving resources and improving activity efficiency.
[0203] With the development of internet technology, online red envelope giveaways have gradually emerged and rapidly spread across the internet. Various marketing campaigns utilize red envelopes to increase daily active users and reach (reach rate refers to the target users that an "advertisement" can reach on a channel). Among these, cash red envelopes are the most direct means, attracting a large number of users to participate in the activities. These activities include, but are not limited to, live-streaming red envelopes, video-time red envelopes, game red envelopes, Spring Festival red envelopes, new user red envelopes, and referral red envelopes.
[0204] Generally, business stakeholders (such as event operations personnel) need to design their own events, such as... Figure 17 The activity system shown aims to manage and withdraw cash for both itself and its users. However, since the activities are short-term, a significant investment of manpower and time is required to implement a short-term cash management solution, essentially reinventing the wheel, resulting in high costs and low returns. Furthermore, the implementation of cash management capabilities by the business side is often rushed, with insufficient consideration given to security, potentially leading to financial losses and wasted activity funds. More importantly, the aforementioned activity system typically needs to implement the business functions shown in Figure 18, such as providing cash withdrawal services for live-streaming red envelope activities, video red envelope activities, game red envelope activities, and Spring Festival gift packages. The design of the activity system places very high technical demands on the business side. Since the business side organizes temporary marketing activities, its relevant technologies lack depth and experience, making it impossible to implement a highly available and high-performance cash system in the short term.
[0205] like Figure 17 As shown, business units need to design a separate activity system for each activity, which wastes resources and cannot guarantee the security of the activity. In addition, this activity system also has the following problems: unclear subsystem boundaries between different levels, poor maintainability; requiring modifications for different business accesses; poor universality after changes; lack of isolation between businesses, leading to mutual interference; the system cannot automatically scale, resulting in poor adaptability; there is no systematic security solution; and it only supports fixed payment sources, making it inflexible.
[0206] like Figure 19 As shown in the embodiments of this disclosure, a red envelope activity system is provided. This system includes, from top to bottom, an independent red envelope business system, a virtual wallet system, and a payment system. The boundaries of each layer are clearly defined, and clear external interfaces are established to decouple the relationships between each layer, forming a highly cohesive and loosely coupled system. Higher-level systems should be simpler and able to quickly respond to product needs, while lower-level systems have higher requirements for stability and reliability. The wallet system plays a crucial role in connecting the upper and lower layers.
[0207] The virtual wallet system can be the same as the one provided in the above embodiments. The specific implementation and usage methods have been described in the above embodiments and will not be repeated here. It includes multiple modules such as deposit, withdrawal, payment, transaction history query, balance query, data synchronization, reconciliation and notification, black market gateway, payment gateway, and distributed account allocation. The deposit module is mainly responsible for the inflow of funds into the wallet. The withdrawal module is mainly responsible for extracting cash from the user and using the money in the merchant account to pay the user. The transaction history query and balance query are mainly used to display the user's fund transaction status. Data synchronization is used to synchronize the critical core storage (MySQL) to the external accelerated storage (Redis). Reconciliation and notification are used for reconciliation and alarm notification with the payment side. The black market gateway mainly encapsulates various black market interfaces to block black market activities. The payment gateway mainly encapsulates the interfaces of QQ Pay and WeChat Pay (and can access other payment methods), shielding the complex payment process on the payment side. Distributed account allocation is mainly used for global order number allocation for deposit and withdrawal, and is used for idempotent re-entry (the system may experience various failures, including network or hardware issues, requiring retrying with the original order number to ensure success).
[0208] The red envelope business system is mainly used to implement the relevant logic of red envelope business. For example, it can implement various red envelope business logics, including red envelope grabbing activities, red envelope sharing, and time-limited red envelope business. This disclosure does not impose any restrictions on this.
[0209] It should be noted that the design of the red envelope business system provided in this embodiment is similar to that of the virtual wallet system. That is, the red envelope business system can also consist of a logic layer and a storage layer. The logic layer of the red envelope business system can be used to implement the relevant logic in the red envelope business system, and the storage layer of the red envelope business system can be used to store the relevant data in the red envelope business system.
[0210] A payment system can include multiple payment interfaces (such as...) Figure 19 (Showing various X payment methods) so that users can call them during the process.
[0211] It is understood that the red envelope service system in this embodiment can be Figure 14 One example of the business system described in this embodiment can be found in the following documentation for detailed usage. Figure 14 The explanatory sections corresponding to the embodiments will not be repeated in this embodiment.
[0212] Regarding the aforementioned red envelope activity system, Figure 20 A data display method is provided to control and display the red envelope activity system.
[0213] In some embodiments, the above-described data display method can be implemented by any electronic device with display and computing capabilities. For example... Figure 1 The terminal device in the embodiment.
[0214] refer to Figure 20 The above data display method may include the following steps.
[0215] Step S2002: Display the activity settings interface, which includes activity strategy settings controls, virtual wallet redemption controls, and activity generation controls.
[0216] In some embodiments, an activity settings interface as shown in Figure 21 may be displayed, which may include at least an activity policy settings control, a virtual wallet redemption control, and an activity generation control.
[0217] Step S2004: In response to the triggering operation of the activity policy setting control, the activity policy setting interface is displayed.
[0218] In some embodiments, when the first business party triggers the activity policy setting control on the activity settings interface, the activity policy setting interface can be displayed.
[0219] On the activity settings interface, business partners can apply for red envelope IDs and red envelope types (such as regular red envelopes, grabbing red envelopes, sharing red envelopes, time-limited red envelopes, and other various gameplay options) through the red envelope system.
[0220] For example, the activity strategy settings interface could be as follows: Figure 22 The image shows the settings interface for the red envelope campaign strategy. (This is achieved through...) Figure 22 Selecting the desired red envelope type will take you to the red envelope strategy settings interface corresponding to that type. For example, in... Figure 22 If you select the regular red envelope, you can enter... Figure 23 and Figure 24 Configure the basic information, prize information, and scenario deployment information for this regular red envelope.
[0221] Step S2006: Obtain the activity strategy information input by the first business party for the first activity through the activity strategy setting interface.
[0222] In some embodiments, the first service provider can set the activity policy for the first activity through the activity policy setting interface described above, and the electronic device executing this embodiment can obtain the activity policy information input by the first service provider for the first activity.
[0223] For example, the first business party can... Figure 22 , Figure 23 as well as Figure 24 Strategies for setting up red envelope campaigns for the first event.
[0224] Step S2008: In response to the triggering operation of the virtual wallet redemption control, the virtual wallet redemption interface is displayed.
[0225] In some embodiments, when the first business party triggers the virtual wallet redemption control on the activity settings interface, a virtual wallet redemption interface can be displayed.
[0226] On the virtual wallet redemption interface, business users can apply for a wallet ID from the virtual wallet system and a merchant ID (used for cash payments) from the payment system to form an activity ID, which is then recorded in the configuration of the entire system.
[0227] Step S2010: Obtain the virtual wallet redemption information entered by the first business party for the first activity through the virtual wallet redemption interface, so that the virtual wallet system can allocate a first virtual wallet and a first virtual wallet identifier to the first activity based on the virtual wallet redemption information.
[0228] Through the virtual wallet redemption interface, the first business party can input information such as... Figure 25 The virtual wallet redemption information shown. Figure 25 The configuration options can include: wallet name, maximum amount per transaction, frequency of deposits per second, maximum number of deposits per user per day, deposit freeze time, deposit expiration time, withdrawal switch, start time for withdrawal, and end time for withdrawal. Business users can configure these options to withdraw funds from the virtual wallet.
[0229] In step S2012, in response to the triggering operation of the activity generation control, the triggering interface of the first activity is displayed. The triggering interface of the first activity is generated based on the activity strategy information and the first virtual wallet identifier.
[0230] In some embodiments, after the activity strategy information and the virtual wallet redemption information for the first activity have been entered, the first business party can trigger the activity generation control to generate the first activity based on the activity strategy information and the first virtual wallet identifier, and display the trigger interface of the first activity (e.g., on an electronic device) Figure 26 shown).
[0231] It should be noted that the triggering of the first activity can be after a certain time delay or can be manually executed by the first business party; this disclosure does not impose any restrictions on this.
[0232] Once the first activity is triggered, it will be distributed to the terminal interfaces of multiple objects for display, so that these objects can participate in the first activity.
[0233] In other embodiments, the activity has a start time. When the specified time arrives, the system pushes the activity to the user's end. The user then participates in the red envelope system to receive red envelopes. After receiving the red envelope, the virtual funds flow to the wallet system. The wallet system supports (business logic service isolation, data isolation, scalability, dynamic allocation of entity resources such as MySQL and Redis based on business request volume, the highest request volume, and the scale of user participation, reliable security, and pluggable multiple payment sources). After receiving the money, the user can withdraw it through the designated withdrawal page. At this time, the wallet system will deduct the user's virtual funds, and the payment system will pay the user cash.
[0234] Figure 27 This is an exemplary embodiment illustrating a first active interface displayed to multiple objects, which can be accessed through... Figure 27 The interface shown allows participation in the first activity; for example, the first object can be clicked. Figure 27 Click the "Open" button shown to claim the red envelope.
[0235] like Figure 28 As shown, once the first recipient issues an instruction to claim a red envelope, the red envelope business system will send the red envelope claim instruction as a resource extraction request to the virtual wallet system. The virtual wallet system will then perform a resource transfer operation on the first virtual account based on the amount of the red envelope claimed by the first recipient. This will ensure that the virtual balance in the first virtual account after the resource transfer is the sum of the virtual balance before the resource transfer and the red envelope amount, and that the balance in the first virtual resource pool after the resource transfer is the difference between the balance before the resource transfer and the resource transfer amount. The red envelope amount is equal to the resource transfer amount.
[0236] Figure 29 This is an example of a red envelope withdrawal operation interface.
[0237] like Figure 29 As shown, after the first recipient receives the red envelope, they can enter the red envelope withdrawal interface to convert the balance in the virtual wallet system into cash for the first recipient's use.
[0238] exist Figure 29 In the middle, click the "Withdraw" button to enter. Figure 30 To access the withdrawal interface, the first user can enter the amount of the red envelope to withdraw.
[0239] refer to Figure 28 When the first object is Figure 30After entering the amount to be withdrawn from the red envelope and clicking the "Withdraw Now" button, the red envelope business system will send a resource withdrawal request to the virtual wallet system, using the red envelope withdrawal amount as the resource withdrawal amount. The virtual wallet system will then perform a virtual resource withdrawal operation in the first virtual wallet based on this resource withdrawal amount, so that the virtual balance in the first virtual account after the resource withdrawal is the difference between the virtual balance before the resource withdrawal and the resource withdrawal amount. In addition, the virtual wallet system will initiate an asset transfer request to the payment system based on the resource withdrawal amount and the actual asset receiving account of the first party. The payment system includes the actual asset payment account of the first business party, so that the payment system can control the actual asset payment account to perform an actual asset transfer operation corresponding to the resource withdrawal amount from the actual asset receiving account according to the asset transfer request.
[0240] In related technologies, the red envelope business system is highly coupled with the virtual wallet system and payment system, resulting in unclear boundaries between the systems and making it complex and difficult to maintain. When abstracted into three clearly defined systems, cross-interface and cross-service calls become problematic, inevitably introducing distributed transactions, such as... Figure 3 As shown in the upper part, the data flow is split into three independent systems: the red envelope system, the wallet system, and the payment system.
[0241] This disclosure provides three implementation methods for the above-mentioned distributed transactions.
[0242] The first type is two-phase and three-phase submission.
[0243] The second approach is the TCC (Try, Commit, Cancel) scheme, which is similar to the first approach. It moves the two-phase implementation from the underlying layer to the business layer and can be optimized according to the characteristics of the business itself.
[0244] The third approach uses local message tables to ensure data consistency (transaction logs and account tables) through MySQL local transactions. The transaction logs include incoming and outgoing transaction records. Specifically, this involves the following steps: the virtual wallet system generates a local message table based on the resource withdrawal amount and the actual asset receiving account; the virtual wallet system issues a unique identifier to the local message table; the virtual wallet system continuously sends asset transfer requests to the payment system based on the local message table and the unique identifier, allowing the payment system to perform an actual asset transfer operation; the virtual wallet system receives a payment success notification from the payment system and stops sending asset transfer requests. Figure 3As shown in the lower half, funds flow into the wallet system through deposits and into the user's QQ and WeChat Wallet through withdrawals. The red packet system handles local transactions, simultaneously sending deposits with a unique order number (retrying with the original order number if it fails). The wallet system also handles local transactions, simultaneously calling the payment-side interface with the unique withdrawal order number (retrying with the original order number if it fails). This combination of local transactions and idempotent retries ensures fund security while significantly improving system performance, eliminating the need to synchronously wait for multiple transaction steps to complete.
[0245] In some embodiments: when the wallet's capacity reaches the maximum promised request volume, flow control is required to prevent it from being overwhelmed by sudden high concurrency, achieving flexible degradation and high availability. This embodiment designs a mechanism such as... Figure 31 The top-down rate limiting system shown requires the top-level access party to perform asynchronous idempotent retries when the wallet system limits rates. The access routing layer uses interface rate limiting, the component plugin layer performs business-level rate limiting, the wallet business logic uses wallet ID to control resource access rate limiting, and the incoming payment, withdrawal, and transaction balance query interfaces also have their interfaces rate-limited. Asynchronous payments are decoupled and peak-shaving to protect the payment side system interfaces. The underlying payment interface query request volume (QPS) is relatively low, only in the hundreds.
[0246] This solution provides a general-purpose wallet middleware system solution that supports flexible scaling, high concurrency, and high security. It is similar to a small interconnected banking system, but it is lighter and more agile than a banking system, without sacrificing security. It has comprehensive fund management capabilities, a multi-dimensional monitoring system, strict security guarantees, and a highly scalable software architecture that is ready to use upon integration.
[0247] Figure 32 A block diagram of a data processing apparatus according to an exemplary embodiment is shown. (Refer to...) Figure 32 The data processing device 3200 provided in this embodiment can be installed in a virtual wallet system. The data processing device 3200 may include: a resource acquisition request receiving module 3201, a first virtual wallet determination module 3202, a virtual resource extraction operation module 3203, and an actual asset transfer module 3204.
[0248] The resource acquisition request receiving module 3201 can be used to receive a resource extraction request from a first object in a first activity. The resource extraction request carries the resource extraction amount, the first activity identifier of the first activity, and the actual asset receiving account of the first object. The first activity is initiated by the first business party. The first virtual wallet determination module 3202 can be used to determine the first virtual wallet among multiple virtual wallets based on the first activity identifier. The first virtual wallet includes the first virtual account of the first object. The virtual resource extraction operation module 3203 can be used to perform a virtual resource extraction operation in the first virtual wallet based on the resource extraction amount, so that the virtual balance in the first virtual account after resource extraction is the difference between the virtual balance before resource extraction and the resource extraction amount. The actual asset transfer module 3204 can be used by the virtual wallet system to initiate an asset transfer request to the payment system based on the resource extraction amount and the actual asset receiving account of the first object. The payment system includes the actual asset payment account of the first business party, so that the payment system controls the actual asset payment account to perform an actual asset transfer operation corresponding to the resource extraction amount to the actual asset receiving account based on the asset transfer request.
[0249] In some embodiments, the first virtual wallet includes a first virtual resource pool, and the virtual resources in the first virtual resource pool are used for the first activity. The data processing device 3200 further includes: a resource transfer request receiving module, a virtual wallet matching module, and a virtual resource transfer operation module.
[0250] The resource transfer request receiving module can be used to receive a resource transfer request from a first object in a first activity. The resource transfer request carries the resource transfer amount and the first activity identifier. The virtual wallet matching module can be used to determine the first virtual wallet among multiple virtual wallets based on the first activity identifier. The virtual resource transfer operation module can be used to control the first virtual resource pool to perform a virtual resource transfer operation from the first virtual wallet to the first virtual account based on the resource transfer amount, so that the virtual balance in the first virtual account after the resource transfer is the sum of the virtual balance before the resource transfer and the resource transfer amount, and the balance in the first virtual resource pool after the resource transfer is the difference between the balance before the resource transfer and the resource transfer amount, and the resource transfer amount is equal to the resource transfer amount.
[0251] In some embodiments, the virtual wallet system includes a logic layer and a storage layer. The logic layer includes multiple logic units, including a first logic unit. The storage layer includes multiple storage units, including a first storage unit. The first virtual wallet includes a first logic unit and a first storage unit. The data processing device 3200 further includes a virtual wallet application request receiving module, a first logic unit allocation module, and a first storage unit allocation module.
[0252] The virtual wallet application request receiving module can be used to receive a virtual wallet application request from the first business party for the first activity; the first logical unit allocation module can be used by the virtual wallet system to allocate the first logical unit to the first activity so that the first logical unit can provide logical services to the first activity; and the first storage unit allocation module can be used by the virtual wallet system to allocate the first storage unit to the first activity so that the first storage unit can provide storage services to the first activity.
[0253] In some embodiments, the plurality of virtual wallets includes a second virtual wallet, the plurality of logical units includes a second logical unit, the plurality of storage units includes a second storage unit, the second virtual wallet includes a second logical unit and a second storage unit, the virtual wallet application request for the first activity includes a first preset activity request amount and a first preset activity storage amount for the first activity, and the data processing device 3200 further includes: a data volume judgment module, a second logical unit allocation module and a second storage unit allocation module.
[0254] The data volume judgment module can be used to determine whether the first preset activity request volume is greater than the first preset activity request volume threshold or the first preset activity storage volume is greater than the first preset activity storage threshold; the second logic unit allocation module can be used to allocate the second logic unit to the first activity so that the first logic unit and the second logic unit can jointly provide logical services to the first activity; the second storage unit allocation module can be used to allocate the second storage unit to the first activity so that the first storage unit and the second storage unit can jointly provide storage services to the first activity.
[0255] In some embodiments, the virtual wallet application request for the first activity includes a first preset activity request amount and a first preset activity storage amount for the first activity. The data processing device 3200 further includes: a second activity wallet application request receiving module, a summing module, a first logic unit reallocation module, and a first storage unit reallocation module.
[0256] The second activity wallet application request receiving module can be used to receive virtual wallet application requests from the second business party for the second activity. The virtual wallet application request for the second activity includes the second preset activity request amount and the second preset activity storage amount. The summation module can be used to determine the sum of the first preset activity request amount and the second preset activity request amount, as well as the sum of the first preset storage amount and the second preset activity storage amount. The first logical unit reallocation module can be used to allocate the first logical unit to the second activity if the sum of the first preset activity request amount and the second preset activity request amount is less than the second preset activity request amount threshold, and the sum of the first preset storage amount and the second preset activity storage amount is less than the second preset activity storage amount threshold, so that the first logical unit can provide logical services to the second activity. The first storage unit reallocation module can be used to allocate the first storage unit to the second activity so that the first storage unit can provide storage services to the second activity.
[0257] In some embodiments, the plurality of storage units further includes a third storage unit, and the data processing apparatus 3200 further includes: a target request acquisition module, a threshold judgment module, a third storage unit allocation module, and a target storage unit determination module.
[0258] The target request acquisition module can be used to receive the target request of the second object in the first activity; the threshold judgment module can be used to determine that the number of requests received by the first storage unit in a unit time is greater than or equal to the third preset activity request amount threshold, or the data storage amount of the first storage unit is greater than or equal to the third preset activity storage amount threshold; the third storage unit allocation module can be used by the virtual wallet system to allocate the third storage unit to the first activity; the target storage unit determination module can be used to determine the target storage unit from the first storage unit and the third storage unit, so that the target storage unit provides storage services to the target request of the second object.
[0259] In some embodiments, the first storage unit includes a first storage hash identifier, which is obtained by hashing the first storage identifier of the first storage unit. The first storage unit stores information about multiple objects, and each object has a corresponding object hash identifier. The target storage unit determination module may include: a third storage hash identifier determination submodule, a second object hash identifier determination submodule, a first relationship judgment submodule, and a second relationship judgment submodule.
[0260] The third storage hash identifier determination submodule can be used to perform hash calculation on the third storage identifier of the third storage unit to obtain the third storage hash identifier; the second object hash identifier determination submodule can be used to perform hash calculation on the object identifier of the second object to obtain the second object hash identifier; the first relationship judgment submodule can be used to determine the third storage unit as the target storage unit if the second object hash identifier is greater than or equal to the third storage hash identifier; the second relationship judgment submodule can be used to determine the first storage unit as the target storage unit if the second object hash identifier is less than the third storage hash identifier and greater than or equal to the first storage hash identifier.
[0261] In some embodiments, the data processing apparatus 3200 further includes a truncation module and an information transfer module.
[0262] The truncation module can be used to truncate multiple object hash identifiers in the first storage unit according to the third storage hash identifier if the first storage hash identifier is less than the third storage hash identifier; the information transfer module can be used to transfer the information of the object corresponding to the object hash identifier that is greater than or equal to the third storage hash identifier to the third storage unit.
[0263] In some embodiments, the first storage unit includes a core storage subunit and an external cache storage subunit, and the method further includes:
[0264] The core storage subunit receives a write request from the first object in the first activity, the write request including write information;
[0265] Update the core storage sub-units based on the written information;
[0266] The core storage subunit synchronizes the write information to the external cache storage subunit.
[0267] In some embodiments, the actual asset payment account of the first business party includes actual asset payment accounts provided by multiple account providers, the multiple account providers include a target account provider, and the actual asset payment account provided by the target account provider to the first business party includes a target actual asset payment account; wherein, the actual asset transfer module 3204 may include: an account provider determination submodule, a target actual asset payment account determination submodule, and an asset transfer request initiation module.
[0268] The account provider determination submodule can be used to determine the account provider of the actual asset receiving account of the first object as the target account provider; the target actual asset payment account determination submodule can be used to determine the actual asset payment account provided by the target account provider to the first business party as the target actual asset payment account; the asset transfer request initiation module can be used to initiate an asset transfer request to the target actual asset payment account in the payment system according to the resource extraction amount, so that the target actual asset payment account can transfer the actual assets corresponding to the resource extraction amount to the actual asset receiving account.
[0269] In some embodiments, the actual asset transfer module 3204 may include: a local message table production submodule, a uniquely identifiable message table identifier distribution submodule, a continuous request module, and a stop request module.
[0270] The system includes several modules: a local message table generation module for generating a local message table based on the resource extraction amount and the actual asset receiving account; a unique message table identifier issuance module for issuing a unique message table identifier to the local message table; a continuous request module for continuously sending asset transfer requests to the payment system based on the local message table and the unique message table identifier, so that the payment system can perform an actual asset transfer operation based on the local message table and the unique message table identifier; and a stop request module for stopping sending asset transfer requests upon receiving a payment success identifier from the payment system.
[0271] In some embodiments, a resource withdrawal request is a red packet withdrawal request initiated by a first object to a virtual wallet system through the red packet business system, and the resource withdrawal amount is the withdrawal amount in the red packet withdrawal request; a resource transfer request is a red packet crediting request initiated by a first object to a virtual wallet system through the red packet business system, and the resource transfering amount is the red packet crediting amount in the red packet crediting request.
[0272] Since the functions of the device 3200 have been described in detail in their respective method embodiments, they will not be repeated here.
[0273] Figure 33 A block diagram of a data processing apparatus according to an exemplary embodiment is shown. (Refer to...) Figure 33 The data processing device 3300 provided in this embodiment can be installed in a business system. The data processing device 3300 includes: an activity initiation request receiving module 3301, a virtual wallet application request receiving module 3302, a first virtual wallet identifier issuing module 3303, a synchronization module 3304, a first activity generation module 3305, and a first activity issuing module 3306.
[0274] The system includes the following modules: Activity Initiation Request Receiving Module 3301 receives an activity initiation request from the first business party for the first activity. The activity initiation request includes activity strategy information, which includes the total activity budget. Virtual Wallet Application Request Receiving Module 3302 receives a virtual wallet application request from the first business party and sends it to the virtual wallet system so that the virtual wallet system can allocate a first virtual wallet for the first activity. The first virtual wallet includes a first virtual wallet identifier. First Virtual Wallet Identifier Issuing Module 3303 receives a first virtual wallet identifier issued by the virtual wallet system. Synchronization Module 3304 responds to an activity generation request sent by the first business party and synchronizes the total activity budget to the first virtual wallet based on the first virtual wallet identifier. This allows the generation of a first virtual resource pool for the first activity within the first virtual wallet, and the virtual resources in the first virtual resource pool are used for the first activity. First Activity Generation Module 3305 generates a first activity based on the activity strategy information and the first virtual wallet identifier. The first activity includes a first activity identifier. First Activity Issuing Module 3306 issues the first activity and the first activity identifier to multiple objects' terminals so that each object can participate in the first activity through the first activity identifier.
[0275] In some embodiments, the plurality of objects include a first object, and the first virtual wallet includes a first virtual account of the first object. The data processing device 3300 may further include: a resource claim request acceptance module, a resource claim amount determination module, and a resource transfer request initiation module to the virtual wallet system.
[0276] The resource claiming request receiving module can be used to receive resource claiming requests from the first object in the first activity; the resource claiming amount determination module can be used to determine the resource claiming amount of the first object in response to the resource claiming request, based on the activity strategy information; the resource transfer request initiation module can be used to initiate a resource transfer request to the virtual wallet system with the resource claiming amount as the resource transfer amount, so that the virtual wallet system controls the first virtual resource pool to perform virtual resource transfer operations to the first virtual account, so that the virtual balance in the first virtual account after the resource transfer is the sum of the virtual balance before the resource transfer and the resource transfer amount, and the balance in the first virtual resource pool after the resource transfer is the difference between the balance before the resource transfer and the resource transfer amount, and the resource transfer amount equals the resource transfer amount.
[0277] In some embodiments, the virtual wallet application request includes the actual asset payment account of the first business party; wherein, the data processing device 3300 may further include: a resource extraction request receiving module and a resource extraction request initiating module.
[0278] The resource extraction request receiving module can be used to receive resource extraction requests from the first object, which include the resource extraction amount and the actual asset receiving account of the first object. The resource extraction request initiating module can be used to initiate a resource extraction request to the virtual wallet system based on the resource extraction request, so that the virtual wallet system can perform virtual resource extraction operations in the first virtual wallet according to the resource extraction amount, and initiate an asset transfer request to the payment system based on the resource extraction amount and the actual asset receiving account of the first object, so that the payment system can control the transfer of the actual asset payment account of the first business party to the actual asset receiving account corresponding to the resource extraction amount according to the asset transfer request.
[0279] Since the functions of the device 3300 have been described in detail in their respective method embodiments, they will not be repeated here.
[0280] Figure 34 A block diagram illustrating a data display device according to an exemplary embodiment. (Refer to...) Figure 34 The data display device 3400 provided in this embodiment may include: an activity setting interface display module 3401, an activity strategy setting interface display module 3402, an activity strategy information acquisition module 3403, a virtual wallet redemption interface display module 3404, a virtual wallet redemption information acquisition module 3405, and a trigger interface display module 3406.
[0281] The activity settings interface display module 3401 can be used to display the activity settings interface, which includes an activity strategy setting control, a virtual wallet redemption control, and an activity generation control. The activity strategy setting interface display module 3402 can be used to display the activity strategy setting interface in response to the trigger operation of the activity strategy setting control. The activity strategy information acquisition module 3403 can be used to acquire the activity strategy information input by the first business party for the first activity through the activity strategy setting interface. The virtual wallet redemption interface display module 3404 can be used to display the virtual wallet redemption interface in response to the trigger operation of the virtual wallet redemption control. The virtual wallet redemption information acquisition module 3405 can be used to acquire the virtual wallet redemption information input by the first business party for the first activity through the virtual wallet redemption interface, so that the virtual wallet system can allocate a first virtual wallet and a first virtual wallet identifier to the first activity according to the virtual wallet redemption information. The trigger interface display module 3406 can be used to display the trigger interface of the first activity in response to the trigger operation of the activity generation control. The trigger interface of the first activity is generated based on the activity strategy information and the first virtual wallet identifier.
[0282] Since the functions of the device 3400 have been described in detail in their respective method embodiments, they will not be repeated here.
[0283] The modules and / or sub-modules described in the embodiments of this application can be implemented in software or hardware. The described modules and / or sub-modules can also be located in a processor. The names of these modules and / or sub-modules do not, in some cases, constitute a limitation on the module and / or sub-module itself.
[0284] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0285] Furthermore, the above figures are merely illustrative of the processes included in the method according to exemplary embodiments of this disclosure and are not intended to be limiting. It is readily understood that the processes shown in the above figures do not indicate or limit the temporal order of these processes. Additionally, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.
[0286] Figure 35 A schematic diagram of the structure of an electronic device suitable for implementing embodiments of the present disclosure is shown. It should be noted that... Figure 35 The illustrated electronic device 3500 is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.
[0287] like Figure 35 As shown, the electronic device 3500 includes a central processing unit (CPU) 3501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 3502 or a program loaded from a storage section 3508 into a random access memory (RAM) 3503. The RAM 3503 also stores various programs and data required for the operation of the electronic device 3500. The CPU 3501, ROM 3502, and RAM 3503 are interconnected via a bus 3504. An input / output (I / O) interface 3505 is also connected to the bus 3504.
[0288] The following components are connected to I / O interface 3505: an input section 3506 including a keyboard, mouse, etc.; an output section 3507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 3508 including a hard disk, etc.; and a communication section 3509 including a network interface card such as a LAN card, modem, etc. The communication section 3509 performs communication processing via a network such as the Internet. Drive 3510 is also connected to I / O interface 3505 as needed. Removable media 3511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., are installed on drive 3510 as needed so that computer programs read from them can be installed into storage section 3508 as needed.
[0289] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable storage medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 3509, and / or installed from removable medium 3511. When the computer program is executed by central processing unit (CPU) 3501, it performs the functions defined above in the system of this application.
[0290] It should be noted that the computer-readable storage medium disclosed herein may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable storage medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable storage medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0291] In another aspect, this application also provides a computer-readable storage medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable storage medium carries one or more programs, which, when executed by the device, enable the device to perform the following functions: receiving a resource extraction request from a first object in a first activity, the resource extraction request carrying a resource extraction amount, a first activity identifier of the first activity, and the actual asset receiving account of the first object, the first activity being initiated by a first business party;
[0292] The first virtual wallet is identified among multiple virtual wallets based on the first activity identifier, and the first virtual wallet includes the first virtual account of the first object;
[0293] Based on the amount of resources withdrawn, a virtual resource withdrawal operation is performed in the first virtual wallet so that the virtual balance in the first virtual account after resource withdrawal is the difference between the virtual balance before resource withdrawal and the amount of resource withdrawal.
[0294] The virtual wallet system initiates an asset transfer request to the payment system based on the resource extraction amount and the actual asset receiving account of the first party. The payment system includes the actual asset payment account of the first business party, so that the payment system can control the actual asset payment account to perform an actual asset transfer operation corresponding to the resource extraction amount to the actual asset receiving account according to the asset transfer request.
[0295] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in various optional implementations of the above embodiments.
[0296] From the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions of the embodiments of this disclosure can be extracted as software products. These software products can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, or external hard drive), and include several instructions to cause a computing device (such as a personal computer, server, mobile terminal, or smart device) to execute the methods according to the embodiments of this disclosure, for example... Figure 2 The steps are shown.
[0297] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not claimed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
[0298] The data collection and processing plan outlined in this application must be implemented in strict accordance with the requirements of relevant national laws and regulations, obtaining the informed consent or separate consent of the data subject (or having a legal basis as stipulated by the relevant national laws and regulations), and conducting subsequent data use and processing within the scope authorized by laws and regulations and the data subject.
[0299] It should be understood that this disclosure is not limited to the detailed structures, drawing arrangements or implementations shown herein; rather, this disclosure is intended to cover various modifications and equivalent arrangements contained within the spirit and scope of the appended claims.
Claims
1. A data processing method, characterized in that, The data processing method is executed by a virtual wallet system, which includes multiple virtual wallets, a logic layer, and a storage layer. The logic layer includes multiple logic units, each including a first logic unit. The storage layer includes multiple storage units, each including a first storage unit. The method includes: Receive the virtual wallet application request from the first business party for the first activity; The virtual wallet system assigns the first logical unit to the first activity so that the first logical unit can provide logical services to the first activity; The virtual wallet system allocates the first storage unit to the first activity so that the first storage unit can provide storage services to the first activity; Receive a resource extraction request from a first object in the first activity. The resource extraction request carries the resource extraction amount, the first activity identifier of the first activity, and the actual asset receiving account of the first object. The first activity is initiated by a first business party. A first virtual wallet is determined from the plurality of virtual wallets based on the first activity identifier. The first virtual wallet includes a first virtual account of the first object. The first virtual wallet includes the first logical unit and the first storage unit. A virtual resource withdrawal operation is performed in the first virtual wallet according to the resource withdrawal amount, so that the virtual balance in the first virtual account after resource withdrawal is the difference between the virtual balance before resource withdrawal and the resource withdrawal amount; The virtual wallet system initiates an asset transfer request to the payment system based on the resource extraction amount and the actual asset receiving account of the first object. The payment system includes the actual asset payment account of the first business party, so that the payment system controls the actual asset payment account to perform an actual asset transfer operation corresponding to the resource extraction amount to the actual asset receiving account according to the asset transfer request.
2. The method according to claim 1, characterized in that, The first virtual wallet includes a first virtual resource pool, and the virtual resources in the first virtual resource pool are used for the first activity. The method further includes: Receive a resource transfer request from the first object in the first activity, the resource transfer request carrying the resource transfer amount and the identifier of the first activity; The first virtual wallet is determined from the plurality of virtual wallets based on the first activity identifier; Based on the amount of resources transferred in, the first virtual resource pool is controlled to perform a virtual resource transfer operation to the first virtual account in the first virtual wallet, so that the virtual balance in the first virtual account after the resource transfer is the sum of the virtual balance before the resource transfer and the amount of resources transferred in, and the balance in the first virtual resource pool after the resource transfer is the difference between the balance before the resource transfer and the amount of resources transferred out, wherein the amount of resources transferred in is equal to the amount of resources transferred out.
3. The method according to claim 1, characterized in that, Multiple virtual wallets include a second virtual wallet, the multiple logical units include a second logical unit, the multiple storage units include a second storage unit, the second virtual wallet includes the second logical unit and the second storage unit, the virtual wallet application request for the first activity includes a first preset activity request amount and a first preset activity storage amount for the first activity, and the method further includes: Determine that the first preset activity request quantity is greater than the first preset activity request quantity threshold or the first preset activity storage quantity is greater than the first preset activity storage quantity threshold; The second logic unit is assigned to the first activity so that the first logic unit and the second logic unit jointly provide logical services to the first activity; The second storage unit is allocated to the first activity so that the first storage unit and the second storage unit jointly provide storage services to the first activity.
4. The method according to claim 1, characterized in that, The virtual wallet application request for the first activity includes a first preset activity request amount and a first preset activity storage amount for the first activity; the method further includes: Receive a virtual wallet application request from a second business party for a second activity, wherein the virtual wallet application request for the second activity includes a second preset activity request amount and a second preset activity storage amount for the second activity; Determine the sum of the first preset activity request quantity and the second preset activity request quantity, and the sum of the first preset activity storage quantity and the second preset activity storage quantity; If the sum of the first preset activity request quantity and the second preset activity request quantity is less than the second preset activity request quantity threshold, and the sum of the first preset activity storage quantity and the second preset activity storage quantity is less than the second preset activity storage quantity threshold, then the first logic unit is allocated to the second activity so that the first logic unit provides logical services to the second activity; and the first storage unit is allocated to the second activity so that the first storage unit provides storage services to the second activity.
5. The method according to claim 1, characterized in that, The plurality of storage units further includes a third storage unit, and the method further includes: Receive the target request from the second object in the first activity; It is determined that the number of requests received by the first storage unit within a unit of time is greater than or equal to a third preset active request threshold, or the data storage amount of the first storage unit is greater than or equal to a third preset active storage threshold. The virtual wallet system allocates the third storage unit to the first activity; A target storage unit is determined from the first storage unit and the third storage unit so that the target storage unit provides storage services to the target request of the second object.
6. The method according to claim 5, characterized in that, The first storage unit includes a first storage hash identifier, which is obtained by hashing the first storage identifier of the first storage unit. The first storage unit stores information about multiple objects, each of which has a corresponding object hash identifier. Determining a target storage unit from the first storage unit and the third storage unit, so that the target storage unit provides storage services to the target request of the second object, includes: A hash calculation is performed on the third storage identifier of the third storage unit to obtain the third storage hash identifier; Perform a hash calculation on the object identifier of the second object to obtain the hash identifier of the second object; If the second object hash identifier is greater than or equal to the third storage hash identifier, then the third storage unit is determined to be the target storage unit; If the second object hash identifier is less than the third storage hash identifier and greater than or equal to the first storage hash identifier, then the first storage unit is determined to be the target storage unit.
7. The method according to claim 6, characterized in that, The method further includes: If the first storage hash identifier is less than the third storage hash identifier, then the hash identifiers of multiple objects in the first storage unit are truncated according to the third storage hash identifier; The information of the object corresponding to the object hash identifier that is greater than or equal to the third storage hash identifier is transferred to the third storage unit.
8. The method according to claim 1, characterized in that, The first storage unit includes a core storage subunit and an external cache storage subunit, and the method further includes: The core storage subunit receives a write request from the first object in the first activity, and the write request includes write information; The core storage subunit is updated according to the written information; The core storage subunit synchronizes the write information to the external cache storage subunit.
9. The method according to claim 1, characterized in that, The first business party's actual asset payment account includes multiple actual asset payment accounts provided by account providers, including a target account provider. The actual asset payment account provided by the target account provider to the first business party includes a target actual asset payment account. The virtual wallet system initiates an asset transfer request to the payment system based on the resource extraction amount and the actual asset receiving account of the first object. This allows the payment system to control the transfer of actual assets corresponding to the resource extraction amount from the actual asset payment account to the actual asset receiving account based on the asset transfer request. This includes: The provider of the actual asset receiving account of the first object is determined to be the provider of the target account; The actual asset payment account provided by the target account provider to the first business party is determined to be the target actual asset payment account; Based on the resource extraction amount, the asset transfer request is initiated to the target actual asset payment account in the payment system, so that the target actual asset payment account can transfer the actual assets corresponding to the resource extraction amount to the actual asset receiving account.
10. The method according to claim 1, characterized in that, The virtual wallet system initiates an asset transfer request to the payment system based on the resource withdrawal amount and the actual asset receiving account of the first object, including: The virtual wallet system generates a local message table based on the resource extraction amount and the actual asset receiving account; The virtual wallet system sends a uniquely identifiable message table identifier to the local message table; The virtual wallet system continuously sends asset transfer requests to the payment system based on the local message table and the uniquely identifiable message table identifier, so that the payment system can perform an actual asset transfer operation based on the local message table and the uniquely identifiable message table identifier. The virtual wallet system receives the payment success identifier returned by the payment system and stops sending the asset transfer request.
11. The method according to claim 2, characterized in that, The resource withdrawal request is a red packet withdrawal request initiated by the first object to the virtual wallet system through the red packet business system, and the resource withdrawal amount is the withdrawal amount in the red packet withdrawal request; the resource transfer request is a red packet crediting request initiated by the first object to the virtual wallet system through the red packet business system, and the resource transfering amount is the red packet crediting amount in the red packet crediting request.
12. A data processing method, characterized in that, The data processing method is executed by the business system, and the method includes: Receive an activity initiation request from a first business party for a first activity, the activity initiation request including activity strategy information, the activity strategy information including the total activity budget; The system receives a virtual wallet application request from the first business party and sends the virtual wallet application request to the virtual wallet system so that the virtual wallet system can allocate a first virtual wallet for the first activity. The first virtual wallet includes a first virtual wallet identifier. Receive the first virtual wallet identifier issued by the virtual wallet system; In response to the activity generation request sent by the first business party, the total activity budget is synchronized to the first virtual wallet according to the first virtual wallet identifier, so as to generate a first virtual resource pool for the first activity in the first virtual wallet, and the virtual resources in the first virtual resource pool are used for the first activity; The first activity is generated based on the activity strategy information and the first virtual wallet identifier, wherein the first activity includes the first activity identifier; The first activity and the first activity identifier are sent to the terminals where multiple objects are located, so that each object can participate in the first activity through the first activity identifier.
13. The method according to claim 12, characterized in that, The plurality of objects includes a first object, the first virtual wallet includes a first virtual account of the first object, and the method further includes: Receive the resource acquisition request from the first object in the first activity; In response to the resource claiming request, the business system determines the resource claiming amount for the first object based on the activity strategy information; The resource withdrawal amount is used as the resource transfer amount to initiate a resource transfer request to the virtual wallet system, so that the virtual wallet system controls the first virtual resource pool to perform a virtual resource transfer operation to the first virtual account, so that the virtual balance in the first virtual account after the resource transfer is the sum of the virtual balance before the resource transfer and the resource transfer amount, and the balance in the first virtual resource pool after the resource transfer is the difference between the balance before the resource transfer and the resource transfer amount, wherein the resource transfer amount is equal to the resource transfer amount.
14. The method according to claim 13, characterized in that, The virtual wallet application request includes the actual asset payment account of the first business party; wherein, after initiating a resource transfer request to the virtual wallet system with the resource acquisition amount as the resource transfer amount, the method further includes: Receive a resource extraction request from the first object, the resource extraction request including the amount of resource extraction and the actual asset receiving account of the first object; The system initiates a resource extraction request to the virtual wallet system based on the resource extraction request, so that the virtual wallet system performs a virtual resource extraction operation in the first virtual wallet according to the resource extraction amount. The system also initiates an asset transfer request to the payment system based on the resource extraction amount and the actual asset receiving account of the first object, so that the payment system controls the actual asset payment account of the first business party to transfer the actual assets corresponding to the resource extraction amount to the actual asset receiving account according to the asset transfer request.
15. The method according to claim 14, characterized in that, The resource withdrawal request is a red packet withdrawal request initiated by the first object to the virtual wallet system through the red packet business system, and the resource withdrawal amount is the withdrawal amount in the red packet withdrawal request; the resource transfer request is a red packet crediting request initiated by the first object to the virtual wallet system through the red packet business system, and the resource transfering amount is the red packet crediting amount in the red packet crediting request.
16. The method according to claim 12, characterized in that, The virtual wallet system includes a logic layer and a storage layer. The logic layer includes multiple logic units, including a first logic unit. The storage layer includes multiple storage units, including the first storage unit. The virtual wallet system allocates a first virtual wallet to the first activity in the following manner: Receive the virtual wallet application request from the first business party for the first activity; The virtual wallet system assigns the first logical unit to the first activity so that the first logical unit can provide logical services to the first activity; The virtual wallet system allocates the first storage unit to the first activity so that the first storage unit can provide storage services to the first activity.
17. A data display method, characterized in that, include: Display the activity settings interface, which includes activity strategy settings controls, virtual wallet redemption controls, and activity generation controls; In response to the triggering operation of the activity strategy setting control, the activity strategy setting interface is displayed; The activity strategy information input by the first business party for the first activity is obtained through the activity strategy setting interface; In response to the triggering operation of the virtual wallet redemption control, the virtual wallet redemption interface is displayed; The virtual wallet redemption interface is used to obtain the virtual wallet redemption information input by the first business party for the first activity, so that the virtual wallet system can allocate a first virtual wallet and a first virtual wallet identifier of the first virtual wallet to the first activity based on the virtual wallet redemption information. In response to the triggering operation of the activity generation control, a triggering interface for the first activity is displayed. The triggering interface for the first activity is generated based on the activity strategy information and the first virtual wallet identifier.
18. A data processing apparatus, characterized in that, The data processing device is arranged in a virtual wallet system, which includes multiple virtual wallets. The virtual wallet system includes a logic layer and a storage layer. The logic layer includes multiple logic units, including a first logic unit. The storage layer includes multiple storage units, including a first storage unit, comprising: The virtual wallet application request receiving module is used to receive virtual wallet application requests from the first business party for the first activity; The first logical unit allocation module is used by the virtual wallet system to allocate the first logical unit to the first activity, so that the first logical unit provides logical services to the first activity; The first storage unit allocation module is used by the virtual wallet system to allocate the first storage unit to the first activity, so that the first storage unit can provide storage services to the first activity; The resource acquisition request receiving module is used to receive a resource extraction request from a first object in the first activity. The resource extraction request carries the resource extraction amount, the first activity identifier of the first activity, and the actual asset receiving account of the first object. The first activity is initiated by a first business party. The first virtual wallet determination module is used to determine a first virtual wallet among the plurality of virtual wallets based on the first activity identifier. The first virtual wallet includes a first virtual account of the first object and includes the first logical unit and the first storage unit. The virtual resource extraction operation module is used to perform a virtual resource extraction operation in the first virtual wallet according to the resource extraction amount, so that the virtual balance in the first virtual account after resource extraction is the difference between the virtual balance before resource extraction and the resource extraction amount; The actual asset transfer module is used by the virtual wallet system to initiate an asset transfer request to the payment system based on the resource extraction amount and the actual asset receiving account of the first object. The payment system includes the actual asset payment account of the first business party, so that the payment system controls the actual asset payment account to perform an actual asset transfer operation corresponding to the resource extraction amount to the actual asset receiving account according to the asset transfer request.
19. An electronic device, characterized in that, include: Memory; as well as A processor coupled to the memory, the processor being configured to perform, based on instructions stored in the memory, the data processing method as described in any one of claims 1-11, the data processing method as described in any one of claims 12-16, or the data display method as described in claim 17.
20. A computer-readable storage medium having a program stored thereon that, when executed by a processor, implements the data processing method as claimed in any one of claims 1-11, or the data processing method as claimed in any one of claims 12-16, or the data display method as claimed in claim 17.
21. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium, which, when executed by a processor, implement the data processing method as described in any one of claims 1-11, or the data processing method as described in any one of claims 12-16, or the data display method as described in claim 17.