WO2016095529A1 - Method and apparatus for querying end-to-end service performance - Google Patents

Method and apparatus for querying end-to-end service performance Download PDF

Info

Publication number
WO2016095529A1
WO2016095529A1 PCT/CN2015/085306 CN2015085306W WO2016095529A1 WO 2016095529 A1 WO2016095529 A1 WO 2016095529A1 CN 2015085306 W CN2015085306 W CN 2015085306W WO 2016095529 A1 WO2016095529 A1 WO 2016095529A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
performance
query
history
correspondence
Prior art date
Application number
PCT/CN2015/085306
Other languages
French (fr)
Chinese (zh)
Inventor
戚芳
Original Assignee
中兴通讯股份有限公司
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
Priority claimed from CN201410803270.6A external-priority patent/CN105760402A/en
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016095529A1 publication Critical patent/WO2016095529A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • This paper relates to the field of communications, and in particular to a method and apparatus for querying end-to-end service performance.
  • End-to-end business performance management is a function of querying performance as a business object. It supports querying performance data with multiple types of multi-layer services.
  • the query content is divided into current performance and historical performance; and the device performance management function is the largest.
  • the difference is business-oriented, not device-oriented.
  • the source of business performance data is device performance.
  • the device performance data is located to the service. As the most basic raw service performance data, more complex data processing and processing can be done based on the original data in the future. The accuracy of the performance query results is crucial for the service fault location through performance. In the related technology query service performance methods, there are often problems of checking or less performance.
  • the embodiment of the invention provides a method and device for querying end-to-end service performance, which solves the problem that the service performance query method in the related art often has more or less performance.
  • the embodiment of the invention provides an end-to-end service performance query method, which is applied to the current performance of the query service, and the query method includes:
  • the service port of the to-be-queried performance service is recorded in a service performance table according to the preset query condition, and the corresponding relationship between the service and the performance type is recorded in the service performance table.
  • the first query result includes: a performance type associated with the terminal port, and a current performance value corresponding to the performance type;
  • the method before the step of searching for the terminal port through which the performance service to be queried flows, the method further includes: obtaining A performance query request for the query performance service.
  • the step of searching for the terminal port through which the performance service to be queried flows includes:
  • connection terminal point is located according to the connection terminal point of the service to be queried
  • the board that searches for the performance of the service to be queried is searched in the NE.
  • the embodiment of the present invention further provides an end-to-end service performance query method, which is applied to the historical performance of the query service, including:
  • a service identifier is allocated to the service in the service history performance table, and the service identifier is recorded in the service history performance table, where the service history performance table records the correspondence between the service and the performance history value, the service identifier and the service flow.
  • the terminal ports through are one-to-one correspondence;
  • the method further includes:
  • the corresponding relationship between the service and the performance history value is monitored, where the corresponding relationship further includes: a service identifier corresponding to the service;
  • the correspondence is inserted into the correspondence between the service and the performance history value having the same service identifier.
  • the service identifier includes a service ID field.
  • the embodiment of the invention further provides an end-to-end service performance query device, including:
  • the first search module is configured to search for a terminal port through which the performance service to be queried flows according to the preset query condition, where the to-be-queried performance service record is in a service performance table, and the service performance type records the service and the performance type.
  • the first query module is configured to query the current performance of the terminal port to obtain a first query result, where the first query result includes: a performance type associated with the terminal port, and a performance type Corresponding current performance value;
  • Obtaining a module configured to obtain, according to the service performance table, a first performance type that is the same as a performance type corresponding to the performance service to be queried in the first query result, and a current performance value corresponding to the first performance type, to obtain a Second query results.
  • the querying device further includes: a first obtaining module, configured to obtain a performance query request for the performance service to be queried.
  • the first search module includes:
  • the acquiring unit is configured to obtain the network element where the connection terminal point is located according to the connection terminal point that the service to be queried passes through;
  • the first search unit is configured to search for a board through which the performance service to be queried is passed in the network element;
  • the second search unit is configured to search for a port through which the performance service to be queried passes on the board, and obtain a terminal port.
  • the querying device further includes:
  • the distribution module is configured to respectively allocate a service identifier for the service in the service history performance table, and record the service identifier in the service history performance table, where the service history performance table records the correspondence between the service and the performance history value. Relationship, the service identifier is in one-to-one correspondence with the terminal port through which the service flows;
  • the second query module is configured to query the historical performance of a specified service in the service history performance table according to the preset query condition, and obtain a third query result; wherein the specified service record is in the service history performance table.
  • the querying device further includes:
  • the detecting module is configured to monitor a first correspondence between the service and the performance history value, where the first correspondence further includes: a service identifier corresponding to the service;
  • Inserting a module configured to insert the first correspondence into a correspondence between a service and a performance history value having the same service identifier after a preset time.
  • the embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
  • the method and device for querying the end-to-end service performance by creating a service performance table in which the correspondence between the service and the performance type is recorded, and in the query performance, the first query based on the performance type queried by the device
  • the intersection of the performance types in the service performance table and the second query result can accurately match the relationship between the service and the performance, accurately locate and query the performance of the service, and facilitate the sorting of the performance type of the missed or multi-check, and improve
  • the accuracy of service faults is identifiable through service performance, which improves the user experience, reduces the complexity and maintenance cost of locating faults through service performance, and avoids the problem of multiple checks or misses caused by device-based performance queries.
  • FIG. 1 is a flowchart 1 of a method for querying end-to-end service performance according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for querying current performance of a service according to an embodiment of the present invention
  • FIG. 3 is a second flowchart of a method for querying end-to-end service performance according to an embodiment of the present invention
  • FIG. 4 is a flowchart of a method for querying historical performance of a service according to an embodiment of the present invention
  • FIG. 5 is a first schematic diagram of a module of an end-to-end service performance query device according to an embodiment of the present invention
  • FIG. 6 is a second schematic diagram of a module of an end-to-end service performance query device according to an embodiment of the present invention.
  • an embodiment of the present invention provides an end-to-end service performance query method, which is applied to query current performance of a service, and the method includes:
  • Step 10 Query the terminal port through which the performance service to be queried flows according to the preset query condition, where the performance query to be queried is recorded in a service performance table, and the correspondence between the service and the performance type is recorded in the service performance table. ;
  • the terminal port through which the performance service to be queried flows is searched according to the query condition input by the user, and the query condition is as follows: Set the query time, select the appropriate performance query template, etc., the steps to find the terminal port are as follows:
  • connection terminal point that the performance service to be queried, the network element where the connection terminal point is located, that is, the terminal device in the network;
  • the port through which the performance service to be queried passes that is, the port in the module circuit, is obtained, that is, the terminal port is obtained;
  • the accuracy of the service performance query results is crucial for the service fault location through performance.
  • the current performance query is based on the device, which has the problem of multiple check or miss performance. To solve this problem, Through a large amount of monitoring and statistics on each service and performance in the network, a service performance table corresponding to the relevant performance type is obtained as a reference for query performance. It is worth pointing out that when the device adds a new performance type. The impact of the new performance type on the service is evaluated, and the new energy type is updated to the service performance table according to the evaluation result;
  • Step 20 Query the current performance of the terminal port to obtain a first query result, where the first query result includes: a performance type associated with the terminal port, and a current performance value corresponding to the performance type;
  • the performance of the query is performed on the terminal port that is to be queried by the device, and the first query result is obtained, where the first query result includes: The performance type of the terminal port and the current new energy value corresponding to the performance type.
  • the first query result is based on the performance query result of the device. There may be multiple check or missed queries. This requires the following steps. Query results for screening;
  • Step 30 According to the service performance table, obtain, in the first query result, a first performance type that is the same as the performance type corresponding to the performance service to be queried, and a current performance value that corresponds to the first performance type.
  • the performance of the first query result is filtered according to the service performance table, and the performance type corresponding to the performance service to be queried in the service performance table is Extracting, in the first query result, a first performance type that is the same as a performance type corresponding to the performance service to be queried, and a current performance value corresponding to the first performance type, where This is equivalent to filtering the first query result according to the corresponding relationship in the business performance table, so that it can more accurately query the performance related to the service, and filter out the excess performance.
  • the first query result of the performance type that is queried by the device is compared with the performance type in the service performance table.
  • Obtaining the second query result can accurately match the relationship between the service and the performance, and avoid the problem of multiple check or missed detection caused by the device-based performance query.
  • Step S200 Acquire a performance query request for the performance service to be queried when the current performance of the service needs to be queried;
  • step S201 when the performance query request is obtained, it is detected whether the network element where the connection terminal point to which the performance service to be queried passes is obtained. If the network element is not obtained, the query ends, indicating that the query fails; Unit, step S202 is performed;
  • step S202 it is found that there is a board in the network element that has passed the performance of the service to be queried. If the board is not found, the query is completed, and the query is unsuccessful. If the corresponding board is found, step S203 is performed;
  • Step S203 Search for the port through which the performance service to be queried is obtained on the board, and obtain the terminal port.
  • Step S204 querying the current performance of the terminal port according to the method for querying performance of the device in the related art, to obtain a first query result
  • step S205 it is detected whether the service type in the first query result has the same performance type as the performance type corresponding to the performance service to be queried recorded in the service performance table. If not, the query ends, indicating that the query fails; if the query is in the first query If there is a performance type that is the same as the performance type corresponding to the performance service to be queried, step S206 is performed;
  • Step S206 the first performance type that is the same as the performance type corresponding to the performance service to be queried in the first query result, and the current performance value corresponding to the first performance type are used as the second query result, and the query ends, indicating that the query is successful. ;
  • the second query result is output as a final result.
  • the performance of the device-based query is filtered according to the pre-created service performance table, and the second query result is obtained, so that the query result is more accurate, and the multi-check is effectively avoided. Or missing the question.
  • the method for querying the end-to-end service performance of the embodiment of the present invention is also applied to query the historical performance of the service, as shown in FIG. 3, and the method includes:
  • Step 11 Assign a service identifier to the service of the service history performance table, and record the service identifier in the service history performance table, where the service history performance table records the correspondence between the service and the performance history value, the service identifier and the service flow.
  • the terminal ports through are one-to-one correspondence;
  • the current performance of the service is monitored in real time.
  • the current performance value of the service reaches a predetermined time, it is automatically saved to the service history performance table.
  • the predetermined time can be set to 15 minutes or 24 hours according to the service type. It is worth noting that the correspondence between the service and the performance type in the service history performance table is consistent with the correspondence between the service and the performance type in the service performance table.
  • the service identifier includes the service ID; the historical performance found according to the service identifier is an accurate historical performance;
  • the first correspondence between the service and the performance history value is also monitored, and the corresponding relationship further includes: a service identifier corresponding to the service; when the preset time is reached, The first correspondence is inserted into the correspondence between the service and the performance history value of the same service identifier to implement the update and maintenance of the service history performance table.
  • Step 21 Query the historical performance of a specified service in the service history performance table according to the preset query condition, and obtain a third query result, where the specified service record is in the service history performance table;
  • the historical performance query request of the specified service is obtained, and the historical performance of the same service identifier is obtained in the service history performance table to obtain a third query result.
  • Step S400 Acquire a historical performance query request for a specified service when a specified service needs to query historical performance
  • step S401 when the historical performance query request is obtained, it is determined whether the service type of the specified service is correct, that is, the selected service is located in the corresponding service type, and if the service is not in the specified service type, the query ends. If the service type of the specified service is correct, step S402 is performed;
  • step S402 it is detected whether there is a record of the specified service in the service history performance table. If the record of the specified service does not exist, the query ends, indicating that the query fails; if yes, step S403 is performed;
  • step S403 the historical performance of the specified service is queried in the service history performance table. It is worth noting that the business history performance table is searched for the same service as the service ID of the specified service, and the performance history value is obtained. The data is output as the third query result, and the query ends, indicating that the query is successful.
  • the embodiment of the present invention further provides an apparatus for querying end-to-end service performance, wherein the apparatus shown in FIG. 5 is used to query the current performance of the service, and the apparatus shown in FIG. 6 is used for querying.
  • Historical performance of the business include:
  • the first search module 51 is configured to search for a terminal port through which the performance service to be queried flows according to the preset query condition, where the to-be-queried performance service is recorded in the service performance table, and the service performance table records the service and performance type. Correspondence relationship;
  • the first query module 52 is configured to query the current performance of the terminal port to obtain a first query result, where the first query result includes: a performance type associated with the terminal port, and a current performance value corresponding to the performance type;
  • the obtaining module 53 is configured to obtain, according to the service performance table, a first performance type that is the same as the performance type corresponding to the performance service to be queried in the first query result, and a current performance value corresponding to the first performance type, The second query result.
  • the querying device further includes: a first obtaining module 50, configured to obtain a performance query request for the performance service to be queried.
  • the first search module 51 includes:
  • the obtaining unit 511 is configured to acquire, according to the connection terminal point that the performance service to be queried, the network element where the connection terminal point is located;
  • the first searching unit 512 is configured to search for a board through which the performance service to be queried is passed in the network element;
  • the second searching unit 513 is configured to search for a port through which the performance service to be queried is obtained on the board, and obtain a terminal port.
  • the query device further includes:
  • the distribution module 61 is configured to separately allocate a service identifier for the service in the service history performance table, and record the service identifier in the service history performance table, where the service history performance table records the service and performance history values.
  • the service identifier is in one-to-one correspondence with the terminal port through which the service flows;
  • the second query module 62 is configured to query the historical performance of a specified service in the service history performance table according to the preset query condition to obtain a third query result; wherein the specified service record is in the service history performance table.
  • the querying device further includes:
  • the detecting module 63 is configured to monitor a first correspondence between the service and the performance history value, where the first correspondence further includes: a service identifier corresponding to the service;
  • the inserting module 64 is configured to insert the first correspondence into the correspondence between the service and the performance history value having the same service identifier after the preset time.
  • the device is a device corresponding to the above-mentioned end-to-end service performance query method. All the implementation manners in the foregoing method embodiments are applicable to the device embodiment, and the same technical effects can be achieved.
  • the first query result of the performance type that is queried by the device is compared with the performance type in the service performance table.
  • the second query result can accurately match the relationship between the service and the performance, accurately locate and query the performance of the service, facilitate the sorting of the performance type of the missed or multi-check, improve the accuracy of the service fault by the service performance, and improve the user.
  • the experience reduces the complexity and maintenance cost of locating faults through business performance in engineering, and avoids the problem of multiple checks or misses caused by device-based performance queries.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

Disclosed are a method and apparatus for querying end-to-end service performance. The method comprises: searching for a terminal port through which a performance service to be queried flows according to a pre-set query condition; querying current performance of the terminal port to obtain a first query result, the first query result comprising: a performance type associated with the terminal port, and a current performance value corresponding to the performance type; and according to a service performance table, acquiring a first performance type identical to the performance type corresponding to the performance service to be queried and a current performance value corresponding to the first performance type from the first query result to obtain a second query result.

Description

一种端到端业务性能的查询方法及装置End-to-end service performance query method and device 技术领域Technical field
本文涉及通信领域,尤其涉及一种端到端业务性能的查询方法及装置。This paper relates to the field of communications, and in particular to a method and apparatus for querying end-to-end service performance.
背景技术Background technique
端到端业务性能管理是一个以业务为对象查询性能的功能,它支持以多种类多层业务为对象查询有关性能数据,查询内容分为当前性能和历史性能;与“设备性能管理”功能最大区别就是面向业务、而非面向设备,业务性能数据的来源是设备性能,将设备性能数据定位到业务,作为最基本的原始业务性能数据,将来可以基于原始数据做更加复杂的数据加工处理,业务性能查询结果的准确性对通过性能进行业务故障定位有着至关重要的作用;相关技术的查询业务性能的方法中,常常存在多查或少查了性能的问题。End-to-end business performance management is a function of querying performance as a business object. It supports querying performance data with multiple types of multi-layer services. The query content is divided into current performance and historical performance; and the device performance management function is the largest. The difference is business-oriented, not device-oriented. The source of business performance data is device performance. The device performance data is located to the service. As the most basic raw service performance data, more complex data processing and processing can be done based on the original data in the future. The accuracy of the performance query results is crucial for the service fault location through performance. In the related technology query service performance methods, there are often problems of checking or less performance.
发明内容Summary of the invention
本发明实施例提供了一种端到端业务性能的查询方法及装置,解决了相关技术中的业务性能查询方法中常存在多查或少查了性能的问题。The embodiment of the invention provides a method and device for querying end-to-end service performance, which solves the problem that the service performance query method in the related art often has more or less performance.
本发明实施例提供了一种端到端业务性能的查询方法,应用于查询业务的当前性能,该查询方法包括:The embodiment of the invention provides an end-to-end service performance query method, which is applied to the current performance of the query service, and the query method includes:
根据预设查询条件,查找待查询性能业务所流经的终端端口,待查询性能业务记录在一业务性能表中,且该业务性能表中记录有业务与性能类型的对应关系;The service port of the to-be-queried performance service is recorded in a service performance table according to the preset query condition, and the corresponding relationship between the service and the performance type is recorded in the service performance table.
查询该终端端口的当前性能,得到第一查询结果,其中,第一查询结果包括:与该终端端口相关联的性能类型,以及性能类型所对应的当前性能值;Querying the current performance of the terminal port, and obtaining a first query result, where the first query result includes: a performance type associated with the terminal port, and a current performance value corresponding to the performance type;
根据业务性能表,在第一查询结果中获取与待查询性能业务所对应的性能类型相同的第一性能类型,以及与第一性能类型相对应的当前性能值,得到第二查询结果。And obtaining, according to the service performance table, a first performance type that is the same as the performance type corresponding to the performance service to be queried, and a current performance value corresponding to the first performance type, to obtain a second query result.
可选地,在查找待查询性能业务流经的终端端口的步骤之前还包括:获 取待查询性能业务的性能查询请求。Optionally, before the step of searching for the terminal port through which the performance service to be queried flows, the method further includes: obtaining A performance query request for the query performance service.
可选地,查找待查询性能业务流经的终端端口的步骤包括:Optionally, the step of searching for the terminal port through which the performance service to be queried flows includes:
根据待查询性能业务经过的连接终端点,获取该连接终端点所在网元;Obtaining the network element where the connection terminal point is located according to the connection terminal point of the service to be queried;
在网元中查找该待查询性能业务经过的单板;The board that searches for the performance of the service to be queried is searched in the NE.
在单板上查找待查询性能业务经过的端口,得到终端端口。Find the port through which the performance service to be queried is obtained on the board to obtain the terminal port.
本发明实施例还提供一种端到端业务性能的查询方法,应用于查询业务的历史性能,包括:The embodiment of the present invention further provides an end-to-end service performance query method, which is applied to the historical performance of the query service, including:
为一业务历史性能表中的业务分别分配业务标识,并将业务标识记录在业务历史性能表中,其中,该业务历史性能表中记录有业务与性能历史值的对应关系,业务标识与业务流经的终端端口是一一对应的;A service identifier is allocated to the service in the service history performance table, and the service identifier is recorded in the service history performance table, where the service history performance table records the correspondence between the service and the performance history value, the service identifier and the service flow. The terminal ports through are one-to-one correspondence;
根据预设查询条件,在业务历史性能表中查询一指定业务的历史性能,得到第三查询结果;其中,该指定业务记录在业务历史性能表中。Querying the historical performance of a specified service in the service history performance table according to the preset query condition, and obtaining a third query result; wherein the specified service record is in the service history performance table.
可选地,在为一业务历史性能表中的业务分别分配业务标识的步骤之后还包括:Optionally, after the step of separately assigning service identifiers to services in a service history performance table, the method further includes:
监测业务与性能历史值之间的对应关系,其中,所述对应关系中还包括:与业务对应的业务标识;The corresponding relationship between the service and the performance history value is monitored, where the corresponding relationship further includes: a service identifier corresponding to the service;
在预设时间之后,将所述对应关系插入至具有相同业务标识的业务与性能历史值的对应关系中。After the preset time, the correspondence is inserted into the correspondence between the service and the performance history value having the same service identifier.
可选地,业务标识包括业务ID字段。Optionally, the service identifier includes a service ID field.
本发明实施例还提供了一种端到端业务性能的查询装置,包括:The embodiment of the invention further provides an end-to-end service performance query device, including:
第一查找模块,设置为根据预设查询条件,查找待查询性能业务所流经的终端端口,该待查询性能业务记录在一业务性能表中,且该业务性能表中记录有业务与性能类型的对应关系;The first search module is configured to search for a terminal port through which the performance service to be queried flows according to the preset query condition, where the to-be-queried performance service record is in a service performance table, and the service performance type records the service and the performance type. Correspondence relationship;
第一查询模块,设置为查询终端端口的当前性能,得到第一查询结果,其中,第一查询结果包括:与终端端口相关联的性能类型,以及性能类型所 对应的当前性能值;以及The first query module is configured to query the current performance of the terminal port to obtain a first query result, where the first query result includes: a performance type associated with the terminal port, and a performance type Corresponding current performance value;
获取模块,设置为根据业务性能表,在第一查询结果中获取与待查询性能业务所对应的性能类型相同的第一性能类型,以及与该第一性能类型相对应的当前性能值,得到第二查询结果。Obtaining a module, configured to obtain, according to the service performance table, a first performance type that is the same as a performance type corresponding to the performance service to be queried in the first query result, and a current performance value corresponding to the first performance type, to obtain a Second query results.
可选地,该查询装置还包括:第一获取模块,设置为获取待查询性能业务的性能查询请求。Optionally, the querying device further includes: a first obtaining module, configured to obtain a performance query request for the performance service to be queried.
可选地,第一查找模块包括:Optionally, the first search module includes:
获取单元,设置为根据待查询性能业务经过的连接终端点,获取该连接终端点所在网元;The acquiring unit is configured to obtain the network element where the connection terminal point is located according to the connection terminal point that the service to be queried passes through;
第一查找单元,设置为在网元中查找待查询性能业务经过的单板;以及The first search unit is configured to search for a board through which the performance service to be queried is passed in the network element;
第二查找单元,设置为在单板上查找待查询性能业务经过的端口,得到终端端口。The second search unit is configured to search for a port through which the performance service to be queried passes on the board, and obtain a terminal port.
可选地,查询装置还包括:Optionally, the querying device further includes:
分配模块,设置为为一业务历史性能表中的业务分别分配业务标识,并将业务标识记录在所述业务历史性能表中,其中,该业务历史性能表中记录有业务与性能历史值的对应关系,业务标识与业务流经的终端端口是一一对应的;以及The distribution module is configured to respectively allocate a service identifier for the service in the service history performance table, and record the service identifier in the service history performance table, where the service history performance table records the correspondence between the service and the performance history value. Relationship, the service identifier is in one-to-one correspondence with the terminal port through which the service flows;
第二查询模块,设置为根据预设查询条件,在业务历史性能表中查询一指定业务的历史性能,得到第三查询结果;其中,该指定业务记录在业务历史性能表中。The second query module is configured to query the historical performance of a specified service in the service history performance table according to the preset query condition, and obtain a third query result; wherein the specified service record is in the service history performance table.
可选地,该查询装置还包括:Optionally, the querying device further includes:
检测模块,设置为监测业务与性能历史值之间的第一对应关系,所述第一对应关系中还包括:与业务对应的业务标识;以及The detecting module is configured to monitor a first correspondence between the service and the performance history value, where the first correspondence further includes: a service identifier corresponding to the service;
插入模块,设置为在预设时间之后,将所述第一对应关系插入至具有相同业务标识的业务与性能历史值的对应关系中。Inserting a module, configured to insert the first correspondence into a correspondence between a service and a performance history value having the same service identifier after a preset time.
本发明实施例还提供一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现上述方法。 The embodiment of the invention further provides a computer readable storage medium storing program instructions, which can be implemented when the program instructions are executed.
本发明实施例的一种端到端业务性能的查询方法及装置,通过创建记录有业务与性能类型对应关系的业务性能表,在查询性能时,将基于设备查询到的性能类型的第一查询结果,与该业务性能表中的性能类型取交集,得到第二查询结果,则可精确匹配业务与性能的关系,精确定位和查询业务的性能,方便整理漏查或多查的性能类型,提高了通过业务性能定位业务故障的准确性,提高了用户体验,降低了工程上通过业务性能定位故障的复杂度和维护成本,同时避免了基于设备的性能查询造成的多查或漏查的问题。The method and device for querying the end-to-end service performance according to the embodiment of the present invention, by creating a service performance table in which the correspondence between the service and the performance type is recorded, and in the query performance, the first query based on the performance type queried by the device As a result, the intersection of the performance types in the service performance table and the second query result can accurately match the relationship between the service and the performance, accurately locate and query the performance of the service, and facilitate the sorting of the performance type of the missed or multi-check, and improve The accuracy of service faults is identifiable through service performance, which improves the user experience, reduces the complexity and maintenance cost of locating faults through service performance, and avoids the problem of multiple checks or misses caused by device-based performance queries.
附图概述BRIEF abstract
图1为本发明实施例的端到端业务性能的查询方法的流程图一;FIG. 1 is a flowchart 1 of a method for querying end-to-end service performance according to an embodiment of the present invention;
图2为本发明实施例查询业务的当前性能的方法的流程图;2 is a flowchart of a method for querying current performance of a service according to an embodiment of the present invention;
图3为本发明实施例的端到端业务性能的查询方法的流程图二;3 is a second flowchart of a method for querying end-to-end service performance according to an embodiment of the present invention;
图4为本发明实施例的查询业务的历史性能的方法的流程图;4 is a flowchart of a method for querying historical performance of a service according to an embodiment of the present invention;
图5为本发明实施例的端到端业务性能的查询装置的模块示意图一;FIG. 5 is a first schematic diagram of a module of an end-to-end service performance query device according to an embodiment of the present invention;
图6为本发明实施例的端到端业务性能的查询装置的模块示意图二。FIG. 6 is a second schematic diagram of a module of an end-to-end service performance query device according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将参照附图更详细地描述本发明实施例。Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings.
如图1所示,本发明实施例提供了一种端到端业务性能的查询方法,应用于查询业务的当前性能,其方法包括:As shown in FIG. 1 , an embodiment of the present invention provides an end-to-end service performance query method, which is applied to query current performance of a service, and the method includes:
步骤10:根据预设查询条件,查找待查询性能业务所流经的终端端口,其中,待查询性能业务记录在一业务性能表中,且该业务性能表中记录有业务与性能类型的对应关系;Step 10: Query the terminal port through which the performance service to be queried flows according to the preset query condition, where the performance query to be queried is recorded in a service performance table, and the correspondence between the service and the performance type is recorded in the service performance table. ;
当一业务需要查询性能时,即获取到待查询性能业务的性能查询请求时,根据用户输入的查询条件,查找该待查询性能业务所流经的终端端口,查询条件如:根据业务的类型,设定查询时间,选择合适的性能查询模板等,其中,查找终端端口的步骤如下: When a service needs query performance, that is, when the performance query request for the performance service to be queried is obtained, the terminal port through which the performance service to be queried flows is searched according to the query condition input by the user, and the query condition is as follows: Set the query time, select the appropriate performance query template, etc., the steps to find the terminal port are as follows:
根据待查询性能业务所经过的连接终端点,获取该连接终端点所在网元,即网络中的终端设备等;Obtaining, according to the connection terminal point that the performance service to be queried, the network element where the connection terminal point is located, that is, the terminal device in the network;
在查找到的网元中,查找该待查询性能业务所经过的单板,即终端设备中的模块电路等;Searching for the board through which the performance-to-query service is to be queried, that is, the module circuit in the terminal device.
在查找到的单板中,查找该待查询性能业务所经过的端口,即模块电路中的端口等,即得到终端端口;On the board that is found, the port through which the performance service to be queried passes, that is, the port in the module circuit, is obtained, that is, the terminal port is obtained;
业务性能查询结果的准确性,对通过性能进行业务故障定位有着至关重要的作用,现阶段的性能查询都是基于设备的,这就存在多查或漏查性能的问题,为了解决该问题,通过对网络中每个业务及性能的大量的监测和统计,得到一个业务与相关性能类型相对应的业务性能表,将其作为查询性能的参照,值得指出的是,当设备增加新的性能类型时,会对该新增的性能类型对业务的影响进行评估,根据评估结果决定是否将该新增的新能类型更新至业务性能表中;The accuracy of the service performance query results is crucial for the service fault location through performance. The current performance query is based on the device, which has the problem of multiple check or miss performance. To solve this problem, Through a large amount of monitoring and statistics on each service and performance in the network, a service performance table corresponding to the relevant performance type is obtained as a reference for query performance. It is worth pointing out that when the device adds a new performance type. The impact of the new performance type on the service is evaluated, and the new energy type is updated to the service performance table according to the evaluation result;
步骤20:查询该终端端口的当前性能,得到第一查询结果,其中,第一查询结果包括:与该终端端口相关联的性能类型,以及性能类型所对应的当前性能值;Step 20: Query the current performance of the terminal port to obtain a first query result, where the first query result includes: a performance type associated with the terminal port, and a current performance value corresponding to the performance type;
当得到待查询性能业务的终端端口后,根据基于设备查询性能的方法,对该待查询性能业务所流经的终端端口进行性能查询,得到第一查询结果,该第一查询结果中包括:该终端端口的性能类型,以及性能类型对应的当前新能值,得到的第一查询结果是基于设备的性能查询结果,会存在多查或漏查的问题,这就需要进行以下步骤,对第一查询结果进行筛选;After the terminal port of the service to be queried is obtained, the performance of the query is performed on the terminal port that is to be queried by the device, and the first query result is obtained, where the first query result includes: The performance type of the terminal port and the current new energy value corresponding to the performance type. The first query result is based on the performance query result of the device. There may be multiple check or missed queries. This requires the following steps. Query results for screening;
步骤30:根据业务性能表,在第一查询结果中获取与待查询性能业务所对应的性能类型相同的第一性能类型,以及与第一性能类型相对应的当前性能值;Step 30: According to the service performance table, obtain, in the first query result, a first performance type that is the same as the performance type corresponding to the performance service to be queried, and a current performance value that corresponds to the first performance type.
由于第一查询结果会存在多查或漏查的性能,故根据业务性能表对第一查询结果中的性能类型进行筛选,根据业务性能表中记录的待查询性能业务相对应的性能类型,在第一查询结果中提取与待查询性能业务所对应的性能类型相同的第一性能类型,以及与该第一性能类型相对应的当前性能值,这 就相当于根据业务性能表中的对应关系对第一查询结果做了筛选处理,使之更精确地查询到与业务相关的性能,而把多余的性能过滤掉了。The performance of the first query result is filtered according to the service performance table, and the performance type corresponding to the performance service to be queried in the service performance table is Extracting, in the first query result, a first performance type that is the same as a performance type corresponding to the performance service to be queried, and a current performance value corresponding to the first performance type, where This is equivalent to filtering the first query result according to the corresponding relationship in the business performance table, so that it can more accurately query the performance related to the service, and filter out the excess performance.
本发明实施例通过创建记录有业务与性能类型对应关系的业务性能表,在查询性能时,将基于设备查询到的性能类型的第一查询结果,与该业务性能表中的性能类型取交集,得到第二查询结果,则可精确匹配业务与性能的关系,避免了基于设备的性能查询造成的多查或漏查的问题。When the performance of the service performance table is recorded, the first query result of the performance type that is queried by the device is compared with the performance type in the service performance table. Obtaining the second query result can accurately match the relationship between the service and the performance, and avoid the problem of multiple check or missed detection caused by the device-based performance query.
如图2所示,本发明实施例应用于查询业务的当前性能时,流程如下:As shown in FIG. 2, when the embodiment of the present invention is applied to query the current performance of a service, the process is as follows:
步骤S200,当需要查询一业务的当前性能时,获取待查询性能业务的性能查询请求;Step S200: Acquire a performance query request for the performance service to be queried when the current performance of the service needs to be queried;
步骤S201,当获取到该性能查询请求时,检测是否获取到待查询性能业务所经过的连接终端点所在的网元,若未获取到网元,则查询结束,代表查询失败;如获取到了网元,则执行步骤S202;In step S201, when the performance query request is obtained, it is detected whether the network element where the connection terminal point to which the performance service to be queried passes is obtained. If the network element is not obtained, the query ends, indicating that the query fails; Unit, step S202 is performed;
步骤S202,查找在网元中是否存在待查询性能业务经过的单板,若未查找到单板,则查询结束,代表查询失败;若查找到了对应的单板,则执行步骤S203;In step S202, it is found that there is a board in the network element that has passed the performance of the service to be queried. If the board is not found, the query is completed, and the query is unsuccessful. If the corresponding board is found, step S203 is performed;
步骤S203,在单板上查找待查询性能业务经过的端口,得到终端端口;Step S203: Search for the port through which the performance service to be queried is obtained on the board, and obtain the terminal port.
步骤S204,根据相关技术中基于设备查询性能的方法,查询该终端端口的当前性能,得到第一查询结果;Step S204, querying the current performance of the terminal port according to the method for querying performance of the device in the related art, to obtain a first query result;
步骤S205,检测第一查询结果中的业务类型是否有与业务性能表中记录的待查询性能业务对应的性能类型相同的性能类型,若没有,则查询结束,代表查询失败;若在第一查询结果中存在与待查询性能业务所对应的性能类型相同的性能类型,则执行步骤S206;In step S205, it is detected whether the service type in the first query result has the same performance type as the performance type corresponding to the performance service to be queried recorded in the service performance table. If not, the query ends, indicating that the query fails; if the query is in the first query If there is a performance type that is the same as the performance type corresponding to the performance service to be queried, step S206 is performed;
步骤S206,将第一查询结果中与待查询性能业务所对应的性能类型相同的第一性能类型,以及与第一性能类型相对应的当前性能值作为第二查询结果,查询结束,代表查询成功;Step S206, the first performance type that is the same as the performance type corresponding to the performance service to be queried in the first query result, and the current performance value corresponding to the first performance type are used as the second query result, and the query ends, indicating that the query is successful. ;
此外将第二查询结果作为最终结果进行输出。In addition, the second query result is output as a final result.
通过上述过程,根据预先创建的业务性能表,对基于设备查询到的性能进行筛选,得到第二查询结果,使得查询结果更加精确,有效地避免了多查 或漏查的问题。Through the foregoing process, the performance of the device-based query is filtered according to the pre-created service performance table, and the second query result is obtained, so that the query result is more accurate, and the multi-check is effectively avoided. Or missing the question.
此外,本发明实施例的端到端业务性能的查询方法,还应用于查询业务的历史性能,如图3所示,其方法包括:In addition, the method for querying the end-to-end service performance of the embodiment of the present invention is also applied to query the historical performance of the service, as shown in FIG. 3, and the method includes:
步骤11:为一业务历史性能表的业务分配业务标识,并将业务标识记录在业务历史性能表中,其中,业务历史性能表中记录有业务与性能历史值的对应关系,业务标识与业务流经的终端端口是一一对应的;Step 11: Assign a service identifier to the service of the service history performance table, and record the service identifier in the service history performance table, where the service history performance table records the correspondence between the service and the performance history value, the service identifier and the service flow. The terminal ports through are one-to-one correspondence;
对业务的当前性能进行实时监控,当业务的当前性能值在达到一预定时间时,会自动保存至业务历史性能表中,其中,预定时间可根据业务类型的不同设置为15分钟或24小时;值得指出的是该业务历史性能表中业务与性能类型的对应关系,与上述业务性能表中的业务与性能类型的对应关系是一致的;The current performance of the service is monitored in real time. When the current performance value of the service reaches a predetermined time, it is automatically saved to the service history performance table. The predetermined time can be set to 15 minutes or 24 hours according to the service type. It is worth noting that the correspondence between the service and the performance type in the service history performance table is consistent with the correspondence between the service and the performance type in the service performance table.
由于同一类型的业务可能是由不同的终端设备发起的,为了准确地查询到同一台终端设备的一业务的历史性能,需要为业务历史性能表中的业务根据业务流经的终端端口分配不同的业务标识,该业务标识包括业务ID;根据业务标识查找到的历史性能才是准确的历史性能;As the same type of service may be initiated by different terminal devices, in order to accurately query the historical performance of a service of the same terminal device, it is necessary to allocate different services for the service in the service history performance table according to the service port through which the service flows. The service identifier, the service identifier includes the service ID; the historical performance found according to the service identifier is an accurate historical performance;
此外,在创建历史性能表之后,还需监测业务与性能历史值之间的第一对应关系,所述对应关系中还包括:与所述业务对应的业务标识;当达到预设时间后,将第一对应关系插入至具有相同业务标识的业务与性能历史值的对应关系中,以实现对业务历史性能表的更新与维护;In addition, after the historical performance table is created, the first correspondence between the service and the performance history value is also monitored, and the corresponding relationship further includes: a service identifier corresponding to the service; when the preset time is reached, The first correspondence is inserted into the correspondence between the service and the performance history value of the same service identifier to implement the update and maintenance of the service history performance table.
步骤21:根据预设查询条件,在业务历史性能表中查询一指定业务的历史性能,得到第三查询结果,其中,该指定业务记录在业务历史性能表中;Step 21: Query the historical performance of a specified service in the service history performance table according to the preset query condition, and obtain a third query result, where the specified service record is in the service history performance table;
当需要对一指定业务进行历史性能查询时,根据获取到的该指定业务的历史性能查询请求,在业务历史性能表中查询与该指定业务具有相同业务标识的历史性能,得到第三查询结果;When a historical performance query is performed on a specified service, the historical performance query request of the specified service is obtained, and the historical performance of the same service identifier is obtained in the service history performance table to obtain a third query result.
通过查询业务历史性能,可将查询到的历史性能与当前性能进行对比分析,能够全面地了解到业务优劣情况,当业务链路出现问题时,可根据业务性能的分析结果更精确地定位到业务故障,以便进行后续地优化工作。By querying the historical performance of the service, you can compare and analyze the historical performance of the query with the current performance, and comprehensively understand the pros and cons of the service. When the service link has a problem, it can be more accurately located according to the analysis result of the service performance. Business failure for subsequent optimization efforts.
如图4所示,本发明实施例应用于查询业务的历史性能时,流程如下: As shown in FIG. 4, when the embodiment of the present invention is applied to query the historical performance of a service, the process is as follows:
步骤S400,当一指定业务需要查询历史性能时,获取指定业务的历史性能查询请求;Step S400: Acquire a historical performance query request for a specified service when a specified service needs to query historical performance;
步骤S401,当获取到的历史性能查询请求时,判断该指定业务的业务类型是否正确,即根据选择的业务定位到相应的业务类型中,若该业务不在规定的业务类型中,则查询结束,代表查询失败;若该指定业务的业务类型正确,则执行步骤S402,;In step S401, when the historical performance query request is obtained, it is determined whether the service type of the specified service is correct, that is, the selected service is located in the corresponding service type, and if the service is not in the specified service type, the query ends. If the service type of the specified service is correct, step S402 is performed;
步骤S402,检测在业务历史性能表中是否存在该指定业务的记录,若不存在该指定业务的记录,则查询结束,代表查询失败;若存在,则执行步骤S403;In step S402, it is detected whether there is a record of the specified service in the service history performance table. If the record of the specified service does not exist, the query ends, indicating that the query fails; if yes, step S403 is performed;
步骤S403,在业务历史性能表中查询该指定业务的历史性能,值得指出的是,在业务历史性能表中查找与该指定业务的业务ID相同的业务,以及性能历史值,并将查询到的数据作为第三查询结果输出,查询结束,代表查询成功。In step S403, the historical performance of the specified service is queried in the service history performance table. It is worth noting that the business history performance table is searched for the same service as the service ID of the specified service, and the performance history value is obtained. The data is output as the third query result, and the query ends, indicating that the query is successful.
如图5和图6所示,本发明实施例还提供了一种端到端业务性能的查询装置,其中,图5所示装置用于查询业务的当前性能,图6所示装置用于查询业务的历史性能。包括:As shown in FIG. 5 and FIG. 6, the embodiment of the present invention further provides an apparatus for querying end-to-end service performance, wherein the apparatus shown in FIG. 5 is used to query the current performance of the service, and the apparatus shown in FIG. 6 is used for querying. Historical performance of the business. include:
第一查找模块51,设置为根据预设查询条件,查找待查询性能业务所流经的终端端口,该待查询性能业务记录在业务性能表中,且该业务性能表中记录有业务与性能类型的对应关系;The first search module 51 is configured to search for a terminal port through which the performance service to be queried flows according to the preset query condition, where the to-be-queried performance service is recorded in the service performance table, and the service performance table records the service and performance type. Correspondence relationship;
第一查询模块52,设置为查询终端端口的当前性能,得到第一查询结果,其中,第一查询结果包括:与终端端口相关联的性能类型,以及性能类型所对应的当前性能值;以及The first query module 52 is configured to query the current performance of the terminal port to obtain a first query result, where the first query result includes: a performance type associated with the terminal port, and a current performance value corresponding to the performance type;
获取模块53,设置为根据业务性能表,在第一查询结果中获取与待查询性能业务所对应的性能类型相同的第一性能类型,以及与该第一性能类型相对应的当前性能值,得到第二查询结果。The obtaining module 53 is configured to obtain, according to the service performance table, a first performance type that is the same as the performance type corresponding to the performance service to be queried in the first query result, and a current performance value corresponding to the first performance type, The second query result.
可选地,该查询装置还包括:第一获取模块50,设置为获取待查询性能业务的性能查询请求。Optionally, the querying device further includes: a first obtaining module 50, configured to obtain a performance query request for the performance service to be queried.
其中,第一查找模块51包括: The first search module 51 includes:
获取单元511,设置为根据待查询性能业务经过的连接终端点,获取该连接终端点所在网元;The obtaining unit 511 is configured to acquire, according to the connection terminal point that the performance service to be queried, the network element where the connection terminal point is located;
第一查找单元512,设置为在网元中查找待查询性能业务经过的单板;以及The first searching unit 512 is configured to search for a board through which the performance service to be queried is passed in the network element;
第二查找单元513,设置为在单板上查找待查询性能业务经过的端口,得到终端端口。The second searching unit 513 is configured to search for a port through which the performance service to be queried is obtained on the board, and obtain a terminal port.
其中,查询装置还包括:The query device further includes:
分配模块61,设置为为一业务历史性能表中的业务分别分配业务标识,并将业务标识记录在所述业务历史性能表中,其中,该业务历史性能表中记录有业务与性能历史值的对应关系,业务标识与业务流经的终端端口是一一对应的;以及The distribution module 61 is configured to separately allocate a service identifier for the service in the service history performance table, and record the service identifier in the service history performance table, where the service history performance table records the service and performance history values. Corresponding relationship, the service identifier is in one-to-one correspondence with the terminal port through which the service flows;
第二查询模块62,设置为根据预设查询条件,在业务历史性能表中查询一指定业务的历史性能,得到第三查询结果;其中,该指定业务记录在业务历史性能表中。The second query module 62 is configured to query the historical performance of a specified service in the service history performance table according to the preset query condition to obtain a third query result; wherein the specified service record is in the service history performance table.
可选地,该查询装置还包括:Optionally, the querying device further includes:
检测模块63,设置为监测业务与性能历史值之间的第一对应关系,所述第一对应关系中还包括:与业务对应的业务标识;以及The detecting module 63 is configured to monitor a first correspondence between the service and the performance history value, where the first correspondence further includes: a service identifier corresponding to the service;
插入模块64,设置为在预设时间之后,将第一对应关系插入至具有相同业务标识的业务与性能历史值的对应关系中。The inserting module 64 is configured to insert the first correspondence into the correspondence between the service and the performance history value having the same service identifier after the preset time.
需要说明的是,该装置是与上述端到端业务性能的查询方法对应的装置,上述方法实施例中所有实现方式均适用于该装置的实施例中,也能达到相同的技术效果。It should be noted that the device is a device corresponding to the above-mentioned end-to-end service performance query method. All the implementation manners in the foregoing method embodiments are applicable to the device embodiment, and the same technical effects can be achieved.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明实施例不限制于任何特定形式的硬件和软件的结合。 One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. Embodiments of the invention are not limited to any specific form of combination of hardware and software.
工业实用性Industrial applicability
本发明实施例通过创建记录有业务与性能类型对应关系的业务性能表,在查询性能时,将基于设备查询到的性能类型的第一查询结果,与该业务性能表中的性能类型取交集,得到第二查询结果,则可精确匹配业务与性能的关系,精确定位和查询业务的性能,方便整理漏查或多查的性能类型,提高了通过业务性能定位业务故障的准确性,提高了用户体验,降低了工程上通过业务性能定位故障的复杂度和维护成本,同时避免了基于设备的性能查询造成的多查或漏查的问题。 When the performance of the service performance table is recorded, the first query result of the performance type that is queried by the device is compared with the performance type in the service performance table. The second query result can accurately match the relationship between the service and the performance, accurately locate and query the performance of the service, facilitate the sorting of the performance type of the missed or multi-check, improve the accuracy of the service fault by the service performance, and improve the user. The experience reduces the complexity and maintenance cost of locating faults through business performance in engineering, and avoids the problem of multiple checks or misses caused by device-based performance queries.

Claims (15)

  1. 一种端到端业务性能的查询方法,应用于查询业务的当前性能,包括:An end-to-end service performance query method that is applied to query the current performance of a service, including:
    根据预设查询条件,查找待查询性能业务所流经的终端端口,所述待查询性能业务记录在一业务性能表中,其中,所述业务性能表中记录有业务与性能类型的对应关系;And the service port to be queried is recorded in a service performance table, where the service performance table records a correspondence between the service and the performance type, according to the preset query condition.
    查询所述终端端口的当前性能,得到第一查询结果,其中,所述第一查询结果包括:与所述终端端口相关联的性能类型,以及所述性能类型所对应的当前性能值;Querying the current performance of the terminal port, and obtaining a first query result, where the first query result includes: a performance type associated with the terminal port, and a current performance value corresponding to the performance type;
    根据所述业务性能表,在所述第一查询结果中获取与所述待查询性能业务所对应的性能类型相同的第一性能类型,以及与所述第一性能类型相对应的当前性能值,得到第二查询结果。Obtaining, in the first query result, a first performance type that is the same as a performance type corresponding to the to-be-queried performance service, and a current performance value corresponding to the first performance type, according to the service performance table, Get the second query result.
  2. 根据权利要求1所述的端到端业务性能的查询方法,在所述查找待查询性能业务流经的终端端口的步骤之前,所述方法还包括:The method for querying the end-to-end service performance according to claim 1, before the step of searching for the terminal port through which the performance service to be queried flows, the method further includes:
    获取待查询性能业务的性能查询请求。Obtain a performance query request for the performance service to be queried.
  3. 根据权利要求1所述的端到端业务性能的查询方法,其中,所述查找待查询性能业务流经的终端端口的步骤包括:The method for querying the end-to-end service performance according to claim 1, wherein the step of searching for a terminal port through which the performance service to be queried flows includes:
    根据所述待查询性能业务经过的连接终端点,获取所述连接终端点所在网元;Obtaining, according to the connection terminal point that the service to be queried passes, obtaining the network element where the connection terminal point is located;
    在所述网元中查找所述待查询性能业务经过的单板;Querying, by the network element, the board that the service to be queried passes through;
    在所述单板上查找所述待查询性能业务经过的端口,得到所述终端端口。The port on which the service to be queried is queried is searched on the board to obtain the terminal port.
  4. 一种端到端业务性能的查询方法,应用于查询业务的历史性能,包括:An end-to-end service performance query method applied to query historical performance of a service, including:
    为一业务历史性能表中的业务分别分配业务标识,并将所述业务标识记录在所述业务历史性能表中,其中,所述业务历史性能表中记录有业务与性能历史值的对应关系,所述业务标识与所述业务流经的终端端口是一一对应的;A service identifier is allocated to the service in the service history performance table, and the service identifier is recorded in the service history performance table, where the correspondence between the service and the performance history value is recorded in the service history performance table. The service identifier is in one-to-one correspondence with a terminal port through which the service flows;
    根据预设查询条件,在所述业务历史性能表中查询一指定业务的历史性能,得到第三查询结果;其中,所述指定业务记录在所述业务历史性能表中。 Querying the historical performance of a specified service in the service history performance table according to the preset query condition, and obtaining a third query result; wherein the specified service record is in the service history performance table.
  5. 根据权利要求4所述的端到端业务性能的查询方法,在为一业务历史性能表中的业务分别分配业务标识的步骤之后,所述方法还包括:The method for querying the end-to-end service performance according to claim 4, after the step of separately assigning service identifiers to services in a service history performance table, the method further includes:
    监测业务与性能历史值之间的第一对应关系,所述第一对应关系中还包括:与所述业务对应的业务标识;The first correspondence between the service and the performance history value is monitored, where the first correspondence further includes: a service identifier corresponding to the service;
    在预设时间之后,将所述第一对应关系插入至具有相同业务标识的业务与性能历史值的对应关系中。After the preset time, the first correspondence is inserted into the correspondence between the service and the performance history value having the same service identifier.
  6. 根据权利要求4所述的端到端业务性能的查询方法,其中,所述业务标识包括业务ID字段。The end-to-end service performance query method according to claim 4, wherein the service identifier comprises a service ID field.
  7. 一种端到端业务性能的查询装置,包括:An inquiring device for end-to-end service performance, comprising:
    第一查找模块,设置为根据预设查询条件,查找待查询性能业务所流经的终端端口,所述待查询性能业务记录在一业务性能表中,且所述业务性能表中记录有业务与性能类型的对应关系;The first search module is configured to search for a terminal port through which the performance service to be queried flows according to the preset query condition, where the to-be-queried performance service record is in a service performance table, and the service performance table records the service and Correspondence of performance types;
    第一查询模块,设置为查询所述终端端口的当前性能,得到第一查询结果,其中,所述第一查询结果包括:与所述终端端口相关联的性能类型,以及所述性能类型所对应的当前性能值;以及The first query module is configured to query the current performance of the terminal port to obtain a first query result, where the first query result includes: a performance type associated with the terminal port, and a corresponding to the performance type Current performance value;
    获取模块,设置为根据所述业务性能表,在所述第一查询结果中获取与所述待查询性能业务所对应的性能类型相同的第一性能类型,以及与所述第一性能类型相对应的当前性能值,得到第二查询结果。Obtaining a module, configured to acquire, according to the service performance table, a first performance type that is the same as a performance type corresponding to the performance service to be queried in the first query result, and corresponding to the first performance type The current performance value, get the second query result.
  8. 根据权利要求7所述的端到端业务性能的查询装置,所述查询装置还包括:The apparatus for querying end-to-end service performance according to claim 7, wherein the querying apparatus further comprises:
    第一获取模块,设置为获取待查询性能业务的性能查询请求。The first obtaining module is configured to obtain a performance query request for the performance service to be queried.
  9. 根据权利要求7所述的端到端业务性能的查询装置,所述第一查找模块包括:The apparatus for querying end-to-end service performance according to claim 7, wherein the first search module comprises:
    获取单元,设置为根据所述待查询性能业务经过的连接终端点,获取所述连接终端点所在网元;An acquiring unit, configured to acquire a network element where the connection terminal point is located according to a connection terminal point that the performance service to be queried passes;
    第一查找单元,设置为在所述网元中查找所述待查询性能业务经过的单板;以及 a first search unit, configured to search for a board that the performance-to-query service to go through in the network element;
    第二查找单元,设置为在所述单板上查找所述待查询性能业务经过的端口,得到所述终端端口。The second search unit is configured to search for a port through which the performance service to be queried passes through the board, and obtain the terminal port.
  10. 根据权利要求7所述的端到端业务性能的查询装置,所述查询装置还包括:The apparatus for querying end-to-end service performance according to claim 7, wherein the querying apparatus further comprises:
    分配模块,设置为为一业务历史性能表中的业务分别分配业务标识,并将所述业务标识记录在所述业务历史性能表中,其中,所述业务历史性能表中记录有业务与性能历史值的对应关系,所述业务标识与所述业务流经的终端端口是一一对应的;以及The distribution module is configured to respectively allocate a service identifier for the service in the service history performance table, and record the service identifier in the service history performance table, where the service history performance table records the service and performance history. a correspondence between the values, the service identifier and the terminal port through which the service flows are in one-to-one correspondence;
    第二查询模块,设置为根据预设查询条件,在所述业务历史性能表中查询一指定业务的历史性能,得到第三查询结果;其中,所述指定业务记录在所述业务历史性能表中。The second query module is configured to query the historical performance of the specified service in the service history performance table according to the preset query condition, to obtain a third query result, where the specified service record is in the service history performance table. .
  11. 根据权利要求10所述的端到端业务性能的查询装置,所述查询装置还包括:The apparatus for querying end-to-end service performance according to claim 10, wherein the querying apparatus further comprises:
    检测模块,设置为监测业务与性能历史值之间的第一对应关系,所述第一对应关系中还包括:与所述业务对应的业务标识;以及The detecting module is configured to monitor a first correspondence between the service and the performance history value, where the first correspondence further includes: a service identifier corresponding to the service;
    插入模块,设置为在预设时间之后,将所述第一对应关系插入至具有相同业务标识的业务与性能历史值的对应关系中。Inserting a module, configured to insert the first correspondence into a correspondence between a service and a performance history value having the same service identifier after a preset time.
  12. 一种端到端业务性能的查询装置,包括:An inquiring device for end-to-end service performance, comprising:
    分配模块,设置为为一业务历史性能表中的业务分别分配业务标识,并将所述业务标识记录在所述业务历史性能表中,其中,所述业务历史性能表中记录有业务与性能历史值的对应关系,所述业务标识与所述业务流经的终端端口是一一对应的;以及The distribution module is configured to respectively allocate a service identifier for the service in the service history performance table, and record the service identifier in the service history performance table, where the service history performance table records the service and performance history. a correspondence between the values, the service identifier and the terminal port through which the service flows are in one-to-one correspondence;
    第二查询模块,设置为根据预设查询条件,在所述业务历史性能表中查询一指定业务的历史性能,得到第三查询结果;其中,所述指定业务记录在所述业务历史性能表中。The second query module is configured to query the historical performance of the specified service in the service history performance table according to the preset query condition, to obtain a third query result, where the specified service record is in the service history performance table. .
  13. 根据权利要求12所述的端到端业务性能的查询装置,所述查询装置还包括:The apparatus for querying end-to-end service performance according to claim 12, wherein the querying apparatus further comprises:
    检测模块,设置为监测业务与性能历史值之间的第一对应关系,所述第 一对应关系中还包括:与所述业务对应的业务标识;以及a detecting module, configured to monitor a first correspondence between the service and the performance history value, where the The correspondence relationship further includes: a service identifier corresponding to the service; and
    插入模块,设置为在预设时间之后,将所述第一对应关系插入至具有相同业务标识的业务与性能历史值的对应关系中。Inserting a module, configured to insert the first correspondence into a correspondence between a service and a performance history value having the same service identifier after a preset time.
  14. 一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现权利要求1-3任一项所述的方法。A computer readable storage medium storing program instructions that, when executed, can implement the method of any of claims 1-3.
  15. 一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现权利要求4-6任一项所述的方法。 A computer readable storage medium storing program instructions that, when executed, implement the method of any of claims 4-6.
