1. Introduction
In this era of information explosion and rapid advancement of network technology, how does one go about finding useful and effective information under the current environment of information explosion? Data mining may be one of the key solutions to this. When combined with appropriate learning techniques, people not only can accumulate experiences at information processing but also can enhance their ability to respond to new information. Case-based reasoning is an important learning technique that solves current problems through previous experiences or past successful cases, which is also one of the most important techniques for sustainable processing. This study thus develops a cloud case-based reasoning agent that integrates multiple intelligent technologies and support systems.
Many studies in the references have proposed intelligent algorithms for environment sensing, which allows users to have a better operational environment of an information system through an environment sensor. The common methods used for environment sensing include the Hidden Markov Model, Artificial Neural Network, Rule-based Reasoning, Case-based Reasoning, and Decision Tree. Smart spaces with environment sensing technology include digital homes, office buildings, laboratories, etc. The purpose of intelligent environment sensing is to make the environment more comfortable, for example, saving energy and reducing carbon emissions. However, the rules and methods of environment sensing, such as an index applied to parameter settings [
1] and differential analysis defined by domain experts [
2], require much time for analysis, investigation, and collation when generating new rules. If there is a method to automatically generate rules and its confidence is not lower than the previous two methods, then it can save on time and effort. Therefore, this study is motivated to employ case-based reasoning to analyze the choices and designs of the operations of a back-end support system.
Taiwan is a small island that is densely populated in urban areas but lacks its own resources. Most of the country’s resources are supplied by imports at a high proportion of 97%. According to the 2017 Energy Supply and Demand Profile by the Bureau of Energy, Ministry of Economic Affairs, Taiwan’s total power generation was 270,278 million kWh in 2017, or 2.33% more than the amount in 2016 (264,130 million kWh); electricity consumption per capita was 11,096.9 kWh, an increase of 2.17% over that in 2016 (10,861.6 kWh) [
3]. However, statistics from energy-saving cases assisted by government agencies showed that various fields, such as electricity, lighting, air-conditioning, and office equipment, could help reduce about 20% of potential energy (
https://egov.ftis.org.tw/achievement?cno=4; accessed on 22 July 2019). So far, most energy-saving systems have focused on how much power can be saved on a single piece of equipment or device. Examples of recommendations include replacing a T8 lamp with a T5 lamp and changing an original air-conditioner to one with an inverter compressor. However, few studies have explored energy efficiency in terms of overall power system operations, which spurs this study to develop a cloud energy-saving information agent system. Moreover, energy conservation is an important issue in sustainable scientific research. To this end, it goes without saying, this study explores the meaning of energy conservation applications.
Smart space encompasses a (1) heterogeneous network, such as Bluetooth, ZigBee, Xbee, and Wi-Fi, and (2) different programming language development platforms, such as Java, C++, C#, and VB. This study took a “back-end intelligent information system” as an example and explored how to integrate different hardware, operating systems, and programming languages, so as to effectively collect, transmit, analyze, and manage related environmental factors [
4]. In terms of present web services that are particularly designed for applications and due to the increasing demand for communication between applications, the formulation of uniform standards and protocols for information communication has become more important. The current standards for information communication include HP’s e-Speak, Microsoft’s .Net strategy, IBM’s WSTK (Web Service Toolkit) and WSDE (Web Service Development Environment), and Oracle’s Dynamic Service. Sun Microsystems also announced its web services framework, which can be adopted for the J2EE operating platform. The World Wide Web Consortium (W3C) even unified the various standards for web services, including HTTP (HyperText Transfer Protocol), XML (Extensible Makeup Language), SOAP (Simple Object Access Protocol), WSDL (Web Service Description Language), and UDDI (Universal Description, Discovery and Integration). For example, HTTP is a communication protocol widely used on the Internet; XML is a tag language used to describe the interaction between users and service providers; SOAP is a communication protocol based on XML written for the access to web services; WSDL uses XML to describe the details of web services so that applications can easily interact with each other; and UDDI is an XML-based distributed registry of web services of which the goal is to enable web services providers to quickly tell users their available web services. These standards allow web services to have a broader operating base and platform, and that is why this study utilizes web services technology as an important basis to solve the above problems.
Big data means that the amount of data involved is too enormous to be easily retrieved, managed, processed, and organized as information that could be interpreted by humans in a reasonable time period. Hence, big data cannot be processed by most traditional database management systems; rather, it must be performed under software that can run simultaneously on tens, hundreds, or even thousands of servers. Currently, the unit size of a dataset that can be analyzed within a reasonable time is ExaByte (EB), in which 1 EB = 10
18 = 1000PB (PetaBytes), where PB = 1000TB (TeraBytes). Chen [
5] mentioned that the size of the dataset does not have to be very large, such as TB, PB, or EB, but it must be a “complete” and “relative” dataset. In other words, the dataset must be able to become a series of useful information after processing and analyzing, in order for an analyst to find out the relationship between information sectors. For this reason, this study adopted a time-series analysis [
6] as the basis for retrieving relevant cases. How does one carry out unimaginable and incomprehensible big data analytics? The fundamental solution is to “make it simple.” People can summarize the results of big data analytics and take corresponding actions or make optimal decisions. The biggest challenge of this study is to explore a back-end system based on big data analytics.
Some domestic and foreign studies in the references have used both case-based reasoning and learning to develop relevant information systems. For example, Yu [
7] used the case-based reasoning technique to explore implementation methods for an optimal milling machine system that meets the processing needs. Lou [
8] combined a case-based reasoning module with a practical database to find the related technologies of knowledge management and development framework for financing, credit, and default cases in the banking industry. Huang [
9] noted the key factors for sales personnel to sell sports shoes and established the weights of these factors according to case-based reasoning, so as to get the relevant technology for sales forecasts of new products before these products are launched. Relich and Pawlewski [
10] applied case-based reasoning to neural networks to estimate the unique product development costs of a manufacturer. Faia et al. [
11] used case-based reasoning, expert system, and collective intelligence to discuss issues related to energy reduction for building energy management systems. Aljuboori et al. [
12] proposed a case-based reasoning technique based on association rules to improve the performance of similarity-based retrieval and classed frequent pattern trees (FP-CAR) algorithms and to explore the technology and application of eliminating errors or ambiguous retrievals by case-based reasoning. Chung et al. [
13] developed a programming learning and diagnosis system built on case-based reasoning, which can provide feedback and suggestions to learners in a timely manner.
Most of the references mentioned above combined a traditional case-based reasoning technique with corresponding quantitative similarity methods and integrated the combination with the new notions that scholars have improved or developed on their own, so as to highlight the importance of self-developed comparison mechanisms. This study also developed its own quantitative similarity method, by calculating the difference of the time-series data of web services provided by WIAS (Web-service-based Information Agent System) [
14] and the corresponding data in the Case Base system [
15] and then reversing the difference to determine the similarity of the case. This study easily completed case-based reasoning and learning mechanisms through web services, such as case retrieval, reuse, revision, and preservation, as provided by WIAS. In this way, this study not only proved that the self-developed quantitative similarity method is more suitable for applications but also highlighted that the system operation herein can rapidly reach cloud information services through the characteristics of interface integration and instant amplification of web services.
This system was built on the web services-based information agent system developed by the Intelligent Systems Laboratory of the Department of Information and Communication Engineering, St. John’s University [
14]. It used SQL (Structured Query Language) to access the templates and then constructed a common SQL integrated circuit (IC). The function of this system is like an IC. It can connect different parameters and communicate with the corresponding databases and web services, such as OntoDMA (Ontological Data Mining Agent) [
14], OntoCBRA (Ontological Case-Based Reasoning Agent) [
15], Ubi-IA (Ubiquitous Interface Agent) [
16] and shared control so that the corresponding query results can be easily accessed and the relevant information access services can be provided, as shown in
Figure 1. The design philosophy of this system was the service-oriented architecture of web services technology, meaning that it took the concepts of SQL IC to construct a cloud database manipulation interface like data storage to quickly and effectively integrate the back-end of the system. For example, it predefines the raw data of energy savings and forecasts its rules and cases. Such a design maintains the advantages that cloud data can be accessed at any time and retains the consistency of the interface of data storage.
Figure 2 shows the flow chart of the WIAS operation. The system hierarchy is Data Layer, Control Layer, and Service Layer [
14], from bottom to top.
In short, energy conservation is one of the important topics for sustainability science, while case-based reasoning is one of the most important techniques for sustainable processing. This study focused on developing a cloud case-based reasoning agent built on web services, ontology, and big data analytics [
15,
17]. This study first introduced the technology related to the construction of web services platforms and then explored how to use this technology to widely and seamlessly integrate and support the cloud interaction between the back-end information multi-agent systems. In order to confirm the feasibility of the system architecture, this study took an energy-saving system as an example to present relevant R&D results in greater detail. The performance and learning effectiveness of this system was highly verified through initial R&D and a comparison of the system screen.
2. Background and Technology
Ontology was originally a term in the field of philosophy as a statement that explores the nature of the knowledge of life or real things and provides a complete semantic model with the characteristics of sharing and reuse.
Figure 3 presents the part of the ontology of energy-saving information, which mainly defines the basic knowledge, hierarchical relationship, and characteristics of various energy-saving equipment and uses these definitions to support the overall operation of the back-end information agent system. We have also quoted from Protégé (
http://protege.stanford.edu/) as the foundation for the ontology-based cloud energy-saving information system architecture of St. John’s University. The implementation of these ontology-based services included converting the semantic distance of the retrieved words and transforming the retrieved words into the corresponding hypernym, hyponym, synonym, and antonym. Moreover, it took WordNet (
http://wordnet.princeton.edu/) as the base of the comparison model and combined with the Academia Sinica Bilingual Ontological Wordnet (Sinica BOW,
http://bow.sinica.edu.tw/) to explore the conversion between Chinese information and English information, the link between language information and conceptual architecture, the distinction of the meaning between words and terms, and the connection and usage of the meaning between words and terms. The above-mentioned was the basic structure of the knowledge of this system. Furthermore, this study used Jaccard similarity [
17] to estimate the consistency between ontological concepts, using the consistency between the concept of the retrieved words and the corresponding concept of WordNet and its related position to index the domain concept. Finally, it adopted the identification code Synset_ID in WordNet to access the domain concept and support the overall system operation. WordNet is a general online English database developed by the Concepts and Cognition Laboratory of Princeton University in the United States that contains 42,000 concepts. Particularly, this database can list the synonyms and antonyms of words, identify the hypernym–hyponym relationship, and most importantly, enable users to access the WordNet database by SQL and JWNL (Java WordNet Library,
http://jwordnet.sourceforge.net/handbook.html). This was the main reason for us to take the SQL database to develop an ontology- and Java-based system.
This study also proposed a parallel reduction mechanism [
17] based on big data analytics and divided it into four steps: (1) Generate Preprocess works for the keyword sets corresponding to individual websites; (2) Apply domain ontology and Jaccard dissimilarity to get Maps representing three keyword sets on individual websites; (3) Sort Shuffle corresponding to the optimal three keyword sets on individual websites; and (4) Use the average output of Jaccard dissimilarity and the closest three corresponding keywords that users have inquired to conduct the works of Reduce, as shown in
Figure 4.
Following the above literature, this study took the semi-open source framework Hadoop (such as Dropbox) as the context and explored the concept of “R + Hadoop = Big Data Analytics” [
18]. This study also built the above-mentioned MapReduce parallel reduction mechanism, integrated the computing between the keywords of domain ontology services support and the corresponding Jaccard dissimilarity, and then supported the various information services of this system based on the WIAS big data analytics technique. The actual operation is shown in
Figure 5, which shows the OutputFormat at the end of the domain ontology service index. From the establishment of Jaccard dissimilarity and the ontological databases (OD) of the real data, the above-mentioned concept was able to realize that the big data analytics of the domain ontology index can support the subsequent system operation.
Figure 6 presents the complete framework of this WIAS system [
14]. Users can use various Internet channels to transfer relevant information from Ubi-IA [
16] to the back-end information system, while this system can play as a control center that answers the questions of energy-saving information by Solution Finder. Ubi-IA is responsible for providing the processing and conversion of cloud query information and for making intelligent query decisions. The so-called “intelligent query decisions” provide the cloud solutions corresponding to cloud query. The set-up covers a three-stage intelligent query decision process as follows: (1) Process the query one-by-one through OntoDMA to determine whether there is a cloud forecasting solution; (2) use OntoCBRA to conduct a batch of sequence query processing to determine whether there is a CBR solution; (3) search for external solutions from the Internet via OntoIAS (Ontological Information Agent Shell) [
19], which originates from Ubi-IA of this WIAS system, and process the query one-by-one to determine whether there is a forecasting solution in accordance with the default rules constructed by domain experts. The database of this system came from the ontology database OD processed by the parallel reduction mechanism mentioned above, as well as the user-related database supporting the information sharing recommendation.
At the beginning of the operation, this system combined the cloud information ontology constructed by domain experts with the corresponding default rules, retrieved the useful information of the words that came out when querying information, and initialized the query information to support the confidence of default rules. At the same time, a similarity algorithm was conducted for the cases corresponding to the WIAS web services support in the cloud information ontology to complete the initialization of the system operation. Once the system started to operate, the system would periodically make a response according to the frequency of querying information [
6]. This system employed time-series analysis to calculate the most frequently occurring and the least frequently occurring query information. OntoCBRA generated relevant information of the cases according to the calculation result and matched it with the two-stage time-series forecasting algorithm to trigger the default rules corresponding to OntoDMA adaptation. The domain ontology helped to compare and retrieve the appropriate correspondence in order to effectively add value to the quality of cloud information consultation and sharing, thus enhancing the correctness, authenticity, and integrity of said information. If both OntoCBRA and OntoDMA are unable to appropriately answer the cloud query, then this system will trigger OntoIAS to directly conduct the Preprocess, Map, Shuffle, and Reduce operations of the aforementioned parallel reduction mechanism to complete data research, data retrieval, data classification, and data presentation (or sorting). This system sought out solutions of cloud information from the Internet and added the default rules by domain experts, so as to fully construct the learning cycle in response to query information. Through the three-stage intelligent decisions (OntoDMA, OntoCBRA, and OntoIAS), the purpose of this study—to find a solution for optimal energy-saving information solution—was achieved. This study focused on the development of OntoCBRA under the support of the aforementioned technologies.
3. System Architecture
According to the results of the previous system [
15], the main CBR system architecture and its four main steps are unchanged, but two optimization steps for calculating the similarity of the cases are added to more clearly illustrate the relevant calculation procedures, which are illustrated later.
Figure 7 presents the framework of this OntoCBRA system. Here, Ontological Database Access Cases (ODAC) are mainly periodically generated by the Historical Information of WIAS and the case generator under the ontology database index of the system. If the directive is whether there is a CBR solution, then the function Case Retrieval will launch ODAC under the ontology database index to accurately and effectively retrieve the same or similar cases. These cases have their similarity calculated based on the retrieved cases. Identical cases will be directly returned to the Ubi-IA; those that are not identical, but meet the standard of trimming (the threshold set by this system), will pass onward to case trimming for further processing. After undergoing trimming, the most appropriate solution comes out and is transferred to the interface agent system for reference. If the user is satisfied with the solution, then this solution will enter into the step of case retainer; otherwise, it will be discarded directly. Finally, the system decides whether the trimmed case should be stored based on case similarity (beyond the threshold set by this system) and then restores it to ODAC under the system ontology index. In addition, ODAC relies on a case monitor to provide case information, which can become the materials for OntoDMA to establish prediction rules [
14].
The source of the training materials for this case-based reasoning was the sensing data of electrical devices operating in a specific energy-saving monitoring environment and was sent in relay transmission. These sensing data was transmitted to Interface Agent at regular intervals, and the received data was stored in the cloud database via the services offered by WIAS. The cases were generated by the Case Monitor of WIAS by transforming the huge original data into information with semantic meaning. At the end, this information was summarized into cases in the case base, which were generated by the accumulation of transformational processing experiences. In other words, the knowledge content of the cases in the energy-saving information system was planned to that of a description that converts raw data to a semantic meaning for a specific time, area type, area size, measurement and control (MAC: Media Access Control Address) type and sensing data. As mentioned earlier, the case-based reasoning is a technique based on past experiences and successful cases to solve a current problem. Therefore, this study defined a case as the most common information in a given period and its corresponding energy-saving operational mode. In other words, it is the most stable energy-saving solution in the monitoring environment.
Figure 8 shows the concept of case generation, for which its trigger was the case monitor of OntoCBRA, which can communicate with WIAS. Its periodic off-line operation can send historical information of the cloud database to OntoCBRA as the material for case generation. However, the original case shown in
Figure 8 cannot directly be used in various energy-saving operational modes. Hence, it was necessary to convert the case into an appropriate semantic case in accordance with the corresponding sensor category table, so as to apply it to most energy-saving case-based reasoning mechanisms. The practice example of a case generation is shown as
Figure 9 [
20].
Figure 9 presents a complete case content, including the start day and time, end day and time, area type name, area size, measurement and control (MAC) type name, and sensing data. This complete case content was divided into three parts: (1) Convert the time period into a semantic meaning; that is, let users understand the meaning of system processing; (2) acquire environmental information and use it to quickly classify or filter a relevant system case to be a solution; and (3) obtain knowledge answers.
Case Retrieval was divided into two stages. Stage 1 was the semantic time period and location index. This study defined case retrieval as an action for conducting time-series analysis on the semantic meanings of the Chinese time period (also known as the Chinese sexagenary cycle) and then choosing the cases that meet the semantic time period and location as the candidate cases. This is also the biggest difference between this study and traditional information systems. With the support of semantic technology, the operating interface of this system automatically offers self-explanatory functions. For example, in
Table 1, the contents of Start_DT (2010/10/1 12:00:00 AM) and End_DT (2010/10/1 02:00:00 AM) were converted into the semantic contents shown in
Table 2 (DT_Seasons, DT_Months, DT_Days, DT_Weeks, DT_Sesions, and DT_Dizhi) based on the Chinese sexagenary cycle.
Stage 2 was the process to retrieve the similar case. It was divided into two steps: (1) Directly compare the values of case; if the case was the same, then the similarity calculation was skipped and this candidate case was deemed a solution; and (2) if the case was not the same, then it entered into similarity calculation. This study adopted the most common Nearest-Neighbor Retrieval method for similarity calculation because this method was simple. As long as the similarity between cases can be analyzed, the purpose of retrieval can be achieved. The calculation of Equation (1) is:
where
P denotes the problem;
C is the original case in the database; n is the number of attributes for each case;
i is the order of the attribute (from 1 to
n);
f(
Pi,
Ci) is the problem and original case in the database belonging to the
ith attribute; and
SR(
P,
C) means the similarity between the problem and original case in the database (Similarity, SR).
The Nearest-Neighbor Retrieval is quite simple and intuitive. The system compared the characteristic attributes of a new problem and the original cases in the case base, obtaining a complete case similarity value. The calculated similarity value was used as a basis for the priority of case usage. The equations for related distance conversion, normalized distance, and similarity are shown respectively as Equations (2)–(4).
The distance between the problems and the characteristic attribute of the cases in the case base is called
di(
P,
C). Here,
P denotes the problem;
C is a specific case in the recommended solution;
V(
Pi) is the value of characteristic attributes of the problems; and
V(
Ci) is the value of characteristic attributes of the original cases in the case base. Equation (2) is an extremely traditional method of calculating distance functions. In order to improve the accuracy of case similarity, the weight (W) of each characteristic attribute was added to make the judgment. Through the calculation of the weight and normalized distance of the problems and the original cases in the case base, a more accurate judgment can be obtained. However, in order to take operation effectiveness and reaction time of the intelligent energy-saving information system into account, this system did not use the weight as a calculation factor. The calculation equation is shown as:
where
dsum(
P,
C) is the normalized distance between the problems (
P) and cases (
C). The normalized equation adopted by the system is dividing the distance between each characteristic attribute by m characteristic attributes.
The system can finally get the difference between cases by the normalized distance; that is, a longer distance represents greater differences between cases. Inferring this meaning by logic, it means that a shorter distance implies a more similar case. Therefore, the similarity value of the case can be obtained by making a contrast of the distance. The similarity value is equal to one minus the normalized distance and then multiplied by 100%, as shown by:
When the identical case or superset was found in “case retrieval”, then “case reuse” directly became the recommended solution for the case. If there was no identical case in case retrieval and only similar cases could be given to case use, then these similar cases could not be a solution due to certain conditions or relation limitations. However, these similar cases may be referable and may be the final solution if an appropriate adaptation was given, as shown in
Table 3.
When the system entered the process of case reuse, it may encounter five situations, as shown in
Table 4. The situation “single-much like” was the recommended solution; for the case of “multiple-much like”, the system chose the one with the highest similarity as the recommended solution; for a “single-like” case, it entered the procedure “case adaptation”, and the adapted case was used as the recommended solution. It is highly possible that a case fails to meet the similarity threshold. For such a situation, the system would seek assistance from external experts. In the case of “single or multiple-like”-that is, its similarity value was between 0.75 and 0.85 (0.75 ≥ SR(V) > 0.85) (0.75 is the system condition threshold)-the candidate case must be appropriately adapted. This process is an important part of the case-based reasoning, which is called “case adaptation.”
The degree of “case adaptation”, also known as “case revision”, is between case reuse and case trimming, and this study categorized the case through the application of case revision. In past studies, scholars have summarized a variety of adaptation methods. Considering the applicability of the field related to this study and other considerations, this study chose the substitutional adaptation as the method. There were three main reasons for choosing this method.
First, the advantage of the substitutional adaptation method is that it is not necessary to make any changes to the original case structure. For a case-based system, this method can easily solve similar new problems in the case architecture. Hence, such an adaptation method is most efficient. Taking an energy-saving system as an example, this case-based reasoning mechanism, with the characteristic of cycling, was used in a real-time environment, and using substitutional adaptation could reduce the burden on the system operation.
The similarity value of the case retrieval in this study was calculated by a single type of sensor, and the average value of the sum was the similarity value of the case. Therefore, in the application case adaptation, a single type of sensor and its corresponding values were used as the basis of the index, and the values were slightly adjusted in an appropriate manner. Until the end, the case with the highest similarity value was taken as the recommended case. This method did not perform actions that would damage the case structure, such as adding or deleting columns. Instead, it just made a slight adaptation to the values of the sensors.
This study used the temporary table provided by .Net strategy to improve the problems in RAM. The action was to take SQL (Structured Query Language) to structure the query language through .Net. SQL is a programming language for querying, updating, and managing relational databases. SQL SELECT statement allows specific data to be easily retrieved, sorted, and filtered. Because of these three reasons, this study chose the substitutional adaptation method.
Table 5 is the case adaptation, which is an analysis of a single type of sensor. First, the necessary condition for adaptation was that the overall similarity value of the problems and the cases of database shall be 0.75 ≥ SR(V) > 0.85. Moreover, this study managed three types of adaptation: adaptation type 1, adaptation type 2, and adaptation type 3. The purpose of adaptation of this study was to improve the similarity between the new problems and the cases so that the new problems were used as the basis of the slight-adapting method.
Figure 10 is a demonstration of slight adaptation in which a certain type of the value of cases (
VC) was larger than the value of problems (
VP). Its challenge was how to shorten the distance between these two values. In this study, the average value was used to adapt
VC. The new value generated after adaptation was named
VAV, as shown in Equation (5). Equation (6) is the average of characteristic attributes (
i) of the problems and the cases, which also represent the solution of the new adapted cases. In this equation,
P represents the problems;
C means a specific case in the recommended solution;
V(
Pi) represents the value of characteristic attributes of the problems; and
V(
Ci) means the value of characteristic attributes of the cases. Equation (6) is the average conversion formula that could get the solution content of new case
CAd after adaption.
where
CAd is the new case that has been adapted; and
Vi(
P,
C) is the problems and cases of the
ith attribute.
By substituting CAd into Equations (2)–(4), the new similarity values after adaptation can be calculated, and the one with the highest new similarity value was the recommended solution for energy-saving operation. The case adaptation of this study (substitutional adaptation) was a slight adaptation of values based on not changing the case structure. In this adaptation, the new problems (each type of sensors and their corresponding values) and the candidate cases (the corresponding type of sensors and values) were adapted slightly, so as to improve the similarity between cases.
This study defined the application “case retainer” as the way to generate independent-periodical cases to explore a distinctive method of retaining cases, i.e., this is one of the important steps in sustainable processing. The huge historical data in the raw database were fully used, and so this study transformed the case retainer from a real-time application into a periodical independent application, which was different from the characteristic of cycling of the traditional case-based reasoning method. In short, to realize the difference between this case-based reasoning system and traditional case-based reasoning systems, we create an application that is particularly suitable for the energy-saving information system of this study.
Figure 11 shows the operational flow of the case retainer. In this flow, the case monitor periodically retrieves the “unconverted” historical information (raw data) to WIAS with a system-defined cycle time (like two hours). The time was then converted into semantic words based on the Chinese sexagenary cycle, and via sorting, the common information was taken out as useful information. Finally, the relevant information was converted into semantic words, denoting the action in which the semantic case was retained into the case base has been completed.