CN1838119A - Feedback display method and system for network dictionary retrieve results - Google Patents

Feedback display method and system for network dictionary retrieve results Download PDF

Info

Publication number
CN1838119A
CN1838119A CN 200510105402 CN200510105402A CN1838119A CN 1838119 A CN1838119 A CN 1838119A CN 200510105402 CN200510105402 CN 200510105402 CN 200510105402 A CN200510105402 A CN 200510105402A CN 1838119 A CN1838119 A CN 1838119A
Authority
CN
China
Prior art keywords
data block
data
unit
retrieval
client
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.)
Granted
Application number
CN 200510105402
Other languages
Chinese (zh)
Other versions
CN100401295C (en
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.)
Beijing Kingsoft Office Software Inc
Original Assignee
Beijing Kingsoft Software Co Ltd
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 Beijing Kingsoft Software Co Ltd filed Critical Beijing Kingsoft Software Co Ltd
Priority to CNB2005101054029A priority Critical patent/CN100401295C/en
Publication of CN1838119A publication Critical patent/CN1838119A/en
Application granted granted Critical
Publication of CN100401295C publication Critical patent/CN100401295C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This invention relates to a feedback display method and system for network dictionary retrieve results, which comprises the following steps: 1) server obtains search keyword from client to get opposite explanation data by the preset search mechanism; 2) it divides at least one explanation data into one data block, compresses all data block with label to show the block initial and end positions by an order code/decode algorithm, and joins all data blocks for send; 3) the client analyzes the received data block and shows analyzed data if coming to the label. This invention is individual and fast, has high fault tolerance property, and saves cost.

Description

