CN105871617B - A kind of implementation method of home gateway H.248 protocol voice fault self-diagnosis - Google Patents

A kind of implementation method of home gateway H.248 protocol voice fault self-diagnosis Download PDF

Info

Publication number
CN105871617B
CN105871617B CN201610211449.1A CN201610211449A CN105871617B CN 105871617 B CN105871617 B CN 105871617B CN 201610211449 A CN201610211449 A CN 201610211449A CN 105871617 B CN105871617 B CN 105871617B
Authority
CN
China
Prior art keywords
diagnosis
program
fault self
chained list
voice
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610211449.1A
Other languages
Chinese (zh)
Other versions
CN105871617A (en
Inventor
孙成芳
张涛
周海平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201610211449.1A priority Critical patent/CN105871617B/en
Publication of CN105871617A publication Critical patent/CN105871617A/en
Application granted granted Critical
Publication of CN105871617B publication Critical patent/CN105871617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Abstract

The invention discloses a kind of implementation methods of home gateway H.248 protocol voice fault self-diagnosis, specifically includes the following steps: creating independent H.248 fault self-diagnosis program in home gateway, and interacted by interprocess communication mode and H.248 voice program;H.248 running various critical events are reported to H.248 fault self-diagnosis program by voice program;H.248 the various critical events of fault self-diagnosis class of procedures, filtration treatment, and corresponding state machine is established by event type, analyzing and diagnosing is carried out to all kinds of events respectively, then diagnostic result is separately recorded in the diagnosis chained list of corresponding types;In user interface, H.248 fault self-diagnosis program requires to obtain failure logging information using family, is output to user interface and is shown.The present invention does not increase hardware cost, and minimum to existing voice function effect, can make engineering staff's quick obtaining failure cause, timely handling failure by fault diagnosis result with the output of simple language text.

Description

A kind of implementation method of home gateway H.248 protocol voice fault self-diagnosis
Technical field
The present invention relates to computer communication technology fields, and in particular to a kind of home gateway H.248 protocol voice failure from The implementation method of diagnosis.
Background technique
Home gateway is that the intelligence towards domestic consumer, small retail shop, small enterprise being born along with home network concept connects Enter equipment, H.248 agreement is a kind of common voice protocol used in home gateway phonetic function.
Currently, usually there are some sound faults as caused by environmental factor during engineering test and service fulfillment, And engineering operation maintenance personnel is because unclear to particular technique details, sometimes some simple faults, are also frequently necessary to connection technology Support or research staff carry out multiple information scratching and just can confirm that solution, it is time-consuming and laborious, cause sound fault cannot obtain and When handle.
Summary of the invention
The technical problem to be solved by the present invention is to how enable engineering operation maintenance personnel quick obtaining sound fault information, make The problem of sound fault is handled in time.
In order to solve the above-mentioned technical problem, it is H.248 assisted the technical scheme adopted by the invention is that providing a kind of home gateway The implementation method of sound fault self diagnosis is discussed, specifically includes the following steps:
Independent H.248 fault self-diagnosis program is created in home gateway, and by interprocess communication mode and H.248 Voice program interacts;
H.248 running various critical events are reported to H.248 fault self-diagnosis program by voice program;
H.248 the various critical events of fault self-diagnosis class of procedures, filtration treatment, and corresponding state is established by event type Machine carries out analyzing and diagnosing to all kinds of critical events respectively, then diagnostic result is separately recorded in the diagnosis chained list of corresponding types;
In the user interface of home gateway, H.248 fault self-diagnosis program requires to obtain in corresponding diagnosis chained list using family Failure logging information, be output to user interface and shown.
In the above-mentioned methods, the H.248 voice program is to report various critical events to H.248 event by interface message Hinder self-diagnostic program;
Wherein, each interface message includes event type, subsidiary key descriptors and specific message content.
In the above-mentioned methods, the critical event type includes H.248 voice program initialization event, H.248 voice journey Sequence registered events and call event;
H.248 it includes initialization procedure state machine, registration that fault self-diagnosis program, which establishes corresponding state machine by event type, Process status machine and calling procedure state machine;
H.248 diagnosis chained list is divided into H.248 voice program initialization diagnosis chained list, H.248 language by fault self-diagnosis program Sound program registration diagnoses chained list and calling diagnosis chained list.
In the above-mentioned methods, the H.248 fault self-diagnosis program is using engineering most common failure process experience as foundation, to examine Failure in disconnected result provides treatment advice, and treatment advice is stored in the list item where corresponding diagnosis this time of chained list diagnosis In, when user requires to obtain the secondary diagnostic message, display is exported together with other record information of the secondary diagnosis.
In the above-mentioned methods, the H.248 fault self-diagnosis program is according to engineering experience, once or be easy to appear therefore At the process of barrier, judged specifically for corresponding failure feature, if it find that providing prompt there may be failure and processing being built View is recorded in corresponding diagnosis chained list.
In the above-mentioned methods, the H.248 fault self-diagnosis program is started by switch control.
In the above-mentioned methods, H.248 the fault diagnosis in voice program initialization procedure specifically includes the following steps:
Step S101, H.248 voice program starts, by interface message report starting beginning event to H.248 failure from Diagnostic program, H.248 fault self-diagnosis program establishes initialization procedure state machine, starts to carry out initialization procedure failure to it to examine It is disconnected, and record " in the system starting " in initialization diagnosis chained list;
Step S102, H.248 voice program finds failure, and reporting fault correspond to event to H.248 fault self-diagnosis program, H.248 fault self-diagnosis program initialization process status machine records the failure and corresponds to event, and initialization diagnosis chained list is written;
Step S103, H.248 voice program after the failure occurred, waits for a period of time, and carries out operation trial again, if Failure still has, and executes step S104;Otherwise, step S105 is executed;
Step S104, it reports corresponding event of failure to H.248 fault self-diagnosis program again, executes step S107;
Step S105, starting is reported to continue event to H.248 fault self-diagnosis program, the record event of init state machine Barrier releases, and " trouble shooting " prompt is output to initialization diagnosis chained list, executes step S106;
Step S106, H.248 voice program reports startup completion event to H.248 fault self-diagnosis program, initializes shape State machine records current system starting state, will be prompted to " system starts successfully " and is output to initialization diagnosis chained list, then executes step Rapid S109;
Step S107, in user interface query diagnostic result;
Step S108, H.248 fault self-diagnosis program obtains initialization diagnosis chained list corresponding content, and output is shown in page Face;
Step S109, terminate program.
In the above-mentioned methods, H.248 the fault diagnosis in voice program registration process specifically includes the following steps:
Step S201, H.248 voice program registration failure, is reported to registration failure event and reason by interface message H.248 fault self-diagnosis program, H.248 the fault cues are saved in registration diagnosis chained list by fault self-diagnosis program;
Step S202, H.248 voice program is registered again, if registration failure again, executes step S203;Otherwise, it holds Row step S204;
Step S203, registration failure event and reason are reported to H.248 fault self-diagnosis program by interface message, sentenced Whether disconnected registration failure reason and the first volume are consistent, if unanimously, executing step S207;Otherwise, step S206 is executed;
Step S204, H.248 voice program by interface message be reported to H.248 fault self-diagnosis program mal elimination, Failure elimination prompt is saved in registration diagnosis chained list;
Step S205, H.248 voice program succeeds in registration again, is reported to H.248 fault self-diagnosis by interface message Program, H.248 fault self-diagnosis program discovery are succeeded in registration, and the prompt that will succeed in registration is saved in registration diagnosis chained list, are then held Row step S209;
Step S206, H.248 registration failure event and reason are saved in registration again and diagnose chain by fault self-diagnosis program Table;
Step S207, diagnostic result is registered in user interface query;
Step S208, H.248 fault self-diagnosis program obtains registration diagnosis chained list corresponding content, and output is shown in the page;
Step S209, terminate program.
In the above-mentioned methods, H.248 the fault diagnosis in voice program calling procedure specifically includes the following steps:
Step S301, in calling procedure, H.248 call critical event is reported to by voice program by interface message H.248 fault self-diagnosis program;
Step S302, H.248 fault self-diagnosis program pin creates call state machine to per call, and monitoring entirely called The progress of journey, and calling diagnosis chain is recorded in the prompt of each critical event and access success or call failure factor prompt In table;
Step S303, H.248 fault self-diagnosis program is after the completion of per call diagnoses, initialisation calls state machine, weight Newly start to receive new call event, the diagnosis called again;
Step S304, diagnostic result is called in user interface query, H.248 fault self-diagnosis program obtains calling diagnosis chain Table corresponding content, output are shown in the page.
In the above-mentioned methods, in user interface query diagnostic result, there are two types of situations:
When inquiring current system operational diagnostics result, the H.248 corresponding diagnosis chained list of fault self-diagnosis program pass, when Between the last idagnostic logout content be output to the page and show;
When inquiry system history run diagnostic result, H.248 fault self-diagnosis program is the corresponding content for diagnosing chained list The page is output to item by item to show.
It is running to collect H.248 voice program by one independent H.248 fault self-diagnosis program of creation by the present invention Various critical events, and classification analysis is carried out to critical event, failure cause and treatment advice are provided, hardware cost is not being increased In the case where, by the modification to software, realize the smallest automatic detection of a kind of pair of existing voice function effect H.248 common-use words The method of sound failure, and fault diagnosis result is exported in the form of simple language text, enable engineering staff's quick obtaining Failure cause is in time handled failure.
Detailed description of the invention
Fig. 1 is a kind of system of the home gateway provided by the invention H.248 implementation method of protocol voice fault self-diagnosis Block diagram;
Fig. 2 is the H.248 Troubleshooting Flowchart in voice program initialization procedure in the present invention;
Fig. 3 is the H.248 Troubleshooting Flowchart in voice program registration process in the present invention;
Fig. 4 is H.248 calling procedure fault diagnosis flow scheme of the fault self-diagnosis program to caller failure of the embodiment of the present invention Figure;
Fig. 5 be the embodiment of the present invention H.248 fault self-diagnosis program to being called successful calling procedure fault diagnosis flow scheme Figure.
Specific embodiment
It provides fixed telephone service to domestic consumer in view of current telecom operators to realize essentially by home gateway, the present invention exists In home gateway Basic Applied Software, by creating an independent H.248 fault self-diagnosis program, H.248 voice journey is collected Various key messages (i.e. critical event) in sort run, and using engineering most common failure process experience as reference frame, it is built-in to patrol Volume classification analysis is carried out to critical event, provides failure cause and treatment advice, then by user interface or other be appreciated that Mode translate and be presented to engineering operation maintenance personnel, to quickly handle failure, it is seen then that application of the invention on condition that with The VOIP business using H.248 agreement has been opened at family,
The present invention is described in detail with specific embodiment with reference to the accompanying drawings of the specification.
A kind of implementation method of home gateway provided by the invention H.248 protocol voice fault self-diagnosis, system block diagram is such as Shown in Fig. 1, specifically includes the following steps:
The first step creates independent H.248 fault self-diagnosis program (as server) in home gateway, and by into Communication mode (socke or uds) is interacted with H.248 voice program (as client) between journey.
Running various critical events are reported to H.248 fault self-diagnosis program by second step, H.248 voice program, The present invention is that the normal function of H.248 voice program is avoided to be affected, and is only strictly according to the facts herein in isolated critical event Report, H.248 voice program itself does not do any extra judgement except its normal proper function;
In the present invention, H.248 voice program is to report various critical events to H.248 self-diagnosis of trouble by interface message Disconnected program;Wherein, each interface message contains event type (ID), subsidiary key descriptors and specific message content, Specific message content diagnoses needs according to business by client and server, negotiates to determine.
Third step, H.248 fault self-diagnosis program classify the various critical events being collected into, filtration treatment, base In H.248 agreement feature and engineering experience, failure cause cannot be judged substantially by individually isolating critical event, so H.248 fault self-diagnosis program needs to establish corresponding state machine by event type, and all kinds of critical events are respectively put into corresponding shape A series of state machine, processes progress of record same type critical event, thus can be for the different business of H.248 voice program Process carries out complex and professional analysis monitoring, and so as to obtain a comprehensive diagnostic result, (including diagnosis is built View), then diagnostic result is separately recorded in the diagnosis chained list of corresponding types, i.e., server carries out classification point according to event type Analysis, when determining failure or needing to prompt user, by subsidiary key descriptors and specific message content Brief text language form is translated into, and is stored in the diagnosis chained list of corresponding event type;
In the present invention, critical event type includes H.248 voice program initialization event, H.248 voice program registration Event and call event etc.;Correspondingly, it includes initialization procedure state machine, note that server, which establishes corresponding state machine by event type, Volume process status machine and calling procedure state machine;Correspondingly, server according to the characteristics of H.248 voice program and common engineering therefore Barrier process experience will diagnose chained list and be divided into H.248 voice program initialization diagnosis chained list, H.248 voice program registration diagnosis chained list Chained list is diagnosed with calling.
4th step, the user interface in home gateway, H.248 fault self-diagnosis program requires to obtain corresponding diagnosis using family Failure logging information in chained list, is output to user interface and is shown, completes user interface and H.248 fault self-diagnosis program Interaction.
The present invention is not only in the case where increasing hardware cost, only by realizing sound fault autodiagnosis to software modification It is disconnected, and client is only responsible for reporting when the event to genetic definition, itself does not appoint on the basis of original voice program What extra processing, avoiding influences original phonetic function when carrying out fault self-diagnosis.
In the present invention, server can be using engineering most common failure process experience as foundation, and the failure to be diagnosed to be provides Treatment advice, and the suggestion is stored in the list item of the corresponding diagnosis chained list guilty culprit, when user requires to obtain the failure When information, display is exported together with other record information of the failure.
In the present invention, server is according to engineering experience, once or be easy to appear failure process at, specifically for Corresponding failure feature is judged, if it find that providing prompt and treatment advice there may be failure, corresponding diagnosis is recorded In chained list.
H.248 fault self-diagnosis program of the invention is started by switch control, and when a fault is found, engineering staff can be with Selection is opened, after fault recurrence, in the form of language or text etc. simple and clear output current failure record information (including therefore Hinder reason, abort situation etc.) and diagnostic recommendations.
In the present invention, third step includes three kinds of application scenarios altogether, i.e. H.248 voice program initialization, H.248 voice journey Sequence registration and calling procedure separately below say the present invention in the detailed process that three application scenarios carry out fault diagnosis It is bright.
As shown in Fig. 2, H.248 the fault diagnosis in voice program initialization procedure specifically includes the following steps:
Step S101, H.248 voice program starts, by interface message report starting beginning event to H.248 failure from Diagnostic program, H.248 fault self-diagnosis program establishes initialization procedure state machine, starts to carry out initialization procedure failure to it to examine It is disconnected, and record " in the system starting " in initialization diagnosis chained list.
Step S102, H.248 voice program finds failure, and reporting fault correspond to event to H.248 fault self-diagnosis program, H.248 fault self-diagnosis program initialization process status machine records the failure and corresponds to event, and initialization diagnosis chained list is written;With For IP obtains failure, H.248 voice program reports IP to obtain turkey to H.248 fault self-diagnosis program;H.248 failure The initialization procedure state machine record of self-diagnostic program is that IP obtains malfunction, which is output to just Beginningization diagnoses chained list.
Step S103, H.248 voice program after the failure occurred, waits for a period of time, and carries out operation trial again, if It was found that failure still has, step S104 is executed;Otherwise, step S105 is executed.
Step S104, it reports corresponding event of failure to H.248 fault self-diagnosis program again, executes step S107;At this In invention, H.248 the init state machine discovery of fault self-diagnosis program has been in the malfunction, does not repeat record output The failure masks the extra event continuously repeated, and frequent operation is avoided to diagnose chained list.
If step S105, failure has been eliminated, starting is reported to continue event to H.248 fault self-diagnosis program, Init state machine records trouble shooting, and " trouble shooting " prompt is output to initialization diagnosis chained list and (obtains failure with IP For, export " IP is obtained successfully "), into starting state is continued, execute step S106.
Step S106, the H.248 normal start completion of voice program reports startup completion event to H.248 fault self-diagnosis Program, init state machine record current system starting state, will be prompted to " system starts successfully " and are output to initialization diagnosis chain Then table executes step S109.
Step S107, in user interface query diagnostic result;
Step S108, H.248 fault self-diagnosis program obtains initialization diagnosis chained list corresponding content, and output is shown in page Face.In the present invention, in user interface query diagnostic result, there are two types of situations, when inquiring current system operational diagnostics result, The idagnostic logout content of the last time time, is output to the page by H.248 fault self-diagnosis program pass initialization diagnosis chained list Display;When inquiry system history run diagnostic result, H.248 fault self-diagnosis program initialization diagnosis chained list content by Item is output to the page and shows.
Step S109, terminate program.
As shown in figure 3, H.248 the fault diagnosis in voice program registration process specifically includes the following steps:
Step S201, H.248 voice program registration failure, is reported to registration failure event and reason by interface message H.248 fault self-diagnosis program, H.248 the fault cues are saved in registration diagnosis chained list by fault self-diagnosis program.
Step S202, H.248 voice program is registered again, if registration failure again, executes step S203;Otherwise, it holds Row step S204.
Step S203, registration failure event and reason are reported to H.248 fault self-diagnosis program by interface message, sentenced Whether disconnected registration failure reason and the first volume are consistent, if unanimously, to mask the extra event continuously repeated, avoiding frequent operation Chained list is diagnosed, registration diagnosis chained list is no longer saved into, executes step S207;Otherwise, step S206 is executed.
Step S204, H.248 voice program by interface message be reported to H.248 fault self-diagnosis program mal elimination, Failure elimination prompt is saved in registration diagnosis chained list.
Step S205, H.248 voice program succeeds in registration again, is reported to H.248 fault self-diagnosis by interface message Program, H.248 fault self-diagnosis program discovery are succeeded in registration, and the prompt that will succeed in registration is saved in registration diagnosis chained list, are then held Row step S209.
Step S206, H.248 registration failure event and reason are saved in registration again and diagnose chain by fault self-diagnosis program Table.
Step S207, diagnostic result is registered in user interface query.
Step S208, H.248 fault self-diagnosis program obtains registration diagnosis chained list corresponding content, and output is shown in the page. In the present invention, in user interface query registration diagnostic result, there are two types of situations, when the current registration diagnostic result of inquiry, The idagnostic logout content of the last time time, is output to the page and shown by H.248 fault self-diagnosis program pass registration diagnosis chained list Show;When query history registers diagnostic result, H.248 fault self-diagnosis program is item by item output to the content of registration diagnosis chained list The page is shown.
Step S209, terminate program.
H.248 the fault diagnosis in voice program calling procedure specifically includes the following steps:
Step S301, in calling procedure H.248 voice program by call critical event (such as off-hook, on-hook, media point Match, media connection, play dialing tone and busy tone etc.) H.248 fault self-diagnosis program is reported to by interface message.
Step S302, H.248 fault self-diagnosis program pin creates call state machine to per call, and monitoring entirely called The progress of journey, and calling diagnosis chain is recorded in the prompt of each critical event and access success or call failure factor prompt In table.
Step S303, H.248 fault self-diagnosis program per call diagnose after the completion of (access success or call failure Afterwards), initialisation calls state machine restarts to receive new call event, the diagnosis called again.
Step S304, diagnostic result is called in user interface query, H.248 fault self-diagnosis program obtains calling diagnosis chain Table corresponding content, output are shown in the page.In the present invention, in user interface query calling diagnostic result there are two types of situation, when When inquiring active calls diagnostic result, H.248 fault self-diagnosis program pass calling diagnoses chained list, examining for the last time time Disconnected record content is output to the page and shows;When query history calls diagnostic result, H.248 fault self-diagnosis program examines calling The content of chain rupture table is output to the page item by item and shows.
Failed with caller and be called successfully as specific embodiment separately below, illustrates H.248 fault self-diagnosis program To the fault diagnosis in H.248 voice program calling procedure.
As shown in figure 4, the specific steps for the calling procedure fault diagnosis that H.248 fault self-diagnosis program fails to caller are such as Under:
Step S3101, H.248 voice program detects user's off-hook event, is reported to H.248 failure by interface message Self-diagnostic program, H.248 fault self-diagnosis program establishes calling state machine, and enters caller off hook state.
Step S3102, H.248 voice program detects broadcasting dialing tone event, is reported to H.248 fault self-diagnosis journey Sequence, call state machine enter Number Receiving Status.
Step S3103, H.248 voice program detects subscriber dialing event, is reported to H.248 fault self-diagnosis program, H.248 fault self-diagnosis program records the number that user dials by turn.
Step S3104, H.248 voice program receives the request of MGC allocation medium, is reported to H.248 fault self-diagnosis program, H.248 fault self-diagnosis program record receives the time of the request.
Step S3105, H.248 voice program receives MGC and puts busy tone order, is reported to H.248 fault self-diagnosis program, H.248 fault self-diagnosis program relatively puts the time interval of busy tone and allocation medium request, if interval is very short, output diagnosis is built View " call failure, it may be possible to which voice coding or RTP resource name require not meeting with MGC, please check relevant configuration!";Such as The fruit time is longer, output " user's exhalation, but be called and do not appear to response (unresponsive), it might therefore lead to time-out ", this is built View exists in calling diagnosis chained list.
Step S3106, after output, state machine enters original state.
Step S3107, user interface query active calls diagnostic result is issued to H.248 fault self-diagnosis program and is obtained Diagnostic result request.
Step S3108, H.248 fault self-diagnosis program exports calling diagnosis chained list the last time record to user circle Face, user interface are shown to output content on the page.
As shown in figure 5, H.248 fault self-diagnosis program is to being called the specific steps of successful calling procedure fault diagnosis such as Under:
Step S3201, H.248 voice program receives called terminal ringing or allocation medium request, is reported to H.248 failure Self-diagnostic program, H.248 fault self-diagnosis program enters called incoming call state machine.
Step S3202, H.248 voice program detects user's off-hook event, is reported to H.248 fault self-diagnosis program, H.248 fault self-diagnosis program enters called off hook state.
Step S3203, H.248 voice program establishes media connection, is reported to H.248 fault self-diagnosis program, H.248 event It is two-way that barrier self-diagnostic program finds that media are connected as, and into incoming call state, exports " this access success " prompt to calling Diagnose chained list.
Step S3204, user interface query active calls diagnostic result is issued to H.248 fault self-diagnosis program and is obtained Diagnostic result request.
Step S3205, H.248 fault self-diagnosis program exports calling diagnosis chained list the last time record to user circle Face, user interface are shown to output content on the page.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of implementation method of home gateway H.248 protocol voice fault self-diagnosis, which is characterized in that specifically include following step It is rapid:
Independent H.248 fault self-diagnosis program is created in home gateway, and passes through interprocess communication mode and H.248 voice Program interacts;
H.248 running various critical events are reported to H.248 fault self-diagnosis program by voice program;
H.248 the various critical events of fault self-diagnosis class of procedures, filtration treatment, and corresponding state machine is established by event type, Analyzing and diagnosing is carried out to all kinds of critical events respectively, then diagnostic result is separately recorded in the diagnosis chained list of corresponding types;
In the user interface of home gateway, H.248 fault self-diagnosis program requires to obtain the event in corresponding diagnosis chained list using family Barrier record information, is output to user interface and is shown;
H.248 the voice program is to report various critical events to H.248 fault self-diagnosis program by interface message;
Wherein, each interface message includes event type, subsidiary key descriptors and specific message content;
The critical event type include H.248 voice program initialization event, H.248 voice program registered events and calling thing Part;
H.248 it includes initialization procedure state machine, registration process that fault self-diagnosis program, which establishes corresponding state machine by event type, State machine and calling procedure state machine;
H.248 diagnosis chained list is divided into H.248 voice program initialization diagnosis chained list, H.248 voice journey by fault self-diagnosis program Sequence registration diagnosis chained list and calling diagnosis chained list;
H.248 fault self-diagnosis program establishes corresponding state machine by event type, and all kinds of critical events are respectively put into corresponding shape State machine, a series of processes progress of record same type critical event, and carried out for the different business process of H.248 voice program Analysis monitoring, to obtain the comprehensive diagnos of each event type as a result, diagnostic result is separately recorded in corresponding types again It diagnoses in chained list.
2. the method as described in claim 1, which is characterized in that the H.248 fault self-diagnosis program is in diagnostic result Failure provides treatment advice, and treatment advice is stored in the list item where corresponding diagnosis this time of chained list diagnosis, when user wants When seeking the acquisition secondary diagnostic message, display is exported together with other record information of the secondary diagnosis.
3. the method as described in claim 1, which is characterized in that the H.248 fault self-diagnosis program is once or easy At the process of failure, judged specifically for corresponding failure feature, if it find that there may be failure, provide prompt and Treatment advice is recorded in corresponding diagnosis chained list.
4. the method as described in claim 1, which is characterized in that the H.248 fault self-diagnosis program is opened by switch control It is dynamic.
5. the method as described in claim 1, which is characterized in that the H.248 fault diagnosis tool in voice program initialization procedure Body the following steps are included:
Step S101, H.248 voice program starts, and reports starting beginning event to H.248 fault self-diagnosis by interface message Program, H.248 fault self-diagnosis program establishes initialization procedure state machine, starts to carry out initialization procedure fault diagnosis to it, And record " in the system starting " in initialization diagnosis chained list;
Step S102, H.248 voice program finds failure, and reporting fault correspond to event to H.248 fault self-diagnosis program, H.248 fault self-diagnosis program initialization process status machine records the failure and corresponds to event, and initialization diagnosis chained list is written;
Step S103, H.248 voice program after the failure occurred, waits for a period of time, and carries out operation trial again, if failure It still has, executes step S104;Otherwise, step S105 is executed;
Step S104, it reports corresponding event of failure to H.248 fault self-diagnosis program again, executes step S107;
Step S105, starting is reported to continue event to H.248 fault self-diagnosis program, init state machine records failure solution It removes, and " trouble shooting " prompt is output to initialization diagnosis chained list, execute step S106;
Step S106, H.248 voice program reports startup completion event to H.248 fault self-diagnosis program, init state machine Current system starting state is recorded, " system starts successfully " is will be prompted to and is output to initialization diagnosis chained list, then execute step S109;
Step S107, in user interface query diagnostic result;
Step S108, H.248 fault self-diagnosis program obtains initialization diagnosis chained list corresponding content, and output is shown in the page;
Step S109, terminate program.
6. the method as described in claim 1, which is characterized in that the fault diagnosis H.248 in voice program registration process is specific The following steps are included:
Step S201, H.248 voice program registration failure, is reported to registration failure event and reason by interface message H.248 fault self-diagnosis program, H.248 the fault cues are saved in registration diagnosis chained list by fault self-diagnosis program;
Step S202, H.248 voice program is registered again, if registration failure again, executes step S203;Otherwise, step is executed Rapid S204;
Step S203, registration failure event and reason are reported to H.248 fault self-diagnosis program by interface message, judge to infuse Whether volume failure cause and last time are consistent, if unanimously, executing step S207;Otherwise, step S206 is executed;
Step S204, H.248 voice program by interface message be reported to H.248 fault self-diagnosis program mal elimination, will therefore Barrier eliminates prompt and is saved in registration diagnosis chained list;
Step S205, H.248 voice program succeeds in registration again, is reported to H.248 fault self-diagnosis program by interface message, H.248 fault self-diagnosis program discovery is succeeded in registration, and the prompt that will succeed in registration is saved in registration diagnosis chained list, then executes step S209;
Step S206, H.248 registration failure event and reason are saved in registration again and diagnose chained list by fault self-diagnosis program;
Step S207, diagnostic result is registered in user interface query;
Step S208, H.248 fault self-diagnosis program obtains registration diagnosis chained list corresponding content, and output is shown in the page;
Step S209, terminate program.
7. the method as described in claim 1, which is characterized in that the fault diagnosis H.248 in voice program calling procedure is specific The following steps are included:
Step S301, in calling procedure H.248 voice program by call critical event by interface message be reported to H.248 therefore Hinder self-diagnostic program;
Step S302, H.248 fault self-diagnosis program pin creates call state machine to per call, monitors entire calling procedure It carries out, and calling diagnosis chained list is recorded in the prompt of each critical event and access success or call failure factor prompt In;
Step S303, H.248 fault self-diagnosis program after the completion of per call diagnoses, open again by initialisation calls state machine Begin to receive new call event, the diagnosis called again;
Step S304, diagnostic result is called in user interface query, H.248 fault self-diagnosis program obtains calling diagnosis chained list pair Content is answered, output is shown in the page.
8. the method either as described in claim 5,6 or 7, which is characterized in that there are two types of user interface query diagnostic results Situation:
When inquiring current system operational diagnostics result, H.248 fault self-diagnosis program pass is corresponding diagnoses chained list, most the time Nearly primary idagnostic logout content is output to the page and shows;
When inquiry system history run diagnostic result, H.248 correspondence is diagnosed the content of chained list item by item by fault self-diagnosis program The page is output to show.
CN201610211449.1A 2016-04-07 2016-04-07 A kind of implementation method of home gateway H.248 protocol voice fault self-diagnosis Active CN105871617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610211449.1A CN105871617B (en) 2016-04-07 2016-04-07 A kind of implementation method of home gateway H.248 protocol voice fault self-diagnosis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610211449.1A CN105871617B (en) 2016-04-07 2016-04-07 A kind of implementation method of home gateway H.248 protocol voice fault self-diagnosis

Publications (2)

Publication Number Publication Date
CN105871617A CN105871617A (en) 2016-08-17
CN105871617B true CN105871617B (en) 2019-10-11

Family

ID=56636654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610211449.1A Active CN105871617B (en) 2016-04-07 2016-04-07 A kind of implementation method of home gateway H.248 protocol voice fault self-diagnosis

Country Status (1)

Country Link
CN (1) CN105871617B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086667A (en) * 2019-04-28 2019-08-02 烽火通信科技股份有限公司 A kind of method and system of quick positioning home gateway WAN side link failure
CN111049994A (en) * 2019-12-25 2020-04-21 杭州东方通信软件技术有限公司 Fault diagnosis method and device
CN111432084B (en) * 2020-03-12 2021-07-09 厦门亿联网络技术股份有限公司 Telephone log translation method, system, storage medium and translation equipment
CN114257573B (en) * 2020-09-22 2023-09-19 中国移动通信集团广东有限公司 Method and device for detecting VOLTE voice function abnormality

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855931A (en) * 2005-04-20 2006-11-01 华为技术有限公司 Method for processing upload event of media gateway in network of the latter generation
CN102291265A (en) * 2011-09-03 2011-12-21 四川公用信息产业有限责任公司 TianYi broadband terminal and webmaster optimization platform thereof
CN104579733A (en) * 2013-10-25 2015-04-29 华为终端有限公司 Method, equipment and system for carrying out fault diagnosis
CN104683123A (en) * 2013-11-26 2015-06-03 中国电信股份有限公司 Method for realizing home gateway parameter management and home gateway
CN104917638A (en) * 2015-06-09 2015-09-16 烽火通信科技股份有限公司 Intercommunication fault self-diagnosis system and method for OMCI module of GPON uplink home gateway

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855931A (en) * 2005-04-20 2006-11-01 华为技术有限公司 Method for processing upload event of media gateway in network of the latter generation
CN102291265A (en) * 2011-09-03 2011-12-21 四川公用信息产业有限责任公司 TianYi broadband terminal and webmaster optimization platform thereof
CN104579733A (en) * 2013-10-25 2015-04-29 华为终端有限公司 Method, equipment and system for carrying out fault diagnosis
CN104683123A (en) * 2013-11-26 2015-06-03 中国电信股份有限公司 Method for realizing home gateway parameter management and home gateway
CN104917638A (en) * 2015-06-09 2015-09-16 烽火通信科技股份有限公司 Intercommunication fault self-diagnosis system and method for OMCI module of GPON uplink home gateway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
家庭网关承载语音业务的研究与实现;郭力培;《数字通信》;20120430;全文 *

Also Published As

Publication number Publication date
CN105871617A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN105871617B (en) A kind of implementation method of home gateway H.248 protocol voice fault self-diagnosis
US6189031B1 (en) Method and system for emulating a signaling point for testing a telecommunications network
US6192108B1 (en) Performing automated testing using automatically generated logs
AU710523B2 (en) Tracing with keys and locks
US5572570A (en) Telecommunication system tester with voice recognition capability
CN101426203B (en) Method and equipment for recognizing vicious disturbance call
US6587543B1 (en) System and method for the automated testing of a telecommunications system
CN111988199B (en) IMS (IP multimedia subsystem) signaling analysis system and method for power switching network
CN101043543A (en) Automatized test tool and method for program controlled exchanger
CN206865563U (en) A kind of call platform device
CN104580649B (en) A kind of method and system for auditing automatic speech service content
CN101316430A (en) Communication information collecting method, test method and network side equipment
CN113905129A (en) Method and device for intercepting crank call
CN101159773A (en) A auto-dial testing system, device and method thereof
CN101662543B (en) Method and system for evaluating availability of voice service
CN101835124B (en) Method and system for automatically diagnosing service faults in telecommunication network
CN101146148A (en) A monitoring system and method for non-standardized inter-network call
US7020249B1 (en) Voice interface unit for line conditioner control
CN105812589B (en) Home gateway voice hardware diagnostic system and method
Cisco The .ini Files
CN100388681C (en) Method for triggering online maintenance
CN107046604A (en) IP phone cruising inspection system, method and server based on Session Initiation Protocol
CN113259531B (en) Automatic voice service operation and maintenance method and system for call center
TWI830099B (en) Method, system and computer-readable medium for automatic detection and notification of pbx malfunction
US20230379229A1 (en) Artificial intelligence based service quality response system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant