CN110442673A - The information query system and method for Chinese literature - Google Patents

The information query system and method for Chinese literature Download PDF

Info

Publication number
CN110442673A
CN110442673A CN201910750335.8A CN201910750335A CN110442673A CN 110442673 A CN110442673 A CN 110442673A CN 201910750335 A CN201910750335 A CN 201910750335A CN 110442673 A CN110442673 A CN 110442673A
Authority
CN
China
Prior art keywords
data
user terminal
server
index
inquired
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910750335.8A
Other languages
Chinese (zh)
Inventor
尹友
文静
马丽亚
周栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yellow River Conservancy Technical Institute
Original Assignee
Yellow River Conservancy Technical Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yellow River Conservancy Technical Institute filed Critical Yellow River Conservancy Technical Institute
Priority to CN201910750335.8A priority Critical patent/CN110442673A/en
Publication of CN110442673A publication Critical patent/CN110442673A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques

Abstract

The invention discloses the information query system of Chinese literature and methods, it is related to technical field of information processing, system includes data server and user terminal, when user carries out data query operation on the subscriber terminal, it is inquired in the data that user terminal is locally stored first, then it is inquired in data server, user terminal and data server accelerate inquiry velocity and accuracy according to the index respectively established when executing query task.System and method in the present invention are easy to operate, and user only needs foolproof operation, and user terminal and data server can make according to the data inquiry request that query strategy issues user fast and accurately to react.

Description

