CN108600034A - Traffic pressure management method, device, equipment, system and storage medium - Google Patents

Traffic pressure management method, device, equipment, system and storage medium Download PDF

Info

Publication number
CN108600034A
CN108600034A CN201810525323.0A CN201810525323A CN108600034A CN 108600034 A CN108600034 A CN 108600034A CN 201810525323 A CN201810525323 A CN 201810525323A CN 108600034 A CN108600034 A CN 108600034A
Authority
CN
China
Prior art keywords
request
service request
server
sent
pressure parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810525323.0A
Other languages
Chinese (zh)
Other versions
CN108600034B (en
Inventor
王家彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810525323.0A priority Critical patent/CN108600034B/en
Publication of CN108600034A publication Critical patent/CN108600034A/en
Application granted granted Critical
Publication of CN108600034B publication Critical patent/CN108600034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

This application discloses a kind of traffic pressure management method, device, equipment, system and storage mediums, wherein, stress management server receive control server send pressure parameter request instruction after, call user by configure interface configuration request constructed fuction;Using at least one of request constructed fuction request example and preset multiple parameters, multiple service requests that structure is determined for pressure parameter;Obtain the preconfigured at least one network identity for being directed toward target service system;According at least one network identity, multiple service request is sent, at least destination server multiple service request being sent in target service system;It obtains and counts destination server and be directed to the response results that the service request returns, to determine the pressure parameter result of the target service system based on the response results.The scheme of the application can reduce the complexity that pressure parameter is obtained from operation system, to improve the efficiency of acquisition and control pressure parameter.

Description

Traffic pressure management method, device, equipment, system and storage medium
Technical field
This application involves pressure test technical field more particularly to a kind of traffic pressure management method, device, equipment, it is System and storage medium.
Background technology
In order to enhance the reliability of operation system, it is often necessary to the pressure parameter of monitoring business system, to determine business system Pressure condition in system, and then hardware or the business layout etc. for improving operation system.Wherein, one operation system supervised Kind mode can carry out pressure test to operation system, and pressure test refers to by simulating a large amount of concurrent requests, to test The load capacity of background service system (the background server system that e.g., one or multiple servers are constituted), after determining The performance bottleneck of platform service system.For example, can be analyzed in background service system in background server by pressure test It deposits, the maximum traffic of processor etc. request treating capacity etc..
During carrying out pressure management and control to operation system, user needs the difference of business scenario, builds different pressures Power management system, and according to the different demands to business scenario, the control routine write in advance is stored in Stress management systems And a large amount of analog service request bag, in this way, when needing the operation system supervised to change, user just needs to compile again It writes different control routines and simulates service request packet so that is more multiple to the management and control process of the pressure parameter of operation system It is miscellaneous.A large amount of service request packet is simulated moreover, because being typically necessary during pressure parameter management and control, and user needs every time A large amount of service request packet is write, and the development amount of user can be caused larger, so that analysis operation system pressure The period of parameter is longer, so that analysis operation system pressure parameter is less efficient.
Invention content
In view of this, this application provides a kind of traffic pressure management method, device, equipment, system and storage medium, with The complexity of the pressure parameter of operation system is obtained, and then improves the efficiency of analysis pressure parameter.
To achieve the above object, on the one hand, this application provides a kind of traffic pressure management methods, including:
Receive the pressure parameter request instruction that control server is sent;
In response to pressure parameter request instruction, the request constructed fuction for calling user to be configured by configuring interface is described to ask It asks in constructed fuction comprising for creating service request and executable at least one request example;
At least one request example is executed, and according to preset multiple parameters, structure is determined for pressure parameter Multiple service requests;
Obtain the preconfigured at least one network identity for being directed toward target service system;
According at least one network identity, the multiple service request is sent, the multiple service request is sent out Give at least destination server in the target service system;
It obtains and counts the destination server and be directed to the response results that the service request returns, to be based on the response As a result the pressure parameter result of the target service system is determined.
In one possible implementation, the pressure parameter request instruction carries the speed of giving out a contract for a project of pressure parameter request Rate;
It is described to send the multiple service request according at least one network identity, including:
According at least one network identity, and according to the packet sending speed, send the multiple service request.
In one possible implementation, described according at least one network identity, and according to the speed of giving out a contract for a project Rate sends the multiple service request, including:
According to the packet sending speed and preset token bucket algorithm, determine whether to meet condition of giving out a contract for a project;
When satisfaction gives out a contract for a project condition, according at least one network identity, send current in the multiple service request Target service request is sent at least mesh in the target service system by target service request to be sent Mark server.
In one possible implementation, it the acquisition and counts the destination server and is returned for the service request The response results returned, including:
It receives the destination server and is directed to the response results that the service request returns;
It calls user by the analytical function of the configuration interface configuration, and the response is tied by the analytical function Fruit carries out statistic of classification, and the corresponding statistic of classification result of the response results is sent to the control server.
Another aspect, present invention also provides a kind of traffic pressure managing devices to include:
Instruction reception unit, the pressure parameter request instruction sent for receiving control server;
Function calling cell, in response to pressure parameter request instruction, calling user by configuring asking for interface configuration Constructed fuction is sought, includes for creating service request and executable at least one request example in the request constructed fuction;
Construction unit is asked, for executing at least one request example, and according to preset multiple parameters, structure is used In multiple service requests that pressure parameter determines;
Mark acquiring unit, for obtaining the preconfigured at least one network identity for being directed toward target service system;
Request transmitting unit, for according at least one network identity, the multiple service request being sent, by institute State at least destination server that multiple service requests are sent in the target service system;
As a result statistic unit is directed to the response knot that the service request returns for obtaining and counting the destination server Fruit, to determine the pressure parameter result of the target service system based on the response results.
Another aspect, present invention also provides a kind of traffic pressures to manage system, including:
Control server and an at least stress management server;
Wherein, the control server, the parameter monitoring order for receiving user, and according to the parameter monitoring order Pressure parameter request instruction is sent to the test server;
The test server, in response to pressure parameter request instruction, calling user by configuring interface configuration Ask constructed fuction, include in the request constructed fuction for create service request and executable at least one ask it is realistic Example;Execute at least one request example, and the multiple industry determined for pressure parameter according to preset multiple parameters, structure Business request;Obtain the preconfigured at least one network identity for being directed toward target service system;According at least one network Mark, sends the multiple service request, the multiple service request is sent at least the one of the target service system Platform destination server;It obtains and counts the destination server and be directed to the response results that the service request returns, to be based on State the pressure parameter result that response results determine the target service system.
Another aspect, present invention also provides a kind of stress management servers, including:
Processor and memory;
Wherein, the processor is for executing the program stored in the memory;
For storing program, described program is at least used for the memory:
Receive the pressure parameter request instruction that control server is sent;
In response to pressure parameter request instruction, the request constructed fuction for calling user to be configured by configuring interface is described to ask It asks in constructed fuction comprising for creating service request and executable at least one request example;
At least one request example is executed, and according to preset multiple parameters, structure is determined for pressure parameter Multiple service requests;
Obtain the preconfigured at least one network identity for being directed toward target service system;
According at least one network identity, the multiple service request is sent, the multiple service request is sent out Give at least destination server in the target service system;
It obtains and counts the destination server and be directed to the response results that the service request returns, to be based on the response As a result the pressure parameter result of the target service system is determined.
It is executable to be stored with computer present invention also provides a kind of storage medium for another aspect in the storage medium Instruction, when the computer executable instructions are loaded and executed by processor, realizes any one of them traffic pressure pipe as above Reason method.
As it can be seen that in the embodiment of the present application, pressure parameter request is had sent to stress management server in control server After instruction, which can call user to configure the request constructed fuction of interface configuration by it, due to asking It asks comprising at least one request example for generating service request in constructed fuction, therefore, stress management server can be with base In request example and preset multiple parameters, pressure parameter of the high-volume for determining target service system is constructed automatically Service request writes the service request for being largely used to pressure parameter determination without user, reduces the exploitation of user manually Workload is larger, advantageously reduces the duration spent due to writing a large number of services request, and then can improve acquisition and analyze The efficiency of the pressure parameter of operation system.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only embodiments herein, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to the attached drawing of offer other Attached drawing.
Fig. 1 shows a kind of a kind of structure composed schematic diagram of traffic pressure management system in the embodiment of the present application;
Fig. 2 shows a kind of a kind of flows of traffic pressure management method in the embodiment of the present application to interact schematic diagram;
Fig. 3 shows each equipment internal module deployment signal in a kind of traffic pressure management system in the embodiment of the present application Figure;
Fig. 4 shows a kind of another flow of traffic pressure management method interaction schematic diagram in the embodiment of the present application;
Fig. 5 shows a kind of composition for a kind of application scenarios that traffic pressure management method is applicable in the embodiment of the present application Configuration diagram;
Fig. 6 shows a kind of a kind of composed structure schematic diagram of traffic pressure managing device in the embodiment of the present application;
Fig. 7 shows a kind of another composed structure schematic diagram of traffic pressure managing device in the embodiment of the present application;
Fig. 8 shows a kind of composed structure schematic diagram of stress management server in the embodiment of the present application.
Specific implementation mode
The traffic pressure management method of the embodiment of the present application is suitable for obtaining the pressure of the background service system of various businesses Parameter so as to the performance bottleneck for monitoring business system, and the business processing amount of Reasonable Regulation And Control operation system or improves business System provides foundation;The application can reduce the complexity of acquisition pressure parameter caused by manual compiling service request, improve The convenience of the pressure parameter of operation system is obtained, and then improves the efficiency for obtaining pressure parameter.
In order to make it easy to understand, first being carried out to the traffic pressure management system that the traffic pressure management method of the application is applicable in It introduces.Such as, referring to Fig. 1, it illustrates the structure composed schematic diagrames that a kind of traffic pressure of the application manages system.
As seen from Figure 1, traffic pressure management system 10 includes:Control server 101 and an at least pressure pipe Manage server 102.
Wherein, control server can be connected with stress management server by network or physical link.
The control server 101, the parameter monitoring order for receiving user, the parameter monitoring order are used to indicate control Supervision of the startup of server to target service system;According to the parameter monitoring order, pressure parameter request instruction is generated, and to pressure Power management server sends pressure parameter request instruction.
Correspondingly, stress management server 102, is used for the pressure parameter request instruction based on the control server, to mesh The destination server marked in operation system sends service request, to get the pressure parameter situation of target service system.
Such as, in Fig. 1, further include a target service system 11 to be monitored, which includes at least One server 111, the destination server that every server can be monitored as needs.
Such as, which can be a business service platform, e.g., the business service platform of social networks, trip The background service system etc. of play business.
It is understood that the control server can also receive termination order or the pause command of user, wherein eventually Only order is used to indicate control server and terminates monitoring to target service system;It is temporary that pause command is used to indicate control server Stop the monitoring to target service system.
Correspondingly, control server when receiving termination order, can send command for stopping to stress management server, with Just stress management server responds the command for stopping and stops sending service request to target service system.
Server is controlled when receiving pause instruction, pause instruction can be sent to stress management server, so as to pressure Management server suspends the acquisition of pressure parameter.Further, parameter monitoring input by user is being received in control server Pressure parameter request instruction can be then sent when order either restores order to stress management server or restores instruction, with Just the restarting of stress management server obtains pressure parameter from target service system.
In the embodiment of the present application, it in order to simplify the complexity of pressure parameter acquisition, is configured in stress management server One configuration interface, which is the development interface that available subscribers use, and user can be to pressure by the configuration interface It is configured to generate the code (or referred to as code segment) of service request in power management server.
The network identity for being directed toward target service system can also be configured into stress management server by user.The network Mark can be the network address of at least one server in the target service system, can also be to be loaded in target service system Network address or unique mark of balanced device etc..
It is understood that stress management server can be deployed with the relative program needed for traffic pressure management, to Build and dispose relevant supervisory process, supervision data etc. for different business every time without user.Moreover, user passes through pressure The configuration interface that management server provides also only needs to configure the code for generating service request, without configuring monitoring system Needed for pressure a large number of services request, but can by stress management server based on user configuration code come automatic Mass production A large amount of service request.
It is understood that the above target service system is the operation system of pending traffic pressure management.It is answered in one kind The pressure parameter for influencing its performance bottleneck is obtained with target service system in scene, can be directed to, to orient target service system The performance bottleneck of system to carry out software or hardware modifications to target service system, or adjusts target service system Business layout etc..
In the embodiment of the present application, which can be understood as the needs simulated to target service processing system hair The service request sent, to obtain pressure parameter result from target service processing.
Wherein, controlling the operation that server and stress management service implement body execute can scheme referring to subsequent figure 2- respectively The relevant operation performed by server and stress management server side is controlled in 5 embodiments.
In conjunction with the above general character, referring to Fig. 2, it illustrates a kind of streams of traffic pressure management method one embodiment of the application The method of journey schematic diagram, the present embodiment may include:
S201, control server is after receiving parameter monitoring order input by user, to every stress management server Send pressure parameter request instruction.
Such as, it can be configured with start button in controlling server, and stop key.If controlling server detection It is touched to user and presses the start button, it is determined that user's input parameter monitor command, to generate pressure parameter request instruction, and to Each stress management server in traffic pressure management system sends pressure parameter request instruction respectively, to realize while pass through One or more stress management servers realize the monitoring to the pressure parameter of target service system.
Optionally, the frequency for sending service request to target service system for reasonable control pressure management server, should Packet sending speed can also be carried in the pressure parameter request instruction that control server is sent out.The packet sending speed is used to indicate pressure The quantity for the service request that power management server is sent out within the unit interval.For example, packet sending speed can be 100 business per second Request.
Wherein, packet sending speed can be that control server is preconfigured, such as manage system in user configuration traffic pressure During, the case where the service request that can bear according to target service system, connect controlling exploitation provided by the server Packet sending speed is configured in mouthful.
Optionally, the packet sending speed that can also be pre-configured in server corresponding to different types of business is controlled, in this way, According to the monitoring demand of different business, user configures the information of the required target service tested in controlling server.Correspondingly, After receiving the parameter monitoring order of user, control server is closed according to different types of business is corresponding with packet sending speed System determines the corresponding target service system of the parameter monitoring order, and determines the packet sending speed corresponding to the target service system.
Optionally, control server can also receive packet sending speed set by user, and in pressure parameter request instruction Carry packet sending speed set by user.Such as, user can input packet sending speed etc. while sending out parameter monitoring order.It can With understanding, the case where packet sending speed is set for user, pressure ginseng is sent out to control server in stress management server After number request instruction, user can still adjust packet sending speed at any time, and control giving out a contract for a project after server can adjust user Rate is sent to stress management server, to adjust the frequency that stress management server sends service request.
S202, stress management server call user by configuring interface configuration in response to the pressure parameter request instruction Request constructed fuction.
Wherein, comprising for creating service request and executable at least one request example in the request constructed fuction. Each request example is one section of code (code segment in other words) for constructing service request, and request example can be held by computer Row, and can carry out realizing the structure of service request by executing the request example.Wherein, go out constructed by different request examples Service request also can difference.
Stress management server asks example by operation, can execute the structure of service request.Wherein, stress management takes Business device can construct a large amount of service request by each request example of running configuration, big without user configuration The service request of amount, and asked relative to configuration service, the workload that user configuration is used to generate the code of service request can phase To less.
It is understood that in order to realize that stress management server can call and execute the request constructed fuction, this is asked Ask constructed fuction can be a kind of call back function so that stress management server can when receiving parameter monitoring order, The request constructed fuction is called, to execute the request example in the request constructed fuction.
As it can be seen that configuration interface is provided in the stress management server of the application, so that user is according to different business The different demands of scene configure into the stress management server request corresponding to different business systems by the configuration interface Constructed fuction generates so that request constructed fuction of the stress management server based on configuration has for corresponding service system Service request.
S203, stress management server execute at least one request example, and according to preset multiple parameters, structure is used In multiple service requests that pressure parameter determines.
It is understood that when different business asks requested particular content difference, the ginseng involved by service request Number would also vary from, and therefore, many kinds of parameters has been pre-configured in the stress management server.Correspondingly, stress management takes Being engaged in device can be by operation request example, and one or more parameters are randomly choosed from preset multiple parameters, to generate difference Kind service request can generate a large amount of service request, in stress management in this way, by running each request example A large amount of service request is simulated in server.
Optionally, stress management server can be directed to each request example, by preset multiple parameters part or Whole parameters are divided into multiple parameters group, and load parameter in multiple parameters group respectively by running the request example, with life At multiple service requests.Wherein, when each run asks the parameter difference in the parameter group that example is loaded, institute's generation business is asked It asks and would also vary from.Such as, parameter 1 is loaded during operation request example, then can generates for required parameter 1 or be related to The service request 1 of 1 corresponding data of parameter processing;And if loading parameter 2 during operation request example, the industry that can be generated Business request 2, and service request 2 is different from service request 1.
Certainly, in the case of many kinds of parameters being prefixed needed for generation service request, by running for building business The request example of request come generate service request concrete mode can there are many, the application does not limit this.
Wherein, preset multiple parameters can be the parameter for including specific value, can also be only different type parameter Parameter name etc., can specifically set according to actual needs.
It is understood that in the case where being determined for building the request example (i.e. code segment) of service request, operation Selection loads different parameters during asking example, can generate different service requests, so that passing through operation one A request example can improve the formation efficiency of service request with a large amount of service request of Mass production.
S204, stress management server obtain the preconfigured at least one network identity for being directed toward target service system.
Such as, user can configure at least one network identity by configuring interface into stress management server.
Wherein, it according at least one network identity for being directed toward the target service system, may be implemented to the target service system System sends the service request simulated.Such as, which can be the network identity of target service system, e.g., target service It is responsible for the network identities such as the dispatch server of service request scheduling or IP address, the unique mark of load equalizer in system. Alternatively, the network identity can also be the network address of at least one destination server in the target service system, and e.g., target clothes Business device is IP address etc..
For example, can be the network address of load equalizer or unique mark in the target service system with the network identity For knowledge, stress management server can be simulated according to the network identity to the transmission of the load equalizer of target service system Service request, service request to be transmitted to at least server in target service system by load equalizer.
Such as, by taking network address is IP address as an example, with current test system can only be directed to single IP address (or other The network of type) execute pressure parameter acquisition compare, one can be configured in the embodiment of the present application into stress management server Or the IP address of multiple servers, it is obtained to carry out pressure parameter for further types of server in target service system It takes.For example, the background server of target service system can be divided into logical layer and data Layer from data process method, by matching Its pressure can be obtained to the background server for belonging to logical layer and data Layer in target service system by setting different IP address Parameter.
S205, stress management server sends multiple service request according at least one network identity, this is more A service request is sent to an at least destination server for the target service system.
Such as, when network identity is IP address (or other network address) of destination server in target service system, according to According to the IP address of at least one destination server, into the target service system, destination server sends multiple business and asks It asks.
For another example, when which is IP address (or unique mark) of load equalizer in target service system, then According to the IP address (or unique mark) of the load equalizer, multiple service request is sent to load equalizer, with logical It crosses the load equalizer and service request is sent to each destination server in the target service system.Wherein, load equalizer Service request can be given the type of service in target service system correspond to respectively in conjunction with the type of service corresponding to service request Destination server in.Such as, some service request is that only logical layer (business etc. for being not related to data Layer) is tested Service request, then the load equalizer service request can be transmitted to the corresponding server of logical layer, without being transmitted to The corresponding server of data Layer.
Wherein, stress management server, can by sending multiple service requests to the destination server of target service system To simulate the scene of destination server processing a large number of services request, a large number of services is in so as to simulate destination server Pressure parameter situation when request.
Optionally, in the case of carrying packet sending speed in pressure parameter request instruction, stress management server can be with According at least one network identity, and according to the packet sending speed, send multiple service request.Stress management server according to The packet sending speed controls the quantity for the service request that (e.g., per second) is sent out in the unit interval, to realize control targe business system The quantity for receiving service request in system in the destination server unit interval is avoided due to being received in the destination server short time Service request quantity it is excessive, and and deviation is larger the case where destination server actual treatment service request, so as to cause can not The case where precisely determining the pressure parameter of target service system.
Further, it is contemplated that if only limitation packet sending speed, in fact it could happen that according to packet sending speed, within the unit interval Short period in send out greater number of service request, and remaining time within the unit interval then asks without any business It asks and sends out, it is uneven so as to cause service request transmission, it is not inconsistent with the actual conditions of destination server processing business request.Such as, Packet sending speed is 100 service requests per second, and destination server is according to the packet sending speed, it is possible to was issued by first 0.1 second 100 seconds, and any service request will not be then sent out within subsequent 0.9 second to destination server, so that destination server is preceding A large number of services request is had issued within 0.1 second, but 0.9 second below is then likely to be at idle state, this is also resulted in short-term The portfolio of interior destination server processing is relatively large, destination server compressive resistance situation can not be accurately reflected, to nothing Method accurately tests out the performance bottleneck of destination server.
Optionally, in order to which uniformly service request can be sent to destination server in guarantor unit's time, in stress management Token bucket algorithm is prefixed in server.Correspondingly, stress management server can be according to the packet sending speed and preset order Board bucket algorithm determines whether to meet condition of giving out a contract for a project;When the current satisfaction of stress management server determination gives out a contract for a project condition, foundation At least one network identity sends current target service request to be sent in multiple service request, by the target industry Business request is sent to an at least destination server for the target service system.
Wherein, current target service request to be sent can be set as needed in multiple service requests.Such as, Ke Yishe Then the order of transmission of fixed multiple service request determines current target service request to be sent in order.For another example, Ke Yisui Machine selects target service to be sent to ask etc. from multiple service requests.
Wherein, according to packet sending speed, and can analyze currently whether meet condition of giving out a contract for a project by token bucket algorithm, this is given out a contract for a project Condition may be considered meet set by token bucket algorithm can trigger service request send at the time of.According to packet sending speed, And sent in conjunction with token bucket algorithm to control service request, it may be implemented uniformly to send service request to destination server.
The basic principle of token bucket algorithm is:Assuming that packet sending speed r per second, then a token is added every 1/r seconds To a bucket (can be a caching or virtual container);Before so sending service request every time, the bucket can be detected It is interior to whether there is token, if there is token, then meet condition of giving out a contract for a project, stress management server can send industry to destination server Business request, meanwhile, delete a token in token bucket;If token is not present in bucket, it is currently unsatisfactory for condition of giving out a contract for a project, then It needs to wait in token bucket, there are when token, to retransmit service request.
S206, stress management server receive destination server and are directed to the response results that service request returns.
It is understood that after destination server receives the service request that stress management server is sent, can be directed to The service request returns to corresponding response results, so that stress management server recognizes destination server in target service system The case where receiving and handle the service request.
Wherein, which can be the corresponding situation for the response bag that destination server is returned for the service request, Such as, it indicates the response bag being successfully processed, indicates that the response bag of failure, response bag feed back duration etc..
Correspondingly, the response results returned based on target service system, it may be determined that go out the pressure of the target service system Parametric results.Such as, the quantity of the response bag being successfully processed and the response bag of instruction failure is shown based on target service system middle finger, To analyze the compressive resistance situation of target service system;For another example, according to the sound of different target server feedback in target service system It answers as a result, analyzing the concrete reason of pressure etc. for influencing target service system.
S207, the analytical function that stress management server calls user is configured by the configuration interface, and pass through the parsing The response results that function pair receives carry out statistic of classification, and the corresponding statistic of classification result of response results is sent to control clothes Business device.
Wherein, stress management server can also be supported by configuring interface Command Line Parsing function.The analytical function is used for Statistic of classification is carried out to the response results received, and the pressure parameter result of statistic of classification is reported to control server.Its In, statistic of classification result determines that the pressure parameter result of the target service system provides foundation for server in order to control.Wherein, Pressure parameter result can be that the pressure parameter of performance is influenced in target service system, be characterized in the currently operation of target service system The pressure parameter etc. of pressure condition.
Wherein, the type of the analytical function also belongs to call back function, correspondingly, stress management server is by calling and transporting Response results can be carried out statistic of classification by the row analytical function, and be reported to control server, to control server to each The statistic of classification result for the response results that a stress management server returns further counts, to be carried for analysis pressure parameter result For foundation.
It is understood that the response results that analytical function can also be only used for receiving are reported to control service Device.That is, by the Command Line Parsing function in stress management server, it can make the stress management server calls solution Function is analysed, response results are reported to control server, so that control server can obtain all stress management services The response results that device obtains, to provide foundation for the pressure parameter and performance bottleneck for analyzing target service system.
The configuration interface provided in stress management server in the application can support user configuration analytical function, to make Obtaining user can be according to testing requirement come Command Line Parsing function, so that each obtained response results of stress management server Stress management server can be finally fed back to, without manually counting the characterization pressure parameter of each stress management server Concrete outcome.
It is understood that step S206 and S207 are only a kind of processing of the stress management server to response results Mode, in practical applications, stress management server can also obtain and count destination server by other means is directed to institute The response results of service request return are stated, as long as the response results of destination server can be obtained, so that can be based on ringing Should result determine the pressure parameter result of target service system.
It is understood that in the embodiment of the present application, in order to further increase pressure parameter in determining operation system Asynchronous mechanism may be used in efficiency, stress management server, sends service request.So-called asynchronous mechanism refers to pressing When power server sends service request, without waiting for the response knot of the last service request sent out before the service request Fruit.Such as, after pressure server sends service request 1,1 returning response knot of service request is directed to without waiting for destination server Fruit can send service request 2 when satisfaction gives out a contract for a project condition.
As it can be seen that in the embodiment of the present application, pressure parameter request is had sent to stress management server in control server After instruction, which can call user to configure the request constructed fuction of interface configuration by it, due to asking It asks comprising at least one request example for generating service request in constructed fuction, therefore, stress management server can be with base In request example and preset multiple parameters, large batch of service request is constructed automatically, is write manually without user It is largely used to determine the service request of the pressure parameter of operation system, the development amount for reducing user is larger, is conducive to subtract Few duration spent due to writing a large number of services request, and then the efficiency of the pressure parameter of determining operation system can be improved.
Meanwhile in the embodiment of the present application, the configuration interface of stress management server can also receive the multiple of user configuration IP address (or other kinds of network address) may be implemented to be directed to so that user manages system by the traffic pressure The determination of the pressure parameter of multiple and different IP address.
For the ease of understanding that the traffic pressure of the embodiment of the present application manages the benefit of system, with reference to the traffic pressure pipe The traffic pressure management method of the application is introduced in the inner frame composition of each equipment in reason system.
Such as, referring to Fig. 3, it illustrates the inner frames of individual device in the application traffic pressure management system to constitute signal Figure.
As seen from Figure 3, it is controlled in traffic pressure management system and is provided with FM module 311 in server 31, starts Module 312 and pause module 313.
Wherein, starting module 312 is used to respond the parameter monitoring order of user, and pressure ginseng is sent to stress management server Number request instruction.Such as, starting module can be made of start button and startup control chip or startup control circuit, user When clicking start button, startup control chip or startup control circuit are used to indicate startup survey to the transmission of stress management server The signal of examination.
The pause module 313 is used to respond the pause command of user, and pause instruction is sent to stress management server.Such as, Pause module by pause button and can stop control chip or circuit be constituted, and user, can be with by clicking pause button Triggering stops control chip or circuit evolving one is used to indicate the instruction that stress management server pause pressure parameter obtains Signal.
The FM module 311 is joined for receiving setting or adjustment of the user for packet sending speed with reasonable control pressure Stress management server sends the frequency of service request to target service system in number acquisition process.Such as, which can be with It is provided with input part, which can receive the packet sending speed of user's input or adjustment.
In conjunction with Fig. 3 as can be seen that user can be by operating modules in control server, to control business Stress management systems start or pause test, and control packet sending speed.
Meanwhile as seen from Figure 3, stress management server 32 is made of two parts, and a part is stress management service The main part of device, a part are the custom block parts of stress management server, wherein limited frequency mould is arranged in main part Block 321, asynchronous communication module 322 and statistical module 323, custom block part include:Constructing module 324 and response is asked to solve Analyse module 325.
Wherein, configuration interface is provided in custom block, the configuration interface is for being supplied to user to the self-defined mould Analytical function in the request constructed fuction of configuring request constructing module in block, and response parsing module.
Such as, in conjunction with Fig. 3 as can be seen that user can into the custom block configuring request constructing module, specifically, root According to user for the monitoring demand of different business systems, generation phase is configured into request constructing module by the configuration interface Answer the request constructed fuction of service request.
Meanwhile in order to control the corresponding response results of server feedback, can also be into the response parsing module Command Line Parsing function, to obtain the response results that stress management server receives by analytical function.
In the main part of the stress management server, limit frequency module 321 is used to be given out a contract for a project according to what control server was sent out Rate, and combine token bucket algorithm, it is determined whether meet condition of giving out a contract for a project.
Correspondingly, the asynchronous communication module 322 of stress management server can be joined with the pressure of response control server transport Number request instruction or pause instruction, and when needing to carry out pressure parameter acquisition to operation system, from request constructing module tune With request constructed fuction, service request is generated.And the asynchronous communication module calls limit frequency module 321, to give out a contract for a project in determining satisfaction When condition, service request is sent to operation system using asynchronous communication model.
Meanwhile the asynchronous communication module is called when receiving the response bag for service request in response parsing module Analytical function, response bag is reported to control server by the interface of statistical module 323 by parsing module.
Meanwhile as seen from Figure 3, operation system can be divided into two parts, and a part is backend services, after a part is Hold two layer services.In the embodiment of the present application, according to actual needs, different requests can be configured in stress management server Constructed fuction, so as to may include in the constructed fuction that calls request, for generate be directed to backend services service request ask it is realistic Example, and for generates be directed to two layer service of rear end service request ask it is one or two kinds of in example, and then can be with Its pressure parameter is obtained respectively for the server of different business layer in operation system.
The traffic pressure management method of the embodiment of the present application is introduced in conjunction with Fig. 3.Such as, referring to Fig. 4, it illustrates this Apply for that a kind of flow interaction schematic diagram of another embodiment of traffic pressure management method, the method for the present embodiment may include:
S401, control server determine user when preceding to control when receiving pressure parameter request instruction input by user The packet sending speed set in control server.
Such as, the FM module controlled in server can get packet sending speed set by user.
S402, control server generates pressure parameter request instruction, and sends to carry to each stress management server and be somebody's turn to do The pressure parameter request instruction of packet sending speed.
Such as, the pressure parameter request instruction that control server generates can be sent to stress management server, and stress management Asynchronous communication module in server can be based on pressure parameter request instruction, generate service request;Meanwhile pressure parameter request refers to The packet sending speed carried in order can be transferred to the limit frequency module in stress management server, to realize uniformly hair by limiting frequency module Go out the service request simulated.
S403, the request constructed fuction that stress management server calls user is configured by configuring interface.
Wherein, at least one request example for creating service request is included in the request constructed fuction.
S404, at least one request example of stress management server by utilizing and preset multiple parameters are built for pressing Multiple service requests that force parameter determines.
As shown in figure 3, the request stored in asynchronous communication module call request constructing module in stress management server Constructed fuction, to generate service request.Illustrated for carrying out pressure test to target service system, stress management server is logical Execution request example is crossed, and according to the multiple parameters of threshold value, multiple service requests for pressure test can be constructed.
Wherein, the detailed process of above step S401 to S404 may refer to the related introduction of preceding embodiment, herein not It repeats again.
S405, stress management server obtain at least one network address that user is configured by the configuration interface.
Wherein, which belongs to the address of at least one destination server in target service system.
The present embodiment is to be pre-configured with an at least destination server for target service system in stress management server Network address for illustrate, but the case where for configuring other network identities, be applied equally to the present embodiment.
S406, stress management server determine whether full according to the packet sending speed and preset token bucket algorithm Foot is given out a contract for a project condition.
Such as, the limit frequency module of stress management server can be calculated according to the packet sending speed of setting and preset token bucket Whether method detection currently meets condition of giving out a contract for a project, and asynchronous communication module can call limit frequency module, currently whether meet hair with inquiry Packet condition, when satisfaction gives out a contract for a project condition, to send service request.
S407, stress management server determine it is current meet when giving out a contract for a project condition, according to asynchronous mechanism, by multiple industry Current target service request to be sent is sent to an at least destination server for target service system in business request.
S408, stress management server receive the destination server and are directed to the response results that the service request returns.
S409, the analytical function that stress management server calls user is configured by the configuration interface, and pass through the parsing The function pair response results carry out statistic of classification, and the corresponding statistic of classification result of the response results is sent to the control service Device.
Certainly, in the fig. 4 embodiment, control server is after the packet sending speed after receiving user's adjustment, the control Control server can send the packet sending speed after adjustment to each stress management server.Correspondingly, stress management server can be by According to the packet sending speed and token bucket algorithm after adjustment, service request is sent out.
Optionally, stress management server carries out statistic of classification to response results, can be according to characterization pressure parameter not Same situation, response results are classified, to obtain specific pressure parameter result in the goal pressure system.
With reference to a kind of application scenarios that the traffic pressure management method of the application is applicable in, to the embodiment of the present application Scheme is introduced.Such as, referring to Fig. 5, it illustrates a kind of application scenarios that the traffic pressure management method of the application is applicable in Schematic diagram.It is illustrated so that operation system is instant communicating system as an example in Figure 5, and to press instant communicating system It is illustrated for power test.
As seen from Figure 5, which includes pressure testing system 500 and needs to carry out the Instant Messenger of pressure test News system 51.
Wherein, pressure testing system 50 includes control server 501 and Duo Tai stress managements server 502.
The instant communicating system 510 includes:Belong to the server 511 of logical layer and belongs to the server 512 of data Layer.
If user needs to carry out pressure test to the logical layer and data Layer of the instant communicating system, can be at this Configuring request constructed fuction in more stress management servers, the request constructed fuction include at least:It is directed to logic for generating The request example A of the service request of layer, and the request example B for generating the service request for being directed to data Layer.Meanwhile user The IP address of dispatch server (or load equalizer) in instant communicating system can also be configured in stress management server.
Meanwhile user can configure the corresponding packet sending speed of the instant communicating system in controlling server.Optionally, it examines Consider in instant communicating system the performance bottleneck of operation layer and logical layer can difference, user can be directed to respectively data Layer and Different packet sending speeds is arranged in logical layer.
After being configured more than completing, when needing to carry out pressure test to instant communicating system, user only need to be to control Server sends a parameter monitoring order, then the control server can send pressure parameter to each stress management server and ask Instruction (may be considered test instruction at this time) and the packet sending speed are asked, as shown in S51 in Fig. 5.
Correspondingly, stress management server responds the pressure parameter request instruction, meeting call request constructed fuction, and utilize Example A and preset multiple parameters are asked, multiple service request A for logical layer are generated;Using request example B and in advance The multiple parameters set generate multiple service request B for data Layer, as shown in S52 in Fig. 5.
Meanwhile stress management server can be according to packet sending speed and preset token bucket algorithm, and use asynchronous communication Mechanism, satisfaction give out a contract for a project condition when, according to the IP address of preconfigured dispatch server, an industry is sent to instant communicating system Business request A or service request B, as shown in S53 in Fig. 5.Certainly, stress management server logically layer packet sending speed with And preset token bucket algorithm, and use asynchronous mechanism, meet logical layer it is corresponding give out a contract for a project condition when, to instant messaging System sends a service request A;Meanwhile packet sending speed and preset token bucket of the stress management server according to data Layer Algorithm, and use asynchronous mechanism, meet data Layer it is corresponding give out a contract for a project condition when, to instant communicating system send an industry Business request B.
Wherein, dispatch server (or load equalizer) can be according to the service request received in instant communicating system Service request is forwarded to the server of logical layer or data Layer by type.
Correspondingly, stress management server can obtain the response results for service request A and service request B respectively, Such as S54 in Fig. 5.
Stress management server by call user configuration analytical function, by the corresponding response results of each service request Statistics, and is reported to control server by statistical result, so that all statistical results for being summarized according to test server are to instant Communication system carries out the analysis and determination of performance bottleneck, as shown in S55 in Fig. 5.
On the other hand, present invention also provides a kind of traffic pressure managing devices.Such as, referring to Fig. 6, it illustrates the application The device of a kind of composed structure schematic diagram of traffic pressure managing device one embodiment, the present embodiment takes applied to stress management Business device, the device may include:
Instruction reception unit 601, the pressure parameter request instruction sent for receiving control server;
Function calling cell 602, in response to pressure parameter request instruction, calling user by configuring interface configuration Ask constructed fuction, include in the request constructed fuction for create service request and executable at least one ask it is realistic Example;
Construction unit 603 is asked, for executing at least one request example, and according to preset multiple parameters, structure Build the multiple service requests determined for pressure parameter;
Mark acquiring unit 604, for obtaining the preconfigured at least one network identity for being directed toward target service system;
Request transmitting unit 605, for according at least one network identity, sending the multiple service request, with At least destination server the multiple service request being sent in the target service system;
As a result statistic unit 606 are directed to the sound that the service request returns for obtaining and counting the destination server It answers as a result, to determine the pressure parameter result of the target service system based on the response results.
Optionally, request transmitting unit may include:
Asynchronous transmission subelement is used for according at least one network identity, and according to asynchronous mechanism, sends institute State multiple service requests.
In one possible implementation, the mark acquiring unit may include:
Mark obtains subelement, for obtaining preconfigured at least one network address, at least one network Location belongs to the address of at least one destination server in target service system.
In one possible implementation, the pressure parameter request instruction that described instruction receiving unit receives is taken Packet sending speed with pressure parameter request.In that case, which can also include that request sends son list Member.Such as, referring to Fig. 7, it illustrates a kind of composed structure schematic diagrames of another embodiment of traffic pressure managing device of the application.
Wherein, traffic pressure managing device shown in Fig. 7 and the traffic pressure managing device of Fig. 6 the difference is that:
The request transmitting unit 605 may include:
Transmission sub-unit 6051 is asked, is used for according at least one network identity, and according to the packet sending speed, hair Send the multiple service request.
Optionally, which may include:
Condition determination subelement, for according to the packet sending speed and preset token bucket algorithm, determining whether Meet condition of giving out a contract for a project;
First transmission sub-unit, for when satisfaction gives out a contract for a project condition, according at least one network identity, described in transmission Current target service request to be sent, the target service is sent to by target service request in multiple service requests An at least destination server in system.
In one possible implementation, the result statistic unit 606 may include:
As a result receiving subelement 6061 are directed to the response knot that the service request returns for receiving the destination server Fruit;
Statistical report subelement 6062 for calling user by the analytical function of the configuration interface configuration, and passes through The analytical function carries out statistic of classification to the response results, and the corresponding statistic of classification result of the response results is sent To the control server.
On the other hand, present invention also provides a kind of stress management servers.In order to make it easy to understand, referring to Fig. 8, show A kind of composed structure schematic diagram of stress management server in the embodiment of the present application.In fig. 8, the stress management server 800 may include:Processor 801, memory 802, communication interface 803, input unit 804 and display 805 and communication bus 806。
Processor 801, communication interface 803, input unit 804, display 805, passes through communication bus at memory 802 806 complete mutual communication.
In the embodiment of the present application, the processor 801, can be central processing unit (CentralProcessing Unit, CPU), application-specific integrated circuit (application-specific integrated circuit, ASIC), digital signal Processor (DSP), application-specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) or other programmable logic device Deng.
The processor can call the program stored in memory 802, specifically, the above figure can be executed with processor Operation in 2- Fig. 5 performed by stress management server side.
For storing one or more than one program in memory 802, program may include program code, described program Code includes computer-managed instruction, in the embodiment of the present application, is at least stored with for realizing following functions in the memory Program:
Receive the pressure parameter request instruction that control server is sent;
In response to pressure parameter request instruction, the request constructed fuction for calling user to be configured by configuring interface is described to ask It asks in constructed fuction comprising for creating service request and executable at least one request example;
At least one request example is executed, and according to preset multiple parameters, structure is determined for pressure parameter Multiple service requests;
Obtain the preconfigured at least one network identity for being directed toward target service system;
According at least one network identity, the multiple service request is sent, the multiple service request is sent out Give at least destination server in the target service system;
It obtains and counts the destination server and be directed to the response results that the service request returns, to be based on the response As a result the pressure parameter result of the target service system is determined.
In one possible implementation, which may include storing program area and storage data field, wherein Storing program area can storage program area and at least one function (such as sound-playing function, image player function etc.) institute The application program etc. needed;Storage data field can store the data created according to stress management server, for example, user data, Function of configuration etc..
In addition, memory 802 may include high-speed random access memory, can also include nonvolatile memory, example Such as at least one disk memory, flush memory device or other volatile solid-state parts.
The communication interface 803 can be the interface of communication module, such as the interface of gsm module.
The application can also include display 804 and input unit 805, which includes display panel, is such as touched Display panel etc.;The input unit can be with touch sensing unit, keyboard etc..
Certainly, stress management server architecture shown in Fig. 8 is not constituted to stress management service in the embodiment of the present application The restriction of device, stress management server may include than more or fewer components shown in Fig. 8 or group in practical applications Close certain components.
On the other hand, present invention also provides a kind of control servers, and the composition of the control server can be with pressure pipe The hardware composition for managing server is similar, the difference is that only the operation performed by processor.
On the other hand, present invention also provides a kind of storage medium, it is stored with computer program in the storage medium, it is described When computer program is loaded and executed by processor, the traffic pressure manager described in as above any one embodiment is realized Method.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so fairly simple, the related place ginseng of description See the part explanation of embodiment of the method.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only that A little elements, but also include other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or equipment including element.
The foregoing description of the disclosed embodiments enables those skilled in the art to realize or use the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited It is formed on the embodiments shown herein, and is to fit to consistent with the principles and novel features disclosed in this article widest Range.
It the above is only the preferred embodiment of the present invention, it is noted that those skilled in the art are come It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (14)

1. a kind of traffic pressure management method, which is characterized in that including:
Receive the pressure parameter request instruction that control server is sent;
In response to pressure parameter request instruction, the request constructed fuction for calling user to be configured by configuring interface, the request structure It makes in function comprising for creating service request and executable at least one request example;
At least one request example is executed, and according to preset multiple parameters, structure determines multiple for pressure parameter Service request;
Obtain the preconfigured at least one network identity for being directed toward target service system;
According at least one network identity, the multiple service request is sent, the multiple service request is sent to An at least destination server in the target service system;
It obtains and counts the destination server and be directed to the response results that the service request returns, to be based on the response results Determine the pressure parameter of the target service system.
2. traffic pressure management method according to claim 1, which is characterized in that the pressure parameter request instruction carries There is the packet sending speed that pressure parameter is asked;
It is described to send the multiple service request according at least one network identity, including:
According at least one network identity, and according to the packet sending speed, send the multiple service request.
3. traffic pressure management method according to claim 2, which is characterized in that described according at least one network Mark, and according to the packet sending speed, the multiple service request is sent, including:
According to the packet sending speed and preset token bucket algorithm, determine whether to meet condition of giving out a contract for a project;
When satisfaction gives out a contract for a project condition, according at least one network identity, send current pending in the multiple service request The target service request sent, at least target clothes target service request being sent in the target service system Business device.
4. traffic pressure management method according to claim 1, which is characterized in that the acquisition simultaneously counts the target clothes Business device is directed to the response results that the service request returns, including:
It receives the destination server and is directed to the response results that the service request returns;
Call user by it is described configuration interface configuration analytical function, and by the analytical function to the response results into Row statistic of classification, and the corresponding statistic of classification result of the response results is sent to the control server.
5. traffic pressure management method according to claim 1, which is characterized in that according at least one network mark Know, sends the multiple service request, including:
According at least one network identity, and according to asynchronous mechanism, send the multiple service request.
6. traffic pressure management method according to claim 1, which is characterized in that described to obtain preconfigured direction mesh At least one network identity of operation system is marked, including:
Preconfigured at least one network address is obtained, at least one network address belongs in target service system at least The address of one destination server.
7. a kind of traffic pressure managing device, which is characterized in that including:
Instruction reception unit, the pressure parameter request instruction sent for receiving control server;
Function calling cell, for the request structure that in response to pressure parameter request instruction, calling user is configured by configuring interface Function is made, includes for creating service request and executable at least one request example in the request constructed fuction;
Construction unit is asked, for executing at least one request example, and according to preset multiple parameters, is built for pressing Multiple service requests that force parameter determines;
Mark acquiring unit, for obtaining the preconfigured at least one network identity for being directed toward target service system;
Request transmitting unit will be described more for according at least one network identity, sending the multiple service request A service request is sent at least destination server in the target service system;
As a result statistic unit is directed to the response results that the service request returns for obtaining and counting the destination server, To determine the pressure parameter result of the target service system based on the response results.
8. traffic pressure managing device according to claim 7, which is characterized in that described instruction receiving unit receives The pressure parameter request instruction carries the packet sending speed of pressure parameter request;
The request transmitting unit, including:
Transmission sub-unit is asked, is used for according at least one network identity, and according to the packet sending speed, is sent described more A service request.
9. traffic pressure managing device according to claim 8, which is characterized in that the request transmission sub-unit, including:
Condition determination subelement, for according to the packet sending speed and preset token bucket algorithm, determining whether to meet Give out a contract for a project condition;
First transmission sub-unit, for when satisfaction gives out a contract for a project condition, according at least one network identity, sending the multiple Current target service request to be sent, the target service system is sent to by target service request in service request In an at least destination server.
10. traffic pressure managing device according to claim 7, which is characterized in that the result statistic unit, including:
As a result receiving subelement is directed to the response results that the service request returns for receiving the destination server;
Statistical report subelement for calling user by the analytical function of the configuration interface configuration, and passes through the parsing Response results described in function pair carry out statistic of classification, and the corresponding statistic of classification result of the response results is sent to the control Control server.
11. a kind of traffic pressure manages system, which is characterized in that including:
Control server and an at least stress management server;
Wherein, the control server, the parameter monitoring order for receiving user, and according to the parameter monitoring order to institute It states parameter acquisition service device and sends pressure parameter request instruction;
The stress management server, in response to the pressure parameter request instruction, user being called to match by configuring interface The request constructed fuction set, it is described to ask in constructed fuction comprising for creating service request and executable at least one request Example;At least one request example is executed, and according to preset multiple parameters, structure determines multiple for pressure parameter Service request;Obtain the preconfigured at least one network identity for being directed toward target service system;According at least one net Network identifies, and sends the multiple service request, the multiple service request is sent to the target service system at least One destination server;It obtains and counts the destination server and be directed to the response results that the service request returns, to be based on The response results determine the pressure parameter result of the target service system.
12. traffic pressure management system according to claim 11, which is characterized in that the control server is specifically used for, The parameter monitoring order of user is received, the parameter monitoring order instruction has packet sending speed;It is indicated according in parameter monitoring order Packet sending speed, sent to the stress management server and carry the pressure parameter request instruction of the packet sending speed.
13. a kind of stress management server, which is characterized in that including:
Processor and memory;
Wherein, the processor is for executing the program stored in the memory;
For storing program, described program is at least used for the memory:
Receive the pressure parameter request instruction that control server is sent;
In response to pressure parameter request instruction, the request constructed fuction for calling user to be configured by configuring interface, the request structure It makes in function comprising for creating service request and executable at least one request example;
At least one request example is executed, and according to preset multiple parameters, structure determines multiple for pressure parameter Service request;
Obtain the preconfigured at least one network identity for being directed toward target service system;
According at least one network identity, the multiple service request is sent, the multiple service request is sent to An at least destination server in the target service system;
It obtains and counts the destination server and be directed to the response results that the service request returns, to be based on the response results Determine the pressure parameter result of the target service system.
14. a kind of storage medium, which is characterized in that be stored with computer executable instructions, the calculating in the storage medium When machine executable instruction is loaded and executed by processor, claim 1 to 6 any one of them traffic pressure management as above is realized Method.
CN201810525323.0A 2018-05-28 2018-05-28 Service pressure management method, device, equipment, system and storage medium Active CN108600034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810525323.0A CN108600034B (en) 2018-05-28 2018-05-28 Service pressure management method, device, equipment, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810525323.0A CN108600034B (en) 2018-05-28 2018-05-28 Service pressure management method, device, equipment, system and storage medium

