[go: up one dir, main page]

CN102868717A - Method, device and system for editing and debugging voice extensible markup language script - Google Patents

Method, device and system for editing and debugging voice extensible markup language script Download PDF

Info

Publication number
CN102868717A
CN102868717A CN2011101918661A CN201110191866A CN102868717A CN 102868717 A CN102868717 A CN 102868717A CN 2011101918661 A CN2011101918661 A CN 2011101918661A CN 201110191866 A CN201110191866 A CN 201110191866A CN 102868717 A CN102868717 A CN 102868717A
Authority
CN
China
Prior art keywords
vxml
pel
script
resolver
debugging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011101918661A
Other languages
Chinese (zh)
Inventor
汪竞
梁震
邓庆锋
夏丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2011101918661A priority Critical patent/CN102868717A/en
Publication of CN102868717A publication Critical patent/CN102868717A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

本发明实施例提供一种语音扩展标记语言脚本编辑与调试的方法、装置及系统,所述方法包括:接收客户端发送的编辑图元的指令;按照建立的VXML标准元素集合与所述图元的对应关系生成图形化流程,所述图形化流程包括多个图元、图元的属性及图元间的连接关系;根据所述图形化流程生成语音扩展标记语言脚本;将所述VXML脚本发送给VXML解析器,以便所述VXML解析器对所述VXML脚本进行解析,并在接收到VXML解析器反馈的解析结果时,完成可视化调试,并反馈调试结果。本发明以解决语音扩展标记语言脚本的编写成本高的技术问题;进一步,在调试时,可以实现断点调试,降低了问题定位成本。

Embodiments of the present invention provide a method, device, and system for editing and debugging voice extension markup language scripts. The method includes: receiving an instruction for editing graphic elements sent by a client; The corresponding relationship generates a graphical flow, and the graphical flow includes a plurality of graph elements, the attributes of the graph elements, and the connection relationship between the graph elements; generates a voice extension markup language script according to the graphical flow; sends the VXML script to the VXML parser, so that the VXML parser can parse the VXML script, and when receiving the parsing result fed back by the VXML parser, complete visual debugging and feed back the debugging result. The invention solves the technical problem of high writing cost of the speech extension markup language script; furthermore, during debugging, breakpoint debugging can be realized, and the cost of problem location is reduced.

Description

