WO2012097583A1 - Method and device for transforming graphical service flow into service script - Google Patents

Method and device for transforming graphical service flow into service script Download PDF

Info

Publication number
WO2012097583A1
WO2012097583A1 PCT/CN2011/077586 CN2011077586W WO2012097583A1 WO 2012097583 A1 WO2012097583 A1 WO 2012097583A1 CN 2011077586 W CN2011077586 W CN 2011077586W WO 2012097583 A1 WO2012097583 A1 WO 2012097583A1
Authority
WO
WIPO (PCT)
Prior art keywords
sib
sibling
input
determining
branch
Prior art date
Application number
PCT/CN2011/077586
Other languages
French (fr)
Chinese (zh)
Inventor
张南骏
舒畅
马玉伟
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012097583A1 publication Critical patent/WO2012097583A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Definitions

  • the present invention relates to the field of telecommunications business process design, and more particularly to a method and apparatus for converting a graphical business process into a business script. Background technique
  • the development of value-added services is generally developed using a graphical development model or a scripted development model.
  • the business developer uses a plurality of service independent building blocks (SIBs) on the graphical development interface to connect with arrow lines to form a networked business process.
  • SIBs service independent building blocks
  • the service is connected by multiple SIBs through arrow lines, and the arrow line can point from any SIB to any other SIB, and the arrow line is equivalent to the goto statement in the scripting language.
  • the business scripts are generated directly in the process of traversing the graphical process.
  • the business scripts may be filled with goto statements.
  • the business processes that are developed may be confusing and unclear, resulting in poor readability of the business scripts.
  • Figure 1 shows a simple graphical process fragment.
  • the resulting script description is:
  • the main object of the present invention is to provide a method and apparatus for converting a graphical business process into a business script, which can make the generated business script structure clear and readable.
  • the present invention provides a method for converting a graphical business process into a business script, the method comprising:
  • a business script is generated based on the scope of each SIB and the sibling SIB of each SIB.
  • the determining the sibling SIB of each SIB according to the divergence and convergence of the graphical service flow branch is:
  • the sibling SIB of each SIB is determined according to the number of branches of the input SIB and the number of branch aggregations of subsequent SIBs on the service chain where the SIB is located.
  • the determining the sibling SIB of each SIB according to the number of branches of the input SIB and the number of branch aggregations of subsequent SIBs in the service chain where the SIB is located is:
  • Whether the value of the variable that has been accessed by the input SIB is set to 1, and then determines whether the SIB number of the next SIB of the current egress branch is greater than zero. After determining that it is greater than zero, it is determined whether the value of the variable of the current SIB is greater than zero.
  • the sibling SIB number corresponding to the input SIB is set to the SIB number of the current SIB, and the temporary variable is released, and then the sibling SIB number corresponding to the input SIB is returned;
  • the next SIB of the current exit branch is the current SIB.
  • the method further includes:
  • the sibling SIB number corresponding to the input SIB is set to the SIB number of the next SIB of the exit branch of the input SIB, and then returns.
  • the method further includes:
  • the SIB number of the current SIB After determining that the SIB number of the current SIB is less than zero, it is determined whether the input SIB has the next one. After the branch is determined, the value of each SIB in the branch outlet of the input SIB is cleared to zero, and then the value of the variable that the input SIB has accessed is set to 1, and the new value is determined. Whether the SIB number of the next SIB of the current exit branch is greater than zero, and so on, until the sibling SIB number corresponding to the input SIB is found;
  • the sibling SIB number corresponding to the input SIB is set to M, and the temporary variable is released, and then M is returned.
  • the method further includes:
  • the sibling SIB number corresponding to the input SIB is set to M, and the temporary variable is released, and then M is returned.
  • the method further includes:
  • the input SIB After determining that it is equal to N, it is determined whether the input SIB has a next exit branch. After determining, the value of each SIB in the branch outlet of the input SIB is cleared to zero, and then the input is Whether the value of the variable accessed by the SIB is set to 1, and whether the SIB number of the next SIB of the current egress branch is greater than zero, and so on, until the sibling SIB number corresponding to the input SIB is found;
  • the brother corresponding to the input SIB After determining that the input SIB has no next exit branch, the brother corresponding to the input SIB Set the SIB number to M, and release the temporary variable, then return M.
  • each SIB is determined based on the SIB's sibling SIB and the pointing of the arrow lines in the completed graphical business process.
  • the business script is generated according to the scope of each SIB and the sibling SIB of each SIB, which is:
  • the flow corresponding to the SIB in the scope of the SIB is written in the range of each branch of the SIB corresponding to the scope; the process after the sibling SIB and the sibling SIB is written in the subsequent process of the corresponding SIB.
  • the present invention also provides a device for converting a graphical business process into a business script, the device comprising: a first determining unit, a second determining unit, and a generating unit;
  • a first determining unit configured to determine a sibling SIB of each SIB according to the divergence and convergence of the graphical service flow branch, and send the determined sibling SIB of each SIB to the second determining unit and the generating unit;
  • a second determining unit configured to: after receiving the sibling SIB of each SIB sent by the first determining unit, determine a scope of each SIB according to the sibling SIB of each SIB, and send the determined scope of each SIB Giving a unit
  • the generating unit is configured to receive the scope of each SIB sent by the sibling SIB of each SIB and the second determining unit sent by the first determining unit, and generate a service according to the scope of each SIB and the sibling SIB of each SIB. script.
  • the second determining unit is configured to: determine the scope of each SIB according to the sibling SIB of each SIB and the pointing of the arrow line in the completed graphical business process.
  • the method and device for converting a graphical business process into a business script provided by the present invention, determining a sibling SIB of each SIB according to the divergence and convergence of the graphical business process branch;
  • the sibling SIB of the SIB determines the scope of each SIB; generates a business script according to the scope of each SIB and the sibling SIB of each SIB, thus enabling the generated business script structure to be clear, thereby enhancing the readability of the business script.
  • Figure 1 is a simple graphical process fragment
  • FIG. 2 is a schematic flow chart of a method for converting a graphical business process into a business script according to the present invention
  • FIG. 3 is a schematic flow chart of a method for determining a sibling SIB of each SIB in the flowchart shown in FIG. 2;
  • FIG. 4 is a schematic structural diagram of an apparatus for converting a graphical business process into a business script according to the present invention. detailed description
  • the method for converting a graphical business process of the present invention into a business script includes the following steps:
  • Step 201 Determine a sibling SIB of each SIB according to the divergence and convergence of the graphical business process branch;
  • the aggregated SIB is the The sibling SIB of the SIB with more than one exit, correspondingly, all SIBs from the SIB with more than one exit to its sibling SIB are within the scope of the SIB with more than one exit.
  • the respective branches may be a judgment SIB, a branch SIB, a basic call control SIB, etc.; for example, for the graphics service flow segment shown in FIG. 1, the SIB1 exit has two branches, namely, SIB2 and SIB5, and SIB2 has two.
  • the sibling SIB of each SIB is determined according to the number of branches of the input SIB and the number of branch aggregations of subsequent SIBs on the service chain in which the SIB is located.
  • This step is implemented more specifically, as shown in FIG. 3, and includes the following steps:
  • Step 201a After completing the graphical business process, set a corresponding sibling SIB number for each SIB in the graphical business process, and initialize the sibling SIB number corresponding to each SIB to zero; here, in actual application, generally
  • the SIBs in the graphical service flow are numbered from 1 and there is no SIB with the SIB number being zero. Therefore, the SIB number of the sibling SIB corresponding to each SIB can be initialized to zero, indicating that the sibling SIB corresponding to each SIB is not determined. .
  • Step 201b After receiving the input SIB number, it is determined whether the sibling SIB number corresponding to the input SIB is zero, and if yes, step 201c is performed; otherwise, step 201 is performed;
  • the service developer selects any one of the ingress SIBs in the graphical business process as an input parameter, that is, as an input SIB; wherein the ingress SIB refers to an ingress SIB in each segment of the graphical business process,
  • the graphics service flow segment shown in FIG. 1 is taken as an example, and the ingress SIB refers to SIB1.
  • the sibling SIB number corresponding to the input SIB is zero, indicating that the sibling SIB of the input SIB has not been determined, and the search is required; if the sibling SIB number corresponding to the input SIB is not zero, it indicates that the input SIB has been searched. The corresponding sibling SIB does not need to be searched.
  • Step 201c Create a temporary variable indicating the number of branches for the input SIB, and set the value of the number of branches to the number of exit branches of the input SIB;
  • the temporary variable refers to: a local variable created on the stack, corresponding to an auto type variable in a function of the C language, in this process determining the processing flow of the sibling SIB of the input SIB After the bundle, the temporary variables are all released, ie: all erased.
  • the number of exit branches of the input SIB can be obtained based on the number of arrow lines of the input SIB exit as described in the completed graphical business process.
  • Step 201d determining whether the value of the number of branches is less than or equal to 1, if yes, executing step 201e, otherwise, performing step 201f;
  • Step 201e If the value of the number of branches is equal to 1, set the sibling SIB number corresponding to the input SIB to the SIB number of the next SIB of the egress branch of the input SIB, and then perform step 201o, if the branch The value of the number is equal to zero, then the sibling SIB number corresponding to the input SIB is set to ⁇ , and then step 201 ⁇ is performed;
  • the number of branches is equal to 1, it indicates that the input SIB has only one egress branch, and its sibling SIB is the next SIB of the egress branch; if the number of branches is equal to zero, it indicates that the input SIB has no sibling SIB.
  • the SIB number in the graphical service flow starts from 1, and sequentially numbers each SIB. Therefore, the value of ⁇ can be set to any value that does not overlap with the SIB number in the graphical business process, for example: You can set the value of ⁇ to -1.
  • Step 201f Establish, for each SIB in the entire service, a temporary variable indicating the number of branch aggregations and whether the temporary variables are accessed, and set the value of the temporary variable to 0, and set the sibling SIB number corresponding to the input SIB to be N, and then Perform step 201g;
  • each of the SIBs includes the input SIB and the next SIB of each branch outlet.
  • the specific processing flow for creating temporary variables is exactly the same as the existing processing for creating temporary variables, and will not be described here.
  • N is used for subsequent detection of the ring process, that is: N indicates that the business process is ring-shaped, To terminate the traversal of the branch, therefore, in actual application, the value of N can be set to any value that does not overlap with the SIB number and M in the graphical business process. For example: You can set the value of N to -2.
  • Step 201g The value of the variable that has been accessed by the input SIB is set to 1, and then it is determined whether the SIB number of the next SIB of the current exit branch is greater than zero, and if yes, step 201h is performed, otherwise, step 201m is performed;
  • any one of the egress branches of the input SIB may be selected as the current egress branch, and the SIB number of the next SIB of the selected egress branch is used as an input parameter, and after the device receives the input parameter, the current egress branch is determined. Whether the SIB number of the next SIB is greater than zero;
  • Step 201m is performed, and an expenditure branch is selected as the current exit branch for traversal.
  • the next SIB of the current exit branch is referred to as the current SIB.
  • Step 201h determining whether the current value of the variable of the current SIB is greater than zero, and if so, executing step 201m, otherwise, performing step 201i;
  • Step 201m needs to be performed.
  • Step 201i Set whether the value of the variable of the current SIB is 1 and the value of the branch of the current SIB is increased by 1, and then determine whether the value of the branch aggregation of the current SIB is equal to the input SIB. The value of the number of branches, if yes, step 201j, otherwise, step 201k;
  • variable value of the branch aggregation number of the current SIB is increased by 1, it indicates that there is one branch. Converged to the current SIB.
  • Step 201j Set the sibling SIB number corresponding to the input SIB to the SIB number of the current SIB, and release the temporary variable, and then perform step 201 ⁇ ;
  • Step 201k Determine whether the sibling SIB number corresponding to the current SIB is equal to N, and if yes, perform step 201m, otherwise, perform step 2011;
  • step 201m needs to be performed.
  • Step 2011 The current SIB is used as a new input SIB, and then the algorithm is recursively invoked, and the SIB corresponding to the returned sibling SIB number is used as the new current SIB, and then step 201g is performed; where the recursive call algorithm refers to: Execution proceeds from step 201b to step 201o. It should be noted that: N is specifically used to: use the current SIB as a new input SIB, and re-execute step 201b, and then use it after detecting the ring process.
  • Step 201m determining whether the input SIB has a next exit branch, if yes, then whether the value of each SIB in the entire service is cleared to zero, then step 201g is performed, otherwise, step 201n is performed;
  • Step 201n Set the sibling SIB number corresponding to the input SIB to ⁇ , and release the temporary variable, and then perform step 201 ⁇ ;
  • Step 201 returning the sibling SIB number corresponding to the input SIB;
  • returning the sibling SIB number corresponding to the input SIB means: returning to the business developer
  • the sibling SIB number corresponding to the input SIB is returned, so that the service developer can further select the SIB number of the other ingress SIB as an input parameter, and determine the corresponding sibling SIB number for the other SIB.
  • step 2011 the algorithm is recursively invoked, and the obtained step 201 ⁇ returns the function of the sibling SIB number as: as a new current SIB, in order to continue processing the next chain on the subsequent chain of the input SIB.
  • An SIB An SIB.
  • the returned SIB number corresponding to the input SIB has two cases: one returns the SIB number of the real sibling SIB of the input SIB, and the other returns M; specifically, if the input The SIB has a sibling SIB, and returns the SIB number of the sibling SIB of the input SIB. If the input SIB does not have a sibling SIB, the M is returned.
  • the input SIB and the sibling SIB of all SIBs in the subsequent chain of the input SIB have determined that the start SIB of all the segments of the entire service can be used as the input SIB to call the steps from 201b to 201o, and the sibling SIB of each SIB can be determined.
  • the sibling SIB of each SIB can be known based on the sibling SIB number corresponding to each SIB.
  • Step 202 Determine the scope of each SIB according to the sibling SIB of each SIB. Specifically, determine the role of each SIB according to the sibling SIB of each SIB and the direction of the arrow line in the completed graphical business process. area.
  • Step 203 Generate a service script according to the scope of each SIB and the sibling SIB of each SIB.
  • the flow corresponding to the SIB in the scope of the SIB is written in the range of each branch flow of the SIB corresponding to the scope; and the flow after the sibling SIB and the sibling SIB is written in the subsequent flow of the corresponding SIB.
  • the script generated by the method of the present invention discards the goto statement, and can clearly reflect the judgment branch structure of the business process, and the readability is greatly improved.
  • the present invention further provides a device for converting a graphical business process into a business script.
  • the device includes: a first determining unit 41, a second determining unit 42, and a generating unit 43; among them,
  • the first determining unit 41 is configured to determine the sibling SIB of each SIB according to the divergence and convergence of the graphical service flow branch, and send the determined sibling SIB of each SIB to the second determining unit 42 and the generating unit 43;
  • the second determining unit 42 is configured to: after receiving the sibling SIB of each SIB sent by the first determining unit 41, determine the scope of each SIB according to the sibling SIB of each SIB, and determine the role of each SIB.
  • the domain is sent to the generating unit 43;
  • the generating unit 43 is configured to receive the sibling SIB of each SIB sent by the first determining unit 41. And the scope of each SIB sent by the second determining unit 42 generates a service script according to the scope of each SIB and the sibling SIB of each SIB.
  • the second determining unit 42 is specifically configured to: determine the scope of each SIB according to the sibling SIB of each SIB and the direction of the arrow line in the completed graphical business process.
  • the generating unit 43 is specifically configured to: write the flow corresponding to the SIB in the scope of the SIB into the range of each branch process of the SIB corresponding to the scope; and write the process after the sibling SIB and the sibling SIB into the corresponding Within the SIB's follow-up process.