A kind of feedback display method of network dictionary retrieve results and system
Technical field
The present invention relates to the feedback display technique of network data result for retrieval, especially a kind of feedback and display packing and system of on server, retrieving dictionary-like data by network.
Background technology
Along with popularizing of network, people can by network convenient obtain more information, realize that by network the various application of resource sharing have also further obtained popularizing.
The retrieval of carrying out data in the certain database by network on server is one of mode of sharing of database resource from now on.The problem that the network data library searching faces is when network environment is not good, how to satisfy the user to the quick demand of feedback of result for retrieval, to eliminate because the sense of discomfort that network and service delay bring to the user.More specifically, the technical matters that the network data library searching is faced is: under bad network environment, how balance is hanged down the demand that network speed, low data security, data server load and user feed back fast to result for retrieval.
Dictionary-like data described herein has following feature: have mapping relations between search key and the data content, promptly have man-to-man architectural feature between search key and the data content, can obtain corresponding data content by search key; Separate between every record of dictionary-like data, do not retrain and incidence relation.Among the present invention, the data with above-mentioned feature are considered as dictionary-like data.
With the example that is applied as of internet electronic dictionary, existing defective in the prior art is described below.
One of existing method is to adopt inquiry summary technology and paging retrieval technique.Described inquiry summary technology is to the processing of making a summary of entry data, only returns the summary info of result for retrieval when generally retrieving, and the user is by further depth search or obtain the details of result for retrieval in other mode; Described paging retrieval technique is that Query Result is split in advance, and the returning part data, and whether further solicited message decision is appended and returned remainder data according to user side.The defective of this method is: owing to look into speech summary technology the entry explain information is carried out simple contents extraction, the user is relatively poor to the controllability and the retrieval dirigibility of result for retrieval, thereby the effective Control Network flow of this method, the saving transfer resource; On the other hand, the paging retrieval technique is only carried out control on the flow to retrieve data, can not adapt to user's personalized enquire requirement; And server end need be summary info retention data space, thereby has increased the resource consumption of server end.
The existing method of the another kind that addresses the above problem is to adopt the data sharing technology of equity networking (P2P, Peer to Peer).Described P2P is buffer memory and the historical query result who shares the local user, and as preferential data query source, reduces the server process workload.The defective of this technology is: the P2P data sharing technology has increased the complexity that realizes the network data retrieval, this technical requirement has independent P2P server as the service transfer, for a spot of exchanges data, the actual number of times that has increased the flow process of data transfer and sought data source of P2P technology, the generally speaking lifting on client retrieves speed and not obvious.
Summary of the invention
The problem to be solved in the present invention provides a kind of feedback display method and system of network dictionary retrieve results, this method can be under unsettled network condition quick and level and smooth readability carry out the output of data feedback.
For solving the problems of the technologies described above, the objective of the invention is to be achieved through the following technical solutions:
A kind of feedback display method of network dictionary retrieve results may further comprise the steps: 1) server obtains the search key of client, obtains the explanation item number certificate of described key word correspondence according to the search mechanism that presets; 2) pairing at least one the explanation item number certificate of key word is divided into a data block, the employing algorithm of coding/decoding is in proper order compressed respectively each data block, also comprises the label that identifies this data block starting and ending position in each data block; To send after each data block splicing; 3) client is resolved the data block that receives, if be resolved to described label, then show and has resolved the data that finish.
On the said method basis, 2) further comprise in: after data block is spliced, also in the parent data block that this splicing back forms with the starting and ending position of this parent data block of tag identifier.
On the said method basis, 2) further comprise the data block length of this parent data block or the compress mode that this parent data block is adopted in the spliced parent data block in.And the algorithm of available enciphering/deciphering in proper order is to the data block encryption.
On the said method basis, 3) if data block resolving is made mistakes, then seek the start-tag with the data block of the parent data block peer of described error data piece in, and continue to resolve the data content after this label.
In the said method basis, 1) be specially: the key word that 11) presets the needs inquiry according to the retrieval request of client; 12) sign need be carried out the data retrieved storehouse; 13) according to 11), 12) preset and retrieve, obtain explanation item number certificate corresponding in each database with key word.
And then, 2) in further be: the data block of same database interpretation item number certificate is spliced, comprises the index information of this database in the parent data block that splicing back forms.
The algorithm of coding/decoding described in the said method is the Bzip algorithm
A kind of webserver is used to realize Web-Based Dictionary class database retrieval, comprises I/O unit, query parse unit, query unit and data organization unit; Described query parse unit presets search key according to the retrieval request that server obtains, and sign need be carried out the data retrieved storehouse; Described query unit is carried out database retrieval according to presetting of described query parse unit, obtains the explanation item number certificate corresponding with key word; Described data organization unit is divided into a data block with pairing at least one the explanation item number certificate of key word, the employing algorithm of coding/decoding is in proper order compressed respectively each data block, comprise the label that identifies this data block starting and ending position in each data block, and data organization unit is sent each data block splicing back by I/O unit.
In the described server, described data organization unit is spliced the data block of the explanation item number certificate of same database, and in the parent data block that this splicing back forms with the starting and ending position of this parent data block of tag identifier.
On the above-mentioned server architecture basis, also comprise buffer unit, according to statistics, dynamic memory retrieval frequency is higher than the data content of preset gate limit value.
A kind of feedback display system of network dictionary retrieve results comprises server, client, and described server comprises query parse unit, query unit and data organization unit; Described query parse unit presets search key according to the retrieval request that server obtains, and sign need be carried out the data retrieved storehouse; Described query unit is carried out database retrieval according to presetting of described query parse unit, obtains the explanation item number certificate corresponding with key word; Described data organization unit is divided into a data block with pairing at least one the explanation item number certificate of key word, the employing algorithm of coding/decoding is in proper order compressed respectively each data block, comprise the label that identifies this data block starting and ending position in each data block, and data organization unit sends after with the splicing of each data block; Described client comprises data parsing unit, output unit; Described resolution unit is resolved the data block that client receives, if be resolved to described label, then will resolve the data content that finishes and export by output unit.
On the said system architecture basics, described data organization unit is spliced the data block of the explanation item number certificate of same database, and in the parent data block that this splicing back forms with the starting and ending position of this parent data block of tag identifier.
On the said system architecture basics, server also comprises buffer unit, and according to statistics, dynamic memory retrieval frequency is higher than the data content of preset gate limit value.
Above technical scheme as can be seen, in the feedback display method of network dictionary retrieve results provided by the invention, described characteristics according to dictionary-like data, server is that dividing elements becomes data block with the single explanation item with special key words in the Query Result, and in data block identification data block initial/final position, and then be resolved to this sign back in client and be about to the content that this data block resolved and export.Hence one can see that, and the present invention can satisfy the Search Requirement of user individual; And, under the not good situation of network environment, the present invention will all relevant data block contents all resolve and exports after finishing again, and the mode that adopts data block to export while resolving, the explanation item that is search key can be exported demonstration one by one, thereby, embodied higher response speed in client; Further, compared with prior art, to aspect the quick feedback requirements of result for retrieval, the present invention need not increase system resource, thereby provides cost savings the low network speed of balance, low data security, data server load and user.
Further because among the present invention, after data block is spliced, also in the parent data block that this splicing back forms with the starting and ending position of this parent data block of tag identifier.Be the notion that adopts the multi-stage data piece among the present invention, the initial sum final position of equal identification data block in each data block.This technical characterstic makes, if client makes a mistake when resolving certain blocks of data (as do not run into character string that the end of data, appearance can't discern, XML label disappearance etc. to the mark language XML end mark), then client can continue to search out backward the start-tag of data block of the parent data block peer of discernible and described error data piece, and continues to resolve the data content after this label.From the above, the present invention has higher fault-tolerance.
Further,, the compression or the cipher mode of each database can be set respectively, and in sending data block, identify the compression/cipher mode that is adopted for each dictionary of independently authorizing in the electronic dictionary.Because the above-mentioned independence and the self-described characteristic of result for retrieval, thereby the present invention has improved the security guarantee of remote data.
The present invention also provides a kind of feedback display system of network dictionary retrieve results.Accordingly, this system can satisfy user's personalized retrieval demand, has the advantage that feedback speed is fast, fault-tolerance is high, and this system compared with prior art, need not increase system resource, provides cost savings.
Description of drawings
Fig. 1 is an embodiment of the invention process flow diagram;
Fig. 2 is the output data form of single this dictionary;
Fig. 3 is the output data form of the whole Query Result of server for figure;
Fig. 4 is the feedback display system logical diagram of network dictionary retrieve results.
Embodiment
The invention provides a kind of feedback display method of network dictionary retrieve results, its core concept is: 1) server obtains the retrieval request of client, obtains the data content of described retrieval request correspondence according to the search mechanism that presets; 2) will not have the constraint or the data content of incidence relation and be divided into data block, the algorithm that employing can the order coding/decoding compresses respectively, also comprises the label that identifies this data block starting and ending position in each data block; To send after each data block splicing; 3) client is resolved the data block that receives, if be resolved to described label, then show and has resolved the data content that finishes.
As specific embodiment, implementation of the present invention is described when looking into speech with the network electronic dictionary below.According to above-mentioned core concept, the core of present embodiment is: the user when searching word, disposable taking-up search key all explanatory contents in selected or several dictionaries; Because the retrieval dictionary-like data is had relatively high expectations to feedback speed, and then in transmission course, data arrive after the client part, promptly show.
For realizing above-mentioned functions, the present invention mainly comprises the content of three aspects: the setting of data retrieval logic and interface; The tissue of transmission data; Client output.Specify the implementation method of above-mentioned three aspects below.
The setting of data retrieval logic and interface.Carry out refinement and classification by explain information when dictionary is put in order to entry, and then the information of difference retrieval frequency is separated from the data bottom, while is in conjunction with the mode classification of actual user's use habit, help filtering out the data of the real needs of user, thereby reduce data traffic redundant and waste.
Data engine provides the ability of systematic searching entry explain information from the storage organization of bottom, the interface of an entry of disposable retrieval explain information in many dictionaries is provided, and corresponding to every dictionary, can also be provided with and independently retrieve the classification mask separately, be used for informing that data retrieval engine extracts the explain information of retrieval entry in the classification of current dictionary.The retrieval of data is provided with the following form of interface:
int?SetKey(CibaData&?Key);
The word that needs inquiry is set; Wherein, Key is the data object that comprises configuration information.Rreturn value 0 is for being provided with success, and non-0 value is for being provided with failure.
int?AddDict(int?DictIndex,unsigned?int?DictSearchMask);
The dictionary that adds a desire retrieval; Wherein DictIndex is for adding the call number of dictionary, DictSearchMask is the classified inquiry sign of 32 signless integers, each is corresponding to the explanation item of classifying of word, and described classified inquiry sign and word classification explain that the corresponding relation of item can define voluntarily; This place value is 1 o'clock, and expression this classification of inquiry (whether should explain following a little) is explained, is 0 o'clock, and expression is not inquired about this classification and explained; When function int AddDict rreturn value was 0, the dictionary of expression desire retrieval added successfully, and during non-0 value, the dictionary interpolation process appearance of expression desire retrieval unusually.
int?DoSearch(CibaData**Exp);
Start inquiry; Query interface carries out data retrieval according to the desire looking up words of above-mentioned setting with the classified inquiry sign of inquiring about the dictionary tabulation and every dictionary is set, and result for retrieval is returned; Ignore the dictionary that do not have return results (do not contain in the dictionary that is retrieved looked into key word should or the classification information total length of looking into be 0); Wherein, Exp if the return results pointer is NULL, then inquires about failure for pointing to the pointer of inquiry return results.Rreturn value 0 is for running succeeded, and non-0 value is unusual for occurring in the query script, and Query Result can not use; Wherein, CibaData is the result for retrieval corresponding with key word, and its organization definition is as follows:
struct?CibaData{
char*?data;
int?len;};
By this organization definition as can be known, in the present embodiment, disposable retrieval is also obtained all data contents corresponding with definite key word in corresponding dictionary and corresponding classification, constitutes the result for retrieval of this key word.
On the basis of above-mentioned data retrieval logic and interface setting, with reference to Fig. 1, promptly performing step 11: server obtains the retrieval request of client, obtains the data content of described retrieval request correspondence according to the search mechanism that presets.Its concrete steps comprise:
1) key word that needs inquiry is set;
2) dictionary of required inquiry is set, is specially the service marking bit representation and does not have this dictionary whether to need to be retrieved, for example: 1100001110; Wherein each is represented a dictionary respectively, and value is 1 o'clock, and the pairing dictionary of expression this zone bit of inquiry is 0 o'clock, and the dictionary of this zone bit correspondence is not inquired about in expression;
3) according to 1), 2) setting, carry out search operaqtion, and return result for retrieval.
In sum, (search key after the upper layer network service receives a query requests, perhaps further comprise attached retrieval options), the classified information retrieval mask of the entry of needs retrievals and all dictinary informations that are retrieved and corresponding dictionary is set in the middle of the Retrieval Interface, and disposable then execution retrieving also obtains desired data.
The tissue of transmission data.Purpose is that the data organization with result for retrieval becomes the data mode that the streaming that can carry out order reads, so that after the data arrival client, client whenever receives a part of data and just analysis result can be shown, and decode again after will complete data packet all not obtaining and show, and then can satisfy the user looks into the speech feedback speed to network requirement, and client meets normal reading habit with from first to last order demonstration of Query Result.With reference to Fig. 1, the core of transmission data organization is a step 12: the single explanation item with definite key word is that dividing elements becomes data block, at least one of key word can be explained that item number is according to handling as a data block, the employing algorithm of coding/decoding is in proper order compressed each data block respectively, also comprises the label that identifies this data block starting and ending position in each data block; To send after each data block splicing.
Employing can order encrypt/decrypt and compression/de-compression the block encoding means, make in the streaming decoding of supporting data, the data corruption of contingency to be limited in the individual data piece, avoid because the related overall data that is produced of encrypting is destroyed; And, employing is by built-in outer extend markup language (XML) format description data block information, comprise that the data block start/end is put, dictionary type, compression sign etc., make each independently data block all possess the self-description ability, one-piece construction has good fault-tolerant ability, and then, the loss of data of the contingency that occurs in any position and destroying within the parent data block of the data block that can both be limited in going wrong, client can further be selected to abandon error burst and continue follow-up parsing and show or retrieve again.
With reference to Fig. 2, this figure is the output data form of single mandate dictionary.As shown in the figure, single dictionary explains that the block data structure of item requires the compressed text data block for the decompression algorithm of coupling the self-described ability to be arranged.Each fields function is as follows shown in the figure:
Data block length: count in the shared space on storer of whole data block shown in the figure, comprises 4 bytes that the data block length data take self;
Dictionary index (4 byte): the source of sign current data block, the corresponding relation of dictionary index and dictionary type is mainly used in client and uses, division foundation as different language classification dictionary, usually, described corresponding relation is once determining no longer change, when needing to change, revise dictionary context initialization configuration file, and upgrade synchronously by upgrade function notice client;
Compression sign (4 byte): be used to identify the compress mode that this data block adopts, make client can adopt appropriate decompression algorithm handle current data block with word classification decryption, The data in every dictionary is with a kind of compression method, under the normal condition, the type of dictionary has influence on the compress mode that is adopted, but does not have strict restriction relation; Compressed and decompressed algorithm was determined before the dictionary compiling, and is provided client to use with the storehouse form;
Compressed text data: be the classification decryption that from current dictionary, inquires according to user's request; In the present embodiment, query script only will be inquired about the classification decryption piece that obtains and do simple concatenation, and the decompression algorithm that requires to use can be discerned the initial of each data segment and ending, to guarantee correct spliced data segment is correctly reduced.
All include the XML label of describing self class categories in each compressed text data block, whole spliced compressed text data block will form the standard XML document after decompressing, and then will be resolved by client again.
<wordexp_type2>
<wordexp_type2_1>
This?is?a?child?type?of?type2?for?the?word,the?word?search?engine?do?not?knowthis,in?the?database,the?data?combined?with?other?child?explain?data?belongs?towordexp_type2?should?be?treated?as?one?data?block,e.g.compress,encrypt?and?soon.
</wordexp_type2_1>
<wordexp_type2_2>
Just?like?wordexp_type2_1
</wordexp_type2_2>
</wordexp_type2>
Last example is the second class explain information corresponding to a certain key word, wherein<and wordexp_type2〉with</wordexp_type2〉identify the initial of these second class explain information data respectively and end up; And, according to label<wordexp_type2_1 〉,</wordexp_type2_1〉and label<wordexp_type2_2,</wordexp_type2_2〉as can be known, further comprised two subclass explain informations in this second class explain information.
With reference to Fig. 3, this figure is the output data form of the whole Query Result of server.For each Query Result is not empty dictionary, and the compressed text data block that single this dictionary enquiry obtains is carried out simple concatenation as final result data.The result for retrieval data are actually with the classification of entry in a dictionary and explain that piece is the serial data stream of base unit; For each compressed text data block, employing can be decoded in proper order and be conciliate code and cryptographic algorithm, as Bzip compression algorithm and des encryption algorithm, because the decoding decrypted result is the Unicode word string, can on to greatest extent, guarantee the self-described ability of data with 0 sign and the interblock segmentation symbol that is worth as end of data block of two bytes.
Client output.Its core is to realize step 13 shown in Figure 1: client is resolved the data block that receives, if be resolved to described label, then show and has resolved the data content that finishes.
When server is finished retrieval, the data content that is about to obtain feeds back to client by streaming Socket (as TCP) in above-mentioned data organization mode; Client is after receiving the data of first byte, get started and resolve, obtain after the data of 12 bytes at most, client promptly can begin the data that arrive are at first carried out decode operation, whenever being resolved to an XML label, client is about to it and shows on user interface, so constantly carries out, the client display effect is the entry classification explain information that constantly appends, and finishes up to all Data Receiving.
If client is found error in data when resolution data, as: not to the XML end-tag promptly meet the end of data, character string of occurring discerning, XML label disappearance or the like, then continue to seek backward the XML label of the data block of discernible and Error Location data block parent data block peer and proceed to resolve, and then avoid making whole result for retrieval to cancel; When having only data corruption extremely can't resolve fully, client just need resubmit retrieval request.
More than be the full implementation example of the method for the invention, on the said method basis, the present invention can further carry out the setting that retrieval request produces logic according to customer demand in actual applications.For example: the 1) application of feedback speed being had relatively high expectations for this class of screen word-selecting, each user's retrieval request at first causes sending the essential information retrieval request, and obtain user's corresponding data content and show feedback information according to the feedback display method of the above-mentioned network dictionary retrieve results that provides, simultaneously, provide the user to launch the link of explaining in detail, and the detailed explain information of look ahead on the backstage corresponding word and dictionary; 2), only ruined classification and dictinary information are carried out the backstage and refetch, and need not to retrieve fully again for ruined data; 3) look into this class of speech for the less demanding application of feedback speed for manual, disposablely fetch all user's specific datas, and simultaneously remainder data is carried out the backstage and look ahead.
In addition, the present invention also can further expand or adopt other specific implementations, for example:
1) the present invention can be used in combination dynamic local cache technology, and the query history result is carried out the recessiveness buffering, can reduce server real work amount.
2) among the present invention, server can be according to statistics, the data that the retrieval frequency are higher than the preset gate limit value split out the front end buffering that is used as server separately, and all retrieval request that only relate to data in the front end buffering all do not enter the master data base retrieval, to save the retrieve resources of master data base.
3) organize the stage in output data, can organize again the Query Result data, for example in many dictionaries during data query, based on data organization method of the present invention, to be organized in the front end of whole data segment in every dictionary separately about the essential information of the key word that is retrieved, all the other detailed explain informations are then followed after described essential information.The method can satisfy user's demand with less relatively retrieval number of times under some application conditions.
Corresponding with said method, the present invention also provides a kind of webserver, is used to realize the network data library searching, and with reference to Fig. 4, this server mainly comprises: I/O unit 41, query parse unit 42, query unit 43, and data organization unit 44;
Described query parse unit 42 presets server according to the data retrieval interface that presets and obtains search key, and sign need be carried out the data retrieved storehouse; Initialize data Retrieval Interface in the described query parse unit, particular content is referring to the respective description among the method embodiment above.
According to the data retrieval interface that presets, after the query parse unit obtained retrieval request, operation steps was: 1) key word that needs inquiry is set; 2) dictionary of required inquiry is set, whether the service marking bit representation does not have this dictionary to need to be retrieved, for example: 1100001110; Wherein each is represented a dictionary respectively, and value is 1 o'clock, and the pairing dictionary of expression this zone bit of inquiry is 0 o'clock, and the dictionary of this zone bit correspondence is not inquired about in expression.
Described query unit 43 is carried out database retrieval according to presetting of described query parse unit, obtains the data content corresponding with key word; Promptly according in the query parse unit 1), 2) setting, carry out search operaqtion, and return result for retrieval.
The data content that described data organization unit 44 will not have constraint or incidence relation is divided into data block, the employing algorithm of coding/decoding is in proper order compressed respectively, comprise the label that identifies this data block starting and ending position in each data block, and data organization unit is sent each data block splicing back by I/O unit 41.
Concrete, in the described data organization unit, organize data into the data mode that reads for the streaming that can carry out order, so that after the data arrival client, client whenever receives a part of data and just analysis result can be shown, and does not decode after will complete data packet all not obtaining again and show.Promptly adopting can the order encrypt/decrypt and the block encoding means of compression/de-compression, makes the data corruption of contingency to be limited in the individual data piece in the streaming decoding of supporting data, avoids because the related overall data that is produced of encrypting is destroyed; And, adopt by built-in outer extend markup language (XML) format description data block information, comprise that the data block start/end is put, dictionary type, compression sign etc., make each independently data block all possess the self-description ability.The data organization form can be referring to Fig. 2 and Fig. 3.
Further, described data organization unit is spliced to form a parent data block with the data block of same data of database content, and in the parent data block that this splicing back forms with the starting and ending position of this parent data block of tag identifier.
On above-mentioned server architecture basis, also can further comprise buffer unit in the server, according to statistics, dynamic memory retrieval frequency is higher than the data content of preset gate limit value.
Corresponding with said method, the invention still further relates to a kind of feedback display system that comprises the network dictionary retrieve results of server of the present invention.Except that server of the present invention, also comprise client.
With reference to Fig. 4, mainly comprise I/O unit 41, query parse unit 42, query unit 43 and data organization unit 44 in the server of system of the present invention;
Described query parse unit 42 presets search key according to the retrieval request that server obtains, and sign need be carried out the data retrieved storehouse;
Described query unit 43 is carried out database retrieval according to presetting of described query parse unit, obtains the data content corresponding with key word;
The data content that described data organization unit 44 will not have constraint or incidence relation is divided into data block, the employing algorithm of coding/decoding is in proper order compressed respectively, comprise the label that identifies this data block starting and ending position in each data block, and data organization unit is sent each data block splicing back by I/O unit 41;
The client of system of the present invention mainly comprises I/O unit 45, data parsing unit 46, output unit (being display unit 47 shown in the figure);
46 pairs of clients of described resolution unit are resolved by the data block that I/O unit 45 receives, if be resolved to described label, then will resolve the data content that finishes and show output by display unit 47.
More than the feedback display method and the system of a kind of network dictionary retrieve results provided by the present invention is described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (14)

