CN110764900A - Data distribution test method and device under high concurrency, terminal and storage medium - Google Patents

Data distribution test method and device under high concurrency, terminal and storage medium Download PDF

Info

Publication number
CN110764900A
CN110764900A CN201910844250.6A CN201910844250A CN110764900A CN 110764900 A CN110764900 A CN 110764900A CN 201910844250 A CN201910844250 A CN 201910844250A CN 110764900 A CN110764900 A CN 110764900A
Authority
CN
China
Prior art keywords
resource acquisition
preset
time
distribution
allocation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910844250.6A
Other languages
Chinese (zh)
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910844250.6A priority Critical patent/CN110764900A/en
Publication of CN110764900A publication Critical patent/CN110764900A/en
Priority to PCT/CN2020/105939 priority patent/WO2021042919A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Abstract

The embodiment of the invention provides a data distribution test method under high concurrency, which comprises the following steps: acquiring time points once every preset first time period to obtain a time point set; calculating the quantity of resource acquisition requests corresponding to each time point; performing distribution test on the quantity of the resource acquisition requests corresponding to each time point in a preset second time period; acquiring an allocation test result of each time point; determining the optimal resource acquisition request distribution amount in a preset second time period according to the quantity of the resource acquisition requests corresponding to the target time points in two adjacent times; and distributing the optimal resource acquisition request distribution quantity according to a preset distribution rule in a preset second time period. The invention also provides a data distribution testing device under high concurrency, a terminal and a computer readable storage medium. The invention obtains the optimal allocation time and the optimal resource acquisition request processing amount of each processing party, and provides reference for the allocation of resources in the actual production environment.

Description