Abstract

Provided is a method for transforming a graphical service flow into a service script, including: determining a brother SIB for each service independent building block (SIB) according to the divergence and convergence circumstances of the branches of the graphical service flow (201); determining an action scope for each SIB according to the brother SIB of each SIB (202); and generating a service script according to the action scope of each SIB and the brother SIB of each SIB (203). Also provided is a device for transforming a graphical service flow into a service script. By utilizing the method and device in the present solution, the structure of the generated service script is clear, thus greatly enhancing the readability of the service script.

Description

图形化业务流程转化为业务脚本的方法及装置 技术领域  Method and device for converting graphical business process into business script
本发明涉及电信业务流程设计领域, 特别是指一种图形化业务流程转 化为业务脚本的方法及装置。 背景技术  The present invention relates to the field of telecommunications business process design, and more particularly to a method and apparatus for converting a graphical business process into a business script. Background technique
目前, 在电信领域, 增值业务的开发一般是利用图形化的开发模式或 脚本化的开发模式进行开发。 其中, 在图形化的开发模式下, 业务开发者 在图形化开发界面上使用多个业务无关组件 (SIB , Service Independent Building Block ) 以箭头线连接起来, 从而形成网状的业务流程。 图形化的 开发模式比较直观、 便于记忆, 较为适合初学者使用。  At present, in the field of telecommunications, the development of value-added services is generally developed using a graphical development model or a scripted development model. Among them, in the graphical development mode, the business developer uses a plurality of service independent building blocks (SIBs) on the graphical development interface to connect with arrow lines to form a networked business process. The graphical development model is intuitive and easy to remember, making it suitable for beginners.
但是, 在图形化的开发环境下, 由于业务是由多个 SIB通过箭头线连 接起来,且箭头线可以从任意一个 SIB指向任意另一个 SIB, 而箭头线相当 于脚本语言中的 goto语句,如果直接按照遍历图形化的流程生成业务脚本, 则业务脚本中可能会充斥着 goto语句, 如此, 容易导致开发出来的业务流 程较为混乱、 结构不清晰, 从而造成业务脚本的可读性差。  However, in a graphical development environment, because the service is connected by multiple SIBs through arrow lines, and the arrow line can point from any SIB to any other SIB, and the arrow line is equivalent to the goto statement in the scripting language. The business scripts are generated directly in the process of traversing the graphical process. The business scripts may be filled with goto statements. As a result, the business processes that are developed may be confusing and unclear, resulting in poor readability of the business scripts.
举个例子来说, 图 1 为一个简单的图形化流程片段, 按照简单的深度 优先遍历算法, 则得到的脚本描述形式为:  For example, Figure 1 shows a simple graphical process fragment. According to a simple depth-first traversal algorithm, the resulting script description is:
if(SIBl)  If(SIBl)
{  {
if(SIB2)  If(SIB2)
{  {
SIB3;  SIB3;
SIB6;  SIB6;
}else { }else {
SIB4;  SIB4;
goto SIB6;  Goto SIB6;
}  }
}else  }else
{  {
SIB5;  SIB5;
goto SIB6;  Goto SIB6;
}  }
从上面的描述中可以看出, 利用深度优先遍历算法得到的业务脚本使 用了两条 goto语句, 如此, 造成结构不清晰, 可读性差, 即: 不能准确地 反映出 SIB6是各流程公共终点的逻辑结构。 发明内容 有鉴于此, 本发明的主要目的在于提供一种图形化业务流程转化为业 务脚本的方法及装置, 能使生成的业务脚本结构清晰、 可读性强。  As can be seen from the above description, the business script obtained by the depth-first traversal algorithm uses two goto statements. Thus, the structure is unclear and the readability is poor, that is, it cannot accurately reflect that SIB6 is the common end point of each process. Logical structure. SUMMARY OF THE INVENTION In view of this, the main object of the present invention is to provide a method and apparatus for converting a graphical business process into a business script, which can make the generated business script structure clear and readable.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
本发明提供了一种图形化业务流程转化为业务脚本的方法, 该方法包 括:  The present invention provides a method for converting a graphical business process into a business script, the method comprising:
根据图形化业务流程分支的发散及收敛情况, 确定每个 SIB 的兄弟 Determine the brother of each SIB based on the divergence and convergence of the graphical business process branch
SIB; SIB;
根据每个 SIB的兄弟 SIB, 确定每个 SIB的作用域;  Determine the scope of each SIB based on the sibling SIB of each SIB;
根据每个 SIB的作用域及每个 SIB的兄弟 SIB, 生成业务脚本。  A business script is generated based on the scope of each SIB and the sibling SIB of each SIB.
上述方案中, 所述根据图形化业务流程分支的发散及收敛情况, 确定 每个 SIB的兄弟 SIB, 为:  In the above solution, the determining the sibling SIB of each SIB according to the divergence and convergence of the graphical service flow branch is:
根据输入 SIB的分支数及输入 SIB所在业务链上后续 SIB的分支汇聚 数, 确定每个 SIB的兄弟 SIB。 上述方案中, 所述根据输入 SIB的分支数及输入 SIB所在业务链上后 续 SIB的分支汇聚数, 确定每个 SIB的兄弟 SIB, 为: The sibling SIB of each SIB is determined according to the number of branches of the input SIB and the number of branch aggregations of subsequent SIBs on the service chain where the SIB is located. In the above solution, the determining the sibling SIB of each SIB according to the number of branches of the input SIB and the number of branch aggregations of subsequent SIBs in the service chain where the SIB is located is:
完成图形化业务流程后, 为图形化业务流程中的每个 SIB设置一个对 应的兄弟 SIB号, 且初始化为零;  After completing the graphical business process, set a corresponding sibling SIB number for each SIB in the graphical business process, and initialize it to zero;
判断输入 SIB对应的兄弟 SIB号是否为零, 确定为零后, 为所述输入 SIB创建表示分支数的临时变量,且设置分支数的值为所述输入 SIB的出口 分支个数;  Determining whether the sibling SIB number corresponding to the input SIB is zero, and after determining to be zero, creating a temporary variable indicating the number of branches for the input SIB, and setting the number of branches is the number of exit branches of the input SIB;
判断所述分支数的值是否小于等于 1 , 确定大于 1后, 为整个业务中的 每个 SIB建立分别表示分支汇聚数以及是否访问过的临时变量, 且设置临 时变量的值均为 0, 并设置所述输入 SIB对应的兄弟 SIB号为 N;  Determining whether the value of the number of branches is less than or equal to 1, and determining that the value of the branch is greater than 1, establishing a temporary variable indicating the number of branch aggregations and whether the access is respectively performed for each SIB in the entire service, and setting the value of the temporary variable to be 0, and Setting the sibling SIB number corresponding to the input SIB to be N;
将所述输入 SIB的是否访问过的变量值设置为 1 ,之后判断当前出口分 支的下一个 SIB的 SIB号是否大于零, 确定大于零后, 判断当前 SIB的是 否访问过的变量值是否大于零, 确定不大于零后, 设置所述当前 SIB 的是 否访问过的变量值为 1 , 并将所述当前 SIB的分支汇聚数的变量值加 1 , 之 后判断当前 SIB的分支汇聚的值是否等于所述输入 SIB的分支数的值, 确 定等于后, 将所述输入 SIB对应的兄弟 SIB号设置为所述当前 SIB的 SIB 号, 并释放临时变量, 之后返回所述输入 SIB对应的兄弟 SIB号;  Whether the value of the variable that has been accessed by the input SIB is set to 1, and then determines whether the SIB number of the next SIB of the current egress branch is greater than zero. After determining that it is greater than zero, it is determined whether the value of the variable of the current SIB is greater than zero. After determining that the value is not greater than zero, setting whether the value of the variable of the current SIB is 1 or not, and adding 1 to the value of the branch number of the current SIB, and then determining whether the value of the current SIB branch aggregation is equal to The value of the number of branches of the input SIB is determined to be equal, the sibling SIB number corresponding to the input SIB is set to the SIB number of the current SIB, and the temporary variable is released, and then the sibling SIB number corresponding to the input SIB is returned;
所述当前出口分支的下一个 SIB为所述当前 SIB。  The next SIB of the current exit branch is the current SIB.
上述方案中, 该方法进一步包括:  In the above solution, the method further includes:
确定分支数的值小于等于 1后, 如果所述分支数的值等于 1 时, 将所 述输入 SIB对应的兄弟 SIB号设置为所述输入 SIB的出口分支的下一个 SIB 的 SIB号, 之后返回所述输入 SIB对应的兄弟 SIB号; 如果所述分支数等 于零, 将所述输入 SIB对应的兄弟 SIB号设置为 M, 之后返回 M。  After determining that the value of the number of branches is less than or equal to 1, if the value of the number of branches is equal to 1, the sibling SIB number corresponding to the input SIB is set to the SIB number of the next SIB of the exit branch of the input SIB, and then returns. The sibling SIB number corresponding to the input SIB; if the number of branches is equal to zero, the sibling SIB number corresponding to the input SIB is set to M, and then M is returned.
上述方案中, 该方法进一步包括:  In the above solution, the method further includes:
确定当前 SIB的 SIB号小于零后, 判断所述输入 SIB是否还有下一个 出口分支, 确定有后, 将所述输入 SIB的分支出口中的每个 SIB的是否访 问过的值清空为零, 之后将所述输入 SIB的是否访问过的变量值设置为 1 , 并判断新的当前出口分支的下一个 SIB的 SIB号是否大于零, 如此循环, 直至找到所述输入 SIB对应的兄弟 SIB号; After determining that the SIB number of the current SIB is less than zero, it is determined whether the input SIB has the next one. After the branch is determined, the value of each SIB in the branch outlet of the input SIB is cleared to zero, and then the value of the variable that the input SIB has accessed is set to 1, and the new value is determined. Whether the SIB number of the next SIB of the current exit branch is greater than zero, and so on, until the sibling SIB number corresponding to the input SIB is found;
确定所述输入 SIB没有下一个出口分支后, 将所述输入 SIB对应的兄 弟 SIB号设置为 M, 并释放临时变量, 之后返回 M。  After determining that the input SIB has no next exit branch, the sibling SIB number corresponding to the input SIB is set to M, and the temporary variable is released, and then M is returned.
上述方案中, 该方法进一步包括:  In the above solution, the method further includes:
确定当前 SIB的是否访问过的变量值大于零后, 判断所述输入 SIB是 否还有下一个出口分支, 确定有后, 将所述输入 SIB的分支出口中的每个 SIB的是否访问过的值清空为零,之后将所述输入 SIB的是否访问过的变量 值设置为 1 ,并判断当前出口分支的下一个 SIB的 SIB号是否大于零,如此 循环, 直至找到所述输入 SIB对应的兄弟 SIB号;  After determining whether the value of the variable that the current SIB has accessed is greater than zero, it is determined whether the input SIB has a next exit branch, and if it is determined, whether the value of each SIB in the branch outlet of the input SIB is accessed is determined. Clearing to zero, then setting the value of the variable that the input SIB has accessed to 1 and determining whether the SIB number of the next SIB of the current egress branch is greater than zero, and so on, until the sibling SIB corresponding to the input SIB is found. number;
确定所述输入 SIB没有下一个出口分支后, 将所述输入 SIB对应的兄 弟 SIB号设置为 M, 并释放临时变量, 之后返回 M。  After determining that the input SIB has no next exit branch, the sibling SIB number corresponding to the input SIB is set to M, and the temporary variable is released, and then M is returned.
上述方案中, 该方法进一步包括:  In the above solution, the method further includes:
确定所述当前 SIB的分支汇聚的值不等于所述输入 SIB的分支数的值 后, 判断所述当前 SIB对应的兄弟 SIB号是否等于 N, 确定不等于 N后, 将所述当前 SIB作为新的输入 SIB, 判断新的输入 SIB对应的兄弟 SIB号 是否为零, 如此循环, 直至找到所述输入 SIB对应的兄弟 SIB号;  After determining that the value of the branch aggregation of the current SIB is not equal to the value of the number of branches of the input SIB, determining whether the sibling SIB number corresponding to the current SIB is equal to N, and determining that the current SIB is new is not equal to N Input SIB, determine whether the sibling SIB number corresponding to the new input SIB is zero, and so on, until the sibling SIB number corresponding to the input SIB is found;
确定等于 N后, 判断所述输入 SIB是否还有下一个出口分支, 确定有 后,将所述输入 SIB的分支出口中的每个 SIB的是否访问过的值清空为零, 之后将所述输入 SIB的是否访问过的变量值设置为 1 ,并判断当前出口分支 的下一个 SIB的 SIB号是否大于零, 如此循环, 直至找到所述输入 SIB对 应的兄弟 SIB号;  After determining that it is equal to N, it is determined whether the input SIB has a next exit branch. After determining, the value of each SIB in the branch outlet of the input SIB is cleared to zero, and then the input is Whether the value of the variable accessed by the SIB is set to 1, and whether the SIB number of the next SIB of the current egress branch is greater than zero, and so on, until the sibling SIB number corresponding to the input SIB is found;
确定所述输入 SIB没有下一个出口分支后, 将所述输入 SIB对应的兄 弟 SIB号设置为 M, 并释放临时变量, 之后返回 M。 After determining that the input SIB has no next exit branch, the brother corresponding to the input SIB Set the SIB number to M, and release the temporary variable, then return M.
上述方案中, 所述根据每个 SIB的兄弟 SIB, 确定每个 SIB的作用域, 为:  In the above solution, the determining the scope of each SIB according to the sibling SIB of each SIB is:
根据每个 SIB的兄弟 SIB以及已完成的图形化业务流程中的箭头线的 指向, 确定每个 SIB的作用域。  The scope of each SIB is determined based on the SIB's sibling SIB and the pointing of the arrow lines in the completed graphical business process.
上述方案中, 所述根据每个 SIB的作用域及每个 SIB的兄弟 SIB, 生 成业务脚本, 为:  In the above solution, the business script is generated according to the scope of each SIB and the sibling SIB of each SIB, which is:
将 SIB的作用域内的 SIB所对应的流程写入作用域对应的 SIB的各个 分支流程范围内; 将兄弟 SIB及兄弟 SIB之后的流程写入所述对应的 SIB 的后续流程内。  The flow corresponding to the SIB in the scope of the SIB is written in the range of each branch of the SIB corresponding to the scope; the process after the sibling SIB and the sibling SIB is written in the subsequent process of the corresponding SIB.
本发明还提供了一种图形化业务流程转化为业务脚本的装置, 该装置 包括: 第一确定单元、 第二确定单元、 以及生成单元; 其中,  The present invention also provides a device for converting a graphical business process into a business script, the device comprising: a first determining unit, a second determining unit, and a generating unit;
第一确定单元, 设置为根据图形化业务流程分支的发散及收敛情况, 确定每个 SIB的兄弟 SIB, 并将确定的每个 SIB的兄弟 SIB发送给第二确 定单元及生成单元;  a first determining unit, configured to determine a sibling SIB of each SIB according to the divergence and convergence of the graphical service flow branch, and send the determined sibling SIB of each SIB to the second determining unit and the generating unit;
第二确定单元, 设置为收到第一确定单元发送的每个 SIB的兄弟 SIB 后, 根据每个 SIB的兄弟 SIB, 确定每个 SIB的作用域, 并将确定的每个 SIB的作用域发送给生成单元;  a second determining unit, configured to: after receiving the sibling SIB of each SIB sent by the first determining unit, determine a scope of each SIB according to the sibling SIB of each SIB, and send the determined scope of each SIB Giving a unit
生成单元, 设置为收到第一确定单元发送的每个 SIB的兄弟 SIB及第 二确定单元发送的每个 SIB的作用域, 根据每个 SIB的作用域及每个 SIB 的兄弟 SIB, 生成业务脚本。  The generating unit is configured to receive the scope of each SIB sent by the sibling SIB of each SIB and the second determining unit sent by the first determining unit, and generate a service according to the scope of each SIB and the sibling SIB of each SIB. script.
上述方案中, 所述第二确定单元, 用于: 根据每个 SIB的兄弟 SIB以 及已完成的图形化业务流程中的箭头线的指向, 确定每个 SIB的作用域。  In the above solution, the second determining unit is configured to: determine the scope of each SIB according to the sibling SIB of each SIB and the pointing of the arrow line in the completed graphical business process.
本发明提供的图形化业务流程转化为业务脚本的方法及装置, 根据图 形化业务流程分支的发散及收敛情况,确定每个 SIB的兄弟 SIB;根据每个 SIB的兄弟 SIB, 确定每个 SIB的作用域; 根据每个 SIB的作用域及每个 SIB的兄弟 SIB, 生成业务脚本, 如此, 能使生成的业务脚本结构清晰, 从 而增强业务脚本的可读性。 附图说明 The method and device for converting a graphical business process into a business script provided by the present invention, determining a sibling SIB of each SIB according to the divergence and convergence of the graphical business process branch; The sibling SIB of the SIB determines the scope of each SIB; generates a business script according to the scope of each SIB and the sibling SIB of each SIB, thus enabling the generated business script structure to be clear, thereby enhancing the readability of the business script. Sex. DRAWINGS
图 1为简单的图形化流程片段;  Figure 1 is a simple graphical process fragment;
图 2为本发明图形化业务流程转化为业务脚本的方法流程示意图; 图 3为实现图 2所示流程图中确定每个 SIB的兄弟 SIB的方法流程示 意图;  2 is a schematic flow chart of a method for converting a graphical business process into a business script according to the present invention; FIG. 3 is a schematic flow chart of a method for determining a sibling SIB of each SIB in the flowchart shown in FIG. 2;
图 4为本发明图形化业务流程转化为业务脚本的装置结构示意图。 具体实施方式  FIG. 4 is a schematic structural diagram of an apparatus for converting a graphical business process into a business script according to the present invention. detailed description
下面结合附图及具体实施例对本发明再作进一步详细的说明。  The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
本发明图形化业务流程转化为业务脚本的方法, 如图 2 所示, 包括以 下步骤:  The method for converting a graphical business process of the present invention into a business script, as shown in FIG. 2, includes the following steps:
步骤 201 : 根据图形化业务流程分支的发散及收敛情况, 确定每个 SIB 的兄弟 SIB;  Step 201: Determine a sibling SIB of each SIB according to the divergence and convergence of the graphical business process branch;
这里, 为使转化出来的业务脚本具有结构化语言的特征, 需要分析具 有一个以上出口的 SIB 的各个分支的走向, 如果所有的分支最终都汇聚到 同一个 SIB, 则确定汇聚的 SIB为所述有一个以上出口的 SIB的兄弟 SIB, 相应的, 从所述有一个以上出口的 SIB到它的兄弟 SIB之间的所有 SIB都 处在所述有一个以上出口的 SIB的作用域范围内。  Here, in order to make the transformed business script have the characteristics of a structured language, it is necessary to analyze the trend of each branch of the SIB having more than one exit. If all the branches are finally aggregated to the same SIB, it is determined that the aggregated SIB is the The sibling SIB of the SIB with more than one exit, correspondingly, all SIBs from the SIB with more than one exit to its sibling SIB are within the scope of the SIB with more than one exit.
其中,所述各个分支可以是判断 SIB、分支 SIB、基本呼叫控制 SIB等; 比如, 对于图 1所示的图形业务流程片段, SIB1出口有两个分支, 分别是 SIB2和 SIB5 , SIB2又有两个分支: SIB3和 SIB4, 所有的分支最终都汇聚 到 SIB6, 则 SIB6是 SIB1的兄弟 SIB, SIB6也是 SIB2的兄弟 SIB, SIB3 和 SIB4处在 SIB2的作用域范围内 , 而 SIB2、 SIB3 、 SIB4和 SIB5处在 SIB1的作用域范围内。 The respective branches may be a judgment SIB, a branch SIB, a basic call control SIB, etc.; for example, for the graphics service flow segment shown in FIG. 1, the SIB1 exit has two branches, namely, SIB2 and SIB5, and SIB2 has two. Branches: SIB3 and SIB4, all branches eventually converge to SIB6, SIB6 is the sibling SIB of SIB1, SIB6 is also the sibling SIB of SIB2, SIB3 And SIB4 is within the scope of SIB2, while SIB2, SIB3, SIB4 and SIB5 are within the scope of SIB1.
所述根据图形化业务流程分支的发散及收敛情况, 确定每个 SIB的兄 弟 SIB, 具体为:  Determining the sibling SIB of each SIB according to the divergence and convergence of the graphical business process branch, specifically:
根据输入 SIB的分支数及输入 SIB所在业务链上后续 SIB的分支汇聚 数, 确定每个 SIB的兄弟 SIB。  The sibling SIB of each SIB is determined according to the number of branches of the input SIB and the number of branch aggregations of subsequent SIBs on the service chain in which the SIB is located.
本步骤更具体地实现, 如图 3所示, 包括以下步骤:  This step is implemented more specifically, as shown in FIG. 3, and includes the following steps:
步骤 201a: 完成图形化业务流程后, 为图形化业务流程中的每个 SIB 设置一个对应的兄弟 SIB号,且将每个 SIB对应的兄弟 SIB号初始化为零; 这里, 在实际应用时, 一般将图形化业务流程中的 SIB从 1开始编号, 不存在 SIB号为零的 SIB, 因此, 可以将每个 SIB对应的兄弟 SIB的 SIB 号初始化为零, 表明未确定每个 SIB对应的兄弟 SIB。  Step 201a: After completing the graphical business process, set a corresponding sibling SIB number for each SIB in the graphical business process, and initialize the sibling SIB number corresponding to each SIB to zero; here, in actual application, generally The SIBs in the graphical service flow are numbered from 1 and there is no SIB with the SIB number being zero. Therefore, the SIB number of the sibling SIB corresponding to each SIB can be initialized to zero, indicating that the sibling SIB corresponding to each SIB is not determined. .
步骤 201b: 收到输入 SIB号后, 判断输入 SIB对应的兄弟 SIB号是否 为零, 如果是, 则执行步骤 201c; 否则, 执行步骤 201ο;  Step 201b: After receiving the input SIB number, it is determined whether the sibling SIB number corresponding to the input SIB is zero, and if yes, step 201c is performed; otherwise, step 201 is performed;
这里, 业务开发人员选取图形化业务流程中所有入口 SIB 中的任意一 个作为输入参数, 即: 作为输入 SIB; 其中, 所述入口 SIB是指图形化业务 流程中每个片段中的入口 SIB, 以图 1所示的图形业务流程片段为例, 所述 入口 SIB是指 SIB1。  Here, the service developer selects any one of the ingress SIBs in the graphical business process as an input parameter, that is, as an input SIB; wherein the ingress SIB refers to an ingress SIB in each segment of the graphical business process, The graphics service flow segment shown in FIG. 1 is taken as an example, and the ingress SIB refers to SIB1.
所述输入 SIB对应的兄弟 SIB号为零, 说明还未确定所述输入 SIB的 兄弟 SIB, 需要进行查找; 所述输入 SIB对应的兄弟 SIB号不为零, 则说 明已经查找过所述输入 SIB对应的兄弟 SIB, 不需要进行查找。  The sibling SIB number corresponding to the input SIB is zero, indicating that the sibling SIB of the input SIB has not been determined, and the search is required; if the sibling SIB number corresponding to the input SIB is not zero, it indicates that the input SIB has been searched. The corresponding sibling SIB does not need to be searched.
步骤 201c: 为所述输入 SIB创建表示分支数的临时变量, 且设置分支 数的值为所述输入 SIB的出口分支个数;  Step 201c: Create a temporary variable indicating the number of branches for the input SIB, and set the value of the number of branches to the number of exit branches of the input SIB;
这里, 所述临时变量是指: 在堆栈上创建的局部变量, 对应于 C语言 的函数内 auto型变量, 在本次确定所述输入 SIB的兄弟 SIB的处理流程结 束后, 临时变量便会全部释放, 即: 全部被擦除。 Here, the temporary variable refers to: a local variable created on the stack, corresponding to an auto type variable in a function of the C language, in this process determining the processing flow of the sibling SIB of the input SIB After the bundle, the temporary variables are all released, ie: all erased.
创建临时变量的具体处理流程与现有创建临时变量的处理流程完全相 同, 这里不再赘述。  The specific processing flow for creating temporary variables is exactly the same as the existing processing for creating temporary variables, and will not be described here.
可以才艮据已完成的图形化业务流程中所述输入 SIB的出口的箭头线的 个数, 得到所述输入 SIB的出口分支个数。  The number of exit branches of the input SIB can be obtained based on the number of arrow lines of the input SIB exit as described in the completed graphical business process.
步骤 201d: 判断所述分支数的值是否小于等于 1 , 如果是, 则执行步 骤 201e, 否则, 执行步骤 201f;  Step 201d: determining whether the value of the number of branches is less than or equal to 1, if yes, executing step 201e, otherwise, performing step 201f;
步骤 201e: 如果所述分支数的值等于 1 , 则将所述输入 SIB对应的兄 弟 SIB号设置为所述输入 SIB的出口分支的下一个 SIB的 SIB号, 之后执 行步骤 201ο, 如果所述分支数的值等于零, 则将所述输入 SIB对应的兄弟 SIB号设置为 Μ, 之后执行步骤 201ο;  Step 201e: If the value of the number of branches is equal to 1, set the sibling SIB number corresponding to the input SIB to the SIB number of the next SIB of the egress branch of the input SIB, and then perform step 201o, if the branch The value of the number is equal to zero, then the sibling SIB number corresponding to the input SIB is set to Μ, and then step 201ο is performed;
这里,如果所述分支数等于 1 ,则说明所述输入 SIB只有一个出口分支, 其兄弟 SIB就是该出口分支的下一个 SIB;如果所述分支数等于零,则说明 所述输入 SIB没有兄弟 SIB,将所述输入 SIB对应的兄弟 SIB号设置为 Μ; 其中, Μ表示所述输入 SIB没有兄弟 SIB, 在实际应用时, 图形化业 务流程中的 SIB号从 1开始, 依次对各个 SIB进行编号, 因此, Μ的值可 以设置为不与图形化业务流程中的 SIB号相重叠的任一数值, 比如: 可以 设置 Μ的值为 -1。  Here, if the number of branches is equal to 1, it indicates that the input SIB has only one egress branch, and its sibling SIB is the next SIB of the egress branch; if the number of branches is equal to zero, it indicates that the input SIB has no sibling SIB. Set the sibling SIB number corresponding to the input SIB to Μ; where Μ indicates that the input SIB has no sibling SIB. In actual application, the SIB number in the graphical service flow starts from 1, and sequentially numbers each SIB. Therefore, the value of Μ can be set to any value that does not overlap with the SIB number in the graphical business process, for example: You can set the value of Μ to -1.
步骤 201f: 为整个业务中的每个 SIB建立分别表示分支汇聚数以及是 否访问过的临时变量,且设置临时变量的值均为 0, 并设置所述输入 SIB对 应的兄弟 SIB号为 N, 之后执行步骤 201g;  Step 201f: Establish, for each SIB in the entire service, a temporary variable indicating the number of branch aggregations and whether the temporary variables are accessed, and set the value of the temporary variable to 0, and set the sibling SIB number corresponding to the input SIB to be N, and then Perform step 201g;
这里, 所述每个 SIB包括所述输入 SIB及每个分支出口的下一个 SIB。 创建临时变量的具体处理流程与现有创建临时变量的处理流程完全相 同, 这里不再赘述。  Here, each of the SIBs includes the input SIB and the next SIB of each branch outlet. The specific processing flow for creating temporary variables is exactly the same as the existing processing for creating temporary variables, and will not be described here.
N用于后续检测环状流程时使用, 即: N表示业务流程出现环状, 需 要终止分支的遍历, 因此, 在实际应用时, N 的取值可以设置为不与图形 化业务流程中的 SIB号及 M相重叠的任一数值, 比如: 可以设置 N的值为 -2。 N is used for subsequent detection of the ring process, that is: N indicates that the business process is ring-shaped, To terminate the traversal of the branch, therefore, in actual application, the value of N can be set to any value that does not overlap with the SIB number and M in the graphical business process. For example: You can set the value of N to -2.
步骤 201g: 将所述输入 SIB的是否访问过的变量值设置为 1 , 之后判 断当前出口分支的下一个 SIB的 SIB号是否大于零, 如果是, 则执行步骤 201h, 否则, 执行步骤 201m;  Step 201g: The value of the variable that has been accessed by the input SIB is set to 1, and then it is determined whether the SIB number of the next SIB of the current exit branch is greater than zero, and if yes, step 201h is performed, otherwise, step 201m is performed;
这里, 可以选择所述输入 SIB 的所有出口分支的任意一个出口分支作 为当前出口分支, 并将选择的出口分支的下一个 SIB的 SIB号作为输入参 数, 设备收到输入参数后, 判断当前出口分支的下一个 SIB的 SIB号是否 大于零;  Here, any one of the egress branches of the input SIB may be selected as the current egress branch, and the SIB number of the next SIB of the selected egress branch is used as an input parameter, and after the device receives the input parameter, the current egress branch is determined. Whether the SIB number of the next SIB is greater than zero;
如果输入的当前出口分支的下一个 SIB的 SIB号小于零, 说明当前的 分支已经遍历过, 不需要再进行遍历, 执行步骤 201m, 需要再选择一支出 口分支作为当前出口分支, 进行遍历。  If the SIB number of the next SIB of the current exit branch is less than zero, the current branch has been traversed, and no traversal is required. Step 201m is performed, and an expenditure branch is selected as the current exit branch for traversal.
在以下的描述中, 为了描述方便, 将当前出口分支的下一个 SIB称为 当前 SIB。  In the following description, for the convenience of description, the next SIB of the current exit branch is referred to as the current SIB.
步骤 201h: 判断当前 SIB的是否访问过的变量值是否大于零,如果是, 则执行步骤 201m, 否则, 执行步骤 201i;  Step 201h: determining whether the current value of the variable of the current SIB is greater than zero, and if so, executing step 201m, otherwise, performing step 201i;
这里, 如果所述当前 SIB的是否访问过的变量值大于零, 则说明在当 前出口分支上该 SIB 已经访问过, 业务流程出现环状结构, 需要中止遍历 本分支并继续遍历其它出口分支, 因此, 需要执行步骤 201m。  Here, if the value of the variable that the current SIB has accessed is greater than zero, it indicates that the SIB has been accessed on the current egress branch, and the service flow has a ring structure, and it is necessary to suspend the traversal of the branch and continue to traverse other egress branches, so , Step 201m needs to be performed.
步骤 201i:设置所述当前 SIB的是否访问过的变量值为 1 ,并将所述当 前 SIB的分支汇聚数的变量值加 1 ,之后判断当前 SIB的分支汇聚的值是否 等于所述输入 SIB的分支数的值, 如果是, 则执行步骤 201j , 否则, 执行 步骤 201k;  Step 201i: Set whether the value of the variable of the current SIB is 1 and the value of the branch of the current SIB is increased by 1, and then determine whether the value of the branch aggregation of the current SIB is equal to the input SIB. The value of the number of branches, if yes, step 201j, otherwise, step 201k;
这里, 所述当前 SIB的分支汇聚数的变量值加 1后, 表明有 1个分支 汇聚到所述当前 SIB。 Here, after the variable value of the branch aggregation number of the current SIB is increased by 1, it indicates that there is one branch. Converged to the current SIB.
如果所述当前 SIB的分支汇聚的值等于所述输入 SIB的分支数的值, 则说明所述当前 SIB即为所述输入 SIB的兄弟 SIB。  If the value of the branch convergence of the current SIB is equal to the value of the number of branches of the input SIB, it indicates that the current SIB is the sibling SIB of the input SIB.
步骤 201j: 将所述输入 SIB对应的兄弟 SIB号设置为所述当前 SIB的 SIB号, 并释放临时变量, 之后执行步骤 201ο;  Step 201j: Set the sibling SIB number corresponding to the input SIB to the SIB number of the current SIB, and release the temporary variable, and then perform step 201ο;
这里, 所述临时变量包括: 分支数、 是否访问过、 以及分支汇聚数。 步骤 201k: 判断所述当前 SIB对应的兄弟 SIB号是否等于 N,如果是, 则执行步骤 201m, 否则, 执行步骤 2011;  Here, the temporary variables include: the number of branches, whether they have been accessed, and the number of branch aggregations. Step 201k: Determine whether the sibling SIB number corresponding to the current SIB is equal to N, and if yes, perform step 201m, otherwise, perform step 2011;
这里, 如果所述当前 SIB对应的兄弟 SIB号等于 N, 则说明业务流程 出现环状结构, 需要中止遍历本分支, 并继续遍历其它出口分支, 因此, 需要执行步骤 201m。  Here, if the sibling SIB number corresponding to the current SIB is equal to N, it indicates that the service flow has a ring structure, and it is necessary to suspend the traversal of the branch and continue to traverse other exit branches. Therefore, step 201m needs to be performed.
步骤 2011: 将所述当前 SIB作为新的输入 SIB, 之后递归调用本算法, 返回的兄弟 SIB号对应的 SIB作为新的当前 SIB, 之后执行步骤 201g; 这里, 所述递归调用本算法是指: 执行从步骤 201b直至步骤 201o。 需要说明的是: N具体用于: 将所述当前 SIB作为新的输入 SIB, 重新 执行步骤 201b后, 后续检测环状流程时使用。  Step 2011: The current SIB is used as a new input SIB, and then the algorithm is recursively invoked, and the SIB corresponding to the returned sibling SIB number is used as the new current SIB, and then step 201g is performed; where the recursive call algorithm refers to: Execution proceeds from step 201b to step 201o. It should be noted that: N is specifically used to: use the current SIB as a new input SIB, and re-execute step 201b, and then use it after detecting the ring process.
步骤 201m: 判断所述输入 SIB是否还有下一个出口分支, 如果有, 则 将整个业务中的每个 SIB的是否访问过的值清空为零,之后执行步骤 201g, 否则, 执行步骤 201η;  Step 201m: determining whether the input SIB has a next exit branch, if yes, then whether the value of each SIB in the entire service is cleared to zero, then step 201g is performed, otherwise, step 201n is performed;
这里, 可以才艮据已完成的图形化业务流程中所述输入 SIB的出口的箭 头线的个数, 判断所述输入 SIB是否还有下一个出口分支。  Here, it can be judged whether or not the input SIB has a next exit branch according to the number of arrow lines of the exit of the input SIB in the completed graphical business process.
步骤 201η: 将所述输入 SIB对应的兄弟 SIB号设置为 Μ, 并释放临时 变量, 之后执行步骤 201ο;  Step 201n: Set the sibling SIB number corresponding to the input SIB to Μ, and release the temporary variable, and then perform step 201ο;
步骤 201ο: 返回所述输入 SIB对应的兄弟 SIB号;  Step 201: returning the sibling SIB number corresponding to the input SIB;
这里, 返回所述输入 SIB对应的兄弟 SIB号是指: 向业务开发人员返 回所述输入 SIB对应的兄弟 SIB号, 以便业务开发人员可以进一步选择其 它入口 SIB的 SIB号作为输入参数, 为其它 SIB确定对应的兄弟 SIB号。 Here, returning the sibling SIB number corresponding to the input SIB means: returning to the business developer The sibling SIB number corresponding to the input SIB is returned, so that the service developer can further select the SIB number of the other ingress SIB as an input parameter, and determine the corresponding sibling SIB number for the other SIB.
需要说明的是: 在步骤 2011 中, 递归调用本算法, 得到的步骤 201ο 返回的兄弟 SIB号的作用是: 作为新的当前 SIB, 以便继续处理所述输入 SIB所在业务链的后续链上的下一个 SIB。  It should be noted that, in step 2011, the algorithm is recursively invoked, and the obtained step 201ο returns the function of the sibling SIB number as: as a new current SIB, in order to continue processing the next chain on the subsequent chain of the input SIB. An SIB.
其中, 返回的所述输入 SIB对应的兄弟 SIB号有两种情况: 一种返回 的是所述输入 SIB真正的兄弟 SIB的 SIB号, 另一种返回的是 M; 具体地, 如果所述输入 SIB有兄弟 SIB,则返回的是所述输入 SIB的兄弟 SIB的 SIB 号, 如果所述输入 SIB没有兄弟 SIB, 则返回的是 M。  The returned SIB number corresponding to the input SIB has two cases: one returns the SIB number of the real sibling SIB of the input SIB, and the other returns M; specifically, if the input The SIB has a sibling SIB, and returns the SIB number of the sibling SIB of the input SIB. If the input SIB does not have a sibling SIB, the M is returned.
至此, 所述输入 SIB以及输入 SIB后续链上所有 SIB的兄弟 SIB已经 确定, 将整个业务所有片段的起始 SIB作为输入 SIB调用从 201b至 201ο 的步骤, 可以确定每个 SIB的兄弟 SIB。  So far, the input SIB and the sibling SIB of all SIBs in the subsequent chain of the input SIB have determined that the start SIB of all the segments of the entire service can be used as the input SIB to call the steps from 201b to 201o, and the sibling SIB of each SIB can be determined.
在后续确定作用域及生成业务脚本的处理中, 根据每个 SIB对应的兄 弟 SIB号, 可以获知每个 SIB的兄弟 SIB。  In the subsequent process of determining the scope and generating the business script, the sibling SIB of each SIB can be known based on the sibling SIB number corresponding to each SIB.
步骤 202: 根据每个 SIB的兄弟 SIB, 确定每个 SIB的作用域; 具体地, 根据每个 SIB的兄弟 SIB以及已完成的图形化业务流程中的 箭头线的指向, 确定每个 SIB的作用域。  Step 202: Determine the scope of each SIB according to the sibling SIB of each SIB. Specifically, determine the role of each SIB according to the sibling SIB of each SIB and the direction of the arrow line in the completed graphical business process. area.
其中,在遍历每个 SIB的后续流程时,到达其兄弟 SIB之前的所有 SIB 均在该兄弟 SIB对应的 SIB的作用域内。  Among them, when traversing the subsequent flow of each SIB, all SIBs before reaching its sibling SIB are within the scope of the SIB corresponding to the sibling SIB.
步骤 203: 根据每个 SIB的作用域及每个 SIB的兄弟 SIB, 生成业务脚 本;  Step 203: Generate a service script according to the scope of each SIB and the sibling SIB of each SIB.
具体地,将 SIB的作用域内的 SIB所对应的流程写入作用域对应的 SIB 的各个分支流程范围内; 将兄弟 SIB及兄弟 SIB之后的流程写入所述对应 的 SIB的后续流程内。  Specifically, the flow corresponding to the SIB in the scope of the SIB is written in the range of each branch flow of the SIB corresponding to the scope; and the flow after the sibling SIB and the sibling SIB is written in the subsequent flow of the corresponding SIB.
对于图 1 所示的图形业务流程片段, 则可以生成如下的业务脚本描述 形式: For the graphical business process fragment shown in Figure 1, the following business script description can be generated. Form:
if(SIBl)  If(SIBl)
{  {
if(SIB2)  If(SIB2)
{  {
SIB3;  SIB3;
}else  }else
{  {
SIB4;  SIB4;
}  }
}else  }else
{  {
SIB5;  SIB5;
}  }
SIB6;  SIB6;
从上面的描述中可以看出, 釆用本发明方法生成的脚本摒弃了 goto语 句, 能清晰地反映出业务流程的判断分支结构, 可读性大大提高。  As can be seen from the above description, the script generated by the method of the present invention discards the goto statement, and can clearly reflect the judgment branch structure of the business process, and the readability is greatly improved.
为实现上述方法, 本发明还提供了一种图形化业务流程转化为业务脚 本的装置, 如图 4所示, 该装置包括: 第一确定单元 41、 第二确定单元 42、 以及生成单元 43; 其中,  In order to achieve the above method, the present invention further provides a device for converting a graphical business process into a business script. As shown in FIG. 4, the device includes: a first determining unit 41, a second determining unit 42, and a generating unit 43; among them,
第一确定单元 41 , 用于根据图形化业务流程分支的发散及收敛情况, 确定每个 SIB的兄弟 SIB, 并将确定的每个 SIB的兄弟 SIB发送给第二确 定单元 42及生成单元 43;  The first determining unit 41 is configured to determine the sibling SIB of each SIB according to the divergence and convergence of the graphical service flow branch, and send the determined sibling SIB of each SIB to the second determining unit 42 and the generating unit 43;
第二确定单元 42, 用于收到第一确定单元 41发送的每个 SIB的兄弟 SIB后, 根据每个 SIB的兄弟 SIB, 确定每个 SIB的作用域, 并将确定的每 个 SIB的作用域发送给生成单元 43;  The second determining unit 42 is configured to: after receiving the sibling SIB of each SIB sent by the first determining unit 41, determine the scope of each SIB according to the sibling SIB of each SIB, and determine the role of each SIB. The domain is sent to the generating unit 43;
生成单元 43 , 用于收到第一确定单元 41发送的每个 SIB的兄弟 SIB 及第二确定单元 42发送的每个 SIB的作用域,根据每个 SIB的作用域及每 个 SIB的兄弟 SIB, 生成业务脚本。 The generating unit 43 is configured to receive the sibling SIB of each SIB sent by the first determining unit 41. And the scope of each SIB sent by the second determining unit 42 generates a service script according to the scope of each SIB and the sibling SIB of each SIB.
其中, 所述第二确定单元 42, 具体用于: 根据每个 SIB的兄弟 SIB以 及已完成的图形化业务流程中的箭头线的指向, 确定每个 SIB的作用域。  The second determining unit 42 is specifically configured to: determine the scope of each SIB according to the sibling SIB of each SIB and the direction of the arrow line in the completed graphical business process.
所述生成单元 43 , 具体用于: 将 SIB的作用域内的 SIB所对应的流程 写入作用域对应的 SIB的各个分支流程范围内; 将兄弟 SIB及兄弟 SIB之 后的流程写入所述对应的 SIB的后续流程内。  The generating unit 43 is specifically configured to: write the flow corresponding to the SIB in the scope of the SIB into the range of each branch process of the SIB corresponding to the scope; and write the process after the sibling SIB and the sibling SIB into the corresponding Within the SIB's follow-up process.
这里, 本发明的所述装置中的第一确定单元的具体处理过程已在上文 中详述, 不再赘述。  Here, the specific processing procedure of the first determining unit in the apparatus of the present invention has been described in detail above and will not be described again.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。  The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included. Within the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种图形化业务流程转化为业务脚本的方法, 其中, 该方法包括: 根据图形化业务流程分支的发散及收敛情况, 确定每个业务无关组件 A method for converting a graphical business process into a business script, wherein the method comprises: determining each business-independent component according to a divergence and convergence of the graphical business process branch
( SIB ) 的兄弟 SIB; Brother of SIB (SIB);
根据每个 SIB的兄弟 SIB, 确定每个 SIB的作用域;  Determine the scope of each SIB based on the sibling SIB of each SIB;
根据每个 SIB的作用域及每个 SIB的兄弟 SIB, 生成业务脚本。  A business script is generated based on the scope of each SIB and the sibling SIB of each SIB.
2、 根据权利要求 1所述的方法, 其中, 所述根据图形化业务流程分支 的发散及收敛情况, 确定每个 SIB的兄弟 SIB , 为:  2. The method according to claim 1, wherein the determining the sibling SIB of each SIB according to the divergence and convergence of the graphical business process branch is:
根据输入 SIB的分支数及输入 SIB所在业务链上后续 SIB的分支汇聚 数, 确定每个 SIB的兄弟 SIB。  The sibling SIB of each SIB is determined according to the number of branches of the input SIB and the number of branch aggregations of subsequent SIBs on the service chain in which the SIB is located.
3、 根据权利要求 2所述的方法, 其中, 所述根据输入 SIB的分支数及 输入 SIB所在业务链上后续 SIB的分支汇聚数, 确定每个 SIB的兄弟 SIB, 为:  3. The method according to claim 2, wherein the determining the sibling SIB of each SIB according to the number of branches of the input SIB and the number of branch convergences of subsequent SIBs on the service chain in which the SIB is located is:
完成图形化业务流程后, 为图形化业务流程中的每个 SIB设置一个对 应的兄弟 SIB号, 且初始化为零;  After completing the graphical business process, set a corresponding sibling SIB number for each SIB in the graphical business process, and initialize it to zero;
判断输入 SIB对应的兄弟 SIB号是否为零, 确定为零后, 为所述输入 SIB创建表示分支数的临时变量,且设置分支数的值为所述输入 SIB的出口 分支个数;  Determining whether the sibling SIB number corresponding to the input SIB is zero, and after determining to be zero, creating a temporary variable indicating the number of branches for the input SIB, and setting the number of branches is the number of exit branches of the input SIB;
判断所述分支数的值是否小于等于 1 , 确定大于 1后, 为整个业务中的 每个 SIB建立分别表示分支汇聚数以及是否访问过的临时变量, 且设置临 时变量的值均为 0, 并设置所述输入 SIB对应的兄弟 SIB号为 N;  Determining whether the value of the number of branches is less than or equal to 1, and determining that the value of the branch is greater than 1, establishing a temporary variable indicating the number of branch aggregations and whether the access is respectively performed for each SIB in the entire service, and setting the value of the temporary variable to be 0, and Setting the sibling SIB number corresponding to the input SIB to be N;
将所述输入 SIB的是否访问过的变量值设置为 1 ,之后判断当前出口分 支的下一个 SIB的 SIB号是否大于零, 确定大于零后, 判断当前 SIB的是 否访问过的变量值是否大于零, 确定不大于零后, 设置所述当前 SIB 的是 否访问过的变量值为 1 , 并将所述当前 SIB的分支汇聚数的变量值加 1 , 之 后判断当前 SIB的分支汇聚的值是否等于所述输入 SIB的分支数的值, 确 定等于后, 将所述输入 SIB对应的兄弟 SIB号设置为所述当前 SIB的 SIB 号, 并释放临时变量, 之后返回所述输入 SIB对应的兄弟 SIB号; Whether the value of the variable that has been accessed by the input SIB is set to 1, and then determines whether the SIB number of the next SIB of the current egress branch is greater than zero. After determining that it is greater than zero, it is determined whether the value of the variable of the current SIB is greater than zero. After determining that it is not greater than zero, setting whether the value of the variable of the current SIB is 1 or not, and adding 1 to the variable value of the branch number of the current SIB. After determining whether the value of the branch aggregation of the current SIB is equal to the value of the number of branches of the input SIB, after determining that the value is equal, the sibling SIB number corresponding to the input SIB is set to the SIB number of the current SIB, and the temporary variable is released. Then returning the sibling SIB number corresponding to the input SIB;
所述当前出口分支的下一个 SIB为所述当前 SIB。  The next SIB of the current exit branch is the current SIB.
4、 根据权利要求 3所述的方法, 其中, 该方法进一步包括:  4. The method according to claim 3, wherein the method further comprises:
确定分支数的值小于等于 1后, 如果所述分支数的值等于 1 时, 将所 述输入 SIB对应的兄弟 SIB号设置为所述输入 SIB的出口分支的下一个 SIB 的 SIB号, 之后返回所述输入 SIB对应的兄弟 SIB号; 如果所述分支数等 于零, 将所述输入 SIB对应的兄弟 SIB号设置为 M, 之后返回 M。  After determining that the value of the number of branches is less than or equal to 1, if the value of the number of branches is equal to 1, the sibling SIB number corresponding to the input SIB is set to the SIB number of the next SIB of the exit branch of the input SIB, and then returns. The sibling SIB number corresponding to the input SIB; if the number of branches is equal to zero, the sibling SIB number corresponding to the input SIB is set to M, and then M is returned.
5、 根据权利要求 3所述的方法, 其中, 该方法进一步包括:  5. The method according to claim 3, wherein the method further comprises:
确定当前 SIB的 SIB号小于零后, 判断所述输入 SIB是否还有下一个 出口分支, 确定有后, 将所述输入 SIB的分支出口中的每个 SIB的是否访 问过的值清空为零, 之后将所述输入 SIB的是否访问过的变量值设置为 1 , 并判断新的当前出口分支的下一个 SIB的 SIB号是否大于零, 如此循环, 直至找到所述输入 SIB对应的兄弟 SIB号;  After determining that the SIB number of the current SIB is less than zero, it is determined whether the input SIB has a next egress branch. After determining, the value of each SIB in the branch egress of the input SIB is cleared to zero. Then, whether the value of the variable that the input SIB has accessed is set to 1, and it is determined whether the SIB number of the next SIB of the new current exit branch is greater than zero, and so on, until the sibling SIB number corresponding to the input SIB is found;
确定所述输入 SIB没有下一个出口分支后, 将所述输入 SIB对应的兄 弟 SIB号设置为 M, 并释放临时变量, 之后返回 M。  After determining that the input SIB has no next exit branch, the sibling SIB number corresponding to the input SIB is set to M, and the temporary variable is released, and then M is returned.
6、 根据权利要求 3所述的方法, 其中, 该方法进一步包括:  6. The method according to claim 3, wherein the method further comprises:
确定当前 SIB的是否访问过的变量值大于零后, 判断所述输入 SIB是 否还有下一个出口分支, 确定有后, 将所述输入 SIB的分支出口中的每个 SIB的是否访问过的值清空为零,之后将所述输入 SIB的是否访问过的变量 值设置为 1 ,并判断当前出口分支的下一个 SIB的 SIB号是否大于零,如此 循环, 直至找到所述输入 SIB对应的兄弟 SIB号;  After determining whether the value of the variable that the current SIB has accessed is greater than zero, it is determined whether the input SIB has a next exit branch, and if it is determined, whether the value of each SIB in the branch outlet of the input SIB is accessed is determined. Clearing to zero, then setting the value of the variable that the input SIB has accessed to 1 and determining whether the SIB number of the next SIB of the current egress branch is greater than zero, and so on, until the sibling SIB corresponding to the input SIB is found. number;
确定所述输入 SIB没有下一个出口分支后, 将所述输入 SIB对应的兄 弟 SIB号设置为 M, 并释放临时变量, 之后返回 M。 After determining that the input SIB has no next exit branch, the sibling SIB number corresponding to the input SIB is set to M, and the temporary variable is released, and then M is returned.
7、 根据权利要求 3所述的方法, 其中, 该方法进一步包括: 7. The method according to claim 3, wherein the method further comprises:
确定所述当前 SIB的分支汇聚的值不等于所述输入 SIB的分支数的值 后, 判断所述当前 SIB对应的兄弟 SIB号是否等于 N, 确定不等于 N后, 将所述当前 SIB作为新的输入 SIB, 判断新的输入 SIB对应的兄弟 SIB号 是否为零, 如此循环, 直至找到所述输入 SIB对应的兄弟 SIB号;  After determining that the value of the branch aggregation of the current SIB is not equal to the value of the number of branches of the input SIB, determining whether the sibling SIB number corresponding to the current SIB is equal to N, and determining that the current SIB is new is not equal to N Input SIB, determine whether the sibling SIB number corresponding to the new input SIB is zero, and so on, until the sibling SIB number corresponding to the input SIB is found;
确定等于 N后, 判断所述输入 SIB是否还有下一个出口分支, 确定有 后,将所述输入 SIB的分支出口中的每个 SIB的是否访问过的值清空为零, 之后将所述输入 SIB的是否访问过的变量值设置为 1 ,并判断当前出口分支 的下一个 SIB的 SIB号是否大于零, 如此循环, 直至找到所述输入 SIB对 应的兄弟 SIB号;  After determining that it is equal to N, it is determined whether the input SIB has a next exit branch. After determining, the value of each SIB in the branch outlet of the input SIB is cleared to zero, and then the input is Whether the value of the variable accessed by the SIB is set to 1, and whether the SIB number of the next SIB of the current egress branch is greater than zero, and so on, until the sibling SIB number corresponding to the input SIB is found;
确定所述输入 SIB没有下一个出口分支后, 将所述输入 SIB对应的兄 弟 SIB号设置为 M, 并释放临时变量, 之后返回 M。  After determining that the input SIB has no next exit branch, the sibling SIB number corresponding to the input SIB is set to M, and the temporary variable is released, and then M is returned.
8、 根据权利要求 1至 7任一项所述的方法, 其中, 所述根据每个 SIB 的兄弟 SIB, 确定每个 SIB的作用域, 为:  The method according to any one of claims 1 to 7, wherein the determining the scope of each SIB according to the sibling SIB of each SIB is:
根据每个 SIB的兄弟 SIB以及已完成的图形化业务流程中的箭头线的 指向, 确定每个 SIB的作用域。  The scope of each SIB is determined based on the SIB's sibling SIB and the pointing of the arrow lines in the completed graphical business process.
9、 根据权利要求 1至 7任一项所述的方法, 其中, 所述根据每个 SIB 的作用域及每个 SIB的兄弟 SIB, 生成业务脚本, 为:  The method according to any one of claims 1 to 7, wherein the generating a service script according to the scope of each SIB and the sibling SIB of each SIB is:
将 SIB的作用域内的 SIB所对应的流程写入作用域对应的 SIB的各个 分支流程范围内; 将兄弟 SIB及兄弟 SIB之后的流程写入所述对应的 SIB 的后续流程内。  The flow corresponding to the SIB in the scope of the SIB is written in the range of each branch of the SIB corresponding to the scope; the process after the sibling SIB and the sibling SIB is written in the subsequent process of the corresponding SIB.
10、 一种图形化业务流程转化为业务脚本的装置, 其中, 该装置包括: 第一确定单元、 第二确定单元、 以及生成单元; 其中,  An apparatus for converting a graphical business process into a business script, wherein the apparatus comprises: a first determining unit, a second determining unit, and a generating unit;
第一确定单元, 设置为根据图形化业务流程分支的发散及收敛情况, 确定每个 SIB的兄弟 SIB, 并将确定的每个 SIB的兄弟 SIB发送给第二确 定单元及生成单元; a first determining unit, configured to determine a sibling SIB of each SIB according to the divergence and convergence of the graphical service flow branch, and send the determined sibling SIB of each SIB to the second authentic Fixed unit and generating unit;
第二确定单元, 设置为收到第一确定单元发送的每个 SIB的兄弟 SIB 后, 根据每个 SIB的兄弟 SIB, 确定每个 SIB的作用域, 并将确定的每个 SIB的作用域发送给生成单元;  a second determining unit, configured to: after receiving the sibling SIB of each SIB sent by the first determining unit, determine a scope of each SIB according to the sibling SIB of each SIB, and send the determined scope of each SIB Giving a unit
生成单元, 设置为收到第一确定单元发送的每个 SIB的兄弟 SIB及第 二确定单元发送的每个 SIB的作用域, 根据每个 SIB的作用域及每个 SIB 的兄弟 SIB, 生成业务脚本。  The generating unit is configured to receive the scope of each SIB sent by the sibling SIB of each SIB and the second determining unit sent by the first determining unit, and generate a service according to the scope of each SIB and the sibling SIB of each SIB. script.
11、 根据权利要求 10所述的装置, 其中, 所述第二确定单元, 用于: 根据每个 SIB的兄弟 SIB以及已完成的图形化业务流程中的箭头线的指向, 确定每个 SIB的作用域。  The device according to claim 10, wherein the second determining unit is configured to: determine, according to a direction of an arrow line in each SIB and an arrow line in the completed graphical service flow, determine each SIB Scope.
PCT/CN2011/077586 2011-01-20 2011-07-25 Method and device for transforming graphical service flow into service script WO2012097583A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110023247.1 2011-01-20
CN201110023247.1A CN102609796B (en) 2011-01-20 2011-01-20 Method and device for converting graphical service process into service script

Publications (1)

Publication Number Publication Date
WO2012097583A1 true WO2012097583A1 (en) 2012-07-26

Family

ID=46515110

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/077586 WO2012097583A1 (en) 2011-01-20 2011-07-25 Method and device for transforming graphical service flow into service script

Country Status (2)

Country Link
CN (1) CN102609796B (en)
WO (1) WO2012097583A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107767008A (en) * 2017-03-03 2018-03-06 平安医疗健康管理股份有限公司 Flow collocation method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5721912A (en) * 1994-08-05 1998-02-24 Data Integration Solutions Corp. Graphical user interface for creating database integration specifications
CN1612581A (en) * 2003-10-30 2005-05-04 惠普开发有限公司 Telecommunications service program
CN1996356A (en) * 2006-12-13 2007-07-11 华中科技大学 Method for converting XPDL format into BPEL format for workflow model

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AT411802B (en) * 2001-06-01 2004-05-25 Siemens Ag Oesterreich METHOD FOR TESTING SOFTWARE

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5721912A (en) * 1994-08-05 1998-02-24 Data Integration Solutions Corp. Graphical user interface for creating database integration specifications
CN1612581A (en) * 2003-10-30 2005-05-04 惠普开发有限公司 Telecommunications service program
CN1996356A (en) * 2006-12-13 2007-07-11 华中科技大学 Method for converting XPDL format into BPEL format for workflow model

Also Published As

Publication number Publication date
CN102609796A (en) 2012-07-25
CN102609796B (en) 2015-04-01

Similar Documents

Publication Publication Date Title
US20200272338A1 (en) Optimizing serverless computing using a distributed computing framework
CN108023808A (en) message distributing method and device in application program
CN112003787B (en) Routing path determining method, device, control equipment and storage medium
Myreen et al. Decompilation into logic—improved
CN102222043B (en) Testing method and testing device
US20140351801A1 (en) Formal verification apparatus and method for software-defined networking
CN106354566B (en) A kind of method and server of command process
JP2018537921A (en) Identification method and apparatus based on communication flow of different functions of Skype
CN111061551A (en) Node merging and scheduling method, device, equipment and storage medium
CN105245489A (en) Verification method and verification device
CN108255585A (en) SDK exception controls and application program operation method, device and its equipment
WO2015010654A1 (en) Optical fiber link scheduling method, device and system
WO2012097583A1 (en) Method and device for transforming graphical service flow into service script
Bhurke et al. Methods of Formal Analysis for ICS Protocols and HART-IP CPN modelling
US7839849B1 (en) Formatting fields of communication packets
Dieudonné et al. Deterministic network exploration by anonymous silent agents with local traffic reports
CN109756354B (en) Ring network management method, network management equipment and computer readable storage medium
RU2569573C1 (en) Method and apparatus for forming peer-to-peer service
CN114706778A (en) Fuzzy testing method and device for cloud service API
CN103176798A (en) Data interaction system and data interaction method
CN111371636B (en) Port forwarding function testing method and system based on cloud platform
CN112020100B (en) Management method, equipment and system of packet flow description information
US10116491B1 (en) Network cabling verification
US20210058317A1 (en) Visual real-time interaction method and system for software defined networking
Restrepo et al. Validation of SDL-based architectural design models using communication-based coverage criteria

Legal Events

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

Ref document number: 11856519

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11856519

Country of ref document: EP

Kind code of ref document: A1