Error code expansion-based cause positioning method, intelligent terminal and storage medium

文档序号:1641951 发布日期:2019-12-20 浏览:17次 中文

阅读说明:本技术 基于错误码扩展的原因定位方法、智能终端及存储介质 (Error code expansion-based cause positioning method, intelligent terminal and storage medium ) 是由 徐华 吴闽华 马波 于 2019-08-12 设计创作,主要内容包括:本发明公开了基于错误码扩展的原因定位方法、智能终端及存储介质,所述方法包括:将呼叫错误码进行扩展处理,定义不同的所述呼叫错误码对应原因大项和原因小项,生成原因码详细定义表;在通话的呼叫流程中,检测到通话被切断时,获取当前故障的错误码;根据所述错误码,从所述原因码详细定义表定位当前故障的原因。本发明通过扩展错误码,增加了原因大项和原因小项两个错误码,从而可以通过单个呼叫的错误码快速定位故障原因,便于及时进行维护。(The invention discloses a cause positioning method based on error code extension, an intelligent terminal and a storage medium, wherein the method comprises the following steps: carrying out extension processing on a calling error code, defining a reason large item and a reason small item corresponding to different calling error codes, and generating a reason code detailed definition table; in a call flow of a call, when the call is detected to be cut off, acquiring an error code of a current fault; and according to the error code, locating the reason of the current fault from the reason code detailed definition table. The invention increases two error codes of a reason large item and a reason small item by expanding the error codes, thereby being capable of rapidly positioning the fault reason through the error code of a single call and being convenient for timely maintenance.)

1. The error code extension-based cause positioning method is characterized by comprising the following steps:

carrying out extension processing on a calling error code, defining a reason large item and a reason small item corresponding to different calling error codes, and generating a reason code detailed definition table;

in a call flow of a call, when the call is detected to be cut off, acquiring an error code of a current fault;

and according to the error code, locating the reason of the current fault from the reason code detailed definition table.

2. The error code extension based cause location method of claim 1, wherein the call error code comprises an error code definition value and a corresponding cause;

the reason large item comprises a large item code definition value and a corresponding reason;

the reason subentry comprises a small item code definition value and a corresponding reason.

3. The error code extension based cause location method of claim 2, wherein the cause of the call error code comprises:

null number, no route, no path utilization, normal cut, user busy, no answer by the opposite terminal, no answer by the opposite user in ringing, rejection of incoming call by the opposite terminal, failure in the opposite terminal, invalid number format, no available interface or path, network failure, network temporary failure, switch blocking, no available path for application, network blocking, alternative level of other traffic or unavailability, no bearer assignment supported, traffic unsupported, and timer timeout release.

4. The error code extension based cause locating method according to claim 2, wherein the cause of the cause main item comprises:

fault or abnormal action, shut off due to user operation, timer timeout, fault or abnormal action, maintenance personnel operation, and shut off due to user operation.

5. The error code extension-based cause location method according to claim 2, wherein the same call error code corresponds to one or more causes of the cause main item; one or more reasons of the same reason large item correspond to the reasons of the only reason small item.

6. The error code extension based cause location method of claim 1, wherein the call error code is a q.850 call error code.

7. The method as claimed in claim 1, wherein the extended error code is carried in the call flow after the extended processing of the call error code.

8. The method for locating the cause based on the error code extension according to claim 1, wherein the method for locating the cause based on the error code extension further comprises:

and counting the frequency value of the calling error code, and analyzing the operation habit of the user according to the frequency value.

9. An intelligent terminal, characterized in that, intelligent terminal includes: memory, a processor and a cause locating program based on error code extension stored on the memory and executable on the processor, which when executed by the processor implements the steps of the cause locating method based on error code extension according to any one of claims 1-8.

10. A storage medium, characterized in that the storage medium stores a cause locating program based on error code extension, and the cause locating program based on error code extension is executed by a processor to implement the steps of the cause locating method based on error code extension according to any one of claims 1-8.

Technical Field

The invention relates to the technical field of network communication application, in particular to a cause positioning method based on error code extension, an intelligent terminal and a storage medium.

Background