The information query system and method for Chinese literature
Technical field
The present invention relates to technical field of information processing, more particularly to the information query system and method for Chinese literature.
Background technique
Chinese literature is to study the related literature and art of Chinese as the subject of main contents, and many colleges and universities all open up at present This subject, the profession of subordinate include literature and art, Ancient Chinese Literature, Modern and Contemporary Chinese Literature, Chinese literature, linguistics And applied linguistics etc., enter oneself for the examination study these profession numbers be just increasing year by year.
The learning foundation of Chinese literature is various literature works, can inevitably consult relevant data in learning process, due to Literature works substantial amounts, inquiry are got up very troublesome.People can only consult paper in library before electronic system occurs Matter books, this mode not only needs to take a significant amount of time and energy, and there are service lifes for paper book, are largely browsed It is easily damaged in the process.
After there is electronic system, the content of a large amount of paper books is all stored in the form of electronization, and user consults Getting up, it is many just to facilitate.But even if being converted into electronic form, data volume is still very huge, user is if it is intended to look into A specific works is ask, general operation is all that keyword is inputted on mobile phone or the electric terminal of other forms, and electronics is whole After end sends data server by internet for keyword, server query result and back to electronics in mass data Terminal.Since data volume is big, data content similitude is high, merely using keyword be no longer satisfied user to inquiry velocity and Requirement in terms of accuracy.
Summary of the invention
The embodiment of the invention provides the information query system of Chinese literature and methods, can solve and deposit in the prior art The problem of.
The present invention provides the information query system of Chinese literature, including the data server that is communicatively coupled together and Multiple user terminals have database in the data server, are stored with data relevant to literature in the database, described Data server is used to establish corresponding index according to the data stored in database, and referred to as server indexes, and by server Index is sent to each user terminal;
The user terminal is used to after the information that input needs to inquire extract the keyword in information, is existed according to keyword Corresponding index is determined in the server index, then sends the data service for determining index and keyword Device, the data server and the corresponding data of determining index in inquiry data corresponding with keyword, and will inquire Corresponding data return to the user terminal;
The user terminal is also used to be displayed and store after receiving the data inquired, while the user terminal Continue to obtain data relevant to the data that this is inquired from the database of data server and be stored;
The user terminal is also used to establish index to the data of storage, and referred to as terminal indexes, and executes query task again When, user terminal inquiry index corresponding with keyword in terminal index, then in number corresponding with determining index According to middle inquiry data corresponding with keyword, if inquiry is looked into server index less than data, according to keyword Ask corresponding index, by the data server execute data query task, and by the data inquired storage and related data It is stored in the user terminal.
The present invention also provides the information query methods of Chinese literature, comprising the following steps:
Data server establishes corresponding index according to the data stored in database, and referred to as server indexes, and will clothes Business device index is sent to each user terminal;
The user terminal extracts the keyword in information after the information that input needs to inquire, according to keyword described Corresponding index is determined in server index, then sends the data server for determining index and keyword, The data server and the corresponding data of determining index in inquiry data corresponding with keyword, and pair that will be inquired Answer data back to the user terminal;
The user terminal is displayed and store after receiving the data that inquire, at the same the user terminal continue from Data relevant to the data that this is inquired are obtained in the database of data server and are stored;
The user terminal establishes index to the data of storage, and referred to as terminal indexes, described when executing query task again User terminal inquiry index corresponding with keyword in terminal index, is then inquired in data corresponding with determining index Data corresponding with keyword are inquired in server index corresponding if inquired less than data according to keyword Index executes data query task by the data server, and the data inquired storage and related data is stored in institute It states in user terminal.
The information query system and method for Chinese literature provided by the invention, system include that data server and user are whole End, when user carries out data query operation on the subscriber terminal, is inquired in the data that user terminal is locally stored first, Then it is inquired in data server, user terminal and data server are when executing query task according to the index respectively established To accelerate inquiry velocity and accuracy.System and method in the present invention are easy to operate, and user only needs foolproof operation, user Terminal and data server can make according to the data inquiry request that query strategy issues user fast and accurately to react.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of the information query method of Chinese literature provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The information query system of Chinese literature is provided in the embodiment of the present invention, which includes user terminal and data Server, the user terminal and data server all have data storage and data processing function, and the two passes through internet It is communicated.
There is the database for storing literature data in the data server, data are classified in the database It stores, is roughly divided into literature works class, introduction of writers class and relevant information class three categories, these data in the present embodiment and covers Overwhelming majority content relevant to literature.
The data server establishes corresponding index according to the data stored in database, and referred to as server indexes, institute It states data server and sends each user terminal for communicating with connection for the index of foundation.Index may include plurality of layers, Such as first layer index be some specific writer, the second layer index is the literature completed in each different time sections of the writer Works or the first layer index are certain a kind of works, and the second layer index is the works for belonging to some specific writer in such works. Huge data volume can be divided by multiple data blocks using index structure, to improve the speed of data query.
The user terminal is stored after receiving server index, the information that user needs to inquire in user terminal input Afterwards, user terminal extracts the keyword in these information, and then according to these keywords, determination is right therewith in server index Then the index answered sends data server for determining index and keyword.The data server is according to determining rope Draw and find corresponding data in database, is then inquired by the way of accurately inquiring in these data corresponding with keyword These data are back to user terminal, otherwise if having inquired corresponding data by the way of accurately inquiring by data It is inquired in these data by the way of fuzzy query, and the corresponding data inquired is returned into user terminal.Mould Paste inquiry is i.e. by the way of replacing or omitting certain keywords by keyword near synonym, synonym and inquired.This hair Bright middle default is switched to the mode of fuzzy query when accurate inquiry can not inquire data using accurate inquiry again, can in order to avoid It goes user to manually select the trouble of query pattern, and also ensures that one surely inquires under the premise of guaranteeing query accuracy As a result.Meanwhile will determine that this work of index corresponding with keyword is put on the subscriber terminal, data service can be greatly reduced The resource overhead of device work normally data server also can when in face of mass data inquiry request, improve from side Inquiry velocity.
User terminal is shown after receiving the data inquired, while being stored to it, moreover, the user terminal Continue to obtain data relevant to the data that this is inquired from the database of data server, and stored, makes to store Data volume be no more than in a definite value.User terminal establishes rope according to strategy identical with data server to the data of storage Draw, referred to as terminal indexes.During subsequent query, the user terminal extracts the first inquiry pair in terminal index after keyword The index answered, then and the corresponding data of determining index in number corresponding with keyword is inquired by the way of accurately inquiring According to.If inquiry inquires corresponding index, data query side later in server index less than data, according to keyword Formula is identical as above-mentioned data server query process, is not repeated herein.In the present invention in user terminal storing data library A part of data, family terminal can be used and first carry out local data inquiry, opened with further decreasing the resource of data server Pin, and promote data query speed.And user terminal, when obtaining data relevant to the data inquired, what is utilized is to use The idle of family terminal, i.e. user terminal are not carried out the time of query task, can not only efficiently use network bandwidth resources in this way, And promote data query speed.Simultaneously as the data volume of the data stored in user terminal is much smaller than the number in database According to amount, therefore the accuracy of query result will certainly be reduced using fuzzy query in the user terminal, therefore user is whole in the present invention End carries out data query only with the mode accurately inquired.
It should be understood that user terminal is obtained every time after the data that data server is sent, it all will acquire and inquire number with this According to relevant data, but the data storage capacity of user terminal is a definite value, needs to delete previously stored some data. When executing data delete operation, the data volume of data for needing to delete is determined according to the data volume of this storage, then with number The inquiry times that each data in storing data are determined according to server communication, are successively deleted by the sequence of inquiry times from less to more Except storing data, the data volume until deleting data reach predetermined data volume, then can will inquire Data and related data stored.Allow always in this way user terminal store data volume be maintained at one it is lesser Value, will not excessively occupy user terminal own resources.
Since the data in data server are that administrative staff import, can inevitably there be the case where shortage of data, at this moment The data of missing can be uploaded to data server by user terminal by user.Certainly, in order to avoid Data duplication or forgery The case where data, the data of upload need to audit, and are updated in database again after the completion of audit.After data in database update It needs to re-establish server index according to update status, and sends each user terminal for newly-established server index. After completing data update, it is whole that data server also sends each user for the brief introduction of information and more new data that data update End, user terminal judge the correlation of more new data and itself storing data, deposit if correlation to the data of update Storage, there is still a need for a part of stored data are deleted when storage, specific rule has been introduced above, no longer heavy herein It is multiple.
Based on identical inventive concept, the present invention also provides the information query method of Chinese literature, the realities of this method The implementation for being referred to above system is applied, overlaps will not be repeated.Referring to Fig.1, the method for the present invention includes the following steps:
Data server establishes corresponding index according to the data stored in database, and referred to as server indexes, and will build Vertical index is sent to each user terminal;
After the information that input needs to inquire, user terminal extracts the keyword in information, according to keyword in server Corresponding index is determined in index, then sends data server, data server for determining index and keyword And the corresponding data of determining index in inquiry data corresponding with keyword, and by the corresponding data inquired back to use Family terminal;
User terminal is displayed and store after receiving the data inquired, and user terminal continues the number from data server According to acquisition data relevant to the data that this is inquired in library and stored;
User terminal establishes index to the data of storage, and referred to as terminal indexes, when executing query task again, user terminal Index corresponding with keyword is inquired in terminal index, then inquiry and keyword in data corresponding with determining index Corresponding data are taken if inquiry inquires corresponding index in server index less than data, according to keyword by data Business device executes data query task, and in the user terminal by the data inquired storage and related data storage.
Disclosed above is only several specific embodiments of the invention, and still, the embodiment of the present invention is not limited to this, is appointed What what those skilled in the art can think variation should all fall into protection scope of the present invention.

