A kind of problem database system and method for building up and methods for using them thereof based on search
Technical field
The present invention relates to a kind of problem database system, relate in particular to a kind of problem database system and method for building up and methods for using them thereof based on search.
Background technology
At present, the annual number of paper that is used for examination in the whole nation need be cut down more than one hundred million trees, and trees all can produce tremendous influence, particularly environment from tellurian disappearance to environment, society, economy.Along with constantly popularizing of network, the exploitation problem database system is used for online exam will become trend, has also play a part crucial for environmental protection.
Problem database system based on search has following Research Significance for current teaching examination, teaching construction, environmental protection etc.: problem database system has reduced the influence of subjective factor to setting a question, and contents of test question has novelty.Automated randomized property has reduced amount of user effort, has improved user's work efficiency, for otherwise construction provides support.The online exam characteristics of problem database system make school significantly reduce for the utilization of paper, and this is for preventing that forest from being had huge help by the transition felling, use up formidable thin power somewhat for environmental protection.
At present, though also there are some problem database systems on the network, but, it is managerial that the problem database system of present major part is devoted to exam pool, and the exam pool content of these problem database systems is all more outmoded, and practicality is relatively poor, and the generation of examination question is not at random, contents of test question is novel inadequately, does not often have significance of times.
Summary of the invention
The object of the present invention is to provide a kind of examination question novelty, various problem database system and the method for building up and methods for using them thereof based on search of content.
For achieving the above object, the present invention adopts following technical scheme: a kind of problem database system based on search, described problem database system comprises server, database module, database platform and search engine module, described database module is based upon on the basis of database platform, and database module is connected with server respectively with search engine module.
Among the present invention, database module is connected with server respectively with search engine module, database module and search engine module can be integrated, accomplish that the limit goes out the examination question limit and swashes from the website and fetch data, abundant in content.
Described database module comprises storer A and storer B, stores key word and examination question table in the storer A, stores the site information table in the storer B.Storer A and storer B are separate, realize the memory function to different information.
Described server is Apache2.2, and database module is MySQL5, and database platform is the PHP5 platform.
In the described PHP5 platform PHP source code is installed.
Described PHP source code is based on the PHP language compilation, because of the web station system that utilizes the PHP language compilation many in the actual website exploitation.Function is fairly perfect, mainly can realize Classification Management, exam pool management, and managing test paper is read and made comments paper, the homepage tag modification, member management, functions such as DB Backup, paper is that the form with webpage represents to the user.
The present invention is based on the method for building up of the problem database system of search, it may further comprise the steps:
1) utilizes server, database module and database platform, build basic website framework;
2) search engine module is installed, and in search engine module, links more than one station address;
3) search engine module is connected with server respectively with database module;
4) grasp relevant test question information by key word from the network address that is linked with search engine module, again the storer A that deposits the test question information of being correlated with and key word in database respectively.
Described key word is the leafy node of classification tree.
The present invention is based on the application process of the problem database system of search, it may further comprise the steps:
1) search engine module is connected with database module, and extracts key word from the storer A of database module;
2) search engine module is content with the key word, by with its website that links, search for;
3) server mates information and the key word that search engine module searches, and preserves the information of coupling;
4) server compares the examination question tables of data among the storer A of the information and date library module of step 3) reservation, judges whether examination question repeats, if repeat then to delete, keeps the examination question that does not repeat;
5) server new examination question that step 4) is remained deposits in the examination question tables of data among the storer A of database module;
6) server is formed paper according to examination question corresponding in the examination question tables of data among the examination question type random choose storer A.
Among the present invention, just refer to utilize based on search on the basis of method of search, in certain zone (for example in certain website), the information that is complementary according to keyword search and key word.Carry out in the specific region based on search, make it pointed, simultaneously, the diversity of information makes it have randomness, novelty.The information of utilizing keyword search and key word to be complementary based on search, automated randomized generation examination question, as option, option is also searched at random and is generated, and breaks the traditional approach of in the past setting a question based on search according to the keyword of the classified search of key word and the same classification of key word, the saving person's of setting a question time, and same key word can search out a lot of information, and the contents of test question of generation is varied, and is rich and varied, option also is unfixed, and contents of test question all is the innovation topic.By the type search exam pool of paper, the examination question that search and paper type are complementary, random choose examination question.
In the present invention, the implication of key word is: the word or the core content that use when being used for the search match information.
Among the present invention, coupling refers to utilize key word removal search match information, if this packets of information contains this key word, this key word and the information matches that searches so just is described.
The present invention adopts above design proposal, be connected with search engine module by traditional problem database system, utilize keyword search and be the paper option with key word content of the same type, broken the traditional approach of in the past setting a question, saved the person's of setting a question time, and same key word can search out a lot of up-to-date information in real time by search engine module, the contents of test question that produces is varied, rich and varied, option also is unfixed, and contents of test question is comparatively innovated; Like this, server can search the examination question that is complementary with the paper type by the type search database module of paper, and the random choose examination question; And problem database system of the present invention has reduced the influence of subjective factor to setting a question; The online exam characteristics of problem database system make school significantly reduce for the utilization of paper, and this is for preventing that forest from being had huge help by the transition felling, use up formidable thin power somewhat for environmental protection.
Embodiment
The present invention is further detailed explanation below in conjunction with embodiment:
The present invention discloses a kind of problem database system based on search, described problem database system comprises server, database module, database platform and search engine module, described database module is based upon on the basis of database platform, and database module is connected with server respectively with search engine module.
Among the present invention, database module is connected with server respectively with search engine module, database module and search engine module can be integrated, accomplish that the limit goes out the examination question limit and swashes from the website and fetch data, abundant in content.
Described database module comprises storer A and storer B, stores key word and examination question table in the storer A, stores the site information table in the storer B.Storer A and storer B are separate, realize the memory function to different information.
Described server is Apache2.2, and database module is MySQL5, and database platform is the PHP5 platform.
In the described PHP5 platform PHP source code is installed.
Described PHP source code is based on the PHP language compilation, because of the web station system that utilizes the PHP language compilation many in the actual website exploitation.Function is fairly perfect, mainly can realize Classification Management, exam pool management, and managing test paper is read and made comments paper, the homepage tag modification, member management, functions such as DB Backup, paper is that the form with webpage represents to the user.
The present invention is based on the method for building up of the problem database system of search, it may further comprise the steps:
1) utilizes server, database module and database platform, build basic website framework;
2) search engine module is installed, and in search engine module, links more than one station address;
3) search engine module is connected with server respectively with database module;
4) grasp relevant test question information by key word from the network address that is linked with search engine module, again the storer A that deposits the test question information of being correlated with and key word in database respectively.
Described key word is the leafy node of classification tree.
The present invention is based on the application process of the problem database system of search, it may further comprise the steps:
1) search engine module is connected with database module, and extracts key word from the storer A of database module;
2) search engine module is content with the key word, by with its website that links, search for;
3) server mates information and the key word that search engine module searches, and preserves the information of coupling;
4) server compares the examination question tables of data among the storer A of the information and date library module of step 3) reservation, judges whether examination question repeats, if repeat then to delete, keeps the examination question that does not repeat;
5) server new examination question that step 4) is remained deposits in the examination question tables of data among the storer A of database module;
6) server is formed paper according to examination question corresponding in the examination question tables of data among the examination question type random choose storer A.
Step 6) automatic volume group process is just to carry out when the examination question amount of group topic acquires a certain degree automatically, at first transfer the examination question in the examination question tables of data of storer A, the paper type is chosen out, from exam pool, select the examination question consistent with the paper type then, then the id of examination question and the id of paper are inserted database.
The problem database system that the present invention is based on search is under the framework of examination system, use the leafy node of classification tree as key word, grasp the information of a plurality of news websites with search engine, obtain up-to-date information, utilize the key word match information, the leaf of search and the same classification of key word is realized while searching for automated randomized function of setting a question as other options.When examination question reaches some, again according to the automated randomized examination question of selecting of the type search exam pool of examination question, realize the smart group volume function of the group volume while searching for.