Summary of the invention
The invention provides a kind of method and system based on cloud teaching platform realization data search, to address the above problem.
The invention provides a kind of method that realizes data search based on the cloud teaching platform.Said method may further comprise the steps: the data in the controller infinite loop traversal teaching data storer, and the GUID tabulation according to its maintenance according to first rule, obtains thematic data, and thematic data is stored to the thematic data storer; Thematic data in the controller infinite loop traversal thematic data storer, and according to thematic data generation thematic data concordance list; Controller generates the words and phrases data directory according to the second regular generator data directory and according to three sigma rule, and index of metadata table and words and phrases data directory is sent to querying server according to the thematic data concordance list; Wherein, if index of metadata table or words and phrases data directory in the controller have Data Update, then controller is sent to querying server with the words and phrases data directory item that upgrades in the index of metadata item that upgrades in the index of metadata table or the words and phrases data directory; When the user carries out data search, querying server is according to the Query Information of user input query metadata concordance list and words and phrases data directory successively, to obtain the initial query result, and obtaining final Query Result according to assessment algorithm and initial query result, querying server is stored final Query Result; Wherein, if the searching times of Query Information is greater than preset value in one-period, then querying server carries out data search according to Query Information again, obtains the also up-to-date final Query Result of storing queries information correspondence.
The present invention also provides a kind of system based on cloud teaching platform realization data search, comprises teaching data storer, controller, thematic data storer and querying server.Controller connects teaching data storer, thematic data storer and querying server.Controller is used for the data in the infinite loop traversal teaching data storer, and the GUID tabulation according to its maintenance according to first rule, obtains thematic data, and thematic data is stored to the thematic data storer.Controller is used for the thematic data in the infinite loop traversal thematic data storer, and generates the thematic data concordance list according to thematic data.Controller is used for according to the thematic data concordance list, generates the words and phrases data directory according to the second regular generator data directory and according to three sigma rule, and index of metadata table and words and phrases data directory are sent to querying server.Wherein, if index of metadata table or words and phrases data directory in the controller have Data Update, then controller is sent to querying server with the words and phrases data directory item that upgrades in the index of metadata item that upgrades in the index of metadata table or the words and phrases data directory.When the user carries out data search, querying server is according to the Query Information of user input query metadata concordance list and words and phrases data directory successively, to obtain the initial query result, querying server obtains final Query Result according to assessment algorithm and initial query result, and querying server is stored final Query Result.Wherein, if the searching times of described Query Information is greater than preset value in one-period, then querying server carries out data search according to Query Information again, obtains and store the up-to-date final Query Result of described Query Information correspondence.
Compared to prior art, according to the method and system based on cloud teaching platform realization data search provided by the invention, controller obtains thematic data according to first rule, and thematic data is stored to the thematic data storer, so by the refinement of thematic data, improved the search efficiency of data.In addition, controller is sent to querying server with index of metadata table and words and phrases data directory, when the user carries out data search, querying server is according to the Query Information of user input query metadata concordance list and words and phrases data directory successively, to obtain the initial query result, querying server obtains final Query Result according to assessment algorithm and initial query result.So, by query metadata concordance list and words and phrases data directory successively, improved initial query result's hit rate, and, obtain final Query Result according to assessment algorithm and initial query result again, improved the accuracy of inquiry greatly.In addition, if the searching times of respective queries information is greater than preset value in one-period, then querying server carries out data search according to described Query Information again, obtains and store the up-to-date final Query Result of described Query Information correspondence.So, directly use when being convenient to inquire about next time, improved search efficiency greatly.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
What Figure 1 shows that preferred embodiment according to the present invention provides realizes the process flow diagram of the method for data search based on the cloud teaching platform.What as shown in Figure 1, preferred embodiment of the present invention provided realizes that based on the cloud teaching platform method of data search comprises step 101~105.
In step 101, the data in the controller infinite loop traversal teaching data storer, the GUID tabulation according to its maintenance according to first rule, obtains thematic data, and described thematic data is stored to the thematic data storer.
In present embodiment, the teaching data on the teaching data memory stores cloud teaching platform.Particularly, the teacher on the cloud teaching platform can be stored to teaching courseware the teaching courseware prefecture of teaching data storer, and then, the video of teacher's real-time recording when giving lessons also can be stored to the instructional video prefecture of teaching data storer.The student is online to listen to the teacher, and marks to teacher after hearing out class, the student that appraisal result can be stored to the teaching data storer prefecture of marking.Teacher arranges operation, and with the students' work prefecture of job storage to the teaching data storer.The student fulfils assignment, and after teacher for example reads and makes comments by the cloud teaching platform, the operation score is stored to the operation score prefecture of teaching data storer.In addition, teacher also can sum up the main contents of this section course, and imports corresponding keyword as metadata.Wherein, the cloud teaching platform can generate the numbering that the overall situation is unique for every class journey, is used for all resources (for example, courseware, video, scoring, operation, score, metadata) of this class journey of sign.For example, if teacher A prepares the course of " life cycle of infosystem ", after the A that is a teacher makes teaching courseware and is uploaded to the teaching data storer, the cloud teaching platform can produce the numbering GUID:a1484645-786e-4f7e-bc09-0ecf36add696 that the overall situation is unique for this courseware, teaching datas such as the instructional video that produces after this curricula, student's scoring, students' work, operation score, metadata all can adopt a1484645-786e-4f7e-bc09-0ecf36add696 to number as GUID, so that the thematic data arrangement.
In present embodiment, data in the controller infinite loop traversal teaching data storer, GUID tabulation according to its maintenance, according to first rule, the process that obtains thematic data is: the controller infinite loop travels through the data in the teaching data storer, obtains the GUID of data, and whether comparison GUID is present in the GUID tabulation, if do not exist, the data filing of then obtaining the GUID correspondence is thematic data.Particularly, controller is safeguarded the GUID tabulation, if the data GUID that controller obtains is present in the GUID tabulation, illustrate that then these data are extracted, if the GUID of these data is not present in the GUID tabulation in the teaching data storer, illustrate that then these data are not extracted, at this moment, controller all extracts the teaching data of this GUID correspondence in the teaching data storer, and filing is to a static file, form a thematic data, and this thematic data is stored in the thematic data storer.Simultaneously, finish the extraction of teaching data of this GUID correspondence after, controller can be updated to this GUID the GUID tabulation of its maintenance.In this, each thematic data for example comprises teaching datas such as numbering GUID, teaching courseware, instructional video, student's scoring, students' work, operation score, metadata.
In step 102, described controller infinite loop travels through the thematic data in the described thematic data storer, and generates the thematic data concordance list according to described thematic data.
In present embodiment, the thematic data concordance list comprises contents such as sequence number, thematic GUID, physical location, metadata and words and phrases data.Particularly, thematic data in the controller infinite loop traversal thematic data storer, and whether the GUID of comparison thematic data is present in the thematic data concordance list, if exist, illustrate that this thematic data has been refined to the thematic data concordance list, if do not exist, illustrate that then this thematic data is not refined as yet to the thematic data concordance list, need this moment the relevant information of this thematic data is added the thematic data concordance list.In this, thematic data concordance list example is as shown in table 1.
Table 1
In table 1, sequence number is represented the numbering of each index information in the thematic data concordance list, special topic GUID is teaching data GUID, physical location represents that relevant thematic data is at the disk directory of thematic data storer, metadata is the keyword that teacher imports, the words and phrases data are by all the content of text participles with teaching data, and words and phrases that the number of times that repeats reaches the certain predetermined value are refined obtain.Refinement about the words and phrases data is the technological means of using always in this area, so repeat no more in this.
In step 103, described controller is according to described thematic data concordance list, generate the words and phrases data directory according to the second regular generator data directory and according to three sigma rule, and described index of metadata table and described words and phrases data directory are sent to querying server.
In present embodiment, controller is according to the thematic data concordance list, process according to the second regular generator data directory is: controller travels through metadata all in the thematic data concordance list successively, identical metadata is organized in the index of metadata item, wherein, the index of metadata item comprises metadata and corresponding index position thereof.In addition, controller is according to the thematic data concordance list, the process that generates the words and phrases data directory according to three sigma rule is: controller travels through words and phrases data all in the thematic data concordance list successively, identical words and phrases data are organized in the words and phrases data directory item, wherein, words and phrases data directory item comprises words and phrases data and corresponding index position thereof.
For example, can generate the words and phrases data directory shown in the index of metadata table shown in the table 2 and the table 3 according to the thematic data concordance list shown in the table 1.
Sequence number |
Metadata |
Index position |
1 |
Life cycle |
1、2 |
2 |
Project verification |
1 |
3 |
Exploitation |
1、2 |
4 |
O﹠M |
1、2 |
5 |
Wither away |
1 |
6 |
Demand |
2 |
7 |
Test |
2 |
8 |
The life of product |
3 |
9 |
Form |
3 |
10 |
Grow up |
3 |
11 |
Ripe |
3 |
12 |
Decline |
3 |
Table 2
Wherein, in table 2, the numbering of each index information in the sequence number representation element data directory, metadata is the metadata that records in the thematic data concordance list, index position is represented the corresponding sequence number of corresponding metadata in the thematic data concordance list.
Sequence number |
The words and phrases data |
Index position |
1 |
Concept forms |
1 |
2 |
Demand analysis |
1 |
3 |
Problem definition |
2 |
4 |
Black-box Testing |
2 |
5 |
Eliminate in market |
3 |
6 |
Marketing life |
3 |
7 |
Life cycle |
3 |
Table 3
Wherein, in table 3, sequence number is represented the numbering of each index information in the words and phrases data directory, and the words and phrases data are the words and phrases data that record in the thematic data concordance list, and index position is represented the corresponding sequence number of corresponding words and phrases data in the thematic data concordance list.
In present embodiment, behind controller generator data directory and the words and phrases data directory, index of metadata table and words and phrases data directory can be sent to querying server.Wherein, if index of metadata table or words and phrases data directory in the controller have Data Update, then controller is sent to querying server with the words and phrases data directory item that upgrades in the index of metadata item that upgrades in the index of metadata table or the words and phrases data directory.Particularly, if the index of metadata item in the index of metadata table or the words and phrases data directory item in the words and phrases data directory have newly-increased or revise, then controller will increase newly or amended index of metadata item or words and phrases data directory item are sent to querying server, and querying server is according to index of metadata table or the words and phrases data directory of the information updating storage that receives.If the index of metadata item in the index of metadata table or the words and phrases data directory item in the words and phrases data directory are deleted, then controller is sent to querying server with the index of metadata item deleted or the information of words and phrases data directory item, and querying server is according to index of metadata table or the words and phrases data directory of the information updating storage that receives.
In step 104, when the user carries out data search, described querying server is inquired about described index of metadata table and described words and phrases data directory successively according to the Query Information of user's input, to obtain the initial query result, and obtaining final Query Result according to assessment algorithm and described initial query result, described querying server is stored described final Query Result.
In present embodiment, when the user searched for the data of cloud teaching platform, the user understood input inquiry information (for example, key word), and querying server is according to the Query Information of user input query metadata concordance list and words and phrases data directory successively.For example, if the Query Information of user's input is: life cycle, it is as shown in table 4 that then querying server query metadata concordance list can obtain the initial query result, and it is as shown in table 5 that inquiry words and phrases data directory can obtain the initial query result.
Sequence number |
Metadata |
Index position |
1 |
Life cycle |
1、2 |
Table 4
Sequence number |
The words and phrases data |
Index position |
7 |
Life cycle |
3 |
Table 5
Afterwards, querying server obtains final Query Result according to assessment algorithm and initial query result.In this, assessment algorithm is: scoring and score according to each thematic data correspondence obtain average score and average, the assessed value of each thematic data equal the sum of products average of the average score of described thematic data and first ratio and second ratio product and value, wherein, described first ratio and described second ratio with value be 1.
Be that table 4 and table 5 are example with the initial query result, querying server finds corresponding thematic data corresponding physical position according to the index position among the initial query result to the thematic data concordance list, find scoring and the score of corresponding thematic data correspondence again according to physical location, calculate average score and the average of corresponding thematic data then, calculate the assessed value of corresponding thematic data afterwards.In this, be that 0.4, the second ratio is 0.6 for example with first ratio, the average of this thematic data of average score+0.6* of this thematic data of assessed value=0.4* of each thematic data.Yet the present invention does not limit first ratio and second ratio.
In this, according to assessment algorithm, the appreciation information of corresponding thematic data is for example shown in the following table in table 4 and the table 5.
Index position |
Special topic GUID |
Assessed value |
Data source |
1 |
A1484645-786e-4f7e-bc09-0ecf36add696 |
95.32 |
Metadata |
2 |
b3d4074c-ed0c-46b1-9078-7f1d49bf7c12 |
86.23 |
Metadata |
3 |
db03e971-1fab-444d-a761-11f5b25330ea |
93.56 |
The words and phrases data |
In present embodiment, final Query Result is arranged in order metadata query result and words and phrases data query result, and the assessed value of each thematic data that obtains according to assessment algorithm in each type order is from large to small arranged.So, the assessed value that obtains according to above-mentioned assessment algorithm can obtain final Query Result as shown in table 6.
Index position |
Special topic GUID |
1 |
a1484645-786e-4f7e-bc09-0ecf36add696 |
2 |
b3d4074c-ed0c-46b1-9078-7f1d49bf7c12 |
3 |
db03e971-1fab-444d-a761-11f5b25330ea |
Table 6
In this, querying server can obtain corresponding thematic data to the thematic data storer according to final Query Result (for example, table 6), and the thematic data of obtaining is exported to the user.
In present embodiment, querying server also can be preserved this final Query Result, during for relevant inquiring next time, directly obtains corresponding final Query Result, thereby improves search efficiency.
In step 105, if the searching times of described Query Information is greater than preset value in one-period, then described querying server carries out data search according to described Query Information again, obtains and store the up-to-date final Query Result of described Query Information correspondence.
In present embodiment, querying server is added up the searching times of certain Query Information in each cycle.In this, can set according to actual needs respectively about the setting of cycle and preset value, the present invention does not limit this.In this, be that one-period is example with 12 hours, particularly, if querying server obtains in described one-period through statistics, (for example, life cycle) searching times is greater than preset value, and then querying server regains this Query Information (namely according to the described process of step 104 for Query Information, life cycle) final Query Result, and preserve.Afterwards, when the user searches for this Query Information (that is, life cycle) again, can directly obtain the final Query Result that this time obtains.In addition, if the searching times of Query Information is not more than preset value in one-period, then when the described Query Information of user search, querying server obtains corresponding thematic data according to the final Query Result of the Query Information correspondence of storage from the thematic data storer, and the thematic data of obtaining is exported to the user.So, improved user's search efficiency.
What Figure 2 shows that preferred embodiment according to the present invention provides realizes the synoptic diagram of the system of data search based on the cloud teaching platform.What as shown in Figure 2, preferred embodiment of the present invention provided realizes that based on the cloud teaching platform system of data search comprises teaching data storer 10, controller 14, thematic data storer 12 and querying server 16.Controller 14 connects teaching data storer 10, thematic data storer 12 and querying server 16.
In present embodiment, controller 14 is used for the data in the infinite loop traversal teaching data storer 10, and the GUID tabulation according to its maintenance according to first rule, obtains thematic data, and thematic data is stored to thematic data storer 12.Controller 14 is used for the thematic data in the infinite loop traversal thematic data storer 12, and generates the thematic data concordance list according to thematic data.Controller 14 is used for according to the thematic data concordance list, generates the words and phrases data directory according to the second regular generator data directory and according to three sigma rule, and index of metadata table and words and phrases data directory are sent to querying server 16.Wherein, if index of metadata table or words and phrases data directory in the controller 14 have Data Update, then controller 14 is sent to querying server 16 with the words and phrases data directory item that upgrades in the index of metadata item that upgrades in the index of metadata table or the words and phrases data directory.When the user carries out data search, querying server 16 is according to the Query Information of user input query metadata concordance list and words and phrases data directory successively, to obtain the initial query result, querying server 16 obtains final Query Result according to assessment algorithm and initial query result, the final Query Result of querying server 16 storages.Wherein, if the searching times of described Query Information is greater than preset value in one-period, then querying server 16 carries out data search according to described Query Information again, obtains and store the up-to-date final Query Result of described Query Information correspondence.Specific operation process about described system is described with above-mentioned method, so repeat no more in this.
In sum, the method and system based on cloud teaching platform realization data search that preferred embodiment provides according to the present invention, controller obtains thematic data according to first rule, and thematic data is stored to the thematic data storer, so by the refinement of thematic data, improved the search efficiency of data.In addition, controller is sent to querying server with index of metadata table and words and phrases data directory, when the user carries out data search, querying server is according to the Query Information of user input query metadata concordance list and words and phrases data directory successively, to obtain the initial query result, querying server obtains final Query Result according to assessment algorithm and initial query result.So, by query metadata concordance list and words and phrases data directory successively, improved initial query result's hit rate, and, obtain final Query Result according to assessment algorithm and initial query result again, improved the accuracy of inquiry greatly.In addition, if the searching times of respective queries information is greater than preset value in one-period, then querying server carries out data search according to described Query Information again, obtains and store the up-to-date final Query Result of described Query Information correspondence.So, directly use when being convenient to inquire about next time, improved search efficiency greatly.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.