Claims (9)

1. the information query system of Chinese literature, including the data server and multiple user terminals being communicatively coupled together, It is characterized in that, having database in the data server, data relevant to literature, the number are stored in the database It is used to establish corresponding index according to the data stored in database according to server, referred to as server indexes, and by server rope Initiation is sent to each user terminal;
The user terminal is used to after the information that input needs to inquire extract the keyword in information, according to keyword described Corresponding index is determined in server index, then sends the data server for determining index and keyword, The data server and the corresponding data of determining index in inquiry data corresponding with keyword, and pair that will be inquired Answer data back to the user terminal;
The user terminal is also used to be displayed and store after receiving the data inquired, while the user terminal continues Data relevant to the data that this is inquired are obtained from the database of data server and are stored;
The user terminal is also used to establish index to the data of storage, and referred to as terminal indexes, when executing query task again, institute User terminal inquiry index corresponding with keyword in terminal index is stated, is then looked into data corresponding with determining index Data corresponding with keyword are ask, if inquiry is inquired in server index according to keyword and corresponded to less than data Index, by the data server execute data query task, and by the data inquired storage and related data be stored in In the user terminal.
2. the information query system of Chinese literature as described in claim 1, which is characterized in that the data server into When row data query, data corresponding with keyword are first inquired by the way of accurately inquiring, if having inquired corresponding data, Then the data inquired are back to the user terminal by the data server;Otherwise the data server is looked into using fuzzy The mode of inquiry is inquired, and the data inquired are returned to the user terminal.
3. the information query system of Chinese literature as described in claim 1, which is characterized in that the user terminal is storing Data in carry out data query when, data corresponding with keyword are inquired by the way of accurately inquiring.
4. the information query system of Chinese literature as described in claim 1, which is characterized in that the user terminal is from data Data manipulation generation relevant to the data inquired is obtained in the database of server in the idle of the user terminal.
5. the information query system of Chinese literature as described in claim 1, which is characterized in that the user terminal every time from After the data server obtains inquiry data and related data, stored data are first deleted into a part, then store acquisition Data so that the total amount of data of storing data is maintained at definite value.
6. the information query system of Chinese literature as claimed in claim 6, which is characterized in that executing data delete operation When, the user terminal determines the data volume for needing the data deleted according to the data volume of this data obtained, then user Terminal communicates the inquiry times to determine each data in storing data with the data server, from less to more by inquiry times Sequence successively delete storing data, until delete data data volume reach predetermined data volume, finally will The data of acquisition are stored.
7. the information query system of Chinese literature as described in claim 1, which is characterized in that the data server receives The data of user terminal uploads carry out data update, the information that the data server updates data after the completion of data update with And the brief introduction of more new data is sent to each user terminal, the user terminal judges more new data and itself has stored number According to correlation, the data of update are stored if related.
8. the information query system of Chinese literature as claimed in claim 7, which is characterized in that the user terminal is storing Before more new data, stored data are first deleted into a part, then store more new data, so that the total amount of data of storing data is protected It holds in definite value.
9. the information query method of Chinese literature, which comprises the following steps:
Data server establishes corresponding index according to the data stored in database, and referred to as server indexes, and by server Index is sent to each user terminal;
The user terminal extracts the keyword in information after the information that input needs to inquire, according to keyword in the service Corresponding index is determined in device index, then sends the data server for determining index and keyword, it is described Data server and the corresponding data of determining index in inquiry data corresponding with keyword, and the correspondence number that will be inquired According to return to the user terminal;
The user terminal is displayed and store after receiving the data inquired, while the user terminal continues from data Data relevant to the data that this is inquired are obtained in the database of server and are stored;
The user terminal establishes index to the data of storage, and referred to as terminal indexes, when executing query task again, the user Terminal inquiry index corresponding with keyword in terminal index, then inquires and closes in data corresponding with determining index The corresponding data of keyword, if inquiry inquires corresponding index in server index less than data, according to keyword, Data query task is executed by the data server, and the data inquired storage and related data are stored in the user In terminal.
CN201910750335.8A 2019-08-14 2019-08-14 The information query system and method for Chinese literature Pending CN110442673A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910750335.8A CN110442673A (en) 2019-08-14 2019-08-14 The information query system and method for Chinese literature

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910750335.8A CN110442673A (en) 2019-08-14 2019-08-14 The information query system and method for Chinese literature

Publications (1)

Publication Number Publication Date
CN110442673A true CN110442673A (en) 2019-11-12

Family

ID=68435535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910750335.8A Pending CN110442673A (en) 2019-08-14 2019-08-14 The information query system and method for Chinese literature

Country Status (1)

Country Link
CN (1) CN110442673A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6334124B1 (en) * 1997-10-06 2001-12-25 Ventro Corporation Techniques for improving index searches in a client-server environment
CN102722497A (en) * 2011-03-30 2012-10-10 上海铂龙信息科技有限公司 Patent downloading system and method
CN103218373A (en) * 2012-01-20 2013-07-24 腾讯科技(深圳)有限公司 System, method and device for relevant searching
CN104199881A (en) * 2014-08-21 2014-12-10 广州华多网络科技有限公司 Database cluster, data query method and data synchronism method and device
CN104753966A (en) * 2013-12-25 2015-07-01 明博教育科技有限公司 Resource file inquiry method and system based on server and client caches
CN106528796A (en) * 2016-11-11 2017-03-22 苏州工讯科技有限公司 Method for quickly identifying proper nouns in industrial product e-commerce search engine
US20170103083A1 (en) * 2015-10-11 2017-04-13 Lars von Thienen System and method for searching distributed files across a plurality of clients
CN108804642A (en) * 2018-06-05 2018-11-13 中国平安人寿保险股份有限公司 Search method, device, computer equipment and storage medium
CN109800222A (en) * 2018-12-11 2019-05-24 中国科学院信息工程研究所 A kind of HBase secondary index adaptive optimization method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6334124B1 (en) * 1997-10-06 2001-12-25 Ventro Corporation Techniques for improving index searches in a client-server environment
CN102722497A (en) * 2011-03-30 2012-10-10 上海铂龙信息科技有限公司 Patent downloading system and method
CN103218373A (en) * 2012-01-20 2013-07-24 腾讯科技(深圳)有限公司 System, method and device for relevant searching
CN104753966A (en) * 2013-12-25 2015-07-01 明博教育科技有限公司 Resource file inquiry method and system based on server and client caches
CN104199881A (en) * 2014-08-21 2014-12-10 广州华多网络科技有限公司 Database cluster, data query method and data synchronism method and device
US20170103083A1 (en) * 2015-10-11 2017-04-13 Lars von Thienen System and method for searching distributed files across a plurality of clients
CN106528796A (en) * 2016-11-11 2017-03-22 苏州工讯科技有限公司 Method for quickly identifying proper nouns in industrial product e-commerce search engine
CN108804642A (en) * 2018-06-05 2018-11-13 中国平安人寿保险股份有限公司 Search method, device, computer equipment and storage medium
CN109800222A (en) * 2018-12-11 2019-05-24 中国科学院信息工程研究所 A kind of HBase secondary index adaptive optimization method and system

