发明名称 System and method for pattern based services extraction
摘要 The present invention relates to a method and system comprising service pattern definitions and automated extraction of Services from the legacy code based on the pattern matching.
申请公布号 US9612829(B2) 申请公布日期 2017.04.04
申请号 US200812298527 申请日期 2008.10.25
申请人 Tata Consultancy Services 发明人 Naik Ravindra;Saxena Amit
分类号 G06F9/44;G06F11/34 主分类号 G06F9/44
代理机构 Akerman LLP 代理人 Akerman LLP ;Zachariah, Jr. Mammen (Roy) P.
主权项 1. A method of automatically extracting a plurality of services from a software application based on at least one matching pattern, the method comprising: defining one or more service patterns each corresponding to a type of service in the software application, wherein the one or more service patterns are a functional service pattern or a structural service pattern, and wherein the software application is a legacy software application, and wherein the legacy software application is built with inter-twined source code jointly corresponding to the plurality of services, and wherein the plurality of services are not distinctly identifiable in the legacy software application; inputting the one or more service patterns to a workbench to generate a service pattern matcher, wherein the workbench uses a specification driven approach backed by program search and analysis to generate the service pattern matcher, wherein the service pattern matcher corresponds to the one or more service patterns; parsing the inter-twined source code of the legacy software application using a language specific parser to generate an intermediate representation of the inter-twined source code; performing tool-based analysis to build a subroutine-call hierarchy and control-flow graph for each subroutine upon parsing the inter-twined source code; defining initial service boundaries for the plurality of services by identifying interface statements; identifying control statements from the legacy software application, wherein the control statements control an execution of the initial service boundaries and form additional service boundaries; identifying the plurality of services from the intermediate representation of the inter-twined source code using the service pattern matcher, wherein the structural service pattern comprises identifying a plurality of user interface statements as the initial service boundaries and the functional service pattern comprises a plurality of pre-determined data entities and values; and marking the identified plurality of services to obtain extracted services in human readable format, wherein the extracted services form a basis for re-factoring the inter-twined source code.
地址 Mumbai IN