Q.850 call error code indicates that an anomaly occurred in a call corresponds to a different standard error code, the formal definition of ITU-T about the reason code for disconnection of a telephone: use of the house and location in the Digital Subscriber Signalling System No.1 and the Signalling System No.7 ISDN customer part, ITU-T, the International Telecommunication Union Telecommunication standards office (ITU-T for ITU Telecommunication Standardization Sector), which is a branch office under the management of the International Telecommunication Union, which specializes in Telecommunication standards.

In a popular way, there are many reasons for a broken telephone, such as hang-up of the calling party and the called party, busy of the called party, insufficient equipment resources, network failure, etc., so that the ITU-T defines standard error codes corresponding to different reasons, and all equipment developers can uniformly know the reason for cutting off the call according to the standard.

Since the standard q.850 call error code is defined in the call flow of the previous iAN8000 device (iAN800 is an MSAN, Multi-Service Access Node, which is both a narrowband and broadband integrated Access network device and a carrier-level soft-switch media Access gateway) according to the Q931 protocol (q.931, which is a network layer protocol of the telecommunication system, mainly provides call setup and maintenance for the ISDN, and terminates a logical network connection between the two devices, and q.931 is one of the network layer (third layer) protocols of the telecommunication system), but the definition of the q.850 call error code is broad, and the same error code may correspond to various cause possibilities, and it is difficult for the maintenance department to identify the error.

As shown in the following table, the error codes of q.850 are all 18, and may correspond to a plurality of reasons, such as timeout of a T303 timer, timeout of a T306 timer, timeout of a T308 timer, timeout of a T310 timer, AN fault, and the like, maintenance personnel need to perform targeted follow-up according to different reasons, the maintenance personnel must perform positioning one by one, and communication with a terminal client is involved, so that a large amount of manpower and material resources are wasted, and maintenance is difficult.

18 The other party's terminal has not responded 1 Timer timeout 2 T303 timeout
18 The other party's terminal has not responded 1 Timer timeout 3 T306 timeout
18 The other party's terminal has not responded 1 Timer timeout 22 T308 timeout
18 The other party's terminal has not responded 1 Timer timeout 5 T310 timeout
18 The other party's terminal has not responded 2 Malfunction or abnormal action 7 AN failure

Accordingly, the prior art is yet to be improved and developed.

Disclosure of Invention

The invention mainly aims to provide a reason positioning method based on error code expansion, an intelligent terminal and a storage medium, and aims to solve the problems that in the prior art, the same error code may correspond to various reason possibilities and the identification is difficult for a maintenance department.

In order to achieve the above object, the present invention provides a cause positioning method based on error code extension, which comprises the following steps:

carrying out extension processing on a calling error code, defining a reason large item and a reason small item corresponding to different calling error codes, and generating a reason code detailed definition table;

in a call flow of a call, when the call is detected to be cut off, acquiring an error code of a current fault;

and according to the error code, locating the reason of the current fault from the reason code detailed definition table.

Optionally, the method for locating a cause based on error code extension, wherein the call error code includes an error code definition value and a corresponding cause;

the reason large item comprises a large item code definition value and a corresponding reason;

the reason subentry comprises a small item code definition value and a corresponding reason.

Optionally, the method for locating a cause based on error code extension, where the cause of the call error code includes:

null number, no route, no path utilization, normal cut, user busy, no answer by the opposite terminal, no answer by the opposite user in ringing, rejection of incoming call by the opposite terminal, failure in the opposite terminal, invalid number format, no available interface or path, network failure, network temporary failure, switch blocking, no available path for application, network blocking, alternative level of other traffic or unavailability, no bearer assignment supported, traffic unsupported, and timer timeout release.

Optionally, the method for locating a cause based on error code extension, wherein the cause of the cause large item includes:

fault or abnormal action, shut off due to user operation, timer timeout, fault or abnormal action, maintenance personnel operation, and shut off due to user operation.

Optionally, in the method for positioning a cause based on error code extension, the same call error code corresponds to one or more causes of the cause main item; one or more reasons of the same reason large item correspond to the reasons of the only reason small item.

Optionally, the reason positioning method based on error code extension is described, wherein the call error code is a q.850 call error code.

Optionally, in the method for positioning a cause based on error code extension, after the call error code is subjected to extension processing, the extended error code is carried in a call flow.

Optionally, the method for locating a cause based on error code extension further includes:

and counting the frequency value of the calling error code, and analyzing the operation habit of the user according to the frequency value.

In addition, to achieve the above object, the present invention further provides an intelligent terminal, wherein the intelligent terminal includes: the reason positioning program based on the error code extension realizes the steps of the reason positioning method based on the error code extension when being executed by the processor.

In addition, in order to achieve the above object, the present invention further provides a storage medium, wherein the storage medium stores a cause location program based on error code extension, and the cause location program based on error code extension is executed by a processor to implement the steps of the cause location method based on error code extension as described above.

In the invention, a call error code is subjected to expansion processing, a reason large item and a reason small item corresponding to different call error codes are defined, and a reason code detailed definition table is generated; in a call flow of a call, when the call is detected to be cut off, acquiring an error code of a current fault; and according to the error code, locating the reason of the current fault from the reason code detailed definition table. The invention increases two error codes of a reason large item and a reason small item by expanding the error codes, thereby being capable of rapidly positioning the fault reason through the error code of a single call and being convenient for timely maintenance.

Drawings

FIG. 1 is a flow chart of a preferred embodiment of the error code extension based cause location method of the present invention;

FIG. 2 is a diagram illustrating a call flow in a preferred embodiment of the error code extension based cause location method of the present invention;

fig. 3 is a schematic operating environment diagram of an intelligent terminal according to a preferred embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

As shown in fig. 1, the method for positioning a cause based on error code extension according to a preferred embodiment of the present invention includes the following steps:

step S10, performing extension processing on the call error code, defining a large reason item and a small reason item corresponding to different call error codes, and generating a detailed definition table of the reason codes.

Specifically, the call error code in the present invention is preferably a q.850 call error code, the q.850 call error code is first expanded, two error codes, namely a cause major item and a cause minor item, are added and defined, and various cause possibilities are defined in a detailed manner to form a cause code detailed definition table, as follows:

step S20, in the call flow of the call, when the call is detected to be cut off, the error code of the current fault is acquired.

Specifically, according to the well-defined code values, the reason code detailed definition table respectively represents an error code < ITU-T definition > of q.850, a large item code < common definition of an operator using equipment > of a cutting reason, a small item code < common definition of an operator using equipment > of the cutting reason; when the call is detected to be cut off in the call flow of the call (the call of one telephone has the whole set of message interaction flow), the error code of the current fault is acquired.

And step S30, according to the error code, locating the reason of the current fault from the reason code detailed definition table.

Specifically, extended error codes are carried in the call flow, so that a maintenance department can quickly locate the problem (reason) through the error codes of a single call, for example, only the q.850 error code 27 exists in the past, various possibilities exist, maintenance personnel need to locate one by one, communication with a terminal client is involved, a large amount of manpower and material resources are wasted, and after the reason value of a large item and a small item is defined, what the problem is located can be reduced in a large range, and the problem solving speed is greatly improved, for example, as shown in the following table, if 2/3 is known, the L2 connection of the ISDN is broken, and the reason that the L2 is broken is checked; if 2/33, it will check why the Restart was done manually or by the link itself; if 2/37 is the L1 point fault, then check if the physical line is broken, etc.

Further, as shown in fig. 2, during a telephone call, iAN8000 performs a deactivation operation on the device maintainer, the telephone is cut off, iAN8000 sends a Bye message to the core network side, which carries a cut-off reason large item code 4 and a small item code 3 in addition to a normal q.850 error code 41; the core network side records the information to know the specific reason for cutting off the telephone; at this time, if a new call is sent from the core network side, iAN8000, the message 502 sent to the core network side by iAN carries not only the normal q.850 error code 27, but also the cut-off reason major item code 4 and minor item code 1, and the core network side will recognize that the horse standing will know that the operation of deactivating is performed at the iAN8000 side, and then a corresponding prompt tone (for example, if the user cannot start up, the device called by you is performing maintenance, and please dial later) can be played to the calling user, that is, in some scenes, a voice prompt can be performed, so as to achieve a humanized effect.

Further, as shown in fig. 3, based on the above method for positioning a cause based on error code extension, the present invention further provides an intelligent terminal, where the intelligent terminal includes: a processor 10, a memory 20, and a display 30. Fig. 3 shows only some of the components of the smart terminal, but it should be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.

The memory 20 may be an internal storage unit of the intelligent terminal in some embodiments, such as a hard disk or a memory of the intelligent terminal. The memory 20 may also be an external storage device of the Smart terminal in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the Smart terminal. Further, the memory 20 may also include both an internal storage unit and an external storage device of the smart terminal. The memory 20 is used for storing application software installed in the intelligent terminal and various data, such as program codes of the installed intelligent terminal. The memory 20 may also be used to temporarily store data that has been output or is to be output. In an embodiment, the memory 20 stores a cause locating program 40 based on error code extension, and the cause locating program 40 based on error code extension can be executed by the processor 10, so as to implement the cause locating method based on error code extension in the present application.

The processor 10 may be a Central Processing Unit (CPU), microprocessor or other data Processing chip in some embodiments, and is used for running program codes stored in the memory 20 or Processing data, such as executing the error code extension-based cause location method.

The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 30 is used for displaying information at the intelligent terminal and for displaying a visual user interface. The components 10-30 of the intelligent terminal communicate with each other via a system bus.

In one embodiment, when the processor 10 executes the error code extension based cause location program 40 in the memory 20, the following steps are implemented:

carrying out extension processing on a calling error code, defining a reason large item and a reason small item corresponding to different calling error codes, and generating a reason code detailed definition table;

in a call flow of a call, when the call is detected to be cut off, acquiring an error code of a current fault;

and according to the error code, locating the reason of the current fault from the reason code detailed definition table.

The call error code comprises an error code definition value and a corresponding reason;

the reason large item comprises a large item code definition value and a corresponding reason;

the reason subentry comprises a small item code definition value and a corresponding reason.

The reasons for the call error code include:

null number, no route, no path utilization, normal cut, user busy, no answer by the opposite terminal, no answer by the opposite user in ringing, rejection of incoming call by the opposite terminal, failure in the opposite terminal, invalid number format, no available interface or path, network failure, network temporary failure, switch blocking, no available path for application, network blocking, alternative level of other traffic or unavailability, no bearer assignment supported, traffic unsupported, and timer timeout release.

The reasons for the big reason item include:

fault or abnormal action, shut off due to user operation, timer timeout, fault or abnormal action, maintenance personnel operation, and shut off due to user operation.

The same call error code corresponds to the reason of one or more of the reason main items; one or more reasons of the same reason large item correspond to the reasons of the only reason small item.

The call error code is a q.850 call error code.

And after the call error code is subjected to extension processing, the extended error code is carried in the call flow.

The error code extension-based cause positioning method further comprises the following steps:

and counting the frequency value of the calling error code, and analyzing the operation habit of the user according to the frequency value.

Further, the present invention also provides a storage medium, wherein the storage medium stores a cause locating program based on error code extension, and the cause locating program based on error code extension is executed by a processor to implement the steps of the cause locating method based on error code extension as described above.

In summary, the present invention provides a cause positioning method based on error code extension, an intelligent terminal and a storage medium, where the method includes: carrying out extension processing on a calling error code, defining a reason large item and a reason small item corresponding to different calling error codes, and generating a reason code detailed definition table; in a call flow of a call, when the call is detected to be cut off, acquiring an error code of a current fault; and according to the error code, locating the reason of the current fault from the reason code detailed definition table. The invention increases two error codes of a reason large item and a reason small item by expanding the error codes, thereby being capable of rapidly positioning the fault reason through the error code of a single call and being convenient for timely maintenance.

Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program instructing relevant hardware (such as a processor, a controller, etc.), and the program may be stored in a computer readable storage medium, and when executed, the program may include the processes of the above method embodiments. The storage medium may be a memory, a magnetic disk, an optical disk, etc.

It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:通信线路特征提取方法、通信线路识别方法及装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类