Interactive tutorial integration

By parsing and mapping tutorial files, interactive instruction codes within software applications are generated, which solves the problem of separation of tutorials and application contexts in the existing technology, realizes interactive tutorial integration within software applications, and improves user experience and learning efficiency.

CN110286967BActive Publication Date: 2024-10-25ADOBE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201811236758.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-03-19
Filing Date
2018-10-23
Publication Date
2024-10-25
Estimated Expiration
2038-10-23

AI Technical Summary

Technical Problem

Existing technologies make it difficult to effectively provide interactive tutorials in software applications, especially complex software applications, making it difficult for users to understand and use specific functions of the software. Tutorials are usually provided in a context separate from the application, causing users to frequently switch contexts. Increased difficulty of use.

Method used

By parsing tutorial files in hierarchical format, performing mapping of tutorial attributes to application features of software applications, and generating executable instruction codes for local instruction services, interactive tutorial integration within software applications is realized and an integrated interactive learning experience is provided.

Benefits of technology

It realizes the provision of interactive and integrated tutorial experience locally in the software application, reduces the user's switching between different contexts, improves the learning efficiency and convenience of use, and enhances the guidance of the use of the software application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110286967B_ABST
    Figure CN110286967B_ABST
Patent Text Reader

Abstract

A tutorial for a given application can be utilized to generate executable code that can then be executed within the application's local instruction service. In this manner, the software application can therefore provide an integrated interactive learning experience for the user in a manner that goes beyond the instruction content included in the local instruction service, i.e., includes at least a portion of the instruction content of the tutorial.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to tutorial integration for a software application. Background Art

[0002] The ability of software developers to develop software applications with complex and extensive features often exceeds the ability of users to acquire the knowledge and expertise to exploit these features. As a result, users may be aware that a desired result is possible, but may not be able to generate the desired result. In other cases, users may not even know that the desired result is achievable.

[0003] Software developers often attempt to mitigate these difficulties, for example, by providing instructions for using the software application being developed. In some cases, instructions may be provided in the context of the relevant software application, such as by providing interactive instructions that appear within and are generated by the software application itself. However, providing such instructions is often difficult and time consuming. Furthermore, software applications may have uses developed over time by various users that were not explicitly envisioned by the original software developer.

[0004] For these and other reasons, software applications, especially complex software applications, are often provided with tutorials that provide explanations and instructions for the software application. For example, a third party may independently create a tutorial for a software application and provide the tutorial to users of the software application to assist the user in utilizing the software application.

[0005] These tutorials may take the form of static web pages or instructional videos. While the content of such tutorials can be very useful and instructive, the form and structure of such tutorials can vary widely. Furthermore, these tutorials are often outside the context of the relevant software application, requiring context switching between the tutorial and the application, as well as other related inconveniences. Summary of the invention

[0006] According to one general aspect, a computer program product is tangibly implemented on a non-transitory computer-readable storage medium and includes instructions. The instructions, when executed by at least one computing device, are configured to cause the at least one computing device to: parse a tutorial file obtained from a web page and structured in a hierarchical format, the tutorial file representing a tutorial provided by the web page for a software application, wherein tutorial attributes are specified relative to corresponding values ​​of the tutorial attributes, the values ​​including at least one instruction included in the web page for using the software application. The instructions, when executed, are also configured to perform a mapping of the tutorial attributes to application features of the software application, and to generate instruction code executable by a local instruction service of the software application based on the mapping, for generating at least one instruction element within the software application, the at least one instruction element identifying at least one of the application features, the at least one application feature configured to support completion of the at least one instruction.

[0007] According to another general aspect, a computer-implemented method includes parsing a tutorial file obtained from a web page and structured in a hierarchical format, the tutorial file representing a tutorial provided by the web page for a software application, wherein tutorial attributes are specified relative to corresponding values ​​of the tutorial attributes, the values ​​comprising at least one instruction included in the web page for using the software application. The computer-implemented method may also include performing a mapping of the tutorial attributes to application features of the software application, and generating instruction code executable by a local instruction service of the software application based on the mapping for generating at least one instruction element within the software application, the at least one instruction element identifying at least one of the application features, the at least one application feature being configured to support completion of the at least one instruction.

[0008] According to another general aspect, a system includes: at least one memory including instructions; and at least one processor operably coupled to the at least one memory and arranged and configured to execute instructions, the instructions when executed causing the at least one processor to input a tutorial file including ordered instructions for performing application functions of a software application and mapping the ordered instructions to corresponding application features of the software application. The at least one processor may be arranged and configured to execute the instructions, the instructions when executed generating instruction code executable by a native instruction service of the software application and configured to support interactive execution of the corresponding application features within the application to implement the ordered instructions and perform the application functions.

[0009] The details of one or more implementations are set forth in the accompanying drawings and the description below. Other features will be apparent from the description and drawings, and from the claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 is a block diagram of the system used for internal and interactive tutorial integration.

[0011] Figure 2 Pictured Figure 1 Screen shot of an example implementation of the system.

[0012] Figure 3 It is a graphic Figure 1 A flowchart of an example operation of a system.

[0013] Figure 4 is a block diagram illustrating the generation of a Portable Tutorial Format (PTF) file.

[0014] Figure 5 is a flow chart illustrating a first example of a tutorial structure model.

[0015] Figure 6 is a flow chart illustrating a second example of a tutorial structure model.

[0016] Figure 7 is a flow chart illustrating a third example of a tutorial structure model.

[0017] Figure 8 is a flow chart illustrating a fourth example of a tutorial structure model.

[0018] Fig. 9 is a flow chart illustrating a fifth example of a tutorial structure model.

[0019] Fig.10 The diagram shows Figure 1 and 4 The following is an example of a PTF file used in your system.

[0020] Fig.11 It's a picture. Figure 4 A flowchart of a detailed example implementation of a system.

[0021] Fig.12 It is a diagram showing the use of Figure 4 A block diagram of the generation of executable instruction code of a PTF file.

[0022] Fig.13 It's a picture. Fig.12 A flowchart of a detailed example implementation of a system. DETAILED DESCRIPTION

[0023] This document describes systems and techniques for providing interactive tutorial integration for software applications with native instruction services. These systems and techniques overcome existing challenges of previous systems and techniques and create or improve processes to perform related automatic processing. For example, a software application may include a native instruction service that is designed to assist users in learning how to utilize native application features, including providing users with interactive access to instruction content and associated application features. At the same time, web-based or other tutorial content may also be designed to provide additional or alternative instructional content for a software application.

[0024] As described herein, a tutorial for a given software application can be utilized to generate executable code that can then be executed within a local instruction service of the software application. In this manner, the software application can therefore provide an integrated interactive learning experience for the user in a manner that goes beyond the instruction content included in the local instruction service (i.e., including at least a portion of the teaching content of the tutorial).

[0025] The described code generation techniques utilize efficient, fast, accurate, and / or complete algorithms to provide new computer functionality. For example, the algorithm may extract tutorial content for a software application from a third-party tutorial website, including generating structured, annotated, and categorized tutorial content contained in a common or general tutorial format, referred to herein as a portable tutorial format (PTF). The algorithm may further process such a PTF file to generate executable code, which may then be included for execution within a native instruction service of a software application to provide the type of integrated interactive instructions referenced above and described in detail below.

[0026] For example, systems and techniques provide a user interface within a software application to enable a user to understand the application features of a given software application from the context of the software application itself. For example, a tutorial may instruct a user to use a specific menu, tool, or icon of a software application to obtain a desired result. Even when a user is provided with a name or general layout location, it is often difficult for a user to locate a specific menu, tool, or icon from the entire user interface of a software application. However, using the described techniques, by using a local instruction service to execute generated code obtained from a tutorial, a desired menu, tool, or icon can be highlighted or otherwise identified within the application itself.

[0027] In addition to the types of application integration just cited, the described techniques can provide an interactive learning experience for a user within a software application. For example, an original tutorial can instruct a user to perform a number of steps to obtain a desired result. Using the described techniques, a local instruction service can provide a first instruction to a user in conjunction with a first application feature, receive a corresponding input from the user, and then interactively (e.g., based on the received input) provide a second instruction to the user in conjunction with a second application feature.

[0028] To illustrate, providing a non-limiting specific example, the software application may be an editing application for editing image or video files, and may include a local instruction service that is designed to provide interactive instructions to the user to obtain the desired editing results. For example, the local instruction service may provide instructions for adding or removing image elements or changing the brightness or color of an image. At the same time, multiple tutorials may be provided with respect to the image / video editing application. For example, a tutorial may provide instructions for performing a specific type of image editing that is within the capabilities of the editing application, but is not specifically included in the instruction content of the native instruction service. As a non-limiting example, such dedicated image editing may occur within a specific setting, such as images taken at a very high magnification level.

[0029] Thus, the algorithm described can be understood as converting the contents of a dedicated tutorial into the type of PTF file referenced above, and then generating executable code from the PTF file that can be provided to the editing application's native instruction service for execution. In this way, the user can be provided with integrated, interactive, step-by-step instructions for performing the desired type of image editing from within the context of the editing application itself.

[0030] As described in detail below, example techniques include the use of various types of machine learning and associated algorithms and models. For example, such algorithms and models can be used to extract tutorial content from a tutorial website in an efficient and automatic manner, including annotating the extracted content in a manner specific to the tutorial content. Such algorithms and models can also be used to convert the extracted annotation content into a PTF file, including categorizing the annotation content into a tutorial structure in a known tutorial structure set. Such algorithms and models can also be used to determine the application features supported by a local instruction service. Such algorithms and models can also be used to determine the content of a PTF file, which corresponds to the determined application features supported by a local instruction service. In the final example, such algorithms and models can be used to generate executable code for a local instruction service, to provide an integrated, interactive instruction experience type for the tutorial content described herein.

[0031] In addition, the systems and techniques described herein advantageously improve upon the prior art. For example, as described, computer-based instructions are improved, for example, by providing computer-based instructions for utilizing application features. In addition, the systems and techniques can be used for a more automatic, more efficient, and faster solution for generating executable code for local instruction services.

[0032] Figure 11 is a block diagram of a system 100 for interactive tutorial integration. The system 100 includes a computing device 102 having at least one memory 104, at least one processor 106, and at least one application 108. The computing device 102 can communicate with one or more other computing devices via a network 110. For example, the computing device 102 can communicate with a user device 112 via the network 110. The computing device 102 can be implemented as a server, a desktop computer, a laptop computer, a mobile device such as a tablet computer device or a mobile phone device, and other types of computing devices. Although a single computing device 102 is illustrated, the computing device 102 can represent multiple computing devices that communicate with each other, such as multiple servers that communicate with each other are used to perform various functions via a network. In many of the following examples, the computing device 102 is described as or can be understood to represent a server.

[0033] The at least one processor 106 may represent two or more processors executing in parallel on the computing device 102 and utilizing corresponding instructions stored using the at least one memory 104. The at least one memory 104 represents at least one non-transitory memory computer-readable storage medium. Thus, similarly, the at least one memory 104 may represent one or more different types of memory utilized by the computing device 102. In addition to storing instructions that allow the at least one processor 106 to implement the application 108 and its various components, the at least one memory 104 may be used to store data.

[0034] The network 110 may be implemented as the Internet, but other different configurations may be used. For example, the network 110 may include a wide area network (WAN), a local area network (LAN), a wireless network, an intranet, a combination of these networks, and other networks. Of course, although the network 110 is shown as a single network, the network 110 may be implemented to include multiple different networks.

[0035] Application 108 can be accessed directly at computing device 102 by a user of computing device 102. In other implementations, application 108 can be run on computing device 102 as a component of a cloud network, where the user accesses application 108 from another computing device (e.g., user device 112) through a network such as network 110. In one implementation, application 108 can be an image editing application, as described above and described in the detailed examples below. In other implementations, application 108 can be a document creation or viewer application, a search application, a spreadsheet application, a music or audio application, or indeed any other type of software application that can benefit from the interactive tutorial integration type described herein. Application 108 can also be a stand-alone application, or an application that runs at least partially in another application such as a browser application. Of course, application 108 can also be a combination of any of the above examples.

[0036] exist Figure 1 In the example of , user device 112 is shown as including display 114 where image 116 is drawn. As described above, image 116 can be provided by an image editing application that can include at least a portion of application 108 or can utilize the capabilities of application 108 to benefit from the various tutorial integration techniques described herein.

[0037] Specifically, image 116 is merely an image of a house, which is only used to illustrate the present invention with respect to Figure 1 The following are some related concepts of the system 100. Figure 2 Application 108 is provided as a more detailed example illustration of an image editing application for editing an image.

[0038] In addition, Figure 1 , tutorial 118 represents a simplified example of a web page that includes tutorial material for using application 108, e.g., for editing image 116. In this regard, the term "tutorial" should be understood to mean virtually any such organized instructional material that is available or otherwise accessible via network 110. In practice, tutorial 118 is typically provided by a third-party provider, e.g., someone other than the provider of software application 108 and the user of user device 112.

[0039] For example, tutorial 118 may be provided by another user who wishes to share useful image editing techniques. In other examples, tutorial 118 may be provided as part of a set of tutorials for application 108 and other applications, such as when professional tutorial authors co-create and provide such tutorials. In this case, tutorials such as tutorial 118 may be found as part of such an organized collection of tutorials, e.g., indexed by topic. In other scenarios, individual tutorials may be found directly, e.g., as a result of a search performed by a user of user device 112. Other examples of tutorials 118 are provided below or will be apparent.

[0040] At the same time, the application 108 is shown to include a native instruction service 120 that executes instruction code to provide useful instructions to the user of the user device 112 when using the application 108. For example, the instruction element generator 124 is illustrated as providing instructions for specific application features of the application 108. Figure 1 In the simplified example of FIG. 1 , the display 114 is illustrated as including a selection button 126 for selecting the contrast of the image 116. In operation, the instruction element generator 124 may be configured to: for example, by highlighting or otherwise identifying the contrast button 126, such as by Figure 1 128 in the figure to provide instructions about the contrast button 126. For example, although not in Figure 1 Although not explicitly illustrated in FIG. 1 , the local instruction service 120 may provide instructions, such as “Then, select the contrast button,” followed by generating an instruction element 128 to facilitate the user's selection of the contrast button 126 .

[0041] Thus, it should be appreciated that both the tutorial 118 and the local instruction service 120 provide various advantages and challenges. For example, the tutorial provides the advantage of providing highly customized tutorial materials for users of the application 108, for example. That is, the tutorial 118 can be customized for a particular user or user category (e.g., a novice, intermediate, or advanced user), and / or can be customized based on the type of instruction given (e.g., image editing for high-speed photography or other specific contexts). In addition, the tutorial 118 can be generated and released after the time the application 108 itself is provided, so that the tutorial 118 includes material that may not be relevant or available at the time of the release of the application 108. In addition, the tutorial 118 can utilize a wider range of authors who have a high degree of skill in their respective areas of expertise and can provide tutorial materials that are targeted to the capabilities of the application 108 that may not even be known or understood by the provider of the software application 108.

[0042] On the other hand, one challenge with tutorials 118 is that tutorials 118 are often provided in a context that is separate from the operation of application 108. For example, if tutorial 118 is provided as part of a website, tutorial 118 may be provided in a browser or browser window that is separate from display 114 of application 108. In these and similar situations, a user of user device 112 may be required to switch from the context of tutorial 118 to the context of application 108, which may be inconvenient and time consuming.

[0043] Furthermore, the user may have difficulty identifying and locating the tutorial 118. Furthermore, the user may experience website delays, peripheral unexpected content, and various other inconveniences when accessing the tutorial 118.

[0044] As a final example of the difficulty of using tutorial 118 directly, it may be difficult for tutorial 118 to identify desired aspects of application 108. For example, if tutorial 118 attempts to provide instructions regarding contrast button 126, tutorial 118 may have to first provide instructions regarding how to locate contrast button 126 in the first place (e.g., by identifying a general layout location or parent menu). Given the separate context of tutorial 118, these instructions are often difficult to provide in a concise and reliable manner, may exacerbate the type of context switching mentioned above, and may generally lead to user confusion and frustration.

[0045] At the same time, the local instruction service 120 has the advantage of being included within the application 108 itself. For example, the designer or developer of the application 108 may also provide the local instruction service 120, for example, in conjunction with the release or update of the application 108. As a result, the instruction elements 128 may be provided directly within the context of the application 108, as already described.

[0046] Generally speaking, such a designer / developer of an application 108 will have access to and knowledge of the relevant features of the feature list 130 of the application 108. In this regard, and as referenced and explained in more detail below, such a feature generally refers to any relevant capability of the application 108 to which instructions may be provided, including any included tools, actions, or commands, and any associated menus, buttons, toolbars, icons, or other visual (or audio, or tactile) elements for selecting or implementing the tools, actions, or commands. Of course, an example of such a feature is a feature for adjusting image contrast implemented by the contrast button 126.

[0047] To address the challenges noted above and others, and to take advantage of the various benefits of tutorial 118 and local instruction service 120, tutorial manager 132 is configured to, for example, locate tutorial 118, and integrate the content of tutorial 118, including generating instruction code to be included within instruction code 122. For example, if tutorial 118 includes instructions for using contrast button 126, tutorial manager 132 may generate instruction code to be included within instruction code 122 and executable by instruction element generator 124. Thus, instruction element generator 124 may generate instruction elements 128 directly within the context of display 114 and application 108, thereby taking advantage of the tutorial content of tutorial 118 and also taking advantage of the convenience of local instruction service 120.

[0048] exist Figure 1 In the remainder of the description, elements 134-150 of tutorial manager 132 are individually described as separate modules or components having specific functionality. It should be understood that such description is intended to provide non-limiting examples of these functions for purposes of explanation, but other implementations are possible. For example, any single element of tutorial manager 132 may be implemented as two or more sub-elements, as may be appropriate, or conversely, any two or more elements may be integrated and implemented as a single element, as may be appropriate. The following is a description of the remainder of the tutorial manager 132. Figure 2-13 supply Figure 1 Specific examples of implementations of or will be apparent.

[0049] exist Figure 1In the example of , the tutorial manager 132 includes a tutorial annotator 134. The tutorial annotator 134 can be configured to parse the tutorial 118 and annotate the content of the tutorial 118. For example, the tutorial annotator 134 can add metadata, tags, labels, or other annotations that define semantic meaning or other context or characteristics of one or more terms of the content of the tutorial 118. By way of specific non-limiting example, annotations can be added to identify the title or author of the tutorial 118, or a content description or subject heading.

[0050] Tutorial extractor 136 may be configured to extract the structure or structural elements of tutorial 118. That is, as described in detail below, tutorials such as tutorial 118 tend to include a version of one or more tutorial structures. Tutorial extractor 136 may include one or more templates that may be applied to tutorial 118, for example, to the output of tutorial annotator 134, to identify (e.g., further annotate) such structural elements or aspects. The resulting annotated tutorial content 138 may be stored for further processing.

[0051] Specifically, portable tutorial format (PTF) generator 140 can be configured to parse the semantic and structural annotations of annotated tutorial content 138 and generate a file having a standardized, consistent format that is applicable to (e.g., can be used to accurately and completely represent) almost all tutorials and, as described below, can be easily converted for use by local instruction service 120. The resulting file in PTF format can then be stored in PTF file 142.

[0052] Usually, and as follows about Fig.10 As shown and described in detail, the PTF file has a hierarchical format in which the structures identified in the basic tutorial are classified into one of a finite set of structural models, as shown below. Figure 5-9 In addition, the information included in the resulting PTF file can be included and stored as attribute / value pairs (eg, "Author: Rebecca Creger") to facilitate further processing.

[0053] exist Figure 1 In the example of , model trainer 144 should be understood to be configured to train multiple models and associated algorithms that can be used by, for example, tutorial annotator 134, tutorial extractor 136, and PTF generator 140. In this regard, it should be understood that in machine learning or artificial intelligence, one or more functions or algorithms are typically defined that associate inputs or input types with corresponding outputs or output types. Such algorithms / functions are trained using training data that is accepted as "ground truth" representing known, accurate relationships between the inputs / outputs being considered.

[0054] In this context, the term training generally refers to performing a series of iterative rounds of training in which optimal weight values ​​for one or more referenced algorithms / functions are determined. In determining the optimal weights, the model trainer 144 essentially makes predictions based on the training data and then measures the errors in the predictions using the ground truth available within the relevant training data set. The function used to measure such error levels is generally referred to as a loss function, which is generally designed to sum the relevant training examples and add to the calculated loss if the prediction is incorrect, or reduce / minimize the calculated loss if the prediction is correct. In this way, the model can be conceptually understood as being trained to learn the mistakes made during various prediction iterations so that the referenced resulting trained model will be fast, efficient, and accurate when deployed in the context of the tutorial manager 132.

[0055] The following example is about Figure 4 and 11 -13 provides a more detailed example of the operation of model trainer 144. In general, it should be understood that each of tutorial annotator 134, tutorial extractor 136, and PFT generator 140 can be implemented at least in part using a corresponding machine learning algorithm that is trained using model trainer 144. Of course, model trainer 144 can be understood to represent two or more model trainers, each model trainer being appropriately configured for a corresponding model being trained.

[0056] For example, for elements 134, 136, 140, model trainer 144 may use one or more known tutorial websites for which tutorial semantics and structure have been determined for inclusion in corresponding datasets and correct PTF files have been generated. These datasets may then be used as training data for training tutorial annotator 134 to annotate new tutorials, for training tutorial extractor 136 to extract content for new tutorials, and for training PTF generator 140 to generate corresponding PTF files for inclusion in PTF file 142.

[0057] Further in Figure 1142, the feature extractor 146 may be configured to identify any and all application features of the software application 108 that may be related to the one or more PTF files 142. For example, as described above, the application 108 may include a feature list 130, and the feature extractor 146 may determine at least some relevant features from the available feature list 130. However, when the feature list 130 is not available or is incomplete for the purposes of the tutorial manager 132, the feature extractor 146 may be configured to execute a machine learning algorithm (trained by the model trainer 144) to analyze the application 108 and determine potentially relevant application features. For example, the feature extractor 146 may determine application tool names, commands, menus, and other actionable elements of the application 108.

[0058] The feature mapper 148 may then use the resulting features relative to a particular one of the PTF files 142. For example, as described in detail below, the feature mapper 148 may be configured to analyze the PTF file and determine references to included menu commands or tool names or other application features of the application 108. In particular, it should be appreciated that such references may not use the proper or complete name of the corresponding application feature.

[0059] Therefore, it should be understood that the feature mapper 148 can be trained by the model trainer 144 to perform natural language processing (NLP) of the content of the PTF file to correctly identify the referenced application features. In this regard, NLP should be understood to represent or include any suitable form of machine learning for analyzing the language of the PTF file. For example, NLP can be implemented as a rule-based scheme in which specific words and phrases are identified within the text, and specific mappings to application features are assigned when those words / phrases are identified. In other examples, a large training data set can be used to construct a hierarchy of abstract levels, where each level is obtained using knowledge from an earlier level. Specifically, for example, a variety of algorithms can be used to create statistical models of data that characterize a training data set, including performing iterations using the statistical models until they reach an acceptable level of accuracy (e.g., sufficiently minimizing an error or loss function).

[0060] Finally Figure 1 In the example, the instruction code generator 150 is configured to receive the mapped features of the feature mapper 148 for a given PTF file and generate executable code that can be included in the instruction code 122 and executed by the local instruction service 120 (e.g., via the instruction element generator 124). For example, as described in detail below, the PTF file can be converted into a Javascript Object Notation (JSON) object, which can have a similar hierarchical structure as the PTF file, but represents the relevant application features required to execute the instructions of the original tutorial 118.

[0061] Although an example of a JSON object is given in which a subset of the JavaScript programming language is used, it should be understood that other data exchange language formats may be used to generate the instruction code. The choice of language may depend in part on the language of the instruction code 122 that may be present in various software applications. For example, an extensible markup format (XML) file may be used.

[0062] In this manner, the local instruction service 120 may be modified to provide instructions to a user of the user device 112 within the context of the software application 108. For example, a developer or designer of a software application may utilize the tutorial manager 132 to update the application 108. In other examples, an administrator overseeing the use of the application 108 by multiple users may be authorized to use the tutorial manager 132 to update the software application 108. In other examples, a user of the user device 112 may be provided with the ability to identify a tutorial 118 and utilize the tutorial manager 132 to integrate the content of the tutorial 118 within the software application 108 for the type of interactive contextual tutorial experience described herein.

[0063] As just referenced, tutorials 118 may be individually identified and processed by tutorial manager 132 to include a particular topic of tutorial 118. In other implementations, multiple tutorials may be identified and integrated together. For example, a particular tutorial website may have many tutorials related to software application 108, and all tutorials use a similar set of semantics and structures. In this case, even though there may not be an immediate need for a given one of the tutorials, the group of tutorials may be integrated together for future use.

[0064] Figure 2 Pictured Figure 1 A screen shot of an example implementation of the system 100 is shown in FIG. Figure 2 In the example of , a tutorial web page 202 is illustrated and indicates, for example Figure 1 Tutorial 118. Figure 2 In the example of FIG. 1 , the tutorial webpage 202 includes multiple steps of one or more processes described by the tutorial, including Figure 2 Step 204 is shown as "Step 3" in FIG. Figure 1 The tutorial web page 202 may also include multiple advertisements and other auxiliary content. Figure 2 206. In addition, tutorial content may include images, videos, audio, or other types of files that may be examples of the subject matter of the tutorial under consideration, represented by image file 208.

[0065] exist Figure 2 In the example below, and in many examples in this article, Figure 1The software application 108 is considered to be Adobe Photoshop editing software. In such an example implementation, Figure 1 The local instruction service 120 can be understood as being represented by the Photoshop Learning Panel program native to Adobe Photoshop. Figure 2 As shown in the example of and as described in detail herein, arrow 210 illustrates and represents Figure 1 The tutorial manager 132 is used in analyzing the tutorial web page 202 and generating code executable within the associated native instruction service (Adobe Photoshop Learning Panel) of the Adobe Photoshop software application.

[0066] Specifically, tutorial annotator 134 and tutorial extractor 136 can be configured to annotate and extract the content and structure of tutorial web page 202, thereby generating a PTF file for inclusion in PTF file 142 as a result of the operation of PTF generator. Then, using the features obtained by or through feature extractor 146, feature mapper 148 can be configured to map the resulting PTF file to corresponding features of the Photoshop learning panel service. Then, instruction code generator 150 can proceed to generate instruction code for the Photoshop learning panel that can be included in instruction code 122.

[0067] As a result, image 208 of tutorial web page 202 may be included and rendered as corresponding image 212, and step 204 may be similarly included and rendered as step 214. Figure 2 As can be appreciated, image 212 and step 214 are drawn directly within the Adobe Photoshop learning panel native instruction service, so that the user does not need to switch between the context of the Adobe Photoshop software application and the context of the tutorial web page 202 in order to utilize the tutorial content of the web page 202.

[0068] Thus, for example, the user will be able to utilize and benefit from the tutorial content, including, for example, utilizing local control functions and other application features as they progress through the tutorial content. For example, the user can use the "Next" selection button of the Adobe Photoshop Learning Panel to advance from step 204 / 214 to a subsequent step in the process of the tutorial.

[0069] In addition, Figure 2In the example of , the Adobe Photoshop Learn Panel can be understood to include a feature called "coach markers" in which overlays, highlights, or other visual or audio elements are drawn in a manner designed to provide highly contextual support to users of the Photoshop Learn Panel. For example, visual indicators can be rendered in close proximity to the controls required to implement specific instructions so that the user can quickly and easily identify the desired controls. Figure 2 In the example of FIG. 2 , overlay 216 represents an example of such coaching markup and provides specific instructions regarding the operations to be performed using image 212. Figure 1 The system 100 may generate coaching marks 216 in the context of the Adobe Photoshop learning panel as a result of the corresponding underlying executable code for the coaching marks functionality having been generated by the instruction code generator 150 of the tutorial manager 132 .

[0070] Figure 3 It's a picture. Figure 1 Flowchart 300 of an example implementation of the system 100. Figure 3 In the example of , operations 302, 304, 306 are illustrated as separate sequential operations. In various implementations, additional or alternative operations or sub-operations may be included, and / or one or more operations or sub-operations may be omitted. In various implementations, any two or more operations or sub-operations may be partially or completely overlapped or parallel, or implemented in a nested, iterative, cyclic or branching manner.

[0071] exist Figure 3 In an example, a tutorial file obtained from a web page is parsed, the tutorial file representing a tutorial provided by the web page for a software application and structured in a hierarchical format, wherein tutorial attributes are specified relative to corresponding values ​​of the tutorial attributes, and the value includes at least one instruction (302) included in the web page for using the software application. For example, referring to Figure 1 , such tutorial files may include a PTF file of PTF file 142 that represents tutorial 118 and includes at least one instruction included in tutorial 118 for using software application 108. Tutorial attributes as described herein may include, for example, tutorial actions, commands, tools, processes, steps, or other features determined to be associated with a tutorial. A software application may be associated with corresponding hardware features of a device running the software application.

[0072] Mapping of tutorial attributes to application features of the software application may be performed (304). For example, Figure 1The feature mapper 148 may be configured to perform such mapping. In this context, it should be understood that some of the tutorial attributes will not include values ​​that map directly to application features of the application 108. For example, a tutorial attribute such as "author" will not correspond to a specific tool or task of the application 108. On the other hand, as described above and in detail below, instructions for the tutorial 118 for using the application 108 may include language that references the tasks of the tutorial and the associated tools of the application 108 for completing such tasks. Therefore, the feature mapper 148 is configured to determine the correspondence between specific instructions of the tutorial 118 and corresponding tools and other elements of the application 108, as well as the relationship between them.

[0073] Thus, instruction code may be generated based on the mapping, the instruction code being executable by a local instruction service of the software application to generate at least one instruction element within the software application, wherein the at least one instruction element identifies at least one application feature of the application feature, the at least one application feature being configured to support completion of the at least one instruction (306). For example, Figure 1 The instruction code generator 150 of the application 108 may be configured to generate instruction code to be included in the instruction code 122 of the local instruction service 120 of the application 108. As a result, the local instruction service 120 may be configured to generate instruction elements, such as Figure 1 The instruction elements 128 illustrated in the display 114 of the embodiment of the present invention are shown in FIG. Of course, for the sake of illustration, the instruction elements 128 represent simplified examples, and additional more detailed examples of these instruction elements are described above with respect to FIG. Figure 2 and are provided in the following description. For example, the instruction element may include Figure 2 Instructions provided in 214, and Figure 2 The instructions within the coach mark 216. The image 212 can also be considered a tutorial element because it Figure 2 The original tutorial 202 is used in the tutorial example.

[0074] More generally, as described herein, reference to a software application may reference any software application that, for example, includes a built-in or in-application tutorial player, and / or otherwise supports a mode in which a user may interact with a browser application that supports such a tutorial player, referred to herein as local instruction service 120. The tutorial may also include, for example, a video file from which narrative text and selected image frames are extracted.

[0075] Therefore, it should be understood that Figure 1 System 100 and Figure 3The example operations associated with the system 100 provide many advantages to developers, administrators, and users of the system 100. For example, developers and administrators of the system 100 may be able to identify suitable tutorials included within the native instruction service 120 without requiring a single user to make a single determination regarding the existence, availability, relevance, or quality of a desired tutorial. In addition, users need not follow web-based instructions in a separate browser, but may instead view and interact with tutorial content in a desired context. For example, users may use their own assets (e.g., image assets) to operate in the context of specific menu commands and tools of the software application 108 itself, or in the context of a user's specific workflow.

[0076] In addition, the techniques described herein support the capture and representation of the structure and semantics of tutorials such as tutorial 118. Such tutorials typically have a large number of operational steps with varying levels of detail and complexity. Such tutorials also typically contain rich metadata that is not captured by the system or available for future use.

[0077] Furthermore, writing and providing instruction code 122 using conventional techniques can be a labor-intensive and expensive endeavor. For example, system 100 can enable developers of applications 108 and third-party content generators to automatically import high-quality tutorials into a standard canonical tutorial representation of a PTF file 142, which can be easily converted into executable instruction code 122 for use within a local instruction service 120, as well as other local instruction services of other software applications compatible with tutorial manager 132.

[0078] As a result, the described technology automatically captures first web tutorials across different website domains for representation within the PTF format, which preserves all semantics and multi-level structure of any corresponding tutorials. The captured tutorials can be executed in a product-specific tutorial player system, such as the one referenced above. Figure 2 The learning panel system of the reference enables the tutorial to be an interactive and in-application experience that can be quickly deployed for various products. In addition, by generating new instruction code to be included in the instruction code 122, additional or alternative features of the local instruction service 120 can be implemented.

[0079] For example, the user may be given the option of continuing with one or more "next steps" of the tutorial, thereby allowing for sequential or separate processes or steps, as described below with reference to Figure 5-9as referenced and illustrated. In addition, a mechanism can be provided to indicate the controls and optionality of a given tutorial step (e.g., required or optional), thereby allowing different degrees of tutorial effectiveness to be accomplished. A mechanism can be provided to indicate and select the difficulty level of the tutorial relative to the user's skill level (e.g., basic, intermediate, or advanced). The expected total duration of the tutorial can also be indicated. As a final example, support can be provided for indicating and defining important terms mentioned in the tutorial to increase terminology learning during the tutorial.

[0080] Figure 4 It's a picture. Figure 1 100. Specifically, Figure 4 is a block diagram illustrating a more detailed example implementation of tutorial annotator 134 , tutorial extractor 136 , and PTF generator 140 .

[0081] As shown, Figure 4 A tutorial website 402 and a tutorial website 404 are illustrated. A custom tutorial document object model (DOM) parser 406 is illustrated with respect to tutorial website 402, while a custom tutorial DOM parser 408 is illustrated with respect to tutorial website 404. As described in detail below, parsers 406, 408 represent high-level, structured text extraction pipelines that are configured to parse the corresponding tutorial websites 402, 404 despite the fact that the tutorial websites may have different tutorial formats and different levels of hierarchy. Figure 4 In the example of FIG. 4 , it is assumed that the tutorial websites 402 and 404 represent relatively large-scale tutorial websites, which include Figure 1 Many individual tutorial web pages and associated tutorials for software applications 108 of the same, and possibly other software applications. In such a scenario, the various tutorial web pages may have similar semantics and structures as a result of being included in the corresponding website.

[0082] So, for example, you can use Figure 1 The model trainer 144 trains the customized tutorial DOM parser 406 to parse the tutorial website 402 and perform customized text mining of the website 402. For example, extraction templates can be learned and constructed, and then applied to the desired web pages of the tutorial website 402.

[0083] In more detail, for example, the customized tutorial DOM parser 406 can be configured to transform the tutorial content into a dedicated Markdown markup representation, where the content is represented by the above-mentioned Figure 1 Describe and below about Fig.11 The methods described in more detail are annotated.

[0084] Through the use of the model trainer 144, the customized tutorial DOM parser 406 can be configured to obtain the structure of the tutorial content based on the markdown language annotations, such as the process level hierarchy or the step level hierarchy. The obtained annotated tutorial content and structure can be classified according to the existing tutorial model structure library. Figure 5-9 Examples thereof are provided.

[0085] Figure 4 Tutorial websites 410, 412, 414 are further illustrated, which generally represent a large number of tutorial websites that are available on the Internet but for which custom parsers have not yet been built. In such a scenario, a clone of the basic template can be constructed for each new tutorial website 410, 412, 414 using a base extractor and associated templates for annotation, parsing, classification, and extraction of the content of the corresponding tutorial website. For example, the model trainer 144 can be configured to implement a one-time learning process of the tutorial structure of the tutorial website 410 from the Markdown markup representation of the content of the obtained tutorial website, and thereby accelerate the cloning process of the base template. Therefore, the configuration of a general tutorial DOM parser 416 for a specific tutorial website can utilize existing logic to perform web crawling, HTML extraction, and Markdown tag generation that has been used with respect to the parsers 406, 408.

[0086] In addition, Figure 4 , a PTF generator 418 is configured to receive all extracted, annotated tutorial content in any of the various formats of tutorial websites available on the Internet (represented by tutorial websites 402, 404, 410-414) and generate a PTF file 420. It can be observed that the PTF file 420 represents a standardized universal format regardless of the original tutorial format of the represented tutorial content.

[0087] In an example implementation, the PTF generator 418 may be trained by the model trainer 144 to classify the structure of each tutorial into, for example, Figure 5-9 One of the five example structures. Figure 4 As shown in the simplified example PTF file 420 of Fig.10 For a more detailed description of an example PTF file, the PTF file 420 may be generated in a hierarchical format that generally corresponds to the hierarchical structure of the basic tutorial, as shown in Figure 5-9 captured in one of the structural models.

[0088] For example, the PTF generator 418 can process the type of hierarchy observed within various tutorials by analyzing the tutorial content using a bottom-up model. For example, the PTF generator 418 can begin by identifying individual sentences and then identifying references within the sentences to other sentences. Related sentences can be grouped into steps to determine the step divisions. Similarly, steps can be grouped into processes for determining process structure, so multiple processes can be determined and enumerated. In this way, the tutorial hierarchy can be determined.

[0089] As referenced, PTF file 420 illustrates a simplified example of the type of hierarchical format described herein. As shown, header 422 may reference title 424, description 426, and one or more assets 428 of the underlying tutorial. That is, each of header 422, title 424, description 426, and assets 428 represent properties of the base tutorial and the general tutorial, and will have specific values ​​for those properties assigned as part of the PTF generation process. For example, description 426 may be obtained from the description field of the underlying web page, or may be generated using PTF generator 418. Assets 428 may represent specific files, such as images or video files, used within the tutorial, such as illustrations or instructions.

[0090] As described above, the instruction hierarchy of the tutorial may be captured as a process 430 having an associated description 432 and a plurality of steps 434. As shown, each step may include text 436 before / after an image 438, and various tools / commands 440 for use in conjunction with the corresponding step. It will be appreciated at this stage that the tools / commands 440 may not be expressed in terms of specific tools or commands of the software application 108. For example, the PTF file 420 may be constructed in a manner that is generic with respect to two or more software applications and associated native instruction services, such that the PTF file 420 may be used to generate instruction code for one or both of these applications.

[0091] In other cases, even when utilizing PTF files 420 primarily with respect to a particular application, it may occur that the tools and commands expressed may be included in a manner that is not highly specific with respect to the corresponding tools and commands of the software application itself. For example, the names of the tools and commands may be provided in an informal, imprecise, or potentially ambiguous manner with respect to the corresponding features of the feature list 130 of the application 108.

[0092] Techniques for disambiguating and otherwise clarifying and understanding tools and commands 440 are provided below. Figure 4 , it should be understood that the hierarchical format of the PTF file 420 still captures the instruction sequence of the content of the underlying tutorial in a standardized, general manner. In addition, of course, although not in Figure 4Although not explicitly illustrated in the simplified example of FIG. 4 , it should be understood that the PTF file 420 may include multiple processes, possibly included in an even higher level hierarchy, such as sub-tutorials, chapters, or other designated content groupings.

[0093] Figure 4 Also illustrated is an index search 442 as an example of an additional or alternative use of the PTF file 420. Specifically, for example, the index search 442 may represent a web service that supports searching of tutorials or other web pages. Since the PTF file 420 includes annotations and other details about the semantics and structure of the corresponding base tutorial, the index search 442 supports providing searches for these attributes and associated values.

[0094] As mentioned above, Figure 5-9 4 illustrates examples of tutorial structure types that may be classified in conjunction with generating a PTF file 420. Specifically, Figure 5 The diagram illustrates a combined, sequential structure with a one-level, non-hierarchical step structure. In other words, as shown, after the initial node 502, the steps proceed in a simple sequence of steps 504, 506, 508, and 510. For example, Figure 5 An example of can be implemented in a scenario where a first instruction corresponding to step 504 is provided to a user, the user complies with the instruction, and subsequent instruction 506 has been provided. Thus, for example, each of steps 504-510 can be associated with a single task, tool, action, or command associated with a corresponding application feature of application 108.

[0095] exist Figure 6 In the example of , a structure with combined sequential steps is illustrated, wherein any particular step may include sub-steps, for example, may include multiple sentences and associated tools, tasks or other actions. As illustrated, after the initial node 602, the instruction may proceed to step 604. As shown, before the structure proceeds to step 610, step 604 may have sub-steps 606, 608, followed by step 612. As shown, step 612 has sub-steps 614, 616, 618, so the structure ends with a final step 620.

[0096] therefore, Figure 5 and 6 An example of a combined structure is provided where all steps and sub-steps are required in order to proceed to a subsequent step or sub-step. Figure 7 A separate structural model is illustrated so not all steps or sub-steps are required. For example, a user can make a choice about which step to perform next.

[0097] As shown, after the initial node 702, the user can proceed to step 704, which may include sub-steps 706, 708. Alternatively, the user can proceed to step 710, or to step 712. As shown, step 712 includes sub-steps 714, 716, 718. The final option is represented as step 720. Figure 7 As can be appreciated from the example of , a user can start with any of steps 704, 710, 712, 720, and then proceed to the subsequent steps and / or sub-steps, if any. More generally, a user can have the option of selecting from any of steps 704, 710, 712, 720 and any included sub-steps, and need not follow any particular order, or complete any particular number or percentage of the steps.

[0098] exist Figure 8 In the example of FIG, a structural model is illustrated in which sequential steps can be grouped into processes. As shown, after the initial node 802, the first process 804 can include step 806, which itself can include sub-steps 808, 810, 812. The process 804 can also include steps 814, 816, 818. A subsequent process 820 can follow the first process 804 and ultimately lead to a final process 822.

[0099] Fig. 9 A final non-limiting example of the types of structural models that may be used when generating a PTF file 420 is provided. As shown, Fig. 9 Similar to Figure 8 , but provides a separate example of a process structure with steps and potential sub-steps. As shown, after the initial node 902, the process 904 may include step 906, which includes sub-steps 908, 910, 912. The process 904 also includes steps 914, 916, 918. Fig. 9 The example also includes processes 920 and 922. Similar to Figure 7 , processes 904, 920, 922 should be understood as alternative or optional processes that may be selected by a user and may be performed in the order shown or in a different order.

[0100] For example, in some scenarios, a particular process or instruction may be designated as optional. Similarly, in other examples, a particular process or step may be associated with a level of skill or experience of a designated user. For example, a particular process or step may be designated for implementation by an expert user, but designated for skipping by a novice or intermediate user.

[0101] Fig.10 is an example of a file portion 1000 of a PTF file, such as Figure 4 PTF file 420. Fig.10 In the example of , header 1002 includes row 1004 where the attribute author has a value of "Rebecca Creger". Row 1006 provides an example of an attribute of an author URL and an associated value for a particular website link. Thus, the website link provides an example of a resource that can be accessed by a user even when operating in the context of application 108. Further, for example, it will be understood that the information and values ​​from rows 1004 and 1006 can be provided by local instruction service 120. For example, when providing tutorial content within the context of local instruction service 120 and application 108, it may be necessary and desirable to provide attribution to the author or other source of the tutorial content. Of course, as also described herein, the inclusion of author and related or similar metadata also supports indexing and searching of these included attributes.

[0102] Further in Fig.10 , line 1008 supports the inclusion and identification of the category of the base tutorial, while line 1010 supports the inclusion of the origin date of the tutorial. Line 1012 provides for the inclusion of header text, as shown in header text 1013. As shown, text 1013 can provide a description of the topic of the tutorial. Meanwhile, line 1014 references the URL of a resource used by the tutorial in question, in this case an example of a URL for a "before" image used in this tutorial. Line 1016 provides an identifier for the procedure, "proc_ID." Line 1018 "Using Adjustment Layers" provides a title for the tutorial. Line 1020 provides a type designation for the tutorial, such as "Tutorial." Finally, relative to header portion 1002, line 1022 provides for the inclusion of a source URL for the tutorial. Additionally, when implementing Figure 1 When the system 100 is used, the source URL of line 1022 may be provided for reference and attribution purposes (e.g., for copyright protection purposes).

[0103] Further in Fig.10 , line 1024 specifies the beginning of the course listing for the tutorial. Section 1026 provides the name and overview of the course, as well as the Figure 5-9 The previous examples of specify the role of the process as either combined or separated. Specifically, Fig.10 The designation of "any" in the example of specifies a separate set of, for example, optional steps within a process. In other examples, specifying a process rule as "all" specifies a list of combined processes.

[0104] Line 1028 specifies the beginning of a list of steps for the process in question. As shown, line 1030 includes the name of the first included step, while line 1032 specifies the step as required or not required. Line 1034 specifies the beginning of a list of sentences within the step.

[0105] like Fig.10As shown in , row 1035 indicates a portion for characterizing each sentence regarding the reference steps included within the PTF object. In this regard, as described below with respect to Fig.12 and 13 As described in detail, such PTF objects represent candidates that may be mapped to one or more of a plurality of application features of a corresponding software application, such as menu commands, tool names, icons, panels, gallery names, and other application features. Accordingly, each such PTF object may have a PTF object ID that is determined from a master dictionary of application features of the corresponding application, examples of which are provided below in order to provide a consistent and unified method for referencing selected commands of the software application in question (e.g., Adobe Photoshop).

[0106] Specifically, as shown, portion 1036 characterizes sentences about PTF objects related to brightness or contrast, including characterizing the PTF object as being related to a tool for changing brightness / contrast within application 108, such as has been described about Figure 1 and referenced by contrast button 126 of display 114. As shown, a confidence level can be given with respect to the confidence in the corresponding characterization sentence (e.g., normalized to rank between 0 and 1). Section 1038 illustrates that multiple PTF objects can be specified with respect to a given step and / or sentence. As shown, section 1038 references potential PTF objects associated with performing adjustment actions. Row 1030 includes the text of the reference sentence from the associated step. In this example, the sentence text references the use of brightness / contract to adjust the image.

[0107] Finally, in Fig.10 , portion 1032 references a subsequent portion of an object candidate for identifying a subsequent step sentence, including the text of the referenced sentence. Line 1034 provides a URL where the step can be located / retrieved.

[0108] Fig.11 It is a diagram about Figure 5-10 Example Figure 4 1100 of a more detailed example operation of the system. Fig.11 In the example of , a markdown markup language representation of the tutorial content is generated (1102). For example, as described above, the markdown language is a markup language and grammar that can be used to add the annotation types referenced above, and can be used to determine the attributes and associated values ​​of the tutorial content. In particular, as described, the tutorial content can have a variety of formats, structures, hierarchical levels, and other characteristics. The model trainer 144 can be configured to train the tutorial annotator 134 using an example, selected tutorial website to generate markdown markup for the tutorial content.

[0109] By analyzing the generated markdown markup annotations, the structural level of the tutorial content can be determined (1104). The tutorial content can then be extracted so that annotated structured tutorial content can be generated (1106). For example, the tutorial extractor 136 can use one or more templates for such an extraction process, including one or more templates cloned from at least one basic extraction template.

[0110] The annotated structured tutorial content can then be classified according to the tutorial structure model (1108). For example, Figure 1 The PTF generator 140 can be based on Figure 5-9 The annotated tutorial content 138 is classified into one of the five structural models. Finally, Fig.11 In the example, a PTF file (1110) for the tutorial can be generated. Figure 1 PTF generator 140 or Figure 4 The PTF generator 418 may be configured to generate Figure 4 PTF file 420, or corresponding to Fig.10 PTF file of the pseudo code.

[0111] Fig.12 It is a graphic Figure 1 A block diagram of a more detailed example implementation of the tutorial manager 132 is provided. More specifically, Fig.12 Illustration about Figure 2-11 The subsequent example Figure 1 More detailed example operations of the feature extractor 146, feature mapper 148, and instruction code generator 150 are described below.

[0112] Specifically, Fig.12 Continuing with the example, in which application 108 is represented by an Adobe Photoshop software application, and local instruction service 120 is represented by a learning panel tutorial player for Adobe Photoshop. In these examples, as already referenced, instruction code 122 may refer to a JavaScript Object Notation (JSON) object that may be executed by local instruction service 120. Thus, in Fig.12 In the example of , a JSON object 1210 is generated to be executed by the Photoshop Learning Panel tutorial player.

[0113] exist Fig.12 In the embodiment of the present invention, the Photoshop software application is used to apply one or more application feature lists to the Photoshop software application. Figure 4 The PTF file 420 is converted into executable instruction code 1210. Specifically, as described above and with reference to Fig.12 A more detailed illustration can be made using Figure 1420 and 1210. In other words, in the scenario where the associated software application provides a partial or complete list of application features, that list can be referenced by the PTF file 420 and utilized by the executable code 1210. When available, therefore, the list 1202 can be extracted from the associated application using any appropriate or available interface.

[0114] On the other hand, as described above, list 1204 may represent menu commands, tool names, and other application features that may not be (explicitly) available or provided within a list such as feature list 130. Fig.12 As illustrated in the example of , such application features can be determined heuristically and through the use of natural language processing (NLP) and other machine learning techniques.

[0115] exist Fig.12 In the example above, a mapping 1206 is determined, which is configured to convert application features such as menu commands, tool names, icons, panels, gallery names, and other application features into PTF object IDs. Fig.10 As referenced, an object ID is an element of a PTF file determined from a master dictionary for the purpose of providing a consistent and unified method for referencing selected commands of the software application in question (e.g., Adobe Photoshop). As referenced, in order to create and utilize such a mapping, the PTF generator 418 can be configured to train and implement an algorithm for learning and recognizing formal and informal (e.g., natural language) tool and command names within the tutorial content.

[0116] Using mapping 1206, converter 1208 can be configured to convert PTF file 420 to learning panel (LP) code 1210. As described, the resulting learning panel code can be executed by a learning panel tutorial player to create interaction with the user of the relevant tutorial in the context of the Adobe Photoshop software application. Such interaction can include the use of coaching markers (e.g., transparent overlays of UI prompts), as well as specific item highlighting actions performed in conjunction with user actions, such as Figure 1 The contrast button 126 is highlighted 128 in FIG.

[0117] Fig.13 It's a picture. Fig.12 A flowchart 1300 of a more detailed example operation of the block diagram of FIG. Fig.13 In the example of , the operation can start before any specific instance of the PTF file is received. Specifically, the application features supported by the local instruction service can be determined (1302). Then, a production function for the corresponding application feature can be provided (1304).

[0118] More specifically, such production functions (also referred to as callback functions) represent a library of functions designed to generate executable code for corresponding application features. As described in detail below, various of such production functions can therefore be utilized as needed during subsequent processing of converting individual instances of PTF files into corresponding code portions of instruction code.

[0119] Specifically, when a PTF file is received, the tree structure of the PTF file may be traversed (1306). For example, Fig.12 The converter 1208 can be configured to perform a recursive descent algorithm to traverse the PTF file 420, wherein parsing proceeds from the root node of the PTF file 420 to each leaf node of the PTF file 420, thereby breaking down / deconstructing the PTF file 420 and selecting portions that are specific to the relevant local instruction service 120 (e.g., the Photoshop learning panel tutorial player). That is, for example, each sentence of each step will generally be expressed in a natural language format, but will reference actions (e.g., click, select, or crop) and tools (e.g., a brush tool, a crop tool, or other Adobe Photoshop tools).

[0120] After using the mapping 1206 to identify a portion of the PTF file tree corresponding to a particular application feature (1308), the converter 1208 can proceed to identify and select a corresponding production function of the production function library (1310). Accordingly, a corresponding code segment of the instruction code 1210 can be generated by the production function (1312), and the resulting code segment can be added to the hierarchy of the corresponding local instruction service code (1314). In other words, the recursive descent traversal of the original PTF file tree preserves the structure of the PTF file tree and performs a tree-to-tree mapping that results in a corresponding hierarchical representation of the resulting instruction code 1210.

[0121] If the traversal of the PTF file tree is not complete (1316), the traversal will continue with corresponding generation (1306-1314) of relevant portions of the instruction service code 1210. Once the traversal is complete (1316), the generated code snippets can be utilized to generate executable native instruction service code 1210 (1318).

[0122] Pseudocode 1 illustrates example logic of an algorithm for creating one or more tasks to be included in the executable local instruction service code 1210. Specifically, as shown in pseudocode 1, if it is determined that the PTF object in the step sentence list does not include the tool of the corresponding local instruction service / learning panel tutorial player, the text of the sentence can be included in the descriptive text. If it is determined that there is an actionable tool in the step sentence, the corresponding task can be generated. If the tool is identified but not actionable, the corresponding task can be generated but identified as mandatory false. On the other hand, for actionable tools, each task and result list is marked as actionable and mandatory true.

[0123] #Algorithm: Logic for when to create a task and when not to create a task

[0124] #Description: If tools do not exist at all, they all go into description. Create new tasks when something actionable is encountered. Create a task for each actionable tool. If tools exist but no actionable, create a task, force false. If actionable tools exist, every task in the task list is actionable, force true.

[0125] #

[0126] #previous=-1 (index into task list)

[0127] #For each object in the step_sentence_list

[0128] #If there is a tool present

[0129] #If previous == -1 / / If there is no task at all

[0130] #Create the first task object

[0131] #Set the description of the task object to "full text" + step_text

[0132] #Set previous=0

[0133] #If there is an actionable tool

[0134] #Set actionable_tool_presentation = true

[0135] #otherwise

[0136] #If no tool is actionable (a function that returns the index of the first actionable tool)

[0137] #Add step_text to previous task object description

[0138] Task[previous].get("description")

[0139] #continue

[0140] #

[0141] #if actionable_tool_present == false

[0142] #Add step_text to previous task object description

[0143] Task[previous].get("description")

[0144] #otherwise

[0145] #Create a task object

[0146] #Set the description of the task object to step_text

[0147] #Set previous += 1

[0148] #Set actionable_tool_presentation = true

[0149] #otherwise

[0150] #If previous == -1 / / If there is no task at all

[0151] #Add send_text to all text

[0152] #otherwise

[0153] #Add step_text to the previous task object description

[0154] Task[previous].get("description")

[0155] #

[0156] #If the previous == -1, all text will be included in the text description, without the task list

[0157] #

[0158] Pseudocode 1

[0159] Although the above description provides many example implementations, other extensions and variations are contemplated. For example, attributes for indicating tutorial skill level, estimated duration of completion, and step options can be captured in the PTF and obtained in the learning panel JSON. These extensions allow the tutorial experience to be customized for novice users and users with different experience and skills.

[0160] In addition, a mechanism may be provided by which the user may have the option of one or more "next steps" to continue the tutorial. A mechanism may be provided to indicate and control the optionality of tutorial steps (required or optional), thereby allowing different degrees of tutorial effectiveness to be completed. In addition, a mechanism may be provided to indicate and select the difficulty level of the tutorial based on the user's skills (basic, intermediate, advanced) and / or the desired total duration. In additional or alternative examples, support may be provided to indicate and define important terms mentioned in the tutorial to enhance terminology learning during the tutorial.

[0161] Implementations of the various techniques described herein may be implemented in digital electronic circuits, or in computer hardware, firmware, software, or a combination thereof. Implementations may be implemented as a computer program product, i.e., a computer program tangibly embodied in an information carrier, e.g., in a machine-readable storage device, for execution by a data processing device or for controlling the operation of a data processing device, e.g., a programmable processor, a computer, or multiple computers. Computer programs such as the above-described computer programs may be written in any form of programming language, including compiled or interpreted languages, and may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for a computing environment. Computer programs may be deployed to execute on one computer or on multiple computers at one site, or distributed across multiple sites and interconnected by a communications network.

