CN101751443A - Data searching and processing system as well as method - Google Patents

Data searching and processing system as well as method Download PDF

Info

Publication number
CN101751443A
CN101751443A CN200810306079A CN200810306079A CN101751443A CN 101751443 A CN101751443 A CN 101751443A CN 200810306079 A CN200810306079 A CN 200810306079A CN 200810306079 A CN200810306079 A CN 200810306079A CN 101751443 A CN101751443 A CN 101751443A
Authority
CN
China
Prior art keywords
data
retrieval
client
database
capsule
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
CN200810306079A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN200810306079A priority Critical patent/CN101751443A/en
Publication of CN101751443A publication Critical patent/CN101751443A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention provides a data searching and processing method, comprising: the technical field of the time search is input at the client-side and all datum in the technical field are searched by a website server from a database. An asynchronous communication object is established at the client-side and a data extracting command is sent to the database by the asynchronous communication object. All the searched datum are cached to a data container at the client-side according to the data extracting command. The searching condition which is input by clients is acquired and data is searched in the data container according to the searching condition. And a table row object is established at the client-side to display the searching result in a data table. The invention also provides a data searching and processing system. The pressure of the website server can be decreased by utilizing the invention, and the function of quick search can be realized.

Description

Data retrieval and disposal system and method
Technical field
The present invention relates to a kind of data retrieval and disposal system and method, relate in particular to a kind of System and method for that data manipulation can be concentrated on client.
Background technology
Along with the development of information industry electronization and the lifting of web development technique, more and more be applied in the information service of every profession and trade by feat of its characteristics that need not install based on the procedure site of B/S framework.Wherein the mode of utilizing of significant proportion is: adopt the website that information issue and public information retrieval service are provided, for example, bookstore provides webpage inquiry book information etc. to client.
Traditional web data retrieval system need obtain the search condition that the user is provided with earlier when carrying out data retrieval, send to Website server, by in retrieval and the screening of web site server end to magnanimity information, to obtain the record that meets search condition.The method can satisfy user's basic demand in retrieval low volume data fashion, and in case the data volume that retrieves is very big, and based on the data retrieval system of web before receiving Website server institute feedback data, can be in busy condition for a long time, can't show any content, and can only after all data of receiving the Website server feedback, just can show data.Lot of data is as easy as rolling off a log to be made data retrieval system stop to respond and causes the instability of system.In addition, the traditional data searching system is mainly undertaken by database for the arrangement and the screening of result for retrieval, particularly, when the user need sort and when screening to institute's data retrieved, need send ordering and screening order to database via Website server, institute's data retrieved sorted and screen at database then, finally will sort again with screening after data send to client, its ordering is exactly retrieving again again target record with the essence of screening.Given this, the traditional data searching system is very dumb on the processing mode to the data record, speed is slow, and retrieves the waste that has caused resource again.
Summary of the invention
In view of above content, be necessary to provide a kind of data retrieval and disposal system, it can concentrate on data manipulation client and carries out, and greatly reduces the pressure of Website server, to realize function of quick search.
Also be necessary to provide a kind of data retrieval and disposal route, it can concentrate on data manipulation client and carries out, and greatly reduces the pressure of Website server, to realize function of quick search.
A kind of data retrieval and disposal system, this system comprises at least one client.Described client comprises: data capsule; Retrieval module is used to point out the user to import the technical field of this retrieval, and searches for all data in this technical field via the webserver that links to each other with this client from a database; Creation module is used to create asynchronous communication object, sends the data extract order by this asynchronous communication object to database; Extraction module is used for according to this data extract order above-mentioned all metadata caches that search to described data capsule; And described retrieval module, also be used for carrying out data retrieval at data capsule according to the search condition of user's input, create the table row object to show that result for retrieval is in tables of data.
A kind of data retrieval and disposal route comprise the steps: to import the technical field of this retrieval and search for all data in this technical field via Website server from database in client; Create asynchronous communication object and send a data extraction order to database in this client by this asynchronous communication object; According to this data extract order with above-mentioned all metadata caches that search to the data capsule of this client; Obtain the search condition of user's input and in data capsule, carry out data retrieval according to this search condition; Reach in client and create the table row object to show that result for retrieval is in tables of data.
Compared to prior art, described data retrieval and disposal system and method, data manipulation can be concentrated in the client and carry out, can retrieve and handle mass data apace, avoid the situation generation slowly of similar web renewal of the page data, and the data that retrieve can be reacted apace to the client, simultaneously, can be to the data that the user the inquired about operation of screening apace and sort etc.
Description of drawings
Fig. 1 is the hardware structure figure that the present invention is used for data retrieval and disposal system preferred embodiment.
Fig. 2 is the functional block diagram of data retrieval of the present invention and processing unit.
Fig. 3 is a tables of data that has employee information.
Fig. 4 is the operation process chart of data retrieval of the present invention and disposal route preferred embodiment.
Embodiment
As shown in Figure 1, be the hardware structure figure of data retrieval of the present invention and disposal system preferred embodiment.Comprise among this hardware structure figure: one or more clients 1 (client 1a as shown in FIG., 1b, 1c and 1d), at least one the Website server 3 (only illustrating among the figure) and the database 4 that link to each other by a plurality of clients 1 of network 2 and this.
Wherein, network 2 can be an intranet (Intranet), also can be internet (Internet) or other type communication network.Database 4 both can be built in described Website server 3, also can be placed on this Website server 3.
Client 1 can be computing machine, hand-held mobile device or other terminal device that is suitable for arbitrarily.This client 1 is used to provide an interactive user interface, so that the user carries out data retrieval, data processing and checks result for retrieval.In addition, also store a data retrieval and processing unit 10 in this client 1, be used for making up data capsule 30, particular data buffer memory to client 1 from database 4 is retrieved and handled, alleviated Website server 3 in the face of the pressure of mass data retrieval with transmission in client 1.
As shown in Figure 2, be the functional block diagram of data retrieval of the present invention and processing unit 10.This client 1 can be divided into according to the function of the computer program of its storage inside: creation module 100, extraction module 102, retrieval module 104 and processing module 106.
In client 1, open the data retrieval and processing unit 10 of present embodiment as the user after, retrieval module 104 can point out the user to import the technical field of this retrieval on the interface that client 1 is provided, and the technical field of being imported is sent to Website server 3 by network 2, from database 4, search for all data in this technical field via this Website server 3.Wherein, the technical field of being said in the present embodiment is used for the scope of this retrieval of limit.
Creation module 100 is used for creating an asynchronous communication object 20 on above-mentioned interface, and sends a data extraction order by this asynchronous communication object 20 to database 4.Particularly, creation module 100 is called the asynchronous communication function of client 1, and creates an object thus and be used for sending the data extract orders to database 4.This asynchronous communication is meant a kind of webpage development technology that interaction network page is used of creating, and English name is " Asynchronous JavaScript and XML, Ajax ", its advantage be exactly can be under the prerequisite of the page that does not upgrade client 1 service data.
Extraction module 102 according to above-mentioned data extract order with above-mentioned all metadata caches that search to local data container 30.This data capsule 30 is a memory module in the client 1, and its all data map that Website server 3 can be searched from database 4 are stored to this locality, and promptly buffer memory is stored to client 1.Data capsule 30 can be divided into a plurality of arrays according to the number of the store list of the data that searched in database 4.
In the present embodiment, this data capsule 30 can make up by the following method: with the above-mentioned data conversion that searches is extensible markup language (extensible markup language, XML) information; Adopt Multidimensional numerical that this XML information is stored, concrete storage mode is: the outermost layer array of Multidimensional numerical is preserved the tables of data title, the array of ecto-entad is stored field name and field value respectively then, this tables of data title, field name and field value are formed compound dope vector thus, and the Multidimensional numerical that is made of this compound dope vector is described data capsule 30.
Retrieval module 104 is used on client 1 showing that search interface imports search condition with the prompting user, and retrieval module 104 carries out data retrieval according to this search condition in data capsule 30, and shows result for retrieval.Particularly, retrieval module 104 is with all result for retrieval in chronological order in Pagination Display to a tables of data, and take the dom technology in this tables of data, to increase data line dynamically, promptly create table row object 40, wherein, the corresponding result for retrieval of each data line, every result for retrieval comprises a plurality of field values.In addition, the fields such as title, field name and search key of this tables of data have also been stored in the described tables of data.As shown in Figure 3, be a tables of data that has employee information, wherein, first row of tables of data comprises that screening is provided with and the search key hurdle, " name ", " job number " shown in second row, " money position " and " age " are field name, and the value in the row of its correspondence is a field value.
Processing module 106 is used for retrieval module 104 created table row object 40 after, the above-mentioned tables of data that comprises result for retrieval is adopted CSS (cascading style sheet) (cascading style sheets, CSS) Pagination Display is carried out in attribute setting, obtain the setting of user's ordering and screening conditions, the capable structure of readjusting tables of data is to show qualified data 50.For example, when the field name in the user click data table is selected key word " money position " as " money position " or on " screening " hurdle, processing module 106 can be sent the instruction of screening operation for this field name or key word, these instructions can trigger the corresponding script function, obtain order parameter tables of data is shown search entirely, to obtain all data that meet this field name or key word, and readjust the capable structure of tables of data according to the data that searched, to show final qualified data 50.Wherein, the process of this data sorting and screening only needs to carry out in the data capsule 30 of client 1 from start to finish, and need not be again via Website server 3 and database 4.
Described processing module 106 also is used for auto-initiation data capsule 30, and the time interval of the content in the reading database 4 is set, and reads latest data according to this time interval from database 4, to upgrade the data in the data capsule 30.Wherein, described initialization data container 30 is meant: processing module 106 empties the data in the data capsule 30 automatically, and these data may be the data that last time, data retrieval was stored.
As shown in Figure 4, be the operation process chart of data retrieval of the present invention and disposal route preferred embodiment.
Step S400, in client 1, open the data retrieval and processing unit 10 of present embodiment as the user after, retrieval module 104 can be on the interface that client 1 is provided the prompting user import the technical field of this retrieval, and from database 4, search for all data in the described technical field via Website server 3.Wherein, the technical field of being said in the present embodiment is used for the scope of this retrieval of limit.
Step S402, creation module 100 is created an asynchronous communication object 20 on above-mentioned interface, and sends a data extraction order by this asynchronous communication object 20 to database 4.
Step S404, processing module 106 auto-initiation data capsules 30, extraction module 102 according to above-mentioned data extract order with above-mentioned all metadata caches that search to local data container 30.This local data container 30 is meant the data capsule 30 in the client 1.
Step S406, retrieval module 104 on client 1, show search interface with the prompting user import search condition.
Step S408, retrieval module 104 obtain the search condition of user's input, and carry out data retrieval according to this search condition in data capsule 30.
Step S410, retrieval module 104 create table row object 40 to show that result for retrieval is in tables of data.Particularly, retrieval module 104 is with all result for retrieval in chronological order in Pagination Display to a tables of data, and take the dom technology in this tables of data, to increase data line dynamically, wherein, the corresponding result for retrieval of each data line, every result for retrieval comprises a plurality of field values, has also stored title, field name and the search key hurdle of this tables of data in this tables of data.As shown in Figure 3, be a tables of data that has employee information, this tables of data is the table row object 40 that retrieval module 104 retrieval backs are created.
Step S412, processing module 106 is obtained the setting of user's ordering and screening conditions, and the capable structure of readjusting tables of data is to show qualified data 50.
Described data retrieval of present embodiment and disposal route also comprise step: in client 1, set the time interval of reading database 4, and according to the latest data in the time interval reading database 4 that sets, to upgrade the data in the data capsule 30.
In addition, the step described in the present embodiment: processing module 106 auto-initiation data capsules 30 also can be arranged in step S404 arbitrary step before.
It should be noted that at last, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (10)