1, a kind of feedback display method of network dictionary retrieve results is characterized in that, may further comprise the steps:
1) server obtains the search key of client, obtains the explanation item number certificate of described key word correspondence according to the search mechanism that presets;
2) pairing at least one the explanation item number certificate of key word is divided into a data block, the employing algorithm of coding/decoding is in proper order compressed respectively each data block, also comprises the label that identifies this data block starting and ending position in each data block; To send after each data block splicing;
3) client is resolved the data block that receives, if be resolved to described label, then show and has resolved the data that finish.
2, further comprise the feedback display method of network dictionary retrieve results as claimed in claim 1 is characterized in that, 2):
After data block spliced, also in the parent data block that this splicing back forms with the starting and ending position of this parent data block of tag identifier.
3, the feedback display method of network dictionary retrieve results as claimed in claim 1 or 2 is characterized in that:
2) further comprise the data block length of this parent data block or the compress mode that this parent data block is adopted in the spliced parent data block.
4, the feedback display method of network dictionary retrieve results as claimed in claim 2 is characterized in that:
3) if data block resolving is made mistakes, the then start-tag of the data block of the parent data block peer of searching and described error data piece, and continuation is resolved the data content after this label in.
5, the feedback display method of network dictionary retrieve results as claimed in claim 1 is characterized in that: described coding/decoding algorithm is the Bzip algorithm.
6, the feedback display method of network dictionary retrieve results as claimed in claim 1 is characterized in that:
2) also comprise in can the order enciphering/deciphering algorithm to the data block encryption.
7, as the feedback display method of claim 1,2,4,5,6 one of them described network dictionary retrieve results, it is characterized in that 1) be specially:
11) retrieval request according to client presets the key word that needs are inquired about;
12) sign need be carried out the data retrieved storehouse;
13) according to 11), 12) preset and retrieve, obtain explanation item number certificate corresponding in each database with key word.
8, the feedback display method of network dictionary retrieve results as claimed in claim 7 is characterized in that, 2) further be:
The data block of same database interpretation item number certificate is spliced, comprise the index information of this database in the parent data block that the splicing back forms.
9, a kind of webserver is used to realize Web-Based Dictionary class database retrieval, comprises I/O unit, it is characterized in that also comprising: query parse unit, query unit and data organization unit;
Described query parse unit presets search key according to the retrieval request that server obtains, and sign need be carried out the data retrieved storehouse;
Described query unit is carried out database retrieval according to presetting of described query parse unit, obtains the explanation item number certificate corresponding with key word;
Described data organization unit is divided into a data block with pairing at least one the explanation item number certificate of key word, the employing algorithm of coding/decoding is in proper order compressed respectively each data block, comprise the label that identifies this data block starting and ending position in each data block, and data organization unit is sent each data block splicing back by I/O unit.
10, the webserver as claimed in claim 9 is characterized in that:
Described data organization unit is spliced the data block of the explanation item number certificate of same database, and in the parent data block that this splicing back forms with the starting and ending position of this parent data block of tag identifier.
11, the webserver as claimed in claim 9 is characterized in that:
Server also comprises buffer unit, and according to statistics, dynamic memory retrieval frequency is higher than the data content of preset gate limit value.
12, a kind of feedback display system of network dictionary retrieve results comprises server, client, it is characterized in that:
Described server comprises query parse unit, query unit and data organization unit;
Described query parse unit presets search key according to the retrieval request that server obtains, and sign need be carried out the data retrieved storehouse;
Described query unit is carried out database retrieval according to presetting of described query parse unit, obtains the explanation item number certificate corresponding with key word;
Described data organization unit is divided into a data block with pairing at least one the explanation item number certificate of key word, the employing algorithm of coding/decoding is in proper order compressed respectively each data block, comprise the label that identifies this data block starting and ending position in each data block, and data organization unit sends after with the splicing of each data block;
Described client comprises data parsing unit, output unit;
Described resolution unit is resolved the data block that client receives, if be resolved to described label, then will resolve the data content that finishes and export by output unit.
13, the feedback display system of network dictionary retrieve results as claimed in claim 12 is characterized in that:
Described data organization unit is spliced the data block of the explanation item number certificate of same database, and in the parent data block that this splicing back forms with the starting and ending position of this parent data block of tag identifier.
14, the feedback display system of network dictionary retrieve results as claimed in claim 9 is characterized in that:
Server also comprises buffer unit, and according to statistics, dynamic memory retrieval frequency is higher than the data content of preset gate limit value.
CNB2005101054029A 2005-09-26 2005-09-26 Feedback display method and system for network dictionary retrieve results Active CN100401295C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101054029A CN100401295C (en) 2005-09-26 2005-09-26 Feedback display method and system for network dictionary retrieve results

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101054029A CN100401295C (en) 2005-09-26 2005-09-26 Feedback display method and system for network dictionary retrieve results

