Movatterモバイル変換


[0]ホーム

URL:


CN111158979A - Service dial testing method, system, device and storage medium - Google Patents

Service dial testing method, system, device and storage medium
Download PDF

Info

Publication number
CN111158979A
CN111158979ACN201911320088.4ACN201911320088ACN111158979ACN 111158979 ACN111158979 ACN 111158979ACN 201911320088 ACN201911320088 ACN 201911320088ACN 111158979 ACN111158979 ACN 111158979A
Authority
CN
China
Prior art keywords
service
dial
dial testing
environment
testing
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
CN201911320088.4A
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank CorpfiledCriticalChina Construction Bank Corp
Priority to CN201911320088.4ApriorityCriticalpatent/CN111158979A/en
Publication of CN111158979ApublicationCriticalpatent/CN111158979A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a service dial testing method, a system, a device and a storage medium, wherein the method can be used for carrying out dial testing on the service under multiple environments and comprises the following steps: acquiring a running environment list of a service to be dialed and tested; respectively configuring dialing points according to elements in the operating environment list; initiating a dial test to the service through the dial test point; and receiving a dial testing result generated by the service according to the dial testing. The invention discloses a method for simulating service using parties in different environments by arranging a plurality of dial-up measuring points, wherein each dial-up measuring point has own environment configuration and finds the health degree of the same service in different environments through the dial-up measuring points in the multi-dimensional environment. Therefore, when a service has a problem, a plurality of dimensionality dial test results such as dial test environments and service use can be obtained at the first time, operation and maintenance personnel can locate fault reasons and judge service influence more quickly when troubleshooting is performed, operation and maintenance efficiency is improved, and fault influence is reduced.

Description

Service dial testing method, system, device and storage medium
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a method, a system, an apparatus, and a storage medium for dial testing of services in multiple environments.
Background
With the development of computer technology, more and more computer technologies are applied to the financial field, the traditional financial industry is gradually changing to the financial technology, and the operation and maintenance monitoring technology is no exception; however, due to the requirements of security and real-time performance in the financial industry, higher requirements are also put forward on computer technology, in the financial technology, the quality of service has a great influence on the business of a client, the improvement of the financial service experience of the client is an important problem in the current financial technology field, and dial testing is an important means for monitoring the quality of service.
At present, service dial testing is generally composed of a service dial testing control end and a service dial testing execution end, wherein the control end is responsible for defining services, managing dial testing strategies and analyzing and displaying dial testing results, and the execution end is responsible for periodically detecting the services through execution commands or scripts according to the dial testing strategies and returning detection results to the control end.
However, most of the existing service dial testing software is to perform simulation detection on one service from the local and display the dial testing result from the dimension of a single service. The dial testing point is single, the execution environment cannot be consistent with the real system calling environment, and the dial testing result is displayed, only the analysis results such as the availability, the response time and the like of a single service exist, and the dial testing result cannot be analyzed and displayed from the perspective of the application system to which the service belongs or the perspective of the user business to which the service belongs. When the dial testing is abnormal, the operation and maintenance personnel also need to check in combination with the dial testing environment, the service use and the like, and cannot quickly perform fault positioning and service influence analysis.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a service dial testing method, a service dial testing system, a server and a storage medium, which can realize service dial testing in different environments, thereby discovering the health degree of the same service in different environments.
According to an embodiment of the present invention, there is provided a method for dial testing a service, which can perform dial testing on the service in multiple environments, including: acquiring a running environment list of a service to be dialed and tested; respectively configuring dialing points according to elements in the operating environment list; initiating a dial test to the service through the dial test point; and receiving a dial testing result generated by the service according to the dial testing.
In some embodiments of the invention, the list of runtime environments includes environments supported by the service to run, wherein each of the elements corresponds to an environment.
In some embodiments of the present invention, the respectively configuring the dial-up test points according to the elements in the runtime environment list includes: acquiring corresponding environment information according to the elements; configuring the dial testing points according to the environment information and preset dial testing configuration information; the dial testing configuration information comprises a dial testing strategy, a dial testing parameter, a script, an alarm rule and an execution period.
In some embodiments of the invention, the method further comprises: and acquiring the health degree state of the service according to the dial testing result, and displaying the health degree state.
Meanwhile, the invention provides a service dial testing system, which can carry out dial testing on the service under multiple environments and comprises the following components: the acquisition module is used for acquiring an operating environment list of the service to be dial-tested; the configuration module is used for respectively configuring dialing points according to the elements in the operating environment list; the detection module is used for initiating dial testing to the service through the dial testing point; and the receiving module is used for receiving the dial testing result generated by the service according to the dial testing.
In some embodiments of the invention, the list of runtime environments includes environments supported by the service to run, wherein each of the elements corresponds to an environment.
In some embodiments of the invention, the configuration module is configured to: acquiring corresponding environment information according to the elements; configuring the dial testing points according to the environment information and preset dial testing configuration information; the dial testing configuration information comprises a dial testing strategy, a dial testing parameter, a script, an alarm rule and an execution period.
In some embodiments of the invention, the system further comprises: and the display module is used for acquiring the health degree state of the service according to the dial testing result and displaying the health degree state.
In addition, the embodiment of the invention provides a service dial testing device, which comprises a memory and a processor, wherein the memory is used for storing one or more computer readable instructions; the processor is configured to execute the one or more computer readable instructions to implement the method of any of the preceding embodiments.
Embodiments of the present invention also provide a computer storage medium storing one or more computer programs that, when executed, implement the method of any one of the preceding embodiments.
The invention discloses a method for simulating service using parties in different environments by arranging a plurality of dial-up measuring points, wherein each dial-up measuring point has own environment configuration and finds the health degree of the same service in different environments through the dial-up measuring points in the multi-dimensional environment. Therefore, when a service has a problem, a plurality of dimensionality dial test results such as dial test environments and service use can be obtained at the first time, operation and maintenance personnel can locate fault reasons and judge service influence more quickly when troubleshooting is performed, operation and maintenance efficiency is improved, and fault influence is reduced.
Drawings
In order to facilitate understanding of the present invention, the present invention will be described in detail with reference to the following embodiments in conjunction with the accompanying drawings.
FIG. 1 is a schematic flow diagram of a method for dial testing a service according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a method for dial testing of services in accordance with another embodiment of the present invention;
FIG. 3 is a block diagram of a dial testing system for services in accordance with one embodiment of the present invention;
FIG. 4 is a block diagram of a dial testing system for services in accordance with another embodiment of the present invention.
Detailed Description
Various aspects of the invention are described in detail below with reference to the figures and the detailed description. Well-known modules, units and their interconnections, links, communications or operations with each other are not shown or described in detail. Furthermore, the described features, architectures, or functions can be combined in any manner in one or more implementations. It will be understood by those skilled in the art that the various embodiments described below are illustrative only and are not intended to limit the scope of the present invention. It will also be readily understood that the modules or units or processes of the embodiments described herein and illustrated in the figures can be combined and designed in a wide variety of different configurations.
The various abbreviations to which the invention relates are explained first:
IaaS: infrastructure as a Service;
CMDB: configuration Management Database, Configuration Management Database.
Fig. 1 is a schematic flow chart of a service dial-up test method according to an embodiment of the present invention, and in the embodiment of the present invention, referring to fig. 1, the method includes:
100: acquiring a running environment list of a service to be dialed and tested;
101: respectively configuring dialing points according to elements in the operating environment list;
102: initiating dial testing to the service through the dial testing point;
103: and receiving a dial testing result generated by the service according to the dial testing.
In an embodiment of the present invention, the running environment list records running environments supported by the service, and specifically, each element in the running environment list corresponds to one environment.
In an embodiment of the invention, a method for implementing theprocess 102 is provided, which is as follows:
and acquiring corresponding environment information according to the elements in the operating environment list, and configuring dial testing points according to the environment information and preset dial testing configuration information. Preferably, each element in the list of runtime environments, i.e., each runtime environment, corresponds to a point of dialing.
In the embodiment of the invention, the dial testing configuration information comprises a dial testing strategy, a dial testing parameter, a script, an alarm rule and an execution period.
Therefore, by arranging a plurality of dial-up points, each dial-up point has own environment configuration and is used for simulating service users in different environments, so that dial-up test on the same service in different environments is realized.
In an embodiment of the present invention, as shown in fig. 2, the service dial testing method may further include:
104: and acquiring the health degree state of the service according to the dial testing result, and displaying.
When one application system provides a plurality of services to the outside, the traditional service dial test can only show the health state of a single service, and the health degree analysis of the whole application system is lacked.
In order to solve the above problems, in the embodiment of the present invention, the services and the systems to which the services belong may be configured, so that the dial-up test result of a single service can also be fed back to the whole system and the service chain, thereby showing the health conditions of the whole system and the services.
The method for dial testing of the service provided by the present embodiment will be described below with reference to specific examples.
Taking a common public cloud architecture as an example, a provider of a service and a caller of the service are in different environments respectively. And obtaining an environment through a corresponding operating environment list: the system comprises an overlay environment for tenant service, an underlay environment supported by a bottom layer IaaS, a management and control and office environment of a public cloud provider and an external internet environment.
And for different environments, acquiring corresponding environment information configuration dial testing environment, associating preset dial testing strategy, dial testing parameters, scripts, alarm rules, execution cycles and the like to the configured dial testing environment, and completing configuration of dial testing points.
After the dial testing points are configured, dial testing of the service under different environments is carried out through the dial testing points, and dial testing results of the same service under different environments are obtained.
For the analysis and display of the dial-up test result, the method can also be divided into a plurality of dimensions. Firstly, the service management system needs to be in butt joint with CMDB configuration management to obtain application systems and corresponding user services to which each service belongs. Therefore, for the health degree state analysis of the service, dial test result display and influence analysis can be performed from different dimensions such as single service, integral application, user business and the like.
In an optional implementation manner, a preset alarm rule may be matched according to the dial test result, and an alarm may be given according to the matching result.
Therefore, the invention discloses a method for simulating service using parties in different environments by arranging a plurality of dial-up points, wherein each dial-up point has own environment configuration, and the health degree of the same service in different environments is found by the dial-up points in the multi-dimensional environment. Therefore, when a service has a problem, a plurality of dimensionality dial test results such as dial test environments and service use can be obtained at the first time, operation and maintenance personnel can locate fault reasons and judge service influence more quickly when troubleshooting is performed, operation and maintenance efficiency is improved, and fault influence is reduced.
Fig. 3 is a block diagram of adial testing system 1 of a service according to an embodiment of the present invention, and referring to fig. 3, thegenerating system 1 includes: an obtainingmodule 11, configured to obtain an operating environment list of a service to be dial; theconfiguration module 12 is used for respectively configuring the dialing points according to the elements in the operating environment list; thedetection module 13 is used for initiating dial testing to the service through the dial testing point; and the receivingmodule 14 is configured to receive a dial test result generated by the service according to the dial test.
In an embodiment of the invention, the run environment list comprises environments supported for running by the service, wherein each element corresponds to an environment.
In an optional embodiment of the present invention, theconfiguration module 12 is configured to obtain corresponding environment information according to elements in the operating environment list, and configure the dial testing point according to the environment information and preset dial testing configuration information. The dial testing configuration information comprises a dial testing strategy, a dial testing parameter, a script, an alarm rule and an execution period
In an alternative embodiment, as shown in fig. 4, the servicedial testing system 1 may further include: and thedisplay module 15 is used for acquiring the health status of the service according to the dial test result and displaying the health status.
In an optional embodiment, the servicedial testing system 1 may further include an alarm module, configured to match a preset alarm rule according to a dial testing result, and alarm according to a matching result.
Optionally, an embodiment of the present invention provides a service dial testing apparatus, where the apparatus includes a memory, configured to store one or more computer-readable instructions; a processor configured to execute the one or more computer readable instructions to implement the method for dial testing of services provided by the foregoing embodiments or implementations of the present invention. Optionally, in an implementation manner of the embodiment of the present invention, the apparatus may further include an input/output interface for data communication. For example, the device may be a computer, a smart terminal, a server, or the like.
The embodiment of the present invention further provides a computer storage medium, which stores one or more computer programs, and is used for implementing the dial testing method of the service provided by the foregoing embodiment or implementation manner of the present invention when executed. For example, the storage medium may include a hard disk, a floppy disk, an optical disk, a magnetic tape, a magnetic disk, a flash memory, and the like.
The particular embodiments disclosed herein are illustrative only and should not be taken as limitations upon the scope of the invention, which is to be accorded the full scope consistent with the claims, as defined in the appended claims. Accordingly, the particular illustrative embodiments disclosed above are susceptible to various substitutions, combinations or modifications, all of which are within the scope of the disclosure.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention can be implemented by combining software and a hardware platform. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments.