1. data retrieval and disposal route is characterized in that this method comprises:
Import the technical field of this retrieval and from database, search for all data in this technical field in client via Website server;
Create asynchronous communication object and send a data extraction order to database in this client by this asynchronous communication object;
According to this data extract order with above-mentioned all metadata caches that search to the data capsule of this client;
Obtain the search condition of user's input and in data capsule, carry out data retrieval according to this search condition; And
Create the table row object to show that result for retrieval is in tables of data in client.
2. data retrieval as claimed in claim 1 and disposal route is characterized in that, this method also comprises step:
Obtain the setting of ordering and screening conditions, the capable structure of readjusting tables of data is to show qualified data.
3. data retrieval as claimed in claim 1 and disposal route is characterized in that, corresponding result for retrieval of each data line in the described tables of data, and every result for retrieval comprises a plurality of field values.
4. data retrieval as claimed in claim 1 and disposal route is characterized in that, this method also comprises step:
Set the time interval of reading database; And
According to the content in the time interval reading database that sets, to upgrade the data in the data capsule.
5. data retrieval as claimed in claim 1 and disposal route is characterized in that, step according to this data extract order with before above-mentioned all metadata caches that search are to the data capsule of client, this method also comprises step:
The initialization data container.
6. data retrieval and disposal system, this system comprises at least one client, it is characterized in that, this client comprises:
Data capsule;
Retrieval module is used to point out the user to import the technical field of this retrieval, and searches for all data in this technical field via the Website server that links to each other with this client from a database;
Creation module is used to create asynchronous communication object, sends the data extract order by this asynchronous communication object to database;
Extraction module is used for according to this data extract order above-mentioned all metadata caches that search to described data capsule; And
Described retrieval module also is used for carrying out data retrieval according to the search condition of user's input at data capsule, creates the table row object to show that result for retrieval is in tables of data.
7. data retrieval as claimed in claim 5 and disposal system is characterized in that, this system also comprises a processing module, are used to obtain the setting of user's ordering and screening conditions, and the capable structure of readjusting tables of data is to show qualified data.
8. data retrieval as claimed in claim 7 and disposal system is characterized in that, described processing module also is used for being provided with the time interval of the content of reading database, and according to this time interval reading of data from database, to upgrade the data in the data capsule.
9. data retrieval as claimed in claim 7 and disposal system is characterized in that, described processing module also is used for the described data capsule of initialization.
10. data retrieval as claimed in claim 6 and disposal system is characterized in that, corresponding result for retrieval of each data line in the described tables of data, and every result for retrieval comprises a plurality of field values.
CN200810306079A 2008-12-10 2008-12-10 Data searching and processing system as well as method Pending CN101751443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810306079A CN101751443A (en) 2008-12-10 2008-12-10 Data searching and processing system as well as method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810306079A CN101751443A (en) 2008-12-10 2008-12-10 Data searching and processing system as well as method

Publications (1)

Publication Number Publication Date
CN101751443A true CN101751443A (en) 2010-06-23

Family

ID=42478434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810306079A Pending CN101751443A (en) 2008-12-10 2008-12-10 Data searching and processing system as well as method

Country Status (1)

Country Link
CN (1) CN101751443A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136000A (en) * 2011-03-24 2011-07-27 北京数码大方科技有限公司 Method and device for loading dynamic data based on cache
CN103365844A (en) * 2012-03-26 2013-10-23 阿里巴巴集团控股有限公司 Method and device providing search path
CN103455556A (en) * 2013-08-08 2013-12-18 成都市欧冠信息技术有限责任公司 Intelligent storage unit data clipping process
CN104516920A (en) * 2013-10-08 2015-04-15 北大方正集团有限公司 Data inquiry method and data inquiry system
CN106886415A (en) * 2017-02-23 2017-06-23 济南浪潮高新科技投资发展有限公司 It is a kind of that the method that list records separately control auxiliary Dynamic Announce is realized by script
CN108345652A (en) * 2017-01-23 2018-07-31 霍尼韦尔国际公司 For using concurrency, stateless inquiry, data slicer or the asynchronous system and method for pulling data in mechanism processing security system
CN109857742A (en) * 2019-01-18 2019-06-07 烽火通信科技股份有限公司 A kind of big data virtual tables fast display method and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136000A (en) * 2011-03-24 2011-07-27 北京数码大方科技有限公司 Method and device for loading dynamic data based on cache
CN102136000B (en) * 2011-03-24 2013-09-04 北京数码大方科技股份有限公司 Method and device for loading dynamic data based on cache
CN103365844A (en) * 2012-03-26 2013-10-23 阿里巴巴集团控股有限公司 Method and device providing search path
CN103365844B (en) * 2012-03-26 2016-05-11 阿里巴巴集团控股有限公司 A kind of method and device that searching route is provided
CN103455556A (en) * 2013-08-08 2013-12-18 成都市欧冠信息技术有限责任公司 Intelligent storage unit data clipping process
CN103455556B (en) * 2013-08-08 2017-06-23 成都市欧冠信息技术有限责任公司 Memory cell data method of cutting out
CN104516920A (en) * 2013-10-08 2015-04-15 北大方正集团有限公司 Data inquiry method and data inquiry system
CN104516920B (en) * 2013-10-08 2018-06-05 北大方正集团有限公司 Data query method and data query system
CN108345652A (en) * 2017-01-23 2018-07-31 霍尼韦尔国际公司 For using concurrency, stateless inquiry, data slicer or the asynchronous system and method for pulling data in mechanism processing security system
CN108345652B (en) * 2017-01-23 2023-12-19 霍尼韦尔国际公司 System and method for processing data in a security system
CN106886415A (en) * 2017-02-23 2017-06-23 济南浪潮高新科技投资发展有限公司 It is a kind of that the method that list records separately control auxiliary Dynamic Announce is realized by script
CN109857742A (en) * 2019-01-18 2019-06-07 烽火通信科技股份有限公司 A kind of big data virtual tables fast display method and system

Similar Documents

Publication Publication Date Title
CN102436513B (en) Distributed search method and system
CN100444174C (en) Method for picking-up, and aggregating micro content of web page, and automatic updating system
CN101488145B (en) Document searching apparatus, document searching method, and computer-readable recording medium
CN104252536B (en) A kind of internet log data query method and device based on hbase
CN101751443A (en) Data searching and processing system as well as method
CN101371220B (en) Equipment for transferring and displaying hierarchical data and machine realization method
CN102110109B (en) Digital report topic making method and system
CN101211365A (en) Method and system for building search index
CN102622450A (en) Relevancy sorting of user's browser history
CN101231636A (en) Convenient information search method, system and an input method system
CN100458784C (en) Researching system and method used in digital labrary
CN101364979A (en) Downloaded material parsing and processing system and method
CN101986306A (en) Method and equipment for acquiring yellow page information based on query sequence
CN103559194B (en) A kind of searching method, server, system
CN102982117A (en) Information search method and device
CN103365877B (en) Method and server to establishing catalogue after webpage progress transcoding
CN102982118A (en) Searching method and device based on favorites
CN111552704A (en) Data report generation method and device, computer equipment and storage medium
KR20030090226A (en) Transferring system for huge and high quality images on network and method thereof
US11334592B2 (en) Self-orchestrated system for extraction, analysis, and presentation of entity data
CN102622402B (en) Server, method and system for providing information search service by using sheaf of pages
CN114443599A (en) Data synchronization method and device, electronic equipment and storage medium
CN101977251A (en) Server-side website resource optimization device and optimization method thereof
CN102467502A (en) Retrieval method and system
CN111859867B (en) Web data extraction system based on XML and XPath and use method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20100623