CN114078002A - Account adjusting method, account adjusting equipment, account adjusting storage medium and account adjusting device based on live broadcast platform - Google Patents
Account adjusting method, account adjusting equipment, account adjusting storage medium and account adjusting device based on live broadcast platform Download PDFInfo
- Publication number
- CN114078002A CN114078002A CN202010809566.4A CN202010809566A CN114078002A CN 114078002 A CN114078002 A CN 114078002A CN 202010809566 A CN202010809566 A CN 202010809566A CN 114078002 A CN114078002 A CN 114078002A
- Authority
- CN
- China
- Prior art keywords
- account
- fund
- transaction
- concurrency
- amount
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/12—Payment architectures specially adapted for electronic shopping systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention relates to the technical field of live broadcast platforms, and discloses an account adjusting method, account adjusting equipment, a storage medium and an account adjusting device based on a live broadcast platform. According to the method, when a transaction event in a live broadcast platform is received, the concurrence state of a transaction process in the live broadcast platform is obtained according to the transaction event; when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the number of the fund accounts corresponding to the transaction event to obtain a target fund account; and carrying out fund processing on the transaction event according to the target fund account, so that the amount of the fund account can be adaptively and dynamically adjusted according to the current concurrency state, account requirements under different concurrency states are met, and the aim of improving the flexibility of account adjustment based on a live broadcast platform is fulfilled.
Description
Technical Field
The invention relates to the technical field of live broadcast platforms, in particular to an account adjusting method, account adjusting equipment, an account adjusting storage medium and an account adjusting device based on a live broadcast platform.
Background
With the development of the network era, more and more people pay attention to the live broadcast platform, and the live broadcast has extremely high real-time performance, so that the live broadcast platform is more close to the life of the public. The live broadcast is divided into character and picture live broadcast and video live broadcast, and the traditional television stations mainly use the video live broadcast, such as news simulcast and spring festival conciliation evening party in the category of performances. In the network era, the main role is the image-text live broadcast, such as the live broadcast of sports events and news. In the mobile internet era, live broadcast of characters, pictures and videos can be realized, and more live video broadcast platforms are produced.
However, because the live broadcast platform involves more online fund management in operation, the existing technology only relies on the traditional multi-service function mixed single record account for management, and therefore flexible account management cannot be realized.
Disclosure of Invention
The invention mainly aims to provide an account adjusting method, equipment, a storage medium and a device based on a live broadcast platform, and aims to improve the flexibility of account adjustment based on the live broadcast platform.
In order to achieve the above object, the present invention provides an account adjustment method based on a live broadcast platform, which includes the following steps:
when a transaction event in a live broadcast platform is received, obtaining a concurrency state of a transaction process in the live broadcast platform according to the transaction event;
when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the number of the fund accounts corresponding to the transaction event to obtain a target fund account;
and carrying out fund processing on the transaction event according to the target fund account.
Optionally, the concurrency state includes a user access number concurrency state;
when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the amount of the fund account corresponding to the transaction event to obtain a target fund account, wherein the method comprises the following steps:
when the concurrency state of the user access number exceeds a concurrency threshold value, counting the transaction account number of the transaction event according to the user access number;
and dynamically adjusting the amount of the fund account corresponding to the transaction event according to the amount of the transaction account to obtain a target fund account.
Optionally, the concurrency state comprises a fund amount concurrency state;
when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the amount of the fund account corresponding to the transaction event to obtain a target fund account, wherein the method comprises the following steps:
when the concurrency state of the fund quantity exceeds a concurrency threshold value, counting the fund expenditure amount of the transaction event according to the fund quantity;
judging whether the fund expenditure amount exceeds the fund account balance corresponding to the transaction event or not;
and when the fund expenditure amount exceeds the balance of the fund account corresponding to the transaction event, dynamically adjusting the fund account quantity corresponding to the transaction event according to the fund quantity to obtain a target fund account.
Optionally, when the concurrency state of the transaction process exceeds a concurrency threshold, dynamically adjusting the number of the fund accounts corresponding to the transaction event to obtain a target fund account, including:
when the concurrency state of the transaction process exceeds a concurrency threshold value, acquiring other fund account information in a preset fund pool;
and expanding the amount of the fund account according to the other fund account information to obtain the target fund account.
Optionally, after the expanding the amount of the fund account according to the other fund account information and obtaining the target fund account, the method further includes:
when the concurrency state of the transaction process is lower than a concurrency threshold value, reducing the number of the fund accounts in the target fund account to obtain an updated target fund account;
the fund processing of the transaction event according to the target fund account comprises:
and carrying out fund processing on the transaction event according to the updated target fund account.
Optionally, before the funding the transaction event according to the target funding account, the method further includes:
acquiring state information of the transaction event;
determining the account reserve amount according to the state information, and carrying out fund deposit on the target fund account according to the account reserve amount to obtain an updated target fund account;
the fund processing of the transaction event according to the target fund account comprises:
and carrying out fund processing on the transaction event according to the updated target fund account.
Optionally, the status information comprises transaction time information;
the determining the account reserve amount according to the state information, and depositing funds into the target fund account according to the account reserve amount to obtain an updated target fund account includes:
acquiring transaction time information in the state information;
judging whether the transaction time information reaches preset time information or not;
when the transaction time information reaches preset time information, determining account reserve amount according to the transaction time information;
and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
Optionally, the status information comprises transaction level information;
the determining the account reserve amount according to the state information, and depositing funds into the target fund account according to the account reserve amount to obtain an updated target fund account includes:
acquiring transaction grade information in the state information;
judging whether the transaction time information reaches preset grade information or not;
when the transaction time information reaches preset grade information, searching a fund amount corresponding to the preset grade information;
taking the fund amount corresponding to the preset grade information as the account reserve amount;
and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
Optionally, the fund processing the transaction event according to the target fund account includes:
acquiring a flow control strategy corresponding to the target fund account;
and processing funds of the transaction event according to the flow control strategy.
Optionally, the flow control policy comprises a balance priority satisfaction policy;
the fund processing of the transaction event according to the flow control policy comprises:
when the flow control strategy is a strategy that the balance meets the requirement preferentially, balance information of each sub-account in the target fund account is acquired;
taking the sub-account with balance information meeting preset conditions as a target sub-account;
and carrying out fund processing on the transaction event through the target sub-account.
Optionally, the flow control policy comprises a random round robin policy;
the determining a target sub-account according to the flow control policy includes:
when the flow control strategy is a random round robin strategy, a sub-account randomly selected from the target fund account is used as a target sub-account;
and carrying out fund processing on the transaction event through the target sub-account.
Optionally, after the funding the transaction event according to the target funding account, the method further includes:
generating transaction book information according to the transaction event;
and storing the information of the transaction account book to a preset storage area.
In addition, in order to achieve the above object, the present invention further provides an account adjusting device based on a live broadcast platform, where the account adjusting device based on the live broadcast platform includes:
the system comprises a determining module, a processing module and a processing module, wherein the determining module is used for obtaining the concurrent state of a transaction process in a live broadcast platform according to a transaction event when the transaction event in the live broadcast platform is received;
the adjusting module is used for dynamically adjusting the amount of the fund account corresponding to the transaction event when the concurrency state of the transaction process exceeds a concurrency threshold value to obtain a target fund account;
and the processing module is used for carrying out fund processing on the transaction event according to the target fund account.
Optionally, the concurrency state includes a user access number concurrency state;
the adjusting module is further used for counting the transaction account number of the transaction event according to the user access number when the concurrency state of the user access number exceeds a concurrency threshold value;
and dynamically adjusting the amount of the fund account corresponding to the transaction event according to the amount of the transaction account to obtain a target fund account.
Optionally, the concurrency state comprises a fund amount concurrency state;
the adjusting module is further used for counting the fund expenditure amount of the transaction event according to the fund quantity when the fund quantity concurrency state exceeds a concurrency threshold;
judging whether the fund expenditure amount exceeds the fund account balance corresponding to the transaction event or not;
and when the fund expenditure amount exceeds the balance of the fund account corresponding to the transaction event, dynamically adjusting the fund account quantity corresponding to the transaction event according to the fund quantity to obtain a target fund account.
Optionally, the adjusting module is further configured to obtain other fund account information in a preset fund pool when the concurrency state of the transaction process exceeds a concurrency threshold;
and expanding the amount of the fund account according to the other fund account information to obtain the target fund account.
Optionally, the adjusting module is further configured to narrow down the amount of the fund accounts in the target fund account to obtain an updated target fund account when the concurrency state of the transaction process is lower than a concurrency threshold.
Optionally, the account adjusting apparatus based on a live broadcast platform further includes: an update module;
the updating module is used for acquiring the state information of the transaction event;
and determining the account reserve amount according to the state information, and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
In addition, in order to achieve the above object, the present invention further provides an account adjusting device based on a live broadcast platform, where the account adjusting device based on the live broadcast platform includes: the account adjusting program based on the live broadcast platform is stored in the memory and runs on the processor, and when being executed by the processor, the account adjusting program based on the live broadcast platform realizes the steps of the account adjusting method based on the live broadcast platform.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where an account adjustment program based on a live broadcast platform is stored, and when being executed by a processor, the account adjustment program based on the live broadcast platform implements the steps of the account adjustment method based on the live broadcast platform.
According to the technical scheme provided by the invention, when a transaction event in a live broadcast platform is received, the concurrency state of a transaction process in the live broadcast platform is obtained according to the transaction event; when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the number of the fund accounts corresponding to the transaction event to obtain a target fund account; and carrying out fund processing on the transaction event according to the target fund account, so that the amount of the fund account can be adaptively and dynamically adjusted according to the current concurrency state, account requirements under different concurrency states are met, and the aim of improving the flexibility of account adjustment based on a live broadcast platform is fulfilled.
Drawings
Fig. 1 is a schematic structural diagram of a live platform-based account adjustment device of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a first embodiment of an account adjustment method based on a live broadcast platform according to the present invention;
fig. 3 is a block diagram of an account adjustment system based on a live broadcast platform according to an embodiment of the account adjustment method based on a live broadcast platform of the present invention;
fig. 4 is a schematic view of an overall process of account adjustment based on a live broadcast platform according to an embodiment of the account adjustment method based on a live broadcast platform of the present invention;
fig. 5 is a flowchart illustrating a second embodiment of an account adjustment method based on a live broadcast platform according to the present invention;
fig. 6 is a flowchart illustrating a live broadcast platform-based account adjustment method according to a third embodiment of the present invention;
fig. 7 is a transaction schematic diagram based on a flow control policy according to an embodiment of the account adjustment method based on the live broadcast platform;
fig. 8 is a block diagram illustrating a first embodiment of an account adjustment apparatus based on a live broadcast platform according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: when a transaction event in a live broadcast platform is received, obtaining a concurrency state of a transaction process in the live broadcast platform according to the transaction event; when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the number of the fund accounts corresponding to the transaction event to obtain a target fund account; and carrying out fund processing on the transaction event according to the target fund account, so that the amount of the fund account can be adaptively and dynamically adjusted according to the current concurrency state, account requirements under different concurrency states are met, and the aim of improving the flexibility of account adjustment based on a live broadcast platform is fulfilled.
The main technical terms related to the embodiments of the present application include:
a capital pool: and storing basic units of the gold coin balance related to the service function operated by the platform.
Budgeting: the amount of money deposited into the fund pool is applied in advance.
Flow control: and controlling the flow.
Account book: for recording detailed bill particulars of money in and out.
And (3) inflow: the increase of the amount of money.
And (3) outflow: a reduction in the amount of money.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an account adjustment device based on a live broadcast platform in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the account adjustment device based on the live platform may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), the optional user interface 1003 may also include a standard wired interface and a wireless interface, and the wired interface of the user interface 1003 may be a Universal Serial Bus (USB) interface in the present invention. The network interface 1004 may optionally include a standard wired interface as well as a wireless interface (e.g., WI-FI interface). The Memory 1005 may be a high speed Random Access Memory (RAM); or a stable Memory, such as a Non-volatile Memory (Non-volatile Memory), and may be a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of a live platform based account adjustment device and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, memory 1005, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a live platform based account adjustment program.
In the account adjustment device based on the live broadcast platform shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting peripheral equipment; the account adjustment device based on the live broadcast platform calls an account adjustment program based on the live broadcast platform, which is stored in the memory 1005, through the processor 1001, and executes the account adjustment method based on the live broadcast platform provided by the embodiment of the present invention.
Based on the hardware structure, the embodiment of the account adjusting method based on the live broadcast platform is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a live broadcast platform-based account adjustment method according to a first embodiment of the present invention.
In a first embodiment, the account adjustment method based on the live broadcast platform includes the following steps:
step S10: and when a transaction event in a live broadcast platform is received, obtaining the concurrency state of the transaction process in the live broadcast platform according to the transaction event.
It should be noted that the execution subject in this embodiment is an account adjustment device based on a live broadcast platform, and may also be other devices that can implement the same or similar functions.
In this embodiment, the transaction event may include a fund inflow and outflow event for a user to buy and sell a live broadcast commodity, may also include a fund outflow event for distribution of a red envelope, and may also include other forms of transaction events, which is not limited in this embodiment, and is described by taking an example of purchasing a commodity through a live broadcast platform.
In a specific implementation, the concurrent state of the transaction process in the live broadcast platform can be obtained by the user when the user purchases the commodity on the live broadcast platform, so that the amount of the fund account can meet the current purchase demand according to the concurrent state, where the concurrent state can be concurrent of the amount of the process, and can also be concurrent of total outflow of the fund and concurrent inflow of the fund in the transaction event, which is not limited in this embodiment. In order to control the platform cash flow with finer granularity, avoid the fund loss caused under abnormal conditions and enable the project related to the platform cash flow to use the platform funds efficiently and safely, a set of high-efficiency platform funds use, accurate fund budget control and high-wind control capacity fund pool management and control system is established through deep analysis and research on the platform related to financial related projects for many years, as shown in a system block diagram of fig. 3, the system block diagram comprises a business system, a system fund pool, a basic fund pool account, a fund account book, a fund pool operation log, a storage system and the like, wherein the business system comprises an active system, a background system and a user system, the system fund pool comprises budgeting, using, flow control, dynamic planning and the like, and the system analyzes a set of perfect control strategy according to the inflow, outflow and use scenes of the cash flow, the method comprises the following main subsystems of capital pool creation and management, dynamic planning of capital pool size, capital pool budget, capital pool flow control strategy, capital pool account book and the like, wherein the capital pool management comprises the following steps: initializing a capital pool according to the purpose of an operation project, configuring initial budget and the like, wherein the dynamic planning of the size of the capital pool comprises the steps of according to the oriented crowd of the project, using scenes, the size of the initial capital pool, setting an adjustment threshold value, expanding the capacity of the capital pool when the requested amount is increased, reducing the capacity of the capital pool when the requested amount is increased, and configuring basic guaranteed budget and a flow control strategy according to the basic situation of the operation project. The fund pool account book records inflow and outflow of each fund through detailed fund pool operation behaviors, has comprehensiveness, continuity and non-repudiation, reflects the circulation condition of the fund pool by the system, and provides necessary basis for accounting of financial staff.
In order to realize effective management of the capital pool data, data management is carried out through a database in a form of a table structure, specific table functions and main field functions are described as the table structure and divided into a plurality of management groups, wherein the management groups comprise pool groups, the pool represents a capital pool, the pool _ ID represents a capital pool ID, the show _ count represents the quantity of capital pool sub-accounts, the title represents a capital pool descriptive name, and the show _ selector _ request represents a capital pool sub-account selection strategy. The method comprises a pool _ show _ ve0-n group, wherein the pool _ show _ ve0-n is represented as a storage sub-account for hash remainder according to a fund pool _ ID, the pool _ ID represents a fund pool ID, the show _ ID represents a sub-account ID, b _ outer represents a recharge fund, and b _ inner represents an operation fund. The method comprises the steps of including a pool _ month _ view group, wherein the pool _ month _ view represents an account book recorded by months, storing detailed fund inflow and outflow records, and comprises the steps of indicating a fund pool ID by a pool _ ID, indicating a sub-account ID by a shadow _ ID, indicating inflow and outflow recharging type funds by a b _ outer, indicating inflow and outflow operation type funds by a b _ inner, indicating a recharging type fund balance when an action occurs and indicating an operation type fund balance when the action occurs by a pre _ inner.
Step S20: and when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the number of the fund accounts corresponding to the transaction event to obtain a target fund account.
It should be noted that, the concurrency state may be concurrency of the process quantity, and may also be concurrency of total outflow of funds and inflow of funds in the transaction event, when the process quantity is concurrent, the concurrency threshold is a concurrency quantity threshold, for example, 1 ten thousand process quantities, and may also be other threshold parameters, which is not limited in this embodiment, and in the concurrency of the total outflow of funds in the transaction event, the concurrency threshold is a concurrent amount threshold, for example, 1000 ten thousand, and may also be other threshold parameters, which is not limited in this embodiment, and is only described in this embodiment, where the dynamic adjustment includes increasing the fund account quantity, and may also decrease the fund account quantity, which is not limited in this embodiment, and when the current concurrency state is a quantity concurrency state, the fund account quantity is increased, thereby ensuring stable operation of the transaction event, and when the current concurrency state is a stable state, the number of the fund accounts is reduced, so that the spare fund accounts are provided for other transaction events to be used, and the flexibility of using the accounts in the fund pool is improved.
Step S30: and carrying out fund processing on the transaction event according to the target fund account.
In this embodiment, the amount of the fund account corresponding to the transaction event is dynamically adjusted, so that the inflow and outflow of the account fund under the high concurrency condition can be handled, the amount of the account can be dynamically adjusted according to the use scenario, as shown in the overall flow diagram shown in fig. 4, the amount of the sub-accounts of the fund pool is adjusted through the adaptive adapter according to the real-time access amount of the service, and the concurrency capability of the fund pool is improved, where User represents a User, shadow represents an account, and a corresponding target account is selected by configuring the account selection engine to perform fund processing, so that the fund pool can be flexibly configured according to the User requirements.
According to the scheme, when a transaction event in a live broadcast platform is received, the concurrent state of a transaction process in the live broadcast platform is obtained according to the transaction event; when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the number of the fund accounts corresponding to the transaction event to obtain a target fund account; and carrying out fund processing on the transaction event according to the target fund account, so that the amount of the fund account can be adaptively and dynamically adjusted according to the current concurrency state, account requirements under different concurrency states are met, and the aim of improving the flexibility of account adjustment based on a live broadcast platform is fulfilled.
Referring to fig. 5, fig. 5 is a flowchart illustrating a second embodiment of the account adjustment method based on the live broadcast platform according to the present invention, and the second embodiment of the account adjustment method based on the live broadcast platform according to the present invention is provided based on the first embodiment illustrated in fig. 2.
In a second embodiment, the concurrency state includes a user access number concurrency state.
The step S20 includes:
step S201, when the concurrency state of the user access number exceeds a concurrency threshold value, counting the transaction account number of the transaction event according to the user access number.
It should be noted that, in this embodiment, the state of the concurrence of the user access numbers is mainly based on, for example, when a live platform performs a sales promotion activity, a large number of users may be introduced, in this case, the number of transaction accounts of the transaction event may be counted according to the user access numbers, for example, 10 accounts of the fund pool under the current transaction event are allocated to process, but 10 accounts cannot process the current user access number, so that the current 10 accounts may be dynamically adjusted, accounts of the fund pool that process other transaction events may be merged into 10 accounts under the current transaction event, and the current usage account may be expanded, thereby satisfying the dynamic adjustment of the accounts under the state of the concurrence of the current user access numbers, and achieving flexibility of account management.
Step S202, dynamically adjusting the amount of the fund account corresponding to the transaction event according to the amount of the transaction account to obtain a target fund account.
In the embodiment, the size of the capital pool can be dynamically planned in real time according to the income and the output magnitude of the capital pool, the operation efficiency of the capital pool is improved, the efficient operation of the system is ensured, and the million-level user quantity is borne, so that the account quantity can be dynamically adjusted according to the use scene.
In an embodiment, the concurrency state includes a funds amount concurrency state.
The step S20 includes:
when the concurrency state of the fund quantity exceeds a concurrency threshold value, counting the fund expenditure amount of the transaction event according to the fund quantity; judging whether the fund expenditure amount exceeds the fund account balance corresponding to the transaction event or not; and when the fund expenditure amount exceeds the balance of the fund account corresponding to the transaction event, dynamically adjusting the fund account quantity corresponding to the transaction event according to the fund quantity to obtain a target fund account.
It should be noted that, this embodiment is mainly based on the concurrence state of the amount of money, for example, in the case of red pack distribution, red pack rain with a money amount of 1 hundred million or more is generally distributed, but because a fixed amount is already allocated to the account of the current processing event in the fund pool, the current red pack activity cannot be satisfied, in this case, the money needs to be reserved for the current account and then the red pack rain activity is performed, and this process takes a long time, so that the best time for the activity is easily missed.
Therefore, the present embodiment may determine that the amount of the fund expenditure exceeds the balance of the fund account corresponding to the transaction event, dynamically adjusting the amount of fund accounts corresponding to the transaction events according to the amount of the fund, combining accounts for processing other transaction events in a fund pool with the account under the current transaction event, expanding the current usage account, for example, currently acquiring a1 billion fund reserve, the balance of the current account is only 1000 tens of thousands, in this case, where other accounts are required for processing, accounts with higher account balances, such as 1 billion reserved funds accounts, are consolidated, thereby meeting the current red-covered rain activity, combining a plurality of accounts to ensure that the total amount of the accounts meets the current red-covered rain activity, therefore, the dynamic adjustment of the account in the concurrent state of the access number of the current user is met, and the flexibility of account management is realized.
In this embodiment, in addition to dynamically adjusting the account corresponding to the fund pool, the account of the fund pool may be created according to the user requirement, so as to implement effective management of the account and adjustment of the fund pool.
In the specific implementation, a capital account creating instruction is obtained, account attribute information and account amount information in the capital account creating instruction are extracted, an account in a capital pool is created according to the account attribute information and the account amount information, a capital pool adjusting instruction can also be obtained, the capital pool attribute information and account number configuration information in the capital pool adjusting instruction are extracted, and the capital pool is adjusted according to the capital pool attribute information and the account number configuration information, so that the flexibility of live broadcast platform transaction is realized to the maximum extent.
In one embodiment, the step S20 includes:
when the concurrency state of the transaction process exceeds a concurrency threshold value, acquiring other fund account information in a preset fund pool; expanding the amount of the fund accounts according to the information of the other fund accounts to obtain a target fund account, and reducing the amount of the fund accounts in the target fund account to obtain an updated target fund account when the concurrency state of the transaction process is lower than a concurrency threshold value; and carrying out fund processing on the transaction event according to the updated target fund account.
In a specific implementation, in order to implement dynamic adjustment of the amount of the fund account, specifically, when the concurrency state of the transaction process exceeds a concurrency threshold, the amount of the fund account is expanded by using information of other fund accounts, for example, when the current user access amount exceeds 1000 ten thousand, the other fund accounts are added to the current fund account, the amount of the fund account is expanded, so as to implement expansion of the fund account, when the current access amount returns to a stable state, the amount of the fund account in the target fund account is reduced, specifically, the added other fund accounts may be subdivided, or the other fund accounts under the current fund account may be further divided, so as to reduce the amount of the fund account in the target fund account, which is not limited in this embodiment, in an embodiment, a division policy may be preset, and account division is performed according to the division policy, for example, the division is performed according to the account balance, or may be performed according to the number of account uses, which is not limited in this embodiment.
According to the scheme, when the concurrency state of the transaction process exceeds the concurrency threshold, the amount of the fund accounts is expanded according to the information of the other fund accounts, and when the concurrency state of the transaction process is lower than the concurrency threshold, the amount of the fund accounts in the target fund accounts is reduced, so that the amount of the accounts can be dynamically adjusted according to a use scene, and the flexibility of account management in a fund pool is improved.
Referring to fig. 6, fig. 6 is a flowchart illustrating a live broadcast platform-based account adjustment method according to a third embodiment of the present invention, and the third embodiment of the live broadcast platform-based account adjustment method according to the present invention is provided based on the first embodiment or the second embodiment.
In the third embodiment, before the step S30, the method further includes:
step S301, acquiring the state information of the transaction event.
It should be noted that the status information of the transaction event includes transaction time information, transaction level information, and the like, and may further include other status information, which is not limited in this embodiment, where the transaction time information is time information of the current transaction event, the transaction level information may be promotion level information of the current transaction event, and levels one, two, and three, and the like, and the lower the level is, the higher the priority is, and the use fund information of the current transaction may be obtained through the promotion level information, so that the fund reserve amount of the fund pool may be adjusted according to the use fund information.
Step S302, determining the reserve amount of the account according to the state information, and depositing funds into the target fund account according to the reserve amount of the account to obtain the updated target fund account.
In the specific implementation, the corresponding account reserve amount is obtained according to the transaction time information and the transaction grade information of the current transaction event, and the fund is deposited according to the account reserve amount.
The step S30 includes:
and carrying out fund processing on the transaction event according to the updated target fund account.
In particular implementations, the status information includes transaction time information; the step S302 includes:
acquiring transaction time information in the state information; judging whether the transaction time information reaches preset time information or not; when the transaction time information reaches preset time information, determining account reserve amount according to the transaction time information; and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
It can be understood that the preset time information is 618 or 11, and may also be other time period information, which is not limited in this embodiment, the current transaction event information is obtained, and the current transaction event information is compared with the preset time information, so as to determine whether the current transaction information is in a large promotion time period, and when the current transaction information is in the large promotion time period, it indicates that the current transaction needs a large amount of fund reserve to meet the demand of the current transaction, and therefore, the account reserve amount can be determined according to the transaction time information.
In the specific implementation, a corresponding relation between the transaction time information and the account reserve amount is preset, and the corresponding account reserve amount can be obtained through the corresponding relation according to the transaction time information, wherein the corresponding relation between the transaction time information and the account reserve amount can be obtained through analyzing sample data in the big data, so that a mapping relation between the transaction time information and the account reserve amount is obtained, and the account reserve amount is determined.
In one embodiment, the status information includes transaction level information.
The step S302 includes:
acquiring transaction grade information in the state information; judging whether the transaction time information reaches preset grade information or not; when the transaction time information reaches preset grade information, searching a fund amount corresponding to the preset grade information; taking the fund amount corresponding to the preset grade information as the account reserve amount; and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
In this embodiment, another implementation manner is provided, where the account reserve amount is determined according to the transaction level information of the transaction event, specifically, when the transaction time information reaches the preset level information, the account reserve amount may be determined according to the transaction level information, for example, when the current transaction level is one level, it indicates that the current transaction level is the highest, and in this case, the account reserve amount corresponding to the current transaction level is obtained.
In specific implementation, a corresponding relation between transaction level information and account reserve amount is preset, and the corresponding account reserve amount can be obtained according to the transaction level information through the corresponding relation, wherein the corresponding relation between the transaction level information and the account reserve amount can be obtained by analyzing sample data in big data, so that a mapping relation between transaction time information and the account reserve amount is obtained, for example, when the transaction level is in a 1-level state, the corresponding account reserve amount is 1 hundred million, when the transaction level is in a 2-level state, the corresponding account reserve amount is 1000 ten thousand, and the like, so that account reserve amount determination is realized, and accuracy of account budget is improved.
In one embodiment, the step S30 includes:
acquiring a flow control strategy corresponding to the target fund account; and processing funds of the transaction event according to the flow control strategy.
It should be noted that the flow control policy includes a balance priority satisfaction policy, a random round robin policy, and the like, and may also include flow control policies of other manners, which is not limited in this embodiment, where the balance priority satisfaction policy is to use an account with the largest account balance as a transaction account for fund processing, and the random round robin policy is to randomly select any account as a transaction account for fund processing, so as to improve flexibility of account transaction.
In one embodiment, the flow control policy includes a balance priority satisfaction policy.
The fund processing of the transaction event according to the flow control policy comprises:
when the flow control strategy is a strategy that the balance meets the requirement preferentially, balance information of each sub-account in the target fund account is acquired; taking the sub-account with balance information meeting preset conditions as a target sub-account; and carrying out fund processing on the transaction event through the target sub-account.
In a specific implementation, when the flow control policy of the current account is that the balance preferentially satisfies the policy, the balance information of the account is acquired, and the account with the highest balance is used as a target account for fund processing, for example, under the current transaction event, the account a has a balance of 100 ten thousand and the account B has a balance of 150 ten thousand, and when the flow control policy of the current account is that the balance preferentially satisfies the policy, the account B is used as a target sub-account.
In another embodiment provided, the flow control strategy comprises a random round robin strategy.
The determining a target sub-account according to the flow control policy includes:
when the flow control strategy is a random round robin strategy, a sub-account randomly selected from the target fund account is used as a target sub-account; and carrying out fund processing on the transaction event through the target sub-account.
In a specific implementation, when the flow control policy of the current account is a random round robin policy, one account is randomly selected from the current transaction accounts as a target account for fund processing, for example, an account a and an account B exist in the current transaction event, and the randomly selected account B is used as a target sub-account.
In this embodiment, according to the balance condition of the fund pool and according to different policies (balance first meets the policy, and random polling policy), the deduction sub-account is selected for deduction. If the single sub-account is not reduced enough, the amount of money of the multiple sub-accounts is deducted through transactions, and therefore the flexibility of the account use is improved.
In an embodiment, after the step S30, the method further includes:
generating transaction book information according to the transaction event; and storing the information of the transaction account book to a preset storage area.
In this embodiment, an account book system is further established, and through a complete account book system, it is ensured that the inflow and outflow of funds in a fund pool in a live broadcast platform have detailed tracking logs, and through the account book, detailed transaction account book information can be recorded, each transaction is identified, and the source and the purpose can be traced, so that the account can be effectively managed.
In addition, an embodiment of the present invention further provides a storage medium, where an account adjustment program based on a live broadcast platform is stored in the storage medium, and when being executed by a processor, the account adjustment program based on the live broadcast platform implements the steps of the terminal network access method described above.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
In addition, referring to fig. 8, an embodiment of the present invention further provides an account adjustment apparatus based on a live broadcast platform, where the account adjustment apparatus based on the live broadcast platform includes:
the determining module 10 is configured to, when a transaction event in a live broadcast platform is received, obtain a concurrency state of a transaction process in the live broadcast platform according to the transaction event.
In this embodiment, the transaction event may include a fund inflow and outflow event for a user to buy and sell a live broadcast commodity, may also include a fund outflow event for distribution of a red envelope, and may also include other forms of transaction events, which is not limited in this embodiment, and is described by taking an example of purchasing a commodity through a live broadcast platform.
In a specific implementation, the concurrent state of the transaction process in the live broadcast platform can be obtained by the user when the user purchases the commodity on the live broadcast platform, so that the amount of the fund account can meet the current purchase demand according to the concurrent state, where the concurrent state can be concurrent of the amount of the process, and can also be concurrent of total outflow of the fund and concurrent inflow of the fund in the transaction event, which is not limited in this embodiment. In order to control the platform cash flow with finer granularity, avoid the fund loss caused under abnormal conditions and enable the project related to the platform cash flow to use the platform funds efficiently and safely, a set of high-efficiency platform funds use, accurate fund budget control and high-wind control capacity fund pool management and control system is established through deep analysis and research on the platform related to financial related projects for many years, as shown in a system block diagram of fig. 3, the system block diagram comprises a business system, a system fund pool, a basic fund pool account, a fund account book, a fund pool operation log, a storage system and the like, wherein the business system comprises an active system, a background system and a user system, the system fund pool comprises budgeting, using, flow control, dynamic planning and the like, and the system analyzes a set of perfect control strategy according to the inflow, outflow and use scenes of the cash flow, the method comprises the following main subsystems of capital pool creation and management, dynamic planning of capital pool size, capital pool budget, capital pool flow control strategy, capital pool account book and the like, wherein the capital pool management comprises the following steps: initializing a capital pool according to the purpose of an operation project, configuring initial budget and the like, wherein the dynamic planning of the size of the capital pool comprises the steps of according to the oriented crowd of the project, using scenes, the size of the initial capital pool, setting an adjustment threshold value, expanding the capacity of the capital pool when the requested amount is increased, reducing the capacity of the capital pool when the requested amount is increased, and configuring basic guaranteed budget and a flow control strategy according to the basic situation of the operation project. The fund pool account book records inflow and outflow of each fund through detailed fund pool operation behaviors, has comprehensiveness, continuity and non-repudiation, reflects the circulation condition of the fund pool by the system, and provides necessary basis for accounting of financial staff.
In order to realize effective management of the capital pool data, data management is carried out through a database in a form of a table structure, specific table functions and main field functions are described as the table structure and divided into a plurality of management groups, wherein the management groups comprise pool groups, the pool represents a capital pool, the pool _ ID represents a capital pool ID, the show _ count represents the quantity of capital pool sub-accounts, the title represents a capital pool descriptive name, and the show _ selector _ request represents a capital pool sub-account selection strategy. The method comprises a pool _ show _ ve0-n group, wherein the pool _ show _ ve0-n is represented as a storage sub-account for hash remainder according to a fund pool _ ID, the pool _ ID represents a fund pool ID, the show _ ID represents a sub-account ID, b _ outer represents a recharge fund, and b _ inner represents an operation fund. The method comprises the steps of including a pool _ month _ view group, wherein the pool _ month _ view represents an account book recorded by months, storing detailed fund inflow and outflow records, and comprises the steps of indicating a fund pool ID by a pool _ ID, indicating a sub-account ID by a shadow _ ID, indicating inflow and outflow recharging type funds by a b _ outer, indicating inflow and outflow operation type funds by a b _ inner, indicating a recharging type fund balance when an action occurs and indicating an operation type fund balance when the action occurs by a pre _ inner.
And the adjusting module 20 is configured to dynamically adjust the amount of the fund account corresponding to the transaction event when the concurrency state of the transaction process exceeds a concurrency threshold, so as to obtain a target fund account.
It should be noted that, the concurrency state may be concurrency of the process quantity, and may also be concurrency of total outflow of funds and inflow of funds in the transaction event, when the process quantity is concurrent, the concurrency threshold is a concurrency quantity threshold, for example, 1 ten thousand process quantities, and may also be other threshold parameters, which is not limited in this embodiment, and in the concurrency of the total outflow of funds in the transaction event, the concurrency threshold is a concurrent amount threshold, for example, 1000 ten thousand, and may also be other threshold parameters, which is not limited in this embodiment, and is only described in this embodiment, where the dynamic adjustment includes increasing the fund account quantity, and may also decrease the fund account quantity, which is not limited in this embodiment, and when the current concurrency state is a quantity concurrency state, the fund account quantity is increased, thereby ensuring stable operation of the transaction event, and when the current concurrency state is a stable state, the number of the fund accounts is reduced, so that the spare fund accounts are provided for other transaction events to be used, and the flexibility of using the accounts in the fund pool is improved.
And the processing module 30 is used for carrying out fund processing on the transaction event according to the target fund account.
In this embodiment, the amount of the fund account corresponding to the transaction event is dynamically adjusted, so that the inflow and outflow of the account fund under the high concurrency condition can be handled, the amount of the account can be dynamically adjusted according to the use scenario, as shown in the overall flow diagram shown in fig. 4, the amount of the sub-accounts of the fund pool is adjusted through the adaptive adapter according to the real-time access amount of the service, and the concurrency capability of the fund pool is improved, where User represents a User, shadow represents an account, and a corresponding target account is selected by configuring the account selection engine to perform fund processing, so that the fund pool can be flexibly configured according to the User requirements.
According to the scheme, when a transaction event in a live broadcast platform is received, the concurrent state of a transaction process in the live broadcast platform is obtained according to the transaction event; when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the number of the fund accounts corresponding to the transaction event to obtain a target fund account; and carrying out fund processing on the transaction event according to the target fund account, so that the amount of the fund account can be adaptively and dynamically adjusted according to the current concurrency state, account requirements under different concurrency states are met, and the aim of improving the flexibility of account adjustment based on a live broadcast platform is fulfilled.
In one embodiment, the concurrency state comprises a user access number concurrency state;
the adjusting module 20 is further configured to count the transaction account number of the transaction event according to the user access number when the user access number concurrency state exceeds a concurrency threshold;
and dynamically adjusting the amount of the fund account corresponding to the transaction event according to the amount of the transaction account to obtain a target fund account.
In one embodiment, the concurrency state comprises a funds amount concurrency state;
the adjusting module 20 is further configured to count a fund expenditure amount of the transaction event according to the fund amount when the fund amount concurrency state exceeds a concurrency threshold;
judging whether the fund expenditure amount exceeds the fund account balance corresponding to the transaction event or not;
and when the fund expenditure amount exceeds the balance of the fund account corresponding to the transaction event, dynamically adjusting the fund account quantity corresponding to the transaction event according to the fund quantity to obtain a target fund account.
In an embodiment, the adjusting module 20 is further configured to obtain other fund account information in a preset fund pool when the concurrency state of the transaction process exceeds a concurrency threshold;
and expanding the amount of the fund account according to the other fund account information to obtain the target fund account.
In an embodiment, the adjusting module 20 is further configured to narrow the amount of the fund accounts in the target fund account to obtain an updated target fund account when the concurrency status of the transaction process is lower than a concurrency threshold.
In an embodiment, the account adjusting apparatus based on a live broadcast platform further includes: an update module;
the updating module is used for acquiring the state information of the transaction event;
and determining the account reserve amount according to the state information, and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
In one embodiment, the status information includes transaction time information;
the updating module is also used for acquiring the transaction time information in the state information;
judging whether the transaction time information reaches preset time information or not;
when the transaction time information reaches preset time information, determining account reserve amount according to the transaction time information;
and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
In one embodiment, the status information includes transaction level information;
the updating module is also used for acquiring transaction grade information in the state information;
judging whether the transaction time information reaches preset grade information or not;
when the transaction time information reaches preset grade information, searching a fund amount corresponding to the preset grade information;
taking the fund amount corresponding to the preset grade information as the account reserve amount;
and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
In an embodiment, the processing module 30 is further configured to obtain a flow control policy corresponding to the target fund account;
and processing funds of the transaction event according to the flow control strategy.
In one embodiment, the flow control policy comprises a balance priority fulfillment policy;
the processing module 30 is further configured to, when the flow control policy is a policy that a balance preferentially meets, acquire balance information of each sub-account in the target fund account;
taking the sub-account with balance information meeting preset conditions as a target sub-account;
and carrying out fund processing on the transaction event through the target sub-account.
In one embodiment, the flow control policy comprises a random round robin policy;
the processing module 30 is further configured to, when the flow control policy is a random round robin policy, randomly select a sub-account from the target fund account as a target sub-account;
and carrying out fund processing on the transaction event through the target sub-account.
In an embodiment, the account adjusting apparatus based on a live broadcast platform further includes: an account book module;
the account book module is used for generating transaction account book information according to the transaction event;
and storing the information of the transaction account book to a preset storage area.
The account adjusting device based on the live broadcast platform adopts all technical solutions of all the embodiments, so that the account adjusting device at least has all the beneficial effects brought by the technical solutions of the embodiments, and is not repeated herein.
The invention discloses A1 and an account adjusting method based on a live broadcast platform, wherein the account adjusting method based on the live broadcast platform comprises the following steps:
when a transaction event in a live broadcast platform is received, obtaining a concurrency state of a transaction process in the live broadcast platform according to the transaction event;
when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the number of the fund accounts corresponding to the transaction event to obtain a target fund account;
and carrying out fund processing on the transaction event according to the target fund account.
A2, the live platform-based account adjustment method of claim A1, the concurrency state including a user access number concurrency state;
when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the amount of the fund account corresponding to the transaction event to obtain a target fund account, wherein the method comprises the following steps:
when the concurrency state of the user access number exceeds a concurrency threshold value, counting the transaction account number of the transaction event according to the user access number;
and dynamically adjusting the amount of the fund account corresponding to the transaction event according to the amount of the transaction account to obtain a target fund account.
A3, the live platform based account adjustment method of claim A1, the concurrency state includes a fund amount concurrency state;
when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the amount of the fund account corresponding to the transaction event to obtain a target fund account, wherein the method comprises the following steps:
when the concurrency state of the fund quantity exceeds a concurrency threshold value, counting the fund expenditure amount of the transaction event according to the fund quantity;
judging whether the fund expenditure amount exceeds the fund account balance corresponding to the transaction event or not;
and when the fund expenditure amount exceeds the balance of the fund account corresponding to the transaction event, dynamically adjusting the fund account quantity corresponding to the transaction event according to the fund quantity to obtain a target fund account.
A4, the account adjustment method based on the live broadcast platform according to any one of claims A1 to A3, wherein when the concurrency state of the transaction progress exceeds a concurrency threshold, the dynamically adjusting the amount of the fund account corresponding to the transaction event to obtain the target fund account includes:
when the concurrency state of the transaction process exceeds a concurrency threshold value, acquiring other fund account information in a preset fund pool;
and expanding the amount of the fund account according to the other fund account information to obtain the target fund account.
A5, the account adjustment method based on live broadcast platform of claim a4, wherein after the expanding the amount of fund accounts according to the other fund account information and obtaining the target fund account, the method further comprises:
when the concurrency state of the transaction process is lower than a concurrency threshold value, reducing the number of the fund accounts in the target fund account to obtain an updated target fund account;
the fund processing of the transaction event according to the target fund account comprises:
and carrying out fund processing on the transaction event according to the updated target fund account.
A6, the live platform-based account adjustment method of any one of claims a 1-A3, before funding the transaction event according to the target funding account, the method further comprising:
acquiring state information of the transaction event;
determining the account reserve amount according to the state information, and carrying out fund deposit on the target fund account according to the account reserve amount to obtain an updated target fund account;
the fund processing of the transaction event according to the target fund account comprises:
and carrying out fund processing on the transaction event according to the updated target fund account.
A7, the live platform-based account adjustment method of claim A6, the status information including transaction time information;
the determining the account reserve amount according to the state information, and depositing funds into the target fund account according to the account reserve amount to obtain an updated target fund account includes:
acquiring transaction time information in the state information;
judging whether the transaction time information reaches preset time information or not;
when the transaction time information reaches preset time information, determining account reserve amount according to the transaction time information;
and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
A8, the live platform-based account adjustment method of claim A6, the status information including transaction rating information;
the determining the account reserve amount according to the state information, and depositing funds into the target fund account according to the account reserve amount to obtain an updated target fund account includes:
acquiring transaction grade information in the state information;
judging whether the transaction time information reaches preset grade information or not;
when the transaction time information reaches preset grade information, searching a fund amount corresponding to the preset grade information;
taking the fund amount corresponding to the preset grade information as the account reserve amount;
and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
A9, the live platform-based account adjustment method of any one of claims a 1-A3, the fund processing the transaction event according to the target fund account, comprising:
acquiring a flow control strategy corresponding to the target fund account;
and processing funds of the transaction event according to the flow control strategy.
A10, the account adjustment method based on the live broadcast platform of claim A9, wherein the flow control policy comprises a balance priority satisfaction policy;
the fund processing of the transaction event according to the flow control policy comprises:
when the flow control strategy is a strategy that the balance meets the requirement preferentially, balance information of each sub-account in the target fund account is acquired;
taking the sub-account with balance information meeting preset conditions as a target sub-account;
and carrying out fund processing on the transaction event through the target sub-account.
A11, the live platform-based account adjustment method of claim A9, the flow control policy comprising a random round robin policy;
the fund processing of the transaction event according to the flow control policy comprises:
when the flow control strategy is a random round robin strategy, a sub-account randomly selected from the target fund account is used as a target sub-account;
and carrying out fund processing on the transaction event through the target sub-account.
A12, the live platform-based account adjustment method of any one of claims a 1-A3, the method further comprising, after funding the transaction event according to the target funding account:
generating transaction book information according to the transaction event;
and storing the information of the transaction account book to a preset storage area.
The invention also discloses B13 and an account adjusting device based on the live broadcast platform, wherein the account adjusting device based on the live broadcast platform comprises:
the system comprises a determining module, a processing module and a processing module, wherein the determining module is used for obtaining the concurrent state of a transaction process in a live broadcast platform according to a transaction event when the transaction event in the live broadcast platform is received;
the adjusting module is used for dynamically adjusting the amount of the fund account corresponding to the transaction event when the concurrency state of the transaction process exceeds a concurrency threshold value to obtain a target fund account;
and the processing module is used for carrying out fund processing on the transaction event according to the target fund account.
B14, the live platform based account adjustment apparatus of claim B13, the concurrency status comprising a user access number concurrency status;
the adjusting module is further used for counting the transaction account number of the transaction event according to the user access number when the concurrency state of the user access number exceeds a concurrency threshold value;
and dynamically adjusting the amount of the fund account corresponding to the transaction event according to the amount of the transaction account to obtain a target fund account.
B15, the live platform based account adjustment apparatus of claim B13, the concurrency status comprising a fund amount concurrency status;
the adjusting module is further used for counting the fund expenditure amount of the transaction event according to the fund quantity when the fund quantity concurrency state exceeds a concurrency threshold;
judging whether the fund expenditure amount exceeds the fund account balance corresponding to the transaction event or not;
and when the fund expenditure amount exceeds the balance of the fund account corresponding to the transaction event, dynamically adjusting the fund account quantity corresponding to the transaction event according to the fund quantity to obtain a target fund account.
B16, the account adjusting device based on the live broadcast platform according to any one of claims B13 to B15, wherein the adjusting module is further configured to obtain other fund account information in a preset fund pool when the concurrency state of the transaction progress exceeds a concurrency threshold;
and expanding the amount of the fund account according to the other fund account information to obtain the target fund account.
B17, the account adjustment apparatus based on live broadcast platform of claim B16, wherein the adjustment module is further configured to narrow down the amount of the fund accounts in the target fund account to obtain the updated target fund account when the concurrency status of the transaction progress is lower than the concurrency threshold.
B18, the live platform based account adjustment apparatus of any one of claims B13-B15, further comprising: an update module;
the updating module is used for acquiring the state information of the transaction event;
and determining the account reserve amount according to the state information, and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (10)
1. An account adjusting method based on a live broadcast platform is characterized by comprising the following steps:
when a transaction event in a live broadcast platform is received, obtaining a concurrency state of a transaction process in the live broadcast platform according to the transaction event;
when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the number of the fund accounts corresponding to the transaction event to obtain a target fund account;
and carrying out fund processing on the transaction event according to the target fund account.
2. The live platform-based account adjustment method of claim 1, wherein the concurrency state comprises a user access number concurrency state;
when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the amount of the fund account corresponding to the transaction event to obtain a target fund account, wherein the method comprises the following steps:
when the concurrency state of the user access number exceeds a concurrency threshold value, counting the transaction account number of the transaction event according to the user access number;
and dynamically adjusting the amount of the fund account corresponding to the transaction event according to the amount of the transaction account to obtain a target fund account.
3. The live platform-based account adjustment method of claim 1, wherein the concurrency status comprises a fund amount concurrency status;
when the concurrency state of the transaction process exceeds a concurrency threshold value, dynamically adjusting the amount of the fund account corresponding to the transaction event to obtain a target fund account, wherein the method comprises the following steps:
when the concurrency state of the fund quantity exceeds a concurrency threshold value, counting the fund expenditure amount of the transaction event according to the fund quantity;
judging whether the fund expenditure amount exceeds the fund account balance corresponding to the transaction event or not;
and when the fund expenditure amount exceeds the balance of the fund account corresponding to the transaction event, dynamically adjusting the fund account quantity corresponding to the transaction event according to the fund quantity to obtain a target fund account.
4. The account adjustment method based on the live broadcast platform according to any one of claims 1 to 3, wherein the dynamically adjusting the amount of the fund account corresponding to the transaction event when the concurrency state of the transaction process exceeds a concurrency threshold value to obtain a target fund account includes:
when the concurrency state of the transaction process exceeds a concurrency threshold value, acquiring other fund account information in a preset fund pool;
and expanding the amount of the fund account according to the other fund account information to obtain the target fund account.
5. The account adjustment method based on the live broadcast platform according to claim 4, wherein after the expanding the amount of the fund account according to the other fund account information and obtaining the target fund account, the method further comprises:
when the concurrency state of the transaction process is lower than a concurrency threshold value, reducing the number of the fund accounts in the target fund account to obtain an updated target fund account;
the fund processing of the transaction event according to the target fund account comprises:
and carrying out fund processing on the transaction event according to the updated target fund account.
6. The live platform-based account adjustment method according to any one of claims 1 to 3, wherein before the funding the transaction event according to the target funding account, the method further comprises:
acquiring state information of the transaction event;
determining the account reserve amount according to the state information, and carrying out fund deposit on the target fund account according to the account reserve amount to obtain an updated target fund account;
the fund processing of the transaction event according to the target fund account comprises:
and carrying out fund processing on the transaction event according to the updated target fund account.
7. The live platform-based account adjustment method of claim 6, wherein the status information comprises transaction time information;
the determining the account reserve amount according to the state information, and depositing funds into the target fund account according to the account reserve amount to obtain an updated target fund account includes:
acquiring transaction time information in the state information;
judging whether the transaction time information reaches preset time information or not;
when the transaction time information reaches preset time information, determining account reserve amount according to the transaction time information;
and carrying out fund deposit on the target fund account according to the account reserve amount to obtain the updated target fund account.
8. An account adjusting device based on a live broadcast platform is characterized in that the account adjusting device based on the live broadcast platform comprises:
the system comprises a determining module, a processing module and a processing module, wherein the determining module is used for obtaining the concurrent state of a transaction process in a live broadcast platform according to a transaction event when the transaction event in the live broadcast platform is received;
the adjusting module is used for dynamically adjusting the amount of the fund account corresponding to the transaction event when the concurrency state of the transaction process exceeds a concurrency threshold value to obtain a target fund account;
and the processing module is used for carrying out fund processing on the transaction event according to the target fund account.
9. An account adjustment device based on a live platform, the account adjustment device based on the live platform comprising: a memory, a processor and an account adjustment program stored on the memory and running on the processor based on a live broadcast platform, the account adjustment program based on a live broadcast platform realizing the steps of the account adjustment method based on a live broadcast platform according to any one of claims 1 to 7 when executed by the processor.
10. A storage medium, wherein the storage medium stores thereon a live platform-based account adjustment program, and the live platform-based account adjustment program, when executed by a processor, implements the steps of the live platform-based account adjustment method according to any one of claims 1 to 7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010809566.4A CN114078002A (en) | 2020-08-12 | 2020-08-12 | Account adjusting method, account adjusting equipment, account adjusting storage medium and account adjusting device based on live broadcast platform |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010809566.4A CN114078002A (en) | 2020-08-12 | 2020-08-12 | Account adjusting method, account adjusting equipment, account adjusting storage medium and account adjusting device based on live broadcast platform |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114078002A true CN114078002A (en) | 2022-02-22 |
Family
ID=80280317
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010809566.4A Pending CN114078002A (en) | 2020-08-12 | 2020-08-12 | Account adjusting method, account adjusting equipment, account adjusting storage medium and account adjusting device based on live broadcast platform |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114078002A (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0962624A (en) * | 1995-08-28 | 1997-03-07 | Hitachi Ltd | Online transaction processing method and processing system |
| TW201030658A (en) * | 2009-02-10 | 2010-08-16 | Alibaba Group Holding Ltd | Buffered bookkeeping method and device |
| CN101894348A (en) * | 2010-07-20 | 2010-11-24 | 中兴通讯股份有限公司 | A self-expanding online transaction system and its realization method |
| CN101989213A (en) * | 2009-08-07 | 2011-03-23 | 阿里巴巴集团控股有限公司 | Account concurrent processing method and account concurrent processing system |
| CN107977837A (en) * | 2017-11-10 | 2018-05-01 | 中国银行股份有限公司 | The remaining sum control method and device of hot spot account |
| CN109087086A (en) * | 2018-08-01 | 2018-12-25 | 中信百信银行股份有限公司 | The method for controlling hot spot account trading |
| CN110298746A (en) * | 2019-07-04 | 2019-10-01 | 中国工商银行股份有限公司 | Hot spot account concurrent data processing system and method |
-
2020
- 2020-08-12 CN CN202010809566.4A patent/CN114078002A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0962624A (en) * | 1995-08-28 | 1997-03-07 | Hitachi Ltd | Online transaction processing method and processing system |
| TW201030658A (en) * | 2009-02-10 | 2010-08-16 | Alibaba Group Holding Ltd | Buffered bookkeeping method and device |
| CN101989213A (en) * | 2009-08-07 | 2011-03-23 | 阿里巴巴集团控股有限公司 | Account concurrent processing method and account concurrent processing system |
| CN101894348A (en) * | 2010-07-20 | 2010-11-24 | 中兴通讯股份有限公司 | A self-expanding online transaction system and its realization method |
| CN107977837A (en) * | 2017-11-10 | 2018-05-01 | 中国银行股份有限公司 | The remaining sum control method and device of hot spot account |
| CN109087086A (en) * | 2018-08-01 | 2018-12-25 | 中信百信银行股份有限公司 | The method for controlling hot spot account trading |
| CN110298746A (en) * | 2019-07-04 | 2019-10-01 | 中国工商银行股份有限公司 | Hot spot account concurrent data processing system and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110134516B (en) | Financial data processing method, apparatus, device and computer readable storage medium | |
| US6337901B1 (en) | Customer billing relationships software | |
| CN102348185B (en) | Computer-implemented method, system, and computer program product for telecommunication rating | |
| CN112016914B (en) | Resource control and fund control method, device and equipment | |
| WO2021120792A1 (en) | Video playback method and apparatus, electronic device, and storage medium | |
| US8064579B2 (en) | Prepaid services accounts with multi-user customers and individualized quotas | |
| CN111080354A (en) | Intelligent mobile advertisement system for dynamically selecting advertisers | |
| CN108647955A (en) | Charging method, system and computer readable storage medium | |
| WO2019024475A1 (en) | Breakpoint list distribution method and apparatus, and server and medium | |
| CN112288565A (en) | System, method and device for executing service | |
| US20240202821A1 (en) | Method of allowing selectable currency within an account | |
| CN114078002A (en) | Account adjusting method, account adjusting equipment, account adjusting storage medium and account adjusting device based on live broadcast platform | |
| CN111429125B (en) | Account management method and device, storage medium and electronic equipment | |
| JP2013206401A (en) | Information processor, degeneration method and program | |
| CN118394508A (en) | Data resource allocation method, device, equipment, medium and program product | |
| CN117911143A (en) | Business processing method, device, computer storage medium and electronic device | |
| US10778849B2 (en) | Customized service plan generation | |
| JP2007094998A (en) | Telephone business distribution system and program | |
| CN115239496A (en) | Internal trading method and device for carbon emission quota, storage medium and trading server | |
| CN116132205A (en) | Billing method, device, electronic terminal and storage medium | |
| CN113849557A (en) | Trusted deposit certificate based data borrowing uplink method and device | |
| KR20220018376A (en) | Method and system for managing expert matching platform | |
| JP6128202B2 (en) | Control program, control device, and control method | |
| CN114186267A (en) | A virtual asset data processing method, device and computer-readable storage medium | |
| Sogunro et al. | Trend and pattern of advanced airtime/data lending and its probability distribution on Nigerian telecommunication network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |