CN116755869B - Financial business part processing method, system and medium - Google Patents
Financial business part processing method, system and medium Download PDFInfo
- Publication number
- CN116755869B CN116755869B CN202311063460.4A CN202311063460A CN116755869B CN 116755869 B CN116755869 B CN 116755869B CN 202311063460 A CN202311063460 A CN 202311063460A CN 116755869 B CN116755869 B CN 116755869B
- Authority
- CN
- China
- Prior art keywords
- thread
- client terminal
- threads
- derived
- exclusive processing
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 238000012545 processing Methods 0.000 claims abstract description 153
- 238000012544 monitoring process Methods 0.000 claims abstract description 19
- 238000000034 method Methods 0.000 claims abstract description 18
- 230000010076 replication Effects 0.000 claims description 16
- 238000001212 derivatisation Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 4
- 238000009795 derivation Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 description 3
- 230000010365 information processing Effects 0.000 description 3
- 238000005265 energy consumption Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000012550 audit Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/03—Credit; Loans; Processing thereof
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention provides a financial business part processing method, a financial business part processing system and a financial business part processing medium. The financial business part processing method comprises the following steps: the financial institution terminal monitors whether a newly added client terminal exists in real time, and establishes a special processing thread for the newly added client terminal; determining the number of derived threads according to the client terminal feeding request from the monitoring client terminal; and judging whether the creation and application of the derivative thread are carried out through the exclusive processing thread according to the demand condition of the derivative thread. The system comprises modules corresponding to the method steps.
Description
Technical Field
The invention provides a financial business part-in processing method, a system and a medium, belonging to the technical field of data processing in the financial industry.
Background
The feeding of financial business refers to the process of clients or enterprises submitting applications to financial institutions to obtain financial products or services. It is the starting point for the financial institution to begin processing customer requests and making evaluations. The feed process typically involves the customer providing the necessary information and documentation for the financial institution to make the necessary audits and decisions. Such information may include personal or business identification, financial statements, asset certificates, credit records, application forms, and the like. After receiving the feed, the financial institution reviews, risk evaluates, and credit scores the customer's application. Based on these evaluation results, the financial institution will decide whether to approve the application and determine the appropriate financial products, interest rates, amounts and conditions. There is a large amount of data that needs to be processed and analyzed during the feed process and the feed process, thus resulting in a large thread capacity for the feed and its processing. In the prior art, when the number of service products simultaneously proposed by clients is too large, the thread processing capacity is reduced, and the data processing efficiency of incoming data is reduced.
Disclosure of Invention
The invention provides a financial business piece feeding processing method and a financial business piece feeding processing system based on a supply chain, which are used for solving the problem that in the prior art, when service products simultaneously proposed by customers are too many, the processing capacity of threads is reduced, and further the processing efficiency of piece feeding data is reduced, and the adopted technical scheme is as follows:
a financial transaction part processing method, the financial transaction part processing method comprising:
the financial institution terminal monitors whether a newly added client terminal exists in real time, and establishes a special processing thread for the newly added client terminal;
determining the number of derived threads according to the client terminal feeding request from the monitoring client terminal;
and judging whether the creation and application of the derivative thread are carried out through the exclusive processing thread according to the demand condition of the derivative thread.
Further, the financial institution terminal monitors whether a newly added client terminal exists in real time, establishes a dedicated processing thread for the newly added client terminal, and includes:
the financial institution terminal monitors whether a newly added client terminal exists in real time; when a newly added client terminal appears, taking the newly added client terminal as a target client terminal;
extracting the derived thread rate of the current existing client terminal and the thread safety coefficient corresponding to the existing client terminal, and determining the thread safety coefficient of the target client terminal by utilizing the derived thread rate and the thread safety coefficient;
and setting an operation capacity upper limit value of an exclusive processing thread corresponding to the current target client terminal by utilizing the thread safety coefficient, and creating the exclusive processing thread between the target client terminal and the financial institution terminal according to the operation capacity upper limit value.
Further, determining the number of derived threads according to the incoming request of the client terminal from the monitoring client terminal includes:
the exclusive processing thread monitors whether the client terminal sends a part feeding request or not in real time;
when the exclusive processing thread detects that the client terminal sends a delivery request, judging whether derivative threads are needed according to the number of service product items contained in the delivery request, and determining the number of the derivative threads.
Further, when the dedicated processing thread detects that the client terminal sends a delivery request, judging whether a derived thread is needed according to the number of service product items contained in the delivery request, and determining the number of the derived threads, including:
when the exclusive processing thread detects that the client terminal sends a package request, extracting the number of service product items contained in the package request and the data quantity corresponding to all files corresponding to each service product item number;
acquiring the total data quantity to be processed corresponding to the current advance request by using the service product item number and the data quantity corresponding to all files corresponding to each service product item number;
comparing the total data volume to be processed with the capacity upper limit value of the exclusive processing thread, and when the total data volume to be processed does not exceed the capacity upper limit value, thread derivation is not needed; when the total data volume to be processed exceeds the capacity upper limit value, thread derivatization is needed;
when the thread derivatization is determined to be needed, determining the number of the derivatized threads and the thread safety coefficient corresponding to each derivatized thread by using a thread number determination model.
Further, according to the demand condition of the derived thread, judging whether to create and apply the derived thread through the exclusive processing thread, including:
when the derivative thread is not needed, the data information of the incoming data sent by the client terminal is processed through the exclusive processing thread;
when the derivative threads are needed, the exclusive processing threads are controlled to create replication threads with the same number as the derivative threads according to the number of the derivative threads, and service product information in the incoming part is processed through the replication threads.
Further, when the derived threads are needed, controlling the dedicated processing threads to create duplicate threads with the same number as the derived threads according to the number of the derived threads, and performing information processing on service product information in a feed through the duplicate threads, wherein the method comprises the following steps:
when the derived threads are needed, controlling the exclusive processing threads to create duplicate threads with the same number as the derived threads according to the number of the derived threads and the thread safety coefficient corresponding to each derived thread;
the exclusive processing thread and the copying thread process the corresponding service product information in the feed request sent by the client terminal at the same time;
and deleting the copying thread after the completion of the piece-in processing of all the service product information sent by the client terminal.
Further, the financial business package processing method further comprises the following steps:
and monitoring the derived thread rate of each client terminal in real time, and when the derived thread rate exceeds a preset derived thread rate threshold, adjusting the thread safety coefficient of the exclusive processing thread of the client terminal by using a coefficient adjustment model.
A financial transaction part processing system, the financial transaction part processing system comprising:
the thread establishing module is used for monitoring whether a newly added client terminal exists or not in real time by the financial institution terminal, and establishing a special processing thread for the newly added client terminal;
the number determining module is used for determining the number of derived threads according to the client terminal feeding request from the monitoring client terminal;
and the feed processing module is used for judging whether the derivative thread is created and applied through the exclusive processing thread according to the demand condition of the derivative thread.
Further, the financial business feed processing system further comprises:
and the coefficient adjustment module is used for monitoring the derived thread rate of each client terminal in real time, and adjusting the thread safety coefficient of the exclusive processing thread of the client terminal by utilizing the coefficient adjustment model when the derived thread rate exceeds a preset derived thread rate threshold.
A storage medium for financial transaction part processing, the storage medium comprising a computer program for execution by a processor of any one of the financial transaction part processing methods described above.
The invention has the beneficial effects that:
the invention provides a financial business part-feeding processing method and a financial business part-feeding processing system based on a supply chain, which can set thread safety coefficients by combining the actual thread running condition and the thread derivative condition of a client terminal, and can further improve all exclusive processing threads to ensure the capacity sufficiency to the maximum extent under the condition that the proportion of resources occupied by the threads is minimum, thereby reducing the occurrence rate of the derivative threads. Meanwhile, when the derived threads appear, the processing efficiency and the processing batch number of the complete feed processing can be further improved under the condition of reducing the resource occupancy rate to the maximum extent by determining the number of the derived threads and determining the thread safety coefficient of each derived thread.
Drawings
FIG. 1 is a flow chart of a financial business package processing method according to the present invention;
fig. 2 is a system block diagram of the financial business package system according to the present invention.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
The embodiment of the invention provides a financial business part processing method based on a supply chain, as shown in fig. 1, comprising the following steps:
s1, a financial institution terminal monitors whether a newly added client terminal exists in real time, and a special processing thread for a part is established aiming at the newly added client terminal;
s2, the financial institution terminal monitors whether a newly added client terminal exists in real time, and a special processing thread for the newly added client terminal is established;
and S3, judging whether the derivative thread is created and applied through the exclusive processing thread according to the demand condition of the derivative thread.
Meanwhile, the financial business part processing method further comprises the following steps:
monitoring the derived thread rate of each client terminal in real time, and when the derived thread rate exceeds a preset derived thread rate threshold value, adjusting the thread safety coefficient of the exclusive processing thread of the client terminal by using a coefficient adjustment model; wherein the coefficient adjustment model is as follows:
wherein ,S t representing the thread safety coefficient after adjustment;mrepresenting the number of times of derived threads of the client terminal corresponding to the derived thread rate exceeding a preset derived thread rate threshold;C ri represent the firstiThe difference value of the data volume between the total data volume to be processed and the capacity upper limit value of the exclusive processing thread when the thread is derived for the second time;C m and representing the total data volume to be processed, which corresponds to the maximum value of the data volume difference between the data volume to be processed and the capacity upper limit value of the exclusive processing thread.
By the method, when the derived thread rate is monitored to exceed the preset derived thread rate threshold, measures can be taken to adjust the thread safety coefficient. Thread safety factor is a parameter used to balance and control the number of threads to ensure system stability and performance. By dynamically adjusting the thread security factor, the system can allocate more processing resources as the load increases to improve performance. Meanwhile, the thread safety coefficient can be adjusted according to the actual condition of the system by calculating the adjustment value of the thread safety coefficient. This dynamic adjustment enables the system to better adapt to different load conditions.
On the other hand, the adjusting accuracy of the thread safety coefficient can be effectively improved through the formula, and meanwhile, the matching property between the thread safety coefficient after adjustment and the actual data processing condition of the current exclusive thread is improved. After the thread safety coefficient of the exclusive processing thread is adjusted, the processing load of the current data amount can be met, the processing efficiency is improved, the derived thread rate is reduced, excessive calculation power distribution caused by inaccurate adjustment of the thread safety coefficient is prevented, and the available operation capacity is reduced.
In summary, the system may implement dynamic thread resource allocation according to the actual load situation and the data processing requirement by using the given element to calculate the adjusted thread security coefficient St, so as to optimize the performance, stability and resource utilization efficiency of the system.
According to the technical scheme, the dynamic thread safety coefficient adjustment mechanism based on the monitoring data is used for meeting the requirements of the client terminal under different load conditions. This helps to improve system performance, stability and resource utilization efficiency.
Specifically, the financial institution terminal monitors whether a newly added client terminal exists in real time, establishes a dedicated processing thread for a new added client terminal, and includes:
s101, a financial institution terminal monitors whether a newly added client terminal exists in real time; when a newly added client terminal appears, taking the newly added client terminal as a target client terminal;
s102, extracting the derived thread rate of the current existing client terminal and the thread safety coefficient corresponding to the existing client terminal, and determining the thread safety coefficient of the target client terminal by utilizing the derived thread rate and the thread safety coefficient; the thread safety coefficient is obtained through the following formula:
wherein ,Srepresenting thread safety coefficients;P 0 representing a preset derived thread rate threshold;nrepresenting the number of existing client terminals;P i represent the firstiDerived thread rate corresponding to each client terminal;P c representing the standard deviation mean of the derived thread rate of the current existing client terminal;S 0 indicating a preset thread safety factor reference value,S 0 the value range of (2) is 1.0-1.5;
the thread safety coefficient of the target client terminal obtained through the method can effectively improve the accuracy of setting the thread safety coefficient of the target client terminal, set the thread safety coefficient of the target client terminal according to the data such as the derived thread rate threshold value and the number of the existing client terminals, predict and set the thread safety coefficient of the target client terminal according to the current existing client data, furthest reduce the probability of the subsequent derived thread while guaranteeing to provide enough capacity for the exclusive processing thread of the target client terminal, and reduce the energy consumption of the system by reducing the probability of the derived thread.
S103, setting an operation capacity upper limit value of an exclusive processing thread corresponding to the target client terminal by utilizing the thread safety coefficient, and creating an exclusive processing thread between the target client terminal and the financial institution terminal according to the operation capacity upper limit value, wherein the operation capacity upper limit value of the exclusive processing thread is obtained through the following formula:
wherein ,Crepresenting an upper limit value of data throughput in unit time of the exclusive processing thread;C 0 representing preset reference unit time data throughput of each thread;C max representing the data throughput upper limit value in unit time of the exclusive processing thread corresponding to the exclusive processing thread of the client terminal corresponding to the maximum value of the derived thread rate in the existing client terminal;S i represent the firstiThread security coefficients of the individual client terminals;S/S 0 representing a difference ratio between the thread safety factor to be obtained and the thread safety factor reference value;
by combining thread safety coefficients in the mode, the setting accuracy of the capacity of the exclusive thread in unit time can be improved to the greatest extent, the probability of the subsequent occurrence of the derivative thread can be reduced to the greatest extent while the sufficient capacity is ensured to be provided for the exclusive processing thread of the target client terminal, and the energy consumption of the system is reduced by reducing the occurrence probability of the derivative thread. Meanwhile, the capacity occupancy rate of the target client terminal can be reduced to the maximum extent under the condition of improving the dedicated thread capacity of the target client terminal, and the available capacity allowance of the system is improved.
Specifically, the financial institution terminal monitors whether a newly added client terminal exists in real time, establishes a dedicated processing thread for a new added client terminal, and includes:
s201, a dedicated processing thread monitors whether a client terminal sends a part feeding request in real time;
s202, when the exclusive processing thread detects that the client terminal sends a delivery request, judging whether derivative threads are needed according to the number of service product items contained in the delivery request, and determining the number of the derivative threads, wherein the method comprises the following steps:
specifically, when the dedicated processing thread detects that the client terminal sends a delivery request, judging whether a derived thread is needed according to the number of service product items contained in the delivery request, and determining the number of the derived threads, including:
s2021, when the exclusive processing thread detects that the client terminal sends a delivery request, extracting the number of service product items contained in the delivery request and the data quantity corresponding to all files corresponding to each service product item number;
s2022, acquiring the total data volume to be processed corresponding to the current advance request by using the service product item numbers and the data volume corresponding to all files corresponding to each service product item number;
s2023, comparing the total data volume to be processed with the capacity upper limit value of the exclusive processing thread, and when the total data volume to be processed does not exceed the capacity upper limit value, not needing thread derivation; when the total data volume to be processed exceeds the capacity upper limit value, thread derivatization is needed;
s2024, when determining that thread spawning is required, determining the number of spawned threads and thread safety coefficients corresponding to each spawned thread by using a thread number determination model, wherein the thread number determination model is as follows:
wherein ,Nrepresentation lineNumber of passes;C a representing the total data volume to be processed; int () represents rounding up;
specifically, according to the demand condition of the derived thread, judging whether the derived thread is created and applied through the exclusive processing thread comprises:
s301, when a derived thread is not needed, processing incoming data information sent by a client terminal through the exclusive processing thread;
s302, when the derived threads are needed, controlling the exclusive processing threads to create replication threads with the same number as the derived threads according to the derived threads, and performing information processing on service product information in a feed through the replication threads.
When the derivative threads are needed, the exclusive processing threads are controlled to create replication threads with the same number as the derivative threads according to the number of the derivative threads, and service product information in a feed is processed through the replication threads, and the method comprises the following steps:
s3021, when a derived thread is needed, controlling the exclusive processing thread to create duplicate threads with the same number as the derived threads according to the number of the derived threads and thread safety coefficients corresponding to each derived thread;
s3022, processing information on corresponding service product information in a feed request sent by the client terminal through the exclusive processing thread and the copying thread;
s3023, deleting the copying thread after the completion of the package processing of all the service product information sent by the client terminal.
The technical scheme has the effects that: the embodiment provides a financial business part-entering processing method based on a supply chain, which can set thread safety coefficients by combining the actual thread running condition and the thread derivative condition of a client terminal, and can further improve all exclusive processing threads to ensure the capacity sufficiency to the maximum extent under the condition that the proportion of resources occupied by the threads is minimum, thereby reducing the occurrence rate of the derivative threads. Meanwhile, when the derived threads appear, the processing efficiency and the processing batch number of the complete feed processing can be further improved under the condition of reducing the resource occupancy rate to the maximum extent by determining the number of the derived threads and determining the thread safety coefficient of each derived thread.
The embodiment of the invention provides a financial business part processing system, as shown in fig. 2, comprising:
the thread establishing module is used for monitoring whether a newly added client terminal exists or not in real time by the financial institution terminal, and establishing a special processing thread for the newly added client terminal;
the number determining module is used for determining the number of derived threads according to the client terminal feeding request from the monitoring client terminal;
and the feed processing module is used for judging whether the derivative thread is created and applied through the exclusive processing thread according to the demand condition of the derivative thread.
Wherein, the feed processing module includes:
the first feed processing module is used for processing feed data information sent by the client terminal through the exclusive processing thread when the derivative thread is not needed;
and the second feed processing module is used for controlling the exclusive processing thread to create replication threads with the same number as the derived threads according to the number of the derived threads when the derived threads are needed, and carrying out information processing on service product information in the feed through the replication threads.
Wherein, the financial business feed processing system further comprises:
and the coefficient adjustment module is used for monitoring the derived thread rate of each client terminal in real time, and adjusting the thread safety coefficient of the exclusive processing thread of the client terminal by utilizing the coefficient adjustment model when the derived thread rate exceeds a preset derived thread rate threshold.
The technical scheme has the effects that: the embodiment provides a financial business component feeding system based on a supply chain, which can set thread safety coefficients by combining the actual thread running condition and the thread derivative condition of a client terminal, and can further improve all exclusive processing threads to ensure the capacity sufficiency to the maximum extent under the condition that the proportion of resources occupied by the threads is minimum, thereby reducing the occurrence rate of the derivative threads. Meanwhile, when the derived threads appear, the processing efficiency and the processing batch number of the complete feed processing can be further improved under the condition of reducing the resource occupancy rate to the maximum extent by determining the number of the derived threads and determining the thread safety coefficient of each derived thread.
The embodiment of the invention provides a storage medium for financial business part processing, which comprises a computer program, wherein the computer program is used for executing the financial business part processing method of any one of the above steps by a processor.
The technical scheme has the effects that: the embodiment provides a financial business part-entering processing method based on a supply chain, which can set thread safety coefficients by combining the actual thread running condition and the thread derivative condition of a client terminal, and can further improve all exclusive processing threads to ensure the capacity sufficiency to the maximum extent under the condition that the proportion of resources occupied by the threads is minimum, thereby reducing the occurrence rate of the derivative threads. Meanwhile, when the derived threads appear, the processing efficiency and the processing batch number of the complete feed processing can be further improved under the condition of reducing the resource occupancy rate to the maximum extent by determining the number of the derived threads and determining the thread safety coefficient of each derived thread.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
Claims (5)
1. The financial business part processing method is characterized by comprising the following steps of:
the financial institution terminal monitors whether a newly added client terminal exists in real time, and establishes a special processing thread for the newly added client terminal;
determining the number of derived threads according to the client terminal feeding request from the monitoring client terminal;
judging whether the creation and application of the derivative thread are carried out through the exclusive processing thread according to the demand condition of the derivative thread;
the financial institution terminal monitors whether a newly added client terminal exists in real time, establishes a special processing thread for the newly added client terminal, and comprises the following steps:
the financial institution terminal monitors whether a newly added client terminal exists in real time; when a newly added client terminal appears, taking the newly added client terminal as a target client terminal;
extracting the derived thread rate of the current existing client terminal and the thread safety coefficient corresponding to the existing client terminal, and determining the thread safety coefficient of the target client terminal by utilizing the derived thread rate and the thread safety coefficient; the thread safety coefficient is obtained through the following formula:
wherein ,Srepresenting thread safety coefficients;P 0 representing a preset derived thread rate threshold;nrepresenting the number of existing client terminals;P i represent the firstiDerived thread rate corresponding to each client terminal;P c representing the standard deviation mean of the derived thread rate of the current existing client terminal;S 0 indicating a preset thread safety factor reference value,S 0 the value range of (2) is 1.0-1.5;
setting an operation capacity upper limit value of an exclusive processing thread corresponding to the current target client terminal by utilizing the thread safety coefficient, and creating the exclusive processing thread between the target client terminal and the financial institution terminal according to the operation capacity upper limit value;
the capacity upper limit value of the exclusive processing thread is obtained through the following formula:
wherein ,Crepresenting an upper limit value of data throughput in unit time of the exclusive processing thread;C 0 representing preset reference unit time data throughput of each thread;C max representing the data throughput upper limit value in unit time of the exclusive processing thread corresponding to the exclusive processing thread of the client terminal corresponding to the maximum value of the derived thread rate in the existing client terminal;S i represent the firstiThread security coefficients of the individual client terminals;S/S 0 representing a difference ratio between the thread safety factor to be obtained and the thread safety factor reference value;
wherein, according to the request of the client terminal to the monitoring client terminal, the number of the derived threads is determined, comprising:
the exclusive processing thread monitors whether the client terminal sends a part feeding request or not in real time;
when the exclusive processing thread detects that the client terminal sends a delivery request, judging whether a derived thread is needed according to the number of service product items contained in the delivery request, and determining the number of the derived threads;
when the exclusive processing thread detects that the client terminal sends a delivery request, judging whether a derived thread is needed according to the number of service product items contained in the delivery request, and determining the number of the derived threads, wherein the method comprises the following steps:
when the exclusive processing thread detects that the client terminal sends a package request, extracting the number of service product items contained in the package request and the data quantity corresponding to all files corresponding to each service product item number;
acquiring the total data quantity to be processed corresponding to the current advance request by using the service product item number and the data quantity corresponding to all files corresponding to each service product item number;
comparing the total data volume to be processed with the capacity upper limit value of the exclusive processing thread, and when the total data volume to be processed does not exceed the capacity upper limit value, thread derivation is not needed; when the total data volume to be processed exceeds the capacity upper limit value, thread derivatization is needed;
when the thread derivatization is determined to be needed, determining the number of the derivatized threads and the thread safety coefficient corresponding to each derivatized thread by using a thread number determination model; wherein, the thread number determination model is as follows:
wherein ,Nrepresenting the number of threads;C a representing the total data volume to be processed; int () represents rounding up;
judging whether the derivative thread is created and applied through the exclusive processing thread according to the demand condition of the derivative thread, wherein the method comprises the following steps:
when the derivative thread is not needed, the data information of the incoming data sent by the client terminal is processed through the exclusive processing thread;
when the derivative threads are needed, the exclusive processing threads are controlled to create replication threads with the same number as the derivative threads according to the number of the derivative threads, and service product information in a feed is processed through the replication threads;
when the derivative threads are needed, the exclusive processing threads are controlled to create replication threads with the same number as the derivative threads according to the number of the derivative threads, and service product information in a feed is processed through the replication threads, and the method comprises the following steps:
when the derived threads are needed, controlling the exclusive processing threads to create duplicate threads with the same number as the derived threads according to the number of the derived threads and the thread safety coefficient corresponding to each derived thread;
the exclusive processing thread and the copying thread process the corresponding service product information in the feed request sent by the client terminal at the same time;
and deleting the copying thread after the completion of the piece-in processing of all the service product information sent by the client terminal.
2. The financial transaction part processing method according to claim 1, further comprising:
and monitoring the derived thread rate of each client terminal in real time, and when the derived thread rate exceeds a preset derived thread rate threshold, adjusting the thread safety coefficient of the exclusive processing thread of the client terminal by using a coefficient adjustment model.
3. A financial transaction part processing system, the financial transaction part processing system comprising:
the thread establishing module is used for monitoring whether a newly added client terminal exists or not in real time by the financial institution terminal, and establishing a special processing thread for the newly added client terminal;
the number determining module is used for determining the number of derived threads according to the client terminal feeding request from the monitoring client terminal;
the part feeding processing module is used for judging whether the derivative thread is created and applied through the exclusive processing thread according to the demand condition of the derivative thread;
specifically, the financial institution terminal monitors whether a newly added client terminal exists in real time, establishes a dedicated processing thread for a new added client terminal, and includes:
the financial institution terminal monitors whether a newly added client terminal exists in real time; when a newly added client terminal appears, taking the newly added client terminal as a target client terminal;
extracting the derived thread rate of the current existing client terminal and the thread safety coefficient corresponding to the existing client terminal, and determining the thread safety coefficient of the target client terminal by utilizing the derived thread rate and the thread safety coefficient; the thread safety coefficient is obtained through the following formula:
wherein ,Srepresenting thread safety coefficients;P 0 representing a preset derived thread rate threshold;nrepresenting the number of existing client terminals;P i represent the firstiDerived thread rate corresponding to each client terminal;P c representing the standard deviation mean of the derived thread rate of the current existing client terminal;S 0 indicating a preset thread safety factor reference value,S 0 the value range of (2) is 1.0-1.5;
setting an operation capacity upper limit value of an exclusive processing thread corresponding to the current target client terminal by utilizing the thread safety coefficient, and creating the exclusive processing thread between the target client terminal and the financial institution terminal according to the operation capacity upper limit value, wherein the operation capacity upper limit value of the exclusive processing thread is obtained through the following formula:
wherein ,Crepresenting an upper limit value of data throughput in unit time of the exclusive processing thread;C 0 representing preset reference unit time data throughput of each thread;C max representing the data throughput upper limit value in unit time of the exclusive processing thread corresponding to the exclusive processing thread of the client terminal corresponding to the maximum value of the derived thread rate in the existing client terminal;S i represent the firstiThread security coefficients of the individual client terminals;S/S 0 representing a difference ratio between the thread safety factor to be obtained and the thread safety factor reference value;
specifically, according to the client terminal feeding request from the monitoring client terminal, determining the number of derived threads includes:
the exclusive processing thread monitors whether the client terminal sends a part feeding request or not in real time;
when the exclusive processing thread detects that the client terminal sends a delivery request, judging whether derivative threads are needed according to the number of service product items contained in the delivery request, and determining the number of the derivative threads, wherein the method comprises the following steps:
specifically, when the dedicated processing thread detects that the client terminal sends a delivery request, judging whether a derived thread is needed according to the number of service product items contained in the delivery request, and determining the number of the derived threads, including:
when the exclusive processing thread detects that the client terminal sends a package request, extracting the number of service product items contained in the package request and the data quantity corresponding to all files corresponding to each service product item number;
acquiring the total data quantity to be processed corresponding to the current advance request by using the service product item number and the data quantity corresponding to all files corresponding to each service product item number;
comparing the total data volume to be processed with the capacity upper limit value of the exclusive processing thread, and when the total data volume to be processed does not exceed the capacity upper limit value, thread derivation is not needed; when the total data volume to be processed exceeds the capacity upper limit value, thread derivatization is needed;
when the thread derivatization is determined to be needed, determining the number of the derivatized threads and thread safety coefficients corresponding to each derivatized thread by using a thread number determination model, wherein the thread number determination model is as follows:
wherein ,Nrepresenting the number of threads;C a representing the total data volume to be processed; int () represents rounding up;
specifically, according to the demand condition of the derived thread, judging whether the derived thread is created and applied through the exclusive processing thread comprises:
when the derivative thread is not needed, the data information of the incoming data sent by the client terminal is processed through the exclusive processing thread;
when the derivative threads are needed, the exclusive processing threads are controlled to create replication threads with the same number as the derivative threads according to the number of the derivative threads, and service product information in a feed is processed through the replication threads;
when the derivative threads are needed, the exclusive processing threads are controlled to create replication threads with the same number as the derivative threads according to the number of the derivative threads, and service product information in a feed is processed through the replication threads, and the method comprises the following steps:
when the derived threads are needed, controlling the exclusive processing threads to create duplicate threads with the same number as the derived threads according to the number of the derived threads and the thread safety coefficient corresponding to each derived thread;
the exclusive processing thread and the copying thread process the corresponding service product information in the feed request sent by the client terminal at the same time;
and deleting the copying thread after the completion of the piece-in processing of all the service product information sent by the client terminal.
4. The financial transaction feed processing system of claim 3, further comprising:
and the coefficient adjustment module is used for monitoring the derived thread rate of each client terminal in real time, and adjusting the thread safety coefficient of the exclusive processing thread of the client terminal by utilizing the coefficient adjustment model when the derived thread rate exceeds a preset derived thread rate threshold.
5. A storage medium for financial transaction part processing, characterized in that the storage medium comprises a computer program for executing the financial transaction part processing method of any one of claims 1 to 2 by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311063460.4A CN116755869B (en) | 2023-08-23 | 2023-08-23 | Financial business part processing method, system and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311063460.4A CN116755869B (en) | 2023-08-23 | 2023-08-23 | Financial business part processing method, system and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116755869A CN116755869A (en) | 2023-09-15 |
CN116755869B true CN116755869B (en) | 2023-10-27 |
Family
ID=87961388
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311063460.4A Active CN116755869B (en) | 2023-08-23 | 2023-08-23 | Financial business part processing method, system and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116755869B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106557369A (en) * | 2016-11-25 | 2017-04-05 | 武汉斗鱼网络科技有限公司 | A kind of management method and system of multithreading |
CN107832126A (en) * | 2017-10-20 | 2018-03-23 | 平安科技(深圳)有限公司 | The method of adjustment and its terminal of a kind of thread |
CN113467933A (en) * | 2021-06-15 | 2021-10-01 | 济南浪潮数据技术有限公司 | Thread pool optimization method, system, terminal and storage medium for distributed file system |
CN113608882A (en) * | 2021-10-11 | 2021-11-05 | 广州紫麦科技股份有限公司 | Information processing method and system based on artificial intelligence and big data and cloud platform |
CN115269196A (en) * | 2022-08-05 | 2022-11-01 | 中国平安财产保险股份有限公司 | Thread pool dynamic creation method, device, equipment and storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8966457B2 (en) * | 2011-11-15 | 2015-02-24 | Global Supercomputing Corporation | Method and system for converting a single-threaded software program into an application-specific supercomputer |
-
2023
- 2023-08-23 CN CN202311063460.4A patent/CN116755869B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106557369A (en) * | 2016-11-25 | 2017-04-05 | 武汉斗鱼网络科技有限公司 | A kind of management method and system of multithreading |
CN107832126A (en) * | 2017-10-20 | 2018-03-23 | 平安科技(深圳)有限公司 | The method of adjustment and its terminal of a kind of thread |
CN113467933A (en) * | 2021-06-15 | 2021-10-01 | 济南浪潮数据技术有限公司 | Thread pool optimization method, system, terminal and storage medium for distributed file system |
CN113608882A (en) * | 2021-10-11 | 2021-11-05 | 广州紫麦科技股份有限公司 | Information processing method and system based on artificial intelligence and big data and cloud platform |
CN115269196A (en) * | 2022-08-05 | 2022-11-01 | 中国平安财产保险股份有限公司 | Thread pool dynamic creation method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116755869A (en) | 2023-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110493190B (en) | Data information processing method and device, computer equipment and storage medium | |
US7340430B2 (en) | Real-time trading system | |
CA2999325A1 (en) | Systems and methods for monitoring and transferring financial capital | |
WO2019100612A1 (en) | Electronic insurance policy generation method and apparatus, computer device and storage medium | |
CN103123712A (en) | Method and system for monitoring network behavior data | |
US20140129509A1 (en) | Prediction Apparatus and Prediction Method | |
TWI605396B (en) | Return resource processing method and device | |
CA3143827A1 (en) | Fund data processing method, apparatus, computer device and storage medium | |
WO2023015615A1 (en) | Multi-channel fund transfer method and apparatus based on prediction model, and device and medium | |
CN116755869B (en) | Financial business part processing method, system and medium | |
CN117236941A (en) | Enterprise grading-based payment settlement method, device, equipment and medium | |
CN112651632A (en) | Information analysis processing method and device based on marketing data | |
CN117217743A (en) | Intelligent payment channel routing method, device, computer equipment and storage medium | |
CN115170256A (en) | Microgrid power transaction method, system, equipment and storage medium based on block chain and edge calculation | |
CN112363831B (en) | Wind control processing method and device, computer equipment and storage medium | |
AU2021327830A1 (en) | System and method for implementing payment service platform | |
CN114240599A (en) | Loan calculation method and device, computer equipment and storage medium | |
CN113469668A (en) | Block chain-based method and device for limiting public customer transaction | |
CN114048010A (en) | Method, device, equipment and storage medium for controlling service timeout time | |
CN112907362A (en) | Loan transaction processing method and device, electronic equipment and storage medium | |
Boute | Impact of replenishment rules with endogenous lead times on supply chain performance | |
CN111353714A (en) | Data monitoring method, server, client and system | |
CN114691230B (en) | Task unloading method and device, intelligent terminal and computer readable storage medium | |
CN116545941B (en) | Instruction sending method, system, intelligent terminal and storage medium | |
CN114666321B (en) | Supervision report data processing method, device, equipment, medium and product |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |