INTERACTIVE PROGRAMMING METHOD

Abstract: A method of programming an interactive scenario on a multitrack storage media (4) is disclosed. The interactive scenario includes a number of time-synchronized frames on separable data streams which are related in content to one another. The interactive scenario is played back on an apparatus (2) which includes means for selectively retrieving the data streams at a given time. A decision-making goal is defined for the interactive scenario. Once the goal has been defined, a set of rules is developed, preferably using knowledge derived from an expert, which lead to the defined goal. The rules relate hierarchically whereby the conclusions of at least some of the rules are premises for other rules. The rules also logically relate whereby the conclusion of a final rule or rules corresponds to the decision-making goal. If the rules require premises to be obtained, queries are generated to interactively ask for the premises.

Description: INTERACTIVE PROGRAMMING METHOD BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates generally to interactive programming, and more particularly to a media independent method of creating, storing, and presenting interactive programming which emulates conversational responses and is capable of performing expert analysis. 2. Description of the Related Art "Interactive" systems are well known in the art, especially in the context of interactive television or telephone systems. In most cases, the "interactivity" provided by these systems enables a user of the system to control what is seen or heard on the system by pressing buttons on a two- way controller or touch-tone keypad. However, these systems provide only a low level of conversational responsiveness. Systems which emulate interactive conversation are also well known in the art. These systems use a variety of different techniques to achieve interactive conversation, and have ordinarily had limited success at conversations which were more than mere simple question and answer sessions. In the context of multiple choice response systems for children, such systems are exemplified in U.S. Patent Nos. 2,921,385 3.O2O.36O; 2,826,828; 3,623,238; 3,546,791; 3.273,260; 3,665,615 3,245, 157; 3,284,923; 3,538,621 ; 3,477, 144; 3,708,891; 3,255,536 2,777.901; 2.908,767; 3.774.316; 3.194.895; 3,484,950; 3,343,280 and 3,763,577, by way of example. Various interactive television systems have also been developed. For example, U.S. Patent No's. 4,264,924, 4,264,925, and 4,507,680 (each of which is hereby incorporated by reference) disclose interactive cable television systems. A copending interactive system, entitled "Simulcast of Interactive Signals with a Conventional Video Signal", Serial No. 08/289,499, filed on August 12, 1994, provides an interactive system which is usable by both conventional television viewers and interactive television viewers. Another copending application. Serial No. 08/166,608 (a continuation of Serial No. 07/797,298, filed on November 25, 1991, now abandoned), which was filed on December 13, 1993, and is entitled "Compressed Digital-Data Interactive Television System" provides an interactive system with data compression and seamless switching. Other examples of interactivity utilizing television may be found in U.S. Patent Nos. 4.602,279; 4.847.7OO; 4,573,072; 4,847,698; 4,847,699; and 4,918,516, for example. Generally, these systems require a separate microprocessor to perform selection and memory functions and are not concerned with expert system analysis. While such prior systems have the flexibility and memory-like characteristics for establishing personalized interactive environments, they do not provide interactive programming which enables programming of media-independent complex interactive conversations in which the interactive conversation includes expert analysis of specific user problems, for example, financial analysis services, document creation, point-of-sale marketing systems, etc. Some of the systems which are capable of performing expert analysis are known in the computer field as rule-based expert systems. In a rule-based expert system, a knowledge base provides expert-quality solutions to problems in a specific area. Generally, the information in the knowledge-base is extracted from human experts and the system attempts to emulate their problem-solving methodology. With their inherent limitations (see "Computer Engineering Handbook", CH. Chen, Editor, McGraw-Hill, Inc. pp. 9.1-9.35), such systems are useful for performing expert analysis in certain situations. These expert systems have not been implemented on an interactive basis to a large audience. What is needed is a system which can take interactive systems to the next level, a level which allows for more complex and thereby meaningful conversation and interaction between the system and the user. Such a system would perform expert analysis and be usable by a very large number of people simultaneously, and would not be limited to any particular transmission technology. STTrVTlVT^PV W THTC V Tff IQN The present invention is a method of programming and presenting an interactive scenario. The interactive scenario comprises a plurality of time-synchronized separable data streams which are related in content to one -another. The data streams may be broadcast over a transmission medium or stored on a storage medium. The interactive scenario is designed for playback on an apparatus comprising means for selectively retrieving the data streams from the storage medium or transmitted signal; the selected data streams are chosen as a result of expert analysis. In the programming method, a decision-making goal is defined for the interactive scenario. This may be, for example, the diagnosis of a problem, or the creation of a document on the basis of information entered by a user. Once the goal has been defined, a set of rules is developed which will logically lead to the defined goal. Each rule has one or more premises, and a conclusion. The rules relate hierarchically in that the conclusions of at least some of the rules are premises for other rules. Moreover, the rules are logically related to the goal in that the conclusion of at least one of the rules corresponds to the decision making goal. Usually, the premises of the rules are translated into queries, or questions which are presented to the user. The queries may be in multiple-choice, true-false, or short answer form. However, premises which are not user-dependent (i.e., those determined by the conclusions of one or more other rules) need not be translated to queries because user responses are unnecessary. From the hierarchial rules and queries (if necessary), a hierarchial tree is created to implement the rules. The hierarchial tree contains branches which are dependant on the user solicited answer to a query or the existence of a premise. The hierarchial tree is mapped into a plurality of time- synchronized frames, located on a plurality of data streams. Each frame has an informational field which corresponds to a query, a premise, a conclusion, an informational message, or combinations thereof. A command portion of each frame contains frame identification data and information relating to the rule. This information may direct the interactive terminal to switch to certain streams depending on the user's response, may instruct the Interactive terminal to store and/or perform functions on a variable, or may contain a software instruction for the interactive terminal. Each frame comprises a complete message which provides a response which corresponds to the selection of the stream. Alternatively, the frames may refer to internal or external storage available to the interactive terminal which contains prestored messages. The frames are located on the streams in a predetermined sequence according to the hierarchial tree for providing a continuous flow of interactive conversation for ultimately reaching the decision- making goal. An information portion of some of the frames contains queries soliciting user interactive responses. The user interactive responses correspond to other associated frames which contain further queries, premises or conclusions related to the previously presented queries. In the simplest embodiment the positioning of the frames in the data streams corresponds to the hierarchial tree. Because the structure of the program may not necessarily require use of all of the channels at any given time, a dynamic embodiment is disclosed which dynamically varies the number of channels in use based on the needs of the expert analysis as embedded in the program. In a further embodiment, stream switching commands and efficient frame positioning conserve channel capacity by causing the locations of the frames to correspond to "folded" branches of the hierarchial tree. This results In a system with fewer hierarchial tree branches and thus fewer data streams. The data streams containing the frames are stored in a storage media, thus preserving the hierarchial interactive scenario for future recall and presentation. When the hierarchial interactive scenario is to be presented, the storage media recalls the stored data streams and provides them to an interactive terminal sequentially at frame intervals. In a preferred embodiment, the storage media only provides the data streams containing useful information, thus dynamically allocating the data streams. The interactive terminal gathers a frame at a time from the provided data streams and interactively presents the queries, conclusions, or informational messages contained on the gathered frame to one or more users. The users respond to the queries by entering a response, which is interpreted by the interactive terminal in conjunction with the command portion of the gathered frame. The interactive terminal will continue with the interactive presentation by using the result of the interpretation to obtain a next frame from the same, or different, data stream, according to the command portion of the gathered frame. The appropriate frames will be presented to the user until the entire interactive scenario has been completed. Accordingly, it is an object of the present invention to provide expert analysis in the form of real-time interactive conversation in a manner which is suitable for mass-distribution. It is a further object of the invention to enhance the personalized feedback responses of an interactive system through the provision of expert analysis embedded primarily in interactive programming. It is a further object of the invention to provide interactive programming for an expert system in a manner which requires little processing at an Interactive terminal. It is a further object of the invention to provide a hierarchial expert system using frames which represent hierarchial tree branches, or folded hierarchial tree branches. It is a further object of the invention to provide an interactive terminal which requires minimal processing capability and yet still can present a conclusion as defined by an expert rule-base. It is yet a further object of the invention to provide a hierarchial Interactive presentation of rules which leads to a conclusion as defined by an expert system. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram, of an apparatus for implementing the present interactive expert system. Figure 2 is a block diagram showing the steps in the present method of programming an interactive expert system. Figure 3 is a hierarchical graph of an interactive expert system rule-base, discussed herein as Example 1. Figure 4 is a hierarchial tree diagram of the Figure 3 hierarchial graph. Figure 5 depicts the positioning of frames on five data streams in one embodiment to realize the Figure 4 hierarchial tree. Figure 6 depicts a generalized representation of the Figure 5 frame locations in a manner which illustrates the hierarchial nature of the embodiment. Figure 7 depicts a generalized representation of an alternative embodiment employing compressed hierarchial tree branches to realize the hierarchial tree of Figure 4 using only three data streams. Figures 8A, 8B, 8C, and 8D depict a generalized representation of frame locations and contents to realize Example 2. DESCRIPTION OF THE PREF^WFn ttMRODIMENTS Referring now to the drawings in detail, and initially to Figure 1, the present invention employs an interactive terminal (2) for receiving and selecting among interactive data streams from interactive media (4) for presentation to a user on a display (9). The terminal (2) contains an infrared remote receiver (6) for receiving user inputs from infrared remote control (8). The receiver (6) is connected to a signal selector (3) which selects the data stream and frame that will be received by the interactive terminal (2). A display generator (7) is connected to the signal selector (3) for generating an interactive display based on the received data stream. In an alternative embodiment, optional storage device (5) is used to present prestored messages, as directed by the received frame on the selected data stream. The terminal (2) is a multitrack playback device, storage device or multichannel reception device. The data streams are separate channels or tracks of audio, video, graphics or other data from the interactive media (4). Interactive media (4) can be any of the following: a multi¬ track audio tape; a multi-track video tape; a video tape or a transmitted signal having a single video channel and multiple audio and/or graphics channels (the audio channels may be transmitted in serial, parallel or any other suitable method, as disclosed in copending U.S. Patent application Serial No. 08/289,499, filed August 12, 1994. entitled "Simulcast of Interactive Signals With a Conventional Video Signal" (herein incorporated by reference)); multiple channels of video; a single video signal having several video channels compressed and multiplexed thereon; a two-way video system in which the content of a single video channel may be switched at the head end based upon user input sent from the user site; a randomly accessible storage media (i.e., a magnetic disk or tape, CD-ROM or other optical storage media, or any other type of randomly accessible storage media); or any type of storage media in which separable tracks of audio or video may be stored for later transmission. All of the above transmission schemes of the present invention can be implemented as analog or digital signals and sent on any transmission medium including cable, satellite, broadcast television, microwave, personal communications networks, etc. If the interactive media (4) is randomly accessible, the interactive conversation streams are either physically stored on individual disk track, or in contiguous or non-contiguous files. In conjunction with a disk drive, or an appropriate Interface for the type of storage media in use, the information stored on each track is output to a user of the system in near real-time fashion. In one embodiment, multiple video channels are stored on CD /ROM or VideoDisc, and the disc controller handles separating the multiple channels for selective display. In a preferred embodiment, the interactive media (4) comprises one or more cable television channels, each of which contains a transmitted audio and video signal. Using a multiple choice controller (8), the user is able to selectively respond to queries, the responses are their input into the expert system which commands a switch between the channels on the media (4) so as to conventionally display the information from each channel on display (10). If audio or video tapes are used as the multi-track media (4), or CD- ROM or disk storage is used, the media is preferably removable from the playback means so that different interactive expert systems may be Inserted and used in the system. This makes it possible to record a library of prerecorded media, covering a wide array of topics. For example, the media (4) may contain expert analysis for product selection, diagnoses, document creation, etc. The system may employ a microprocessor for reading the tracks from a randomly accessible media, if such media is used. As described below, while the present invention emulates memory functions during operation, a complex microprocessor is not required to perform any of these memory functions. The logic and memory functions are achieved through hierarchial rule-based programming. Nonetheless, one detailed example of the invention (Example 2) is described, which utilizes a microprocessor to handle memory functions for providing a more complex degree of expert analysis. The interactive conversation is preferably seen and/or heard by the user using a conventional television display, and/or speaker or headphones. If the stored conversations on the multi-track media are in digital form, i.e. CD-ROM magnetic disc, or digital audio tape (DAT), the interactive terminal (2) contains a digital-to-analog converter to convert the digital information streams to analog signals which may be output to a conventional audio /video display or speaker. While not required, storage device (5) may be used by the interactive terminal (2) when the data from the interactive media (4) contains Instructions directing the terminal to present "canned" interactive messages stored in the storage device (5). Multiple choice controller (8) may be an infra-red remote control, or may be any other appropriate device to select an Interactive response to a query. Depending on the particular application, inputs may be provided via a keyboard or even a touch screen. Once a response is entered, the system may change data streams appropriately, store the response for future branching, or execute an algorithm utilizing the response. Alternatively, a multiple choice controller (8) is not necessary with the present invention if the interactive terminal incorporates buttons enabling the user to make selections on the terminal itself. As previously Indicated, while prior art interactive systems are able to engage users in relatively simple interactive conversations, and emulate memory functions, the prior art does not disclose a method of creating an Interactive program which is capable of performing expert analysis or complex functions. The present system emulates a computerized expert system in presenting an interactive program without the use of a microprocessor for tracking all user responses. Moreover, the video display which is preferred in the present invention provides a more realistic expert analysis by enabling the system to explain how and why a particular conclusion was reached, to display recommended products, and to demonstrate how to accomplish a needed repair once the system has concluded that such a repair is necessary. 1. Implementation of a Rule-Base. In order to properly program the interactive expert system, a rule- base must be defined. This enables the system to emulate the decision making process of a human expert at a remote location, i.e., at the interactive terminal and the television display. By placing the present system at remote sites, the interactive expert system enables complex problems to be solved during separate interactive conversations with many users. The present invention introduces a way to organize in-depth knowledge into an interactive programming methodology to ensure proper emulation of the decision-making process. Figure 2 shows a flow chart of the method of the present invention for implementing an interactive expert system. First, the goals of the expert system are defined at step 10. Next, the appropriate human knowledge is extracted to achieve those goals, step 11. Informative works, experts, and other sources are consulted to determine this knowledge. From the human knowledge, a hierarchial rule-base is defined at step 12. The hierarchial rule-base is an organizational characterization of the human knowledge. The rule-base consists of a number of rules. Rules comprise mapping conclusions to one or more premises. The rule base is formulated to implement the human knowledge defined at step 11 and solve the goals defined at step 10. The rule-base is hierarchial because at least one premise of one rule is a conclusion of at least one other rule. Table 1, shown below, is an example of a rule-base. A graphical representation of the Table 1 rule-base is shown in Figure 3. If a rule assumes a premise which is user-determinative, the premise is translated into a query at step 13. The interactive system presents the query to the user to determine whether the premise is satisfied. For example, if a premise to a rule is "the car is red", the corresponding query "is the car red?" is generated to solicit the user's response whether the premise is satisfied. The query need not mirror the premise but could be anything which would prove or disprove the existence of the premise. For example, the query could be "is the car blue?". If an affirmative answer is received, the interactive terminal will know that the premise "the car is red" is not satisfied. If a negative answer is received, other queries must be presented, until the Interactive terminal has enough information to determine whether the premise is satisfied. Next, the remaining rules, premises, and queries are formed into a hierarchial tree diagram, step 14. The hierarchial tree diagram broadly represents a logical solution (using branches) to the problem and corresponds to the rule-base and queries. An example of a hierarchial tree diagram is shown in Figure 4. The hierarchial tree diagram is mapped into a plurality of data streams, step 15. The data streams contain frames which are time synchronized between the data streams. The frames contain information on the data stream relationships depending on user input. In essence, the data streams represent and implement the branches of the tree diagram. Figure 5 depicts a series of data streams mapped from the hierarchial tree diagram of Figure 4. In a preferred embodiment, the mapping step includes the step of "folding" the hierarchial tree diagram. The "folding" step reduces the number of required data streams by causing branching between and among streams which are no longer necessary to implement the hierarchial tree diagram, thereby conserving channel capacity. An example of a "fold" is shown in Figures 6-7, Figure 7 representing one way of folding the embodiment depicted in Figure 6. Lastly, the data streams are stored in an appropriate storage device, step 16. In a preferred embodiment described below, the data streams are stored in a manner which enables dynamic retrieval of the data streams. In this embodiment, an indicator relating to those streams containing information is also stored. During retrieval, only those streams identified by the indicator are retrieved. The following two examples will be used to demonstrate the method of the Invention: 1 ) A simple expert system for diagnosing a problem occurring in a stereo system, the problem being that excess noise and distortion are heard through the loudspeakers. 2) A point-of-sale kiosk, which includes a microprocessor, for assisting a user in choosing a tennis racket. As previously mentioned and shown in Figure 2, the first step in the process of programming an interactive expert system is to define the goals of the decision-making algorithm of the system 10. The goals define the type of expert advice the system provides to the user. More specifically, the goals of the system define an end point, final decision or product of the expert system. Referring to example (1) above, the goal is to analyze the user's responses to queries, and to determine the most likely reasons that the stereo speakers contain excess noise and distortion. In example (2), the system inquires into the user's playing habits and personal characteristics, and recommends a tennis racket which is most suited to the user's style of play and experience. In the first example, a rule-base to determine the cause of excess noise output from loudspeakers in a stereo system is defined as shown in Table 1. Table 1: Rule-base for Stereo System Diagnostic Example. In this simple example, rules are defined for locating the source of a problem in a stereo system where the speaker audio contains excess distortion and noise. Each rule contains at least one premise and a conclusion. The premise corresponds to the phrases above beginning with "if. The conclusion corresponds to the phrase following "then". For example, in Rule 1, the premises are (1) "the outputs are getting a clean signal" and (2) "the speaker cable does not pick up noise." The conclusion is "the problem is with the speakers." The premises are translated into queries, preferably presented to the user via the display monitor either prior to storage, or after reception by the interactive terminal. For Rule 1, the query may be (1) "are the speaker cables picking up noise when the cables are moved while the stereo is playing?" The query is preferably not this brief, but provides a detailed interactive presentation, as shown below in Table 2. Premise (2) for Rule 1 is hierarchically dependant on the outcome of Rule 5, and uses the outcome of Rule 5 as its premise without requiring the use of a query. However, the two premises of Rule 5 require queries. A hierarchial relationship occurs because the conclusion of Rule 5 "the outputs are receiving a clean signal", is used as a premise of Rule 1. Once the rules have been defined, they are organized into a hierarchical rule-base of the type graphically shown in Figure 3. The hierarchical rule-base graph visually shows the hierarchical organization of the premises and the conclusions. In order to code an expert system into a multi-channel television system and take advantage of the parallelism of the multiple channels, parallelism in the knowledge base should be identified. Parallelism are points in the logic of the system where the decision making paths separate based upon the existence of a premise. Because the premises are often translated into queries, it is also correct to define a parallelism as occurring at points in the logic of the system where the decision making paths separate based upon answers to queries. For example, using the hierarchical graph shown in Figure 3, the response to the premise "the speaker cables do not pick up noise" establishes parallel paths. If the speaker cables do not pick up noise, a path is established to determine if the problem is the speaker (Rule 1). If the speaker cables do pick up noise, then a parallel path is established to inform the user that the problem is with the speaker cable (22). These two paths are mutually exclusive. Accordingly, an important aspect of efficient coding of a multi-data stream system is to identify mutually exclusive paths which may be coded in parallel on the data streams. Once the hierarchical graph has been constructed and parallelism identified, the expert system implementation may be mapped Into a multi-data stream format and the resulting interactive presentation stored on a storage medium. In addition to simply recording the queries and conclusions, the system may Include an explanation facility which is implemented in the interactive presentation. This is possible because of the hierarchial relationship between the rules. At any one conclusion, the prior premises are satisfied, since such premises had to have been met to arrive at the conclusion. For example, the system need not merely state that "the noise is caused by the speaker", but rather the more Informative response that "the noise is caused by the speaker because the speaker cables do not pick up the noise, the headphone output has no noise, and the interconnect cables do not pick up the noise." Thus, each rule provides a context for the explanation given in the expert system. A user is informed of the underlying basis of the expert system's opinion. The system thus emulates dialog between the system user and an expert. The rule base is preferably organized so that the premise that is most likely to fall or is easiest to confirm is tried first. This provides the opportunity to eliminate a rule (and to thereby conserve valuable media space) as early in the search as possible. In Rule 1 of the stereo example, the premise "the speaker cables do not pick up noise" (20) should be tested before "the outputs are receiving a clean signal" (21), because the determination of premise (20) will resolve Rule 2. As with conventional expert-based systems, there is always a certain ambiguity in the rule-base. This occurs because the premises are often incapable of positive proof. For example, in Rule 5, the premise "the headphone output has no noise" (23) may be true, but the conclusion "the outputs are receiving a clean signal" may be false if the noise is caused by a subsequent stage of the amplifier located after the internal headphone signal pickup. Thus, as with all expert systems, the heuristic nature of the system causes the system to be only as good as the underlying rule-base. This problem can be mitigated to some extent in an alternative embodiment of the present invention using a processor and assigning probabilities to the mappings between premises, user responses, and conclusions. In the preferred embodiment, only those ambiguities which are known in advance may be compensated for by defining a field along the graph and including explanatory messages about the ambiguity in this field, i.e., "the system cannot determine what is wrong based on the information you have entered. Please check the service manual or call your authorized dealer." 2. Hierarchial Tree Diagram Referring to Figure 4, after the expert rule-base and hierarchial graph are constructed, some or all of the premises are translated into queries, and a hierarchial decision tree is developed for the interactive presentation. This enables the interactive provider to structure the interactive presentation in a format which Is able to be easily received and accessed by one or more interactive terminals. Figure 4 illustrates one simple hierarchial tree diagram of the Table 1 rule base and Figure 3 hierarchial graph. As described above, the "speaker cables do not pick up noise" premise of Rule 1 is presented first, because it is determinative of the outcome of Rule 2. Thus, the first branch of the tree (41) is a query "Do the speaker cables pick up noise?" (Table 2, below, shows a more complete indication of how the actual query preferably appears). This query is presented to the user with the display monitor (9). If the user indicates via the user interface (8) that the speaker cables pick up noise, then according to Rule 2, the problem is in the speaker cables (43). Thus, if a "yes" answer is received from the interactive response, the tree branches to a data stream to explain that the problem is with the speaker cables (43). If the speaker cables do not pick up noise, the first premise of Rule 1 has been satisfied, and the interactive presentation moves to branch (42), to inquire about the second premise. The second premise is a conclusion of Rule 5, and thus a query relating to Rule 5 must be generated by the system. Since the Rule 5 premise "the interconnects do not pick up noise" is determinative of Rule 3, this premise is processed first. Thus, the second branch (42) presents the query "do the interconnects pick up noise?" If the interactive input indicates that the interconnects pick up noise, then rule 3 is satisfied, and the interactive terminal presents a summary of the problem, stating that "the problem is with the interconnects" (44). If the interconnects are not generating noise, as indicated by the user interactive response, the first premise of Rule 5 has been satisfied, and a query directed to the second premise is generated for display to the user. The decision tree moves to branch (45) and queries the user "do the headphone outputs contain noise?" If the interactive response is "no", then all the conditions of rule 1 have been satisfied and the conclusion may be presented to the user that "the problem is the speaker" (46). If the user had interactively responded that the headphone outputs contained noise, the premises of Rules 1-3 and 5 have not been satisfied and the presentation must move to the next untested rule, Rule 4. While Rules 1 and 5 required two premises to have been met (a logical "AND" function). Rule 4 differs in that it is satisfied if any of three preconditions are met (a logical "OR" function). Only one query covering the three alternatives needs to be generated to determine if a premise of Rule 4 is satisfied. Thus, the decision tree branches to a query (47), which states "does the balance control, volume control, or tone control generate noise?". If the answer is affirmative, the problem is with the resistive wipers on the rotary controls, and the presentation moves to a representation of this conclusion (48), "the problem is the wipers on the control knob which generated noise." If the user interactive input indicates that the noise is not caused by the volume, balance, or tone controls, then none of the requisite premises of Rules 1-5 are met. At this point, the tree may branch to other more detailed questions, or the presentation may inform the user "the problem is probably in the electronics, consult your authorized dealer for repair" (49). Once the hierarchial tree diagram has been constructed, it is a simple matter to store the Interactive presentation for subsequent recall. To store the interactive presentation, time synchronized data streams containing frames are generated and stored. 3. Pa a str ams Once a hierarchial tree diagram, similar to that shown in Figure 4, has been constructed, the premises, queries, conclusions, and associated informational statements are mapped onto data streams. Information is embedded on the data streams in a plurality of frames, each frame comprising messages which are seen and /or heard In response to the selection of the data stream upon which the frame is embedded. Each of the frames on the various data streams comprise queries, conclusions, statements based upon the conclusions to the premises, and associated informational messages to provide context for the queries, premises and conclusions. The contents of the streams are related in real-time so that user choices presented in response to a premise result in a switch to data streams which are related hierarchically according to the hierarchial rule-base graph or in context to the premise which resulted in the channel switch. The frames on the various tracks relate in real-time and content so that an expert analysis occurs as the media is played back and the user responds to queries related to the premises of the expert system stored in the streams. As a channel is selected in response to an interrogatory or based on the response to an earlier interrogatory, the information on the data stream corresponding to the particular selection is routed to the display. Embedded in the selected data stream at the time selection occurs is a frame segment having content corresponding to the selected response to the previous query. The queries, premises, conclusions, and explanatory messages may generally be contained on any or all of the various tracks provided they are synchronized properly so as to retain a timed relationship as discussed herein. Referring to Figure 5, a representation of data streams and frames are shown which realize the hierarchial diagram of Figure 4. Figure 5 shows five data streams (101-105). Although five data streams are shown in this embodiment, more or less can be provided as necessary. Each data streams (101-105) contains a first frame (200). Each frame (200) contains an information portion (210) and a command portion (220). The data streams (101-105) need not be formatted so that the command portion (220) succeeds the information portion (210), as shown in Figure 5, but may be formatted in any way currently known to one of ordinary skill is the art. For example, the command portion (220) may precede the information portion (210) or may be interleaved with the information portion (210). The information portion (210) preferably contains a representation of either a conclusion or a query. For example, the information portion (210) may state either "the problem is the speaker" (246) or "do you hear noise on the headphone output?" (245). The queries will solicit an interactive response from the user. Even the conclusions can require an interactive input, such as "the problem is with the speaker, press any key to continue." The information portion (210) is not limited to text, but may also contain graphics, video, audio, or instruction codes. For example, the information portion (210) may contain a graphical or video representation of a man and a woman with accompanying audio of a voice asking "what is you gender? Enter 1 for male, 2 for female." Alternatively, the information portion (210) may contain an instruction code which references memory locations In a storage device 5 available to the interactive terminal. The interactive site uses the instruction code to reference the corresponding storage location for accessing "canned" interactive data. In analog embodiments, the information portion (210) is preferably included in the vertical blanking interval of a conventional television signal, or on a dedicated channel. These and other acceptable techniques are taught in copending application serial no. 08/289.499. filed August 12, 1994, entitled "Simulcast of Interactive Signals With a Conventional Video Signal", incorporated herein by reference. The command portion (220) is preferably used both to control functions of the interactive terminal (20) and to define the hierarchial relationship between the frames (200). The command portion (220) contains branching data concerning the interactive terminal's response to specified user inputs. For example, the command portion (220) may contain algorithmic codes to match user inputs to system responses embodied in separate data streams. The coding may also be more complicated. For example, relative addressing of data streams may be used ("switch to the third lower stream"), variable assignments may be represented ("if user presses 1, store 3 in variable X"). and other well known instructions to an interactive processor may be included. The complexity of the command is tailored to the complexity of the interactive terminal which processes the command. Of course, suitable coding can be used to conserve the size of the command portion. Alternatively, the commands may contain codes that identify macros stored at the interactive terminal, the macros comprising the branching algorithms as depicted above. Because the command portion (220) contains the information which defines the relationship between frames (200), the frames (200) preserve the hierarchial relationships of the hierarchial tree diagram (Figure 4). Returning to Figure 5, the hierarchial branches occur through switching between data streams. It is evident that the hierarchial relationship between the frames is directly analogous to that of the branches in Figure 4. In Figure 5, information portions (241, 242, 245, and 247) correspond to queries (41, 42, 43, 45, and 47) in Figure 4. The yes/no branches of the Figure 4 queries are preserved in the command fields (341, 342, 345, and 347) of the frames shown in Figure 5. For example, if the response to the query "are the interconnects picking up noise?" (42) (Figure 4) is "No", then the tree diagram branches to "does the headphone output contain any noise" (45). In Figure 5, the query (42) of Figure 4 is stored in information portion (242), and the instructions on where to branch depending on the input are stored in command portion (342). The command portion (342) remains on channel 101 if the answer is "no", and switches to channel 102 if the answer is "yes". This correlates with the hierarchial tree diagram of Figure 4. In Figure 5, the conclusions represented in information portions (243, 244, 246, 248. and 249) correspond to conclusions (43, 44, 46, 48, and 49) of the hierarchial tree diagram shown in Figure 4. Figure 5 shows one embodiment where the frames of the different data streams are synchronized. The frames are synchronously located in frame intervals between Tl, T2, T3, T4, and T5. As depicted, the period between T3 and T4 appears longer than the period between Tl and T2. In a preferred embodiment, it is not required that the time intervals be identical, but only that the frames be synchronous. All the frames in Figure 5 are shown to be synchronous, even though portions of the frames may be of different length, such as the information portions (242 and 243). Because the number of actual branches in a given interactive scenario varies depending on the user's interactive responses, the interactive scenario reaches completion at different times. For example, in Figure 5, the user has completed the interactive program at frame (243, 343) where the problem is the speaker cables. Had the user indicated that the speaker cables were not the cause of the problem, the user would be interacting with frame (242, 342). In this example, the interactive provider has included "program synchronization segments" in the frames which do not correspond to logical branches on the hierarchial tree diagram. The program synchronization segments are inserted into the channels to maintain a synchronous relationship amongst the channels for subsequent branching. This is done by placing a command to remain on the current stream in the command portion (343) of the final frame (243, 343). The information portion contains an informational message which is not required to be related to the rule- base, but is included to preserve the timing of the system. Frames subsequent to the program synchronization segments have further informational messages in the information portion, and commands to stay on the current channel in the information portion. Alternatively, if the problem is solved in frame (243, 343), a code could command the branch to a separate channel, not shown, which provides common programming or further Instructional video until the end of the expert interaction. It may not be desirable to maximize stream efficiency by reducing the number of parallel tree branches when coding a hierarchial rule-base into a hierarchial tree diagram, especially where multiple users are simultaneously involved with the interactive presentation. By purposefully coding to an inefficient hierarchial tree diagram (by using many data streams), the interactive program is structured to conclude at the same (or nearly the same) time for different possible interactive responses, reducing the necessity for program synchronization segments. For example, if an interactive TV program broadcast takes a half hour to conclude for user A and fifteen minutes to conclude for user B, user B may be unhappy to view fifteen minutes of program synchronization segments. Of course the program synchronization segments may be another short interactive program, which would be unavailable to user A. It is thus important to recognize that the artisan may wish to trade-off the number of streams and the length of time it takes to resolve the various decision tree branches to reach an overall conclusion. At the final frames on the data streams, occurring at time T4, all the possible branches of the hierarchial tree diagram have been presented. The command portion of the final frames on each data stream may contain a command to switch to a single data stream so that the next interactive presentation may begin. The frames at time T4 and T contain a command portion (350) instructing the interactive terminal to switch to data stream (101). This is desirable to conserve storage and media space. In fact, the data streams are preferably structured to be allocated dynamically, as described immediately below. 4. Dynamic Allocation of Data Streams In a preferred embodiment, the data streams are provided dynamically from Interactive media (4). The number of data streams actually provided to the interactive terminal is only the number of data streams actually carrying information. This results in a substantial saving of channel capacity, in the embodiment where data streams are encoded onto channels for transmission. Referring to Figure 2, the step of mapping the hierarchial tree diagram into data streams and time-synchronized frames (15) entails mapping only data streams which are required by the interactive scenario. For each frame interval it is only necessary to send the data streams actually carrying information. For example, referring to Figure 4, the first step is to determine whether the speaker cables are bad (41). This requires one frame on a single data stream. Therefore, in the first frame interval TO - Tl (Figure 5), only data stream (101) is provided to the interactive teπnlnal. The frame intervals are shown in Figures 5 and 8 as the intervals between TO, Tl, T2 Tn. In one embodiment, initially when the frames containing information (in the information and command portion) are stored, an indication of which frames in the data stream contain the information is also stored. This may be accomplished in a number of different ways. First, an index containing the number of data streams may be stored in the interactive media (4) during each frame interval. For each frame interval, the index would inform the interactive media (4) of the number of data streams containing information, and thus the number of data streams which should be generated for transmission. Alternatively, the index could comprise a list of data streams for each succeeding frame interval and whether the dat streams should be generated for that frame interval. A second method to store an indication of the data streams to be generated for transmission during a particular time interval is encoding the command portion of each frame with a field identifying the data streams that will be available on the succeeding frame interval. This method is advantageous because the interactive terminal (2) receives a frame containing information pertaining to the upcoming number of data streams. The Interactive terminal may use this information to configure itself for data stream switches. A third method to store an indication of the data streams to be generated is encoding the command portion of a frame on a designated data stream with an index (as described above) field identifying the data streams that will be available on the succeeding frame interval. For example, data stream (101) In Figure 5 could contain an index field in each frame to inform the interactive media (4) how many data streams should be generated. Since the interactive terminal (2) may not receive the data stream containing the index field (depending on the interactive input from the user), the interactive media may not receive an indication of the number of data streams which will be presented on the next frame interval, unlike the second method, above. However, the invention will still function, as it is unnecessary (although desirable for the purpose of configuring the interactive terminal (2) in advance) for the interactive terminal (2) to know which data streams will be provided in the next frame interval. The interactive terminal merely switches to a data stream identified by the command portion of the frame and the user's interactive response. With reference to Figure 5, at time TO the interactive provider need only supply a single data stream, at Tl two data streams, at T2 three data streams, and so on until five data streams are required at time T4. Thus, the interactive system is able to dynamically allocate the data streams between a single channel and as many channels as necessary. If the data streams were provided on television channels, then the number of channels required at the early times (TO and Tl) is effectively reduced. For example, four streams/channels are necessary for a query calling for four age brackets, while two streams/ channels are required for a binary or polar query (ie. a yes/no query). Referring to Figures 5 and 8, the portions of the data streams labeled "unused" are preferably not provided during their corresponding frame intervals, dynamically reducing the number of data streams. Alternatively, the interactive terminal may continue to process the prior data stream when a new interactive presentation is to occur. In this instance, redundant messages are placed on multiple data streams so that all users receive the same initial presentations no matter which data stream the user had concluded with in the previous interactive scenario. This alternative embodiment is stream-inefficient in that all the channels are being used throughout the interactive presentation, rather than just at the end, as in the previous embodiment. A modification of this alternative embodiment is that the introductory messages of further interactive presentations present information relating to previous interactive presentations. In this case, all users do not receive the identical presentations when beginning new interactive programming. Since there are many possible commands to place in the command portion of the frames, dynamic allocation of data streams, and great flexibility in constructing the hierarchial tree diagram, the invention is very flexible and can be arranged in numerous configurations. The data streams (101-105) need not be stored synchronously, but may be stored in any manner known to the artisan. The storage or recording method is not critical to the invention, as long as it is sufficient to enable the retrieval method to read the stored data streams synchronously. 5. Timing and Branching of Frames on the Data Streams. Again referring to Figure 5, the timing and frame contents are depicted as they occur on data streams (101-105). At time TO, the user has finished a previous interactive presentation and is beginning to interact with the stereo problem solving presentation. Since all the prior frames occurring at time T * contain instructions (350) to switch to stream (101), the interactive terminal only processes a single data stream (101). At time Tl, the interactive terminal stays on stream (101) or switches to stream (102) depending on the user's response to the query (241) posed at time TO. At time Tl, the interactive terminal receives streams (101) and (102) regardless of the user's selection. It is not necessary for the terminal to process all the incoming data streams. Only performing a simple switching operation and processing of the selected data stream is required of the Interactive terminal. This continues until time T4 when all the possible branches on the tree have been presented. The frames at time T4 all have a command portion (350) instructing the interactive teπninal to switch to stream (101) at the conclusion of the presentation. Thus, at time T5, the interactive processor is processing stream (101) again. Another reason for beginning and ending on a single data stream is that it makes other data streams available for error processing. For example, In Figure 5, frame (230, 330) is directed to a presentation dealing with a situation where the user had not selected "y" or "n" as instructed by frame (241, 341). The information portion (230) contains a message such as "you did not select 'y' or 'n', therefore It is assumed you pressed * n' . . . . " Table 2 shows a possible script for the information portion of the frames depicted in Figure 5 and the queries shown in Figure 4. It is understood that this example represents the audio portion of the program, and that appropriate video may be included in the information portion of each frame as well. Information or Instructions included in the command portion of the frames are shown enclosed by brackets {}. The stream numbers 101-105 in Table 2 correspond to streams 101-105 In Figure 5, while the times T - T5 also correspond to the times T - T5 shown in Figure 5. The frames numbered in Figure 5 also appear in Table 2, at their corresponding positions, although they have not been separately numbered in the Table. TABLE 2: Script of Frame Contents for Stereo Diagnostic Example. Stream 103 Stream 104 I Stream 105 {switch to 101} {switch to 101} {switch to 101} (unused) (unused) (unused) Tl (unused) T2 (unused) stay on 101} {switch to 101} {switch to 101} T5 {new program.} (unused) (unused) 6. Folding the Branches on the Hierarchial Tree Diagram. Note that in Figure 5, the branches of the hierarchial tree diagram require the use of five data streams (101-105) at time T4. Although the system is capable of dynamically assigning data streams, there is another preferred way to reduce the number of data streams. Figure 6 shows a generalized hierarchial tree chart of the hierarchial tree diagram depicted in Figure 4 and the data streams shown in Figure 5. The locations of the data streams are shown in dashed lines in Figure 6. The information portions (210) of the frames (200) are shown in Figure 6 with similar numbering as in Figure 5. The command portions, where shown, are illustrated as branches in the tree chart. Because the information streams are capable of carrying branching instructions, and because of the hierarchial nature of the expert system, the number of streams may be reduced by "folding" the branches of the hierarchial tree. The "folding" approach simply optimizes the required number of streams required by making use of the program synchronization segments. An example of "folding" the Figure 6 hierarchial tree is shown In Figure 7. Rather than remaining on data stream (103) after information portion (244), command portion (344) may instruct the interactive terminal to switch to data stream (102). This normally leads to an incorrect presentation because stream (102) is associated with the conclusion that the problem is in the speaker cables (243) while the conclusion represented at (244) is that the problem is in the interconnects. However, interim frame (251, 351 and 252, 352) are program synchronization or transition frames which are not stream specific. The conclusion frame is presented at (243) and cleared by program synchronization segment (251). At time T3, the user could not have viewed frame (243) if the user had been presented with frame (244), due to the hierarchy of the system. Thus, it is safe for the Interactive terminal to switch to data stream (102) at time T3. Now, the two possible conclusions have been presented to the user and the interactive terminal is presenting nonspecific program information segments in frame (261, 361). This clears up data stream (103) and allows the branch from frame (245, 345) to go to stream (103), rather than stream (104). Thus, the branch from frame (245) has been "folded" up to stream (103). Likewise, frame (261, 361) may be instructed to branch to stream (101) at time T4. This frees up a frame on stream (102) so that frame (248, 348) may be "folded" to stream (102) and frame (249, 349) may be "folded" to stream (103). Thus, the number of streams has been reduced from five to three. The value of this technique is the conservation in the number of required streams thereby preserving valuable channel capacity in a transmission system. In this case, only three channels would be necessary. The concept of "folding" need not resemble a physical bending of a branch on the hierarchial tree diagram, but includes the juxtaposition of frames and provision of stream jumps to decrease the number of required data streams. While Figure 7 discloses a very simple example, it will be clear to those skilled in the art that extremely complex interactive expert systems may be developed without a microprocessor to provide high levels of interactivity. For example, this type of system is applicable to financial analysis, document creation (i.e., wills, contracts, leases, etc.) or troubleshooting. The more streams of media that are available, the higher degree of parallelism and complex rule-base and overall expert system that becomes achievable. Systems such as those described above may be implemented, for example, as point of sale kiosks. In a kiosk implementation, n channels of a program may be implemented on a videocassette which is contained in a videocassette player in the kiosk. A keypad, touch-screen or voice recognition technology on the face of the kiosk enables users to enter selections. Alternatively, the interactive program might be implemented as a how-to-program in a video on demand system. In Table 3, a script is shown of an interactive expert system to help a person choose the proper tennis racket. Such a program might be used as a marketing tool in sporting goods stores, and the video portion of the program might Include a celebrity to help the user select a racket. Due to the large number of factors which are involved in making the proper racket decision (which would potentially require a large number of channels or would be extremely long in length), a microprocessor is used to direct the storage of information in memory based upon the user responses. An algorithm is used to determine which racket is appropriate based upon the memory contents once all of the pertinent information has been gathered. Coding on the media tells the microprocessor to store the appropriate data as necessary. The microprocessor also directs switching between the channels as appropriate. It is important to note that this example can be implemented using the techniques discussed with reference to Example 1, without the need for using a microprocessor. For example, rather than storing the user's information in memory locations, the interactive program could branch to an entirely different set of data streams every time an input was necessary. A generalized diagram of the frame locations and contents, similar to Figure 5, is shown for the second example in Figure 8, comprising Figures 8A, 8B, 8C, and 8D. As can be seen in the Figure 8 frame diagram, the system asks for the user's age at time TO, gender at time Tl, experience at time T2, rating at time T3, hit level at time T4, frequency of play at time T5, and weight at time T6. At time T7, the racquet algorithm is executed and racquets are recommended at times T8 or T9. At time TIO, the string tension is recommended. At time Ti l, a grip width is suggested based on the previous gender response. At T12, a second racquet is recommended based on the frequency of use. Due to space constraints. Figure 8 shows an abbreviated version of the frame contents. A more descriptive depiction of this example is provided below in Table 3. This example differs from Example 1 in that the user's Interactive responses are letters A-D rather than yes/no responses 1 or 2. It is to be understood that any type of input, including dedicated keys, may be used. The microprocessor of this embodiment contains multiple memory locations, addresses #l-#4 to store information entered by the user for subsequent calculation. Unlike Example 1, the command portion of the frames contain instructions related to changing channels and storing information in variables. In this example, the command portion is used throughout the presentation to instruct the microprocessor on the storage of variables and stream switching. Also, in this example the command portion of the frame instructs the microprocessor to "switch" to the same channel rather than "stay" on the same channel, where appropriate. The artisan will recognize that both commands accomplish the same result. As with Example #1, information included in the command portion is enclosed in brackets 0- Also, the data streams and frames may be further "folded" or encoded from the hierarchial tree diagram, although not specifically exemplified here. The rule-base and hierarchial diagrams of this example are not shown since Table 3 and Figure 8 clearly depict the frame relationships. TABLE 3; Script of Frame Contents for Tennis Racquet Selection Example. Stream 104 {switch to 101} (unused) Thanks. l ean now see that you are over 60 years old. You know people play tennis into their 90s and beyond. {Put +4 in memory #1} Are you male Are you male Are you male Are you male (Input A) or female (Input A) or female (Input A) or (Input A) or (Input B)? Please (Input B)? Please female (Input B)? female (Input Indicate. indicate. Please Indicate. B)? Please Indicate. {if A. switch to {If A. switch to {if A, switch to 101, if B. switch {if A. switch to 101. if B. switch to 101. if B, switch to to 102} 101. if B, switch 102} 102} to 102} T2 Thanks, sir. Thanks, madam. (unused) (unused) {Add 0 to memory {Add +2 to memory #1: Put "X" in #1: Put Ύ * in memory #2} memory #2} How long have you How long have you been playing been playing tennis? tennis? Less than 1 yr. - Less than 1 yr. - input A input A 1-3 years - Input B 1-3 years - Input B 3-5 years - Input C 3-5 years - Input C over 5 years - input over 5 years - input D D Please Indicate Please indicate {If A. switch to (If A. switch to 101. If B. switch to 101. if B. switch to 102. if C. switch to 102. if C. switch to 103. if D. switch to 103. if D, switch to 104} 104} {Add +3 to memory (Add +2 to memory {Add +1 to {Add 0 to # 1) # 1} memory #1} memory #1} Oh, a newcomer. 1 to 3 years. So 3 to 5 years. Oh Over 5 years. So you're pretty new you're just getting you obviously to this. good. enjoy tennis. What type of What type of What type of What type of player are you player are you player are you player are you when it comes to when it comes to when it comes to when it comes ratings? ratings? ratings? to ratings? Championship - Championship - Championship - Championship Input D Input D Input D - Input D A - Input A A - Input A A - Input A A - Input A B - Input B B - Input B B - Input B B - Input B C - input C C - input C C - input C C - input C Please Indicate. Please indicate. Please indicate. Please Indicate. {if A, switch to {if A. switch to {if A, switch to {if A. switch to 102. If B switch to 102. if B switch to 102. If B switch to 102, if B switch 103. if C. switch to 103. if C. switch to 103. if C, switch to 103. if C. 104, 104, to 104. switch to 104. IfD. ' switch to 101} If D. ' switch to 101} T9 You will find the I recommend the I recommend the I recommend above racquet Zenith Model 212. Zenith Model the Zenith most appropriate 214. Model 216. to your needs. (if memory #3 = 1 {If memory #3 = 1 {if memory #3 = 1 {if memory #3 = then switch to 101; then switch to 101; then switch to 1 then switch to if memory #3 = 2 . if memory #3 = 2 101; if memory 101; if memory then switch to 102; then switch to 102; #3 = 2 then #3 = 2 then if memory #3 = 3 if memory #3 = 3 switch to 102; if switch to 102; if then switch to 103; then switch to 103: memory #3 = 3 memory #3 = 3 if memory #3 = 4 if memory #3 = 4 then switch to then switch to then switch to 104} then switch to 104} 103; if memory 103; If memory #3 = 4 then #3 = 4 then switch to 104} switch to 104} TIO The string tension The string tension The string The string should be set to 43 should be set to 50 tension should be tension should pounds. pounds. set to 55 pounds. be set to 65 pounds. (if memory #2 = (if memory #2 = {If memory #2 = {if memory #2 = "X" then switch to "X" then switch to "X" then switch "X" then switch 101; if memory #2 101; if memory #2 to 101; if memory to 101; if = "Y" then switch = "Y" then switch #2 = "Y" then memory #2 = to 102} to 102} switch to 102} "Y" then switch to 102} Ti l Since you are Since you are (unused) (unused) male, get the female, get the widegrip model for slender grip model men. for women. (If memory #4 = {If memory #4 = "J" then switch to "J" then switch to 101; if memory #4 101; if memory #4 = "K- then switch = "K * then switch to 102} to 102} T12 Since you play at Based on the (unused) (unused) least 3 times a number of times week, you may per week that you wish to buy two play, one racquet identical racquets should be in case you break a sufficient. If you string. This take proper care of entitles you to a it, it should last 15% discount on about 2 years. the second racquet. It has been a It has been a pleasure helping pleasure helping you to select a you to select a tennis racket. tennis racket. Have a good day. Have a good day. {switch to 101} {switch to 101} Although the present invention has been described in detail with respect to certain embodiments and examples, variations and modifications exist which are within the scope of the present invention as defined in the following claims.