Publications (2)

Publication Number Publication Date
CN1838119A true CN1838119A (en) 2006-09-27
CN100401295C CN100401295C (en) 2008-07-09

Family

ID=37015517

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101054029A Active CN100401295C (en) 2005-09-26 2005-09-26 Feedback display method and system for network dictionary retrieve results

Country Status (1)

Country Link
CN (1) CN100401295C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533395B (en) * 2008-03-11 2010-12-01 英业达股份有限公司 System and method for querying network lexicon

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003532195A (en) * 2000-04-27 2003-10-28 ウエブフイート・インコーポレイテツド Method and system for retrieving search results from multiple distinct databases
CN1152326C (en) * 2002-06-14 2004-06-02 华南理工大学 Electronic book reading machine and its electronic-text compressing and decompressing method
CN100504855C (en) * 2003-03-17 2009-06-24 英华达(上海)电子有限公司 System for inquiring word by wireless network
US7219090B2 (en) * 2003-04-25 2007-05-15 Overture Services, Inc. Method and system for blending search engine results from disparate sources into one search result
JP2006528383A (en) * 2003-07-23 2006-12-14 ユニバーシティ・カレッジ・ダブリン,ナショナル・ユニバーシティ・オブ・アイルランド,ダブリン Information retrieval

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533395B (en) * 2008-03-11 2010-12-01 英业达股份有限公司 System and method for querying network lexicon