PCT/CN2015/085306 2014-12-19 2015-07-28 Method and apparatus for querying end-to-end service performance WO2016095529A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410803270.6A CN105760402A (en) 2014-12-16 2014-12-19 End-to-end service performance query method and end-to-end service performance query device
CN201410803270.6 2014-12-19

Publications (1)

Publication Number Publication Date
WO2016095529A1 true WO2016095529A1 (en) 2016-06-23

Family

ID=56125827

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085306 WO2016095529A1 (en) 2014-12-19 2015-07-28 Method and apparatus for querying end-to-end service performance

Country Status (1)

Country Link
WO (1) WO2016095529A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621400A (en) * 2008-06-30 2010-01-06 中兴通讯股份有限公司 History performance data collection method and performance data collecting system
CN103001811A (en) * 2012-12-31 2013-03-27 北京启明星辰信息技术股份有限公司 Method and device for fault locating

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101621400A (en) * 2008-06-30 2010-01-06 中兴通讯股份有限公司 History performance data collection method and performance data collecting system
CN103001811A (en) * 2012-12-31 2013-03-27 北京启明星辰信息技术股份有限公司 Method and device for fault locating

Similar Documents

Publication Publication Date Title
US20200272531A1 (en) Automatic correlation of dynamic system events within computing devices
US11256683B2 (en) Method and apparatus for integrating multi-data source user information
CN110088744B (en) Database maintenance method and system
CN104077401B (en) Data migration device and data migration method for database
CN107016018B (en) Database index creation method and device
CN108200111B (en) Resource configuration information updating method and device and resource interface equipment
TWI459011B (en) Method and system for determing status of machine and computer readable storage medium for storing the method
WO2020155508A1 (en) Suspicious user screening method and apparatus, computer device and storage medium
CN104268216A (en) Data cleaning system based on internet information
CN107223257B (en) Test method, test server and test system
CN110555630B (en) Data processing method and device
JP2015092666A (en) Node de-duplication in network monitoring system
CN107347016B (en) Signaling flow model identification method and abnormal signaling flow identification method
WO2016095529A1 (en) Method and apparatus for querying end-to-end service performance
CN110278123B (en) Checking method, checking device, electronic equipment and readable storage medium
WO2016206241A1 (en) Data analysis method and apparatus
CN112152824A (en) Performance index data acquisition method and device
US8561132B2 (en) Access control apparatus, information management apparatus, and access control method
WO2015184750A1 (en) Data maintenance method and device of network element device
CN114519008A (en) Recommendation method, device, medium and equipment for regression test case
KR20190072207A (en) Integrated clinical trial apparatus based on cdisc
CN112579559B (en) Key value pair management verification method, device, equipment and storage medium
CN104615513A (en) Multilevel code standardization breakdown analyzing method
CN105760402A (en) End-to-end service performance query method and end-to-end service performance query device
CN113342632A (en) Simulation data automatic processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15869040

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15869040

Country of ref document: EP

Kind code of ref document: A1