Claims: C AI S 1. A method for providing expert based interactive programs to one or more users so that a high level of conversational responsiveness and interactivity is achieved regardless of the type of transmission delivery system, the method comprising: defining a decision goal for an Interactive scenario; implementing a set of rules leading to the defined goal, the rules comprising at least one premise and a conclusion whereby the rules are related hierarchically to one another in that a conclusion of at least one of the rules is a premise of another rule; forming queries, each query corresponding to a premise which requires a user response to determine the existence of the premise; mapping the queries and rules into a plurality of data streams to generate an interactive program, the plurality of data streams containing frames, the frames being time-synchronized between data streams and containing an information portion and a command portion; storing the data streams in an interactive storage medium; and providing the plurality of data streams over an interactive medium to an interactive terminal. 2. A method for receiving expert based interactive programs at one or more interactive terminals, each interactive program comprising a plurality of data streams, the method comprising: receiving the plurality of data streams, each data stream having a plurality of time-synchronized frames, wherein the frames contain embedded expert system rules and queries, the rules being hierarchically related to one another and comprising at least one premise and a conclusion; selecting a frame from a single data stream out of the plurality of provided data streams using a signal selector, whereby the selected frame comprises a query; presenting the query to a user through an interactive output device; receiving a user entry in response to the presented query; determining a next frame hierarchically related to the selected frame, the next frame determined based on the received user entry and the selected frame; and obtaining the next frame using the signal selector, whereby the next frame contains another query or a conclusion to an expert system rule. 3. The method according to claim 2, wherein the step of obtaining comprises: interpreting the received user entry and the selected frame to ascertain the location of the next frame; choosing a data stream which corresponds to the interpreted location, where the selected data stream is chosen from the plurality of data streams including the single data stream. 4. A method of creating and storing an expert-based interactive program on a storage media, the method comprising: defining a goal for the expert-based program; developing hierarchial rules related to the defined goal, the hierarchial rules containing premises and conclusions, wherein the rules are hierarchically linked together in that the conclusions of some rules are the premises of other rules; forming queries, each query corresponding to a premise which requires a user response to determine the existence of the premise; translating the queries and rules into a hierarchial tree diagram, wherein the hierarchial tree diagram logically organizes and relates the rules to one another by using branches; mapping the hierarchial tree diagram into a plurality of data streams in a predetermined sequence to generate an interactive program, each data stream having one or more frames related in content, wherein the frames represent and completely implement the branches of the hierarchical flow diagram; and storing the plurality of data streams in a storage media. 5. A method for providing expert based interactive programs to one or more users using one or more dynamically allocated data streams in order to conserve channel capacity, the method comprising: defining a decision goal for an interactive scenario; implementing a set of rules leading to the defined goal, each rule comprising at least one premise and a conclusion whereby the rules are related hierarchically to one another in that a conclusion of at least one of the rules is a premise of another rule; generating queries corresponding to the premises, each query corresponding to a premise which requires a user response to determine the existence of the premise; mapping the queries and rules into a plurality of data streams to generate an interactive program, each data stream containing one or more frames, the frames being time- synchronized between data streams and at least one frame containing an information message and a command message; identifying a number of data streams to be transmitted during a frame interval, the number corresponding to the number of time-synchronized frames during the frame interval which contain an information message and a command message; transmitting the identified number of data streams dynamically during a current frame interval over an interactive medium to an interactive terminal, wherein only those data streams having a frame with an information message and a command message are transmitted during the current frame interval. 6. A method of providing an expert-based system as an interactive program to one or more users so that a high level of conversational responsiveness and interactivity is achieved regardless of the type of transmission delivery system, the method comprising: defining a goal for the expert-based system; developing hierarchial rules related to the defined goal, the hierarchial rules containing premises and conclusions, wherein the rules are hierarchically linked together in that the conclusions to some rules are premises of other rules; forming queries, each query corresponding to a premise that requires a user entry to determine the existence of the premise; translating the queries and rules into a hierarchial tree diagram, wherein the hierarchial tree diagram logically organizes and relates the rules to one another by using branches; mapping the hierarchial tree diagram into a plurality of data streams, each data stream having one or more frames related In content, with some of the frames containing information messages and command messages and other frames containing program synchronization segments, wherein the data streams represent and completely implement the branches of the hierarchical tree diagram; and folding frames containing information messages and command messages from at least one data stream into frames of other data streams containing only program synchronization segments, wherein the total number of required data streams is reduced to include at least one compacted data stream; storing the reduced number of data streams, including the compacted data stream, in an interactive storage medium; and providing the reduced number of data streams over an interactive medium to an interactive terminal. 7. An expert based interactive system for providing to one or more users a high level of conversational responsiveness and interactivity independent of the delivery system, comprising: a means for storing data streams of interactive data, the interactive data comprised of time-synchronized frames containing premises, queries, and conclusions which represent rules of a hierarchial rule-base, the hierarchial rule-base formed in that at least one premise of one rule is a conclusion of another rule; a means, connected to the storing means, for providing one or more of the stored data streams to at least one interactive terminal; the interactive terminal for providing an interactive presentation to one or more users comprising; a means for gathering a frame located on one of the provided data streams, wherein the frame includes instructions indicating a query; a means, connected to the means for gathering, for generating an interactive query based on the instructions of the gathered frame; a means, connected to the means for generating, for presenting the generated query to a user; a means for receiving an interactive entry from the user to the generated interactive query; a means, connected to the gathering means and the receiving means, for obtaining a next frame from any provided data stream, wherein the means for obtaining comprises a means for determining the next frame based on the contents of the gathered frame and the user's interactive entry. 8. The system of claim 7 wherein the means for generating a query comprises a second means for storing at least one or more queries. 9. The system of claim 7 wherein the interactive terminal further comprises a processor, connected to the gathering means and obtaining means, for interpreting the gathered frame and executing the instructions contained in the gathered frame. 10. An interactive terminal for receiving an expert based interactive program, comprising: a means for receiving one or more data streams of interactive data, the interactive data comprised of time- synchronized frames comprising premises, queries, and conclusions which represent rules of a hierarchial rule-base, the hierarchial rule-base formed in that at least one premise of one rule is a conclusion of another rule; a means for gathering a frame located on one of the provided data streams, wherein the frame includes instructions indicating a query; a means, connected to the means for gathering, for generating an interactive query based on the instructions of the gathered frame; a means, connected to the means for generating, for presenting the generated query to a user; a means for receiving an interactive entry from the user to the generated interactive query; a means, connected to the gathering means and the receiving means, for obtaining a next frame from any provided data stream, wherein the means for obtaining comprises a means for determining the next frame based on the contents of the gathered frame and the user's Interactive entry.

Inventors: FREEMAN MICHAEL J, FREEMAN, MICHAEL, J.
Applicants: ACTV INC, ACTV, INC.
Application year: 1995
Main classification: G06F17
IPC codes: G06F17, G06N5