Throughput control method and device, equipment and storage medium

A control method and throughput technology, applied in the fields of instrumentation, electrical digital data processing, computing, etc., can solve the problems of wasting system resources and uneven flow.

Active Publication Date: 2021-09-21
成方金融科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Not only wasting a lot of system resources, but also prone to uneven flow
Therefore, this setting method will not be used in actual work

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Throughput control method and device, equipment and storage medium
  • Throughput control method and device, equipment and storage medium
  • Throughput control method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] figure 1 It is a flowchart of a throughput control method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of stably controlling the throughput of a press in a test system. The method can be executed by a throughput control device, which can Implemented by software and / or hardware.

[0047] like figure 1 As shown, the method specifically includes the following steps:

[0048]Step 110: Obtain the current log sending start and end time of the press target thread in the current sending cycle, and determine the current log sending time according to the current log sending start and end time.

[0049] In practical application, it is possible to obtain the application logs generated by the tested information system in the production environment, and use the press to send the application logs to the tested system in the test environment, and perform traffic playback to achieve the performance test of the tested system. Wherei...

Embodiment 2

[0108] The throughput control device provided in the embodiment of the present invention can execute the throughput control method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. figure 2 is a structural block diagram of a throughput control device provided in Embodiment 2 of the present invention, such as figure 2 As shown, the device includes: a current cycle sending duration determining module 210 , a current cycle timeout determining module 220 and a next cycle sending time determining module 230 .

[0109] The current cycle sending duration determination module 210 is configured to obtain the current log sending start and end time of the press target thread in the current sending cycle, and determine the current log sending duration according to the current log sending start and end time.

[0110] The current period timeout determination module 220 is configured to determine t...

Embodiment 3

[0133] image 3 A structural block diagram of a computer device provided in Embodiment 3 of the present invention, such as image 3 As shown, the computer device includes a processor 310, a memory 320, an input device 330 and an output device 340; the number of processors 310 in the computer device can be one or more, image 3 Take a processor 310 as an example; the processor 310, memory 320, input device 330 and output device 340 in the computer equipment can be connected by bus or other methods, image 3 Take connection via bus as an example.

[0134] The memory 320, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as program instructions / modules corresponding to the throughput control method in the embodiment of the present invention (for example, the throughput control device in the The current cycle sending duration determination module 210, the current cycle timeout determination module 220 an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a throughput control method and device, equipment and a storage medium. The method comprises the steps of acquiring current log sending starting and ending time of a press machine target thread in a current sending period, and determining current log sending duration according to the current log sending starting and ending time; determining a current timeout condition of the current sending period according to the current log sending time duration in combination with an accumulated timeout value of a previous sending period; and determining the next log sending time of the next sending period according to the current timeout condition, and controlling the target thread to send the next application log at the next log sending time. According to the invention, the accumulated timeout variable is set to record the accumulated sending timeout time before the current sending period, and the actual sleep duration of the local sending period is adjusted, so that the stable maintenance of the throughput of the press machine in the test system within a relatively wide time requirement is realized, and the problem that the throughput of the press machine cannot be stably controlled due to the size difference of application logs in flow playback is solved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of software testing, and in particular to a throughput control method, device, equipment and storage medium. Background technique [0002] The technique of obtaining the application logs of the production environment of the information system under test and playing them back in the test environment is called traffic playback. Traffic playback is divided into traffic playback for the purpose of functional testing and traffic playback for the purpose of performance testing. The traffic playback for the purpose of functional testing has no requirement on the throughput index, while the traffic playback for the purpose of performance testing has higher requirements on the throughput of the test system. [0003] Initially, traffic replay for the purpose of performance testing often replays traffic at the maximum capacity of the performance testing press. As the industry pays more and m...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3692G06F11/3688
Inventor 杨建旭
Owner 成方金融科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products