CN109284230A - A kind of method, equipment, system and medium improving pressing machine stability - Google Patents

A kind of method, equipment, system and medium improving pressing machine stability Download PDF

Info

Publication number
CN109284230A
CN109284230A CN201811220253.4A CN201811220253A CN109284230A CN 109284230 A CN109284230 A CN 109284230A CN 201811220253 A CN201811220253 A CN 201811220253A CN 109284230 A CN109284230 A CN 109284230A
Authority
CN
China
Prior art keywords
control node
pressure survey
survey process
pressing machine
pressure
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
CN201811220253.4A
Other languages
Chinese (zh)
Other versions
CN109284230B (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.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201811220253.4A priority Critical patent/CN109284230B/en
Publication of CN109284230A publication Critical patent/CN109284230A/en
Application granted granted Critical
Publication of CN109284230B publication Critical patent/CN109284230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

Present disclose provides a kind of methods for improving pressing machine stability, cluster is formed by pressing machine described at least one and at least one control node to realize, it include: S1, control node sends a control signal to pressing machine according to pressure survey task, and survey process is pressed in pressing machine pull-up accordingly, if pull-up success, the port numbers of survey process binding will be pressed to be sent to control node, control node according to port numbers with pressure survey process establish it is direct-connected, otherwise, exit pressure survey process;S2, control node send pressure survey task to pressure survey process;S3, pressure survey process receive pressure survey task, execute operation, generate the performance data of cluster and be sent to control node;S4 exits pressure survey process when congestion and congestion time are greater than a threshold value between control node and pressure survey process;S5 exits pressure survey process when network disconnects between control node and pressure survey process.The disclosure is handled pressing machine according to the abnormal conditions in communication process, effectively increases the stability of Testing Platform.

Description

A kind of method, equipment, system and medium improving pressing machine stability
Technical field
This disclosure relates to technical field of performance test, and in particular to it is a kind of improve pressing machine stability method, equipment, be System and medium.
Background technique
Performance test is to simulate a variety of normal, peak values and abnormal load conditions by the testing tool of automation come to being The performance indexes of system is tested.NGrinder is the Testing Platform of an open source code, can be supported more User uses, and is with good expansibility.The distributed frame of nGrinder by a controller (controller) and Its n agency (agent) composition is connected, test is distributed to this n agent and executed up by controller, and by this n The test result of agent is summarized.
However, nGrinder itself does not do excessive consideration to the stability of pressing machine in Testing Platform, as network is different Pressing machine has begun pressure when often, can waste limited pressing machine resource;TCP connection does not disconnect, but due to network congestion When leading to information drop-out or not reaching for a long time, nGrinder does not also process pressing machine;NGrinder traffic model is The primary socket of java, traffic model maintenance are relatively difficult.The disclosure is based on nGrinder Testing Platform, being reconstructed property The traffic model of energy test platform, and designed for the stability of the communication quality of performance test.
Summary of the invention
The disclosure in view of the above problems, provides a kind of method, equipment, system and medium for improving pressing machine stability. Pressing machine is handled by the traffic model of reconstruction property test platform, and according to the abnormal conditions in communication process, into And effectively improve the stability and availability of Testing Platform.
An aspect of this disclosure provides a kind of method for improving pressing machine stability, passes through pressure described at least one Machine and at least one control node composition cluster realize that method includes: S1, and the control node sends control according to pressure survey task Signal is to the pressing machine, and the pressing machine presses survey process according to the control signal pull-up received accordingly, if pull-up The port numbers of the pressure survey process binding are sent to the control node, the control by the finger daemon of success, the pressing machine Node processed directly establishes connection with the pressure survey process according to the port numbers received, otherwise, exits the pressure survey process; S2, the control node send the pressure survey task to the pressure survey process;S3, the pressure survey process are according to what is received Pressure surveys task execution operation, and generates the performance data of cluster described in the operation, the performance data is sent to described Control node;S4, when network congestion between the control node and the pressure survey process, if the congestion time is greater than a threshold value, Exit the pressure survey process;S5, when between the control node and the pressure survey process network disconnect when, exit it is described pressure survey into Journey.
Optionally, method further include: when network disconnects between the control node and finger daemon, exit described guard The pressure of process context surveys process.
Optionally, method further include: when the control node and pressure survey process re-establish connection, discharge the control First related resource of old connection between node and the pressure survey process;When the control node and finger daemon re-establish company When connecing, the second related resource of old connection between the control node and the finger daemon is discharged.
Optionally, step S1 further include: when the control node directly established with the pressure survey process connection it is failed when, At the end of the pressure survey task, the pressure for removing the pressure survey task surveys process;When more than a predetermined time, the control When pressing survey process described in the non-pull-up of node, the pressure survey process is exited.
Optionally, described in the non-pull-up of control node press survey process further include: when be more than the predetermined time, it is described to guard When process does not receive the port numbers of the pressure survey process binding, the pressure survey process is exited.
Optionally, step S4 further include: the control node timing sends a message to the pressure survey process, if the pressure The continuous n times of survey process do not receive a message, exit the pressure survey process, wherein N is the integer greater than 1.
Optionally, a message is KeepAliveMessage heartbeat.
On the other hand the disclosure additionally provides a kind of electronic equipment for improving pressing machine stability, comprising: processor;Storage Device is stored with computer executable program, and described program by the processor when being executed, so that the processor executes State the method for improving pressing machine stability.
On the other hand the disclosure additionally provides a kind of system for improving pressing machine stability, the raising pressing machine stability System include: pull-up module, the control signal sent for receiving the control node, and according to the control signal received Survey process is pressed in pull-up accordingly, and in pull-up success, and the port numbers of the pressure survey process binding are sent to the control and are saved Point;Transmission module, for the pressure of the control node to be surveyed multiplexed transport to the pressing machine, and the pressing machine is generated Performance data is transmitted to the control node;Module is exited, for the failure of pressure survey process or the control node described in pull-up The congestion time, it is disconnected to be greater than network between a threshold value or the control node and the pressure survey process between the pressure survey process When opening, the pressure survey process is exited.
Another aspect of the present disclosure additionally provides a kind of computer readable storage medium, is stored thereon with computer program, The method of above-mentioned raising pressing machine stability is realized when described program is executed by processor.
Detailed description of the invention
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, in which:
Fig. 1 diagrammatically illustrates the flow chart of the method for the raising pressing machine stability provided according to the embodiment of the present disclosure.
Fig. 2 diagrammatically illustrates the flow chart of the control node pull-up pressure survey process provided according to the embodiment of the present disclosure.
Fig. 3 diagrammatically illustrates the block diagram of the electronic equipment according to the disclosure.
Fig. 4 diagrammatically illustrates the block diagram of the system of the raising pressing machine stability of the embodiment of the present disclosure.
Specific embodiment
According in conjunction with attached drawing to the described in detail below of disclosure exemplary embodiment, other aspects, the advantage of the disclosure Those skilled in the art will become obvious with prominent features.
In the disclosure, term " includes " and " containing " and its derivative mean including rather than limit;Term "or" is packet Containing property, mean and/or.
In the present specification, following various embodiments for describing disclosure principle only illustrate, should not be with any Mode is construed to limitation scope of disclosure.Referring to attached drawing the comprehensive understanding described below that is used to help by claim and its equivalent The exemplary embodiment for the disclosure that object limits.Described below includes a variety of details to help to understand, but these details are answered Think to be only exemplary.Therefore, it will be appreciated by those of ordinary skill in the art that without departing substantially from the scope of the present disclosure and spirit In the case where, embodiment described herein can be made various changes and modifications.In addition, for clarity and brevity, The description of known function and structure is omitted.In addition, running through attached drawing, same reference numbers are used for identity function and operation.
In the embodiment of the present disclosure, Testing Platform is made of at least one control node and at least one pressing machine Cluster, control node are equivalent to the controller of nGrinder, and pressing machine is equivalent to the agent of nGrinder.
Process is the individual that system carries out Resource Distribution and Schedule, process at least one thread.It keeps Shield process is a kind of special processing in running background, for executing specific system task.
In the embodiment of the present disclosure, the communication between control node and pressure survey process is to survey to appoint for transmission of control signals, pressure Business, performance data etc.;Communication between control node and finger daemon is fixed channel, surveys process creation thread for transmitting pressure Count, press the script information surveyed, port numbers of pressure survey process binding etc., and then communicated between realization control node and pressure survey process It establishes.
Fig. 1 diagrammatically illustrates the flow chart of the method for the raising pressing machine stability provided according to the embodiment of the present disclosure, Fig. 2 diagrammatically illustrates the flow chart of the control node pull-up pressure survey process provided according to the embodiment of the present disclosure.It is right in conjunction with Fig. 2 Fig. 1 the method is described in detail, as shown in Figure 1, this method includes following operation:
S1, control node send a control signal to pressing machine according to pressure survey task, and pressing machine is believed according to the control received Survey process is pressed in number pull-up accordingly, establishes connection between control node and pressure survey process.
Pull-up process makes the process being pulled up be capable of providing service.For example, when creation pressure survey task, control node scheduling Survey task is pressed, according to number of processes and type that pressure survey task needs, for distribution pressure survey task to pressing machine, pressing machine pull-up is corresponding Pressure survey process so that the pressure that is pulled up surveys process and is capable of providing corresponding service, and then complete corresponding pressure survey task.
Port numbers are for identifying the different application on the same pressing machine, and a process can bind multiple ports Number, a port number can only be bound by a process, and the service that different processes provides is distinguished by different port numbers.
Pressure survey task is the visit that Testing Platform goes out certain following flow rush hour point business according to historical data analysis The amount of asking, for example, may include the information for pressing survey task, test script, need Virtual User number to be simulated etc..
Specifically, control node sends a control signal to pressing machine according to pressure survey task, in the present embodiment, control node hair Send creation pressing machine process response message (CreatAgentProcessAckMessage) to pressing machine, pressing machine receives this Call creation pressing machine process message processing function (CreatAgentProcessMessageHandle) to the message after message It is handled, and survey process is pressed in pull-up.Pressing machine is defined in CreatAgentProcessAckMessage needs the corresponding of pull-up Pressure survey process;CreatAgentProcessMessageHandle is used for receiving CreatAgentProcessAckMessage message is handled, and parses and the pressure of pull-up is needed to survey defined in the message Process.
Further, pull-up pressure survey process includes following sub-operation:
S11 judges that the port numbers for pressing survey process whether to return to its binding execute sub-operation if not returning to finger daemon S12;Otherwise, sub-operation S13 is executed.
S12 judges whether time-out, and the time-out time is identical as control node pull-up pressure survey process time-out time, can be pre- First it is arranged, if overtime, directly exit the pressure and survey process;Otherwise, finger daemon continues waiting for, until time-out exit the pressure survey into Journey, or receive the port numbers of pressure survey process binding and execute sub-operation S13.
S13 judges whether control node pull-up pressure survey process is overtime, if overtime, directly exit the pressure and survey process;Otherwise, The port numbers of survey process binding will be pressed to be back to pressing machine finger daemon by interprocess communication, finger daemon returns the port numbers It is back to control node, control node directly surveys process with the pressure according to the port numbers and establishes connection, executes sub-operation S14.
S14, judge control node and press survey process between connection whether be successfully established, if not successfully, pressure survey process after Work is renewed, at the end of the pressure survey task, the communication between control node and finger daemon disconnects automatically, exits on the pressing machine Belong to all pressure survey processes of residue that the pressure surveys task;If success, the successful connection between control node and pressure survey process is established, Subsequent operation can be just executed at this time.
Operation S1 to lead to communication failure when network or other reasons, as pressing machine receives the control of pull-up pressure survey process Signal processed, but untreated complete i.e. control node and pressure survey process exit pressure survey process, avoid wasting limited when not setting up connection Pressing machine resource.
S2, control node send pressure survey task to pressure survey process, and pressure survey process is surveyed task execution operation according to the pressure, generated The performance data of cluster in operation, is sent to control node for performance data.
Communication between control node and pressure survey process is normal, and the communication between control node and finger daemon is normal When, the pressure survey task of big flow is distributed to each pressing machine in cluster by control node, and each pressing machine receives pressure survey task Afterwards, it calls corresponding pressure survey process to execute corresponding operation, and collects the performance data of the cluster during operating and executing, And these performance datas are back to control node.
S3 exits pressure survey when network congestion and congestion time are greater than a threshold value between control node and pressure survey process Process.
During task pressure is surveyed, communication connection is directly established between control node and pressure survey process, for the communication Channel exists but because the congestion of network long-time is handled.
In operation S3, control node timing sends a message to pressure survey process, if the pressure continuous n times of survey process do not receive This message exits the pressure and surveys process, wherein N is the integer greater than 1, this message is to keep alive message (KeepAliveMessage) heartbeat, the KeepAliveMessage heartbeat press survey process to confirm that the pressure surveys process and control for making Connection between node processed is still effective.
In the present embodiment, control node sent a KeepAliveMessage heartbeat every 5 seconds to pressure survey process, and pressure is surveyed Process detected whether it receives the KeepAliveMessage heartbeat from control node every 20 seconds, if it is continuous 3 times pressure survey into The KeepAliveMessage heartbeat is all not detected in journey, then it is assumed that and the network between control node and pressure survey process is unreliable, It directly exits the pressure and surveys process, at this point, N=12.
S4 exits the pressure and surveys process when network disconnects between control node and pressure survey process.
During task pressure is surveyed, communication connection is directly established between control node and pressure survey process, for the communication Channel network exception or control node, which actively disconnect, to be handled.
In operation S4, when network disconnects between control node and pressure survey process, directly exits the pressure and survey process, can have Avoid wasting limited pressing machine resource to effect.
S5 exits pressure associated by the finger daemon and surveys process when network disconnects between control node and finger daemon.
In operation S5, when the connection between control node and finger daemon disconnects, control node and finger daemon it Between communication disconnect automatically, the associated all pressure survey processes of the finger daemon all exit.Because for no and control node The pressure for directly establishing connection surveys process, only automatically exits from pressure survey process by network disconnection between control node and pressure survey process, The pressure not being directly connected to control node can be missed and survey process.Operation S5 can guarantee the net between control node and finger daemon When network disconnects, waste pressing machine resource is avoided.
S6 discharges the control node and is somebody's turn to do when control node re-establishes connection with pressure survey process and/or finger daemon Press the related resource of old connection between survey process and/or finger daemon.
In operation S6, after the connection between control node and pressure survey process disconnects and re-establishes connection, the control is discharged The related resource of old connection (re-establishing the preceding primary connection of connection), such as network port between node processed and the pressure survey process Number, inside program and the memory source connected and bound etc., to avoid wasting the limited network port.
After connection between control node and finger daemon disconnects and re-establishes connection, discharges the control node and kept with this The related resource of old connection between shield process, such as network port number, program inside and the memory source connected and bound.
As shown in figure 3, electronic equipment 300 includes processor 310, computer readable storage medium 320.The electronic equipment 300 can execute above with reference to Fig. 1 and the method described with reference to Fig. 2, to carry out Message Processing.
Specifically, processor 310 for example may include general purpose microprocessor, instruction set processor and/or related chip group And/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processor 310 can also include using for caching The onboard storage device on way.Processor 310, which can be, refers to Fig. 1 and with reference to Fig. 2 description according to the embodiment of the present disclosure for executing Method flow different movements single treatment units either multiple processing units.
Computer readable storage medium 320, such as can be times can include, store, transmitting, propagating or transmitting instruction Meaning medium.For example, readable storage medium storing program for executing can include but is not limited to electricity, magnetic, optical, electromagnetic, infrared or semiconductor system, device, Device or propagation medium.The specific example of readable storage medium storing program for executing includes: magnetic memory apparatus, such as tape or hard disk (HDD);Optical storage Device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wire/wireless communication chain Road.
Computer readable storage medium 320 may include computer program 321, which may include generation Code/computer executable instructions execute processor 310 for example above in conjunction with Fig. 1 and figure Method flow described in 2 and its any deformation.
Computer program 321 can be configured to have the computer program code for example including computer program module.Example Such as, in the exemplary embodiment, the code in computer program 321 may include one or more program modules, for example including 321A, module 321B ....It should be noted that the division mode and number of module are not fixed, those skilled in the art It can be combined according to the actual situation using suitable program module or program module, when these program modules are combined by processor When 310 execution, processor 310 is executed for example above in conjunction with method flow described in Fig. 1 and Fig. 2 and its any change Shape.
In accordance with an embodiment of the present disclosure, computer-readable medium can be computer-readable signal media or computer can Read storage medium either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.It calculates The more specific example of machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, portable of one or more conducting wires Formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In the disclosure, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this public affairs In opening, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable Any computer-readable medium other than storage medium, the computer-readable medium can send, propagate or transmit for by Instruction execution system, device or device use or program in connection.The journey for including on computer-readable medium Sequence code can transmit with any suitable medium, including but not limited to: wireless, wired, optical cable, radiofrequency signal etc., or Above-mentioned any appropriate combination.
Fig. 4 diagrammatically illustrates the block diagram of matched system between the user of the embodiment of the present disclosure.
As shown in figure 4, matched system includes pull-up module 410, transmission module 420 and exits module 430 between user.
Specifically, pull-up module 410 is called for receiving CreatAgentProcessAckMessage message CreatAgentProcessMessageHandle handles the message, and survey process is pressed in pull-up accordingly, and in pull-up When success, the port numbers of survey process binding will be pressed to be back to finger daemon by interprocess communication, finger daemon is by the port numbers It is back to control node, control node directly surveys process with the pressure according to the port numbers and establishes connection.
Transmission module 420, for the pressure of control node big flow to be surveyed multiplexed transport to pressing machine, pressing machine calls corresponding Pressure survey process and execute corresponding operating, collect the performance data of the cluster in operation implementation procedure, and performance data transmitted To control node.
Module 430 is exited, at the appointed time will not for control node pull-up pressure survey process time-out, or pressure survey process Its port numbers bound is back to finger daemon or control node and the network congestion time between survey process is pressed to be greater than a threshold Value perhaps control node and pressure survey process between network disconnect perhaps between control node and finger daemon network disconnect or At the end of control node does not directly establish connection and pressure survey task with pressure survey process, pressure survey process is exited under above situation.
It is understood that pull-up module 410, transmission module 420 and exiting module 430 and may be incorporated in a module It realizes or any one module therein can be split into multiple modules.Alternatively, one or more moulds in these modules At least partly function of block can be combined at least partly function of other modules, and be realized in a module.According to this The embodiment of invention, pull-up module 410, transmission module 420 and at least one of exit module 430 can be at least by partly It is embodied as on hardware circuit, such as field programmable gate array (FPGA), programmable logic array (PLA), system on chip, substrate System, the system in encapsulation, specific integrated circuit (ASIC), can with to circuit carry out it is integrated or encapsulate any other The hardware such as rational method or firmware realize, or with software, three kinds of implementations of hardware and firmware it is appropriately combined come it is real It is existing.Alternatively, pull-up module 410, transmission module 420 and at least one of exiting module 430 and can at least be at least partially implemented The function of corresponding module can be executed when the program is run by computer for computer program module.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations or/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, exist In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, those skilled in the art are shown and described with reference to the certain exemplary embodiments of the disclosure It, can be with it should be understood that in the case where the spirit and scope of the present disclosure limited without departing substantially from the following claims and their equivalents A variety of changes in form and details are carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment, but It should be not only determined by appended claims, be also defined by the equivalent of appended claims.

Claims (10)

1. a kind of method for improving pressing machine stability, which is characterized in that pass through pressing machine described at least one and at least one Control node forms cluster and realizes, method includes:
S1, the control node send a control signal to the pressing machine according to pressure survey task, and the pressing machine is according to receiving The control signal pull-up press survey process accordingly, if pull-up success, the finger daemon of the pressing machine by the pressure survey into The port numbers of journey binding are sent to the control node, the control node according to the port numbers received directly with it is described Pressure survey process establishes connection, otherwise, exits the pressure survey process;
S2, the control node send the pressure survey task to the pressure survey process;
S3, the pressure survey process surveys task execution operation according to the pressure received, and generates cluster described in the operation Performance data, the performance data is sent to the control node;
S4, if the congestion time is greater than a threshold value, exits institute when network congestion between the control node and the pressure survey process State pressure survey process;
S5 exits the pressure survey process when network disconnects between the control node and the pressure survey process.
2. the method according to claim 1 for improving pressing machine stability, which is characterized in that the method also includes:
When between the control node and finger daemon network disconnect when, exit the finger daemon it is associated it is described pressure survey into Journey.
3. the method according to claim 1 for improving pressing machine stability, which is characterized in that the method also includes:
When the control node and pressure survey process re-establish connection, discharge between the control node and the pressure survey process First related resource of old connection;
When the control node and finger daemon re-establish connection, discharge between the control node and the finger daemon Second related resource of old connection.
4. the method according to claim 1 for improving pressing machine stability, which is characterized in that the step S1 further include:
When the control node directly established with the pressure survey process connection it is failed when, at the end of the pressure survey task, clearly Except the pressure of the pressure survey task surveys process;
When described in the non-pull-up of control node when pressure survey process, exiting the pressure survey process more than a predetermined time.
5. the method according to claim 4 for improving pressing machine stability, which is characterized in that the non-pull-up of control node The pressure survey process further include:
When be more than the predetermined time, the finger daemon do not receive it is described pressure survey process binding the port numbers when, Exit the pressure survey process.
6. the method according to claim 1 for improving pressing machine stability, which is characterized in that the step S4 further include:
The control node timing sends a message to the pressure survey process, if the continuous n times of the pressure survey process do not receive institute A message is stated, the pressure survey process is exited, wherein N is the integer greater than 1.
7. the method according to claim 6 for improving pressing machine stability, which is characterized in that a message is KeepAliveMessage heartbeat.
8. a kind of electronic equipment for improving pressing machine stability characterized by comprising
Processor;
Memory is stored with computer executable program, and described program by the processor when being executed, so that the processing Device executes the method as improved pressing machine stability in claim 1-7.
9. it is a kind of improve pressing machine stability system, which is characterized in that it is described improve pressing machine stability system include:
Pull-up module, the control signal sent for receiving the control node, and according to the control signal pull-up phase received The pressure answered surveys process, and in pull-up success, and the port numbers of the pressure survey process binding are sent to the control node;
Transmission module for the pressure of the control node to be surveyed multiplexed transport to the pressing machine, and the pressing machine is generated Performance data be transmitted to the control node;
Module is exited, for congestion between the failure of pressure survey process or the control node and the pressure survey process described in pull-up When time is greater than network disconnection between a threshold value or the control node and the pressure survey process, the pressure survey process is exited.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed The method as improved pressing machine stability in claim 1-7 is realized when device executes.
CN201811220253.4A 2018-10-18 2018-10-18 Method, equipment, system and medium for improving stability of pressing machine Active CN109284230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811220253.4A CN109284230B (en) 2018-10-18 2018-10-18 Method, equipment, system and medium for improving stability of pressing machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811220253.4A CN109284230B (en) 2018-10-18 2018-10-18 Method, equipment, system and medium for improving stability of pressing machine

Publications (2)

Publication Number Publication Date
CN109284230A true CN109284230A (en) 2019-01-29
CN109284230B CN109284230B (en) 2021-11-26

Family

ID=65176898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811220253.4A Active CN109284230B (en) 2018-10-18 2018-10-18 Method, equipment, system and medium for improving stability of pressing machine

Country Status (1)

Country Link
CN (1) CN109284230B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633878B1 (en) * 1999-07-30 2003-10-14 Accenture Llp Initializing an ecommerce database framework
US8012360B1 (en) * 2005-11-22 2011-09-06 Clayton B. Sippola Pressure sensor
CN104850492A (en) * 2015-04-24 2015-08-19 浪潮集团有限公司 Test method of server pressure on basis of Windows
CN105279087A (en) * 2015-10-21 2016-01-27 北京软件产品质量检测检验中心 Test method and test system applied to test software
CN107741876A (en) * 2017-10-27 2018-02-27 郑州云海信息技术有限公司 A kind of virtual machine process monitoring system and method
CN207397264U (en) * 2017-11-16 2018-05-22 郑州云海信息技术有限公司 A kind of generic server AC pressure test platforms

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6633878B1 (en) * 1999-07-30 2003-10-14 Accenture Llp Initializing an ecommerce database framework
US8012360B1 (en) * 2005-11-22 2011-09-06 Clayton B. Sippola Pressure sensor
CN104850492A (en) * 2015-04-24 2015-08-19 浪潮集团有限公司 Test method of server pressure on basis of Windows
CN105279087A (en) * 2015-10-21 2016-01-27 北京软件产品质量检测检验中心 Test method and test system applied to test software
CN107741876A (en) * 2017-10-27 2018-02-27 郑州云海信息技术有限公司 A kind of virtual machine process monitoring system and method
CN207397264U (en) * 2017-11-16 2018-05-22 郑州云海信息技术有限公司 A kind of generic server AC pressure test platforms

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
东凌阁: "ngrinder 压力测试实践(一) -- ngrinder介绍及部署", 《HTTPS://BLOG.51CTO.COM/U_13673090/2105459》 *
王永辉: "基于Nginx高性能Web服务器性能优化与负载均衡的改进与实现", 《中国优秀硕士学位论文全文数据库·信息科技辑》 *

Also Published As

Publication number Publication date
CN109284230B (en) 2021-11-26

Similar Documents

Publication Publication Date Title
CN104702462A (en) Network test system
CN106470123B (en) Log collecting method, client, server and electronic equipment
CN103581133B (en) Web server sends the method and system of response to access request
CN106713187B (en) A kind of message transmitting method and device
CN110377440A (en) Information processing method and device
CN111479287A (en) Simulation test method, device, equipment and storage medium for core network of non-independent networking
CN107666401A (en) A kind of configuration information obtaining method and terminal
CN108243025A (en) A kind of network test server-side, network test terminal and test method
US20220352997A1 (en) Interference simulation system, method and apparatus, interference test system, method and apparatus, and computer readable storage medium
CN106059956A (en) Time queue processing method and device for session of network equipment
CN109284230A (en) A kind of method, equipment, system and medium improving pressing machine stability
CN117560271A (en) Node fault processing method and device
CN110519109A (en) The associated method, apparatus of probe node calculates equipment and medium
CN116112420A (en) Automatic opening method and device for SPN data private line service
CN109861875A (en) The test method and device of application program
CN105721959A (en) Management platform, system and method for implementing optical transport network (OTN) business
CN109672616A (en) Data transmission method, device, equipment and medium
US6173244B1 (en) System and method for testing a switching system in a telecommunication network
CN106339797A (en) Point inspection data processing method and device
US8040812B1 (en) Network outage assessment
CN114499741A (en) Data frame checking method, receiving equipment and transmitting equipment
WO2009080456A2 (en) Improvements in or relating to networks
CN109788506A (en) The method and apparatus for realizing the backfill of LTE measurement report user identifier
JP6502783B2 (en) Bulk management system, bulk management method and program
CN109725216A (en) The data interactive method and device of charging pile detection device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant