CN113301152A - Pressure measurement management method, system, device, medium, and computer program product - Google Patents

Pressure measurement management method, system, device, medium, and computer program product Download PDF

Info

Publication number
CN113301152A
CN113301152A CN202110563463.9A CN202110563463A CN113301152A CN 113301152 A CN113301152 A CN 113301152A CN 202110563463 A CN202110563463 A CN 202110563463A CN 113301152 A CN113301152 A CN 113301152A
Authority
CN
China
Prior art keywords
pressure measurement
service request
request
application system
storage area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110563463.9A
Other languages
Chinese (zh)
Inventor
魏帅超
余浪
汪仕富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN202110563463.9A priority Critical patent/CN113301152A/en
Publication of CN113301152A publication Critical patent/CN113301152A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

The invention relates to the technical field of financial technology (Fintech), and discloses a pressure measurement management method, a system, equipment, a medium and a product, wherein the method comprises the following steps: receiving a service request to a first application system, and determining the request type of the service request, wherein the request type of the service request comprises a pressure measurement service request or a non-pressure measurement service request; responding the service request through the first application system to obtain response data; if the request type of the service request is a non-pressure measurement service request, routing first response data of the first application system to the non-pressure measurement service request to a non-pressure measurement service data storage area; and if the request type of the service request is a pressure measurement service request, routing second response data of the first application system to the pressure measurement service request to a pressure measurement service data storage area, wherein the pressure measurement service data storage area is shadow storage of a non-pressure measurement service data storage area. The method and the device realize the isolation of the pressure measurement data from other types of data and avoid the pollution of the pressure measurement data to other types of data.

Description

Pressure measurement management method, system, device, medium, and computer program product
Technical Field
The present invention relates to the field of financial technology (Fintech) technologies, and in particular, to a pressure measurement management method, system, device, computer storage medium, and computer program product.
Background
With the development of computer technology, more and more technologies (big data, distributed, artificial intelligence, etc.) are applied to the financial field, and the traditional financial industry is gradually changing to financial technology (Fintech), but because of the requirements of security and universality of the financial industry, higher requirements are also put forward on the pressure testing technology.
Pressure testing (pressure testing for short) refers to simulating a production flow request to generate a pressure testing flow request under a production environment, and continuously applying the pressure testing flow request to a service system to determine the flow carrying capacity of the service system.
However, when the production environment is pressurized, the pressure measurement response data obtained by the service system responding to the pressure measurement flow request is often mixed with the real service data, and the coupling degree of the pressure measurement response data and the real service data is high, so that data pollution is caused to the real service data.
Disclosure of Invention
The invention mainly aims to provide a pressure measurement management method, a system, equipment, a computer storage medium and a computer program product, and aims to isolate pressure measurement data from real service data and reduce the coupling degree of the pressure measurement data and the real service data.
In order to achieve the above object, the present invention provides a pressure measurement management method, which comprises the following steps:
receiving a service request to a first application system, and determining a request type of the service request, wherein the request type of the service request comprises a pressure measurement service request or a non-pressure measurement service request;
responding to the service request through the first application system to obtain response data;
if the request type of the service request is a non-pressure measurement service request, routing first response data of the first application system to the non-pressure measurement service request to a non-pressure measurement service data storage area;
and if the request type of the service request is a pressure measurement service request, routing second response data of the first application system to the pressure measurement service request to a pressure measurement service data storage area, wherein the pressure measurement service data storage area is shadow storage of the non-pressure measurement service data storage area.
Optionally, the step of determining the request type of the service request includes:
determining whether a preset dyeing mark is included in the service request;
if the service request comprises a preset dyeing mark, the request type of the service request is a pressure measurement service request;
and if the service request does not comprise the preset dyeing mark, the request type of the service request is a non-pressure measurement service request.
Optionally, after the step of routing, if the request type of the service request is a pressure measurement service request, second response data of the first application system to the pressure measurement service request to a pressure measurement service data storage area, the method further includes:
when a call request of the first application system to a second application system based on the pressure measurement service request is detected, the preset dyeing mark is added to the call request so as to be transmitted to the second application system, the second application system can respond to the call request, and third response data of the second application system to the call request is routed to a pressure measurement service data storage area corresponding to the second application system.
Optionally, after the step of adding the preset staining flag to the call request to transparently transmit the preset staining flag to the second application system, the method further includes:
after detecting that the pressure measurement is finished, analyzing response data in a pressure measurement service data storage area corresponding to the first application system and the second application system, and determining whether the first application system and/or the second application system needs capacity expansion;
and if so, expanding the capacity of the application system needing to be expanded, and carrying out pressure measurement and analysis again after the expansion is finished until the first application system and the second application system are determined not to need to be expanded.
Optionally, the pressure measurement management method further includes:
and when a pressure measurement completion signal is detected and a pressure measurement data deleting instruction is received, deleting the response data in the pressure measurement service data storage area.
Optionally, before the step of obtaining response data by responding to the service request by the first application system, the method further includes:
and creating a non-pressure measurement service data storage area, and synchronously creating a pressure measurement service data storage area according to the data storage structure of the non-pressure measurement service data storage area.
In addition, in order to achieve the above object, the present invention further provides a pressure measurement management system, including:
the request receiving module is used for receiving a service request to a first application system and determining the request type of the service request, wherein the request type of the service request comprises a pressure measurement service request or a non-pressure measurement service request;
the request response module is used for responding to the service request through the first application system to obtain response data;
a non-pressure measurement data routing module, configured to route, if the request type of the service request is a non-pressure measurement service request, first response data of the first application system to the non-pressure measurement service request to a non-pressure measurement service data storage area;
and the pressure measurement data routing module is used for routing second response data of the first application system to the pressure measurement service request to a pressure measurement service data storage area if the request type of the service request is a pressure measurement service request, wherein the pressure measurement service data storage area is shadow storage of the non-pressure measurement service data storage area.
In addition, to achieve the above object, the present invention also provides a pressure measurement management apparatus, including: the system comprises a memory, a processor and a pressure measurement management program stored on the memory and capable of running on the processor, wherein the pressure measurement management program realizes the steps of the pressure measurement management method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer storage medium, wherein a pressure measurement management program is stored on the computer storage medium, and when being executed by a processor, the pressure measurement management program implements the steps of the pressure measurement management method as described above.
Furthermore, to achieve the above object, the present invention also provides a computer program product comprising a pressure measurement management program, which when executed by a processor implements the steps of the pressure measurement management method as described above.
The method comprises the steps of determining the request type of a service request by receiving the service request to a first application system, wherein the request type of the service request comprises a pressure measurement service request or a non-pressure measurement service request; responding to the service request through the first application system to obtain response data; if the request type of the service request is a non-pressure measurement service request, routing first response data of the first application system to the non-pressure measurement service request to a non-pressure measurement service data storage area; and if the request type of the service request is a pressure measurement service request, routing second response data of the first application system to the pressure measurement service request to a pressure measurement service data storage area, wherein the pressure measurement service data storage area is shadow storage of a non-pressure measurement service data storage area. The corresponding storage area is set according to the request type of the service request, so that the isolation of the pressure measurement data from the non-pressure measurement data such as real business data can be realized, and the pollution of the pressure measurement data to other types of data is avoided on the premise of pressure measurement by using a real system environment; furthermore, the pressure measurement environment similar to the production environment does not need to be specially built for pressure measurement, so that the pressure measurement cost is saved.
Drawings
FIG. 1 is a schematic structural diagram of a pressure measurement management device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a pressure measurement management method according to a first embodiment of the present invention;
fig. 3 is a schematic diagram of system modules of the pressure measurement management system according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a pressure measurement management device in a hardware operating environment according to an embodiment of the present invention.
The pressure measurement management equipment in the embodiment of the invention can be a PC (personal computer) or server equipment, and a virtual machine runs on the pressure measurement management equipment.
As shown in fig. 1, the pressure measurement management apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the pressure management device shown in FIG. 1 does not constitute a limitation of the device and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a pressure measurement management program.
In the pressure measurement management device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the pressure measurement management program stored in the memory 1005 and perform the operations of the pressure measurement management method described below.
Based on the hardware structure, the embodiment of the pressure measurement management method is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of a pressure measurement management method of the present invention, where the method includes:
step S10, receiving a service request to a first application system, and determining a request type of the service request, wherein the request type of the service request comprises a pressure measurement service request or a non-pressure measurement service request;
the pressure measurement management method is applied to pressure measurement management equipment, and the pressure measurement management equipment can be a terminal, a robot or PC equipment.
In the prior art, when a production environment is pressurized, pressure measurement response data obtained by a service system responding to a pressure measurement flow request is often mixed with real service data, so that the coupling degree of the pressure measurement response data and the real service data is high, and further data pollution is caused to the real service data.
In this context, this embodiment provides a set of pressure measurement schemes, which can determine a request type of a service request when receiving the service request to an application system, where the request type of the service request at least includes a pressure measurement service request or a non-pressure measurement service request, and then route response data generated after the application system responds to different types of service requests to a storage area corresponding to the request type of the service request. The corresponding storage area is set according to the request type of the service request, so that the pressure measurement data can be isolated from other types of data, such as real business data, and the pollution of the pressure measurement data to other types of data is avoided on the premise of pressure measurement by using a real system environment.
In this embodiment, the request types are at least divided into a pressure measurement service request and a non-pressure measurement service request, where the pressure measurement service request refers to a simulated traffic request that is simulated by simulating a traffic request of a real user when testing a traffic carrying capacity of an application system, and the pressure measurement service request may be initiated by a pressure measurement tool; a non-pressure measurement service request then refers to a service request of another type than a pressure measurement service request, which may be, for example, a real traffic request initiated by a real user. It is understood that the non-pressure measurement service request may be further subdivided into more types according to actual needs, and the embodiment is not particularly limited. Of course, if the non-pressure measurement service request is further subdivided into two or more types, a corresponding storage area may be divided for each refined non-pressure measurement service request, and the response data of the first application system to the type of service request is routed to the corresponding storage area, so as to improve the management efficiency of the non-pressure measurement data.
In an embodiment, in the step S10, the step of determining the request type of the service request includes:
step S11, determining whether the service request includes a preset coloring flag;
step S12, if the service request includes a preset dyeing mark, the request type of the service request is a pressure measurement service request;
step S13, if the service request does not include the preset coloring flag, the request type of the service request is a non-pressure measurement service request.
In this embodiment, when receiving a service request to a first application system, the pressure measurement management determines whether the service request includes a preset coloring mark, and if so, determines that the request type of the service request is a pressure measurement service request; if the service request does not include the preset dyeing mark, in this case, there are two possible cases, one is that the service request does not include any dyeing mark, and the other is that the service request includes the dyeing mark, but the dyeing mark included in the service request is different from the preset dyeing mark, and both cases can be considered that the service request does not include the preset dyeing mark, and the request type of the service request is determined to be the non-pressure measurement service request.
The preset dyeing mark may be added to the pressure measurement service request by the pressure measurement tool when the pressure measurement tool triggers the pressure measurement service request, or may be intercepted and marked by another marking tool, which is not limited in this embodiment.
In an embodiment, since in the prior art, no dyeing mark is added to an original pressure measurement service request triggered by a pressure measurement tool or an original non-pressure measurement service request triggered by a real user, a pressure measurement management device cannot distinguish the type of the service request, but if a way of directly triggering the service request by the pressure measurement tool or a real user terminal is improved, the dyeing mark is added to the original service request, the related change amount is large, and the cost is high, which is hard to imagine.
Before the step S10, when detecting an original service request to the application system, the gateway intercepts the original service request, determines a type of a dyeing marker added to the original service request according to a source of the original service request, adds a preset dyeing marker to the original service request if the source of the original service request is a pressure measurement tool, obtains a service request with the preset dyeing marker, and releases the service request to the application system; if the source of the original service request is the real user terminal, the original service request may be added with another dyeing mark different from the preset dyeing mark to be distinguished from the service request from the pressure measurement tool, and of course, the service request from the real user terminal may be directly released without adding any dyeing mark to the original service request, so that the service request reaches the application system.
Step S20, obtaining response data by the first application system responding to the service request;
step S30, if the request type of the service request is a non-pressure measurement service request, routing the first response data of the first application system to the non-pressure measurement service request to a non-pressure measurement service data storage area;
step S40, if the request type of the service request is a pressure measurement service request, routing second response data of the first application system to the pressure measurement service request to a pressure measurement service data storage area, where the pressure measurement service data storage area is a shadow storage of the non-pressure measurement service data storage area.
In this embodiment, different storage areas are set for the application system to respond to the data of different types of service requests, and after the application system performs a response operation on the service request and generates response data, the response data is routed to the storage area corresponding to the request type of the service request, that is, the response data is stored in the storage area corresponding to the request type of the service request, so as to isolate the response data of different types of service requests and avoid pollution of pressure measurement data to other types of data.
It should be noted that, before step S20, it is further necessary to create corresponding data storage areas for different types of service requests, where the data storage areas include a non-pressure measurement service data storage area and a pressure measurement service data storage area, and the pressure measurement service data storage area is created according to a data storage structure of the non-pressure measurement service data storage area, so that the data storage structures of the two are consistent, that is, the pressure measurement service data storage area is shadow storage of the non-pressure measurement service data storage area. Furthermore, the non-pressure measurement service data storage area and the pressure measurement service data storage area are created synchronously. For example, if the created non-pressure measurement service data storage area (the type of storage area is database) is labeled as TD _ SET1, then the corresponding pressure measurement service data storage area may be TD _ SHADOW _ SET 1; if the created non-pressure measurement service data storage area (the type of the storage area is cache) is marked as CA _ NAME1, then the corresponding pressure measurement service data storage area is CA _ SHADOW _ NAME 1.
Further, if the data storage structure of the non-pressure measurement service data storage area changes, the data storage structure change needs to be synchronized to the pressure measurement service data storage area.
It is understood that the type of storage area includes, but is not limited to, one or more of a database, a cache.
In this embodiment, when a service request to an application system is received, a request type of the service request is determined, where the request type of the service request at least includes a pressure measurement service request, and then response data generated after the application system responds to different types of service requests is routed to a storage area corresponding to the request type of the service request. The corresponding storage area is set according to the request type of the service request, so that the pressure measurement data can be isolated from other types of data, such as real business data, and the pollution of the pressure measurement data to other types of data is avoided on the premise of pressure measurement by using a real system environment; further, because the embodiment does not need to build a pressure measurement environment similar to the production environment specially for pressure measurement, the cost of pressure measurement is saved.
Further, based on the above embodiments, a second embodiment of the pressure measurement management method of the present invention is provided. After the step S30, the method further includes:
step a, when detecting a call request of a second application system initiated by the first application system based on the pressure measurement service request, adding the preset dyeing mark into the call request to transmit the preset dyeing mark to the second application system for the second application system to respond to the call request, and routing third response data of the second application system to the call request to a pressure measurement service data storage area corresponding to the second application system.
When the first application system executes the corresponding response operation for the service request, it may not need to call other application systems to independently complete all the response operations for the service request, or it may need to call other application systems to complete all the response operations for the service request together with other application systems.
Specifically, if the request type of the service request is a pressure measurement service request and it is detected that the first application system is about to respond to the pressure measurement service request and initiates a call request to the second application system, a preset coloring mark in the pressure measurement service request is injected into the call request, so that the second application system determines the call request type according to the preset coloring mark in the call request after receiving the call request, and then routes response data of the second application system to the call request to a corresponding storage area according to the call request type.
It is understood that, if the request type of the service request is a non-pressure-measuring service request, when detecting that the first application system initiates a call request to the second application system for responding to the non-pressure-measuring service request,
further, after the step a, the method further comprises:
step b1, after detecting that the pressure measurement is completed, analyzing the response data in the pressure measurement service data storage area corresponding to the first application system and the second application system, and determining whether the first application system and/or the second application system needs capacity expansion;
and b2, if yes, expanding the capacity of the application system needing to be expanded, and performing pressure measurement and analysis again after the expansion is completed until the first application system and the second application system are determined not to need to be expanded.
In the prior art, in order to isolate pressure measurement data from real service data, a set of test environment corresponding to a production environment is often established, a production flow request is simulated under the test environment to generate pressure measurement flow requests, the pressure measurement flow requests are continuously applied to a service system in the test environment, and the flow carrying capacity of the service system is determined according to the pressure measurement data in the test environment. However, in consideration of the cost, the configuration of the test environment is often lower than that of the production environment, if a whole flow of a certain service chain in the production environment relates to two or more application systems, one test environment often only corresponds to one application system, and thus the obtained pressure measurement result cannot accurately reflect the flow carrying capacity of the multiple application systems in the real production environment when the multiple application systems are mutually invoked, if the application systems in the generation environment are subjected to capacity expansion adjustment based on the pressure measurement result, the flow carrying capacity of the application systems is not matched with the production flow, the flow carrying capacity of the application systems is too large, resources of the server are wasted, and if the flow carrying capacity of the system is too small, the system is easily crashed due to the large flow.
In view of the above drawbacks, in this embodiment, on the premise that the real system environment is used for pressure measurement, if two or more application systems are linked, the pressure measurement management device analyzes response data in a pressure measurement service data storage area corresponding to the linked application systems after detecting that the pressure measurement is completed, determines whether each linked application system needs to be expanded, expands the capacity of one or more application systems according to requirements (for example, according to the concurrent amount of requirements of a service chain) if the linked application systems need to be expanded, and performs pressure measurement and analysis on the application systems again after the expansion is completed, determines whether there are application systems that need to be expanded, and continues to expand the capacity of the systems that need to be expanded if the application systems exist until the requirements are met.
Therefore, the linked application system in the service chain can be subjected to pressure measurement by utilizing the real system environment, and directional expansion is performed according to the pressure measurement result, so that the matching degree of the flow bearing capacity and the production flow of the application system after expansion can be improved, and the accuracy of expansion is improved.
Of course, in the case that the service chain only relates to 1 application system and there is no application system linked with the service chain, the pressure measurement analysis and the capacity expansion may be performed with reference to the embodiment.
Further, after the step S22, the method further includes:
and c, deleting the response data in the pressure measurement service data storage area when the pressure measurement completion signal is detected and a pressure measurement data deletion instruction is received.
In this embodiment, in order to prevent response data generated by a large amount of pressure measurement flow from occupying a large amount of storage resources for a long time and affecting the real service operation of the application system, when a pressure measurement completion signal is detected and a pressure measurement data deletion instruction is received, the pressure measurement management device deletes the response data generated by the pressure measurement service request and stored in the pressure measurement service data storage area, so as to prevent the response data from continuously occupying the storage resources after the pressure measurement is completed.
The present invention also provides a pressure measurement management system, referring to fig. 3, the pressure measurement management system includes:
a request receiving module 10, configured to receive a service request for a first application system, and determine a request type of the service request, where the request type of the service request includes a pressure measurement service request or a non-pressure measurement service request;
a request response module 20, configured to obtain response data by responding to the service request through the first application system;
a non-pressure measurement data routing module 30, configured to route, if the request type of the service request is a non-pressure measurement service request, first response data of the first application system to the non-pressure measurement service request to a non-pressure measurement service data storage area;
and the pressure measurement data routing module 40 is configured to route, if the request type of the service request is a pressure measurement service request, second response data of the first application system to the pressure measurement service request to a pressure measurement service data storage area, where the pressure measurement service data storage area is a shadow storage of the non-pressure measurement service data storage area.
Optionally, the request receiving module is further configured to:
determining whether a preset dyeing mark is included in the service request;
if the service request comprises a preset dyeing mark, the request type of the service request is a pressure measurement service request;
and if the service request does not comprise the preset dyeing mark, the request type of the service request is a non-pressure measurement service request.
Optionally, the pressure measurement management system further includes:
and the calling and dyeing module is used for adding the preset dyeing mark into the calling request when detecting the calling request of the first application system to the second application system based on the pressure measurement service request, so as to transmit the preset dyeing mark to the second application system, so that the second application system can respond to the calling request, and route third response data of the second application system to the calling request to a pressure measurement service data storage area corresponding to the second application system.
Optionally, the pressure measurement management system further includes:
the capacity expansion analysis module is used for analyzing response data in the pressure measurement service data storage areas corresponding to the first application system and the second application system after the pressure measurement is detected to be completed, and determining whether the first application system and/or the second application system needs capacity expansion or not;
and the capacity expansion rechecking module is used for expanding the capacity of the application system needing to be expanded if the first application system and the second application system need not to be expanded, and carrying out pressure measurement and analysis again after the expansion is finished until the first application system and the second application system are determined.
Optionally, the pressure measurement management system further includes:
and the pressure measurement data deleting module is used for deleting the response data in the pressure measurement service data storage area when a pressure measurement finishing signal is detected and a pressure measurement data deleting instruction is received.
Optionally, the pressure measurement management system further includes:
and the storage area creating module is used for creating a non-pressure measurement service data storage area and synchronously creating a pressure measurement service data storage area according to the data storage structure of the non-pressure measurement service data storage area.
The method executed by each program unit can refer to each embodiment of the pressure measurement management method of the present invention, and is not described herein again.
The present invention also provides a pressure measurement management apparatus, including: the memory, the processor and the pressure measurement management program stored in the memory and capable of running on the processor, and the method implemented when the pressure measurement management program is executed by the processor can refer to each embodiment of the pressure measurement management method of the present invention, and will not be described herein again.
The invention also provides a computer storage medium.
The computer storage medium of the present invention stores a pressure measurement management program, and the pressure measurement management program, when executed by a processor, implements the steps of the pressure measurement management method as described above.
The method implemented when the pressure measurement management program running on the processor is executed may refer to various embodiments of the pressure measurement management method of the present invention, and details are not described herein.
The invention also provides a computer program product.
The computer program product of the invention comprises a pressure management program which, when executed by a processor, implements the steps of the pressure management method as described above.
The method implemented when the pressure measurement management program running on the processor is executed may refer to various embodiments of the pressure measurement management method of the present invention, and details are not described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A pressure measurement management method is characterized by comprising the following steps:
receiving a service request to a first application system, and determining a request type of the service request, wherein the request type of the service request comprises a pressure measurement service request or a non-pressure measurement service request;
responding to the service request through the first application system to obtain response data;
if the request type of the service request is a non-pressure measurement service request, routing first response data of the first application system to the non-pressure measurement service request to a non-pressure measurement service data storage area;
and if the request type of the service request is a pressure measurement service request, routing second response data of the first application system to the pressure measurement service request to a pressure measurement service data storage area, wherein the pressure measurement service data storage area is shadow storage of the non-pressure measurement service data storage area.
2. The pressure management method of claim 1, wherein the step of determining the request type of the service request comprises:
determining whether a preset dyeing mark is included in the service request;
if the service request comprises a preset dyeing mark, the request type of the service request is a pressure measurement service request;
and if the service request does not comprise the preset dyeing mark, the request type of the service request is a non-pressure measurement service request.
3. The pressure measurement management method according to claim 2, wherein after the step of routing the second response data of the first application system to the pressure measurement service request to a pressure measurement service data storage area if the request type of the service request is a pressure measurement service request, the method further comprises:
when a call request of the first application system to a second application system based on the pressure measurement service request is detected, the preset dyeing mark is added to the call request so as to be transmitted to the second application system, the second application system can respond to the call request, and third response data of the second application system to the call request is routed to a pressure measurement service data storage area corresponding to the second application system.
4. The pressure management method of claim 3, wherein the step of adding the pre-set coloring token to the invocation request to pass the pre-set coloring token through to a second application system further comprises, after the step of:
after detecting that the pressure measurement is finished, analyzing response data in a pressure measurement service data storage area corresponding to the first application system and the second application system, and determining whether the first application system and/or the second application system needs capacity expansion;
and if so, expanding the capacity of the application system needing to be expanded, and carrying out pressure measurement and analysis again after the expansion is finished until the first application system and the second application system are determined not to need to be expanded.
5. The pressure measurement management method according to any one of claims 1 to 4, further comprising:
and when a pressure measurement completion signal is detected and a pressure measurement data deleting instruction is received, deleting the response data in the pressure measurement service data storage area.
6. The pressure management method of any of claims 1-4, wherein the step of obtaining response data in response to the service request by the first application system is preceded by:
and creating a non-pressure measurement service data storage area, and synchronously creating a pressure measurement service data storage area according to the data storage structure of the non-pressure measurement service data storage area.
7. A pressure measurement management system, comprising:
the request receiving module is used for receiving a service request to a first application system and determining the request type of the service request, wherein the request type of the service request comprises a pressure measurement service request or a non-pressure measurement service request;
the request response module is used for responding to the service request through the first application system to obtain response data;
a non-pressure measurement data routing module, configured to route, if the request type of the service request is a non-pressure measurement service request, first response data of the first application system to the non-pressure measurement service request to a non-pressure measurement service data storage area;
and the pressure measurement data routing module is used for routing second response data of the first application system to the pressure measurement service request to a pressure measurement service data storage area if the request type of the service request is a pressure measurement service request, wherein the pressure measurement service data storage area is shadow storage of the non-pressure measurement service data storage area.
8. A pressure measurement management device, comprising: memory, a processor and a pressure management program stored on the memory and executable on the processor, the pressure management program when executed by the processor implementing the steps of the pressure management method according to any one of claims 1 to 6.
9. A computer storage medium having a pressure measurement management program stored thereon, the pressure measurement management program when executed by a processor implementing the steps of the pressure measurement management method according to any one of claims 1 to 6.
10. A computer program product, characterized in that it comprises a tonometry management program, which when executed by a processor implements the steps of the tonometry management method of any of claims 1 to 6.
CN202110563463.9A 2021-05-21 2021-05-21 Pressure measurement management method, system, device, medium, and computer program product Pending CN113301152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110563463.9A CN113301152A (en) 2021-05-21 2021-05-21 Pressure measurement management method, system, device, medium, and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110563463.9A CN113301152A (en) 2021-05-21 2021-05-21 Pressure measurement management method, system, device, medium, and computer program product