Also Published As

Publication number Publication date
CN100401295C (en) 2008-07-09

Similar Documents

Publication Publication Date Title
US8010889B2 (en) Techniques for efficient loading of binary XML data
JP3859313B2 (en) Tag document compression apparatus and restoration apparatus, compression method and restoration method, compression / decompression apparatus and compression / decompression method, and computer-readable recording medium recording a compression, decompression or compression / decompression program
US10110709B2 (en) Dynamic Utilization of Condensing Metadata
US6700513B2 (en) Method and system for compressing and decompressing multiple independent blocks
EP3526694A1 (en) Method and system for selective access of stored or transmitted bioinformatics data
US20060212467A1 (en) Encoding of hierarchically organized data for efficient storage and processing
CN1736030A (en) Content-based segmentation scheme for data compression in storage and transmission including hierarchical segment representation
US20070109153A1 (en) Method and apparatus for efficient hardware based deflate
US8363731B2 (en) Encoding and decoding methods and systems
US20130179413A1 (en) Compressed Distributed Storage Systems And Methods For Providing Same
US8688621B2 (en) Systems and methods for information compression
CN1670728A (en) Full-form lexicon with tagged data and methods of constructing and using the same
US20130069806A1 (en) Method and apparatus for encoding and decoding structured data
US9953103B2 (en) Client processing for binary XML in a database system
JP6902104B2 (en) Efficient data structure for bioinformatics information display
US20090210436A1 (en) Encoding a hierarchical multi-layer data package
US6282576B1 (en) Method of transferring heterogeneous data with meaningful interrelationships between incompatible computers
EP2217997B1 (en) Decoding a hierarchical multi-layer data package
CN1838119A (en) Feedback display method and system for network dictionary retrieve results
US7571152B2 (en) Method for compressing and decompressing structured documents
KR20020070199A (en) Apparatus and method for encoding/decoding multimedia meta-data in error-resilient manner
Yao et al. Parallel compression for large collections of genomes
CN110663022B (en) Method and apparatus for compact representation of bioinformatic data using genomic descriptors
NZ753247B2 (en) Efficient data structures for bioinformatics information representation
CN1545280A (en) A method for implementing hierarchical coding and decoding of H.248 message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: BEIJING KINGSOFT OFFICE SOFTWARE CO., LTD.

Free format text: FORMER OWNER: BEIJING JINSHAN SOFTWARE CO., LTD.

Effective date: 20140312

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100083 HAIDIAN, BEIJING TO: 100085 HAIDIAN, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20140312

Address after: Kingsoft No. 33 building, 100085 Beijing city Haidian District Xiaoying Road

Patentee after: Beijing Kingsoft WPS Office Co., Ltd.

Address before: 100083 Bai Yan building, 238 middle Fourth Ring Road, Haidian District, Beijing

Patentee before: Beijing Jinshan Software Co., Ltd.

C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: Kingsoft No. 33 building, 100085 Beijing city Haidian District Xiaoying Road

Patentee after: Beijing Kingsoft office software Limited by Share Ltd

Address before: Kingsoft No. 33 building, 100085 Beijing city Haidian District Xiaoying Road

Patentee before: Beijing Kingsoft WPS Office Co., Ltd.