[0162] The method steps may be performed by one or more programmable processors executing a computer program to perform functions by operating on input data and generating output. The method steps may also be performed by, and the apparatus may be implemented as, special purpose logic circuitry, such as an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).

[0163] For example, processors suitable for the execution of computer programs include both general-purpose microprocessors and special-purpose microprocessors, and any one or more processors of any type of digital computer. Typically, the processor will receive instructions and data from a read-only memory or a random access memory or both. The elements of a computer may include at least one processor for executing instructions and one or more memory devices for storing instructions and data. Typically, a computer may also include or be operatively coupled to receive data from or transfer data to one or more mass storage devices for storing data, such as magnetic, magneto-optical or optical disks. Information carriers suitable for implementing computer program instructions and data include all forms of non-volatile memory, including, for example, semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM and DVD-ROM disks. The processor and memory may be supplemented by or incorporated into a dedicated logic circuit.

[0164] To provide interaction with a user, it can be implemented on a computer having a display device for displaying information to the user, such as a cathode ray tube (CRT) or liquid crystal display (LCD) monitor, and a keyboard and pointing device, such as a mouse or trackball, through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, voice, or tactile input.

[0165] The implementation may be implemented in a computing system that includes a back-end component such as a data server, or includes a middleware component such as an application server, or includes a front-end component such as a client computer with a graphical user interface or a web browser through which a user can interact with the implementation, or any combination of such back-end, middleware, or front-end components. The components may be interconnected by any form of digital data communication or medium for digital data communication, such as a communication network. Examples of communication networks include local area networks (LANs) and wide area networks (WANs), such as the Internet.

[0166] While certain features of the described implementations have been illustrated as described herein, many modifications, substitutions, changes, and equivalents will occur to those skilled in the art. It should therefore be understood that the appended claims are intended to cover all such modifications and variations as falling within the scope of the embodiments.

Claims

1. A computer program product tangibly embodied on a non-transitory computer-readable storage medium and comprising instructions that, when executed by at least one computing device, are configured to cause the at least one computing device to: parsing a tutorial file obtained from a web page and structured in a hierarchical format, the tutorial file representing a tutorial provided by the web page for a software application, wherein tutorial attributes are specified relative to corresponding values ​​of the tutorial attributes, the values ​​including at least one instruction included in the web page, the at least one instruction being used to use the software application; performing a mapping of the tutorial attributes to application characteristics of the software application; as well as Based on the mapping, an instruction code executable by a native instruction service of the software application is generated, the instruction code being used to generate at least one instruction element within the software application, the at least one instruction element identifying at least one of the application features, the at least one application feature being configured to support completion of the at least one instruction.

2. The computer program product of claim 1 , wherein the instructions, when executed, are further configured to cause the at least one computing device to: Generating the tutorial file includes extracting tutorial content from the web page and identifying structural levels of the tutorial content, wherein the identified structural levels are included in the hierarchical format and the structural levels are classified relative to a set of tutorial structural models that determine the combination or separation between tutorial steps of the tutorial.

3. The computer program product of claim 2, wherein the instructions, when executed, are further configured to cause the at least one computing device to: Generating the tutorial file having the structural level identified includes classifying the structural level relative to a set of tutorial structural models.

4. The computer program product of claim 1, wherein the hierarchical format includes at least one process having a plurality of tutorial steps of the tutorial, and a tutorial step of the plurality of tutorial steps includes the at least one instruction.

5. The computer program product of claim 4, wherein the one of the plurality of tutorial steps comprises an identifier identifying the at least one application feature from the list of application features.

6. The computer program product of claim 1 , wherein the instructions, when executed to perform the mapping, are further configured to cause the at least one computing device to: Natural language processing (NLP) of the tutorial attributes is performed to thereby associate each tutorial action attribute with an application feature of the standardized list of names of the application features.

7. The computer program product of claim 1 , wherein the instructions, when executed to generate the instruction code, are further configured to cause the at least one computing device to: Identify multiple application characteristics; A plurality of production functions for the plurality of application features are stored, each production function being configured to generate a code portion of the instruction code for a corresponding application feature.

8. The computer program product of claim 7, wherein the instructions, when executed to generate the instruction code, are further configured to cause the at least one computing device to: traversing the hierarchical format of the tutorial file to select tutorial attributes and corresponding values, the corresponding values ​​comprising the at least one instruction; identifying a production function among the plurality of production functions, the production function corresponding to the at least one instruction; as well as A code portion of the instruction code is generated based on the production function.

9. The computer program product of claim 1, wherein the at least one application feature comprises a tool or action function of the software application.

10. The computer program product of claim 1, wherein the at least one application feature comprises an action executed using a tool of the software application to complete the at least one instruction.

11. A computer-implemented method, the method comprising: parsing a tutorial file obtained from a web page and structured in a hierarchical format, the tutorial file representing a tutorial provided by the web page for a software application, wherein tutorial attributes are specified relative to corresponding values ​​of the tutorial attributes, the values ​​including at least one instruction included in the web page, the at least one instruction for using the software application; performing a mapping of the tutorial attributes to application characteristics of the software application; as well as Based on the mapping, an instruction code executable by a native instruction service of the software application is generated, the instruction code being used to generate at least one instruction element within the software application, the at least one instruction element identifying at least one of the application features, the at least one application feature being configured to support completion of the at least one instruction.

12. The method of claim 11, wherein performing the mapping comprises: Natural language processing (NLP) of the tutorial attributes is performed to thereby associate each tutorial action attribute with an application feature of the standardized list of names of the application features.

13. The method according to claim 11, wherein generating the instruction code comprises: Identify multiple application characteristics; A plurality of production functions are stored for the plurality of application features, each production function being configured to generate a code portion of the instruction code for a corresponding application feature.

14. The method according to claim 13, wherein generating the instruction code comprises: traversing the hierarchical format of the tutorial file to select tutorial attributes and corresponding values, the corresponding values ​​comprising the at least one instruction; identifying a production function among the plurality of production functions, the production function corresponding to the at least one instruction; as well as A code portion of the instruction code is generated based on the production function.

15. A system for generating instruction codes, comprising: at least one memory including instructions; as well as at least one processor operably coupled to the at least one memory and arranged and configured to execute instructions that, when executed, cause the at least one processor to: inputting a tutorial file, the tutorial file comprising ordered instructions for executing application functions of a software application, the tutorial file being obtained from a web page and structured in a hierarchical format, the tutorial file representing a tutorial provided by the web page for the software application; mapping the ordered instructions to corresponding application features of the software application; as well as Instruction code is generated, the instruction code being executable by a native instruction service of the software application and configured to support interactive execution of the corresponding application features within the application to implement the ordered instructions and perform the application functions.

16. The system of claim 15, wherein the tutorial file includes a hierarchical format corresponding to the ordered instructions, the hierarchical format being determined from tutorial content extracted from a tutorial web page.

17. The system of claim 16, wherein the tutorial files are structured in a standardized format suitable for storing tutorial contents of a plurality of tutorial web pages in a corresponding plurality of tutorial files.

18. The system of claim 15, wherein the application features in the application features include a tool or action function of the software application, and wherein the interactive execution includes visually identifying the tool to a user of the software application for use in completing at least one of the ordered instructions.

19. The system of claim 15, wherein the system mapping the ordered instructions comprises performing natural language processing (NLP) of tutorial content of the tutorial file to thereby associate ordered instructions in the ordered instructions with corresponding application features from the list of names of the application features.

20. The system of claim 15, wherein the system is configured to: Extract tutorial content from tutorial web pages; annotating the tutorial content with tutorial attributes; identifying a structural level of the tutorial content corresponding to at least one tutorial process and included tutorial steps; and The tutorial file is generated in a hierarchical format that reflects the identified structural level and includes the tutorial attributes stored with corresponding tutorial values.