Research Innovative Research on College English Teaching Mode Based on Strategy Reasoning Mechanism

In the era of artificial intelligence, the traditional English teaching methods cannot meet the increasing demand of course learning at this stage. Therefore, in this paper, a brand-new English teaching model based on strategic reasoning mechanism is designed by analyzing the problems faced by construction of network curriculum in universities. By introducing the idea of artificial intelligence, the student model and teacher model are designed, and the separation of teaching content and teaching strategy is realized. The development of the system adopts B/S structure and relies on lightweight J2EE multitier framework. At the same time, the overall architecture, functions, and processes of the teaching system are analyzed and designed. The system is convenient to transplant and expand, which has certain practical value and can provide reference for the design of various teaching systems and the innovation of teaching modes.


Introduction
With the continuous penetration of information technology into the eld of education, arti cial intelligence has played an important role and has been paid attention to and recognized by more and more educators [1,2]. Arti cial intelligence, as a rapidly developing technology, has brought new advantages to the reform of college English teaching and provided a possible path for the construction of e cient and high-quality college English teaching. e interaction and in ltration between arti cial intelligence technology and college English teaching has promoted the diversi ed development of teaching methods and modes, thus playing an active role [3]. Reform of college English teaching from the perspective of arti cial intelligence is re ected not only in the improvement of teaching quality, but also in the improvement of students' interest in English learning. It is conducive to upgrading college English teaching from static passive learning to dynamic active learning, thus leading to the overall optimization of college English teaching ecology [4]. Relying on arti cial intelligence, the teaching of listening, speaking, reading, and writing can be more vivid and three-dimensional, thus creating a modern intelligent English teaching system which is not to promote the complication of college English teaching, but to use advanced technology to present English in the simplest and most popular way for students, creating new perspectives and possibilities for college English teaching.
With the rapid development of arti cial intelligence and network technology, web-based foreign language teaching websites or software appears one after another. However, the current online English teaching systems are mainly based on students' self-study and teachers' o -line answers, where students cannot get corresponding guidance [5]. In addition, there are also numerous English databases, online dictionaries, and online translation websites on the Internet. ese tools can only translate and explain speci ed words and phrases, but cannot analyze a certain sentence and actively give learning guidance. erefore, it is of great signi cance to study a new English teaching model with intelligent analysis function and corresponding learning guidance for di erent students.
instances form a hierarchical structure, which supports the classification and representation of knowledge and enables knowledge to be organized in a certain form [6,7]. Objectoriented knowledge representation is mainly based on abstract data types, which is convenient to represent the static characteristics, real-time state, and interobject association of complex objects.
Because each object has three important parts: inherent attribute, operation behavior, and relationship with other objects, four base classes are established according to the object-oriented idea: attribute class, behavior class, entity class, and relationship class. e conceptual model of object-oriented knowledge representation is shown in Figure 1.
e attribute class is used to represent all the basic attributes of objects, the behavior class is used to represent all the basic behaviors, the relationship class is used to represent all possible relationships between entities, and the entity class is used to represent all objects. Commonly used knowledge representation methods [8] are the following: (1) Predicate logic representation: e main knowledge in artificial intelligence is often expressed by first-order predicate logic. Predicate logic representation can express things that cannot be expressed by propositional logic, but it still has some shortcomings for the representation of complex problems.
(2) Production rule representation: Production rule is a widely used knowledge representation in expert system at present. e knowledge of causality is generally expressed by production. Its basic form isas follows: IF P THEN Q in which P is the precondition of the production formula; Q refers to the conclusion or operation obtained when condition P is satisfied. e meaning of the production formula is expressed as follows: if the premise P is satisfied, the conclusion Q can be deduced or the operation specified by Q can be performed.

Data-Driven Forward Chain Reasoning Algorithm.
According to the existing information of the problem, the context is established by adopting the rule forward. If the condition of the rule can be correlated with the existing facts, the rule is considered to be available. If there are several rules that satisfy the conditions, the conflict resolution strategy is used to select one, and add the fact of the rule to the context [9]; then repeat this process until the problem is solved or reasoning fails. e algorithm is described as follows: By assuming factual goal and searching the knowledge base, the rule set that may match the fact can be found out, and then check the condition part of each rule in the rule set. If a rule can be correlated with the current data provided by the user, add the conclusion part of the rule to the database. Otherwise, take the condition item of the rule as a target, recursively executing the described process until all the subtargets appear in the context or the subtargets are not further solved [10]. For the latter, backtracking recurs again. e algorithm is described as follows: Procedure Backward Reasoning Set the initial reasoning goal and set the initial fact DB; Generating an optional rule set R by using the initial target matching rule; While (R ≠ NULL) Do {Take one in order as an executable rule; Record the condition position of dynamic database and target library; Call the procedure for recursive + backtracking antecedent matching; IF (each sub-goal in the target library appears in the dynamic DB) THEN Add to rule base; } IF (natural number) output reasoning failed; Exit.

Framework Reasoning.
First, find a description suitable for all current problems, and then use context reasoning of the framework to find the undiscovered facts, and make relevant operations among the factors ( Figure 2). Specific framework reasoning can be divided into static and dynamic. For static framework, static knowledge is used to represent framework, which corresponds to Rule and static fact in production system [11]. Dynamic framework is a dynamic information set generated in the process of framework reasoning, corresponding to Rule_based. is paper adopts the static reasoning framework, and its implementation code is as follows: Procedure Frame Handler Set initial information and dynamic framework set; Set the reasoning end flag to False; While (reasoning end flag � False) Do Taking out the activated static framework; Scientific Programming {Take the case face value of corresponding factors; goto A} IF (default reasoning � True) {Take the side value of the framework factor; goto A} IF (inheritance reasoning � True) {Take the subframe, get the side value of the framework factor, and call recursively; goto A} IF (procedural reasoning � True) {Call the corresponding procedure and get the side value of the framework factor, goto A} A: fill in the static framework (or dynamic) corresponding factors of the side value of the factor; Reset the current static framework; Set the reasoning end flag False or True (according to the reasoning situation); } } 2.3. J2EE Architecture. Java, often used as one of the backend development languages of websites, has integrated many convenient frameworks. e system of education and learning platform is developed by J2EE with the objectoriented characteristics of Java [12,13]. By combining MVC pattern and related frameworks, distributed architecture and cluster are used to improve the throughput of the system and make its architecture simpler and clearer. To make a dynamic website system, it is necessary to provide a server and database for web applications, so as to analyze and display front-end pages, handle business logic, and read related data. J2EE architecture reduces the cost and complexity of developing multitier applications by providing a middlelayer integration framework. e middle layer can meet the requirements of high reliability, practicability, and scalability [14]. e unified development platform of J2EE can support the implementation of existing applications and can also fully support Enterprise Java Beans, which enhances the security mechanism and improves its performance [15]. e framework is shown in Figure 3.

Lightweight Framework.
Lightweight framework is a programming pattern relative to heavyweight framework (typically EJB) [16]. is is because J2EE platform is a service provided by multiple suppliers, which comprehensively develops enterprise-level application products. On the one hand, the lightweight framework can be developed by simple   Scientific Programming Java Beans method, which can reduce the dependence of applications on containers and improve the development efficiency. On the other hand, most lightweight frameworks belong to open-source projects, and there are a large number of ready-made source codes, which help to reduce the difficulty of developing projects. In addition, lightweight framework has the following advantages [17,18]: (1) Adopt control inversion mode and aspect-oriented programming. It is not necessary to write a lot of code for executing developers, abnormal or managed connections, and it is easy to solve the dependency problem of objects. is not only separates the business logic from the basic framework, but also reduces the complexity and enhances the maintainability of the application.
(2) Lightweight framework provides management business. Due to its modular attribute, it is not required that business objects must follow the specific interface of the platform. Developers can develop based on POJOs to improve the efficiency.

Overall Architecture.
e systematic architecture is designed as B/S three-layer structure. B/S structure is easier to improve and expand than traditional C/S structure. e C/S structure requires that every terminal client must install the client program; otherwise it cannot work. is limitation makes poor compatibility and universality of the C/S structure [19].
e three-layer model of B/S structure includes the presentation layer (PL), the logic layer (LL), and the data layer (DL). e structural diagram is shown in Figure 4. e presentation layer, also known as the interaction layer, is the interface between users and the whole system. It provides the user interface of application programs for displaying data and accepting data input by users. e client can run the software only by installing a WEB browser. e business layer is a WEB server, which realizes the business functions of applications, and almost all business processing is managed in the middle layer. e middle layer is user-oriented, and the information input by the user interacts with the data layer through the middle layer, which mainly processes data business for specific problems [20,21]. e data layer is a database server with student model and teacher model, while all kinds of data analysis, processing, and other operations ultimately come down to the access to the database in data layer.
Among them, the access between layers is strictly limited, and the logic layer can only access the data layer, while the presentation layer can only access the logic layer. Instead of directly accessing the database, users should connect to the middle layer and interact with the database through the presentation layer [22].

Functional Architecture.
is system includes four kinds of users: experts, teachers, students, and administrators. When users log in, they have different module operation permissions according to different identities.
Expert: Expert refers to a senior English expert who has authoritative and profound knowledge in the field of English major and can thoroughly analyze the knowledge points, degree, and certainty involved in English test questions and give the system samples in the established format. e main permissions include knowledge base maintenance (adding, querying, modifying, and deleting static knowledge base and dynamic knowledge base), sample maintenance (adding, querying, modifying, and deleting), and password modification.
Administrator: they refer to the staffs who have the right to maintain the system daily. e authority mainly includes the management of system users, and the management of question bank includes adding, inquiring, modifying, and deleting.
Teachers: they are English teachers. One or several English teachers are assigned to each course according to the number of students' elective courses. Teachers' rights include viewing students' information, mastering students' learning progress, analyzing the knowledge of designated students or groups, organizing examinations, and analyzing test results.
Students: they refer to the registered students in this system. eir main rights include taking part in online learning in online classroom, self-study, examination, using intelligent analysis or diagnosis system to analyze the knowledge points they have learned, and obtaining relevant suggestions, intensive exercises, personal information modification, etc. e system consists of three subsystems, namely, online teaching system, web-based teaching resource database, and teaching management system. e online teaching system is the main system, which mainly provides students with the functions of online real-time receiving and autonomous learning after class. e web-based teaching resource database is the supporting system of the main system, which contains all the resources of teaching and learning, such as courseware, video and audio material database, learning strategy database, corpus, and various teaching resource databases. Students can obtain materials from the resource pool to strengthen or expand their knowledge, while teachers can integrate the materials in the database for teaching or testing. e online teaching management system is another supporting system, which mainly records, monitors, evaluates, and feeds back the teaching process, including registration module, grading test module, online learning record module, score analysis, and evaluation feedback module. e system manages the students' learning process when they have registered for courses online, analyzes the learners' learning progress, knowledge points, and grades, and establishes corresponding learning files for storage, so as to dynamically track and evaluate the students' learning activities.  : it includes exercise analysis, knowledge point analysis, learning mastery analysis, and group analysis. It is used to determine feedback results in relevant situations.

Teaching Process.
e traditional teaching mode is generally based on the teacher as the center to educate, while students passively accept knowledge.
e Internet-based autonomous learning teaching mode is a new teaching mode with students as the center and teachers playing an auxiliary role. It strengthens students' ability to acquire, process, use, and memorize knowledge, which is of great significance for the learners to understand the research process, improve their quality, and cultivate the awareness of lifelong learning in the cognitive process. e teaching mode of a unit module is shown in Figure 5. e process is based on the teaching unit as a cycle. For a certain teaching unit, firstly the teaching objectives and learning objectives of the unit are set, and the methods to achieve the objectives are provided. After entering the online class or autonomous learning system, the system provides rich learning resource and forms for students to choose, whether it is the learning of vocabulary and grammar in language knowledge or the learning of listening, speaking, and writing in language skills. It can be a video explanation or a small game of set scene. e next stage is the class training. In this stage, the teacher guides the students in reading, writing, and translation; then, students form a group for interactive training. e fourth stage is the practice, which mainly trains the students' communication skills and improves their relevant abilities by designing a series of activities combined with the social reality which include group discussion on current affairs at home and abroad and filling in the application form for studying Scientific Programming abroad. After the completion of the above stages, users will enter the teaching/learning test. If the preset teaching objectives and learning objectives are reached, the cycle will end and users will enter the next cycle. Otherwise, the students will return to restudy according to the mastery of knowledge and skills which contains three kinds of situations: return to communication layer, return to language skill training layer, and return to language learning layer.

Construction of Knowledge Base.
e key point of establishing intelligent teaching mode is the construction of knowledge base, which involves the division of knowledge points. In fact, the basic understanding and memory unit of knowledge concept constitutes the whole teaching content. When learners associate each knowledge unit, the overall structure of the concept can be formed, which is beneficial to understanding and reviewing.
In this teaching mode, the mastery degree of knowledge points is set as 1-6 to quantify the students' understanding of a certain knowledge point, which means that they have mastered, comprehended, understood, not understood, learned, and not learned. e first four are used to describe the degree of mastery of the knowledge point, and the last two are used to judge whether the knowledge point is included in the learning process. When a student first browses a knowledge point, the knowledge point is added to the student's knowledge point model and marked as learned. When they complete a test about the knowledge point, the system will carry out intelligent diagnosis according to the knowledge point and related knowledge points and analyze the students' proficiency level and the causes of errors, thus giving learning suggestions. e framework of knowledge points judgment in this system is composed of four factors, namely, score, reading capacity, accuracy, and elapsed time. Factor 1, score, refers to the idea that after entering the system, the student first  conducts some knowledge tests within the specified time to roughly understand the overall situation of the their mastery of relevant knowledge. e remaining three factors refer to the completion of the students' systematic learning of the knowledge of the unit and the completion of the exercises in the unit. is framework encodes the four factors that determine students' learning level, and the coding order is "S," "R," "C," and "T," while each factor may have multiple values. Infer factor belongs to inheritance reasoning and is a subframe, also known as the lower framework, which is a further logical reasoning of the objective described by the current framework. e lower framework is named according to the infer factor of the upper framework, which can be expressed by production rules.
Taking the judgment that students have mastered the knowledge as an example, the framework rules are as follows:
is framework corresponds to different combinations of the values of the four factors and can be simplified to a simple table structure without nesting: Rule (1, "mastered," [S1, R1, C1/C2, T1]).
Here, "/" is used to indicate the relationship of "or" in the rule. Because the fact and rule of Prolog cannot express the relation of "or" in a clause at the same time, the accuracy rate of answering questions can be one of two cases to split into clauses. e infer factor corresponds to another framework, which can further evaluate or suggest the student's learning level as "mastered," for example,

Strategy Reasoning Mechanism.
Reasoning is a process that starts from the known conditions and gives the corresponding results by querying the relevant rules in the strategy base. According to the characteristics and objectives of the system, the data-driven method is adopted as follows: (1) Initialize the rule base and add the known facts into the rule base according to the format required by the system.
(2) According to the state of the current student model, the known facts (known conditions) are extracted and added to the comprehensive database. (3) According to the known facts, the rules existing in the rule base are matched. If contained, execute step 4; otherwise execute step 7. (4) Execute the selected rules and marked rules. If necessary, execute the rules; otherwise the conclusion will become new facts and be put into the database. (5) Search the comprehensive database. If there is a solution to the problem in the database, it indicates that the problem is solved and the solving process is finished. Otherwise, return to step 3. (6) If there are unused rules in the rule base, and they do not match the facts in the comprehensive database, it means that the problem has no solution and the process is terminated. (7) If there are no unused rules in the rule base, it means that the problem has no solution and the process is terminated.
If the process of solution fails, it means that the system has not recorded this situation into the comprehensive database.
e system should give teaching suggestions according to the student model and basic teaching principles. e basic teaching principle refers to something with obvious regularity in the teaching process [23]. Although it cannot reflect the teaching experience of individual teachers, it is still scientific and effective in accordance with the basic teaching rules. In the process of systematic reasoning, multiple rules may satisfy the conditions. In this case, the priority of rules should be set to resolve the conflict of rules.

Conclusion
Implementing research on the innovative teaching mode of college English class in the era of artificial intelligence can catalyze the reform of English teaching. erefore, in this paper, a teaching mode of English teaching system based on the mechanism of strategic reasoning is proposed. By introducing the idea of artificial intelligence, the student model and the teacher model are designed to separate the teaching content from the teaching strategy.
rough the design of system database and teaching process, aiming at the construction of knowledge base, a strategy reasoning mechanism suitable for English teaching is put forward where a lightweight framework is adopted to provide the combination of presentation layer, logic layer, and data layer, which improves the development efficiency. It is a convenient system for transplantation and expansion and has certain practical application value; at the same time, it can provide reference for the design of various teaching systems.
Data Availability e dataset can be accessed upon request.

Conflicts of Interest
e authors declare that they have no conflicts of interest.