Similar Documents

Publication Publication Date Title
CN110019836A (en) A kind of intelligent answer method and device
CN106022007B (en) The cloud platform system and method learning big data and calculating is organized towards biology
CN101938578B (en) Method for realizing lock-in of customer service staff by customer, customer service method and customer service system
CN109802916A (en) Resource transfers method, system, server and computer readable storage medium
CN100545847C (en) A kind of method and system that blog articles is sorted
CN104317839B (en) The method and apparatus for generating report form template
CN106294352B (en) A kind of document handling method, device and file system
CN107783970A (en) A kind of expert's question answering system and its operating method
CN108416071A (en) A kind of information consulting service system and its consultation method
CN106656529B (en) Create the method, apparatus and computer equipment of group
CN105989076A (en) Data statistical method and device
CN109409711B (en) Intelligent verification and decision-making assistance system and method for configuration file of intelligent substation
CN101874254A (en) Process for establishing a social network with an adapted network architecture comprising a reasoning server
CN109299157A (en) A kind of data export method and device of distributed big single table
CN105426307A (en) Local area network product test resource sharing method and system
CN110503408A (en) It is a kind of based on the business process management system custom-configured
CN106156060B (en) Tag control system and terminal, label application method and label method for sorting
SE514994C2 (en) Method and apparatus for extracting data from a group of data
Li et al. Customer churn prediction of china telecom based on cluster analysis and decision tree algorithm
CN104965846B (en) Visual human's method for building up in MapReduce platform
CN110442673A (en) The information query system and method for Chinese literature
CN104703059B (en) A kind of method and device for planning of broadband access network
CN106170012A (en) Distributed file system that a kind of facing cloud renders and structure and access method
CN103533029B (en) Gantt chart data loading method and system
CN109299388A (en) A kind of system and method for searching high quality social activity user

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191112