CN110012075A - Data transmission method and relevant device - Google Patents
Data transmission method and relevant device Download PDFInfo
- Publication number
- CN110012075A CN110012075A CN201910184071.4A CN201910184071A CN110012075A CN 110012075 A CN110012075 A CN 110012075A CN 201910184071 A CN201910184071 A CN 201910184071A CN 110012075 A CN110012075 A CN 110012075A
- Authority
- CN
- China
- Prior art keywords
- data transfer
- transfer request
- connection pool
- thread
- database
- 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
Links
Classifications
-
- 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/02—Banking, e.g. interest calculation or account maintenance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Marketing (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present application discloses a kind of data transmission method and relevant device, is applied to bank server, and method includes: to obtain the quantity at least one data transfer request for first database being currently received;Obtain the status information of the database connection pool of the first database;The data transfer operation for each data transfer request at least one described data transfer request is executed according to the quantity of at least one data transfer request and the status information.It can be seen that, bank server is dynamically adapted data transmission policies in order to the slave first database typing of quickly and orderly and/or reads the information needed in data transfer request in the embodiment of the present application, the speed of data transmission is accelerated, and then accelerates the data-handling efficiency of bank server.
Description
Technical field
This application involves server info technical fields, and in particular to a kind of data transmission method and relevant device.
Background technique
With social continuous progress, the development of Internet technology, more and more business are turned by handling under line by line
It handles.Bank service industry is that an essential ring, bank service industry greatly facilitate after taking on-line processing in daily life
People's lives, enable user to handle on line and the business such as query the balance, transfer accounts and borrow or lend money.With business handling convenience
Promotion, financial consumption mode it is abundant, more and more users' selection uses on-line processing business, and because of user's on-line processing
The time of business is more random, is easy to cause in the bank server short time that data transfer load is excessively high, and data-handling efficiency is low
Under, server congestion and so on.
Summary of the invention
The embodiment of the present application provides a kind of data transmission method and relevant device, to guarantee bank server in data
The safety of important information in transmission process improves the data transmission efficiency of bank server, and then accelerates bank server
Data-handling efficiency.
In a first aspect, the embodiment of the present application provides a kind of data transmission method, it is applied to bank server, comprising:
Obtain the quantity at least one data transfer request for first database being currently received;
Obtain the status information of the database connection pool of the first database;
At least one described in being directed to is executed according to the quantity of at least one data transfer request and the status information
The data transfer operation of each data transfer request in data transfer request.
Second aspect, the embodiment of the present application provide a kind of data transmission device, including processing unit and communication unit,
In,
The processing unit is used for, and obtains at least one data transfer request for first database being currently received
Quantity;And the status information of the database connection pool of the first database is obtained by the communication unit;And root
It executes according to the quantity of at least one data transfer request and the status information and is asked at least one data transmission
The data transfer operation of each data transfer request in asking.
The third aspect, the embodiment of the present application provide a kind of server, including processor, memory, communication interface and one
A or multiple programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned processing
Device executes, and above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable
Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as
Step some or all of described in the embodiment of the present application first aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product
Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate
Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product
It can be a software installation packet.
As can be seen that bank server acquisition was currently received is directed to first database extremely in the embodiment of the present application
The quantity of a few data transfer request;Obtain the status information of the database connection pool of the first database;According to described
The quantity of at least one data transfer request and the status information are executed for every at least one described data transfer request
The data transfer operation of a data transfer request.As it can be seen that bank server can be directed to first database according to what is be currently received
Data transfer request quantity and first database database connection pool state dynamic adjusting data transmission strategy so as to
The information needed in the slave first database typing and/or reading data transfer request of quickly and orderly, has reached acceleration data
The effect of transmission, and then accelerate the data-handling efficiency of bank server.
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 schematic diagram of data transmission method provided by the embodiments of the present application;
Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of data transmission method;
Fig. 3 is the flow diagram of another data transmission method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another data transmission method provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of server provided by the embodiments of the present application;
Fig. 6 is a kind of functional unit composition block diagram of transmission side data subtraction unit provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing
Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that
It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have
It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap
Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments
It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical
Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and
Implicitly understand, embodiment described herein can be combined with other embodiments.
Server involved by the embodiment of the present application may include the various handheld devices with wireless communication function, vehicle
Equipment, wearable device are carried, equipment is calculated or is connected to other processing equipments of radio modem and various forms of
User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal
Device) etc..
As shown in Figure 1, Fig. 1 is a kind of schematic diagram of data transmission method provided by the embodiments of the present application.
It include: bank server 110, database connection pool 120, database 130 in Fig. 1.Wherein, database connection pool
120 are provided with and have used connection pool 121 and idle connection pool 122.Wherein, the line being not used by database connection pool 120
Journey is in idle connection pool 122, and the thread used is in having used connection pool 121.When bank server 110 receives needle
When at least one data transfer request of database 130, then the status information of database connection pool 120 is obtained;If detecting
In idle connection pool 122 there are thread and when existing Thread Count is greater than the quantity of at least one data transfer request, directly make
With the thread in idle connection pool 122, the corresponding relationship between thread and data transfer request, and the thread that will have been used are determined
It is put into and has used connection pool 121;If detecting in idle connection pool 122 there are thread and existing Thread Count being less than at least one
When the quantity of data transfer request, it is determined that the priority sequence of at least one data transfer request, according to priority sequence by
The corresponding relationship between thread in successively determining front to back and free time connection pool 122, and the line of Test database connection pool 120
Whether journey reaches maximum thread threshold;If so, when detect there is thread in idle connection pool 122 when according to priority sequence
Successively determine the corresponding relationship at least one data transfer request between remaining data transfer request and thread;If it is not, then
Establishing the thread that at least one belongs in idle connection pool 122 makes the Thread Count of database connection pool reach maximum value;And root
It is determined in newly-established thread and at least one data transfer request between remaining data transfer request according to priority sequence
Corresponding relationship, and while thread occurring in detecting idle connection pool 122, successively determines at least one number according to priority sequence
According to the corresponding relationship in transmission request between remaining data transfer request and thread.
The application proposes a kind of data transmission method, describes in detail below to the embodiment of the present application.
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of data transmission method, it is applied to
Bank server.As shown, notebook data transmission method includes:
Step 201, bank server obtains at least one data transmission for first database being currently received and asks
The quantity asked.
Wherein, first database can be a component part of bank server, be also possible to logical with bank server
Believe the external data base of connection.Data transfer request is that bank server is sent out from the electronic equipment communicated to connect with bank server
The information extracted in the data request information sent.
Step 202, the bank server obtains the status information of the database connection pool of the first database.
Wherein, first database is provided with database connection pool, database connection pool be provided with minimum thread connection number and
Maximum thread connection number.Bank server according to current data transmission quantity and can estimate one section after current point in time
The quantity of the data transfer request of time adjusts the quantity of thread in database connection pool;The fluctuation area of thread is in minimum line
Between journey connection number and maximum thread connection number.
Step 203, the bank server is believed according to the quantity and the state of at least one data transfer request
Breath executes the data transfer operation for each data transfer request at least one described data transfer request.
As can be seen that bank server acquisition was currently received is directed to first database extremely in the embodiment of the present application
The quantity of a few data transfer request;Obtain the status information of the database connection pool of the first database;According to described
The quantity of at least one data transfer request and the status information are executed for every at least one described data transfer request
The data transfer operation of a data transfer request.As it can be seen that bank server can be directed to first database according to what is be currently received
Data transfer request quantity and first database database connection pool state dynamic adjusting data transmission strategy so as to
The information needed in the slave first database typing and/or reading data transfer request of quickly and orderly, has reached acceleration data
The effect of transmission, and then accelerate the data-handling efficiency of bank server.
In a possible example, the database connection pool includes idle connection pool and has used connection pool;It is described
Status information includes the first quantity of the thread in the idle connection pool and the second quantity of the thread for having used connection pool;Institute
Bank server is stated to be executed for described at least according to the quantity and the status information of at least one data transfer request
The data transfer operation of each data transfer request in one data transfer request, comprising: judge that at least one described data pass
Whether the quantity of defeated request is greater than first quantity;If so, determining the priority of at least one data transfer request
Sequence;The data transfer request that preceding first number of bits is filtered out from the priority sequence determines in the idle connection pool
Thread and preceding first number of bits data transfer request between corresponding relationship;By the thread in the idle connection pool
Connection pool has been used described in being put into.
Wherein, in having used connection pool, not used thread connects the thread used in database connection pool in the free time
It connects in pond;When being released using the thread in connection pool, idle connection pool will be automatically put by database connection pool;Work as sky
Thread in not busy connection pool has been used connection pool in use, will be automatically put by database connection pool.
For example, if the Thread Count of current idle connection pool is 500, and the quantity of data transfer request is 400, then silver-colored
Row server directly uses 400 threads in the idle connection pool in database connection pool.If the line of current idle connection pool
Number of passes is 500, and the quantity of data transfer request is 600, then bank server analyzes 600 data transfer requests,
The priority sequence for generating 600 data transfer requests filters out priority sequence and is located at preceding 500 data transfer requests;
Determine the corresponding relationship of 500 threads and priority sequence between preceding 500 data transfer requests in free time connection pool;
The thread that 500 belong to idle connection pool is put into later and has used connection pool.
As it can be seen that bank server can be according to the Thread Count and current data biography in current database connection pool in this example
The quantity of defeated request carrys out the allocation plan of flexibly adjustment data transmission, improves the intelligence of bank server;Meanwhile in sky
The priority that data transfer request is produced when thread in not busy connection pool is not enough ensures timely to complete significance level
High and urgent data transfer request, and keep bank server more orderly when carrying out data transmission, accelerate data transmission
Efficiency.
In a possible example, the bank server determines the priority of at least one data transfer request
Sequence, comprising: obtain the target service type that each data transfer request is directed at least one described data transfer request;With
The target service type is inquiry mark, inquires the first default mapping relations, obtains the corresponding peace of the target service type
Congruent grade, the first default mapping relations include the corresponding relationship between type of service and security level;According to described each
The target service type and the corresponding security level of the target service type that data transfer request is directed to determine institute
State the associated security level of each data transfer request;Institute is determined according to each associated security level of data transfer request
State the priority sequence of at least one data transfer request.
Wherein, the corresponding relationship between type of service and security level is preset;Setting method can be basis
The business that active user handles is information registering or information modification, transfers accounts, accesses money, buying the types of service such as finance product to set
's;The business such as information registering and information modification are not related to being transferred to and producing for fund, therefore security level is generally lower;But it is same
It is that information registering and information modification security level if the information of the information association enterprise of registration are relatively high, the business such as handled
It is company information modification, then security level is higher than the security level of personal information modification;Equally, to finance product, transfer accounts, access
The business such as money will determine relevant security level according to different amount of money numerical value.
As it can be seen that bank server can determine different security levels, Jin Eryou according to different types of service in this example
The higher data transfer request of security level is first handled, the risk of important information leakage is reduced under the conditions of resource is limited,
Improve the safety of significant data in bank server.
Optionally, bank server determines at least one data transfer request in combination with the concrete property of type of service
Priority sequence.Bank server can determine at least one data according to the response time of type of service, type of service and amount
Transmit the priority sequence of request.Specifically, bank server obtains the type of service that at least one data transfer request is directed to,
Default corresponding relationship is inquired according to type of service, obtains the type of service corresponding response time, the time will at least one according to response
A data transfer request is divided into the business of timely responding to, the business of domestic demand response in 1 hour, the business and response of domestic demand response in 1 day
Time is greater than 1 day business.Wherein, the response time coefficient for timely responding to business is the sound for the business that 1,1 hour domestic demand responds
Answering the response time coefficient that time coefficient is the business of 0.8,1 day domestic demand response is 0.5 and business of the response time greater than 1 day
Response time coefficient is 0.3.Type of service is divided into three categories simultaneously, and respectively information registering/modification class, fund are transferred to/turn
Class and finance product class out, the business coefficient of the finance product of setting are 1, and it is 0.7 that fund, which is transferred to/produces class business coefficient, letter
Breath registers/and modification class type of service business coefficient is 0.2.Each data transmission at least one data transfer request is obtained simultaneously
The amount of money value being related to is requested, determines that the smallest amount of money is the first preset cost value to amount of money involved except zero, amount of money involved is maximum
The amount of money is the second preset cost value;Determine the first difference=second preset cost value the-the first preset cost value.According to above- mentioned information
Calculate the priority score of each data transfer request at least one data transfer request, specific formula for calculation are as follows: priority
Score=100* response time coefficient * 0.4+100* business coefficient * 0.2+100* (the gold that at least one data transfer request is related to
The-the first preset cost of volume) * 0.4/ first difference.Determine at least one data transfer request from high to low according to priority score
Priority sequence sequence from front to back.
In a possible example, the bank server is according to described each associated safety of data transfer request etc.
After grade determines the priority sequence of at least one data transfer request, the method also includes: it detects described preferential
There are identical at least two data transfer requests of sequence location in grade sequence;It obtains at least two data transfer request
Each associated account information of data transfer request;It is inquiry mark with the account information, inquires the second default mapping relations,
The corresponding account classification of the account information is obtained, the second default mapping relations include between account information and account classification
Corresponding relationship, the account classification includes personal account and business account, and the priority of the business account is greater than described
It acknowledges a debt the priority at family;The priority of at least two data transfer request is determined according to the account classification;According to described
Priority sequence described in the priority update of at least two data transfer requests.
Wherein, priority sequence after the priority sequence according to the priority update of at least two data transfer request
In column in addition to position of at least two data transfer requests in priority sequence changes other data transfer requests excellent
Position in first grade sequence is constant.
As it can be seen that data transmission of the bank server for sequence in priority sequence in same position is asked in this example
Rooting is resequenced according to account information, in order to which bank server is asked according to the orderly completion data transmission of priority sequence
It asks, accelerates the efficiency of data transmission, improve the intelligence of bank server.
In a possible example, the thread in the idle connection pool is put into described made by the bank server
After connection pool, the method also includes: judge the quantity and second quantity of at least one data transfer request
The sum of whether be greater than the database connection pool maximum thread threshold;If it is not, determining at least one described data transfer request
Difference between the Thread Count of the idle connection pool;Establish the thread that the difference belongs to the idle connection pool;Inspection
Measure the thread foundation completion that the difference belongs to the idle connection pool;Determine that the difference belongs to the idle connection
Corresponding relationship in the thread in pond and at least one described data transfer request between remaining data transfer request;By the difference
The thread that value belongs to the idle connection pool has used connection pool described in being put into;If so, establishing M belongs to the idle connection
The thread in pond is so that the Thread Count of the database connection pool reaches the maximum thread threshold;Detect that the M belong to
The thread of the free time connection pool, which is established, to be completed;Determine the M threads and described at least one for belonging to the idle connection pool
The data transmission that priority sequence is located at first quantity+1 to first quantity+M in a data transfer request is asked
Corresponding relationship between asking;The M thread for belonging to the idle connection pool is put into and described has used connection pool.
For example, having used number of threads and the second quantity original in connection pool is 400, original in idle connection pool
Thread and the first quantity be 300 and had been placed in and use in connection pool, it is several if the quantity of data transfer request is 700
Maximum thread threshold according to library connection pool is 1000, then 400+700 > 1000, and establishing the thread that 300 belong to idle connection pool makes
The quantity for obtaining the thread in database connection pool reaches maximum thread threshold, while determining the excellent of at least one data transfer request
Corresponding pass in first grade sequence between the 301st to the 600th data transfer request and newly-established 300 threads
System, is put into used data connection pool for newly-established 300 threads later.When having used some thread in connection pool to use
It will be released after, and be automatically put into idle connection pool later;Bank server detects when there is thread in idle connection pool, root
According to priority sequence determine 601,602 until priority sequence in the 1000th data transfer request and thread between
Corresponding relationship, which determines, to be completed.
As it can be seen that in this example, bank server can quantity, the max line of database connection pool according to data transfer request
Journey threshold value and priority sequence arrange corresponding between each data transfer request and thread at least one data transfer request
Relationship, timely the higher data transfer request of transmission priority, improves the intelligence of bank server.
In a possible example, the database connection pool includes idle connection pool and has used connection pool;It is described
Status information includes Thread Count in the idle connection pool and the Thread Count for having used connection pool;The bank server according to
The quantity of at least one data transfer request and the status information execute data connection operation, comprising: judgement is described extremely
Whether the quantity of a few data transfer request is greater than the Thread Count in the idle connection pool;If it is not, then extracting the free time
The available connection thread of the quantity of at least one data transfer request described in connection pool;Connection thread and institute can be used described in determination
State the corresponding relationship between at least one data transfer request;Described can be put into connection thread described connection pool has been used into
In.
As it can be seen that the idle thread in database connection pool can be used directly in bank server, without again in this example
Data transmission channel is established, the time of data transmission procedure is saved, improves the efficiency of data transmission.
In a possible example, the bank server obtains at least one data transfer request being currently received
Quantity before, the method also includes: obtain current system time;Determine the period belonging to the system time;With
The period is inquiry mark, and inquiry third presets mapping relations, obtains the period corresponding minimum Thread Count, described
It includes the corresponding relationship between period and minimum Thread Count that third, which presets mapping relations,;In the database connection pool and described
The minimum Thread Count thread is established between database.
As it can be seen that in this example, quantity that bank server can request present data transmission according to current time point into
Row is estimated, and establishes minimum Thread Count thread according to situation is estimated, the data transmission speed when guaranteeing has data transfer request
While rate, the resource for establishing excessive thread consumption data library connection pool is avoided.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is a kind of data provided by the embodiments of the present application
The flow diagram of transmission method is applied to bank server.As shown, notebook data transmission method includes:
Step 301, bank server obtains at least one data transmission for first database being currently received and asks
The quantity asked.
Step 302, the bank server obtains the status information of the database connection pool of the first database.
Step 303, it is described to judge whether the quantity of at least one data transfer request is greater than for the bank server
First quantity.
Step 304, if so, the bank server obtains each data biography at least one described data transfer request
The defeated target service type for requesting to be directed to.
Step 305, the bank server is inquiry mark with the target service type, and the default mapping of inquiry first is closed
System, obtains the corresponding security level of the target service type.
Step 306, the target service type that the bank server is directed to according to each data transfer request
The security level corresponding with the target service type determines the associated security level of each data transfer request.
Step 307, the bank server is according to each associated security level determination of data transfer request
The priority sequence of at least one data transfer request.
Step 308, the bank server detects that there are sequence locations identical at least two in the priority sequence
A data transfer request.
Step 309, the bank server obtains each data transfer request at least two data transfer request
Associated account information.
Step 310, the bank server is inquiry mark with the account information, inquires the second default mapping relations,
The corresponding account classification of the account information is obtained, the second default mapping relations include between account information and account classification
Corresponding relationship, the account classification includes personal account and business account, and the priority of the business account is greater than described
It acknowledges a debt the priority at family.
Step 311, the bank server determines at least two data transfer request according to the account classification
Priority;According to priority sequence described in the priority update of at least two data transfer request.
Step 312, the bank server filters out preceding first number of data transmission from the priority sequence and asks
It asks, determines the corresponding relationship between the thread and the preceding first number of data transmission request in the idle connection pool.
Step 313, the thread in the idle connection pool is put into and described has used connection pool by the bank server.
As can be seen that bank server acquisition was currently received is directed to first database extremely in the embodiment of the present application
The quantity of a few data transfer request;Obtain the status information of the database connection pool of the first database;According to described
The quantity of at least one data transfer request and the status information are executed for every at least one described data transfer request
The data transfer operation of a data transfer request.As it can be seen that bank server can be directed to first database according to what is be currently received
Data transfer request quantity and first database database connection pool state dynamic adjusting data transmission strategy so as to
The information needed in the slave first database typing and/or reading data transfer request of quickly and orderly, has reached acceleration data
The effect of transmission, and then accelerate the data-handling efficiency of bank server.
In addition, bank server can determine different security levels according to different types of service, and then priority processing is pacified
The congruent higher data transfer request of grade reduces the risk of important information leakage under the conditions of resource is limited, improves silver
The safety of significant data in row server.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is a kind of data provided by the embodiments of the present application
The flow diagram of transmission method is applied to bank server.As shown, notebook data transmission method includes:
Step 401, bank server obtains at least one data transmission for first database being currently received and asks
The quantity asked.
Step 402, the bank server obtains the status information of the database connection pool of the first database.
Step 403, it is described to judge whether the quantity of at least one data transfer request is greater than for the bank server
First quantity.
Step 404, if so, the bank server determines the priority sequence of at least one data transfer request
Column.
Step 405, the bank server filters out preceding first number of data transmission from the priority sequence and asks
It asks, determines the corresponding relationship between the thread and the preceding first number of data transmission request in the idle connection pool.
Step 406, the thread in the idle connection pool is put into and described has used connection pool by the bank server.
Step 407, the bank server judges that the quantity of at least one data transfer request and described second counts
Whether the sum of amount is greater than the maximum thread threshold of the database connection pool.
Step 408, if it is not, the bank server determines at least one described data transfer request and the idle connection
Difference between the Thread Count in pond;Establish the thread that the difference belongs to the idle connection pool;Detect the difference
The thread for belonging to the idle connection pool, which is established, to be completed;Determine that the difference belongs to the free time according to the priority sequence
Corresponding relationship in the thread of connection pool and at least one described data transfer request between remaining data transfer request;By institute
It states difference and belongs to the thread of the idle connection pool and be put into and described used connection pool.
Step 409, if so, the bank server, which establishes M, belongs to the thread of the idle connection pool so that described
The Thread Count of database connection pool reaches the maximum thread threshold;Detect the M lines for belonging to the idle connection pool
Cheng Jianli is completed;The M threads and described at least one for belonging to the idle connection pool are determined according to the priority sequence
The data transmission that priority sequence is located at first quantity+1 to first quantity+M in a data transfer request is asked
Corresponding relationship between asking;The M thread for belonging to the idle connection pool is put into and described has used connection pool.
As can be seen that bank server acquisition was currently received is directed to first database extremely in the embodiment of the present application
The quantity of a few data transfer request;Obtain the status information of the database connection pool of the first database;According to described
The quantity of at least one data transfer request and the status information are executed for every at least one described data transfer request
The data transfer operation of a data transfer request.As it can be seen that bank server can be directed to first database according to what is be currently received
Data transfer request quantity and first database database connection pool state dynamic adjusting data transmission strategy so as to
The information needed in the slave first database typing and/or reading data transfer request of quickly and orderly, has reached acceleration data
The effect of transmission, and then accelerate the data-handling efficiency of bank server.
In addition, bank server can according to the quantity of data transfer request, the maximum thread threshold of database connection pool and
Priority sequence arranges the corresponding relationship at least one data transfer request between each data transfer request and thread, in time
The higher data transfer request of transmission priority, improve the intelligence of bank server.
It is consistent with above-mentioned Fig. 2, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application
A kind of structural schematic diagram of server 500, as shown, the server 500 include application processor 510, memory 520,
Communication interface 530 and one or more programs 521, wherein one or more of programs 521 are stored in above-mentioned memory
In 520, and it is configured to be executed by above-mentioned application processor 510, one or more of programs 521 include following for executing
The instruction of step:
Obtain the quantity at least one data transfer request for first database being currently received;
Obtain the status information of the database connection pool of the first database;
At least one described in being directed to is executed according to the quantity of at least one data transfer request and the status information
The data transfer operation of each data transfer request in data transfer request.
As can be seen that bank server acquisition was currently received is directed to first database extremely in the embodiment of the present application
The quantity of a few data transfer request;Obtain the status information of the database connection pool of the first database;According to described
The quantity of at least one data transfer request and the status information are executed for every at least one described data transfer request
The data transfer operation of a data transfer request.As it can be seen that bank server can be directed to first database according to what is be currently received
Data transfer request quantity and first database database connection pool state dynamic adjusting data transmission strategy so as to
The information needed in the slave first database typing and/or reading data transfer request of quickly and orderly, has reached acceleration data
The effect of transmission, and then accelerate the data-handling efficiency of bank server.
In a possible example, the database connection pool includes idle connection pool and has used connection pool;It is described
Status information includes the first quantity of the thread in the idle connection pool and the second quantity of the thread for having used connection pool;?
The quantity of at least one data transfer request according to and the status information are executed at least one described data
In transmission request in terms of the data transfer operation of each data transfer request, the instruction in described program is specifically used for executing following
Operation: judge whether the quantity of at least one data transfer request is greater than first quantity;If so, described in determining extremely
The priority sequence of a few data transfer request;Preceding first number of data transmission is filtered out from the priority sequence to ask
It asks, determines the corresponding relationship between the thread and the preceding first number of data transmission request in the idle connection pool;It will
Thread in the free time connection pool has used connection pool described in being put into.
In a possible example, the priority sequence side of at least one data transfer request described in the determination
Face, the instruction in described program are specifically used for executing following operation: obtaining every number at least one described data transfer request
The target service type being directed to according to transmission request;It is inquiry mark with the target service type, the default mapping of inquiry first is closed
System, obtains the corresponding security level of the target service type, the first default mapping relations include type of service and safety
Corresponding relationship between grade;The target service type and the target industry being directed to according to each data transfer request
The corresponding security level of service type determines the associated security level of each data transfer request;According to every number
The priority sequence of determining at least one data transfer request of associated security level is requested according to transmission.
In a possible example, institute is determined according to each associated security level of data transfer request described
After the priority sequence for stating at least one data transfer request, the instruction in described program is also used to execute following operation: inspection
Measure in the priority sequence that there are identical at least two data transfer requests of sequence location;Obtain at least two number
According to each associated account information of data transfer request in transmission request;It is inquiry mark, inquiry second with the account information
Default mapping relations, obtain the corresponding account classification of the account information, the second default mapping relations include account information
Corresponding relationship between account classification, the account classification include personal account and business account, the business account it is excellent
First grade is greater than the priority of the personal account;The excellent of at least two data transfer request is determined according to the account classification
First grade;According to priority sequence described in the priority update of at least two data transfer request.
In a possible example, it is put into the thread by the idle connection pool and described has used connection pool
Later, the instruction in described program is also used to execute following operation: judge at least one data transfer request quantity and
Whether the sum of described second quantity is greater than the maximum thread threshold of the database connection pool;If it is not, determine it is described at least one
Difference between data transfer request and the Thread Count of the idle connection pool;It establishes the difference and belongs to the idle connection
The thread in pond;Detect that the difference belongs to the thread foundation completion of the idle connection pool;Determine that the difference belongs to
Correspondence in the thread of the free time connection pool and at least one described data transfer request between remaining data transfer request
Relationship;The thread that the difference belongs to the idle connection pool is put into and described has used connection pool;If so, establishing M category
In the idle connection pool thread so that the Thread Count of the database connection pool reaches the maximum thread threshold;Detection
The thread for belonging to the idle connection pool to the M, which is established, to be completed;Determine the M threads for belonging to the idle connection pool
It is located at first quantity+1 to first quantity+M with priority sequence at least one described data transfer request
Data transfer request between corresponding relationship;The thread that the M belong to the idle connection pool is put into described used
Connection pool.
In a possible example, the database connection pool includes idle connection pool and has used connection pool;It is described
Status information includes Thread Count in the idle connection pool and the Thread Count for having used connection pool;It is described according at least
The quantity and the status information of one data transfer request execute data connection operating aspect, and the instruction in described program is also used
The operation below executing: judge the line whether quantity of at least one data transfer request is greater than in the idle connection pool
Number of passes;If it is not, then extracting the available connection thread of the quantity of at least one data transfer request described in the idle connection pool;
The corresponding relationship between connection thread and at least one described data transfer request can be used described in determination;Connecting line is used by described
Journey is put into described used in connection pool.
In a possible example, it is described obtain the quantity of at least one data transfer request that is currently received it
Before, the instruction in described program is also used to execute following operation: obtaining current system time;It determines belonging to the system time
Period;It is inquiry mark with the period, inquiry third presets mapping relations, obtains the period corresponding minimum
Thread Count, it includes the corresponding relationship between period and minimum Thread Count that the third, which presets mapping relations,;In the database
The minimum Thread Count thread is established between connection pool and the database.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that
, in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment
Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein
And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with
Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution
Part.Professional technician can specifically realize described function to each using distinct methods, but this reality
Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can
With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit
In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs
It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real
It is current that there may be another division manner.
Fig. 6 is the functional unit composition block diagram of data transmission device 600 involved in the embodiment of the present application.The data pass
Defeated device 600 is applied to bank server, including processing unit 601 and communication unit 602, wherein
The processing unit 601 is used for, and is obtained at least one data for first database being currently received and is transmitted
The quantity of request;And the status information of the database connection pool of the first database is obtained by the communication unit 602;
And it is executed according to the quantity of at least one data transfer request and the status information at least one described data
The data transfer operation of each data transfer request in transmission request.
Wherein, the data transmission device can also include storage unit 603, for storing the program code of electronic equipment
And data.The processing unit 601 can be application processor, and the communication unit 602 can be global communication bus, transmitting-receiving
Device etc., storage unit 603 can be memory.
As can be seen that bank server acquisition was currently received is directed to first database extremely in the embodiment of the present application
The quantity of a few data transfer request;Obtain the status information of the database connection pool of the first database;According to described
The quantity of at least one data transfer request and the status information are executed for every at least one described data transfer request
The data transfer operation of a data transfer request.As it can be seen that bank server can be directed to first database according to what is be currently received
Data transfer request quantity and first database database connection pool state dynamic adjusting data transmission strategy so as to
The information needed in the slave first database typing and/or reading data transfer request of quickly and orderly, has reached acceleration data
The effect of transmission, and then accelerate the data-handling efficiency of bank server.
In a possible example, the database connection pool includes idle connection pool and has used connection pool;It is described
Status information includes the first quantity of the thread in the idle connection pool and the second quantity of the thread for having used connection pool;?
The quantity of at least one data transfer request according to and the status information are executed at least one described data
In transmission request in terms of the data transfer operation of each data transfer request, the processing unit 601 is used for: judgement is described at least
Whether the quantity of one data transfer request is greater than first quantity;If so, determining that at least one data transmission is asked
The priority sequence asked;Preceding first number of data transmission request is filtered out from the priority sequence, determines the free time
The corresponding relationship between thread and the preceding first number of data transmission request in connection pool;It will be in the idle connection pool
Thread be put into and described used connection pool.
In a possible example, the priority sequence side of at least one data transfer request described in the determination
Face, the processing unit 601 are used for: obtaining the mesh that each data transfer request is directed at least one described data transfer request
Mark type of service;It is inquiry mark with the target service type, inquires the first default mapping relations, obtain the target service
The corresponding security level of type, the first default mapping relations include the corresponding relationship between type of service and security level;
The target service type and the corresponding peace of the target service type being directed to according to each data transfer request
Congruent grade determines the associated security level of each data transfer request;According to each associated peace of data transfer request
Congruent grade determines the priority sequence of at least one data transfer request.
In a possible example, institute is determined according to each associated security level of data transfer request described
After the priority sequence for stating at least one data transfer request, institute's processing unit 601 is also used to: being detected described preferential
There are identical at least two data transfer requests of sequence location in grade sequence;It obtains at least two data transfer request
Each associated account information of data transfer request;It is inquiry mark with the account information, inquires the second default mapping relations,
The corresponding account classification of the account information is obtained, the second default mapping relations include between account information and account classification
Corresponding relationship, the account classification includes personal account and business account, and the priority of the business account is greater than described
It acknowledges a debt the priority at family;The priority of at least two data transfer request is determined according to the account classification;According to described
Priority sequence described in the priority update of at least two data transfer requests.
In a possible example, it is put into the thread by the idle connection pool and described has used connection pool
Later, the processing unit 601 is also used to: judge at least one data transfer request quantity and second quantity it
Whether the maximum thread threshold of the database connection pool is greater than;If it is not, determine at least one described data transfer request and
Difference between the Thread Count of the free time connection pool;Establish the thread that the difference belongs to the idle connection pool;Detection
The thread for belonging to the idle connection pool to the difference, which is established, to be completed;Determine that the difference belongs to the idle connection pool
Thread and at least one described data transfer request in corresponding relationship between remaining data transfer request;By the difference
A thread for belonging to the idle connection pool has used connection pool described in being put into;If so, establishing M belongs to the idle connection pool
Thread so that the Thread Count of the database connection pool reaches the maximum thread threshold;Detect that the M belong to institute
The thread for stating idle connection pool, which is established, to be completed;Determine the M belong to the idle connection pool thread and it is described at least one
Priority sequence is located at first quantity+1 to first quantity+M data transfer request in data transfer request
Between corresponding relationship;The M thread for belonging to the idle connection pool is put into and described has used connection pool.
In a possible example, the database connection pool includes idle connection pool and has used connection pool;It is described
Status information includes Thread Count in the idle connection pool and the Thread Count for having used connection pool;It is described according at least
The quantity and the status information of one data transfer request execute data connection operating aspect, and the processing unit 601 is also used
In: judge whether the quantity of at least one data transfer request is greater than the Thread Count in the idle connection pool;If it is not, then
Extract the available connection thread of the quantity of at least one data transfer request described in the idle connection pool;It can be used described in determination
Connect the corresponding relationship between thread and at least one described data transfer request;By it is described can be put into connection thread it is described
Using in connection pool.
In a possible example, it is described obtain the quantity of at least one data transfer request that is currently received it
Before, the processing unit 601 is also used to: obtaining current system time;Determine the period belonging to the system time;With institute
The period is stated as inquiry mark, inquiry third presets mapping relations, obtains the period corresponding minimum Thread Count, and described the
Three default mapping relations include the corresponding relationship between period and minimum Thread Count;In the database connection pool and the number
According to establishing the minimum Thread Count thread between library.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity
The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment
Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating
The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side
Some or all of either record method step in method embodiment.The computer program product can be a software installation
Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or
Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products
Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment
(can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application
Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory
The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory
May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English:
Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and
Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas;
At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application
There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.
Claims (10)
1. a kind of data transmission method, which is characterized in that be applied to bank server, which comprises
Obtain the quantity at least one data transfer request for first database being currently received;
Obtain the status information of the database connection pool of the first database;
It is executed according to the quantity of at least one data transfer request and the status information at least one described data
The data transfer operation of each data transfer request in transmission request.
2. the method according to claim 1, wherein the database connection pool includes idle connection pool and has made
Use connection pool;The status information includes the first quantity of the thread in the idle connection pool and the thread for having used connection pool
The second quantity;The quantity of at least one data transfer request according to and the status information are executed for described in extremely
The data transfer operation of each data transfer request in a few data transfer request, comprising:
Judge whether the quantity of at least one data transfer request is greater than first quantity;
If so, determining the priority sequence of at least one data transfer request;
The data transfer request that sequence location is located at preceding first number of bits is filtered out from the priority sequence, determines the sky
Thread in not busy connection pool and the corresponding relationship between the data transfer request of preceding first number of bits;
Thread in the idle connection pool is put into and described has used connection pool.
3. according to the method described in claim 2, it is characterized in that, at least one data transfer request described in the determination it is excellent
First grade sequence, comprising:
Obtain the target service type that each data transfer request is directed at least one described data transfer request;
It is inquiry mark with the target service type, inquires the first default mapping relations, obtain the target service type pair
The security level answered, the first default mapping relations include the corresponding relationship between type of service and security level;
The target service type being directed to according to each data transfer request and the corresponding institute of the target service type
It states security level and determines the associated security level of each data transfer request;
The preferential of at least one data transfer request is determined according to each associated security level of data transfer request
Grade sequence.
4. according to the method described in claim 3, it is characterized in that, described according to each associated peace of data transfer request
After congruent grade determines the priority sequence of at least one data transfer request, the method also includes:
Detect that there are identical at least two data transfer requests of sequence location in the priority sequence;
Obtain each associated account information of data transfer request at least two data transfer request;
It is inquiry mark with the account information, inquires the second default mapping relations, obtain the corresponding account of the account information
Classification, the second default mapping relations include the corresponding relationship between account information and account classification, the account classification packet
Personal account and business account are included, the priority of the business account is greater than the priority of the personal account;
The priority of at least two data transfer request is determined according to the account classification;
According to priority sequence described in the priority update of at least two data transfer request.
5. according to the described in any item methods of claim 2-4, which is characterized in that the thread by the idle connection pool
After having used connection pool described in being put into, the method also includes:
Whether the sum of quantity and second quantity of at least one data transfer request described in judging, which are greater than the database, connects
Connect the maximum thread threshold in pond;
If it is not, determining the difference between at least one described data transfer request and the Thread Count of the idle connection pool;It establishes
The difference belongs to the thread of the idle connection pool;Detect that a thread for belonging to the idle connection pool of the difference is built
It is vertical to complete;According to the priority sequence determine the difference belong to the idle connection pool thread and it is described at least one
Corresponding relationship in data transfer request between remaining data transfer request;The difference is belonged into the idle connection pool
Thread be put into and described used connection pool;
If so, establishing M belongs to the thread of the idle connection pool so that the Thread Count of the database connection pool reaches institute
State maximum thread threshold;It detects that the M threads for belonging to the idle connection pool are established to complete;According to the priority sequence
Column determine priority sequence position in the thread that described M belongs to the idle connection pool and at least one described data transfer request
Corresponding relationship between first quantity+1 to first quantity+M data transfer request;Described M is belonged to
Connection pool has been used described in being put into the thread of the idle connection pool.
6. the method according to claim 1, wherein the database connection pool includes idle connection pool and has made
Use connection pool;The status information includes Thread Count in the idle connection pool and the Thread Count for having used connection pool;It is described
Data connection operation is executed according to the quantity of at least one data transfer request and the status information, comprising:
Judge the Thread Count whether quantity of at least one data transfer request is greater than in the idle connection pool;
If it is not, then extracting the available connection thread of the quantity of at least one data transfer request described in the idle connection pool;
The corresponding relationship between connection thread and at least one described data transfer request can be used described in determination;
Described used in connection pool can be put into connection thread by described.
7. method according to claim 1-6, which is characterized in that described to obtain at least one being currently received
Before the quantity of data transfer request, the method also includes:
Obtain current system time;
Determine the period belonging to the system time;
It is inquiry mark with the period, inquiry third presets mapping relations, obtains the period corresponding minimum thread
Number, it includes the corresponding relationship between period and minimum Thread Count that the third, which presets mapping relations,;
The minimum Thread Count thread is established between the database connection pool and the database.
8. a kind of data transmission device, which is characterized in that be applied to bank server, described device includes processing unit and communication
Unit, wherein
The processing unit is used for, and obtains the number at least one data transfer request for first database being currently received
Amount;And the status information of the database connection pool of the first database is obtained by the communication unit;And according to institute
The quantity and the status information for stating at least one data transfer request are executed at least one described data transfer request
The data transfer operation of each data transfer request.
9. a kind of server, which is characterized in that including processor, memory, communication interface, and one or more programs, institute
It states one or more programs to be stored in the memory, and is configured to be executed by the processor, described program includes
For executing the instruction of the step in the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange,
In, the computer program makes computer execute the method according to claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910184071.4A CN110012075B (en) | 2019-03-12 | 2019-03-12 | Data transmission method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910184071.4A CN110012075B (en) | 2019-03-12 | 2019-03-12 | Data transmission method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110012075A true CN110012075A (en) | 2019-07-12 |
CN110012075B CN110012075B (en) | 2022-02-18 |
Family
ID=67166840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910184071.4A Active CN110012075B (en) | 2019-03-12 | 2019-03-12 | Data transmission method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110012075B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112448968A (en) * | 2019-08-28 | 2021-03-05 | 华为技术有限公司 | Method for processing network request, related device and storage system |
CN114205372A (en) * | 2021-12-08 | 2022-03-18 | 南方电网深圳数字电网研究院有限公司 | Data storage method and device of Internet of things |
US20220121672A1 (en) * | 2019-12-13 | 2022-04-21 | Paypal, Inc. | Self-Adjusting Connection Pool in a Distributed System |
CN115174611A (en) * | 2022-05-31 | 2022-10-11 | 通号城市轨道交通技术有限公司 | Vehicle-mounted virtualization platform |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102243654A (en) * | 2011-06-16 | 2011-11-16 | 苏州阔地网络科技有限公司 | Method and device for controlling and managing database connections |
CN102346767A (en) * | 2011-09-19 | 2012-02-08 | 北京金和软件股份有限公司 | Database connection method based on double connection pools |
CN104063451A (en) * | 2014-06-23 | 2014-09-24 | 北京京东尚科信息技术有限公司 | Database connection management method and system |
US20160065421A1 (en) * | 2014-09-03 | 2016-03-03 | International Business Machines Corporation | Service level agreement (sla) cognizent self-managing database connection pools in a multi-tenant environment |
CN105512188A (en) * | 2015-11-25 | 2016-04-20 | 用友网络科技股份有限公司 | Data connection method and data connection system |
CN106302794A (en) * | 2016-08-31 | 2017-01-04 | 东软集团股份有限公司 | The dynamic setting method of Connecting quantity and device |
CN108124003A (en) * | 2017-12-11 | 2018-06-05 | 中盈优创资讯科技有限公司 | Network management device connection processing method, apparatus and system |
CN108846763A (en) * | 2018-06-05 | 2018-11-20 | 中国平安人寿保险股份有限公司 | Core protects request processing method, device, computer equipment and storage medium |
CN109284311A (en) * | 2018-08-14 | 2019-01-29 | 四川虹美智能科技有限公司 | A kind of method and apparatus obtaining database connection |
-
2019
- 2019-03-12 CN CN201910184071.4A patent/CN110012075B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102243654A (en) * | 2011-06-16 | 2011-11-16 | 苏州阔地网络科技有限公司 | Method and device for controlling and managing database connections |
CN102346767A (en) * | 2011-09-19 | 2012-02-08 | 北京金和软件股份有限公司 | Database connection method based on double connection pools |
CN104063451A (en) * | 2014-06-23 | 2014-09-24 | 北京京东尚科信息技术有限公司 | Database connection management method and system |
US20160065421A1 (en) * | 2014-09-03 | 2016-03-03 | International Business Machines Corporation | Service level agreement (sla) cognizent self-managing database connection pools in a multi-tenant environment |
CN105512188A (en) * | 2015-11-25 | 2016-04-20 | 用友网络科技股份有限公司 | Data connection method and data connection system |
CN106302794A (en) * | 2016-08-31 | 2017-01-04 | 东软集团股份有限公司 | The dynamic setting method of Connecting quantity and device |
CN108124003A (en) * | 2017-12-11 | 2018-06-05 | 中盈优创资讯科技有限公司 | Network management device connection processing method, apparatus and system |
CN108846763A (en) * | 2018-06-05 | 2018-11-20 | 中国平安人寿保险股份有限公司 | Core protects request processing method, device, computer equipment and storage medium |
CN109284311A (en) * | 2018-08-14 | 2019-01-29 | 四川虹美智能科技有限公司 | A kind of method and apparatus obtaining database connection |
Non-Patent Citations (1)
Title |
---|
鲍宏图等: "JSP软件开发中数据库连接池技术的探讨与应用", 《内蒙古大学学报(自然科学版)》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112448968A (en) * | 2019-08-28 | 2021-03-05 | 华为技术有限公司 | Method for processing network request, related device and storage system |
CN112448968B (en) * | 2019-08-28 | 2022-08-09 | 华为云计算技术有限公司 | Method for processing network request, related device and storage system |
US20220121672A1 (en) * | 2019-12-13 | 2022-04-21 | Paypal, Inc. | Self-Adjusting Connection Pool in a Distributed System |
US11580130B2 (en) * | 2019-12-13 | 2023-02-14 | Paypal, Inc. | Self-adjusting connection pool in a distributed system |
CN114205372A (en) * | 2021-12-08 | 2022-03-18 | 南方电网深圳数字电网研究院有限公司 | Data storage method and device of Internet of things |
CN115174611A (en) * | 2022-05-31 | 2022-10-11 | 通号城市轨道交通技术有限公司 | Vehicle-mounted virtualization platform |
Also Published As
Publication number | Publication date |
---|---|
CN110012075B (en) | 2022-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110012075A (en) | Data transmission method and relevant device | |
CN104809132B (en) | A kind of method and device obtaining network principal social networks type | |
CN104123324B (en) | Positioning and obtaining method and device for unread messages | |
CN109242261A (en) | Save the method and terminal device of risk from damage based on big data assessment | |
CN107784424A (en) | Task management method, device, computer equipment and storage medium | |
CN110225104A (en) | Data capture method, device and terminal device | |
CN109409902A (en) | Risk subscribers recognition methods, device, computer equipment and storage medium | |
CN106446786A (en) | Fingerprint identifying method, fingerprint identifying apparatus and terminal device | |
CN106469376A (en) | A kind of risk control method and equipment | |
CN109815731A (en) | Permission processing method and relevant device | |
CN109685377A (en) | Recommendation method and device, electronic equipment and storage medium | |
CN109885597A (en) | Tenant group processing method, device and electric terminal based on machine learning | |
CN109461068A (en) | Judgment method, device, equipment and the computer readable storage medium of fraud | |
CN107908940A (en) | The method and terminal device of a kind of fingerprint recognition | |
CN108564721A (en) | A kind of charging method, server and smart machine | |
CN110149371A (en) | Equipment connection method, device and terminal device | |
CN107797832A (en) | Using method for cleaning, device, storage medium and electronic equipment | |
CN113204429A (en) | Resource scheduling method and system of data center, scheduling equipment and medium | |
CN108924325A (en) | Data processing method and relevant apparatus | |
CN110135190A (en) | Data managing method, server and computer storage medium | |
CN108022031A (en) | A kind of patent value computational methods and device | |
CN113344594B (en) | Method, device, terminal and storage medium for processing worksheet in game | |
CN115330522A (en) | Credit card approval method and device based on clustering, electronic equipment and medium | |
CN109685367A (en) | Abnormal detection method, device and the terminal device for using water power | |
CN109388598A (en) | A kind of information processing method and general-purpose serial bus USB cluster server |
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 |