Data distribution test method and device under high concurrency, terminal and storage medium
Technical Field
The invention relates to the technical field of data analysis, in particular to a data distribution testing method under high concurrency, a data distribution testing device under high concurrency, a terminal and a computer readable storage medium.
Background
In the prior art, before agreeing to a resource acquisition request, risk assessment and audit needs to be performed on the asset condition of a user who makes the resource request, and related resources can be issued only after the audit is passed. After the user submits the resource acquisition request successfully, the background system can automatically allocate the resource acquisition request to the processing party in a timing manner. When a plurality of resource acquisition requests are automatically allocated to a processing party in a server in a short unit time in a timed allocation manner, a test scheme for finding the optimal allocation time and the optimal number of the resource acquisition requests of each processing party is needed to be provided, so that the allocation efficiency of the system to the resource acquisition requests is improved, and a reference is provided for the allocation of resources in the actual production environment.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data allocation testing method under high concurrency, a data allocation testing apparatus under high concurrency, a terminal and a computer readable storage medium, which can obtain an optimal allocation time and an optimal resource acquisition request throughput of each processing party, improve the allocation efficiency of the system for resource acquisition requests, and provide a reference for resource allocation in an actual production environment.
A first aspect of an embodiment of the present invention provides a method for testing data allocation under high concurrency, where the method for testing data allocation under high concurrency includes:
acquiring time points once every preset first time period to obtain a time point set;
calculating the quantity of the resource acquisition requests corresponding to each time point in the time point set according to the functional relationship between the preset time and the quantity of the resource acquisition requests;
performing distribution test on the quantity of the resource acquisition requests corresponding to each time point in a preset second time period according to a preset distribution rule;
obtaining the distribution test result of the resource obtaining request quantity corresponding to each time point;
acquiring the quantity of resource acquisition requests corresponding to two adjacent target time points according to the distribution test result, wherein the test result of the quantity of the resource acquisition requests corresponding to the last target time point is the distribution completion, and the test result of the quantity of the resource acquisition requests corresponding to the next target time point is the distribution incompletion;
determining the optimal resource acquisition request distribution amount in the preset second time period according to the resource acquisition request quantity corresponding to the two adjacent target time points;
and distributing the optimal resource acquisition request distribution amount according to a preset distribution rule in the preset second time period.
Further, in the data allocation testing method under high concurrency provided in the embodiment of the present invention, the step of determining the optimal resource acquisition request allocation amount in the preset second time period according to the resource acquisition request amount corresponding to the two adjacent target time points includes:
acquiring a first time midpoint of the two adjacent target time points;
calculating the quantity of the resource acquisition requests corresponding to the point in the first time according to a function between the preset time and the quantity of the resource acquisition requests;
performing allocation test on the quantity of the resource acquisition requests corresponding to the midpoint of the first time within the preset second time period according to the preset allocation rule;
and if the allocation test result indicates that the resource acquisition request number corresponding to the first time midpoint is allocated, determining the resource acquisition request number corresponding to the first time midpoint as the optimal resource acquisition request allocation amount in the preset second time period.
Further, in the data allocation testing method under high concurrency provided in the embodiment of the present invention, if the allocation testing result is that the number of resource acquisition requests corresponding to the first time midpoint is not allocated, the method further includes:
acquiring a second time midpoint between the last time point and the first time midpoint;
calculating the quantity of the resource acquisition requests corresponding to the point in the second time according to a function between the preset time and the quantity of the resource acquisition requests;
performing allocation test on the quantity of the resource acquisition requests corresponding to the second time point in the preset second time period according to the preset allocation rule;
if the allocation test result indicates that the resource acquisition request number corresponding to the second time midpoint is already allocated, determining the resource acquisition request number corresponding to the second time midpoint as the optimal resource acquisition request allocation amount in the preset second time period;
if the distribution test result indicates that the quantity of the resource acquisition requests corresponding to the second time midpoint is not distributed completely, repeating the process until an nth time midpoint is obtained, wherein the quantity of the resource acquisition requests corresponding to the nth time midpoint is distributed completely in the preset second time period, and determining the quantity of the resource acquisition requests corresponding to the nth time midpoint as the optimal resource acquisition request distribution quantity in the preset second time period.
Further, in the data allocation testing method under high concurrency provided in the embodiment of the present invention, the step of performing, according to a preset allocation rule, an allocation test on the number of resource acquisition requests corresponding to each time point in a preset second time period includes:
acquiring the quantity of the resource acquisition requests distributed by a processor;
and distributing the resource acquisition requests to the processing party at regular time within the preset second time period according to a preset weight value and the number of the distributed resource acquisition requests.
Further, in the data allocation testing method under high concurrency provided in the embodiment of the present invention, the step of performing, according to a preset allocation rule, an allocation test on the number of resource acquisition requests corresponding to each time point in a preset second time period includes:
acquiring log data related to a timing allocation task in a historical resource acquisition request allocation process;
acquiring the time for starting distribution and the time for finishing distribution recorded in the log data;
calculating the distribution rate according to the distribution starting time and the distribution finishing time;
and distributing the resource acquisition request to the processor at regular time within the preset second time period according to the distribution rate.
Further, in the data distribution testing method under high concurrency provided by the embodiment of the present invention, the method further includes:
acquiring the quantity of resource acquisition requests corresponding to the processing party within the preset second time period;
and determining the grade of the processor according to the corresponding quantity of the resource acquisition requests in the preset second time period.
Further, in the data allocation testing method under high concurrency provided in the embodiment of the present invention, the step of determining the rank of the processing party according to the number of resource acquisition requests corresponding to the preset second time period includes:
grading the quantity of the resource acquisition requests acquired in the preset second time period to obtain the grade of the quantity of the resource acquisition requests;
and corresponding the resource acquisition request quantity grade to the processor, and determining the grade of the processor.
A second aspect of the embodiments of the present invention further provides a data distribution testing apparatus under high concurrency, where the data distribution testing apparatus under high concurrency includes:
the time point set acquisition module is used for acquiring time points once every preset first time period to obtain a time point set;
the resource acquisition request quantity calculation module is used for calculating the quantity of the resource acquisition requests corresponding to each time point in the time point set according to the functional relationship between the preset time and the quantity of the resource acquisition requests;
the allocation testing module is used for performing allocation testing on the quantity of the resource acquisition requests corresponding to each time point in a preset second time period according to a preset allocation rule;
a test result determining module, configured to obtain a distribution test result of the number of the resource obtaining requests corresponding to each time point;
a resource acquisition request acquisition module at adjacent time points, configured to acquire the number of resource acquisition requests corresponding to the two adjacent target time points according to the allocation test result, where a test result of the number of resource acquisition requests corresponding to a previous target time point is that allocation is completed, and a test result of the number of resource acquisition requests corresponding to a next target time point is that allocation is not completed;
an optimal resource acquisition request quantity determining module, configured to determine an optimal resource acquisition request allocation quantity within the preset second time period according to the resource acquisition request quantity corresponding to the two adjacent target time points;
and the resource acquisition request quantity distribution module is used for distributing the optimal resource acquisition request distribution quantity according to a preset distribution rule in the preset second time period.
A third aspect of an embodiment of the present invention further provides a terminal, where the terminal includes a processor, and the processor is configured to implement any one of the above-mentioned data distribution test methods under high concurrency when executing a computer program stored in a memory.
The fourth aspect of the embodiments of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for testing data distribution under high concurrency is implemented.
The embodiment of the invention provides a data distribution testing method under high concurrency, a data distribution testing device under high concurrency, a terminal and a computer readable storage medium, wherein time points are obtained once every preset first time period to obtain a time point set; calculating the quantity of the resource acquisition requests corresponding to each time point in the time point set according to the functional relationship between the preset time and the quantity of the resource acquisition requests; performing distribution test on the quantity of the resource acquisition requests corresponding to each time point in a preset second time period according to a preset distribution rule; obtaining the distribution test result of the resource obtaining request quantity corresponding to each time point; acquiring the quantity of resource acquisition requests corresponding to two adjacent target time points according to the distribution test result, wherein the test result of the quantity of the resource acquisition requests corresponding to the last target time point is the distribution completion, and the test result of the quantity of the resource acquisition requests corresponding to the next target time point is the distribution incompletion; determining the optimal resource acquisition request distribution amount in the preset second time period according to the resource acquisition request quantity corresponding to the two adjacent target time points; and distributing the optimal resource acquisition request distribution amount according to a preset distribution rule in the preset second time period. By utilizing the embodiment of the invention, the allocation test is carried out on the quantity of the resource acquisition requests according to the preset allocation rule, and the optimal allocation time and the optimal quantity of the resource acquisition requests for processing of each processing party are obtained by analyzing the test result of the quantity of each resource acquisition request, so that the allocation efficiency of the system on the resource acquisition requests is improved, and the reference is provided for the allocation of resources in the actual production environment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a data distribution test method under high concurrency according to a first embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Fig. 3 is an exemplary functional block diagram of the terminal shown in fig. 2.
Description of the main elements
Terminal device 1
Memory device 10
Display screen 20
Processor with a memory having a plurality of memory cells 30
Data distribution testing device under high concurrency 100
Time point set acquisition module 101
Resource acquisition request quantity calculation module 103
Distribution test module 105
Test result determination module 107
Adjacent time point resource obtaining request obtaining module 109
Optimal resource acquisition request quantity determining module 111
Resource acquisition request quantity distribution module 113
The following detailed description further illustrates embodiments of the invention in conjunction with the above-described figures.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a detailed description of the present invention will be given below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth to provide a thorough understanding of the present invention, and the described embodiments are merely a subset of the embodiments of the present invention, rather than a complete embodiment. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Fig. 1 is a flowchart of a data distribution test method under high concurrency according to a first embodiment of the present invention, where the data distribution test method under high concurrency can be applied to a terminal 1, and the terminal 1 can be an intelligent device such as a smart phone, a notebook computer, a desktop/tablet computer, a smart watch, and a Personal Digital Assistant (PDA). As shown in fig. 1, the data distribution testing method under high concurrency may include the following steps:
s1: and acquiring time points once every preset first time period to obtain a time point set.
When a user acquires a resource, a resource acquisition request needs to be made. After receiving instruction information of a resource acquisition request initiated by a user, a resource acquisition request page is generated and pushed to the user. The method comprises the steps that a user fills in relevant information of a resource acquisition request on a resource acquisition request page according to a prompt requirement, an auditing mechanism receives the relevant information of the resource acquisition request in real time and audits whether the relevant information of the resource acquisition request meets the requirement, and subsequent procedures for resource acquisition are arranged only after the audit is passed. It can be understood that, the embodiment of the present invention further provides an interactive interface, where a preset area on the interactive interface may be provided with a "resource acquisition" icon, and the instruction information may include: clicking operation on a resource acquisition icon in a preset area on the interactive interface; or, a preset operation (e.g., the preset operation is a one-hand circling operation) at a preset distance (e.g., the preset distance is 5 centimeters) from the interactive interface; or outputting preset voice information (for example, the preset voice information is "acquisition resource") at a preset distance (for example, the preset distance is 5 cm) from the interactive interface. No limitation is made to the instruction information here.
In at least one embodiment of the present invention, the resource acquisition request may be automatically allocated to the relevant processing party by means of resource acquisition request timing allocation. Before the resource acquisition request is automatically allocated to the relevant processing party, it is necessary to provide a test method for finding the optimal allocation time and the optimal processing application amount of each processing party, so as to provide a reference for the allocation of resources in the actual production environment. Specifically, time points are acquired every preset first time period to obtain a time point set. The preset first time period may be preset by an end user, for example, the preset first time period is 1 minute. The time points are obtained every 1 minute, and the obtained time point sets are {1min, 2min, 3min, 4min, …, 20min, … }.
S2: and calculating the quantity of the resource acquisition requests corresponding to each time point in the time point set according to the functional relationship between the preset time and the quantity of the resource acquisition requests.
As time increases, the number of resource acquisition requests increases. An incremental function model may be selected to construct a functional relationship between the predetermined time and the number of resource acquisition requests. In general, the incremental function model may include a first order function, a second order function, an exponential function, and a logarithmic function. It can be understood that, for the linear function, the number of the resource acquisition requests increases in a certain proportion to the preset time, which is not in line with the actual situation; for the quadratic function and the exponential function, the quantity of the resource acquisition requests increases along with the increase of time, the increase rate of the quantity of the requests is faster and faster, and the method does not conform to the actual situation; for the logarithm function, the quantity of the resource acquisition requests increases with time, and the increase of the application quantity is smooth and consistent with the actual situation.
In at least one embodiment of the present invention, the functional relationship between the number of resource acquisition requests and the preset time may be expressed as a function y-logax, wherein y represents the number of resource acquisition requests, x represents a time point, and a is a normal number greater than 1. And substituting each time point in the time point set into the functional expression according to the functional relationship between the preset time and the quantity of the resource acquisition requests, so as to obtain the quantity of the resource acquisition requests corresponding to each time point in the time point set.
S3: and performing distribution test on the quantity of the resource acquisition requests corresponding to each time point in a preset second time period according to a preset distribution rule.
In at least one embodiment of the present invention, the allocating test is performed on the quantity of the resource obtaining requests corresponding to each time point in a preset second time period according to a preset allocation rule, where the factor that needs to be considered by the preset allocation rule may include: the method comprises the steps of obtaining a city corresponding to a resource obtaining request, information of a processing party corresponding to the city, a preset weight value and an allocated condition corresponding to the processing party. Specifically, the step of performing the allocation test on the resource acquisition request quantity corresponding to each time point within a preset second time period according to a preset allocation rule includes: acquiring the resource acquisition request quantity distributed by the processor; and carrying out timed distribution on the resource acquisition requests according to a preset weight value and the distributed quantity of the resource acquisition requests.
The preset second time period is preset by the terminal user according to the actual resource acquisition request allocation condition, for example, the preset second time period is 15 minutes. The processor information includes information such as processor level, number of processors, and number of processors at the corresponding processor level. The condition of the allocated resource acquisition requests in the processing party information includes the number of resource acquisition requests waiting to be processed by each processing party before the current time allocation is started. The preset weight value may be preset by an end user according to actual conditions (e.g., a level condition of the processing party, a number condition of the processing party, etc.).
In at least one embodiment of the present invention, the step of performing, according to a preset allocation rule, an allocation test on the number of resource acquisition requests corresponding to each time point in a preset second time period includes: acquiring log data related to a timing allocation task in a historical resource acquisition request allocation process; acquiring the time for starting distribution and the time for finishing distribution recorded in the log data; calculating the distribution rate according to the distribution starting time and the distribution finishing time; and distributing the resource acquisition request to the processor at regular time within the preset second time period according to the distribution rate. Wherein the allocation rate is the time required for completing one resource acquisition request. The allocation number of the current system can be calculated by the code performance matched with the system. For example, if the system can allocate one resource acquisition request every 10 seconds or so according to the allocation rate available from the code performance matched with the system, it is expected that 6 resource acquisition requests can be allocated in 1 minute.
S4: and acquiring the distribution test result of the resource acquisition request quantity corresponding to each time point.
In at least one embodiment of the present invention, obtaining an allocation test result of the number of the resource obtaining requests corresponding to each time point, where the allocation test result includes: each resource acquisition request can complete allocation; alternatively, there are resource acquisition requests that do not complete the allocation.
S5: and acquiring the quantity of the resource acquisition requests corresponding to the two adjacent target time points according to the distribution test result, wherein the test result of the quantity of the resource acquisition requests corresponding to the last target time point is the distribution completion, and the test result of the quantity of the resource acquisition requests corresponding to the next target time point is the distribution incompletion.
In at least one embodiment of the present invention, the step of obtaining the number of resource obtaining requests corresponding to two adjacent target time points according to the distribution test result includes: acquiring a preset number of time points before and/or after the end point of the preset second time period; determining the distribution test results corresponding to the preset number of time points; selecting the distribution test result of the quantity of the resource acquisition requests corresponding to the previous time point as the distributed finished quantity, and selecting the adjacent two time points of which the distribution test result of the quantity of the resource acquisition requests corresponding to the next time point is the non-distributed unfinished quantity as the adjacent two target time points; and calculating the quantity of the resource acquisition requests corresponding to the two adjacent target time points according to the functional relationship between the preset time and the quantity of the resource acquisition requests. Wherein the preset number is preset by the terminal user.
And acquiring two adjacent target time points after the end point of the preset second time period under the condition that the quantity of each resource acquisition request can be distributed within the preset second time period, wherein the test result of the quantity of the resource acquisition requests corresponding to the last target time point is distributed already, and the test result of the quantity of the resource acquisition requests corresponding to the next target time point is not distributed yet. It is to be understood that, when the end point of the preset second time period is a point in the time point set (for example, the time point set is {1min, 2min, 3min, 4min, …, 20min, … }, and the preset second time period is 10min, then the end point of the preset second time period is 10min, 20min, etc., and the end point is a point in the time point set), the test result of the number of resource acquisition requests corresponding to the end point is that allocation is completed, acquiring the time points corresponding to the end points and then with the preset number, determining the test results corresponding to the time points with the preset number, selecting the test results corresponding to the last time point with the resource acquisition request number as the completed allocation, and the test result of the quantity of the resource acquisition requests corresponding to the next time point is that the adjacent two time points which are not distributed are target time points; and calculating the quantity of the resource acquisition requests corresponding to the two adjacent target time points according to the functional relationship between the preset time and the quantity of the resource acquisition requests. When the end point of the preset second time period is not the point in the time point set, acquiring a next time point adjacent to the end point of the preset second time period, judging whether the test result of the quantity of the resource acquisition requests corresponding to the next time point is allocated, if the judgment result is that the allocation of the resource acquisition requests is completed, acquiring a next time point corresponding to the next time point, and continuously judging whether the corresponding test result is allocated, until a time point is found, and the corresponding allocation test result is unallocated. If the judgment result is that the allocation of the resource acquisition request is not completed, the acquired two adjacent target time points are respectively the last time point corresponding to the end of the preset second time period and the next time point corresponding to the end of the preset second time period.
And acquiring two adjacent time points under the condition that the quantity of the resource acquisition requests which are not distributed completely exists in the preset second time period, wherein the test result of the quantity of the resource acquisition requests corresponding to the last time point is that the distribution is completed, and the test result of the quantity of the resource acquisition requests corresponding to the next time point is that the distribution is not completed. It can be understood that, when the end point of the preset second time period is a point in the time point set, and the test result of the resource acquisition request corresponding to the end point is unfinished allocation, a preset number of time points before the end point are acquired, and the test result corresponding to the preset number of time points is determined; selecting the test result of the quantity of the resource acquisition requests corresponding to the previous time point as the allocated time point, and selecting the adjacent two time points of which the test result of the quantity of the resource acquisition requests corresponding to the next time point is the non-allocated time point as the target time point; and calculating the quantity of the resource acquisition requests corresponding to the adjacent two time points according to the functional relationship between the preset time and the quantity of the resource acquisition requests. When the ending point of the preset second time period is not the point in the time point set, acquiring a previous time point adjacent to the ending point of the preset second time period, and judging whether the test result of the quantity of the resource acquisition requests corresponding to the previous time point is the distribution completion or not, if the judgment result is the distribution completion, the acquired two adjacent target time points are respectively the next time point corresponding to the previous time point corresponding to the ending point of the preset second time period and the ending point of the preset second time period. If the judgment result is that the distribution is not finished, acquiring a next previous time point corresponding to the previous time point, and continuously judging whether the corresponding test result is distributed finished or not until a time point is found and the corresponding distribution test result is distributed finished.
S6: and determining the optimal resource acquisition request distribution amount in the preset second time period according to the resource acquisition request quantity corresponding to the two adjacent target time points.
In this embodiment, the optimal resource acquisition request allocation amount in the preset second time period is determined according to the resource acquisition request number corresponding to the two adjacent target time points, where the optimal resource acquisition request allocation amount also refers to: in the preset second time period, the quantity of the resource acquisition requests can be completely distributed, and when one resource acquisition request is newly added on the basis of the current quantity of the resource acquisition requests, the newly added resource acquisition request cannot be distributed, and the quantity of the resource acquisition requests at this time is the optimal quantity of the resource acquisition requests.
The step of determining the optimal resource acquisition request allocation amount within the preset second time period according to the resource acquisition request number corresponding to the two adjacent target time points comprises: acquiring a first time midpoint of the two adjacent target time points; calculating the quantity of the resource acquisition requests corresponding to the point in the first time according to a function between the preset time and the quantity of the resource acquisition requests; performing allocation test on the quantity of the resource acquisition requests corresponding to the midpoint of the first time within the preset second time period according to the preset allocation rule; and if the allocation test result indicates that the resource acquisition request number corresponding to the first time midpoint is allocated, determining the resource acquisition request number corresponding to the first time midpoint as the optimal resource acquisition request allocation amount in the preset second time period.
If the allocation test result is that the number of the resource acquisition requests corresponding to the first time point is not allocated completely, the method further comprises: acquiring a second time midpoint between the last time point and the first time midpoint; calculating the quantity of the resource acquisition requests corresponding to the point in the second time according to a function between the preset time and the quantity of the resource acquisition requests; performing allocation test on the quantity of the resource acquisition requests corresponding to the second time point in the preset second time period according to the preset allocation rule; if the allocation test result indicates that the resource acquisition request number corresponding to the second time midpoint is already allocated, determining the resource acquisition request number corresponding to the second time midpoint as the optimal resource acquisition request allocation amount in the preset second time period; if the distribution test result indicates that the quantity of the resource acquisition requests corresponding to the second time midpoint is not distributed completely, repeating the process until an nth time midpoint is obtained, wherein the quantity of the resource acquisition requests corresponding to the nth time midpoint is distributed completely in the preset second time period, and determining the quantity of the resource acquisition requests corresponding to the nth time midpoint as the optimal resource acquisition request distribution quantity in the preset second time period.
Further, the method further comprises: acquiring the quantity of resource acquisition requests corresponding to the adjacent two time points corresponding to different processing parties; and determining the grade of a processing party according to the quantity of the resource acquisition requests corresponding to the adjacent two time points.
Preferably, the determining the rank of the processing party according to the number of resource acquisition requests corresponding to the two adjacent time points includes: respectively arranging the quantity of the resource acquisition requests acquired at two adjacent time points according to an increasing and/or decreasing sequence, and carrying out grade division on the arranged quantity of the resource acquisition requests to obtain the grade of the quantity of the resource acquisition requests; and corresponding the resource acquisition request quantity level to a processing party, and determining the level of the processing party. For example, the number of the predetermined levels of the processing party is three, which are level 3, level 2 and level 1. The resource acquisition request quantity obtained at two adjacent time points is respectively arranged according to an increasing and/or decreasing sequence, the resource acquisition request quantity obtained at the time point a is assumed to be the time point a, the resource acquisition request quantity obtained at the time point b is assumed to be 6, 4 and 3, the resource acquisition request quantity obtained at the time point b is assumed to be 6, 5 and 4, and the arranged resource acquisition request quantity is graded to obtain the resource acquisition request quantity grade. It can be understood that, for the number of resource acquisition requests acquired at each time point, a first preset value, a second preset value and a third preset value are set, and the first/second/third preset values are used for performing rank division on the arranged number of resource acquisition requests. For example, for the time point a, the first preset value is 5, the second preset value is 3, the third preset value is 2, the corresponding rank is a for the number of resource acquisition requests greater than the first preset value 5, the corresponding rank is B for the number of resource acquisition requests greater than the second preset value 3, and the corresponding rank is C for the number of resource acquisition requests greater than the third preset value 2. And corresponding the resource acquisition request quantity level to a processing party, and determining the level of the processing party. Thus, the resource acquisition request number level a corresponds to the processor level 3, the resource acquisition request number level B corresponds to the processor level 2, and the resource acquisition request number level C corresponds to the processor level 1.
It can be understood that the number of resource acquisition requests corresponding to different levels is different, and the higher the level is, the higher the number of resource acquisition requests corresponding to the higher the level is; the level of the resource acquisition request quantity corresponds to different processing parties, the level of the processing party is determined, and the higher the level of the processing party is, the higher the level of the corresponding resource acquisition request quantity is, and the higher the distributed resource acquisition request quantity is.
In this embodiment, a stability test needs to be performed on the system allocation rule, and the preset allocation rule may be deployed on a plurality of servers, continuously run for a preset number of days, and obtain a stability test result. Specifically, within a preset number of days, it is determined whether the current resource acquisition request can be correctly allocated without errors, where the correct allocation and the no errors indicate that the optimal resource acquisition request allocation amount is applicable to the current system, and the optimal resource acquisition request allocation amount can be allocated within the preset second time period. When the stability test result indicates that all the resource obtaining requests can be correctly allocated and no error occurs, a large number of resource obtaining requests can be set on the test script, and whether the large number of resource obtaining requests can be correctly allocated and no error occurs can be checked. When a large number of resource acquisition requests can be correctly allocated and no error occurs, the current system allocation rule is stable. When the stability test result indicates that there is an allocation error in the resource acquisition request, two measures may be taken. One is to immediately stop continuing allocation and output an error prompt when the resource acquisition request generates an incomplete allocation, and the prompt may include which resource acquisition request is not allocated. And the other method is that when the resource acquisition request is not distributed completely, the resource acquisition request distribution operation is continuously executed until the test of the preset number of days is finished, an error prompt is output, the prompt content comprises the number of times of errors occurring in the preset number of days, and the probability of the errors occurring can be obtained according to the number of times of errors occurring in the preset number of days, so that the source of the errors is found out, and the problem is solved.
S7: and distributing the optimal resource acquisition request distribution amount according to a preset distribution rule in the preset second time period.
In this embodiment, before allocating the optimal resource acquisition request allocation amount according to a preset allocation rule in the preset second time period, the method further includes: detecting whether the mode of the processing party is changed automatically/manually; if the mode of the processing party is detected to be changed, retesting is needed, and the optimal resource acquisition request distribution quantity in the preset second time period is acquired. For a fixed processor mode, say, the processor ranks are A, B and C, and the number of processors in each rank is 2, the setting of the optimal resource acquisition request allocation amount within the preset second time period of the system found by the test may not need to be changed for such a fixed processor mode. When the mode of the processing party is detected to be changed, for example, one processing party is increased or decreased, the testing needs to be performed again in a manual or automatic mode to obtain the optimal resource obtaining request allocation amount in the preset second time period.
The embodiment of the invention provides a data distribution test method under high concurrency, which is characterized in that time points are obtained once every preset first time period to obtain a time point set; calculating the quantity of the resource acquisition requests corresponding to each time point in the time point set according to the functional relationship between the preset time and the quantity of the resource acquisition requests; performing distribution test on the quantity of the resource acquisition requests corresponding to each time point in a preset second time period according to a preset distribution rule; obtaining the distribution test result of the resource obtaining request quantity corresponding to each time point; acquiring the quantity of resource acquisition requests corresponding to two adjacent target time points according to the distribution test result, wherein the test result of the quantity of the resource acquisition requests corresponding to the last target time point is the distribution completion, and the test result of the quantity of the resource acquisition requests corresponding to the next target time point is the distribution incompletion; determining the optimal resource acquisition request distribution amount in the preset second time period according to the resource acquisition request quantity corresponding to the two adjacent target time points; and distributing the optimal resource acquisition request distribution amount according to a preset distribution rule in the preset second time period. By utilizing the embodiment of the invention, a test method for finding the optimal allocation time and the optimal processing application amount of each processing party is provided, the allocation efficiency of the system to the resource acquisition request is improved, and reference is provided for the allocation of resources in the actual production environment.
The above is a detailed description of the method provided by the embodiments of the present invention. The order of execution of the blocks in the flowcharts shown may be changed, and some blocks may be omitted, according to various needs. The following describes the terminal 1 provided in the embodiment of the present invention.
The embodiment of the present invention further provides a terminal 1, which includes a memory 10, a processor 30, and a computer program stored in the memory 10 and capable of running on the processor 30, where when the processor 30 executes the program, the steps of the data distribution test method under high concurrency described in any one of the above embodiments are implemented.
Fig. 2 is a schematic configuration diagram of a terminal 1 according to an embodiment of the present invention, and as shown in fig. 2, the terminal 1 includes a memory 10, and a data distribution test apparatus 100 under high concurrency is stored in the memory 10. The terminal 1 may be a terminal 1 with an application display function, such as a mobile phone, a tablet computer, and a personal digital assistant. The data distribution testing device 100 under high concurrency may obtain a time point once every preset first time period, so as to obtain a time point set; calculating the quantity of the resource acquisition requests corresponding to each time point in the time point set according to the functional relationship between the preset time and the quantity of the resource acquisition requests; performing distribution test on the quantity of the resource acquisition requests corresponding to each time point in a preset second time period according to a preset distribution rule; obtaining the distribution test result of the resource obtaining request quantity corresponding to each time point; acquiring the quantity of resource acquisition requests corresponding to two adjacent target time points according to the distribution test result, wherein the test result of the quantity of the resource acquisition requests corresponding to the last target time point is the distribution completion, and the test result of the quantity of the resource acquisition requests corresponding to the next target time point is the distribution incompletion; determining the optimal resource acquisition request distribution amount in the preset second time period according to the resource acquisition request quantity corresponding to the two adjacent target time points; and distributing the optimal resource acquisition request distribution amount according to a preset distribution rule in the preset second time period. By utilizing the embodiment of the invention, a test method for finding the optimal allocation time and the optimal processing application amount of each processing party is provided, the allocation efficiency of the system to the resource acquisition request is improved, and reference is provided for the allocation of resources in the actual production environment.
In this embodiment, the terminal 1 may further include a display 20 and a processor 30. The memory 10 and the display screen 20 can be electrically connected with the processor 30 respectively.
The memory 10 may be of different types of memory devices for storing various types of data. For example, the memory or internal memory of the terminal 1 may be used, or a memory Card that can be externally connected to the terminal 1, such as a flash memory, an SM Card (Smart Media Card), an SD Card (Secure Digital Card), and the like. Further, the memory 10 may include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other non-volatile solid state storage device. The memory 10 is used for storing various types of data, for example, various types of application programs (Applications) installed in the terminal 1, data set and acquired by applying the data distribution test method under the high concurrency.
A display 20 is mounted to the terminal 1 for displaying information.
The processor 30 is used for executing the data distribution test method under high concurrency and various types of software installed in the terminal 1, such as an operating system, application display software and the like. The processor 30 includes, but is not limited to, a Central Processing Unit (CPU), a Micro Controller Unit (MCU), and other devices for interpreting a computer and processing data in computer software.
The high concurrency data distribution testing device 100 may include one or more modules stored in the memory 10 of the terminal 1 and configured to be executed by one or more processors (in this embodiment, one processor 30) to implement the embodiments of the present invention. For example, referring to fig. 3, the data allocation testing apparatus 100 under high concurrency may include a time point set obtaining module 101, a resource obtaining request number calculating module 103, an allocation testing module 105, a testing result determining module 107, an adjacent time point resource obtaining request obtaining module 109, an optimal resource obtaining request number determining module 111, and a resource obtaining request number allocating module 113. The modules referred to in the embodiments of the present invention may be program segments that perform a specific function, and are more suitable than programs for describing the execution process of software in a processor.
It is understood that, corresponding to the embodiments of the data distribution test method under high concurrency, the terminal 1 may include some or all of the functional modules shown in fig. 3, and the functions of the modules will be described in detail below. It should be noted that the same noun and its specific explanation in the above embodiments of the data distribution test method under high concurrency may also be applied to the following functional description of each module. For brevity and to avoid repetition, further description is omitted.
The time point set obtaining module 101 may be configured to obtain time points once every preset first time period, so as to obtain a time point set.
The resource obtaining request number calculating module 103 may be configured to calculate, according to a functional relationship between preset time and the resource obtaining request number, the resource obtaining request number corresponding to each time point in the time point set.
The allocation testing module 105 may be configured to perform an allocation test on the quantity of the resource obtaining requests corresponding to each time point in a preset second time period according to a preset allocation rule.
The test result determining module 107 may be configured to obtain a distribution test result of the number of the resource obtaining requests corresponding to each time point.
The adjacent time point resource obtaining request obtaining module 109 may be configured to obtain, according to the distribution test result, the number of resource obtaining requests corresponding to two adjacent target time points, where a test result of the number of resource obtaining requests corresponding to a previous target time point is that distribution is completed, and a test result of the number of resource obtaining requests corresponding to a next target time point is that distribution is not completed.
The optimal resource obtaining request quantity determining module 111 may be configured to determine the optimal resource obtaining request allocation quantity in the preset second time period according to the resource obtaining request quantity corresponding to the two adjacent target time points.
The resource obtaining request quantity allocating module 113 may be configured to allocate the optimal resource obtaining request allocation quantity according to a preset allocation rule in the preset second time period.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the data distribution testing method under high concurrency in any of the above embodiments.
The high concurrency data distribution testing device 100/terminal 1/computer device integrated module/unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the above method embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), or the like.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 30 is a control center of the data distribution testing device 100/terminal 1 under high concurrency, and various interfaces and lines are used to connect various parts of the data distribution testing device 100/terminal 1 under high concurrency.
The memory 10 is used for storing the computer programs and/or modules, and the processor 30 implements various functions of the data distribution testing device 100/terminal 1 under high concurrency by running or executing the computer programs and/or modules stored in the memory and calling the data stored in the memory 10. The memory 10 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data) created according to the use of the terminal 1, and the like.
In the several embodiments provided in the present invention, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the system embodiments described above are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
It will be evident to those skilled in the art that the embodiments of the present invention are not limited to the details of the foregoing illustrative embodiments, and that the embodiments of the present invention are capable of being embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the embodiments being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. A plurality of units, modules or devices recited in the claims may also be implemented by one and the same unit, module or device by software or hardware.
Although the embodiments of the present invention have been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the spirit and scope of the embodiments of the present invention.

Claims (10)

1. A data distribution test method under high concurrency is characterized by comprising the following steps:
acquiring time points once every preset first time period to obtain a time point set;
calculating the quantity of the resource acquisition requests corresponding to each time point in the time point set according to the functional relationship between the preset time and the quantity of the resource acquisition requests;
performing distribution test on the quantity of the resource acquisition requests corresponding to each time point in a preset second time period according to a preset distribution rule;
obtaining the distribution test result of the resource obtaining request quantity corresponding to each time point;
acquiring the quantity of resource acquisition requests corresponding to two adjacent target time points according to the distribution test result, wherein the test result of the quantity of the resource acquisition requests corresponding to the last target time point is the distribution completion, and the test result of the quantity of the resource acquisition requests corresponding to the next target time point is the distribution incompletion;
determining the optimal resource acquisition request distribution amount in the preset second time period according to the resource acquisition request quantity corresponding to the two adjacent target time points;
and distributing the optimal resource acquisition request distribution amount according to a preset distribution rule in the preset second time period.
2. The method for testing data distribution under high concurrency according to claim 1, wherein the step of determining the optimal allocation amount of the resource obtaining requests within the preset second time period according to the number of the resource obtaining requests corresponding to the two adjacent target time points comprises:
acquiring a first time midpoint of the two adjacent target time points;
calculating the quantity of the resource acquisition requests corresponding to the point in the first time according to a function between the preset time and the quantity of the resource acquisition requests;
performing allocation test on the quantity of the resource acquisition requests corresponding to the midpoint of the first time within the preset second time period according to the preset allocation rule;
and if the allocation test result indicates that the resource acquisition request number corresponding to the first time midpoint is allocated, determining the resource acquisition request number corresponding to the first time midpoint as the optimal resource acquisition request allocation amount in the preset second time period.
3. The method according to claim 2, wherein if the allocation test result indicates that the number of resource acquisition requests corresponding to the first time point does not complete allocation, the method further comprises:
acquiring a second time midpoint between the last time point and the first time midpoint;
calculating the quantity of the resource acquisition requests corresponding to the point in the second time according to a function between the preset time and the quantity of the resource acquisition requests;
performing allocation test on the quantity of the resource acquisition requests corresponding to the second time point in the preset second time period according to the preset allocation rule;
if the allocation test result indicates that the resource acquisition request number corresponding to the second time midpoint is already allocated, determining the resource acquisition request number corresponding to the second time midpoint as the optimal resource acquisition request allocation amount in the preset second time period;
if the distribution test result indicates that the quantity of the resource acquisition requests corresponding to the second time midpoint is not distributed completely, repeating the process until an nth time midpoint is obtained, wherein the quantity of the resource acquisition requests corresponding to the nth time midpoint is distributed completely in the preset second time period, and determining the quantity of the resource acquisition requests corresponding to the nth time midpoint as the optimal resource acquisition request distribution quantity in the preset second time period.
4. The method according to claim 1, wherein the step of performing the distribution test on the number of the resource acquisition requests corresponding to each time point within a preset second time period according to a preset distribution rule comprises:
acquiring the quantity of the resource acquisition requests distributed by a processor;
and distributing the resource acquisition requests to the processing party at regular time within the preset second time period according to a preset weight value and the number of the distributed resource acquisition requests.
5. The method according to claim 1, wherein the step of performing the distribution test on the number of the resource acquisition requests corresponding to each time point within a preset second time period according to a preset distribution rule comprises:
acquiring log data related to a timing allocation task in a historical resource acquisition request allocation process;
acquiring the time for starting distribution and the time for finishing distribution recorded in the log data;
calculating the distribution rate according to the distribution starting time and the distribution finishing time;
and distributing the resource acquisition request to the processor at regular time within the preset second time period according to the distribution rate.
6. The method for testing data distribution under high concurrency as claimed in claim 4, wherein the method further comprises:
acquiring the quantity of resource acquisition requests corresponding to the adjacent two time points corresponding to different processing parties;
and determining the grade of the processing party according to the quantity of the resource acquisition requests corresponding to the adjacent two time points.
7. The method according to claim 6, wherein the step of determining the processor level according to the number of resource obtaining requests corresponding to the two adjacent time points comprises:
arranging the quantity of the resource acquisition requests acquired in two adjacent time points according to an increasing and/or decreasing sequence respectively, and grading the arranged quantity of the resource acquisition requests to obtain the grade of the quantity of the resource acquisition requests;
and corresponding the resource acquisition request quantity grade to the processor, and determining the grade of the processor.
8. A data distribution testing device under high concurrency, characterized in that the data distribution testing device under high concurrency comprises:
the time point set acquisition module is used for acquiring time points once every preset first time period to obtain a time point set;
the resource acquisition request quantity calculation module is used for calculating the quantity of the resource acquisition requests corresponding to each time point in the time point set according to the functional relationship between the preset time and the quantity of the resource acquisition requests;
the allocation testing module is used for performing allocation testing on the quantity of the resource acquisition requests corresponding to each time point in a preset second time period according to a preset allocation rule;
a test result determining module, configured to obtain a distribution test result of the number of the resource obtaining requests corresponding to each time point;
a resource acquisition request acquisition module at adjacent time points, configured to acquire the number of resource acquisition requests corresponding to the two adjacent target time points according to the allocation test result, where a test result of the number of resource acquisition requests corresponding to a previous target time point is that allocation is completed, and a test result of the number of resource acquisition requests corresponding to a next target time point is that allocation is not completed;
an optimal resource acquisition request quantity determining module, configured to determine an optimal resource acquisition request allocation quantity within the preset second time period according to the resource acquisition request quantity corresponding to the two adjacent target time points;
and the resource acquisition request quantity distribution module is used for distributing the optimal resource acquisition request distribution quantity according to a preset distribution rule in the preset second time period.
9. A terminal, characterized in that the terminal comprises a processor for implementing a data distribution test method at high concurrency according to any one of claims 1 to 7 when executing a computer program stored in a memory.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for data distribution testing at high concurrency according to any one of claims 1 to 7.
CN201910844250.6A 2019-09-06 2019-09-06 Data distribution test method and device under high concurrency, terminal and storage medium Pending CN110764900A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910844250.6A CN110764900A (en) 2019-09-06 2019-09-06 Data distribution test method and device under high concurrency, terminal and storage medium
PCT/CN2020/105939 WO2021042919A1 (en) 2019-09-06 2020-07-30 Data allocation test method and device under high concurrency, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910844250.6A CN110764900A (en) 2019-09-06 2019-09-06 Data distribution test method and device under high concurrency, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN110764900A true CN110764900A (en) 2020-02-07

Family

ID=69330569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910844250.6A Pending CN110764900A (en) 2019-09-06 2019-09-06 Data distribution test method and device under high concurrency, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN110764900A (en)
WO (1) WO2021042919A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181498A (en) * 2020-10-09 2021-01-05 中国工商银行股份有限公司 Concurrency control method, device and equipment
WO2021042919A1 (en) * 2019-09-06 2021-03-11 深圳壹账通智能科技有限公司 Data allocation test method and device under high concurrency, terminal, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110191781A1 (en) * 2010-01-30 2011-08-04 International Business Machines Corporation Resources management in distributed computing environment
CN106293931A (en) * 2015-06-23 2017-01-04 北京神州泰岳软件股份有限公司 A kind of method and apparatus of distribution server resource
CN106875027A (en) * 2016-06-06 2017-06-20 阿里巴巴集团控股有限公司 The Forecasting Methodology and device of resource request value, the Forecasting Methodology of trading volume
CN109597685A (en) * 2018-09-30 2019-04-09 阿里巴巴集团控股有限公司 Method for allocating tasks, device and server

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101639792B (en) * 2008-07-29 2016-04-06 阿里巴巴集团控股有限公司 A kind of concurrent data disposal route, device and a kind of electronic accounting system
CN101593134B (en) * 2009-06-29 2012-05-30 北京航空航天大学 Method and device for allocating CPU resources of virtual machine
US9015188B2 (en) * 2011-09-28 2015-04-21 Bmc Software, Inc. Methods and apparatus for monitoring execution of a database query program
CN107220165B (en) * 2016-03-21 2020-08-04 阿里巴巴集团控股有限公司 Method and device for simulating online pressure test
CN108629611A (en) * 2017-03-24 2018-10-09 北京京东尚科信息技术有限公司 Method and apparatus for distributing resource
CN110764900A (en) * 2019-09-06 2020-02-07 深圳壹账通智能科技有限公司 Data distribution test method and device under high concurrency, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110191781A1 (en) * 2010-01-30 2011-08-04 International Business Machines Corporation Resources management in distributed computing environment
CN106293931A (en) * 2015-06-23 2017-01-04 北京神州泰岳软件股份有限公司 A kind of method and apparatus of distribution server resource
CN106875027A (en) * 2016-06-06 2017-06-20 阿里巴巴集团控股有限公司 The Forecasting Methodology and device of resource request value, the Forecasting Methodology of trading volume
CN109597685A (en) * 2018-09-30 2019-04-09 阿里巴巴集团控股有限公司 Method for allocating tasks, device and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021042919A1 (en) * 2019-09-06 2021-03-11 深圳壹账通智能科技有限公司 Data allocation test method and device under high concurrency, terminal, and storage medium
CN112181498A (en) * 2020-10-09 2021-01-05 中国工商银行股份有限公司 Concurrency control method, device and equipment
CN112181498B (en) * 2020-10-09 2024-01-30 中国工商银行股份有限公司 Concurrency control method, device and equipment

Also Published As

Publication number Publication date
WO2021042919A1 (en) 2021-03-11

Similar Documents

Publication Publication Date Title
CN109062802B (en) Software testing method, computer readable storage medium and terminal equipment
CN108900382B (en) Test method and device thereof
US10140336B1 (en) Accuracy testing of query optimizers
CN108833458B (en) Application recommendation method, device, medium and equipment
CN108694123B (en) Regression testing method, computer readable storage medium and terminal equipment
WO2019024494A1 (en) Post distribution method for employees, device, electronic equipment and medium
CN109976998B (en) Software defect prediction method and device and electronic equipment
CN112396211B (en) Data prediction method, device, equipment and computer storage medium
CN109473121B (en) Voice synthesis quality testing method and device
CN110764900A (en) Data distribution test method and device under high concurrency, terminal and storage medium
CN111415027A (en) Method and device for constructing component prediction model
CN109213965B (en) System capacity prediction method, computer readable storage medium and terminal device
CN115794570A (en) Pressure testing method, device, equipment and computer readable storage medium
CN110569190B (en) Transaction pressure testing method and device, electronic device and readable storage medium
CN116450483A (en) Method, device, server and medium for determining load of software distribution
CN111866129A (en) Method, device and medium for determining service availability index based on cloud platform
CN111127223A (en) Insurance product testing method and device and storage medium
CN108961071B (en) Method for automatically predicting combined service income and terminal equipment
CN115757165A (en) Automatic testing method, device, equipment and storage medium
CN114398287A (en) Test scheme generation method and device
CN112564996A (en) Pressure test flow scheduling method, pressure test flow control device and computer readable medium
CN110517665B (en) Method and device for obtaining test sample
JP7214173B1 (en) System and method for evaluating software development
CN110727701A (en) Application automatic allocation method, device, terminal and storage medium
CN115168049A (en) Resource allocation method, device, computer equipment and storage medium

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200207