The method of voice extensible markup language script editor and debugging, Apparatus and system
Technical field
The present invention relates to communication technical field, particularly method, the Apparatus and system of a kind of voice extensible markup language script editor and debugging.
Background technology
Voice extensible markup language (VXML, Voice Extensible Markup Language) as a kind of more widely used phone programmed scripts language, provide playback, collect the digits recording, text voice conversion (TTS), speech recognition, and call diversion and the function of taking out stitches.The current various VXML resolvers that provided by many companies of VXML support that these VXML resolvers can be resolved can carry out the VXML script, but VXML editing machine patterned and that have debug function is not that each producer can both provide.Even some VXML compiler can provide debug function, but to dock with existing VXML resolver, but when practical operation, realize that debug function is also relatively more difficult.
At present, the WebSphere of IBM can provide editor and the debug function of VXML, that is: the Voice Toolkit by WebSphere Studio, can: create engineering, create the VoiceXml file, edit visually the VoiceXml file, use various dialog parts of reusing (RDC, reusable dialog components) to simplify editing process; And voice and the Text Mode test engineering of having edited.
In the existing implementation and since at present VXML editing machine itself graphically be simply to element graphically, namely element is corresponding one by one with pel, script to write cost compare large; And when debugging, debugging breakpoints can't be set, increased the positioning problems cost.
Summary of the invention
The embodiment of the invention provides method, the Apparatus and system of a kind of voice extensible markup language script editor and debugging, writes the high technical problem of cost with what solve the voice extensible markup language script.
For solving the problems of the technologies described above, the embodiment of the invention provides the method for a kind of voice extensible markup language script editor and debugging, and described method comprises:
Receive the instruction of editor's pel of client transmission;
According to the corresponding relation generation graphic process of the voice extensible markup language VXML leading element set of setting up with described pel, described graphic process comprises the attribute of a plurality of pels, pel and the annexation between pel;
Generate the VXML script according to described graphic process;
Described VXML script is sent to the VXML resolver, so that described VXML resolver resolves described VXML script, and when receiving the analysis result of VXML resolver feedback, finish visual debugging, and the feedback debug results.
Accordingly, the embodiment of the invention also provides the device of a kind of voice extensible markup language script editor and debugging, and described device comprises:
Receiving element is used for the instruction of editor's pel of reception client transmission;
The first generation unit is used for according to the corresponding relation generation graphic process of the voice extensible markup language VXML leading element set of setting up with described pel, and described graphic process comprises the attribute of a plurality of pels, pel and the annexation between pel;
The second generation unit is used for generating voice extensible markup language VXML script according to described graphic process;
Resolve debugging unit, be used for described VXML script is sent to the VXML resolver, so that described VXML resolver resolves described VXML script, and when receiving the analysis result of VXML resolver feedback, finish visual debugging, and the feedback debug results.
Accordingly, the embodiment of the invention also provides a kind of voice extensible markup language script editor and debug system, comprise graphical voice extensible markup language script-editor IDE and voice extensible markup language VXML resolver, described IDE comprises: graphic process editing machine, script generator and VXML debugger, wherein
Described graphic process editing machine, be used for when the instruction of the editor's pel that receives the client transmission, according to the corresponding relation generation graphic process of the voice extensible markup language VXML leading element set of setting up with described pel, described graphic process comprises the attribute of a plurality of pels, pel and the annexation between pel;
Described script generator is used for generating the VXML script according to described graphic process;
Described VXML debugger is used for described VXML script is sent to the VXML resolver, and when receiving the analysis result of VXML resolver feedback, finishes visual debugging, and to graphic process editing machine feedback debug results;
Described VXML resolver is resolved the described VXML script that receives, and to described VXML debugger feedback analysis result.
As shown from the above technical solution, in the embodiment of the invention, according to the corresponding relation generation graphic process of the VXML leading element set of setting up with described pel, and according to described graphic process generation voice extensible markup language script, described voice extensible markup language VXML script is resolved, finished visual debugging.That is to say, the VXML standard capability is taken out a plurality of pels, the script edit personnel only need pull and line, and the attribute of pel is set, and just can finish VXML normal process exploitation debugging.Significantly reduced the learning cost of script edit personnel to VXML language itself.Also significantly reduced simultaneously the cost of writing of script.
Description of drawings
The flow chart of a kind of voice extensible markup language script editor that Fig. 1 provides for the embodiment of the invention and the method for debugging;
The flow chart of Establishing process operational relation between the pel that Fig. 2 provides for the embodiment of the invention;
Carry out the flow chart of interacting message between the VXML debugger that Fig. 3 provides for the embodiment of the invention and VXML resolver;
The structural representation of a kind of voice extensible markup language script editor that Fig. 4 provides for the embodiment of the invention and the device of debugging;
A kind of voice extensible markup language script editor that Fig. 5 provides for the embodiment of the invention and the structural representation of debug system.
Embodiment
In order to make those skilled in the art person understand better the scheme of the embodiment of the invention, below in conjunction with drawings and embodiments the embodiment of the invention is described in further detail.
See also Fig. 1, a kind of voice extensible markup language script editor who provides for the embodiment of the invention and the method for debugging, described is by graphical Vxml script editing environment (Vxml IDE to voice extensible markup language script editor and debugging, Vxml Integrated Design Environment) realizes, usually, graphical Vxml script editing environment is called again graphical Vxml script-editor, described IDE itself by graphic process editing machine, script generator, and three parts of debugger form.In this embodiment, the graphic process editing machine is responsible for and user interactions, and generates patterned flow process according to the edit instruction that receives the user; Script generator generates the VXML script according to patterned flow process, and the VXML debugger is issued the VXML resolver with the VXML script and carried out, and with the VXML resolver alternately with, finish visual debugging.Described method comprises:
Step 101: the graphic process editing machine receives the instruction of editor's pel of client transmission;
In this step, after the graphic process editing machine starts, show each pel, afterwards, when receiving the edit instruction of client selection pel, so that pel is edited;
Step 102: the graphic process editing machine is according to the corresponding relation generation graphic process of the voice extensible markup language VXML leading element set of setting up with described pel, and graphic process comprises the attribute of a plurality of pels, pel and the annexation between pel;
In this step, the corresponding relation of foundation is that the graphic process editing machine uses function that the VXML leading element is classified according to the outside, forms the set of VXML leading element; Abstract processing is carried out in set to the VXML leading element, obtains corresponding pel; Set up the one-to-one relationship of the set of VXML leading element and pel.
Wherein, the graphic process editing machine specifically comprises according to the corresponding relation generation graphic process form of setting up:
Choose pel by menu bar, pel comprises: the menu creation engineering, open engineering, create common flow process, create subfunction flow process, preservation, compiling generation script and/or Start-up and Adjustment; Show the described pel of current process selecting by toolbar, and according to user instruction the pel of described selection is transferred to from toolbar in the graphic process editing machine; Described graphic process editing machine is determined a pel according to the instruction that receives, and the attribute of this pel of determining is edited, and generates graph of a correspondence flow process form.
Step 103: script generator generates the voice extensible markup language script according to graphic process;
In this step, first each pel is mapped to a VXML dialogue (dialog); Become attribute or the statement of VXML according to the best property of attribute mapping of each pel; Set up the line between the described pel, and described line is mapped to skip instruction; With described dialogue, the attribute of VXML or statement, and skip instruction generates the voice extensible markup language script.
That is to say that graphic process generates the VXML script, the VXML script is by leading element.Attribute forms.
Step 104: debugger sends to the VXML resolver with described voice extensible markup language script, so that the VXML resolver is resolved described VXML script, and when receiving the analysis result of VXML resolver feedback, finish visual debugging, and feedback debug results.
Wherein, this step is to be coordinated to finish by, VXML debugger and VXML resolver, namely selects the Start-up and Adjustment menu in editing machine, opens the VXML debugger; Described VXML debugger is with the address notification VXML resolver of described VXML script; Described VXML resolver triggers flow process corresponding to address of carrying out described VXML script after entering the session incoming call; When described flow process finishes, select in the VXML debugger to finish the debugging menu, switch back editing machine, and the feedback debug results.
Wherein, described flow process comprises common flow process and subfunction flow process, described common flow process can comprise following pel: playback, menu, collect the digits, recording, diverting call, dismantling call, end, redirect, call sub-process, condition, script, daily record, the event of dishing out and/or identification; Described subfunction flow process comprises: playback, menu, collect the digits, recording, diverting call, dismantling call, call sub-process, condition, script, daily record, identification and/or sub-process and return pel.
After entering debugging, a VXML resolver VXMLdialog of every execution (form/menu) is front, all will notify the VXML debugger current flow file name, current VXMLdialog, and block (such as waiting for) at current dialog.
Preferably, the implementation procedure of this step 104 can also comprise: described VXML debugger judges whether current dialogue is provided with breakpoint, if so, then directly notify the VXML resolver to continue to carry out in the instruction that receives user selection continuation execution, the described front step of session incoming call that enters of follow-up execution; Perhaps, single step is carried out, and when single step was carried out, notice VXML resolver continued to carry out.
Wherein, breakpoint is predefined, when debugging when preseting the pel of breakpoint, debugging will stop, waiting instruction after, determining whether continue execution.Find that such as the VXML debugger current dialog is provided with breakpoint, wait for that then user selection continues to carry out, or the single step execution, tell just when single process is carried out menu that the VXML resolver continues to carry out, otherwise tell at once the VXML resolver to continue execution.
Preferably, described method can also comprise: the VXML leading element is classified, form the set of VXML leading element; Specifically can be to use function that the VXML leading element is classified according to the outside, form the set of VXML leading element; Abstract processing is carried out in described VXML leading element set, obtained corresponding pel; In the present embodiment, the VXML standard capability is taken out 15 basic functional units (being pel Cell): playback, menu, collect the digits, recording, diverting call, dismantling call, end, redirect, call sub-process, condition, script, daily record, hold outgoing event, identification, sub-process returns; Set up the one-to-one relationship of described VXML leading element set and described pel.
In the embodiment of the invention, according to the corresponding relation generation graphic process of the VXML leading element set of setting up with described pel, and according to described graphic process generation voice extensible markup language script, described voice extensible markup language VXML script is resolved, finished visual debugging.That is to say, the VXML standard capability is taken out a plurality of pels, the script edit personnel only need pull and line, and the attribute of pel is set, and just can finish the exploitation of VXML normal process.Significantly reduced the learning cost of script edit personnel to VXML language itself.Also significantly reduced simultaneously the cost of writing of script.
Further, the embodiment of the invention so that each VXML script resolver is done a small amount of exploitation, realizes debugging breakpoints by announcing a cover standard agreement, namely supports to carry out debugging breakpoints with the graphic process editing machine, reduces the positioning problems cost.
For the ease of those skilled in the art's understanding, also see also following embodiment.
In above-mentioned steps 101 and step 102, the graphic process editing machine generates specifically comprising of graphic process according to the corresponding relation of setting up when receiving edit instruction:
In this embodiment, described graphic process editing machine comprises: menu bar, and editing machine and toolbar, attribute column etc. partly form.
Described graphic process editing machine can be chosen the menu creation engineering by menu bar, open engineering, creates common flow process, creates subfunction flow process, preservation, compiling generation script, Start-up and Adjustment.
Described graphic process editing machine can show the described Cell that current flow process can be selected by toolbar, and the editorial staff pulls by mouse Cell is dragged to the graphic process editing machine from toolbar.In the graphic process editing machine, choose a Cell, can edit its attribute, set up the annexation between the described pel.
In this embodiment, flow process is divided into two classes usually: common flow process and subfunction flow process, each flow process have a unsuppressible beginning Cell, have one in the common flow process at least and are designated as the entrance flow process.
The VXML standard capability takes out some basic functional units (being Cell): playback, menu, collect the digits, recording, diverting call, dismantling call, end, redirect, call sub-process, condition, script, daily record, the event of dishing out, identification, sub-process and return.
Common flow process can be seen playback, menu, collects the digits, recording, diverting call, dismantling call, end, redirect, call these Cell such as sub-process, condition, script, daily record, the event of dishing out and/or identification.
The subfunction flow process can be seen playback, menu, collects the digits, recording, diverting call, dismantling call, call sub-process, condition, script, daily record, identification and/or sub-process and return these Cell such as cell.
Wherein, describe below by a concrete example, come the Establishing process operational relation by line between Cell, the flow chart of Establishing process operational relation sees Fig. 2 for details between its Cell, in this process, after the graphic process editing machine starts, edit instruction according to the selection pel that receives the client transmission is processed accordingly, that is to say, choose pel by menu bar first, described pel comprises: the menu creation engineering, open engineering, create common flow process, create subfunction flow process, preservation, compiling generation script and/or Start-up and Adjustment etc.; Afterwards, show the described pel (such as playback, identification, record, keep a diary, take out stitches etc.) of current process selecting by toolbar, and according to user instruction the pel of described selection is transferred to from toolbar in the graphic process editing machine;
Described graphic process editing machine is determined a pel according to the instruction that receives, and the attribute of this pel of determining is edited, and sets up the annexation between the described pel, generates the graph of a correspondence flow process, and its detailed process comprises:
Step 201: start graphic process editing machine (namely beginning);
Step 202: the playback of graphic process editing machine collects the digits;
Step 203: the graphic process editing machine result that relatively collects the digits, if need recording, then execution in step 204; If need to take out stitches, then execution in step 205;
Step 204: the graphic process editing machine is recorded to the result that relatively collects the digits;
Step 205: graphic process editing machine log after recording;
Step 206: the graphic process editing machine is taken out stitches behind log;
Step 207: graphic process editing machine process ends.
Such as, when client is selected pel that playback collects the digits, afterwards, the graphic process editing machine obtains the pel that playback collects the digits, and when client was selected the pel of recording, the graphic process editing machine obtained the pel of recording, and set up the relation of the figure elementary time of pel that playback collects the digits and recording, when the graphic process editing machine obtains the pel of taking out stitches, establish the pel of taking out stitches with before the relation etc. of all pels, form graphic process.
In this embodiment, there is one to connect arrow (as shown in Figure 2) from the playback Cell that collects the digits to the Cell that relatively collects the digits as a result.Property value and explanation thereof that its each Cell has see also following table 1, and namely Cell attribute and script generate.
Table 1
Figure BDA0000074663810000081
Figure BDA0000074663810000091
Figure BDA0000074663810000111
Figure BDA0000074663810000121
Figure BDA0000074663810000131
Figure BDA0000074663810000141
Figure BDA0000074663810000151
Figure BDA0000074663810000171
Figure BDA0000074663810000181
Figure BDA0000074663810000201
Figure BDA0000074663810000211
Figure BDA0000074663810000221
Figure BDA0000074663810000241
Figure BDA0000074663810000251
In step 103, described script generator generates the voice extensible markup language script according to described graphic process, specifically comprises:
Each pel is mapped to a VXML dialogue (dialog); Become attribute or the statement of VXML according to the best property of attribute mapping of each pel; Set up the line between the described pel, and described line is mapped to skip instruction; With described dialogue, the attribute of VXML or statement, and skip instruction generates the voice extensible markup language script, wherein, the process of described generation voice extensible markup language script is exactly: playback, menu, collect the digits, recording, diverting call, dismantling call, end, redirect, call sub-process, condition, script, daily record, the event of dishing out, identification, sub-process and return etc., these 15 kinds of Cell, they are by the mode of VXML leading element by organic assembling, form a dialogue, realize corresponding function.
Such as, Cell correspond to Vxml dialogue (for example<form id=" Prompt_0 "</form), each standard Vxml element in the corresponding generation of the attribute of the Cell respective dialog (for example:<audio expr=" ' y :/'+' audio.wav " '</audio 〉), or Vxml attribute of an element (for example:<prompt bargein=" false " xml:lang=" en-us "〉in xml:lang=" en-us "), arrow is corresponding to generate skip instruction (for example:<goto next=" #Menu_0 "/〉).
Wherein, each Cell scenario generation method sees above-mentioned table 1 for details, does not repeat them here.
In step 104, the VXML debugger sends to the VXML resolver with described VXML script, so that described VXML resolver resolves described VXML script, and when receiving the analysis result of VXML resolver feedback, finish visual debugging, and the feedback debug results comprises specifically:
In editing machine, select the Start-up and Adjustment menu, open the VXML debugger; Described VXML debugger is with the address notification VXML resolver of described VXML script; Described VXML resolver triggers flow process corresponding to address of carrying out described VXML script after entering the session incoming call; When described flow process finishes, select in the VXML debugger to finish the debugging menu, switch back editing machine, and the feedback debug results.
Further, this step 104 can also comprise: before entering the session incoming call, if the VXML debugger receives filename, the current dialogue of the current flow process of VXML resolver transmission, then block current dialogue; Described VXML debugger judges whether current dialogue is provided with breakpoint, if so, then directly notifies the VXML resolver to continue to carry out in the instruction that receives user selection continuation execution, the described front step of session incoming call that enters of follow-up execution; Perhaps, single step is carried out, and when single step was carried out, notice VXML resolver continued to carry out.
That is to say that in workflow editor, select the Start-up and Adjustment menu, debugger is opened; In debugger, select to finish the debugging menu, then switch back editing machine.Debugger is by menu bar, editing machine and variable view, and attribute column etc. partly form.By menu bar, can choose the menu setting breakpoint, continue to carry out, single step is carried out, and single process is carried out, and finishes debugging.The value that can show current appreciable all variablees by the variable view.In editing machine, choose a Cell, can see its attribute.
Start-up and Adjustment, the script address that the VXML debugger is corresponding with this flow process is told the VXML resolver.After the phone incoming call, what the VXML resolver triggered execution is flow process corresponding to script address.
It is front that the VXML resolver whenever enters a dialog (form/menu), all will notify the VXML debugger current flow file name, current dialog, and be blocked in current dialog
The VXML debugger finds that current dialog is provided with breakpoint, waits for that then user selection continues to carry out, or the single step execution, and tells just that when single process is carried out menu the VXML resolver continues to carry out, otherwise tells at once the VXML resolver to continue execution.
The VXML resolver continues to carry out, and turns back to the VXML resolver and whenever enters the front step of a dialog (form/menu).
The VXML debugger under interrupt status, can send inquire about/arrange variable message to the VXML resolver, inquire about/arrange the value of variable.
Therefore, in the present embodiment, this interface is fairly simple, and any VXML resolver (VXML PARSER) only need to increase at VXML standard FIA algorithm place and suspend and the processing that continues, and after receiving the message of VXMLIDE, returns corresponding message and get final product.In a single day namely the graphical script editor of VXML and debugging apparatus have been arranged, any VXML resolver can utilize low cost that the script debugging function is provided, specifically as shown in Figure 3.
Fig. 3 carries out the flow chart of interacting message between the VXML debugger that the embodiment of the invention provides and VXML resolver, comprising:
VXML debugger among the step 301:VXML IDE sends Start-up and Adjustment (StartDebug) instruction to VXML resolver (VXMLPARSER);
Step 302:VXML resolver sends the VXML Start-up and Adjustment to the VXML debugger and replys (StartDebugAck);
Step 303:VXML resolver carries out the script operation;
Step 304:VXML resolver sends script operational report (InfoReport) to the VXML debugger;
Step 305:VXML debugger is replied (InfoReportAck) to VXML resolver feedback script operational report;
Step 306:VXML debugger is to the value (QueryVar) of the one or more variablees of VXML parser queries; This step is optional;
Step 307:VXML resolver is to reply (QueryVarAck) of the value of the variable of VXML debugger feedback query;
Step 308:VXML debugger sends to the VXML resolver and continues (Continue);
Step 309:VXML resolver continues to reply (ContinueAck) to VXML debugger feedback;
Step 310:VXML resolver sends script end of run (Finish) to the VXML debugger;
Step 311:VXML debugger finishes to reply (FinishAck) to VXML resolver feedback.
Wherein, the explanation of each message and field parameter thereof sees table 2 for details among Fig. 3:
Table 2
Figure BDA0000074663810000281
Implementation procedure based on said method, the embodiment of the invention also provides the device of a kind of voice extensible markup language script editor and debugging, its structural representation sees Fig. 4 for details, described device comprises: receiving element 41, the first generation unit 42, the second generation units 43 and parsing debugging unit 44, wherein, described receiving element 41 is used for the instruction of editor's pel of reception client transmission; Described the first generation unit 42 is used for according to the corresponding relation generation graphic process of the voice extensible markup language VXML leading element set of setting up with described pel, and described graphic process comprises the attribute of a plurality of pels, pel and the annexation between pel; Described the second generation unit 43 is used for generating the voice extensible markup language script according to described graphic process; Described parsing debugging unit 44, be used for described VXML script is sent to the VXML resolver, so that described VXML resolver resolves described VXML script, and when receiving the analysis result of VXML resolver feedback, finish visual debugging, and the feedback debug results.
Preferably, described device can also comprise: taxon, abstract processing unit and first is set up the unit, wherein, described taxon is used for according to function corresponding to VXML leading element, the VXML leading element is classified, form the set of VXML leading element, specifically use function that the VXML leading element is classified by the outside, form the set of VXML leading element; Described abstract processing unit is used for abstract processing is carried out in described VXML leading element set, obtains corresponding pel; Described first sets up the unit, is used for setting up the one-to-one relationship of described VXML leading element set and described pel; Described the first generation unit, concrete being used for set up the corresponding relation generation graphic process of setting up the unit according to described first.
Wherein, described the first generation unit comprises: creating unit, buanch unit and graphic process generation unit, wherein, described creating unit, for the menu of choosing by menu bar, create engineering, open engineering, create common flow process, create subfunction flow process, preservation, compiling generation script, Start-up and Adjustment; Described buanch unit is used for showing by toolbar the pel of current process selecting, and according to the corresponding relation of the VXML leading element set of setting up with described pel, transfers to the pel of described selection in the editing machine from toolbar according to user instruction; Described graphic process generation unit is used for described editing machine and determines a pel according to the instruction that receives, and the attribute of this pel of determining is edited, and sets up the annexation between the described pel, generates the graph of a correspondence flow process.
Wherein, described the second generation unit comprises: the first map unit, and the second map unit, second sets up the unit, the 3rd map unit and script generation unit, wherein, described the first map unit is used for each pel is mapped to a dialogue; Described the second map unit is for the attribute or the statement that become VXML according to the best property of attribute mapping of each pel; Described second sets up the unit, is used for setting up the line between the described pel; Described the 3rd map unit is used for setting up the described line of setting up the unit with second and is mapped to skip instruction; Described script generation unit is used for described dialogue, the attribute of VXML or statement, and skip instruction generates the voice extensible markup language script.
Described parsing debugging unit comprises: start unit, and notification unit, end unit and transmitting element, wherein, described start unit is used for starting the VXML debugging when receiving the selection debugging menu of graphic process editing machine transmission; Described notification unit is used for the address notification VXML resolver with described VXML script, so that described VXML resolver after entering the session incoming call, triggers flow process corresponding to address of carrying out described VXML script; Described end unit is used for when described flow process finishes, and selects to finish the debugging menu, switches to the graphic process editing machine; Described transmitting element is used for to graphic process editing machine feedback debug results.Wherein, described start unit, notification unit, end unit and transmitting element can be integrated in the VXML debugger, also can independently dispose, and present embodiment is not restricted.
Wherein, described parsing debugging unit can also comprise: block the unit, judging unit and performance element, wherein, described obstruction unit is used for before entering the session incoming call, if receive filename, the current dialogue of the current flow process of VXML resolver transmission, then be blocked in current dialogue; Described judging unit is used for judging whether current sessions arranges breakpoint, and sends judged result; Described performance element is used for when receiving the judged result that breakpoint is set, and after the instruction that receives user selection continuation execution, directly notifies the VXML resolver to continue to carry out, and returns afterwards the obstruction unit; Perhaps, single step is carried out, and when single step was carried out, notice VXML resolver continued to carry out.
In the described device, the implementation procedure of the function and efficacy of unit sees the implementation procedure of corresponding step in the said method for details, does not repeat them here.
Accordingly, the embodiment of the invention also provides a kind of voice extensible markup language script editor and debug system, its structural representation as shown in Figure 5, described system comprises: graphical Vxml script-editor IDE51 and voice extensible markup language VXML resolver 52, described IDE51 comprises: graphic process editing machine 511, script generator 512 and VXML debugger 513, wherein
Described graphic process editing machine 511, be used for when the instruction of the editor's pel that receives the client transmission, according to the corresponding relation generation graphic process of the voice extensible markup language VXML leading element set of setting up with described pel, described graphic process comprises the attribute of a plurality of pels, pel and the annexation between pel; Described script generator 512 is used for generating the VXML script according to described graphic process; Described VXML debugger 513 is used for described VXML script is sent to the VXML resolver, and when receiving the analysis result of VXML resolver feedback, finishes visual debugging, and to graphic process editing machine feedback debug results; Described VXML resolver 52 is used for the described VXML script that receives is resolved, and to described VXML debugger feedback analysis result.
The implementation procedure of the function and efficacy of each equipment is identical with the implementation procedure of corresponding step in the said method in the described system, specifically sees for details above-mentionedly, does not repeat them here.
In the embodiment of the invention, because the VXML standard capability is taken out 17 basic functional units (being Cell): playback, menu, collect the digits, recording, diverting call, dismantling call, end, redirect, call sub-process, condition, script, daily record, hold outgoing event, identification, sub-process returns, the script edit personnel only need pull and line, and the attribute of functional block is set, can finish the exploitation of VXML normal process.Significantly reduced the learning cost of script edit personnel to VXML language itself.Also significantly reduce simultaneously the cost of writing of script.
Further, in the embodiment of the invention, use function that the VXML leading element is classified by the outside, form the set of VXML leading element, and abstract processing is carried out in described VXML leading element set, obtain corresponding pel, set up the one-to-one relationship of described VXML leading element set and described pel, namely by a cover standard agreement, so that each VXML script resolver is done a small amount of exploitation, can support to debug with the graphic process editing machine, reduce the positioning problems cost.
Need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are made a distinction with another entity or operation, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or the operation.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thereby not only comprise those key elements so that comprise process, method, article or the equipment of a series of key elements, but also comprise other key elements of clearly not listing, or also be included as the intrinsic key element of this process, method, article or equipment.Do not having in the situation of more restrictions, the key element that is limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment that comprises described key element and also have other identical element.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode in a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in the storage medium, such as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (13)

1. the method for a voice extensible markup language script editor and debugging is characterized in that, comprising:
Receive the instruction of editor's pel of client transmission;
According to the corresponding relation generation graphic process of the voice extensible markup language VXML leading element set of setting up with described pel, described graphic process comprises the attribute of a plurality of pels, pel and the annexation between pel;
Generate the VXML script according to described graphic process;
Described VXML script is sent to the VXML resolver, so that described VXML resolver resolves described VXML script, and when receiving the analysis result of VXML resolver feedback, finish visual debugging, and the feedback debug results.
2. method according to claim 1 is characterized in that, described method also comprises:
According to function corresponding to VXML leading element, the VXML leading element is classified, form the set of VXML leading element;
Abstract processing is carried out in described VXML leading element set, obtained corresponding pel;
Set up the one-to-one relationship of described VXML leading element set and described pel.
3. method according to claim 1 and 2 is characterized in that, described VXML leading element set according to setting up comprises with the corresponding relation generation graphic process of described pel:
Choose pel by menu bar, described pel comprises: the menu creation engineering, open engineering, create common flow process, create subfunction flow process, preservation, compiling generation script and/or Start-up and Adjustment;
Show the described pel of current process selecting by toolbar, and according to the corresponding relation of the VXML leading element set of setting up with described pel, according to user instruction the pel of described selection is transferred to from toolbar in the graphic process editing machine;
Described graphic process editing machine is determined a pel according to the instruction that receives, and the attribute of a described definite pel is edited, and sets up the annexation between the described pel, generates the graph of a correspondence flow process.
4. method according to claim 3 is characterized in that, describedly generates the voice extensible markup language script according to described graphic process and comprises:
Each pel is mapped to a dialogue;
Become attribute or the statement of VXML according to the best property of attribute mapping of each pel;
Set up the line between the described pel, and described line is mapped to skip instruction;
With described dialogue, the attribute of VXML or statement, and skip instruction generates the voice extensible markup language script.
5. method according to claim 3 is characterized in that, described described voice extensible markup language VXML script is resolved, and finishes visual debugging, and the feedback debug results comprises:
The VXML debugger starts the VXML debugging when receiving the selection debugging menu of graphic process editing machine transmission;
Described VXML debugger is with the address notification VXML resolver of described VXML script, so that described VXML resolver after entering the session incoming call, triggers flow process corresponding to address of carrying out described VXML script;
When described VXML debugger finishes in described flow process, select to finish the debugging menu, switch to the graphic process editing machine;
Described VXML debugger is to graphic process editing machine feedback debug results.
6. method according to claim 5 is characterized in that, described described voice extensible markup language VXML script is resolved, and finishes visual debugging, and the feedback debug results also comprises:
Before entering the session incoming call, if the VXML debugger receives filename, the current dialogue of the current flow process of VXML resolver transmission, then block current dialogue;
Described VXML debugger judges whether current dialogue is provided with breakpoint, if so, then directly notifies the VXML resolver to continue to carry out in the instruction that receives user selection continuation execution, the described front step of session incoming call that enters of follow-up execution; Perhaps, single step is carried out, and when single step was carried out, notice VXML resolver continued to carry out.
7. the device of a voice extensible markup language script editor and debugging is characterized in that, comprising:
Receiving element is used for the instruction of editor's pel of reception client transmission;
The first generation unit is used for according to the corresponding relation generation graphic process of the voice extensible markup language VXML leading element set of setting up with described pel, and described graphic process comprises the attribute of a plurality of pels, pel and the annexation between pel;
The second generation unit is used for generating voice extensible markup language VXML script according to described graphic process;
Resolve debugging unit, be used for described VXML script is sent to the VXML resolver, so that described VXML resolver resolves described VXML script, and when receiving the analysis result of VXML resolver feedback, finish visual debugging, and the feedback debug results.
8. device according to claim 7 is characterized in that, described device also comprises:
Taxon is used for according to function corresponding to VXML leading element, and the VXML leading element is classified, and forms the set of VXML leading element;
Abstract processing unit is used for abstract processing is carried out in described VXML leading element set, obtains corresponding pel;
First sets up the unit, is used for setting up the one-to-one relationship of described VXML leading element set and described pel;
Described the first generation unit, concrete being used for set up the corresponding relation generation graphic process of setting up the unit according to described first.
9. according to claim 7 or 8 described devices, it is characterized in that described the first generation unit comprises:
Creating unit for the menu of choosing by menu bar, creates engineering, opens engineering, creates common flow process, creates subfunction flow process, preservation, compiling generation script, Start-up and Adjustment;
Buanch unit is used for showing by toolbar the pel of current process selecting, and according to the corresponding relation of the VXML leading element set of setting up with described pel, transfers to the pel of described selection in the editing machine from toolbar according to user instruction;
The graphic process generation unit is used for described editing machine and determines a pel according to the instruction that receives, and the attribute of this pel of determining is edited, and sets up the annexation between the described pel, generates the graph of a correspondence flow process.
10. device according to claim 9 is characterized in that, described the second generation unit comprises:
The first map unit is used for each pel is mapped to a dialogue;
The second map unit is for the attribute or the statement that become VXML according to the best property of attribute mapping of each pel;
Second sets up the unit, is used for setting up the line between the described pel;
The 3rd map unit is used for setting up the described line of setting up the unit with second and is mapped to skip instruction;
The script generation unit is used for described dialogue, the attribute of VXML or statement, and skip instruction generates the voice extensible markup language script.
11. device according to claim 9 is characterized in that, described parsing debugging unit comprises:
Start unit is used for starting the VXML debugging when receiving the selection debugging menu of graphic process editing machine transmission;
Notification unit is used for the address notification VXML resolver with described VXML script, so that described VXML resolver after entering the session incoming call, triggers flow process corresponding to address of carrying out described VXML script;
End unit is used for when described flow process finishes, and selects to finish the debugging menu, switches to the graphic process editing machine;
Transmitting element is used for to graphic process editing machine feedback debug results.
12. device according to claim 11 is characterized in that, described parsing debugging unit also comprises:
Block the unit, be used for before entering the session incoming call, if receive filename, the current dialogue of the current flow process of VXML resolver transmission, then block current dialogue;
Judging unit is used for judging whether current sessions arranges breakpoint, and sends judged result;
Performance element is used for when receiving the judged result that breakpoint is set, and after the instruction that receives user selection continuation execution, directly notifies the VXML resolver to continue to carry out; Perhaps, single step is carried out, and when single step was carried out, notice VXML resolver continued to carry out.
13. a voice extensible markup language script editor and debug system, comprise graphical voice extensible markup language script-editor IDE and voice extensible markup language VXML resolver, it is characterized in that, described IDE comprises: graphic process editing machine, script generator and VXML debugger, wherein
Described graphic process editing machine, be used for when the instruction of the editor's pel that receives the client transmission, according to the corresponding relation generation graphic process of the voice extensible markup language VXML leading element set of setting up with described pel, described graphic process comprises the attribute of a plurality of pels, pel and the annexation between pel;
Described script generator is used for generating the VXML script according to described graphic process;
Described VXML debugger is used for described VXML script is sent to the VXML resolver, and when receiving the analysis result of VXML resolver feedback, finishes visual debugging, and to graphic process editing machine feedback debug results;
Described VXML resolver is resolved the described VXML script that receives, and to described VXML debugger feedback analysis result.
CN2011101918661A 2011-07-08 2011-07-08 Method, device and system for editing and debugging voice extensible markup language script Pending CN102868717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101918661A CN102868717A (en) 2011-07-08 2011-07-08 Method, device and system for editing and debugging voice extensible markup language script

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101918661A CN102868717A (en) 2011-07-08 2011-07-08 Method, device and system for editing and debugging voice extensible markup language script

Publications (1)

Publication Number Publication Date
CN102868717A true CN102868717A (en) 2013-01-09

Family

ID=47447304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101918661A Pending CN102868717A (en) 2011-07-08 2011-07-08 Method, device and system for editing and debugging voice extensible markup language script

Country Status (1)

Country Link
CN (1) CN102868717A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007961A (en) * 2014-04-29 2014-08-27 云南电网公司 Visualization marking method used in graphical interface construction
CN104461889A (en) * 2014-12-12 2015-03-25 华为技术有限公司 Debug method and device of phonological competence scripts
CN105159678A (en) * 2015-09-11 2015-12-16 中国石油化工股份有限公司 Standard operating procedure (SOP) graphical modeling method of startup and shutdown processes of chemical device
CN106527873A (en) * 2016-10-10 2017-03-22 国网新疆电力公司经济技术研究院 xml-based man-machine interactive interface customization method
CN109408054A (en) * 2018-09-03 2019-03-01 广东奥普特科技股份有限公司 Operation method of real-time GUI editor based on QtScript script
CN110286901A (en) * 2019-07-04 2019-09-27 广州广燃设计有限公司 A kind of scenario generation method based on CAD, system and storage medium
CN112422754A (en) * 2020-11-06 2021-02-26 深圳壹账通智能科技有限公司 Intelligent voice configuration method and device, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050105712A1 (en) * 2003-02-11 2005-05-19 Williams David R. Machine learning
CN1975669A (en) * 2006-12-15 2007-06-06 中兴通讯股份有限公司 Method for service logic mapping onto applied language discribed by XML language
CN101631262A (en) * 2009-08-25 2010-01-20 中兴通讯股份有限公司 VoiceXML business integrated development system and realizing method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050105712A1 (en) * 2003-02-11 2005-05-19 Williams David R. Machine learning
CN1975669A (en) * 2006-12-15 2007-06-06 中兴通讯股份有限公司 Method for service logic mapping onto applied language discribed by XML language
CN101631262A (en) * 2009-08-25 2010-01-20 中兴通讯股份有限公司 VoiceXML business integrated development system and realizing method thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104007961A (en) * 2014-04-29 2014-08-27 云南电网公司 Visualization marking method used in graphical interface construction
CN104461889A (en) * 2014-12-12 2015-03-25 华为技术有限公司 Debug method and device of phonological competence scripts
CN105159678A (en) * 2015-09-11 2015-12-16 中国石油化工股份有限公司 Standard operating procedure (SOP) graphical modeling method of startup and shutdown processes of chemical device
CN105159678B (en) * 2015-09-11 2018-05-29 中国石油化工股份有限公司青岛安全工程研究院 A kind of chemical plant installations driving and parking process SOP mathematics library methods
CN106527873A (en) * 2016-10-10 2017-03-22 国网新疆电力公司经济技术研究院 xml-based man-machine interactive interface customization method
CN106527873B (en) * 2016-10-10 2019-11-08 国网新疆电力公司经济技术研究院 A method of customizing human-computer interaction interface based on xml
CN109408054A (en) * 2018-09-03 2019-03-01 广东奥普特科技股份有限公司 Operation method of real-time GUI editor based on QtScript script
CN110286901A (en) * 2019-07-04 2019-09-27 广州广燃设计有限公司 A kind of scenario generation method based on CAD, system and storage medium
CN112422754A (en) * 2020-11-06 2021-02-26 深圳壹账通智能科技有限公司 Intelligent voice configuration method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN102868717A (en) Method, device and system for editing and debugging voice extensible markup language script
US8024196B1 (en) Techniques for creating and translating voice applications
US8107401B2 (en) Method and apparatus for providing a virtual assistant to a communication participant
US8949131B2 (en) System and method of dialog trajectory analysis
US7024348B1 (en) Dialogue flow interpreter development tool
US20080046868A1 (en) Method and system for template-based code generation
TW200809769A (en) Sharing voice application processing via markup
CN101305590B (en) Extending voice-based markup using a plug-in framework
US20080154590A1 (en) Automated speech recognition application testing
CN111708528A (en) Method, device and equipment for generating small program and storage medium
CN101299862A (en) Telecommunication service generation environmental system
CN101137170A (en) Software automatic testing instrument and method of embedded equipment
Baker et al. Automatic generation of conformance tests from message sequence charts
CN105468511A (en) Web page script error positioning method and apparatus
CN113010434A (en) System and method for realizing lightweight application point burying
JP5558792B2 (en) Method, system, and computer program for dynamically improving the performance of an interactive voice response system using a complex event processor
CN106681852B (en) A kind of method of adjustment and device of browser compatibility
CN101980546B (en) Intelligent network platform, service execution method and method for analyzing service abnormity
Wang et al. Using feature model to support model-based testing of product lines: An industrial case study
CA2427512C (en) Dialogue flow interpreter development tool
HUP0400876A2 (en) Conversational prompting method for voice-controlled information and inquiry services involving computer telephony
CN106201015B (en) Pronunciation inputting method and device based on input method application software
CN102246227A (en) Method and system for generating vocal user interface code from a data meta-model
US8005202B2 (en) Automatic generation of a callflow statistics application for speech systems
Malik et al. Using UML models and formal verification in model-based testing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Wang Jing

Inventor after: Liang Zhen

Inventor after: Deng Qingfeng

Inventor after: Xia Feng

Inventor before: Wang Jing

Inventor before: Liang Zhen

Inventor before: Deng Qingfeng

Inventor before: Xia Feng

SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130109