CN109284230B - Method, equipment, system and medium for improving stability of pressing machine - Google Patents
Method, equipment, system and medium for improving stability of pressing machine Download PDFInfo
- Publication number
- CN109284230B CN109284230B CN201811220253.4A CN201811220253A CN109284230B CN 109284230 B CN109284230 B CN 109284230B CN 201811220253 A CN201811220253 A CN 201811220253A CN 109284230 B CN109284230 B CN 109284230B
- Authority
- CN
- China
- Prior art keywords
- pressure measurement
- measurement process
- control node
- pressure
- stability
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments 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
The present disclosure provides a method for improving stability of a pressing machine, which is implemented by forming a cluster by at least one pressing machine and at least one control node, and includes: s1, the control node sends a control signal to the pressure applying machine according to the pressure measurement task, the pressure applying machine pulls up the corresponding pressure measurement process, if the pulling up is successful, the port number bound by the pressure measurement process is sent to the control node, the control node establishes direct connection with the pressure measurement process according to the port number, and if not, the pressure measurement process is quitted; s2, the control node sends a pressure measurement task to a pressure measurement process; s3, the pressure measurement process receives the pressure measurement task, executes the operation, generates the performance data of the cluster and sends the performance data to the control node; s4, when the congestion between the control node and the pressure measurement process is greater than a threshold value, the pressure measurement process is quitted; and S5, when the network between the control node and the pressure measurement process is disconnected, the pressure measurement process is quitted. The pressure applying machine is processed according to the abnormal condition in the communication process, and the stability of the performance test platform is effectively improved.
Description
Technical Field
The disclosure relates to the technical field of performance testing, in particular to a method, equipment, a system and a medium for improving the stability of a pressing machine.
Background
The performance test is to simulate various normal, peak and abnormal load conditions through an automatic test tool to test various performance indexes of the system. nGrinder is a performance test platform of open source codes, can support multi-user use and has good expandability. The distributed structure of nGrinder consists of a controller (controller) and n agents (agents) connected with the controller, wherein the controller distributes the test to the n agents for execution and summarizes the test results of the n agents.
However, the nGrinder does not consider the stability of the presser in the performance test platform too much, and limited presser resources are wasted if the presser starts to press when the network is abnormal; the TCP connection is not disconnected, but when the message is lost or does not arrive for a long time due to network congestion, the nGrinder does not process the presser; the nGrinder communication model is java native socket, and is difficult to maintain. The method is based on the nGrinder performance test platform, reconstructs a communication model of the performance test platform, and designs the stability of the communication quality of the performance test.
Disclosure of Invention
In view of the foregoing, the present disclosure provides a method, apparatus, system, and medium for improving the stability of a press. The stability and the usability of the performance testing platform are effectively improved by reconstructing the communication model of the performance testing platform and processing the pressure applying machine according to the abnormal condition in the communication process.
One aspect of the present disclosure provides a method for improving stability of a pressing machine, which is implemented by forming a cluster by at least one pressing machine and at least one control node, and the method includes: s1, the control node sends a control signal to the pressure applying machine according to a pressure measurement task, the pressure applying machine pulls up a corresponding pressure measurement process according to the received control signal, if the pulling up is successful, the daemon process of the pressure applying machine sends a port number bound by the pressure measurement process to the control node, the control node directly establishes connection with the pressure measurement process according to the received port number, and if not, the pressure measurement process is exited; s2, the control node sends the pressure measurement task to the pressure measurement process; s3, the pressure measurement process executes operation according to the received pressure measurement task, generates performance data of the cluster in the operation, and sends the performance data to the control node; s4, when the network between the control node and the pressure measurement process is congested, if the congestion time is greater than a threshold value, the pressure measurement process is exited; and S5, when the network between the control node and the pressure measurement process is disconnected, exiting the pressure measurement process.
Optionally, the method further comprises: and when the network between the control node and the daemon process is disconnected, exiting the pressure measurement process associated with the daemon process.
Optionally, the method further comprises: when the control node and the pressure measurement process reestablish connection, releasing first related resources of old connection between the control node and the pressure measurement process; and when the control node and the daemon reestablish the connection, releasing the second related resource of the old connection between the control node and the daemon.
Optionally, step S1 further includes: when the control node is not successfully connected with the pressure measurement process directly, the pressure measurement process of the pressure measurement task is eliminated when the pressure measurement task is finished; and when the control node does not pull up the pressure measurement process after a preset time, the pressure measurement process is exited.
Optionally, the step of controlling the node not to pull up the pressure measurement process further includes: and when the preset time is exceeded and the daemon process does not receive the port number bound by the pressure measurement process, exiting the pressure measurement process.
Optionally, step S4 further includes: and the control node sends a message to the pressure measurement process at regular time, and exits the pressure measurement process if the pressure measurement process does not receive the message for N times continuously, wherein N is an integer greater than 1.
Optionally, the message is a KeepAliveMessage heartbeat.
This disclosed another aspect still provides an improve electronic equipment who presses stability, includes: a processor; a memory storing a computer executable program which, when executed by the processor, causes the processor to perform the above method of improving the stability of a press.
In another aspect of the present disclosure, a system for improving stability of a pressing machine is further provided, where the system for improving stability of a pressing machine includes: the pull-up module is used for receiving the control signal sent by the control node, pulling up the corresponding pressure measurement process according to the received control signal, and sending the port number bound by the pressure measurement process to the control node when the pull-up is successful; the transmission module is used for transmitting the pressure measurement task of the control node to the pressure applying machine and transmitting the performance data generated by the pressure applying machine to the control node; and the quitting module is used for quitting the pressure measurement process when the pressure measurement process is failed to be pulled up, or the congestion time between the control node and the pressure measurement process is greater than a threshold value, or the network between the control node and the pressure measurement process is disconnected.
Another aspect of the present disclosure also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the above-described method of improving the stability of a press.
Drawings
For a more complete understanding of the present disclosure and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
fig. 1 schematically illustrates a flow chart of a method of improving the stability of a press provided according to an embodiment of the present disclosure.
Fig. 2 schematically shows a flowchart of a control node pull-up pressure measurement process provided according to an embodiment of the present disclosure.
Fig. 3 schematically shows a block diagram of an electronic device according to the present disclosure.
Fig. 4 schematically illustrates a block diagram of a system for improving press stability according to an embodiment of the present disclosure.
Detailed Description
Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses exemplary embodiments of the disclosure.
In the present disclosure, the terms "include" and "comprise," as well as derivatives thereof, mean inclusion without limitation; the term "or" is inclusive, meaning and/or.
In this specification, the various embodiments described below which are used to describe the principles of the present disclosure are by way of illustration only and should not be construed in any way to limit the scope of the disclosure. The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of exemplary embodiments of the present disclosure as defined by the claims and their equivalents. The following description includes various specific details to aid understanding, but such details are to be regarded as illustrative only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Moreover, descriptions of well-known functions and constructions are omitted for clarity and conciseness. Moreover, throughout the drawings, the same reference numerals are used for similar functions and operations.
In the embodiment of the disclosure, the performance test platform is a cluster composed of at least one control node and at least one pressure applicator, the control node is equivalent to a controller of nGrinder, and the pressure applicator is equivalent to an agent of nGrinder.
The process is an independent unit for resource allocation and scheduling of the system, and at least one thread is arranged in one process. Daemons are a type of special process that runs in the background to perform specific system tasks.
In the embodiment of the disclosure, the communication between the control node and the pressure measurement process is used for transmitting control signals, pressure measurement tasks, performance data and the like; the communication between the control node and the daemon is a fixed channel and is used for transmitting the number of created threads of the pressure measurement process, the script information of pressure measurement, the port number bound by the pressure measurement process and the like, and further the establishment of the communication between the control node and the pressure measurement process is realized.
Fig. 1 schematically shows a flowchart of a method for improving stability of a press according to an embodiment of the present disclosure, and fig. 2 schematically shows a flowchart of a control node pull-up pressure measurement process according to an embodiment of the present disclosure. The method described in fig. 1 is explained in detail with reference to fig. 2, and as shown in fig. 1, the method includes the following operations:
and S1, the control node sends a control signal to the pressure applying machine according to the pressure measuring task, the pressure applying machine pulls up the corresponding pressure measuring process according to the received control signal, and the control node and the pressure measuring process are connected.
The pull process enables the pulled process to provide a service. For example, when the pressure measurement task is created, the control node schedules the pressure measurement task, the pressure measurement task is distributed to the press according to the number and the type of processes required by the pressure measurement task, and the press pulls up the corresponding pressure measurement process, so that the pulled pressure measurement process can provide corresponding services, and the corresponding pressure measurement task is further completed.
The port number is used for identifying different application programs on the same pressure applicator, one process can bind a plurality of port numbers, one port number can only be bound by one process, and services provided by different processes are distinguished through different port numbers.
The pressure measurement task is used for analyzing the access amount of a service at a peak time point of a certain flow in the future by the performance test platform according to historical data, and for example, the access amount may include information of the pressure measurement task, a test script, the number of virtual users to be simulated, and the like.
Specifically, the control node sends a control signal to the pressure applicator according to the pressure measurement task, in this embodiment, the control node sends a create pressure applicator process response message (CreatAgentProcessAckMessage) to the pressure applicator, and the pressure applicator calls a create pressure applicator process message processing function (creatagentprocessage handle) to process the message after receiving the message, and pulls up the pressure measurement process. The CreatagentProcessStackMessage defines the corresponding pressure measurement process which needs to be pulled up by the pressure applicator; the CreataventProcessMessageHandle is used for processing the received CreataventProcessSacMessage message and analyzing the pressure measurement process which is defined in the message and needs to be pulled up.
Further, the pull pressure measurement process includes the following sub-operations:
s11, judging whether the pressure test process returns the bound port number to the daemon process, if not, executing a sub-operation S12; otherwise, a sub-operation S13 is performed.
S12, judging whether overtime exists, wherein the overtime time is the same as the overtime time of the pressure measuring process pulled by the control node and can be preset, and if overtime exists, directly quitting the pressure measuring process; otherwise, the daemon process continues to wait until the timeout exits the pressure measurement process, or receives the port number bound by the pressure measurement process and performs sub-operation S13.
S13, judging whether the control node pulls the pressure measuring process overtime, if yes, directly quitting the pressure measuring process; otherwise, the port number bound by the pressure measurement process is transmitted back to the daemon of the pressure applicator through inter-process communication, the daemon returns the port number to the control node, the control node directly establishes connection with the pressure measurement process according to the port number, and sub-operation S14 is executed.
S14, judging whether the connection between the control node and the pressure measurement process is successfully established, if not, the pressure measurement process continues to survive, when the pressure measurement task is finished, the communication between the control node and the daemon process is automatically disconnected, and all the remaining pressure measurement processes belonging to the pressure measurement task on the press machine are quitted; if the connection between the control node and the pressure measurement process is successfully established, the subsequent operation can be executed.
Operation S1 is to quit the pressure measurement process when the communication is failed due to a network or other reasons, such as the pressure applicator receives a control signal for pulling up the pressure measurement process, but the control signal is not processed, i.e., the control node and the pressure measurement process do not establish a connection, so as to avoid wasting limited pressure applicator resources.
And S2, the control node sends the pressure measurement task to the pressure measurement process, the pressure measurement process executes operation according to the pressure measurement task, performance data of the cluster in the operation is generated, and the performance data are sent to the control node.
When the communication between the control node and the pressure measurement process is normal, and the communication between the control node and the daemon process is normal, the control node distributes a large-flow pressure measurement task to each pressure applying machine in the cluster, each pressure applying machine receives the pressure measurement task, calls the corresponding pressure measurement process to execute corresponding operation, collects performance data of the cluster in the operation execution process, and transmits the performance data back to the control node.
And S3, when the network between the control node and the pressure measurement process is congested and the congestion time is greater than a threshold value, exiting the pressure measurement process.
In the task pressure measurement process, communication connection is directly established between the control node and the pressure measurement process, and processing is carried out aiming at the communication channel which exists but is blocked for a long time.
In operation S3, the control node sends a message to the pressure measurement process at regular time, and exits the pressure measurement process if the pressure measurement process does not receive the message for N consecutive times, where N is an integer greater than 1, and the message is a keep alive message (KeepAliveMessage) heartbeat, and the KeepAliveMessage heartbeat is used for enabling the pressure measurement process to confirm that the connection between the pressure measurement process and the control node is still valid.
In this embodiment, the control node sends a KeepAliveMessage heartbeat to the pressure measurement process every 5 seconds, the pressure measurement process detects whether the KeepAliveMessage heartbeat from the control node is received every 20 seconds, if the KeepAliveMessage heartbeat is not detected in the pressure measurement process for 3 consecutive times, the network between the control node and the pressure measurement process is considered to be unreliable, and the pressure measurement process is directly exited, where N is 12.
And S4, when the network between the control node and the pressure measurement process is disconnected, the pressure measurement process is exited.
In the task pressure measurement process, communication connection is directly established between the control node and the pressure measurement process, and processing is carried out aiming at the communication channel network abnormity or the control node is actively disconnected.
In operation S4, when the network between the control node and the pressure measurement process is disconnected, the pressure measurement process is directly exited, which can effectively avoid wasting limited pressure applicator resources.
And S5, when the network between the control node and the daemon process is disconnected, the voltage measuring process related to the daemon process is exited.
In operation S5, when the connection between the control node and the daemon is disconnected, the communication between the control node and the daemon is automatically disconnected, and all the pressure measurement processes associated with the daemon exit. For the pressure measurement process which is not directly connected with the control node, the pressure measurement process can be automatically quitted only by disconnecting the network between the control node and the pressure measurement process, and the pressure measurement process which is not directly connected with the control node can be omitted. Operation S5 can ensure that the resource of the pressurizing machine is not wasted when the network is disconnected between the control node and the daemon.
And S6, when the control node reestablishes the connection with the pressure measurement process and/or the daemon process, releasing the related resources of the old connection between the control node and the pressure measurement process and/or the daemon process.
In operation S6, after the connection between the control node and the pressure measurement process is disconnected and reestablished, relevant resources of the old connection between the control node and the pressure measurement process (i.e., the previous connection for reestablishing the connection), such as a network port number, memory resources within the program and bound to the connection, are released, so as to avoid wasting the limited network port.
After the connection between the control node and the daemon process is disconnected and reestablished, relevant resources of the old connection between the control node and the daemon process, such as a network port number, internal program and memory resources bound to the connection, are released.
As shown in fig. 3, electronic device 300 includes a processor 310, a computer-readable storage medium 320. The electronic device 300 may perform the methods described above with reference to fig. 1 and with reference to fig. 2 for message processing.
In particular, processor 310 may include, for example, a general purpose microprocessor, an instruction set processor and/or related chip set and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), and/or the like. The processor 310 may also include on-board memory for caching purposes. The processor 310 may be a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure described with reference to fig. 1 and with reference to fig. 2.
Computer-readable storage medium 320 may be, for example, any medium that can contain, store, communicate, propagate, or transport the instructions. For example, a readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, device, or propagation medium. Specific examples of the readable storage medium include: magnetic storage devices, such as magnetic tape or Hard Disk Drives (HDDs); optical storage devices, such as compact disks (CD-ROMs); a memory, such as a Random Access Memory (RAM) or a flash memory; and/or wired/wireless communication links.
The computer-readable storage medium 320 may include a computer program 321, which computer program 321 may include code/computer-executable instructions that, when executed by the processor 310, cause the processor 310 to perform a method flow such as described above in connection with fig. 1 and 2, and any variations thereof.
The computer program 321 may be configured with, for example, computer program code comprising computer program modules. For example, in an example embodiment, code in computer program 321 may include one or more program modules, including, for example, 321A, module 321B. It should be noted that the division and number of modules are not fixed, and those skilled in the art may use suitable program modules or program module combinations according to actual situations, which when executed by the processor 310, enable the processor 310 to execute the method flows described above in connection with fig. 1 and 2, for example, and any variations thereof.
According to embodiments of the present disclosure, a computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, optical fiber cable, radio frequency signals, etc., or any suitable combination of the foregoing.
FIG. 4 schematically illustrates a block diagram of a system for matching between users of an embodiment of the present disclosure.
As shown in fig. 4, the system for matching between users includes a pull-up module 410, a transmission module 420, and an exit module 430.
Specifically, the pull-up module 410 is configured to receive a creatagentprocessessmessage, call a creatageprocessessmessagehandler to process the message, pull up a corresponding pressure measurement process, and when the pull-up is successful, return a port number bound by the pressure measurement process to the daemon process through inter-process communication, where the daemon process returns the port number to the control node, and the control node directly establishes a connection with the pressure measurement process according to the port number.
And the transmission module 420 is configured to transmit the pressure measurement task with the large flow rate of the control node to the pressure applicator, the pressure applicator invokes a corresponding pressure measurement process to perform corresponding operations, collects performance data of the cluster in an operation execution process, and transmits the performance data to the control node.
And the quitting module 430 is configured to quit the pressure measurement process under the above conditions when the control node pulls up the pressure measurement process to be overtime, or the pressure measurement process does not return the port number bound by the control node to the daemon process within a specified time, or the network congestion time between the control node and the pressure measurement process is greater than a threshold value, or the network between the control node and the pressure measurement process is disconnected, or the network between the control node and the daemon process is disconnected, or the control node is not directly connected with the pressure measurement process and the pressure measurement task is ended.
It is understood that the pull module 410, the transmission module 420, and the exit module 430 may be combined in one module, or any one of them may be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to embodiments of the invention, at least one of the pull-up module 410, the transmission module 420, and the exit module 430 may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-a-package, an Application Specific Integrated Circuit (ASIC), or in hardware or firmware in any other reasonable manner of integrating or packaging a circuit, or in a suitable combination of three implementations, software, hardware, and firmware. Alternatively, at least one of the pull module 410, the transfer module 420 and the exit module 430 may be implemented at least in part as a computer program module that, when executed by a computer, performs the functions of the respective module.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
While the disclosure has been shown and described with reference to certain exemplary embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents. Accordingly, the scope of the present disclosure should not be limited to the above-described embodiments, but should be defined not only by the appended claims, but also by equivalents thereof.
Claims (10)
1. A method for improving stability of a pressing machine is realized by forming a cluster by at least one pressing machine and at least one control node, and comprises the following steps:
s1, the control node sends a control signal to the pressure applying machine according to a pressure measurement task, the pressure applying machine pulls up a corresponding pressure measurement process according to the received control signal, if the pulling up is successful, the daemon process of the pressure applying machine sends a port number bound by the pressure measurement process to the control node, the control node directly establishes connection with the pressure measurement process according to the received port number, and if not, the pressure measurement process is exited;
s2, the control node sends the pressure measurement task to the pressure measurement process;
s3, the pressure measurement process executes operation according to the received pressure measurement task, generates performance data of the cluster in the operation, and sends the performance data to the control node;
s4, when the network between the control node and the pressure measurement process is congested, if the congestion time is greater than a threshold value, the pressure measurement process is exited;
and S5, when the network between the control node and the pressure measurement process is disconnected, exiting the pressure measurement process.
2. The method of improving press stability of claim 1, further comprising:
and when the network between the control node and the daemon process is disconnected, exiting the pressure measurement process associated with the daemon process.
3. The method of improving press stability of claim 1, further comprising:
when the control node and the pressure measurement process reestablish connection, releasing first related resources of old connection between the control node and the pressure measurement process;
and when the control node and the daemon reestablish the connection, releasing the second related resource of the old connection between the control node and the daemon.
4. The method for improving the stability of a press according to claim 1, wherein the step S1 further comprises:
and when the pressure measuring process is not pulled up by the press machine after a preset time, the pressure measuring process is exited.
5. The method for improving the stability of a press according to claim 4, wherein the press not pulling up the press process further comprises:
and when the preset time is exceeded and the daemon process does not receive the port number bound by the pressure measurement process, exiting the pressure measurement process.
6. The method for improving the stability of a press according to claim 1, wherein the step S4 further comprises:
and the control node sends a message to the pressure measurement process at regular time, and exits the pressure measurement process if the pressure measurement process does not receive the message for N times continuously, wherein N is an integer greater than 1.
7. The method of claim 6, wherein the message is a KeepAliveMessage heartbeat.
8. An electronic device for improving stability of a pressing machine, comprising:
a processor;
a memory storing a computer executable program which, when executed by the processor, causes the processor to perform the method of improving the stability of a press according to any one of claims 1-7.
9. A system for improving the stability of a press, the system comprising:
the pull-up module is used for receiving a control signal sent by the control node, pulling up a corresponding pressure measurement process according to the received control signal, and sending a port number bound by the pressure measurement process to the control node when the pull-up is successful;
the transmission module is used for transmitting the pressure measurement task of the control node to the pressure applying machine and transmitting the performance data generated by the pressure applying machine to the control node;
and the quitting module is used for quitting the pressure measurement process when the pressure measurement process is failed to be pulled up, or the congestion time between the control node and the pressure measurement process is greater than a threshold value, or the network between the control node and the pressure measurement process is disconnected.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of improving the stability of a press according to any one of claims 1 to 7.
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 CN109284230A (en) | 2019-01-29 |
CN109284230B true 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)
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 |
-
2018
- 2018-10-18 CN CN201811220253.4A patent/CN109284230B/en active Active
Patent Citations (6)
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)
Title |
---|
ngrinder 压力测试实践(一) -- ngrinder介绍及部署;东凌阁;《https://blog.51cto.com/u_13673090/2105459》;20180419;全文 * |
基于Nginx高性能Web服务器性能优化与负载均衡的改进与实现;王永辉;《中国优秀硕士学位论文全文数据库·信息科技辑》;20160315;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109284230A (en) | 2019-01-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108124003B (en) | Network management equipment connection processing method, device and system | |
CN105100184B (en) | Reliable and deterministic live migration of virtual machines | |
US11249826B2 (en) | Link optimization for callout request messages | |
EP3123777A2 (en) | Method and apparatus for processing rlc/ pdcp entities at a user equipment in a dual connectivity system | |
US9712464B2 (en) | Multichannel gateway, multiplex transmission line communication system, multiplex transmission line communication method and computer-readable recording medium storing program | |
CN108089915B (en) | Method and system for business control processing based on message queue | |
CN110768840A (en) | Control method, device, equipment and storage medium of communication equipment | |
US20200076903A1 (en) | Handling multi-pipe connections | |
US10827001B2 (en) | Managing connections for data communications | |
US8893091B2 (en) | Running an executable during a debug session | |
CN109284230B (en) | Method, equipment, system and medium for improving stability of pressing machine | |
CN109918140A (en) | A kind of cloud application method of controlling operation thereof and device | |
US20220046647A1 (en) | Logical channel management in a communication system | |
US10348840B2 (en) | Dynamic workflow control between network entities | |
CN109245964B (en) | Communication method, system, equipment and medium for public network pressure test | |
US10334055B2 (en) | Communication layer with dynamic multi-session management | |
CN113032054B (en) | Service execution method and device, storage medium and electronic device | |
WO2018133828A1 (en) | Data processing method and device utilized in client terminal | |
CN105721959A (en) | Management platform, system and method for implementing optical transport network (OTN) business | |
EP4213022A1 (en) | Techniques for error handling in a task assignment system with an external pairing system | |
CN105009097A (en) | Message transmission device, message transmission method, and message transmission program | |
CN114143903A (en) | Method, device, equipment and medium for configuring network slice PDU session | |
CN111796906A (en) | Container management method, device, equipment and storage medium | |
CN114143300B (en) | Transaction request sending method and device | |
CN112532403B (en) | Network element adaptation driving service device, network element adaptation method and system |
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 |