Publications (1)

Publication Number Publication Date
CN113301152A true CN113301152A (en) 2021-08-24

Family

ID=77324152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110563463.9A Pending CN113301152A (en) 2021-05-21 2021-05-21 Pressure measurement management method, system, device, medium, and computer program product

Country Status (1)

Country Link
CN (1) CN113301152A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116781591A (en) * 2023-08-23 2023-09-19 国网信息通信产业集团有限公司 Pressure testing system, pressure testing terminal and storage medium based on flow dyeing and transparent transmission technology

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116781591A (en) * 2023-08-23 2023-09-19 国网信息通信产业集团有限公司 Pressure testing system, pressure testing terminal and storage medium based on flow dyeing and transparent transmission technology
CN116781591B (en) * 2023-08-23 2024-01-02 国网信息通信产业集团有限公司 Pressure testing system, pressure testing terminal and storage medium based on flow dyeing and transparent transmission technology

Similar Documents

Publication Publication Date Title
CN108804618B (en) Database configuration method, device, computer equipment and storage medium
CN108255730B (en) Software interface testing method, testing equipment, storage medium and device
CN107844421B (en) Interface testing method and device, computer equipment and storage medium
CN103544101B (en) Automatic test system and method for wireless platform development
CN110659206B (en) Simulation architecture establishment method and device based on micro-service, medium and electronic equipment
EP2437524A1 (en) M2m service platform and work method thereof
CN106648556B (en) Method and device for front-end and back-end integrated development test
CN110704296B (en) Calling method and device
CN106897107B (en) implementation system and method for web remote data calculation and simulation
CN112631614B (en) Application deployment method, device, computer equipment and storage medium
CN114185792A (en) Data isolation method, device and equipment for pressure measurement scene and storage medium
CN113282971B (en) Processing method, device, equipment and storage medium of test log
US11303532B2 (en) Method and system for detecting service quality of CDN system
CN111352846A (en) Test system number making method, device, equipment and storage medium
CN107368407B (en) Information processing method and device
CN113301152A (en) Pressure measurement management method, system, device, medium, and computer program product
CN114640614B (en) RPC interface automatic test method, system, electronic equipment, medium and product
WO2021151314A1 (en) Dns automatic performance test method, apparatus, device, and readable storage medium
CN105094787B (en) Method and device for processing enterprise internet application
CN112131095B (en) Pressure testing method and device
CN107483559A (en) The offer method and device of SDK services
CN111464383A (en) System capacity testing method and device based on production environment
CN110177016A (en) A kind of network security experimental enviroment fast construction method
CN113760707A (en) Interface testing method, device, equipment and computer readable storage medium
CN105930431A (en) Method, device and system for accessing database

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