Publications (2)

Publication Number Publication Date
CN108600034A true CN108600034A (en) 2018-09-28
CN108600034B CN108600034B (en) 2020-07-03

Family

ID=63629440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810525323.0A Active CN108600034B (en) 2018-05-28 2018-05-28 Service pressure management method, device, equipment, system and storage medium

Country Status (1)

Country Link
CN (1) CN108600034B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831446A (en) * 2019-03-05 2019-05-31 广州虎牙信息科技有限公司 A kind of request method of calibration, device, equipment and storage medium
CN111158926A (en) * 2019-12-12 2020-05-15 口碑(上海)信息技术有限公司 Service request analysis method, device and equipment
CN111651339A (en) * 2020-06-04 2020-09-11 腾讯科技(深圳)有限公司 Request quantity control method and related device
CN112036837A (en) * 2020-09-04 2020-12-04 吉林亿联银行股份有限公司 Signature processing method, device, system, equipment and computer readable storage medium
CN113448653A (en) * 2020-03-27 2021-09-28 北京猎户星空科技有限公司 Service processing method, system, electronic equipment and computer readable medium
CN113778844A (en) * 2020-10-14 2021-12-10 北京京东振世信息技术有限公司 Automatic performance testing method and device
CN115208932A (en) * 2022-06-10 2022-10-18 武汉慧联无限科技有限公司 Air conditioner control method, internet of things platform, electronic equipment, chip and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996132A (en) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 Method and device for automatically testing common object request broker architecture (CORBA) interfaces
CN104079435A (en) * 2014-07-10 2014-10-01 南威软件股份有限公司 Method for regenerating Ethernet flow
CN104572469A (en) * 2015-01-23 2015-04-29 广东能龙教育股份有限公司 Automatic interface testing method and system based on simulative http requests
CN105959177A (en) * 2016-04-26 2016-09-21 网易(杭州)网络有限公司 Game server stress test script generation method and device
CN107102941A (en) * 2017-03-30 2017-08-29 腾讯科技(深圳)有限公司 The generation method and device of a kind of test case
CN107832221A (en) * 2017-11-15 2018-03-23 杭州安恒信息技术有限公司 Platform semi-automation function test method, apparatus and system based on Burpsuit plug-in units

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996132A (en) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 Method and device for automatically testing common object request broker architecture (CORBA) interfaces
CN104079435A (en) * 2014-07-10 2014-10-01 南威软件股份有限公司 Method for regenerating Ethernet flow
CN104572469A (en) * 2015-01-23 2015-04-29 广东能龙教育股份有限公司 Automatic interface testing method and system based on simulative http requests
CN105959177A (en) * 2016-04-26 2016-09-21 网易(杭州)网络有限公司 Game server stress test script generation method and device
CN107102941A (en) * 2017-03-30 2017-08-29 腾讯科技(深圳)有限公司 The generation method and device of a kind of test case
CN107832221A (en) * 2017-11-15 2018-03-23 杭州安恒信息技术有限公司 Platform semi-automation function test method, apparatus and system based on Burpsuit plug-in units

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831446A (en) * 2019-03-05 2019-05-31 广州虎牙信息科技有限公司 A kind of request method of calibration, device, equipment and storage medium
CN111158926A (en) * 2019-12-12 2020-05-15 口碑(上海)信息技术有限公司 Service request analysis method, device and equipment
CN111158926B (en) * 2019-12-12 2024-01-30 口碑(上海)信息技术有限公司 Service request analysis method, device and equipment
CN113448653A (en) * 2020-03-27 2021-09-28 北京猎户星空科技有限公司 Service processing method, system, electronic equipment and computer readable medium
CN113448653B (en) * 2020-03-27 2024-01-26 北京猎户星空科技有限公司 Service processing method, system, electronic equipment and computer readable medium
CN111651339A (en) * 2020-06-04 2020-09-11 腾讯科技(深圳)有限公司 Request quantity control method and related device
CN112036837A (en) * 2020-09-04 2020-12-04 吉林亿联银行股份有限公司 Signature processing method, device, system, equipment and computer readable storage medium
CN112036837B (en) * 2020-09-04 2024-02-02 吉林亿联银行股份有限公司 Signature processing method, device and system, equipment and computer readable storage medium
CN113778844A (en) * 2020-10-14 2021-12-10 北京京东振世信息技术有限公司 Automatic performance testing method and device
CN115208932A (en) * 2022-06-10 2022-10-18 武汉慧联无限科技有限公司 Air conditioner control method, internet of things platform, electronic equipment, chip and storage medium
CN115208932B (en) * 2022-06-10 2024-03-15 武汉慧联无限科技有限公司 Air conditioner control method, internet of things platform, electronic equipment, chip and storage medium

Also Published As

Publication number Publication date
CN108600034B (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN108600034A (en) Traffic pressure management method, device, equipment, system and storage medium
Khazaei et al. A fine-grained performance model of cloud computing centers
CN109582466A (en) A kind of timed task executes method, distributed server cluster and electronic equipment
US20060195725A1 (en) Method and system for generating and monitoring variable load on an application under test
US9836298B2 (en) Deployment rule system
CN107872402A (en) The method, apparatus and electronic equipment of global traffic scheduling
CN109739730A (en) Monitoring method, device, equipment and the readable storage medium storing program for executing of multisystem daily record data
CN109165165A (en) Interface test method, device, computer equipment and storage medium
CN112583734A (en) Burst flow control method and device, electronic equipment and storage medium
Michael et al. Cloudperf: A performance test framework for distributed and dynamic multi-tenant environments
CN106797399A (en) Determine collocation method, equipment, system and the computer-readable medium of the new configuration of computing resource
Iglesias et al. Orca: an orchestration automata for configuring vnfs
CN108733545B (en) Pressure testing method and device
CN110912726B (en) Service providing method, device, system, storage medium and electronic device
CN108039956A (en) Using monitoring method, system and computer-readable recording medium
CN101242617B (en) A testing system and method for original performance statistical data
Mamatas et al. Towards an information management overlay for emerging networks
CN112799970A (en) Test data processing method, device, electronic equipment and medium
CN106294146B (en) Parameter replacement test method and device
Meyer Performability evaluation of telecommunication networks
Daga et al. From back-of-the-envelope to informed estimation of edge computing benefits in minutes using castnet
CN112448833B (en) Multi-management-domain communication method and device
CN113747506A (en) Resource scheduling method, device and network system
CN111506495A (en) Distributed system testing method and device based on springboot frame
CN111078534B (en) Test scheduling method and related equipment

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