Claims (10)

CN201911320088.4A2019-12-192019-12-19Service dial testing method, system, device and storage mediumPendingCN111158979A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911320088.4ACN111158979A (en)2019-12-192019-12-19Service dial testing method, system, device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911320088.4ACN111158979A (en)2019-12-192019-12-19Service dial testing method, system, device and storage medium

Publications (1)

Publication NumberPublication Date
CN111158979Atrue CN111158979A (en)2020-05-15

Family

ID=70557314

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911320088.4APendingCN111158979A (en)2019-12-192019-12-19Service dial testing method, system, device and storage medium

Country Status (1)

CountryLink
CN (1)CN111158979A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112860509A (en)*2021-01-142021-05-28金茂数字科技有限公司Dial testing alarm method and device
CN114466399A (en)*2021-12-202022-05-10中盈优创资讯科技有限公司 A kind of automatic dialing test method and device for mobile service

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109005085A (en)*2018-08-242018-12-14北京奇艺世纪科技有限公司A kind of service availability monitoring system, method, device and equipment
CN109388553A (en)*2017-08-092019-02-26车伯乐(北京)信息科技有限公司A kind of multi-environment test method, device, equipment and the readable medium of application program
CN109739704A (en)*2018-12-282019-05-10北京奇虎科技有限公司 An interface testing method, server and computer-readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109388553A (en)*2017-08-092019-02-26车伯乐(北京)信息科技有限公司A kind of multi-environment test method, device, equipment and the readable medium of application program
CN109005085A (en)*2018-08-242018-12-14北京奇艺世纪科技有限公司A kind of service availability monitoring system, method, device and equipment
CN109739704A (en)*2018-12-282019-05-10北京奇虎科技有限公司 An interface testing method, server and computer-readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112860509A (en)*2021-01-142021-05-28金茂数字科技有限公司Dial testing alarm method and device
CN114466399A (en)*2021-12-202022-05-10中盈优创资讯科技有限公司 A kind of automatic dialing test method and device for mobile service

