![]() METHODS AND DEVICE FOR ADAPTATION OF HERITAGE APPLICATIONS TO TARGET PLATFORMS
专利摘要:
Methods and apparatus for adapting legacy applications to target platforms are described. An exemplary method includes generating a platform-independent representation (300) of a specific application to a first platform, the specific application to a first platform being specific to a first platform. mobile, platform-independent representation (300) of the first-platform-specific application conforming to a first API of the first mobile platform; and adapting the platform-independent representation (300) of the specific application to a first platform to be platform-specific, to a second mobile platform different from the first platform mobile. 公开号:FR3040222A1 申请号:FR1657825 申请日:2016-08-19 公开日:2017-02-24 发明作者:Nathan J Clevenger;Benjamin P Horgen;Brian R Porter;Scott R Olson 申请人:ZIH Corp; IPC主号:
专利说明:
DOMAIN OF DESCRIPTION [1] The present disclosure generally relates to computing platforms and more particularly to methods and apparatus for tailoring legacy applications to target platforms. BACKGROUND [2] Computing platforms run applications (eg, programs) reliably and at high levels of performance. Thus, computing platforms and applications run by computing platforms provide valuable functionality. However, when a targeted computing platform for a given application needs to change, the effort involved in the development and maintenance of the application represents a significant resource allocation to modify the application to be compliant for example the application programming interfaces (APIs) of the target computing platform. OBJECT AND SUMMARY OF THE INVENTION According to a first aspect, the invention relates to a method comprising: generating, by means of a logic circuit, a representation independent of the platform of a specific application for a first platform, the application specific to a first platform being specific to a first mobile platform, the platform-independent representation of the application specific to a first platform conforming to a first API of the first mobile platform; and adapting, through the logic circuit, platform-independent application-specific representation to a first platform to be platform-specific, to a second, different mobile platform of the first mobile platform. In a particular embodiment, the independent representation of the platform of the application specific to a first platform is non-functional before the adaptation of the independent representation of the platform of the specific application to a first platform to be specific to a platform for the second mobile platform. In a particular embodiment, adapting the platform-independent representation of the specific application to a first platform-specific platform for the second mobile platform includes translating the first independent representation of the platform-specific application platform into a second platform-specific application including a second API different from the first API, the second API being compliant with the second platform mobile. In a particular embodiment, the method further comprises adapting the independent representation of the platform of the specific application to a first platform to be specific to a platform, to a third platform. mobile device different from the first mobile platform and the second mobile platform by translating the first independent representation of the platform-specific application platform into a third platform-specific application including a third API different from the first and second APIs, the third API being compliant with the third mobile platform. In a particular embodiment, adapting the platform-independent representation of the platform-specific application to a platform-specific for the second mobile platform includes: independent representation of the platform-specific application platform into a platform independent application including a second API different from the first API, the second API being platform independent; and translating the platform-independent application (400) into a second platform-specific application including a third API different from the first and second APIs, the third API being compliant with the second mobile platform. In a particular embodiment, the method further comprises adapting the independent representation of the platform of the specific application to a first platform to be specific to a platform, a third platform. mobile by translating the platform-independent application into a third platform-specific application including a fourth API different from the first, second and third APIs, the fourth API being compliant with the third mobile platform. In a particular embodiment: the independent representation of the platform of the application specific to a first platform is non-functional before the adaptation of the independent representation of the platform (300) of the specific application a first platform to be platform-specific for the second mobile platform; and the second API is non-functional. In a particular embodiment, the independent representation of the platform of the application specific to a first platform consists of a plurality of objects in memory. In a particular embodiment, the objects in memory can not be used directly to execute the functionality of the application specific to a first platform. In a particular embodiment, the adaptation of the platform-independent representation of the specific application to a first platform-specific platform for the second mobile platform comprises the generation of a specific application to a second platform that is specific to the second mobile platform. The invention is also directed to a tangible machine-readable medium comprising instructions which, when executed, cause a machine to perform at least: the generation of a platform-independent representation of a specific application to a specific machine. first platform, the specific application to a first platform being specific to a first mobile platform, the independent representation of the platform of the application specific to a first platform being in accordance with a first API the first mobile platform; and adapting the independent representation of the platform of the specific application to a first platform to be platform-specific, to a second mobile platform different from the first mobile platform. In a particular embodiment of the tangible medium according to the invention, the independent representation of the platform of the application specific to a first platform is non-functional before the adaptation of the independent representation of the platform of the the application specific to a first platform to be platform-specific for the second mobile platform. In a particular embodiment of the tangible medium according to the invention, instructions, when executed, cause the machine to adapt the independent representation of the platform of the specific application to a first platform to be specific. to a platform for the second mobile platform by translating the first independent representation of the platform-specific application platform into a second platform-specific application including a second alternative API of the first API, the second API being compliant with the second mobile platform. In a particular embodiment of the tangible medium according to the invention, the instructions, when executed, cause the machine to adapt the independent representation of the platform of the specific application to a first platform to be specific. to a platform, to a third mobile platform different from the first mobile platform and the second mobile platform by translating the first independent representation of the platform of the application specific to a first platform into an application specific to a third platform including a third API different from the first and second APIs, the third API being compliant with the third mobile platform. In a particular embodiment of the tangible medium according to the invention, the instructions, when executed, cause the machine to adapt the independent representation of the platform of the specific application to a first platform to be specific. to a platform for the second mobile platform by: translating the independent representation of the platform-specific application platform into a platform-independent application including a second API different from the first one; API, the second API being independent of the platform; and translating the platform-independent application into a second platform-specific application including a third API different from the first and second APIs, the third API being compliant with the second mobile platform. In a particular embodiment of the tangible medium according to the invention, the instructions, when executed, cause the machine to adapt the independent representation of the platform of the specific application to a first platform to be specific. to a platform, to a third mobile platform by translating the platform-independent application into a third platform-specific application including a fourth API different from the first, second and third APIs, the fourth API being compliant at the third mobile platform. In a particular embodiment of the tangible medium according to the invention: the representation independent of the platform of the application specific to a first platform is non-functional before the adaptation of the independent representation of the platform of the specific application to a first platform to be platform-specific for the second mobile platform; and the second API is non-functional. In a particular embodiment of the tangible medium according to the invention, the independent representation of the platform of the application specific to a first platform consists of a plurality of objects in memory. In a particular embodiment of the tangible medium according to the invention, the objects in memory can not be used directly to execute the functionality of the application specific to a first platform. In a particular embodiment of the tangible medium according to the invention, the instructions, when executed, cause the machine to adapt the independent representation of the platform of the specific application to a first platform to be specific. to a platform for the second mobile platform by generating a specific application to a second platform that is specific to the second mobile platform. The invention also provides a device comprising: a substitute for generating a platform-independent representation of a specific application to a first platform, the specific application to a first platform being specific to a first platform; mobile form, the platform independent representation of the application specific to a first platform being in accordance with a first API of the first mobile platform; and an adapter for adapting the platform-specific representation of the specific application to a first platform to be specific to a platform, to a second mobile platform different from the first mobile platform, in wherein at least one of the substitute or adapter is implemented via a logic circuit. In a particular embodiment of the device according to the invention, the representation independent of the platform of the application specific to a first platform is non-functional before the adaptation of the independent representation of the platform of the application specific to a first platform to be platform-specific for the second mobile platform. In a particular embodiment of the device according to the invention, the adapter is intended to adapt the independent representation of the platform of the specific application to a first platform to be specific to a platform for the second. mobile platform by translating the first independent representation of the platform-specific application platform into a second platform-specific application including a second API different from the first API, the second API being conform to the second mobile platform. In a particular embodiment of the device according to the invention, the adapter is intended to adapt the representation independent of the platform of the specific application to a first platform to be specific to a platform, a third mobile platform different from the first mobile platform and the second mobile platform by translating the first independent representation of the platform-specific application platform into a third platform specific application; form including a third API different from the first and second API, the third API being compliant with the third mobile platform. In a particular embodiment of the device according to the invention, the adapter is intended to adapt the independent representation of the platform of the specific application to a first platform to be specific to a platform for the second. mobile platform by: translating the independent representation of the platform-specific application platform into a platform-independent application including a second API different from the first API, the second API being independent of the platform; and translating the platform-independent application into a second platform-specific application including a third API different from the first and second APIs, the third API being compliant with the second mobile platform. In a particular embodiment of the device according to the invention, the adapter is intended to adapt the representation independent of the platform of the specific application to a first platform to be specific to a platform, a third mobile platform by translating the platform-independent application into a third platform-specific application including a fourth API different from the first, second and third APIs, the fourth API being compliant with the third mobile platform. In a particular embodiment of the device according to the invention: the representation independent of the platform of the application specific to a first platform is non-functional before the adaptation of the independent representation of the platform of the application specific to a first platform to be platform-specific for the second mobile platform; and the second API is non-functional. In a particular embodiment of the device according to the invention, the adapter is intended to adapt the independent representation of the platform of the specific application to a first platform to be specific to a platform for the second. mobile platform by generating a specific application to a second platform that is specific to the second mobile platform. BRIEF DESCRIPTION OF THE DRAWINGS The invention will be better understood and its advantages will be better understood on reading the detailed description which follows. The description refers to the following drawings, which are given by way of example. [3] Fig. 1 shows an exemplary computing environment including an application adapter constructed in accordance with the teachings of the present disclosure. [4] Figure 2 is a block diagram of an exemplary implementation of the application matching module of Figure 1. [5] Fig. 3 is a first exemplary diagram illustrating an example of data associated with the exemplary application adaptation module of Figs. 1 and / or 2. [6] Fig. 4 is a second exemplary diagram illustrating an example of data associated with the exemplary application matching module of Figs. 1 and / or 2. [7] Fig. 5 is a representative flowchart of exemplary operations that can be performed to implement the exemplary application matching module of Figs. 1 and / or 2. [8] Fig. 6 is a flowchart representative of exemplary operations that can be performed to implement the exemplary application matching module of Figs. 1 and / or 2. [9] Fig. 7 is a representative flowchart of exemplary operations that can be performed to implement the exemplary application adaptation module of Figs. 1 and / or 2. [10] FIG. 8 is a block diagram of an exemplary logic circuit for implementing the exemplary operations of FIGS. 5, 6 and / or 7 to implement the exemplary adaptation module of FIG. application of Figures 1 and / or 2. DETAILED DESCRIPTION [11] The development of software, such as an application intended to be executed on a computing device, is an expensive process. For example, an entity (for example, a goods tracking company) that internally buys, licenses, and / or builds an application (for example, an asset tracking application) typically performs it at a significant cost. As a result, entities are encouraged to widely use the application and for a long time. The benefits of continued use of the application may increase over time, for example, through the introduction of other systems and / or processes that are application-based. In addition, through extended and extended use of the application, staff become competent and effective users of the application. [12] However, technology is changing rapidly. Circuits are improving thanks to advanced manufacturing, design, materials, etc. Software performance increases with new and improved techniques. In addition, aspects of the user interfaces, such as the theme or the appearance and feel of the user interface elements associated with an operating system, change over time. As a result, when new computing platforms are developed and manufactured, the new computing platforms have different circuits, different software, and / or different user interface experiences compared to other computing platforms. calculation that preceded them. To enable staff to benefit from the benefits of improved technology, new computing platforms are adopted by entities such as, for example, the entities that equip the staff of computing platforms. [13] In some cases, entities that adopt new and / or different computing platforms have purchased, conceded and / or internally developed one or more applications designed to be run on computing platforms. who preceded them. For example, a property tracking entity may have developed a property tracking application based on the "Microsoft .NET Compact Framework" and use the asset tracking application on a "Microsoft Windows Mobile" computing platform Which preceded it. That is, the asset tracking application was designed for the mobile computing platform that preceded it, used by the asset tracking entity. In some cases, when the asset tracking entity adopts the new and / or different mobile computing platform, the APIs in use may be unavailable. In addition, the performance and / or ergonomics of the application on the new and / or different computing platform may be limited, restricted, mediocre and / or undesirable. For example, user interface elements of the asset tracking application may be largely out of date with respect to the appearance and feel of new and / or different computing platforms. In addition or alternatively, the application may not work properly on the new and / or different computing platform. However, as described above, the asset tracking entity would obtain a plurality of benefits if the application could operate on the new and / or different platform. [14] Examples of methods, devices and objects of manufacture described herein allow an application (for example a program) which was originally designed for a first computing platform to be executed on a second platform. a form of calculation such as, for example, a newer version of the first computing platform or a different computing platform. In addition or alternatively, the examples of methods, devices and manufacturing objects described here improve the ergonomics of the application on the second computing platform. The application that was originally designed to run on the first computing platform is here called a legacy application. The first computing platform for which the legacy application was originally designed is here called the heritage computing platform. The second computing platform is here called the target computing platform. [15] As described in detail below, the examples herein described adapt the legacy applications to be executed on one or more target computing platforms. The examples described here adapt heritage applications while maintaining the functionality of legacy applications. In some examples, one or more aspects of the legacy applications are updated to match the look and feel of the target computing platforms. For example, a list of elements that were presented on a grid on the heritage computing platform can be updated by examples here described to be presented as a scrollable selection list when the typical way in which the lists are presented on the target computing platform is via a scrolling selection list. Thus, the examples herein described provide an updated user experience for the legacy application on the target computing application based on the experience provided by other applications running on the target computing platform. [16] Fig. 1 is an example of an environment including an application adaptation module 100 constructed according to the teachings of the present description. In the example of FIG. 1, the application adaptation module 100 is implemented in an application adaptation environment 102. The exemplary application adaptation environment 102 of FIG. is a computing environment that is used to tailor one or more legacy applications for use on one or more target computing platforms in accordance with the teachings of this disclosure. In the example illustrated in FIG. 1, the application adaptation environment 102 receives a heritage application 104 from a source of heritage applications such as, for example, a heritage application database 106 and or any other type of memory. The exemplary application adaptation environment 102 of FIG. 1 is responsible for the adaptation of the legacy application 104 for use on a target computing platform 108. The heritage application example 104 of FIG. 1 was originally designed to be executed on a legacy computation platform 110 which is older than and / or different from the target computing platform 108. In the example of FIG. patrimonial application 104 is platform-specific for the heritage computing platform 110. That is to say that the patrimonial application 104 is linked to a specific technological aspect of the heritage computing platform 110 such as, for example, an operating system, a programming language, a set of user interface libraries, a specific data access mechanism, a file system, and so on. In other words, the legacy application 104 conforms to one or more configurations, architectures and / or rules associated with the legacy computing platform 110. Accordingly, the example of an application adaptation environment 102 is responsible for the adaptation of the legacy application 104, which is a platform-specific application that complies with the legacy computing platform 110, into a platform-specific target application 112 that is in accordance with the target computing platform 108. As described in detail below, the exemplary application adaptation module 100 of FIG. 1 provides the adaptation of the platform-specific legacy application. In a platform-specific target application 112. In addition, as described in detail below, the exemplary application adaptation module 100 of FIG. 1 can adapt the legacy application 104 to other applications. target applications for aut res target computing platforms. [17] In the illustrated example of FIG. 1, the legacy computing platform 110 and the target computing platform 108 are mobile computing platforms. A computing platform is a structure on which applications can be run. Mobile computing platforms are typically computing devices that are designed to be transported manually, including, for example, telephones, smart phones, landline phones, tablets, mini-laptops, laptops, portable gaming devices, personal media players, on-board computers, handheld scanners, etc. In the illustrated example, the target computing platform 108 comprises one or more hardware components such as, for example, a barcode reader, a camera, a thermal print head, an RFID code or a transponder. Mobile computing platforms are generally smaller scale than desktop computing platforms (desktop, server, TV, set-top box, game consoles, etc.) and thus have different resources ( for example, less memory, less processing capacity, etc.) than equivalent desktop computing platforms. Thus, applications and / or versions of an application designed for mobile computing platforms are designed differently from applications and / or versions of an application designed for desktop computing platforms. It will be noted that the example of application adaptation module 100 of FIG. 1 makes it possible to adapt the legacy application 104 into a target application 112 without having to rewrite the code of the legacy application 104. In addition, the example Application adaptation module 100 provides full functionality of the legacy application 104 to be performed on the target computing platform 108 without rewriting the legacy application code 104. [18] FIG. 2 is a block diagram of an exemplary implementation of the application adaptation module 100 of FIG. 1. The exemplary implementation of the application adaptation module 100 illustrated FIG. 2 comprises an application programming interface (API) set 200 substitute and an adapter 202 including a platform-specific translator 204 and a platform-independent translator 206. implementations of the exemplary application adaptation module 100 of FIG. 1 comprise one or more additional or different elements, processes and / or devices. In addition or alternatively, one or more of the API set substitute example 200, the adapter example 202, the platform-specific translator example 204 and the example independent translator of the platform 206 of Figure 2 can be combined, divided, rearranged or omitted. The example of an API 200 set substitute, the adapter example 202, the platform-specific translator example 204, the platform-independent translator example 206 and / or more generally, the example of application adaptation module 100 of FIGS. 1 and / or 2 is / are implemented by hardware, software, firmware and / or any combination of hardware, software and / or firmware. In some examples, at least one of the example of an API set substitute 200, the exemplary adapter 202, the platform-specific translator example 204, the example of the independent translator of the platform 206 and / or more generally, the example of application adaptation module 100 of FIGS. 1 and / or 2 is implemented by a logic circuit (for example, the processor example 800 of FIG. 8). As used herein, the term "logic circuit" is expressly defined as a physical device including at least one configured hardware component (e.g., via an operation according to a predetermined configuration and / or by through the execution of stored instructions readable by a machine) for controlling one or more machines and / or performing the operations of one or more machines. Examples of logic circuits include one or more processors, one or more coprocessors, one or more microprocessors, one or more controllers, one or more digital signal processors (DSPs), one or more application-specific integrated circuits (ASICs), one or more user programmable gate array (FPGA), one or more microcontroller units (MCU), one or more hardware accelerators, one or more specific purpose computer chips, and one or more system-on-a-chip devices (SoCs) ). Some examples of logic circuits, such as ASICs or FPGAs, are circuits specifically configured to perform operations (for example, one or more of the operations of Figures 5, 6 and / or 7). Some examples of logic circuits are hardware executing machine readable instructions for performing operations (for example, one or more of the operations of Figures 5, 6 and / or 7). Some examples of logic circuits include a combination of specifically configured hardware and hardware executing machine-readable instructions. [19] The example of application adaptation module 100 of FIG. 2 receives a code associated with the legacy application 104 of FIG. 1. The code associated with the legacy application 104 of FIG. 1 is, for example source code or compiled binary. The exemplary application adaptation module 100 of FIG. 2 determines (for example, via input identification data received together with the code associated with the legacy application 104) the identity of the target computing platform 108 to which the heritage application 104 must be adapted. For example, the legacy application 104 may be platform-specific for a first operating system or a structure associated with the legacy computation platform 110, and the application adaptation module 100 of the FIG. 2 is responsible for generating the target application 112 which is platform-specific on a second operating system or structure, associated with the target computing platform 108. In addition to the generation task of the target target application 112 which is platform-specific for the second operating system or structure, associated with the target computing platform 108, the exemplary application adaptation module 100 may be responsible for the generating one or more additional platform-specific target applications for one or more other operating systems and / or structures associated with the target computing platform 108 and / or one or more s other computing platforms. [20] To adapt the legacy application 104 to the target application 112, the example of the application adaptation module 100 abstracts (for example, a mapping) the legacy application 104 into a non-functional representation of the application. patrimonial application 104, then translates the abstraction into a target application 112, which is functional. Examples of diagrams illustrating the operations and data associated with the exemplary application adaptation module 100 of FIG. 2 are shown in FIGS. 3 and 4. In particular, FIG. 3 illustrates examples of operations and data associated with an abstraction of the legacy application 104 and a direct translation into a target application 112. FIG. 4 illustrates examples of operations and data associated with an abstraction of the legacy application 104 and a translation into a target application 112 in several stages. FIG. 2 is described in conjunction with FIGS. 3 and 4. However, the example of application adaptation module 100 of FIG. 2 can be implemented via operations and / or additional data or different. [21] In the example illustrated in FIG. 2, the example of an API set substitute 200 of FIG. 2 generates an independent representation of the platform 300 (FIG. 3) of the legacy application 104 compliant with FIG. to an API of the legacy computing platform 110. In the illustrated example of FIG. 2, the API 200 set substitute generates the platform-independent representation 300 by replacing the library references (for example: for example, the dynamic link library references) corresponding to the APIs of the legacy computation platform 110 by different library references obtained from a virtual library 208 implemented by the application adaptation module 100, which provides the representation of the functional objective of ΓΑΡΙ of the heritage computing platform 110. It will be noted that the library references of the virtual library example 208 of FIG. used by the API 200 set substitute to generate the independent representation of the platform 300 of the legacy application 104 conform to ΓΑΡΙ of the heritage computing platform 110, but are non-functional. That is, the platform-independent representation 300 generated by the API set substitute 200 has the same signature as ΓΑΡΙ of the legacy platform 110 but is unable to be used directly. to implement (for example, execute) the application on a real computing platform. In replacement, the new library references that have replaced the APIs of the legacy application 104 are abstract characterizations of the functionality of the legacy application 104. However, in some examples, the virtual library 208 may further include one or more representations. For example, when a function (for example, controlling the battery level of the device) of the legacy application 104 has an equivalent (for example, a reasonable equivalent or a direct equivalent) in the target computing platform 108, the functional representations of the virtual library 208 may be used in the target application 112. In such cases, the output of the function may be configured in accordance with one or more aspects of the target computing platform 108. [22] In the illustrated example of FIG. 2, the new library references of the independent representation of the platform 300 of the legacy application 104 are objects in memory. However, additional or different implementations of the independent representation of the platform 300 are possible. [23] The exemplary adapter 202 of FIG. 2 adapts the independent representation of the platform 300 of the legacy application 104 so as to be platform-specific for the target computing platform 108. In some examples, the adapter 202 adapts the independent representation of the platform 300 of the legacy application 104 directly into the platform-specific target application 112 through the platform-specific translator 204. An example of such a direct translation is illustrated in FIG. 3. In particular, the platform-specific translator example 204 translates the platform-independent representation 300 of the legacy application 104 into a target application. 112, including an API that is compliant with the target computing platform 108. In other words, the platform specific translator example 204 of Figure 2 converts the non-functional abstraction (for example, for example, the platform independent representation 300) of the legacy application 104 generated by the API set substitute 200 into a concrete functional API that can be used to implement the target application 112 on the platform. Target computing form 108. The platform-specific translator example 204 of Fig. 2 links the example of API set substitute 200 to the target computing platform 108 (for example, by credential intermediate received in conjunction with the legacy application adaptation request) and uses a knowledge base (for example, API definitions and / or configurations, link source code, sets linkages, etc.) associated with the target computing platform 108 to generate a concrete functional ΓΑΡΙ that can be used to implement the target application 112 on the target computing platform 108, which implements ΓΑΡΙ appropriate on the target computing platform 108 satisfying the functional objective of the non-functional abstraction. In such cases, the target functional génér generated by the platform-specific translator example 204 is different from the patrimonial computing platform 110, but retains the functionality of the legacy application 104. Instead, Target target functional function 112 is specific to the target computing platform 108. [24] For example, a user interface element (e.g., a list or dialog box) may be presented on the target computing platform 108 in accordance with the target functional ΓΑΡΙ in a manner different from the presentation of the same element of user interface on the legacy computation platform 110. In some examples, the user interface element is presented on the target computing platform 108, activated by target functional génér generated by the specific translator to a platform 204, so as to match the appearance and feel associated with the target computing platform 108. However, the functionality (eg logic) of the legacy application 104 is maintained on the platform target calculation code 108 via the target functional API of the target application 112. If the legacy application 104 is to be adapted to one or more additional target computing platforms As an example, platform-specific translator example 204 of FIG. 2 may generate one or more additional functional platform-specific APIs, based on the independent representation of the application platform 300. In some examples, the platform-specific translator 204 of FIG. 2 can generate a container for each of the target applications, so that the target applications can be distributed to the target computing platforms. In some examples, before distributing the target application example 112, the application adaptation module example 100 compiles layers of the target application 112 (for example, application source code, source code of layer, container source code and / or link source code). In addition or alternatively, one or more aspects of the compilation may be executed on the target computing device 108. [25] Alternatively, as illustrated in FIG. 4, the exemplary adapter 202 of FIG. 2 uses the platform-independent translator example 206 and the platform-specific translator 204 to adapt the independent representation of the platform 300 of the legacy application 104. Similarly to the example of FIG. 3, the example of the set substitute of API 200 of FIG. 2 generates the independent representation of the flat. 300 of the legacy application 104. Similarly to the example of Figure 3, the independent representation of the platform 300 conforms to the API of the legacy application 104 and is non-functional (eg , can not be directly used to run an application). In the example of FIG. 4, the platform independent translator example 206 translates the independent representation of the platform 300 of the legacy application 104 into an independent application of the platform 400 comprising a non-functional API which is a multi-platform API conforming to the appropriate interpretation of the functional objective of the non-functional APIs of the legacy application 104. In particular, the example of independent translator of the platform 206 of FIG. 2 generates a plurality links or references to the independent representation of the platform 300 of the legacy application 104. The links or references generated by the independent translator example of the platform 206 of FIG. 2 refer to the library references of the independent representation of the platform 300 of the legacy application 104 in a way allowing any platform to be int erfaced with library references. For example, when the independent representation of the platform 300 of the legacy application 104 is implemented in a virtual form, which represents a non-functional segment of the user interface of the legacy application 104, the example of platform-independent application 400 generated by the independent platform translator 206 includes links or references to the virtual form. In other words, the platform-independent translator example 206 of FIG. 2 generates a non-functional multi-platform abstraction of the platform 300 independent representation of the legacy application 104. examples, the translation (s) performed by the independent translator of the platform 206 includes one or more improvements in and / or addition to, for example, a user experience functionality that matches the functional objective of the legacy application 104 to the target computing platform 108. That is to say that the independent translator example of the platform 206 of FIG. 2 adapts the independent application of the platform 400 form according to one or more differences between the heritage computing platform 110 and the target computing platform 108. [26] In the illustrated example, the platform independent translator 206 provides the platform-specific translator 204 with the platform-independent application 400 having the non-functional API which is compliant with the multi-platform. platform. When the platform-specific translator example 204 of Figure 2 receives the platform-independent application 400, the platform-specific translator 204 determines the identity of the target computing platform. 108 (for example based on identification data received in conjunction with the application for adaptation of the legacy application 104). Using the identity of the target computing platform 108 and the API knowledge base associated with the target computing platform 108, the platform-specific translator example 204 translates the independent application. of platform 400 in target application 112 having functional conforme conforming to the target computing platform 108. The platform-specific translator example 204 of FIG. 2 can translate the platform-independent application of FIG. form 400 into one or more additional target applications for one or more target computing platforms. In some examples, the adapter example 202 includes additional platform-specific translators each corresponding to different target computing platforms. [27] When the target computing platform 108 is provided with the target application 112, the functionality of the legacy application 104 can be executed on the target computing platform 108 depending on the appearance and feel of the target computing platform 108. For example, the functionality of the legacy application 104 may include the display of a dialog box or a form. When encountering a function call to the dialog box or form, the target computing platform 108 uses the target functional API of the target application 112 rather than the API of the heritage computing platform 110 As described above, the target API of the target application 112 satisfies the API signature of the legacy computing platform 110, but is adapted to the target computing platform 108. For example, the Target Application Target API 112 maps the function call of the dialog box or form to a platform-specific implementation of a dialog box or form according to the platform Thus, when the dialog box or the form is displayed on the heritage computing platform 110 in a first manner, the target application 112 activates the same function (for example, a dialog box or a form ) implementation of a second different way in the first way which corresponds for example to display parameters associated with the operating system of the target computing platform 108. In other words, the example of the application adaptation module 100 of the FIG. 2 activates the target computing platform 108 to execute the functionality of the legacy application 104 through an implementation including display layers to which to the target computing platform 108. [28] Alternatively, when encountering a function call to a hardware component (e.g., a barcode reader), the target computing platform 108 uses the target functional de of the target application 112 rather than ΓΑΡΙ of the legacy computation platform 110. The hardware component of the target computing platform 108 may be different (for example, newer) from the corresponding hardware component of the legacy computation platform 110. Accordingly, the Target application example 112 maps the function call to a platform-specific hardware component function (e.g., a barcode reader) that corresponds to the target computing platform 108. [29] FIGS. 5 to 7 are representative flowcharts of exemplary operations for implementing the exemplary application adaptation module 100 of FIGS. 1 and / or 2. Other examples of implementations of the application adaptation module 100 of FIGS. 1 and / or 2 comprise one or more additional or different operations. In addition or alternatively, one or more of the operations of the exemplary flowcharts of Figures 5 to 7 may be combined, divided, rearranged or omitted. In some examples, the operations of FIGS. 5 to 7 are implemented by machine-readable instructions (eg, software and / or firmware) recorded on a medium (eg, a machine-readable tangible medium) to be executed by one or more logic circuits (for example, processor (s)). In some examples, the operations of Figures 5 to 7 are implemented by one or more configurations of one or more specifically designed logic circuits (eg, ASIC (s)). In some examples, the operations of Figures 5-7 are implemented by a combination of machine-readable instructions recorded on a medium (e.g., a machine-readable tangible medium) to be executed by one or more logic circuits. and one or more logic circuits specifically designed. [30] As used herein, each of the terms "machine readable tangible medium", "machine readable non-transitory medium", "machine readable record" and "object of manufacture" is expressly defined as a recording medium (for example, a hard disk tray, a universal digital disk, a compact disc, a flash memory, a read only memory, a random access memory, etc.) on which machine-readable instructions (eg, program code in the form of, for example, software and / or firmware) may be recorded. Furthermore, as used herein, each of the terms "machine readable tangible medium", "machine readable non-transitory medium", "machine readable record" and "object of manufacture" is expressly defined to exclude propagation signals. That is, as used in any claim of this patent, none of the terms "machine readable tangible medium", "machine readable non-transitory medium", "machine readable record" And "object of manufacture" can not be read to be implemented by a propagation signal. Furthermore, as used herein, each of the terms "machine readable tangible medium", "machine readable non-transitory medium", "machine readable record" and "object of manufacture" is expressly defined as a recording medium on which machine-readable instructions are recorded for any appropriate length of time (for example, permanently, for an extended period of time (for example, during the execution of a program associated with the instructions machine-readable), and / or a short time (for example, while machine-readable instructions are cached and / or during a buffering process). term "at least" is open in the same way that the term "comprising" is open. [31] The example of FIG. 5 begins with a request of the exemplary application adaptation module 100 of FIGS. 1 and / or 2 to adapt the heritage application example 104 to be executed on the platform. target calculation form 108 (block 500). In the illustrated example, the legacy application 104 is specific to a platform for the heritage computing platform 110 and conforms to ΓΑΡΙ of the heritage computing platform 110. In the example of FIG. adaptation application module 100 obtains a code (for example, a source code and / or compiled binary) from the legacy application 104 and identification data representative of the identity of the target computing platform 108 (block 502). The application adaptation module 100 can obtain for example information indicating that the target computing platform 108 uses a particular operating system and / or structure. [32] In the example of FIG. 5, the API 200 set substitute of FIG. 2 generates a platform-independent representation (e.g., the platform-independent representation 300 of FIGS. or 4) of the patrimonial application 104 in accordance with ΓΑΡΙ of the heritage calculation platform (block 504). The independent representation of the legacy application platform 104 generated by the API 200 set substitute example satisfies the API signature of the legacy computation platform 110 but is non-functional. An exemplary implementation of block 504 is described below in relation to FIG. 6. [33] In the example of FIG. 5, the adapter example 202 of FIG. 2 adapts the platform-independent representation of the legacy application 104 to be specific to a platform for the platform. target calculation form 108 (block 506). The target application 112 generated by the adapter 202 is functional, compliant with ΓΑΡΙ of the target computing platform 108 and differs from ΓΑΡΙ from the heritage computing platform 110. An example of implementation of the block 506 is described below in relation to FIG. 7. [34] In the example of Fig. 5, the exemplary application adaptation module 100 provides the target application 112 to the target computing platform 108 (block 508). In some examples, the application adaptation module 100 compiles the target application 112 before providing the target application 112 to the target computing platform 108. In some examples, one or more aspects of the compilation are executed. by the example of target computing platform 108. The example of application adaptation module 100 determines whether additional adaptations of the legacy application 104 have been requested (block 510). If one or more additional adaptations of the patrimonial application 104 have been requested (block 510), the command passes to block 506. If no additional adaptation of the patrimonial application 104 has been requested (block 510), the example of Figure 5 ends (block 512). [35] Fig. 6 illustrates an exemplary implementation of block 504 of Fig. 5, which corresponds to the generation of the platform-independent representation (e.g., the independent representation of platform 300 of the figures 3 and / or 4) of the legacy application 104. In the example of FIG. 6, the API 200 set substitute identifies library references (e.g., DLL references) corresponding to ΓΑΡΙ of the Heritage Computing Platform 110 (block 600). For example, the API 200 set substitute scans the legacy code to identify library references and / or library reference sets. In addition, the API set substitute 200 of FIG. 2 replaces the identified library references with different library references obtained from the virtual library 208 (block 602). The different library references of the platform independent representation conform to the plate of the heritage computing platform 110, but are abstract and non-functional. Accordingly, in the example of Figure 6, the API 200 set substitute verifies that the new library references that have replaced the legacy library references satisfy the signature of the computing platform API. 110. In the example of Figure 6, the control returns to block 506 of Figure 5 (block 606). FIG. 7 illustrates an exemplary implementation of block 506 of FIG. 5, which corresponds to the adaptation of the platform-independent representation of the legacy application 104 to be specific to a platform. for the target computing platform 108. In the example of Fig. 7, the adapter 202 determines whether the independent translator of the platform 206 is to be used for immediate adaptation (block 700). This determination is based, for example, on the fact that the legacy application 104 must be adapted to multiple target computing platforms. However, additional or different criteria (eg, user preference, default settings, etc.) for the determination are possible. If the independent translator of the platform 206 is to be used (block 702), the example of an API 200 substitute provides the platform-independent representation of the legacy application 104 to the independent translator of the platform 206, which translates the independent representation of the legacy application platform into a platform-independent application (for example, the platform-independent application 400 of Figure 4) (block 704). In the example shown, the platform-independent application conforms to the cross-platform (for example, compliant with any mobile computing platform) and is non-functional (for example, can not be directly used to run the application). In the example of Figure 7, the platform-specific translator 204 translates the platform-independent application into a target application 112 that has a functional API (for example, can be used directly to execute the application. target 112 on the target computing platform 108) satisfying the signature of ΓΑΡΙ of the heritage computing platform 110. The control then returns to block 508 of FIG. 5 (block 708). [37] Referring again to block 702, when the independent platform translator 206 is to be used, the control proceeds to block 710. In such cases, the example of API 200 substitute set provides the platform-independent representation of the legacy application 104 to the platform-specific translator 204, which translates the platform-independent representation into the target application 112. The control then proceeds to block 508 of the figure 5 (block 708). [38] FIG. 8 is a representative block diagram of an exemplary logic circuit that can be used to implement, for example, the application adaptation module 100 of FIGS. 1 and / or 2. The circuit example The logic of FIG. 8 is a processing platform 800 capable of executing instructions for, for example, implementing the exemplary operations of FIGS. 5, 6 and / or 7. [39] The exemplary processing platform 800 of Figure 8 includes a processor 802 such as, for example, one or more microprocessors, controllers, and / or any type of suitable processor. The exemplary processing platform 800 of FIG. 8 comprises a memory (for example, a volatile memory, a non-volatile memory) accessible by the processor 802 (for example, via a memory controller). . The exemplary processor 802 interacts with the memory 804 to obtain, for example, machine-readable instructions stored in the memory 804 corresponding for example to the operations of FIGS. 5, 6 and / or 7. In addition or alternatively, Machine-readable instructions corresponding to the exemplary operations of Figures 5, 6 and / or 7 may be recorded on one or more removable media (e.g., a compact disk, a universal digital disk, a removable flash memory, etc.) can be coupled to the processing platform 800 to provide access to the machine-readable instructions stored thereon. [40] The exemplary processing platform 800 of FIG. 8 includes a network interface 806 to allow communication with other machines via, for example, one or more networks. The exemplary network interface 806 includes any suitable type of suitable communication interface (s) (e.g., wired and / or wireless interfaces) configured to operate in accordance with one or more any suitable protocols. [41] The exemplary processing platform 800 of Fig. 8 has input / output (I / O) interfaces 808 for allowing user input reception and output data communication to be provided. the user. [42] Although some examples of devices, processes and objects of manufacture have been described here, the scope of coverage of this patent is not limited thereto. On the contrary, this patent covers all the devices, processes and objects of manufacture really belonging to the scope of the claims of this patent.
权利要求:
Claims (12) [1" id="c-fr-0001] A method of adapting an application comprising: generating, via a logic circuit, a platform-independent representation (300) of a specific application to a first platform; the specific application to a first platform being specific to a first mobile platform, the independent representation of the platform (300) of the application specific to a first platform being in accordance with a first API of the first mobile platform; and adapting, through the logic circuit, platform-independent representation (300) of the platform-specific application to platform-specific to a second mobile platform different from the first mobile platform. [2" id="c-fr-0002] The method of claim 1, wherein the platform-independent representation (300) of the first platform-specific application is non-functional prior to adaptation of the platform-independent representation (300). ) of the specific application to a first platform to be platform-specific for the second mobile platform. [3" id="c-fr-0003] The method of claim 1, wherein adapting the platform-independent representation (300) of the specific application to a first platform-specific platform for the second mobile platform comprises translating the first independent representation of the platform (300) of the specific application to a first platform into a specific application to a second platform including a second API different from the first API, the second API being conform to the second mobile platform. [4" id="c-fr-0004] The method of claim 3, further comprising adapting the independent representation of the platform (300) of the specific application to a first platform to be specific to a platform, to a third platform. mobile platform different from the first mobile platform and the second mobile platform by translating the first platform independent representation (300) of the platform-specific application into a specific application to a first platform; third platform including a third API different from the first and second API, the third API being compliant with the third mobile platform. [5" id="c-fr-0005] The method of claim 1, wherein adapting the platform-independent representation (300) of the specific application to a first platform-specific platform for the second mobile platform comprises : translating the independent representation of the platform (300) of the specific application to a first platform into a platform-independent application (400) including a second API different from the first API, the second API is independent of the platform; and translating the platform-independent application (400) into a second platform-specific application including a third API different from the first and second APIs, the third API being compliant with the second mobile platform. [6" id="c-fr-0006] The method of claim 5, further comprising adapting the platform-independent representation (300) of the specific application to a first platform to be specific to a platform, a third platform mobile platform by translating the platform-independent application (400) into a third platform-specific application including a fourth API different from the first, second and third APIs, the fourth API being compliant with the third platform; mobile form. [7" id="c-fr-0007] The method of claim 5, wherein: the platform-independent representation (300) of the first platform-specific application is non-functional prior to adaptation of the platform-independent representation ( 300) of the platform-specific application to be platform-specific for the second mobile platform; and the second API is non-functional. [8" id="c-fr-0008] The method of claim 1, wherein the platform independent representation (300) of the first platform specific application is comprised of a plurality of objects in memory. [9" id="c-fr-0009] The method of claim 8, wherein the objects in memory can not be used directly to perform the application functionality specific to a first platform. [10" id="c-fr-0010] The method of claim 1, wherein adapting the platform-independent representation (300) of the specific application to a first platform-specific platform for the second mobile platform comprises generating a second platform-specific application that is specific to the second mobile platform. [11" id="c-fr-0011] A machine-readable tangible medium comprising instructions which, when executed, cause a machine to perform a method according to any one of claims 1 to 10. [12" id="c-fr-0012] A device comprising: a substitute for generating a platform-independent representation (300) of a specific application to a first platform, the specific application to a first platform being specific to a first platform mobile, platform-independent representation (300) of the first-platform-specific application conforming to a first API of the first mobile platform; and an adapter (202) for adapting the independent representation of the platform (300) of the specific application to a first platform to be specific to a platform, to a second mobile platform different from the first platform. mobile form, wherein at least one of the substitute or adapter (202) is implemented through a logic circuit.
类似技术:
公开号 | 公开日 | 专利标题 US9088479B2|2015-07-21|Automatically selecting appropriate platform to run application in cloud computing environment US8972967B2|2015-03-03|Application packages using block maps US20160309003A1|2016-10-20|Context-Based Selective Downloading of Application Resources KR101643022B1|2016-07-26|Catalog-based software component management FR3040222A1|2017-02-24|METHODS AND DEVICE FOR ADAPTATION OF HERITAGE APPLICATIONS TO TARGET PLATFORMS US9405523B2|2016-08-02|Automated build and deploy system US10102354B2|2018-10-16|Integrated application feature store US20180210949A1|2018-07-26|Compiling extract, transform, and load job test data cases US10776740B2|2020-09-15|Detecting potential root causes of data quality issues using data lineage graphs US20110321014A1|2011-12-29|Testing compatibility of a computer application EP3005160A1|2016-04-13|Bundle package retrieving US9678767B2|2017-06-13|Unified extensible firmware interface | driver and protocol EP3619661A1|2020-03-11|Micro-service framework derived from third party apps EP3005097A1|2016-04-13|Resource package indexing EP3005100A1|2016-04-13|Bundle package generation US10620929B2|2020-04-14|Evaluating gates for software in pipeline delivery CN102135893A|2011-07-27|Method for integrating operating system on BIOS | chip and starting operating system on server US20190370471A1|2019-12-05|Systems and methods for patching vulnerabilities US11010276B2|2021-05-18|Configurable code fingerprint KR20160013883A|2016-02-05|Bundle package signing US20170109541A1|2017-04-20|Identifying and tracking sensitive data US9921827B1|2018-03-20|Developing versions of applications based on application fingerprinting US9639340B2|2017-05-02|System and method of loading virtual machines US20180253316A1|2018-09-06|Capturing pre-fetch blocks of an operating system to improve boot performance in a cloud environment US20120216283A1|2012-08-23|Method and system for disabling malware programs
同族专利:
公开号 | 公开日 US20170052780A1|2017-02-23| WO2017034634A8|2017-07-06| WO2017034634A1|2017-03-02|
引用文献:
公开号 | 申请日 | 公开日 | 申请人 | 专利标题 US6609248B1|1999-06-30|2003-08-19|Microsoft Corporation|Cross module representation of heterogeneous programs| US7296913B2|2004-07-16|2007-11-20|Technology Assessment Group|Light emitting diode replacement lamp| US20060129972A1|2004-11-30|2006-06-15|Tyburski John C|Application developer and method for generating platform independent code| US7561053B2|2005-08-10|2009-07-14|Cias, Inc.|Sequenced antenna array for determining where gaming chips with embedded RFID tags are located on a blackjack, poker or other gaming table and for myriad other RFID applications| US20070250828A1|2005-11-16|2007-10-25|Tseitlin Ariel D|Portable libraries| US8171470B2|2006-08-29|2012-05-01|Adobe Systems Incorporated|Software installation and support| EP2558921A4|2010-04-15|2014-07-23|Itr Group Inc|Cross-platform application framework| US10521209B2|2015-05-12|2019-12-31|Phase Change Software Llc|Machine-based normalization of machine instructions|CN105573764B|2015-12-24|2019-03-22|北京大学|A kind of Android application reconstructing method towards smartwatch| US10579347B2|2017-11-03|2020-03-03|International Business Machines Corporation|Self re-encoding interpreted application| US11163475B2|2019-06-04|2021-11-02|International Business Machines Corporation|Block input/outputaccesses in the presence of a storage class memory|
法律状态:
2017-07-19| PLFP| Fee payment|Year of fee payment: 2 | 2018-07-20| PLFP| Fee payment|Year of fee payment: 3 | 2018-11-09| PLSC| Search report ready|Effective date: 20181109 | 2018-11-30| PLSC| Search report ready|Effective date: 20181130 |
优先权:
[返回顶部]
申请号 | 申请日 | 专利标题 US14/832,359|US20170052780A1|2015-08-21|2015-08-21|Methods and Apparatus to Adapt Legacy Applications to Target Platforms| 相关专利
Sulfonates, polymers, resist compositions and patterning process
Washing machine
Washing machine
Device for fixture finishing and tension adjusting of membrane
Structure for Equipping Band in a Plane Cathode Ray Tube
Process for preparation of 7 alpha-carboxyl 9, 11-epoxy steroids and intermediates useful therein an
国家/地区
|