Data processing method and device, electronic equipment and storage medium
By finding and utilizing the mapping relationships of trading channel accounts in the trading system, independent management of multi-channel transactions is achieved, and the problems of complexity and low efficiency of virtual resource management in the existing technology are solved, and transaction efficiency and flexibility are improved.
Patent Information
- Application Number
- CN202310583018.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2024-11-15
AI Technical Summary
The existing online trading platform does not support multiple trading channels when managing virtual resources, resulting in the transaction requesting party needing to log in to the accounts of each channel separately, which increases the complexity of data processing and reduces transaction efficiency.
By obtaining the system account of the transaction requester in the trading system, finding the channel account of the target trading channel, and trading virtual resources based on the channel account, realizing independent management of different trading channels, reducing the complexity of data processing and improving transaction efficiency .
It realizes independent management of virtual resources in different transaction channels, improves transaction flexibility and efficiency, and allows transaction requesters to conduct multi-channel transactions by simply logging into the system account, simplifying the data processing process.
Smart Images

Figure CN118967314A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and more specifically, to a data processing method and device, an electronic device, a storage medium, and a program product. Background Art
[0002] At present, people can trade virtual resources such as funds, stocks, futures, etc. through online trading platforms.
[0003] However, in the related art, online trading platforms usually manage customers' virtual resources in a unified manner and do not support multiple trading channels. Or, even if multiple trading channels are supported, the transaction requester needs to log in to his account in the multiple trading channels respectively, so as to realize the trading of virtual resources through different trading channels, which increases the complexity of data processing and reduces transaction efficiency and transaction flexibility. Summary of the invention
[0004] The embodiments of the present application provide a data processing method and device, an electronic device, a storage medium, and a program product, which can reduce the complexity of data processing and improve transaction efficiency and transaction flexibility.
[0005] According to one aspect of an embodiment of the present application, a data processing method is provided, the method comprising:
[0006] Acquire a transaction request initiated by a transaction requester in a transaction system, and search for a target transaction channel corresponding to the transaction request from multiple transaction channels included in the transaction system;
[0007] According to the system account logged in by the transaction requester in the transaction system, the channel account data associated with the system account is obtained; wherein the channel account data includes a mapping relationship between the channel identification information and the channel account of the transaction requester;
[0008] Searching the channel account data for the target channel account corresponding to the channel identification information of the target transaction channel;
[0009] If the target channel account is found, the transaction of virtual resources is performed according to the target channel account and the transaction request.
[0010] According to one aspect of an embodiment of the present application, a data processing device is provided, the device comprising:
[0011] A processing module configured to obtain a transaction request initiated by a transaction requester in a transaction system, and search for a target transaction channel corresponding to the transaction request from a plurality of transaction channels included in the transaction system;
[0012] an acquisition module, configured to acquire, according to the system account logged in by the transaction requester in the transaction system, the channel account data associated with the system account; wherein the channel account data includes a mapping relationship between the channel identification information and the channel account of the transaction requester;
[0013] A search module configured to search the channel account data for a target channel account corresponding to the channel identification information of the target transaction channel;
[0014] The transaction module is configured to conduct a transaction of virtual resources according to the target channel account and the transaction request if the target channel account is found.
[0015] According to one aspect of an embodiment of the present application, there is provided an electronic device, including:
[0016] one or more processors;
[0017] The storage device is used to store one or more computer programs. When the one or more computer programs are executed by the one or more processors, the electronic device implements the data processing method as described above.
[0018] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor of an electronic device, the electronic device implements the data processing method as described above.
[0019] According to one aspect of an embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the data processing method as described above is implemented.
[0020] In the technical solution provided in the embodiment of the present application, after obtaining the transaction request initiated by the transaction requester in the transaction system, the target transaction channel corresponding to the transaction request is first searched from the multiple transaction channels included in the transaction system, and the channel account data associated with the system account is obtained according to the system account logged in by the transaction requester in the transaction system, wherein the channel account data includes a mapping relationship between the channel identification information and the channel account of the transaction requester; then, the target channel account corresponding to the channel identification information of the target transaction channel is searched from the channel account data, and if the target channel account is found, the virtual resource is traded according to the target channel account and the transaction request. Compared with the related art, on the one hand, by setting the channel account of the transaction requester in the transaction channel and trading the virtual resources according to the channel account, the independent management of the virtual resources of different transaction channels is realized, and the transaction flexibility is improved; on the other hand, the system account of the transaction requester is associated with multiple channel accounts, and the channel account is searched through the system account, so that the transaction requester only needs to log in to the system account during the transaction, without having to perceive the channel account, thereby reducing the complexity of data processing and improving the transaction convenience and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a schematic diagram of an implementation environment shown in an exemplary embodiment of the present application;
[0022] Figure 2 is a flow chart of a data processing method shown in an exemplary embodiment of the present application;
[0023] Figure 3 is a schematic diagram of a channel account shown in an exemplary embodiment of the present application;
[0024] Figure 4 is a schematic diagram of a data processing method shown in another exemplary embodiment of the present application;
[0025] Figure 5A is a schematic diagram of a channel account shown in another exemplary embodiment of the present application;
[0026] Figure 5B is a schematic diagram of a sub-account shown in another exemplary embodiment of the present application;
[0027] Figure 6 is a flow chart of a data processing method shown in another exemplary embodiment of the present application;
[0028] Figure 7 is a schematic diagram of a channel account shown in another exemplary embodiment of the present application;
[0029] Figure 8 is a flow chart of a data processing method shown in another exemplary embodiment of the present application;
[0030] Fig. 9 is a flow chart of a data processing method shown in another exemplary embodiment of the present application;
[0031] Fig.10 is a flow chart of a data processing method shown in another exemplary embodiment of the present application;
[0032] Fig.11 is a schematic diagram of a trading account shown in another exemplary embodiment of the present application;
[0033] Fig.12 is a flow chart of a data processing method shown in another exemplary embodiment of the present application;
[0034] Fig.13 is a schematic diagram of an account structure shown in an exemplary embodiment of the present application;
[0035] Fig.14 is a flow chart of a data processing method shown in an exemplary embodiment of the present application;
[0036] Fig.15 is a flow chart of a data processing method shown in an exemplary embodiment of the present application;
[0037] Fig.16 is a flow chart of a data processing method shown in an exemplary embodiment of the present application;
[0038] Fig.17 is a block diagram of an account creation process shown in an exemplary embodiment of the present application;
[0039] Fig.18 is a flow chart of a data processing method shown in an exemplary embodiment of the present application;
[0040] Fig.19 is a flow chart of a data processing method shown in an exemplary embodiment of the present application;
[0041] Fig. 20 is a block diagram of an account cancellation process shown in an exemplary embodiment of the present application;
[0042] Fig.21 is a flow chart of a data processing method shown in an exemplary embodiment of the present application;
[0043] Fig. 22 is a schematic diagram of an account structure shown in an exemplary embodiment of the present application;
[0044] Fig.23 is a schematic diagram of an account structure shown in an exemplary embodiment of the present application;
[0045] Fig.24is a schematic diagram of an account structure shown in an exemplary embodiment of the present application;
[0046] Fig.25 is a block diagram of a data processing device shown in an exemplary embodiment of the present application;
[0047] Fig.26 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0048] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0049] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0050] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0051] It should also be noted that the "multiple" mentioned in this application refers to two or more than two. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship.
[0052] The following is a detailed introduction to the technical solutions of the embodiments of the present application:
[0053] In the related art, online trading platforms usually manage the virtual resources of customers in a unified manner and do not support multiple trading channels. Or, even if multiple trading channels are supported, the transaction requester needs to log in to his account in the trading channel in multiple trading channels respectively, so as to trade virtual resources through different trading channels, which increases the complexity of data processing and reduces transaction efficiency and transaction flexibility. Based on this, the embodiments of the present application provide a data processing method and device, electronic device, storage medium, and program product, which can reduce the complexity of data processing and improve transaction efficiency and transaction flexibility.
[0054] See also Figure 1 , Figure 1 It is a schematic diagram of an implementation environment involved in the present application, which includes a transaction requester 110, a data processing device 120 and a transaction system 130.
[0055] The transaction requester 110 may be any object that can initiate a transaction request, for example, a holder of a virtual resource.
[0056] The data processing device 120 may be a terminal device or a server, or a system composed of terminal devices or servers. The terminal devices may include but are not limited to smart phones, tablets, laptops, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, aircraft, devices for payment, etc.; the server may be an independent physical server, or a server cluster or distributed system composed 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 communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The specific forms of terminal devices and servers are not limited here.
[0057] The trading system 130 includes a plurality of trading channels 131 , each of which can provide trading services for virtual resources. The trading system 130 can be maintained by the data processing device 120 .
[0058] It should be noted that Figure 1 The number of transaction requesters 110, data processing devices 120 and transaction channels 131 is merely illustrative, and any number of transaction requesters 110, data processing devices 120 and transaction channels 131 may be provided according to actual needs.
[0059] In an exemplary embodiment, the transaction requester 110 can initiate a transaction request in the transaction system 130. After obtaining the transaction request, the data processing device 120 can search for the target transaction channel corresponding to the transaction request from the multiple transaction channels 131 included in the transaction system 130, and obtain the channel account data associated with the system account according to the system account logged in by the transaction requester 110 in the transaction system 130, wherein the channel account data includes a mapping relationship between the channel identification information and the channel account of the transaction requester; then, search for the target channel account corresponding to the channel identification information of the target transaction channel from the channel account data; if the target channel account is found, the virtual resource transaction is performed according to the target transaction channel and the transaction request. Compared with related technologies, on the one hand, by setting the channel account of the transaction requester in the transaction channel and trading virtual resources according to the channel account, independent management of virtual resources in different transaction channels is achieved, thereby improving transaction flexibility and transaction accuracy; on the other hand, the system account of the transaction requester is associated with multiple channel accounts, and the channel account is searched through the system account, so that the transaction requester only needs to log in to the system account during the transaction process, without having to perceive the channel account, thereby reducing the complexity of data processing and improving transaction convenience and efficiency.
[0060] It should be noted that the embodiments of the present application involve transaction requests, system accounts, channel accounts, and other data related to the transaction requester. When the method of the present application is applied to a specific product or technology, the permission or consent of the transaction requester is obtained, and the extraction, use, and processing of the relevant data comply with local security standards and local laws and regulations.
[0061] See also Figure 2 , Figure 2 is a flowchart of a data processing method shown in an exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0062] like Figure 2 As shown, in an exemplary embodiment, the data processing method may include steps S210 to S240, which are described in detail as follows:
[0063] Step S210, obtaining a transaction request initiated by a transaction requester in a transaction system, and searching for a target transaction channel corresponding to the transaction request from a plurality of transaction channels included in the transaction system.
[0064] It should be noted that the trading system refers to any system capable of trading virtual resources, and is used to provide a trading platform for virtual resources, wherein virtual resources refer to any resource capable of trading, for example, including but not limited to at least one of stocks, funds, futures, carbon resources, virtual commodities (for example, game props), etc. The trading system may include multiple trading channels, each of which can provide virtual resource trading services. Among them, the specific forms of the trading system and trading channels can be flexibly set according to actual needs. Optionally, the trading system can be expressed as a native application, a web application, a hybrid application, a mini-program, an application cluster, etc., and the trading channel can be expressed as a sub-program, a mini-program, a plug-in, etc. In an optional embodiment, the trading system can be expressed as an application and mini-programs corresponding to each trading channel associated with the application. For example, the trading system includes an application, a "*** financial management" mini-program of the application, and a "** stock trading" mini-program. In another optional embodiment, the trading system can be expressed as an application and a plug-in corresponding to each trading channel contained in the application.
[0065] The transaction requester refers to any object that can initiate a transaction of virtual resources, and it can be the holder of the virtual resources. The transaction requester can initiate a transaction request in any transaction channel included in the transaction system, and the transaction request can include resource identification information of the virtual resources to be traded, resource transaction volume and other data. Among them, the resource identification information is the unique identification of the virtual resource, which can be the name of the virtual resource, identification number (ID), etc.
[0066] The data processing device is used to maintain the transaction system and transaction channels. After obtaining the transaction request initiated by the transaction requester, it can first determine the transaction channel to which the transaction request belongs, that is, the target transaction channel. In other words, the target transaction channel is the transaction channel through which the transaction requester initiates the transaction request.
[0067] Step S220, according to the system account logged in by the transaction requester in the transaction system, obtain the channel account data associated with the system account; wherein the channel account data includes a mapping relationship between the channel identification information and the channel account of the transaction requester.
[0068] The system account refers to the account of the transaction requester in the trading system. As the identification of the transaction requester in the trading system, the transaction requester can register in the trading system in advance and use its system account in the trading system.
[0069] Channel identification information refers to the identification of the transaction channel, which can be the name of the transaction channel, ID number, etc. Channel account refers to the account of the transaction requester in the transaction channel, which is used for the storage, accounting, settlement and other resource management of the transaction requester's virtual resources in the transaction channel. The channel account can include the resource volume of virtual resources. If the channel account includes multiple virtual resources, the channel account can include the total resource volume of virtual resources and the resource volume of each virtual resource. Optionally, the channel account can also include at least one of the data such as resource revenue volume, resource volume update record, revenue report, revenue analysis data, account information, etc. corresponding to the channel account. Among them, for virtual resources such as funds, stocks, and futures, their values are different at different times. Therefore, the resource income of the virtual resources contained in the channel account can be calculated, and the resource income can be updated to the channel account. Among them, the resource income is used to describe the income brought by the virtual resources. The specific calculation method can be calculated according to the actual situation. Optionally, under the condition that the channel account contains multiple virtual resources, the resource income corresponding to the channel account may include: the resource income of each virtual resource in the channel account within a set period, the total resource income of multiple virtual resources in the channel account within a set period, the accumulated resource income of each virtual resource in the channel account, the accumulated resource income of multiple virtual resources in the channel account, etc. At least one of the above, the accumulated income of each virtual resource in the channel account refers to the total amount of resource income brought by the virtual resource from the time when the channel account holds the virtual resource to the current time; the accumulated total amount of resource income of multiple virtual resources in the channel account refers to the total amount of resource income brought by the virtual resources in the channel account from the creation time of the channel account to the current time. Resource quantity update records are used to record the update of virtual resource quantities. Transactions and revenues of virtual resources will lead to changes in resource quantities. Therefore, resource quantity update records may include transaction records, revenue records, etc. Revenue reports are used to describe the revenue of virtual resources. Revenue analysis data refers to the analysis data of virtual resource revenues, which can be represented in the form of charts, text descriptions, etc. Account information refers to data related to an account, such as the account identification number, information about other accounts associated with the account, etc.
[0070] In an example, virtual resources include funds, and the resource amount is the asset amount. Figure 3 As shown, the channel account contains the total assets of the fund, yesterday's total income, cumulative total income, controls for purchasing funds, transaction records, income analysis and account information, as well as the assets, yesterday's income and cumulative income corresponding to the funds "New Energy*", "Liquor*" and "Automobile*" respectively.
[0071] The transaction requester has channel accounts corresponding to different transaction channels, so that the transaction requester can manage the virtual resources in different transaction channels separately. For example, the virtual resources of the transaction requester in transaction channel A can be stored in its account "1***" in transaction channel A, and the virtual resources of the transaction requester in transaction channel B can be stored in its account "2***" in transaction channel B.
[0072] When using the trading system, the transaction requester needs to first log in to the corresponding system account in the trading system. The channel account data associated with the system account contains the channel account of the transaction requester and the identification information of the trading channel to which the channel account belongs, so as to associate the system account of the transaction requester with the channel account, so that the multiple channel accounts of the transaction requester can be managed through the system account.
[0073] Step S230: searching the channel account data for the target channel account corresponding to the channel identification information of the target transaction channel.
[0074] The channel account data contains the mapping relationship between the channel identification information and the channel account of the transaction requester. Therefore, the target channel account corresponding to the channel identification information of the target transaction channel can be found out, that is, the target channel account is the channel account of the transaction requester in the target transaction channel.
[0075] Step S240: If the target channel account is found, the virtual resource transaction is performed according to the target channel account and the transaction request.
[0076] If the target channel account is found, the transaction corresponding to the transaction request can be executed, and during the transaction, the resource amount of the virtual resources contained in the target channel account is updated. Optionally, if the transaction request is for transferring in (i.e., buying) virtual resources, the resource amount of the virtual resources contained in the target channel account is increased according to the transaction request, and if the transaction request is for transferring out (i.e., selling) virtual resources, the resource amount of the virtual resources contained in the target channel account is reduced according to the transaction request.
[0077] exist Figure 2In the illustrated embodiment, on the one hand, by setting a channel account of the transaction requester in the transaction channel and trading virtual resources according to the channel account, independent management of virtual resources in different transaction channels is achieved, thereby improving transaction flexibility; on the other hand, the system account of the transaction requester is associated with multiple channel accounts, and the channel account is searched through the system account, thereby managing the channel account through the system account, so that the transaction requester only needs to log in to the system account during the transaction process, without having to perceive the channel account, thereby reducing the complexity of data processing and improving transaction convenience and efficiency; and, when expanding the transaction channel in the transaction system, it is only necessary to associate the channel account of the transaction requester in the transaction channel with the system account to achieve independent management of virtual resources in the transaction channel, thereby reducing the difficulty of expanding the transaction channel and improving the expansion efficiency of the transaction channel.
[0078] In an exemplary embodiment, see Figure 4 , Figure 4 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0079] like Figure 4 As shown, the method includes steps S210 to S230, and steps S410 to S420, wherein steps S410 to S420 are described in detail as follows:
[0080] Step S410: If the target channel account is found and the target channel account includes multiple sub-accounts, then a target sub-account matching the transaction request is searched from the multiple sub-accounts.
[0081] Each channel account may contain one or more sub-accounts, or may not contain any sub-accounts, and the virtual resources contained in different sub-accounts can be managed separately. A sub-account may contain the resource volume of virtual resources. If a sub-account contains multiple virtual resources, the sub-account may contain the total resource volume of multiple virtual resources and the resource volume of each virtual resource. Optionally, a sub-account may also contain at least one of the following data: resource revenue corresponding to the sub-account, resource volume update records, revenue reports, revenue analysis data, account information, etc., wherein the resource revenue corresponding to the sub-account may include: the resource revenue of each virtual resource in the sub-account within a set period, the total resource revenue of multiple virtual resources in the sub-account within a set period, the accumulated resource revenue of each virtual resource in the sub-account, the accumulated total resource revenue of multiple virtual resources in the sub-account, etc., wherein the accumulated revenue of each virtual resource in the sub-account refers to the total resource revenue brought by the virtual resource from the time when the sub-account holds the virtual resource to the current time; the accumulated total resource revenue of multiple virtual resources in the sub-account refers to the total resource revenue brought by the virtual resources in the sub-account from the time when the sub-account is created to the current time. For example, in one example, see Figure 5A As shown, the target channel account can include the total amount of resources, the total amount of accumulated resource income, the total amount of yesterday's resource income corresponding to the target channel account, and the total amount of resources and the total amount of yesterday's resource income corresponding to the "Steady Financial Management" sub-account, "Advanced Financial Management" sub-account, and "High-end Financial Management" sub-account. In another example, see Figure 5B As shown, the sub-account corresponding to the "Smart Financial Management" business includes the total resources, the cumulative total resource income, the total resource income of yesterday, transaction records, income records, and the resource volume, cumulative resource income and yesterday's resource income corresponding to the virtual resources "Southern ***" and "Eastern ***" respectively.
[0082] Among them, the creation method of sub-accounts can be flexibly set according to actual needs. Optionally, the sub-account can be created based on the request of the transaction requester, or based on the transaction business included in the transaction channel, or some sub-accounts are created based on the request of the transaction requester, and some sub-accounts are created based on the transaction business included in the transaction channel.
[0083] If the target channel account contains multiple sub-accounts, the target sub-account that matches the transaction request can be found from the multiple sub-accounts, that is, the target sub-account is the sub-account used for the transaction. The target sub-account can be selected by the transaction requester or determined based on the transaction business to which the transaction request belongs. The specific determination method can be flexibly set according to actual needs.
[0084] Step S420: Transaction of virtual resources is performed according to the target sub-account and the transaction request.
[0085] After determining the target sub-account corresponding to the transaction request, the virtual resource transaction can be performed according to the target sub-account and the transaction request, thereby realizing the separate management of virtual resources in different sub-accounts. Optionally, if the transaction request is for transferring in (i.e., buying) virtual resources, the resource amount of the virtual resources contained in the target sub-account is increased according to the transaction request, and if the transaction request is for transferring out (i.e., selling) virtual resources, the resource amount of the virtual resources contained in the target sub-account is reduced according to the transaction request.
[0086] It should be noted that Figure 4 The specific implementation details of steps S210 to S230 shown in FIG. Figure 2 Steps S210 to S230 shown are not repeated here.
[0087] exist Figure 4 In the illustrated embodiment, each channel account may contain multiple sub-accounts, and the virtual resources in different sub-accounts are managed separately, so that the virtual resources held by the transaction requester can be isolated into sub-wallets, reducing the difficulty of managing virtual resources and improving transaction flexibility.
[0088] In an exemplary embodiment, see Figure 6 , Figure 6 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0089] like Figure 6 As shown, the method includes steps S210 to S230, steps S610 to S620, and step S420, wherein steps S610 to S620 are described in detail as follows:
[0090] Step S610: If the target channel account is found and the target channel account contains multiple sub-accounts, the transaction request is parsed to obtain the identification information of the sub-account selected by the transaction requester.
[0091] If the target channel account contains multiple sub-accounts, the transaction requester can select a sub-account from the multiple sub-accounts for the transaction. Correspondingly, the transaction request contains the identification information of the sub-account selected by the transaction requester. The identification information of the sub-account can be the name, account number, etc. of the sub-account. For example, see Figure 7As shown, the target channel account includes sub-accounts corresponding to "Children", "Baby Red Packets" and "Parents" respectively. The transaction requester can choose which sub-account to store the purchased virtual resources in, and can also choose which sub-account to transfer the virtual resources from.
[0092] Step S620: searching for a target sub-account that matches the parsed identification information from among the multiple sub-accounts.
[0093] According to the identification information of the sub-account included in the transaction request, a target sub-account for the transaction can be selected from multiple sub-accounts included in the target channel account, wherein the identification information of the target sub-account matches the identification information of the sub-account included in the transaction request.
[0094] It should be noted that Figure 6 The specific implementation details of steps S210 to S230 shown in FIG. Figure 2 Steps S210 to S230 are shown. Figure 6 The specific implementation details of step S420 shown in FIG. Figure 4 The step S420 shown is not repeated here.
[0095] exist Figure 6 In the illustrated embodiment, the transaction requester can freely select a sub-account for conducting the transaction, thereby improving the flexibility of virtual resource transactions.
[0096] In an exemplary embodiment, see Figure 8 , Figure 8 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0097] like Figure 8 As shown, the method includes steps S810-step S820, steps S210-step S230, steps S610-step S620, and step S420, wherein steps S810-step S820 are described in detail as follows:
[0098] Step S810: obtaining a sub-account creation request initiated by the transaction requester for the target channel account.
[0099] The transaction requester may request to create a sub-account in the target channel account. For example, the transaction requester may request to create a family account in the target channel account. In one example, see Figure 7As shown, the transaction requester can request to create sub-accounts corresponding to "children", "baby red envelopes" and "parents" in the target channel account, and each sub-account can contain corresponding virtual resources.
[0100] Correspondingly, the data processing device can obtain the sub-account creation request initiated by the transaction requester.
[0101] Step S820: Create a sub-account in the target channel account according to the sub-account creation request.
[0102] After obtaining the sub-account creation request corresponding to the target channel account, you can create a sub-account in the target channel account.
[0103] It should be noted that Figure 8 In the example, step S810 to step S820 are executed first, and then step S210 to step S230, step S610 to step S620, and step S420 are executed. In actual application, the execution order between step S810 to step S820 and step S210 to step S230, step S610 to step S620, and step S420 can be flexibly set according to actual needs, and the execution order thereof is not limited here; Figure 8 The specific implementation details of steps S210 to S230 shown in FIG. Figure 2 Steps S210 to S230 are shown. Figure 8 The specific implementation details of step S420 shown in FIG. Figure 4 In step S420, Figure 8 The specific implementation details of steps S610 to S620 shown in FIG. Figure 6 Steps S610 to S620 shown are not repeated here.
[0104] exist Figure 8 In the illustrated embodiment, a sub-account may be created based on a request from a transaction requester, thereby satisfying the needs of different transaction requesters and improving the flexibility of virtual resource transactions and management.
[0105] In an exemplary embodiment, see Fig. 9 , Fig. 9 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0106] like Fig. 9As shown, the method includes steps S910 to S920, steps S210 to S230, and steps S410 to S420, wherein steps S910 to S920 are described in detail as follows:
[0107] Step S910, obtaining multiple transaction businesses included in the target transaction channel, and screening out a designated transaction business from the multiple transaction businesses.
[0108] Each transaction channel may include multiple transaction businesses, such as pension business, smart financial management business, etc. If the target transaction channel includes multiple transaction businesses, a transaction business for creating a corresponding sub-account may be selected from them, i.e., a designated transaction business. The designated transaction business may be selected by the transaction requester or according to actual business needs.
[0109] Step S920: Create a sub-account corresponding to the designated transaction business in the target channel account.
[0110] After selecting the designated transaction business, you can create a sub-account corresponding to each designated transaction business in the target channel account. For example, in one example, you can create a sub-account corresponding to the pension business to manage the virtual resources corresponding to the pension business; in another example, see Figure 5B As shown, a sub-account corresponding to the "Smart Financial Management" business can be created to manage the virtual resources corresponding to the smart financial management business.
[0111] Under this condition, in step S410, a sub-account whose corresponding transaction business matches the transaction business to which the transaction request belongs can be found from multiple sub-accounts included in the target channel account, and the found sub-account is used as the target sub-account.
[0112] Optionally, a default subaccount may be set among the multiple subaccounts included in the target channel account; in step S410, the transaction request may be parsed first; if the identification information of the subaccount selected by the transaction requester is parsed, it indicates that the transaction requester has selected the subaccount for conducting the transaction, and therefore, the subaccount among the multiple subaccounts that matches the identification information of the parsed subaccount is used as the target subaccount, that is, the target subaccount is selected by the transaction requester; if the identification information of the subaccount selected by the transaction requester is not parsed, it indicates that the transaction requester has not selected the subaccount for conducting the transaction, and a subaccount whose corresponding transaction business matches the transaction business to which the transaction request belongs may be searched from the multiple subaccounts; if found, the subaccount is used as the target subaccount, that is, the target subaccount is the subaccount whose corresponding transaction business matches the transaction business to which the transaction request belongs; if not found, the default subaccount may be used as the target subaccount.
[0113] It should be noted that Fig. 9 In the example, step S910 to step S920 are first executed, and then step S210 to step S230 and step S410 to step S420 are executed. In actual application, the execution order between step S910 to step S920 and step S210 to step S230 and step S410 to step S420 can be flexibly set according to actual needs, and the execution order is not limited here. Fig. 9 The specific implementation details of steps S210 to S230 shown in FIG. Figure 2 Steps S210 to S230 are shown. Fig. 9 The specific implementation details of steps S410 to S420 shown in FIG. Figure 4 Steps S410 to S420 shown are not repeated here.
[0114] exist Fig. 9 In the illustrated embodiment, sub-accounts corresponding to transaction businesses may be created so that virtual resources corresponding to different transaction businesses may be managed separately, thereby improving the flexibility of virtual resource transactions and management. Furthermore, by creating sub-accounts corresponding to designated transaction businesses, processing resources may be saved.
[0115] In an exemplary embodiment, see Fig.10 , Fig.10 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0116] like Fig.10 As shown, the method includes steps S210 to S230, step S410, and steps S1010 to S1030, wherein steps S1010 to S1030 are described in detail as follows:
[0117] Step S1010, obtaining resource identification information and resource transaction volume of the virtual resource to be traded contained in the transaction request.
[0118] It should be noted that the virtual resources to be traded refer to the virtual resources that need to be traded this time. The resource identification information is used to uniquely identify the virtual resources, which can be the name, ID number, etc. of the virtual resources. The resource transaction volume is used to describe the quantity of virtual resources to be traded this time.
[0119] Step S1020, searching for a target trading account whose resource identification information matches the resource identification information of the virtual resource to be traded from among the multiple trading accounts included in the target sub-account; wherein each trading account contains the resource identification information and resource quantity of each virtual resource, and the resource identification information contained in the multiple trading accounts is different.
[0120] Each sub-account may contain multiple trading accounts. The trading accounts contain the mapping relationship between the resource identification information and resource quantity of virtual resources, which is used for the settlement of virtual resources, thereby realizing atomic accounting. That is to say, the trading accounts contain the resource identification information and resource quantity of each virtual resource. Optionally, the trading accounts may also contain at least one of the following data: the total resource amount of virtual resources, the resource income amount corresponding to the trading account, the resource amount update record, the income report, the income analysis data, the account information, etc. Among them, the resource income amount corresponding to the trading account may include: the resource income amount of each virtual resource in the trading account within a set period, the total resource income amount of multiple virtual resources in the trading account within a set period, the accumulated resource income amount of each virtual resource in the trading account, the accumulated resource income amount of multiple virtual resources in the trading account, etc. Among them, the accumulated income amount of each virtual resource in the trading account refers to the total resource income amount brought by the virtual resource from the time when the trading account holds the virtual resource to the current time; the accumulated resource income amount of multiple virtual resources in the trading account refers to the total resource income amount brought by the virtual resources in the trading account from the time when the trading account is created to the current time. In an example, see Fig.11 As shown, the trading account includes the total amount of resources, the total amount of accumulated resource income, the total amount of yesterday's resource income, transaction records, income records, as well as the resource amount, accumulated resource income, and yesterday's resource income corresponding to the virtual resources "Penghua***", "Yinhua***", and "Huaxia***" respectively.
[0121] In order to avoid transaction confusion, the resource identification information contained in multiple transaction accounts corresponding to the same sub-account is different, that is, different transaction accounts are used to manage different virtual resources. For example, sub-account a1 contains transaction accounts a11-a13, transaction account a11 can contain resource identification information s1-s2, transaction account a12 can contain resource identification information s3-s5, and transaction account a13 can contain resource identification information s6-s9. Thus, by setting transaction accounts corresponding to different virtual resources, different virtual resources can be managed separately, and the same transaction request can be avoided in multiple transaction accounts, resulting in repeated transactions and confusion of virtual resources. Among them, the number of transaction accounts contained in each sub-account and the specific content of the resource identification information contained in each transaction account can be flexibly set according to actual needs.
[0122] Under the condition that the target sub-account contains multiple trading accounts, the target trading account for the transaction can be searched therefrom, wherein the resource identification information contained in the target trading account matches the resource identification information of the virtual resource to be traded contained in the trading request, that is, the resource identification information contained in the target trading account contains the resource identification information of the virtual resource to be traded. For example, following the above example, under the condition that sub-account a1 contains trading accounts a11-a13, trading account a11 can contain resource identification information s1-s2, trading account a12 can contain resource identification information s3-s5, and trading account a13 can contain resource identification information s6-s7, if the purpose of a certain trading request is to buy 50 virtual resources with resource identification information s7, trading account a13 is used as the target trading account.
[0123] Step S1030: updating the resource quantity corresponding to the resource identification information of the virtual resource to be traded contained in the target trading account according to the resource trading quantity.
[0124] After selecting the target trading account, the resource amount corresponding to the resource identification information of the virtual resource to be traded contained in the target trading account can be updated according to the resource transaction amount contained in the transaction request to trade the virtual resource. For example, following the above example, assuming that the target of the transaction request is to buy 50 virtual resources with resource identification information s7, and the target trading account a13 contains 20 virtual resources with resource identification information s6 and 40 virtual resources with resource identification information s7, then after the transaction, the target trading account a13 contains 90 virtual resources with resource identification information s7.
[0125] Optionally, after updating the resource quantity corresponding to the resource identification information of the virtual resource to be traded contained in the target trading account, the resource transaction record corresponding to the transaction request may also be stored in the target trading account for subsequent viewing and verification.
[0126] It should be noted that, Fig.10 The specific implementation details of steps S210 to S230 shown in FIG. Figure 2 Steps S210 to S230 are shown. Fig.10 The specific implementation details of step S410 shown can be referred to Figure 4 The step S410 shown is not repeated here.
[0127] exist Fig.10In the illustrated embodiment, a sub-account may include multiple transaction accounts, and the transaction account includes a mapping relationship between resource identification information of virtual resources and resource quantities, thereby ensuring atomic accounting and improving transaction accuracy; different transaction accounts correspond to different resource identification information, and the target transaction account for the transaction is searched based on the resource identification information of the virtual resources to be traded, and the virtual resources are traded based on the target transaction account, thereby realizing independent management of different virtual resources, and then realizing classified management of virtual resources, and further improving transaction accuracy.
[0128] In an exemplary embodiment, see Fig.12 , Fig.12 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0129] like Fig.12 As shown, the method includes steps S210 to S230, step S410, step S1010 to S1030, and step S1210 to S1230, wherein steps S1210 to S1230 are described in detail as follows:
[0130] Step S1210, obtaining multiple publisher accounts associated with the target transaction account; wherein the multiple publisher accounts correspond to different resource publishers, and each publisher account contains resource identification information and resource quantity of each virtual resource.
[0131] It should be noted that each trading account can be associated with one or more publisher accounts. The publisher account is an account set up by the resource publisher based on the trading account and virtual resources, and is used to manage the virtual resources published by the corresponding resource publisher and traded based on the corresponding trading account, so as to facilitate the verification of transactions with the resource publisher. In other words, see Fig.13 As shown, the system account is associated with multiple channel accounts, each channel account contains one or more sub-accounts, each sub-account contains one or more transaction accounts, and each transaction account is associated with one or more publisher accounts, thus forming a 5-layer account model, wherein the system account is created based on the transaction system, the channel account is created based on the transaction channel, the sub-account is based on a specific application scenario, which can be created based on the request of the transaction requester and / or the transaction business, the transaction account is created based on the resource identification information of the virtual resource, and the publisher account is created based on the resource publisher. In the process of conducting a transaction, it is necessary to find the system account, target channel account, target sub-account, target transaction account and target publisher account corresponding to the transaction request, so as to conduct transactions based on the found accounts.
[0132] Among them, the publisher account contains the identification information and resource quantity of the virtual resources. Since the publisher account is an account set up by the resource publisher of the virtual resources based on the transaction account and the virtual resources, the resource quantity of the virtual resources contained in the publisher account matches the resource quantity of the virtual resources contained in its corresponding transaction account. For example, assuming that a transaction account is associated with publisher accounts p11 and p12, and publisher account p11 corresponds to resource publisher p1, and publisher account p12 corresponds to resource publisher p2, then publisher account p11 is used to manage virtual resources traded based on the transaction account and published by resource publisher p1, and publisher account p12 is used to manage virtual resources traded based on the transaction account and published by resource publisher p2; if the transaction account contains 100 virtual resources s1 published by resource publisher p1, 50 virtual resources s2 published by resource publisher p2, and 30 virtual resources s3 published by resource publisher p2, then publisher account p11 contains 100 virtual resources s1; publisher account p12 contains 50 virtual resources s2 and 30 virtual resources s3.
[0133] Optionally, the publisher account may also include at least one of the total resource amount of virtual resources, the resource income amount corresponding to the publisher account, resource amount update records, income reports, income analysis data, account information and other data. Among them, the resource income amount corresponding to the publisher account may include: the resource income amount of each virtual resource in the publisher account within a set period, the total resource income amount of multiple virtual resources in the publisher account within a set period, the cumulative resource income amount of each virtual resource in the publisher account, the cumulative resource income amount of multiple virtual resources in the publisher account, etc. At least one of the above, wherein the cumulative income amount of each virtual resource in the publisher account refers to the total resource income amount brought by the virtual resource from the time when the publisher account holds the virtual resource to the current time; the cumulative resource income amount of multiple virtual resources in the publisher account refers to the total resource income amount brought by the virtual resources in the publisher account from the time when the publisher account is created to the current time. Optionally, the publisher account can be registered from the system corresponding to the resource publisher based on the transaction account.
[0134] The virtual resources to be traded refer to the virtual resources that need to be traded this time. The resource identification information is used to uniquely identify the virtual resources, which can be the name, ID number, etc. of the virtual resources. The resource transaction volume is used to describe the quantity of the virtual resources to be traded this time.
[0135] Step S1220: searching, from among multiple publisher accounts, a target publisher account whose corresponding resource publisher matches the resource publisher of the virtual resource to be traded.
[0136] The resource publisher corresponding to the target publisher account is matched with the publisher of the virtual resource to be traded in the transaction request, so that the transaction is performed based on the target publisher account. For example, assuming that the target transaction account is associated with publisher accounts p11 and p12, and publisher account p11 corresponds to resource publisher p1, and publisher account p12 corresponds to resource publisher p2, if the target of the transaction request is to buy 20 copies of virtual resource s1 issued by resource publisher p1, then the target publisher account is publisher account p11.
[0137] Step S1230: updating the resource quantity corresponding to the resource identification information of the virtual resource to be traded contained in the target publisher's account according to the resource transaction quantity.
[0138] After the target publisher account is selected, the resource quantity corresponding to the resource identification information of the virtual resource to be traded contained in the target publisher account can be updated according to the resource transaction quantity contained in the transaction request to conduct the transaction of the virtual resource.
[0139] Optionally, after updating the resource quantity corresponding to the resource identification information of the virtual resource to be traded contained in the target publisher account, the transaction record corresponding to the transaction request may also be stored in at least one of the target publisher account and the target transaction account for subsequent viewing, verification, etc. The transaction record may include at least one of the system account, target channel account, target sub-account, target transaction account, target publisher account, resource transaction quantity, resource identification information corresponding to the traded virtual resource, transaction time, etc.
[0140] It should be noted that, Fig.12 The specific implementation details of steps S210 to S230 shown in FIG. Figure 2 Steps S210 to S230 are shown. Fig.12 The specific implementation details of step S410 shown can be referred to Figure 4 In step S410 shown, Fig.12 The specific implementation details of steps S1010 to S1030 shown in FIG. Fig.10 Steps S1010 to S1030 shown are not repeated here.
[0141] exist Fig.12 In the illustrated embodiment, a transaction account is associated with multiple publisher accounts, and different publisher accounts correspond to different resource publishers. The publisher accounts contain a mapping relationship between resource identification information and resource quantities, thereby facilitating verification of transactions with resource publishers, the quantity of virtual resources, etc. based on the data contained in the publisher accounts, and improving transaction accuracy.
[0142] In an exemplary embodiment, see Fig.14 , Fig.14 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0143] like Fig.14 As shown, the method includes steps S210 to S230, step S410, and steps S1410 to S1430, wherein steps S1410 to S1430 are described in detail as follows:
[0144] Step S1410, obtaining transaction attribute information corresponding to the target sub-account; wherein, the transaction attribute information corresponding to different sub-accounts is not completely the same.
[0145] Among them, the transaction attribute information is used to describe the attributes of the transaction, such as resource transaction volume, resource transaction frequency, transaction time, transaction direction, etc. The transaction direction includes transferring in virtual resources and transferring out virtual resources. Different transaction attribute information can be set for different sub-accounts. For example, for sub-account 1, the corresponding time period for allowed transactions is from 9 am to 4 pm, and the upper limit of the number of transactions per day is 3 times; for sub-account 2, the corresponding time period for allowed transactions is all day, and the upper limit of the annual resource transaction volume is 12,000; for sub-account 3, it can be set to allow the transfer of virtual resources in the time period, prohibit the transfer of virtual resources; and allow the transfer of virtual resources outside the set time period. Optionally, the transaction attribute information of the sub-account can be set according to the business characteristics of the transaction business corresponding to the sub-account.
[0146] After obtaining the transaction request for the target sub-account, the transaction attribute information of the target sub-account can be obtained.
[0147] Step S1420, comparing the transaction attribute information corresponding to the transaction request with the transaction attribute information corresponding to the target sub-account.
[0148] The transaction attribute information of the transaction request is compared with the transaction attribute information corresponding to the target sub-account, so as to determine whether the transaction attribute information of the transaction request matches the transaction attribute information of the target sub-account. For example, if the target sub-account corresponds to the transaction-allowed time period from 9 am to 4 pm, and the transaction time corresponding to the transaction request is 10 am, then the two match.
[0149] Step S1430: If the comparison result indicates that the transaction attribute information corresponding to the transaction request matches the transaction attribute information corresponding to the target sub-account, the resource amount of the virtual resource contained in the target sub-account is updated according to the transaction request.
[0150] If the comparison result indicates that the transaction attribute information corresponding to the transaction request matches the transaction attribute information corresponding to the target sub-account, the transaction is performed; optionally, if the comparison result indicates that the transaction attribute information corresponding to the transaction request does not match the transaction attribute information corresponding to the target sub-account, the transaction may be prohibited.
[0151] It should be noted that Fig.14 The specific implementation details of steps S210 to S230 shown in FIG. Figure 2 Steps S210 to S230 are shown. Fig.14 The specific implementation details of step S410 shown can be referred to Figure 4 The step S410 shown is not repeated here.
[0152] exist Fig.14 In the illustrated embodiment, different transaction attribute information is set for different sub-accounts, and the amount of virtual resources contained in the target sub-account is updated according to the transaction request only when the transaction attribute information corresponding to the transaction request matches the transaction attribute information corresponding to the target sub-account, thereby improving transaction accuracy.
[0153] In an exemplary embodiment, see Fig.15 , Fig.15 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0154] like Fig.15 As shown, the method includes steps S210 to S230, steps S410 to S420, and steps S1510 to S1520, wherein steps S1510 to S1520 are described in detail as follows:
[0155] Step S1510, obtaining the resource income amount of the virtual resources contained in the target sub-account within a set period.
[0156] It should be understood that the value of virtual resources such as stocks and funds is different at different times. Therefore, the resource income of the virtual resources contained in the target sub-account within a set period can be calculated, so as to periodically calculate the resource income of the virtual resources contained in the target sub-account within the corresponding period to update the resource amount of the virtual resources contained in the target sub-account.
[0157] The specific duration of the set cycle can be flexibly set according to actual needs, for example, it can be 1 day, 2 days, 1 week, etc.
[0158] The specific method of calculating resource revenue can be flexibly set according to actual needs. In one example, the resource conversion rates corresponding to the start time and end time of the specified time period can be obtained, and the resource revenue of the virtual resources contained in the target subaccount between the start time and the end time can be calculated based on the resource conversion rate at the start time, the resource conversion rate at the end time, and the resource amount of the virtual resources contained in the target subaccount.
[0159] Optionally, under the condition that the target sub-account contains multiple virtual resources, the resource income amount of each virtual resource within a set period, as well as the total resource income amount of the multiple virtual resources within the set period, can also be calculated.
[0160] Step S1520: updating the resource amount of the virtual resources contained in the target sub-account according to the resource income amount.
[0161] After calculating the resource income of the virtual resources contained in the target sub-account within the set period, the resource amount of the virtual resources contained in the target sub-account can be updated according to the resource income. Optionally, the resource income of the virtual resources contained in the target sub-account within the set period can be added to the target sub-account, so as to facilitate subsequent reconciliation and business execution.
[0162] Optionally, the resource revenue of each virtual resource contained in the target sub-account within a set period, as well as the total resource revenue of multiple virtual resources contained in the target sub-account within a set period, can be updated to the target sub-account to facilitate subsequent reconciliation and business execution.
[0163] Optionally, you can also calculate the cumulative resource income of each virtual resource contained in the target sub-account, and the total cumulative resource income of multiple virtual resources. For example, see Figure 5B As shown, the sub-account corresponding to the "Smart Financial Management" business includes the resource volume, cumulative resource income, and yesterday's resource income corresponding to the two virtual resources "Southern ***" and "Eastern ***", as well as the total resource volume, cumulative resource income, and yesterday's resource income of the two virtual resources.
[0164] Under the condition that the target subaccount contains multiple trading accounts, the resource income amount of the virtual resources contained in each trading account within a specified time period can also be calculated, and the resource amount of the virtual resources contained in each trading account in the target subaccount can be updated according to the calculated resource income amount.
[0165] It should be noted that Fig.15 The specific implementation details of steps S210 to S230 shown in FIG. Figure 2 Steps S210 to S230 are shown. Fig.15The specific implementation details of steps S410 to S420 shown in FIG. Figure 4 Steps S410 to S420 shown are not repeated here.
[0166] exist Fig.15 In the illustrated embodiment, the resource income amount of the virtual resources in the sub-accounts is calculated independently, so that the resource income of different sub-accounts can be managed separately, which is convenient for checking the virtual resources.
[0167] In an exemplary embodiment, see Fig.16 , Fig.16 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0168] like Fig.16 As shown, the method includes steps S1610 to S1620, and steps S210 to S240, wherein steps S1610 to S1620 are described in detail as follows:
[0169] Step S1610: If an authorization instruction for the target transaction channel to use the system account is obtained, a target channel account is created according to the system account and the channel identification information of the target transaction channel.
[0170] In order to improve security, before creating the target channel account of the transaction requester in the target transaction channel, an authorization instruction for the target transaction channel to use the system account can be obtained, wherein the authorization instruction can be triggered by the transaction requester. After obtaining the authorization instruction, the target channel account can be created according to the system account and the channel identification information of the target transaction channel.
[0171] In an optional implementation, when creating a system account, an authorization instruction for the target transaction channel to use the system account can be obtained to create the target channel account; or, when the transaction requester initiates a transaction request in the target transaction channel for the first time, an authorization instruction for the target transaction channel to use the system account can be obtained to create the target channel account.
[0172] Step S1620: associate the target channel account and the channel identification information of the target transaction channel and store them in the channel account data.
[0173] After creating the target channel account, the target channel account and the channel identification information of the target transaction channel can also be associated and stored in the channel account data and in the channel account of the system account, thereby associating the channel account of the transaction requester in the target transaction channel with the system account of the transaction requester.
[0174] In an alternative embodiment, see Fig.17 As shown, after the transaction requester logs in to the system account through the transaction system account, the mapping relationship between the transaction requester's information and the system account can be stored in the login mapping table; after obtaining the authorization instruction for the target transaction channel to use the system account, a target channel account can be created according to the system account logged in by the transaction requester, and the target channel account can be stored in the channel account information, wherein the channel account information is used to store the channel account; and the target channel account and the channel identification information of the target transaction channel are associated and stored in the channel account data to store the mapping relationship between the target channel account and the system account, and then, the mapping relationship between the target channel account and the transaction requester's information is stored. After obtaining the transaction request initiated by the transaction requester in the target transaction channel, if the target sub-account, target transaction account and target publisher account corresponding to the transaction request do not exist in the target channel account, the target sub-account, target transaction account and target publisher account corresponding to the transaction request can be created, and the created target sub-account is stored in the sub-account information, the target transaction account is stored in the transaction account information, and the target publisher account is stored in the publisher account information, wherein the sub-account information, the transaction account information and the publisher account information are used to record the created sub-account, transaction account and publisher account respectively. Optionally, the association relationship between the target sub-account and the target transaction account can also be stored in the target sub-account and / or the target transaction account, and the association relationship between the target transaction account and the target publisher account can be stored in the target transaction account and / or the target publisher account.
[0175] It should be noted that Fig.16 The specific implementation details of steps S210 to S240 shown in FIG. Figure 2 Steps S210 to S240 shown are not repeated here.
[0176] exist Fig.16 In the illustrated embodiment, the target channel account is created based on the system account and the channel identification information of the target transaction channel only when the authorization instruction for the target transaction channel to use the system account is obtained, thereby improving transaction security.
[0177] In an exemplary embodiment, see Fig.18 , Fig.18 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0178] like Fig.18As shown, the method includes steps S210 to S240, and steps S1810 to S1820, wherein steps S1810 to S1820 are described in detail as follows:
[0179] Step S1810: If the target channel account is not found, then create a channel account for the transaction requester in the target transaction channel.
[0180] If the target channel account corresponding to the channel identification information of the target transaction channel does not exist in the channel account data associated with the system account of the transaction requester, then a channel account of the transaction requester in the target transaction channel is created, that is, a target channel account is created.
[0181] Step S1820: associate the created channel account and the channel identification information of the target transaction channel and store them in the channel account data, and perform the transaction of virtual resources according to the created channel account and the transaction request.
[0182] The created channel account of the transaction requester in the target transaction channel and the channel identification information of the target transaction channel are associated and stored in the channel account associated with the system account, thereby associating the channel account of the transaction requester in the target transaction channel with the system account of the transaction requester. Then, the transaction of virtual resources is carried out according to the channel account of the transaction requester in the target transaction channel and the transaction request.
[0183] It should be noted that Fig.18 The specific implementation details of steps S210 to S240 shown in FIG. Figure 2 Steps S210 to S240 shown are not repeated here.
[0184] exist Fig.18 In the illustrated embodiment, after initiating a transaction request in the target transaction channel, if the transaction requester does not have a channel account in the target transaction channel, a channel account for the transaction requester in the target transaction channel can be created, and then the created channel account can be associated with the system account, and transactions can be conducted based on the created channel account, thereby improving transaction efficiency.
[0185] In an exemplary embodiment, see Fig.19 , Fig.19 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0186] like Fig.19As shown, the method includes steps S210 to S240, and steps S1910 to S1920, wherein steps S1910 to S1920 are described in detail as follows:
[0187] Step S1910, obtaining a logout request corresponding to the target channel account.
[0188] The deregistration request corresponding to the target channel account is used to request the deregistration of the target channel account. The transaction request can be initiated by the transaction requester or when the target channel account meets certain conditions.
[0189] Step S1920: cancel the target channel account in the target transaction channel, and delete the target channel account and the channel identification information corresponding to the target channel account from the channel account data.
[0190] After obtaining the cancellation request corresponding to the target channel account, the target channel account can be cancelled in the target transaction channel, and the target channel account and the channel identification information corresponding to the target channel account can be deleted from the channel account data of the system account, thereby releasing the association between the system account and the target channel account.
[0191] Optionally, when canceling the target channel account in the target transaction channel, the sub-accounts, transaction accounts, publisher accounts, and associations between accounts at all levels corresponding to the target channel account may also be deleted. Fig. 20 As shown, after receiving the cancellation request of the target channel account, the target channel account can be cancelled, and the target channel account and the channel identification information corresponding to the target channel account can be deleted in the channel account data corresponding to the system account to delete the mapping relationship between the target channel account and the system account, and the sub-account information, transaction account information and publisher account information can be updated respectively according to the sub-accounts, transaction accounts and publisher accounts contained in the target channel account.
[0192] It should be noted that Fig.19 The specific implementation details of steps S210 to S240 shown in FIG. Figure 2 Steps S210 to S240 shown are not repeated here.
[0193] exist Fig.19 In the illustrated embodiment, the channel account can be cancelled, thereby improving transaction flexibility.
[0194] In an exemplary embodiment, see Fig.21 As shown, Fig.21 is a flowchart of a data processing method shown in another exemplary embodiment of the present application. The method can be applied to Figure 1 The implementation environment shown, which can be Figure 1 The data processing device 120 in the illustrated implementation environment executes.
[0195] like Fig.21 As shown, the method includes steps S2101 to S2109, which are described in detail as follows:
[0196] Step S2101, according to the system account of the transaction requester logged in the transaction system, create channel accounts corresponding to the transaction requester in multiple transaction channels included in the transaction system.
[0197] The trading system includes multiple trading channels, and a channel account of the transaction requester in each trading channel can be created. For example, the trading system may include a "**Financial Management" applet and a "***Stock Trading" applet, and a channel account of the transaction requester in the "**Financial Management" applet and a channel account of the transaction requester in the "***Stock Trading" applet can be created based on the system account.
[0198] Step S2102, associating the system account logged in by the transaction requester with the created channel account of the transaction requester.
[0199] The system account, the channel account, and the channel identification information may be stored in association with each other to associate the system account with the channel account.
[0200] Step S2103, selecting a designated transaction business from the various transaction businesses included in each transaction channel, and creating a sub-account corresponding to the designated transaction business in the channel account corresponding to each transaction channel.
[0201] The designated transaction business corresponding to different transaction channels may be different. The designated transaction business may be set according to the specific business scenario of the transaction channel, and the business attributes corresponding to different transaction businesses may be different.
[0202] Step S2104, creating multiple transaction accounts corresponding to each sub-account; wherein each transaction account contains resource identification information and resource quantity of each virtual resource, and the resource identification information contained in the multiple transaction accounts is different.
[0203] Each sub-account may contain multiple transaction accounts, wherein different transaction accounts correspond to different resource identification information.
[0204] Step S2105: creating multiple publisher accounts corresponding to each transaction account, wherein the multiple publisher accounts correspond to different resource publishers.
[0205] Each trading account can be associated with multiple publisher accounts. Multiple publisher accounts associated with the same trading account correspond to different resource publishers. Fig. 22As shown, each system account contains one or more channel accounts, each channel account contains one or more sub-accounts, each sub-account contains one or more transaction accounts, and each transaction account is associated with one or more publisher accounts, thus forming a 5-layer account model.
[0206] Step S2106, obtaining the transaction request initiated by the transaction requester in the target transaction channel of the transaction system.
[0207] The transaction requester can initiate a transaction request in a transaction channel included in the transaction system, wherein the transaction channel that initiates the transaction request is the target transaction channel.
[0208] Step S2107, searching the target channel account of the transaction requester in the target transaction channel according to the system account logged in by the transaction requester.
[0209] The system account is associated with multiple channel accounts of the transaction requester, and the target channel account of the transaction requester in the target transaction channel can be searched from the multiple channel accounts associated with the system account.
[0210] Step S2108, searching for a target sub-account that matches the transaction request from the multiple sub-accounts included in the target channel account, and searching for a target transaction account that matches the transaction request from the multiple transaction accounts included in the target sub-account.
[0211] The target subaccount is a subaccount that matches the transaction request among the multiple subaccounts included in the target channel account. The target subaccount can be specified by the transaction requester or determined based on the transaction business to which the transaction request belongs. The target transaction account is a transaction account whose resource identification information matches the resource identification information of the virtual resource to be traded among the multiple transaction accounts included in the target subaccount.
[0212] Step S2109, searching for a target publisher account that matches the transaction request from multiple publisher accounts associated with the target transaction account, and updating the target transaction account and the resource quantity corresponding to the resource identification information of the virtual resources to be traded in the target publisher account according to the resource identification information of the virtual resources to be traded and the resource transaction quantity of the virtual resources to be traded contained in the transaction request.
[0213] The target publisher account is a publisher account whose corresponding resource publisher matches the resource publisher of the virtual resources to be traded among the multiple publisher accounts associated with the target transaction account. The target transaction account and the resource quantity contained in the target publisher account are updated according to the resource identification information of the virtual resources to be traded contained in the transaction request and the resource transaction quantity, thereby realizing the transaction of virtual resources.
[0214] Optionally, after the transaction, a transaction record may be generated, which may include at least one of the data related to the transaction, such as the system account, target channel account, target sub-account, target transaction account, target publisher account, resource transaction volume, resource identification information of the virtual resources to be traded, transaction time, etc.
[0215] It should be noted that Fig.21 The data processing method shown can be applied to complex business scenarios. For example, in an example, virtual resources are used as financial products for illustration. Fig.23 As shown, the transaction channel may include pension business, which may include three categories of pension business, namely, custom pension business, tax-deferred pension business and new personal pension business. Each pension business may include multiple types of wealth management products (e.g., standard wealth management products, combined wealth management products, etc.), each pension business may have different business attributes, and the new personal pension business also includes wealth management products with different transaction attributes. Therefore, a sub-account for pension business, a sub-account for tax-deferred pension business, a basic sub-account for new personal pension business, a locked sub-account and a continuous sub-account may be created, and each sub-account may be configured with its corresponding transaction attribute information and wealth management products, wherein the transaction attribute information of the sub-account for tax-deferred pension business may include: 1. The wealth management products contained in the sub-account are locked until the transaction requester reaches a set age (e.g., 60 years old), that is, the wealth management products contained in the sub-account are allowed to be sold only after the age of the transaction requester reaches a set age (e.g., 60 years old); 2. The annual limit is 12,000, that is, the amount of wealth management products purchased each year does not exceed 12,000; 3. The wealth management products contained in the sub-account support inheritance. The transaction attribute information of the locked sub-account of the new personal pension business may include: 1. The financial products contained in the sub-account are locked until the transaction requester reaches the set age (for example, 60 years old), that is, the financial products contained in the sub-account are allowed to be sold only after the transaction requester reaches the set age (for example, 60 years old); 2. Specific financial products can only be deposited in the locked account. The persistent sub-account of the new personal pension business is a type of account in pension financial management, which is used to store the financial products in the account for a long time and can be withdrawn regularly as needed. The specific transaction attributes can be flexibly set according to actual needs. In this embodiment, the relationship between the sub-accounts of the pension business, the sub-accounts of the tax-deferred pension business, the basic sub-accounts corresponding to the new personal pension business, the locked sub-accounts and the persistent sub-accounts can also be configured. For example, see Fig.23 As shown in the figure, you can configure the sub-accounts of pension business, tax-deferred pension business, basic sub-accounts corresponding to new personal pension business, locked sub-accounts and continuous sub-accounts. Fig.23 The parent-child hierarchy shown, that is, see Fig.24As shown, the system account includes a channel account, and the channel account includes a default sub-account, a sub-account for pension business, a sub-account for tax-deferred pension business, a basic sub-account for new personal pension business, a locked sub-account, and a continuous sub-account. Each sub-account may include one or more transaction accounts, and each transaction account may be associated with one or more publisher accounts. There is a parent-child hierarchical relationship between the sub-account for pension business, the sub-account for tax-deferred pension business, the basic sub-account for new personal pension business, the locked sub-account, and the continuous sub-account, that is, the sub-account for pension business includes the sub-account for tax-deferred pension business and the basic sub-account for new personal pension business, and the basic sub-account for new personal pension business includes the locked sub-account and the continuous sub-account for new personal pension business. Based on Fig.23 , 24 The account model shown can realize the independent management of financial products of different pension businesses, and there is no need to adjust the underlying accounts, so the stability of the five-layer accounts is maintained and the convenience of business expansion is improved. It should be noted that in other embodiments, it is also possible to configure that there is no parent-child hierarchical relationship between the sub-accounts of the pension business, the sub-accounts of the tax-deferred pension business, the basic sub-accounts corresponding to the new personal pension business, the locked sub-accounts and the continuous sub-accounts, wherein the basic sub-accounts corresponding to the new personal pension business can be used to trade new personal pension financial products other than the financial products corresponding to the locked sub-accounts and the continuous sub-accounts, and the sub-accounts of the pension business can be used to trade pension financial products other than the financial products corresponding to the sub-accounts of the tax-deferred pension business, the basic sub-accounts corresponding to the new personal pension business, the locked sub-accounts and the continuous sub-accounts, so that there is no intersection between the financial products corresponding to different sub-accounts.
[0216] It should be noted that Fig.21 The specific process of steps S2101 to S2109 shown has been described in detail in the above embodiments and will not be repeated here.
[0217] See also Fig.25 , Fig.25 FIG. 1 is a block diagram of a data processing device shown in an exemplary embodiment of the present application. Fig.25 As shown, the device comprises:
[0218] The processing module 2501 is configured to obtain a transaction request initiated by a transaction requester in a transaction system, and search for a target transaction channel corresponding to the transaction request from a plurality of transaction channels included in the transaction system;
[0219] The acquisition module 2502 is configured to acquire the channel account data associated with the system account according to the system account logged in by the transaction requester in the transaction system; wherein the channel account data includes a mapping relationship between the channel identification information and the channel account of the transaction requester;
[0220] A search module 2503 is configured to search the channel account data for the target channel account corresponding to the channel identification information of the target transaction channel;
[0221] The transaction module 2504 is configured to trade virtual resources according to the target channel account and the transaction request if the target channel account is found.
[0222] In an optional embodiment, based on the aforementioned example, the transaction module 2504 is specifically configured as follows: if the target channel account contains multiple sub-accounts, then a target sub-account matching the transaction request is searched from the multiple sub-accounts; and the virtual resource transaction is performed according to the target sub-account and the transaction request.
[0223] In an optional embodiment, based on the aforementioned example, the transaction module 2504 is specifically configured as follows: obtaining the resource identification information and resource transaction volume of the virtual resources to be traded contained in the transaction request; searching for a target transaction account whose resource identification information matches the resource identification information of the virtual resources to be traded from multiple transaction accounts contained in the target sub-account; wherein each transaction account contains the resource identification information and resource volume of each virtual resource, and the resource identification information contained in multiple transaction accounts is different; and updating the resource volume corresponding to the resource identification information of the virtual resources to be traded contained in the target transaction account according to the resource transaction volume.
[0224] In an optional embodiment, based on the aforementioned example, the transaction module 2504 is further configured to: obtain multiple publisher accounts associated with the target transaction account; wherein the resource publishers corresponding to the multiple publisher accounts are different, and each publisher account contains resource identification information and resource quantity of each virtual resource; from the multiple publisher accounts, search for a target publisher account whose corresponding resource publisher matches the resource publisher of the virtual resource to be traded; and update the resource quantity corresponding to the resource identification information of the virtual resource to be traded contained in the target publisher account according to the resource transaction quantity.
[0225] In an optional embodiment, based on the aforementioned example, the transaction module 2504 is specifically configured as follows: obtaining transaction attribute information corresponding to the target sub-account; wherein the transaction attribute information corresponding to different sub-accounts is not exactly the same; comparing the transaction attribute information corresponding to the transaction request with the transaction attribute information corresponding to the target sub-account; if the comparison result indicates that the transaction attribute information corresponding to the transaction request matches the transaction attribute information corresponding to the target sub-account, then updating the resource quantity of the virtual resources contained in the target sub-account according to the transaction request.
[0226] In an optional embodiment, based on the foregoing example, the transaction module 2504 is specifically configured to: parse the transaction request to obtain the identification information of the sub-account selected by the transaction requester; and search for a target sub-account that matches the parsed identification information from multiple sub-accounts.
[0227] In an optional embodiment, based on the aforementioned example, the device further includes a creation module configured to: obtain a sub-account creation request initiated by the transaction requester for the target channel account; and create a sub-account in the target channel account according to the sub-account creation request.
[0228] In an optional embodiment, based on the aforementioned example, the device also includes a creation module configured to: obtain multiple transaction businesses included in the target transaction channel, and filter out a specified transaction business from the multiple transaction businesses; and create a sub-account corresponding to the specified transaction business in the target channel account.
[0229] In an optional embodiment, based on the foregoing example, the device further includes an update module configured to: obtain the resource income amount of the virtual resources contained in the target subaccount within a set period; and update the resource amount of the virtual resources contained in the target subaccount according to the resource income amount.
[0230] In an optional embodiment, based on the aforementioned example, the device also includes a creation module, configured to: if an authorization instruction for the target transaction channel to use the system account is obtained, create a target channel account based on the system account and the channel identification information of the target transaction channel; and associate the target channel account and the channel identification information of the target transaction channel and store them in the channel account data.
[0231] In an optional embodiment, based on the aforementioned example, the device also includes a cancellation module configured to: obtain a cancellation request corresponding to the target channel account; cancel the target channel account in the target transaction channel, and delete the target channel account and the channel identification information corresponding to the target channel account from the channel account data.
[0232] In an optional embodiment, based on the aforementioned example, the transaction module 2504 is further configured to: if the target channel account is not found, create a channel account for the transaction requester in the target transaction channel; associate the created channel account and the channel identification information of the target transaction channel and store them in the channel account data, and conduct transactions of virtual resources based on the created channel account and the transaction request.
[0233] It should be noted that the data processing device provided in the above embodiment and the data processing method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs operations has been described in detail in the method embodiment and will not be repeated here.
[0234] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more computer programs, when the one or more computer programs are executed by one or more processors, the electronic device implements the data processing method provided in the above-mentioned embodiments.
[0235] Fig.26 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.
[0236] It should be noted that Fig.26 The computer system 2600 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0237] like Fig.26 As shown, the computer system 2600 includes a central processing unit (CPU) 2601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 2602 or a computer program loaded from a storage part 2608 to a random access memory (RAM) 2603, such as executing the data processing method in the above embodiment. Various computer programs and data required for system operation are also stored in RAM 2603. CPU 2601, ROM 2602 and RAM 2603 are connected to each other via a bus 2604. An input / output (I / O) interface 2603 is also connected to the bus 2604.
[0238] In some embodiments, the following components are connected to the I / O interface 2603: an input section 2606 including a keyboard, a mouse, etc.; an output section 2607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 2608 including a hard disk, etc.; and a communication section 2609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 2609 performs communication processing via a network such as the Internet. A drive 2610 is also connected to the I / O interface 2603 as needed. A removable medium 2611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 2610 as needed, so that a computer program read therefrom is installed into the storage section 2608 as needed.
[0239] In particular, according to an embodiment of the present application, a computer program that implements the data processing method can be carried on a computer-readable medium, and the computer program can be downloaded and installed from the network through the communication part 2609, and / or installed from the removable medium 2611.
[0240] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a computer program, which may be used by an instruction execution system, device or device or used in combination with it. The computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried, and the propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer program contained in the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, etc., or any suitable combination of the foregoing.
[0241] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of the boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and a computer program.
[0242] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0243] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor of an electronic device, the electronic device implements the above data processing method. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.
[0244] Another aspect of the present application further provides a computer program product, the computer program product comprising a computer program, and when the computer program is executed by a processor, the data processing method provided in each of the above embodiments is implemented. The computer program may be stored in a computer-readable storage medium.
[0245] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A data processing method, characterized in that: The method comprises: Acquire a transaction request initiated by a transaction requester in a transaction system, and search for a target transaction channel corresponding to the transaction request from multiple transaction channels included in the transaction system; According to the system account logged in by the transaction requester in the transaction system, the channel account data associated with the system account is obtained; wherein the channel account data includes a mapping relationship between the channel identification information and the channel account of the transaction requester; Searching the channel account data for the target channel account corresponding to the channel identification information of the target transaction channel; If the target channel account is found, the transaction of virtual resources is performed according to the target channel account and the transaction request.
2. The method according to claim 1, characterized in that The performing of the transaction of virtual resources according to the target channel account and the transaction request includes: If the target channel account includes multiple sub-accounts, searching for a target sub-account matching the transaction request from the multiple sub-accounts; The virtual resource transaction is performed according to the target sub-account and the transaction request.
3. The method according to claim 2, characterized in that The performing a transaction of virtual resources according to the target sub-account and the transaction request includes: Obtaining resource identification information and resource transaction volume of the virtual resource to be traded contained in the transaction request; Searching, from the multiple transaction accounts included in the target sub-account, a target transaction account whose resource identification information matches the resource identification information of the virtual resource to be traded; wherein each transaction account contains the resource identification information and resource quantity of each virtual resource, and the resource identification information contained in the multiple transaction accounts is different; According to the resource transaction volume, the resource volume corresponding to the resource identification information of the virtual resource to be traded contained in the target transaction account is updated.
4. The method according to claim 3, characterized in that The performing of the transaction of virtual resources according to the target sub-account and the transaction request further includes: Acquire multiple publisher accounts associated with the target transaction account; wherein the multiple publisher accounts correspond to different resource publishers, and each publisher account contains resource identification information and resource quantity of each virtual resource; From the multiple publisher accounts, searching for a target publisher account whose corresponding resource publisher matches the resource publisher of the virtual resource to be traded; The resource quantity corresponding to the resource identification information of the virtual resource to be traded contained in the target publisher account is updated according to the resource transaction quantity.
5. The method according to claim 2, characterized in that The performing a transaction of virtual resources according to the target sub-account and the transaction request includes: Acquire transaction attribute information corresponding to the target sub-account; wherein the transaction attribute information corresponding to different sub-accounts is not completely the same; Comparing the transaction attribute information corresponding to the transaction request with the transaction attribute information corresponding to the target sub-account; If the comparison result indicates that the transaction attribute information corresponding to the transaction request matches the transaction attribute information corresponding to the target sub-account, the resource amount of the virtual resources contained in the target sub-account is updated according to the transaction request.
6. The method according to claim 2, characterized in that The step of searching, from among the multiple sub-accounts, a target sub-account that matches the transaction request comprises: Parsing the transaction request to obtain identification information of the sub-account selected by the transaction requester; The target sub-account matching the parsed identification information is searched from the multiple sub-accounts.
7. The method according to claim 6, characterized in that The method further comprises: Obtaining a sub-account creation request initiated by the transaction requester for the target channel account; A sub-account is created in the target channel account according to the sub-account creation request.
8. The method according to claim 2, characterized in that The method further comprises: Acquire multiple transaction businesses included in the target transaction channel, and select a designated transaction business from the multiple transaction businesses; A sub-account corresponding to the designated transaction business is created in the target channel account.
9. The method according to claim 2, characterized in that The method further comprises: Obtaining the resource income amount of the virtual resources contained in the target sub-account within a set period; The resource amount of the virtual resource contained in the target sub-account is updated according to the resource income amount.
10. The method according to claim 2, characterized in that The method further comprises: If an authorization instruction for the target transaction channel to use the system account is obtained, creating the target channel account according to the system account and the channel identification information of the target transaction channel; The target channel account and the channel identification information of the target transaction channel are associated and stored in the channel account data.
11. The method according to any one of claims 1 to 10, characterized in that The method further comprises: Obtain a cancellation request corresponding to the target channel account; The target channel account is cancelled in the target transaction channel, and the target channel account and the channel identification information corresponding to the target channel account are deleted from the channel account data.
12. The method according to any one of claims 1 to 10, characterized in that The method further comprises: If the target channel account is not found, creating a channel account for the transaction requester in the target transaction channel; The created channel account and the channel identification information of the target transaction channel are associated and stored in the channel account data, and the transaction of virtual resources is performed according to the created channel account and the transaction request.
13. A data processing device, characterized in that: The device comprises: A processing module configured to obtain a transaction request initiated by a transaction requester in a transaction system, and search for a target transaction channel corresponding to the transaction request from a plurality of transaction channels included in the transaction system; an acquisition module, configured to acquire, according to the system account logged in by the transaction requester in the transaction system, the channel account data associated with the system account; wherein the channel account data includes a mapping relationship between the channel identification information and the channel account of the transaction requester; A search module configured to search the channel account data for a target channel account corresponding to the channel identification information of the target transaction channel; The transaction module is configured to conduct a transaction of virtual resources according to the target channel account and the transaction request if the target channel account is found.
14. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more computer programs, which, when executed by the one or more processors, enables the electronic device to implement the data processing method described in any one of claims 1 to 12.
15. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of an electronic device, the electronic device implements the data processing method according to any one of claims 1 to 12.
16. A computer program product, characterized in that The invention comprises a computer program, which implements the data processing method according to any one of claims 1 to 12 when being executed by a processor.