Similar Documents

PublicationPublication DateTitle
CN110245078B (en)Software pressure testing method and device, storage medium and server
CN109344170B (en)Stream data processing method, system, electronic device and readable storage medium
CN108399114B (en)System performance testing method and device and storage medium
Mayer et al.An approach to extract the architecture of microservice-based software systems
CN111782524B (en)Application testing method and device, storage medium and electronic device
CN112199276B (en)Method, device, server and storage medium for detecting change of micro-service architecture
CN109617759A (en)Block catenary system stability test method, apparatus, equipment and storage medium
CN106844217A (en)Control to applying bury method and device, readable storage medium storing program for executing a little
CN109075991A (en)Cloud verifying and test automation
US10644973B2 (en)Monitoring of availability data for system management environments
CN104765678A (en)Method and device for testing applications on mobile terminal
CN109885496A (en) Test log management method and system
US20130173479A1 (en)System and method of diagnosis of incidents and technical support regarding communication services
US20170171049A1 (en)Systems and/or methods for remote application introspection in cloud-based integration scenarios
US11531612B2 (en)Methods for providing an enterprise synthetic monitoring framework
US11849492B2 (en)Unified query tool for network function virtualization architecture
US9942409B1 (en)System and computer-implemented method for translating coding language for graphical scripts
CN107733710A (en)Construction method, device, computer equipment and the storage medium of link call relation
CN115705190A (en)Method and device for determining dependence degree
CN111158979A (en)Service dial testing method, system, device and storage medium
CN115037577B (en) Intelligent gateway service management platform
Usman et al.SmartX Multi‐View Visibility Framework for unified monitoring of SDN‐enabled multisite clouds
Awad et al.Performance model derivation of operational systems through log analysis
SeifermannApplication performance monitoring in microservice-based systems
CN118051403A (en)Critical link analysis method, device, electronic equipment and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20200515


[8]ページ先頭

©2009-2025 Movatter.jp