CN110210786A - Air control processing method and processing device in advance - Google Patents

Air control processing method and processing device in advance Download PDF

Info

Publication number
CN110210786A
CN110210786A CN201910516572.8A CN201910516572A CN110210786A CN 110210786 A CN110210786 A CN 110210786A CN 201910516572 A CN201910516572 A CN 201910516572A CN 110210786 A CN110210786 A CN 110210786A
Authority
CN
China
Prior art keywords
request
air control
request data
target
global
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.)
Granted
Application number
CN201910516572.8A
Other languages
Chinese (zh)
Other versions
CN110210786B (en
Inventor
饶建龙
王宵波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hundsun Technologies Inc
Original Assignee
Hundsun Technologies Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hundsun Technologies Inc filed Critical Hundsun Technologies Inc
Priority to CN201910516572.8A priority Critical patent/CN110210786B/en
Publication of CN110210786A publication Critical patent/CN110210786A/en
Application granted granted Critical
Publication of CN110210786B publication Critical patent/CN110210786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0635Risk analysis of enterprise or organisation activities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Human Resources & Organizations (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

This application provides a kind of air control processing method and processing devices in advance, which comprises receives the target transaction request that terminal is sent in the current concurrent period, distributes the target transaction and request into thread pool one thread, and the thread is referred to as subject thread;By the reception sequence of transaction request, request data for target transaction request assigns target global sequence number, and the request data and target global sequence number for storing the target transaction request are into global request data array, in constituent element corresponding with subject thread mark;By the request data before extracting the target global sequence number in the global request data array, request data set is formed, and obtain same day cumulative data;Air control factor set is calculated based on the same day cumulative data, the request data set and computation rule.The application liberally, accurately can carry out air control processing to transaction request.

Description

Air control processing method and processing device in advance
Technical field
This application involves fields of communication technology, more particularly to air control processing method and processing device in advance.
Background technique
Air control system is the air control platform between several terminals and transaction system in advance.
Several terminals can send transaction request to air control system in advance, and air control system is in the current concurrent period in advance In, using threads multiple in thread pool come the multiple transaction requests of concurrent processing.Due to thread pool multiple threads between each other not As it can be seen that so air control system can not learn the reception sequence of multiple transaction requests in the current concurrent period in advance.
Therefore in prior art, during air control system handles a transaction request in advance, do not consider that this is current concurrent The request data for having occurred and that transaction request in period before the transaction request, only considers same day history cumulative data, so as to according to The air control factor is calculated according to same day cumulative data and computation rule.
But the request data of transaction request is had occurred and that in the current concurrent period before the transaction request, also it will affect The air control factor.The case where having occurred and that the request data of transaction request before the transaction request in not considering the current concurrent period Under, the air control factor inaccuracy being calculated in the current concurrent period can be made.
In the current concurrent period, the case where different transaction requests carry out air control processing using the air control factor of inaccuracy Under, will lead to air control processing occur Shi Ertai it is tight, when and loose problem so that air control system can not liberally accurately in advance Realize air control processing.
Summary of the invention
In consideration of it, the application provides air control processing method device in advance, liberally, accurately transaction request can be carried out Air control processing.
To achieve the goals above, this application provides following technical characteristics:
A kind of air control processing method in advance, comprising:
The target transaction request that terminal is sent in the current concurrent period is received, the target transaction is distributed and requests to thread pool In a thread, and the thread is referred to as subject thread;
By the reception sequence of transaction request, the request data for target transaction request assigns target global sequence number, deposits Store up target transaction request request data and target global sequence number into global request data array, with the subject thread It identifies in corresponding constituent element;
By the request data before extracting the target global sequence number in the global request data array, composition request Data acquisition system, and obtain same day cumulative data;
Air control factor set is calculated based on the same day cumulative data, the request data set and computation rule.
Optionally, the global request data array includes and multiple correspondingly groups of threads multiple in the thread pool Member.
Optionally, further includes:
The subject thread handles the target transaction request;
After the subject thread handles target transaction request, on the basis of cumulative data on the day of described, The request data that the target transaction that adds up is requested;
It empties in the global request data array, the target transaction requests corresponding request data.
Optionally, the reception sequence by transaction request, the request data for target transaction request assign target Global sequence number, comprising:
By the reception sequence of transaction request, for target transaction request request data assign it is incremented by successively unique complete Office's serial number;
Using unique global sequence number as the target global sequence number.
Optionally, the number of request before extracting the target global sequence number in the global request data array According to, composition request data set, comprising:
From the global request data array, the request data and corresponding global sequence number of each constituent element of copy;
Sorting operation is executed by request data of the global sequence number to each constituent element;
The multiple request datas for being less than the target global sequence number are formed into the request data set.
Optionally, wind is calculated based on cumulative data, the request data set and computation rule on the day of described described It further include that air control operation is executed to the transaction request based on the air control factor set after controlling factor set;
It is described to include: to transaction request execution air control operation based on air control factor set
At least one air control factor meets threshold condition in the air control factor set, then to the target transaction Request carries out air control processing.
Optionally, described at least one air control factor is unsatisfactory for threshold condition in the air control factor set, then The target transaction is requested to carry out air control processing, comprising:
In the case that at least one air control factor is unsatisfactory for threshold condition in the air control factor set, the target is handed over Easily request carries out alarming processing, and updates the alarm number that the target transaction requests corresponding user;
After multiple concurrent periodic duties, if the alarm number of the user reaches preset times, the user is intercepted The transaction request of transmission.
A kind of air control processing unit in advance, comprising:
Receiving unit, the target transaction request sent for receiving terminal in the current concurrent period, distributes the target and hands over Easily request one thread into thread pool, and the thread is referred to as subject thread;
Serial number unit is assigned, for the reception sequence by transaction request, the request data for target transaction request is assigned Give target global sequence number;
Storage unit, the request data and target global sequence number for storing target transaction request are to global number of request According in array, in constituent element corresponding with subject thread mark;
Extraction unit, for by the request before extracting the target global sequence number in the global request data array Data form request data set, and obtain same day cumulative data;
Computing unit, for calculating wind based on the same day cumulative data, the request data set and computation rule Control factor set.
Optionally, the global request data array includes and multiple correspondingly groups of threads multiple in the thread pool Member.
Optionally, the subject thread handles the target transaction request;Described device further include:
Accumulated unit, for adding up after the subject thread handles target transaction request on the day of described On the basis of data, the request data of the target transaction of adding up request;
Unit is emptied, for emptying in the global request data array, the target transaction requests corresponding number of request According to.
Optionally, it assigns serial number unit to be specifically used for: by the reception sequence of transaction request, for target transaction request Request data assigns unique global sequence number incremented by successively;Using unique global sequence number as the target global sequence number.
Optionally, the extraction unit includes:
Copy cell, for from the global request data array, copying the request data of each constituent element and corresponding Global sequence number;
Sequencing unit, for executing sorting operation by request data of the global sequence number to each constituent element;
Component units, multiple request datas for that will be less than the target global sequence number form the requested data set It closes.
Optionally, described device further include:
Air control unit, for it is described based on cumulative data, the request data set and computation rule on the day of described come After calculating air control factor set, air control operation is executed to the transaction request based on the air control factor set;
In air control unit based on air control factor set to the transaction request execute air control operation specifically include: the air control because In the case of at least one air control factor meets threshold condition in subset, then the target transaction is requested to carry out air control processing.
Optionally, the air control unit includes:
Alarm Unit, for the case where at least one air control factor is unsatisfactory for threshold condition in the air control factor set Under, the target transaction is requested to carry out alarming processing, and update the alarm number that the target transaction requests corresponding user;
Interception unit is used for after multiple concurrent periodic duties, if the alarm number of the user reaches preset times, Then intercept the transaction request of user transmission.
A kind of electronic equipment, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute air control processing method in advance via the executable instruction is executed.
A kind of storage medium, for storing software program, which can be used for realizing wind in advance the storage medium Control processing method.
By the above technological means, may be implemented it is following the utility model has the advantages that
Multiple threads in order to solve the problems, such as thread pool are sightless between each other, and the application presets global number of request According to array, global request data array include with threads multiple in the thread pool multiple constituent elements correspondingly, for depositing Store up the request data of thread process transaction request.
Due to the accessible global request data array of the thread of thread pool, so by global request data array, Can realize realized mutually between the different threads of thread pool as it can be seen that allow in advance air control system from global request data The request data before the target global sequence number is extracted in array.
During calculating the air control factor, air control system can comprehensively consider same day cumulative data in advance and target transaction is asked Request data before asking, so that the air control factor being calculated is more accurate, so that air control system is more fair in advance Accurately realize that air control is handled in ground.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of air control processing system disclosed in the embodiment of the present application;
Fig. 2 is the flow chart of one kind air control processing method in advance disclosed in the embodiment of the present application;
Fig. 3 is the flow chart of one kind air control processing unit in advance disclosed in the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
The application provides a kind of air control processing system, referring to Fig. 1, comprising:
Multiple terminals 100, in advance air control system 200 and transaction system 300.
Air control system 200 connects multiple terminals 100 and transaction system 300 in advance.Several terminals 100 can send transaction Request is to air control system 300 in advance, and air control system 300 handles transaction request and obtains air control factor set in advance.In the air control factor In the case of collection meets threshold condition, showing transaction request, there are risks, carry out air control processing to the transaction request;Air control because In the case that subset is unsatisfactory for threshold condition, illustrating transaction request, there is no risks, send transaction request to transaction system.
Multiple threads in order to solve the problems, such as thread pool are sightless between each other, and the application presets global number of request According to array, global request data array include with threads multiple in the thread pool multiple constituent elements correspondingly, for depositing Store up the request data of thread process transaction request.
Optionally, the constituent element quantity of global request data array is consistent with number of threads in thread pool.For example, thread pool has There is 5 threads (not representing real scene, only schematic example), then global request data array has 5 constituent elements, a line Journey corresponds to a constituent element.
It is in the case of thread pool has 5 threads referring to table 1, the signal of global request data array is illustrated.
Table 1
Thread identification Thread 1 Thread 2 Thread 3 Thread 4 Thread 5
Constituent element mark 1st constituent element 2nd constituent element 3rd constituent element 4th constituent element 5th constituent element
Data content It is empty It is empty It is empty It is empty It is empty
Under initial situation, the data content in each constituent element is sky.Air control system stores global request data array in advance, And the corresponding relationship in global request data array between constituent element and thread is stored, so as in the embodiment depicted in figure 2 using complete Office's request data array.
The application provides a kind of air control processing method in advance, applied to the air control in advance in air control processing system shown in Fig. 1 System.
Since air control system can handle the transaction request that several terminals are sent in advance, for the processing of each transaction request Process is consistent, so the present embodiment is described in detail so that target transaction is requested as an example.
Referring to fig. 2, air control processing method includes: in advance
Step S201: terminal 100 sends target transaction and requests to air control system 200 in advance.
Step S202: air control system 200 receives the target transaction request that terminal is sent in the current concurrent period in advance.
Air control system usually presses several transaction requests of concurrent period treatment in advance, and the current ongoing concurrent period is referred to as The current concurrent period.It is understood that also having the concurrent period before the current concurrent period, it is known as upper one for the ease of address The concurrent period.
Step S203: air control system 200 distributes the target transaction and requests into thread pool one thread in advance, and claims the line Journey is subject thread.
Air control system 200 utilizes the multiple transaction requests of thread pool concurrent processing in advance, after receiving target transaction request, Target transaction can be distributed using load balancing requests into thread pool one thread.For the ease of address by thread pool, The thread of processing target transaction request is known as subject thread.
Step S204: reception sequence of the air control system 200 by transaction request in advance, the request requested for the target transaction Data grant target global sequence number.
It is understood that the received several transaction requests of air control system 200 have sequencing, in advance air control system in advance System 200 will record the sequencing for receiving transaction request.For example, recording received transaction request in a manner of being incremented by serial number Sequencing.
Air control system 200, can be suitable according to the reception of recorded transaction request after receiving target transaction request in advance Sequence requests to assign target global sequence number for target transaction.For example, air control system 200 presses the reception sequence of transaction request in advance, Request data for target transaction request assigns unique global sequence number incremented by successively, and using unique global sequence number as The target global sequence number.
For example, it is 9 that air control system 200, which has recorded the global sequence number of transaction request, in advance, then can be requested for target transaction Unique global sequence number 10 is assigned, and is used as target global sequence number for 10.
In the case where air control processing system is financial transaction scene, global sequence number is set as unit of day.I.e. within the time, For receiving transaction request, global sequence number incremented by successively is set.Global sequence number can be reset after first day, so as to Global sequence number is reset in two day time.
Step S205: air control system 200 stores the request data and target global sequence number of the target transaction request in advance Into global request data array, in constituent element corresponding with subject thread mark.
For the ease of between thread pool threads between each other as it can be seen that the present embodiment request data that target transaction request with Target global sequence number is stored into global request data array, in constituent element corresponding with subject thread mark.
Continue the example above, global request data array has 5 constituent elements, it is assumed that subject thread is thread 1, then score 1st constituent element in the corresponding global request data array of journey.Target transaction request request data and target global sequence number 10 store to In 1st constituent element.
It is understood that can also execute the operation of step S201~S205, equally for other transaction requests so as to line Cheng Chizhong different threads by the request data for handling transaction request and global sequence number, store to global request data array In.
Referring to table 2, after the request data and target global sequence number 10 that store target transaction request, global request data array Signal citing.
Table 2
Thread identification Thread 1 Thread 2 Thread 3 Thread 4 Thread 5
Constituent element mark 1st constituent element 2nd constituent element 3rd constituent element 4th constituent element 5th constituent element
Data content Request data 10 Request data 11 Request data 8 Request data 2 Request data 5
It is understood that thread process difference transaction request may have difference during thread process transaction request Handling duration, some transaction requests are relatively simple so short processing time, some transaction request more complicated processing time are long.
For example, its processing time of transaction request handled by thread 4 is just longer, still locating in current concurrent period thread 4 Manage transaction request;For example, request data 1 (being removed in global request data array), due to thread process transaction request 1 Time it is short, so after thread process just in global request data array remove request data 1.
In the current concurrent period, the request data stored in global request data array, the as current concurrent period Multiple concurrent requests.For example, by taking table 2 as an example, in the current concurrent period, transaction request 2, transaction request 5, transaction request 8, Transaction request 10 and transaction request 11 are concurrent transaction request.
It is understood that due to the accessible global request data array of the thread of thread pool, so passing through the overall situation Request data array can realize that realization is mutually visible between the different threads of thread pool.
Step S206: air control system 200 will extract the target overall situation sequence from the global request data array in advance Request data before number forms request data set, and obtains same day cumulative data.
In advance air control system 200 from same day cumulative data in memory space namely in the same day before the current concurrent period The data summation that the concurrent period through occurring is accumulated.
It is learnt by background technique, the present embodiment is calculating air control because of the period of the day from 11 p.m. to 1 a.m, not only needs to consider same day cumulative data, also Need to obtain the request data for having occurred and that transaction request in the current concurrent period before target transaction request.
Since the sequencing of transaction request in air control system in advance incrementally arranges, so target transaction requests it Before have occurred and that the request data of transaction request can be obtained using which: extracted from the global request data array Request data, composition request data set before the target global sequence number.
A kind of specific implementation of step S206 is described below:
S1: from the global request data array, the request data and corresponding global sequence number of each constituent element of copy.
From the global request data array, the request data and corresponding global sequence number of each constituent element of copy, to keep away Exempt from global request data array to change, also facilitates the sorting operation for executing step SS.
S2: sorting operation is executed by request data of the global sequence number to each constituent element;
According to the size order of global sequence number, sorting operation is executed to the request data of each constituent element, to filter out mesh Mark the request data before global sequence number.
S3: the multiple request datas for being less than the target global sequence number are formed into the request data set.
Since global sequence number is arranged according to incremental manner, so the request of the transaction request before target transaction request Book is necessarily less than the request data of target global sequence number, so the multiple request datas that will be less than the target global sequence number Form the request data set.
Continue the example above, in the case where target global sequence number is 10, transaction request 2, transaction request 5 need to be obtained and handed over Easily request 8, to form request data set.
Step S207: calculated based on the same day cumulative data, the request data set and computation rule air control because Subset.
Request data set is added on the basis of cumulative data on the day of, same day cumulative data after being updated, and more After new on the basis of same day cumulative data, air control factor set is calculated in conjunction with default computation rule.
It has been mature technology about the computation rule and calculation of air control factor set, and, under different application scene, The computation rule of the air control factor is different, so details are not described herein.
Step S208: air control system 200 is based on the air control factor set and executes air control operation to the transaction request in advance.
It is understood that each air control factor all has an air control threshold value in air control factor set, if the air control factor is super Cross corresponding air control threshold value namely meet air control condition, then it represents that target transaction request in the air control factor have risk, if The air control factor is no more than corresponding air control threshold value namely is unsatisfactory for air control condition, then it represents that target transaction is requested in the air control factor It is upper not have risk.
Air control system is in judging air control factor set after the relationship of each air control factor and air control threshold value in advance, if determining wind At least one air control factor meets threshold condition in control factor set, then requests the target transaction to carry out air control processing;If wind All air control factors are unsatisfactory for threshold condition in control factor set, then send transaction request to transaction system.
By above-mentioned technical characteristic it is found that the application has the following beneficial effects:
Multiple threads in order to solve the problems, such as thread pool are sightless between each other, and the application presets global number of request According to array, global request data array include with threads multiple in the thread pool multiple constituent elements correspondingly, for depositing Store up the request data of thread process transaction request.
Due to the accessible global request data array of the thread of thread pool, so by global request data array, Can realize realized mutually between the different threads of thread pool as it can be seen that allow in advance air control system from global request data The request data before the target global sequence number is extracted in array.
During calculating the air control factor, air control system can comprehensively consider same day cumulative data in advance and target transaction is asked Request data before asking, so that the air control factor being calculated is more accurate, so that air control system is more fair in advance Accurately realize that air control is handled in ground.
Referring to Fig. 3, present invention also provides a kind of air control processing units in advance, comprising:
Receiving unit 31, the target transaction request sent for receiving terminal in the current concurrent period, distributes the target Transaction request one thread into thread pool, and the thread is referred to as subject thread;
Serial number unit 32 is assigned, for the reception sequence by transaction request, for the request data of target transaction request Assign target global sequence number;
Storage unit 33, request data and target global sequence number to the overall situation for storing the target transaction request are requested In array of data, in constituent element corresponding with subject thread mark;
Extraction unit 34, for cumulative data on the day of obtaining, and, from the global request data array described in extraction Request data, composition request data set before target global sequence number;
Computing unit 35, for being calculated based on the same day cumulative data, the request data set and computation rule Air control factor set.
Wherein, the global request data array includes and multiple correspondingly groups of threads multiple in the thread pool Member.
Accumulated unit 36 handles the target transaction request for the subject thread;Institute is handled in the subject thread After stating target transaction request, on the basis of cumulative data on the day of described, the number of request for the target transaction request that adds up According to.
Unit 37 is emptied, for emptying in the global request data array, the target transaction requests corresponding request Data.
Wherein, assigning serial number unit 32 includes: the reception sequence by transaction request, for the request of target transaction request Data assign unique global sequence number incremented by successively;Using unique global sequence number as the target global sequence number.
Wherein, extraction unit 34, comprising:
Copy cell 341, for from the global request data array, the request data and correspondence of each constituent element of copy Global sequence number;
Sequencing unit 342, for executing sorting operation by request data of the global sequence number to each constituent element;
Component units 343, multiple request datas for that will be less than the target global sequence number form the request data Set.
Air control processing unit in advance, further includes:
Air control unit 38, for executing air control operation to the transaction request based on the air control factor set;
Wherein air control unit 38 be based on air control factor set to the transaction request execute air control operation include: the air control because In the case of at least one air control factor meets threshold condition in subset, then the target transaction is requested to carry out air control processing.
Wherein, described at least one air control factor is unsatisfactory for threshold condition in the air control factor set, then it is right The target transaction request carries out air control processing, comprising:
Alarm Unit, for the case where at least one air control factor is unsatisfactory for threshold condition in the air control factor set Under, the target transaction is requested to carry out alarming processing, and update the alarm number that the target transaction requests corresponding user;
Interception unit is used for after multiple concurrent periodic duties, if the alarm number of the user reaches preset times, Then intercept the transaction request of user transmission.
The application also provides a kind of electronic equipment, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute at air control in advance shown in Fig. 2 via the executable instruction is executed Reason method.
A kind of storage medium, for storing software program, which can be used for realizing shown in Fig. 2 the storage medium Air control processing method in advance.
If function described in the present embodiment method is realized in the form of SFU software functional unit and as independent product pin It sells or in use, can store in a storage medium readable by a compute device.Based on this understanding, the embodiment of the present application The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, this is soft Part product is stored in a storage medium, including some instructions are used so that calculating equipment (it can be personal computer, Server, mobile computing device or network equipment etc.) execute all or part of step of each embodiment the method for the application Suddenly.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), deposits at random The various media that can store program code such as access to memory (RAM, Random Access Memory), magnetic or disk.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of air control processing method in advance characterized by comprising
The target transaction request that terminal is sent in the current concurrent period is received, the target transaction is distributed and requests into thread pool one Thread, and the thread is referred to as subject thread;
By the reception sequence of transaction request, the request data for target transaction request assigns target global sequence number, stores institute The request data and target global sequence number for stating target transaction request are identified into global request data array, with the subject thread In corresponding constituent element;
By the request data before extracting the target global sequence number in the global request data array, request data is formed Set, and obtain same day cumulative data;
Air control factor set is calculated based on the same day cumulative data, the request data set and computation rule.
2. the method as described in claim 1, which is characterized in that it is described the overall situation request data array include in the thread pool Multiple threads multiple constituent elements correspondingly.
3. method according to claim 1 or 2, which is characterized in that further include:
The subject thread handles the target transaction request;
After the subject thread handles target transaction request, on the basis of cumulative data on the day of described, add up The request data of the target transaction request;
It empties in the global request data array, the target transaction requests corresponding request data.
4. method as claimed in claim 3, which is characterized in that the reception sequence by transaction request is handed over for the target The request data easily requested assigns target global sequence number, comprising:
By the reception sequence of transaction request, unique global sequence incremented by successively is assigned for the request data of target transaction request Number;
Using unique global sequence number as the target global sequence number.
5. method as claimed in claim 4, which is characterized in that described to extract the mesh from the global request data array The request data before global sequence number is marked, request data set is formed, comprising:
From the global request data array, the request data and corresponding global sequence number of each constituent element are copied;
Sorting operation is executed by request data of the global sequence number to each constituent element;
The multiple request datas for being less than the target global sequence number are formed into the request data set.
6. the method as described in claim 1, which is characterized in that described based on cumulative data, the number of request on the day of described It further include being executed based on the air control factor set to the transaction request after calculating air control factor set according to set and computation rule Air control operation;
It is described to include: to transaction request execution air control operation based on air control factor set
At least one air control factor meets threshold condition in the air control factor set, then the target transaction is requested Carry out air control processing.
7. method as claimed in claim 6, which is characterized in that described at least one air control factor in the air control factor set It is unsatisfactory in the case of threshold condition, then the target transaction is requested to carry out air control processing, comprising:
In the case that at least one air control factor is unsatisfactory for threshold condition in the air control factor set, the target transaction is asked Carry out alarming processing is sought, and updates the alarm number that the target transaction requests corresponding user;
After multiple concurrent periodic duties, if the alarm number of the user reaches preset times, user transmission is intercepted Transaction request.
8. a kind of air control processing unit in advance characterized by comprising
Receiving unit, the target transaction request sent for receiving terminal in the current concurrent period, distributes the target transaction and asks One thread is sought into thread pool, and the thread is referred to as subject thread;
Serial number unit is assigned, for the reception sequence by transaction request, the request data for target transaction request assigns mesh Global sequence number is marked,
Storage unit, the request data and target global sequence number for storing target transaction request are to global request data number In group, in constituent element corresponding with subject thread mark;
Extraction unit, for by the number of request before extracting the target global sequence number in the global request data array According to, composition request data set, and obtain same day cumulative data;
Computing unit, for calculated based on the same day cumulative data, the request data set and computation rule air control because Subset.
9. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute as described in any one of claim 1~7 via the executable instruction is executed Air control processing method in advance.
10. a kind of storage medium, which is characterized in that for storing software program, which can be used for the storage medium Realize air control processing method in advance as described in any one of claims 1 to 7.
CN201910516572.8A 2019-06-14 2019-06-14 Method and device for processing advance wind control Active CN110210786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910516572.8A CN110210786B (en) 2019-06-14 2019-06-14 Method and device for processing advance wind control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910516572.8A CN110210786B (en) 2019-06-14 2019-06-14 Method and device for processing advance wind control

Publications (2)

Publication Number Publication Date
CN110210786A true CN110210786A (en) 2019-09-06
CN110210786B CN110210786B (en) 2021-07-09

Family

ID=67792822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910516572.8A Active CN110210786B (en) 2019-06-14 2019-06-14 Method and device for processing advance wind control

Country Status (1)

Country Link
CN (1) CN110210786B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588405A (en) * 2004-08-31 2005-03-02 杭州恒生电子股份有限公司 Data processing device and method for risk control system
US20120284207A1 (en) * 2004-06-01 2012-11-08 Jeffrey Scott Eder Extended Management System
CN107316134A (en) * 2017-06-16 2017-11-03 深圳乐信软件技术有限公司 A kind of risk control method, device, server and storage medium
CN107862425A (en) * 2017-08-29 2018-03-30 平安普惠企业管理有限公司 Air control collecting method, equipment, system and readable storage medium storing program for executing
CN109544037A (en) * 2018-12-19 2019-03-29 上海金融期货信息技术有限公司 It is a kind of without intrusive securities futures trading air control gateway system in advance
CN109767227A (en) * 2018-12-28 2019-05-17 深圳市讯联智付网络有限公司 The system and method for payment risk intelligent decision and control is realized by RDS

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120284207A1 (en) * 2004-06-01 2012-11-08 Jeffrey Scott Eder Extended Management System
CN1588405A (en) * 2004-08-31 2005-03-02 杭州恒生电子股份有限公司 Data processing device and method for risk control system
CN107316134A (en) * 2017-06-16 2017-11-03 深圳乐信软件技术有限公司 A kind of risk control method, device, server and storage medium
CN107862425A (en) * 2017-08-29 2018-03-30 平安普惠企业管理有限公司 Air control collecting method, equipment, system and readable storage medium storing program for executing
CN109544037A (en) * 2018-12-19 2019-03-29 上海金融期货信息技术有限公司 It is a kind of without intrusive securities futures trading air control gateway system in advance
CN109767227A (en) * 2018-12-28 2019-05-17 深圳市讯联智付网络有限公司 The system and method for payment risk intelligent decision and control is realized by RDS

Also Published As

Publication number Publication date
CN110210786B (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN108446176B (en) Task allocation method, computer readable storage medium and terminal device
CN108833458B (en) Application recommendation method, device, medium and equipment
CN107025236B (en) Data processing method between clearing systems and data clearing system
CN106339493B (en) A kind of data processing method and relevant apparatus
CN106407207A (en) Real-time added data updating method and apparatus
US20150046218A1 (en) Trend-factored rfm scores to improve campaign performance
CN111784204A (en) High-quality user mining method and system based on user power consumption behavior portrait
CN113268641B (en) User data processing method based on big data and big data server
CN109903100A (en) A kind of customer churn prediction technique, device and readable storage medium storing program for executing
CN110750517B (en) Data processing method, device and equipment of local storage engine system
CN114047883A (en) Data equalization method and device based on distributed storage system
CN112668871B (en) Method for dynamically distributing special weights in multi-round group decision
CN114281260A (en) Storage method, device, equipment and medium applied to distributed storage system
CN110210786A (en) Air control processing method and processing device in advance
CN110209548A (en) Service control method, system, electronic equipment and computer readable storage medium
CN116527398A (en) Internet of things card risk identification method, device, equipment and storage medium
CN116502210A (en) Account authority distribution method, device and equipment and readable storage medium
CN107506380B (en) A kind of method and server updating business data
CN113038242B (en) Method, device and equipment for determining display position of live broadcast card and storage medium
CN106657058B (en) Event resource allocation method and device
CN115578180A (en) Bank outlet cash resource management method and device
CN115511562A (en) Virtual product recommendation method and device, computer equipment and storage medium
CN112231590B (en) Content recommendation method, system, computer device and storage medium
CN114936198A (en) Data migration method and device
CN105656858B (en) A kind of data-updating method and device

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