Universal inquiry statement dynamic generation system and method
[technical field]
The present invention relates to a kind of universal inquiry statement dynamic generation system and method, particularly a kind ofly on the intellectual property information website, during Query Information, the querying condition that the user imported is converted to the system and method that meets network information ad hoc inquiry form.
[background technology]
Along with Internet development, people become more fast effectively to the utilization of information.As long as the user has a terminating machine that can be connected with the internet, just can visit various information on the network by this terminating machine.Common way is to sign in to special-purpose a search on website or public website (nearly all public website all provides the function of information retrieval now) earlier, will search the keyword of information by input, just can inquire relevant message.
Now, the NSLOOKUP technology has developed quite ripely.Disclosing as the 6th, 085, No. 186 patents of the U.S. on July 4th, 2000 bulletin has a kind of intelligent network robot, and it is playing the part of user's intelligence assistant's role.The feature of each information source is also understood and relevant information in traceable each the effective network information source of this network robot.When the user has the demand of Query Information, this network robot can be determined the information source the most relevant with user inquiring according to the demand that the user imported, and user's inquiry is sent to this most relevant information source, understand the information of returning from information source then, after it is integrated, be shown to the user.
As shown in Figure 1, it is the Organization Chart of the 6th, 085, No. 186 patent institutes of U.S. exposing system, and wherein user interface 110, integrator 120 and incoming/outgoing management device 130 constitute the major part of intelligent network robots 100.When the user imported querying condition 11 from user interface 110 after, the querying router 121 in the integrator 120 can receive this querying condition 11, and selects some relevant information sources according to this querying condition 11.Subsequently, integration engine 123 is according to the description to selected information source of being stored in the database 122, with the format conversion of the querying condition 11 of user input is the interrogate format that meets these information sources, and the querying condition after will changing is sent to relevant information source 13 by incoming/outgoing management device 130 and searches.Then, integration engine 123 receives and identifies the response of information source to querying condition, and the part 12 relevant with user inquiring condition 11 reaches user interface 110 to be shown to the user in will responding.
But, if the technology that above-mentioned patent disclosed is used for the inquiry to intellectual property information, the possibility of result can be not fully up to expectations, because must sign in to the intellectual property information website to the inquiry of intellectual property information, and utilizes the search engine of website itself and keyword form just can carry out.If 6, input keyword query intellectual property information in the system that 085, No. 186 patent disclosed is then in the information that the website that the user received is returned, the overwhelming majority can not be an intellectual property information, but some other and the relevant information of importing of keyword.Therefore need a kind of system and method to carry out the inquiry of intellectual property information specially.
In addition, because intellectual property information must just can inquire by the search engine that the intellectual property information website is provided, traditional way is the intellectual property information that the user wants to inquire about a certain class (as country variant and area), just signing in to provides the intellectual property information of this category information website to inquire about, its process can be considerably loaded down with trivial details, and login and publish the time that the website also can be expensive.In addition, different intellectual property information websites also is not quite similar to inquiring about desired form, and the user just need understand the desired form in a plurality of intellectual property informations website if will inquire about multiple intellectual property information, and this also can increase some puzzlements.Therefore also need a kind of general inquiry system, it can allow the user only need login this system and according to unified format input keyword, can inquire about intellectual property information by the search engine that a plurality of different intellectual property information websites are provided.
[summary of the invention]
At above-mentioned the deficiencies in the prior art, the invention provides the universal inquiry statement dynamic generation system on a kind of assisted user inquiry different web sites, this system provides a unified inputting interface, can be from different intellectual property information query site intellectual property informations to allow the user only need login same system.Simultaneously, the present invention also provides a kind of universal inquiry statement dynamic creation method, but its assisted user is converted to the querying condition of user input and meets the form that the intellectual property information website can be discerned by intellecture property searching platform Query Information the time.
The universal inquiry statement dynamic generation system of the intellectual property information on the assisted user inquiry different web sites provided by the invention includes: a file server and a plurality of client.Client is used to receive the user inquiring condition, this client comprises a user's operational module and an XML modular converter, wherein user's operational module is used to receive the querying condition of user's input, judge whether compliant of user inquiring condition, and all querying conditions of user are converted to querying condition tree, this querying condition tree comprises operation and operating value; The XML modular converter is used for the querying condition tree is converted to the XML query statement.The file server end comprises a memory block, a HTTP modular converter and a conversion qualified list, and wherein the memory block is used to store the XML document of being made up of the XML query statement; The HTTP modular converter is used for the XML query statement is converted to the executable HTTP query statement in intellecture property website; The conversion qualified list has defined the HTTP grammer standard of different intellectual property informations website.
Universal inquiry statement dynamic creation method provided by the invention includes following steps: (a) user's operational module receives the user inquiring condition, and this querying condition is converted to the querying condition tree, is sent to the XML modular converter; (b) the XML modular converter is converted to the XML query statement with user inquiring condition tree, and this query statement is stored to corresponding project XML document in the data storage area of file server; (c) the HTTP modular converter is converted to the HTTP query statement according to the conversion qualified list with the XML query statement; (d) send the HTTP query statement to the internet; (e) storing queries summary of results information is to respective items purpose XML document.
Because the present invention adopted a kind of universal inquiry statement dynamic generation system, the user only needs just can inquire information in the different intellectual property informations website by this system, has therefore improved the efficient of user inquiring intellectual property information greatly.
[description of drawings]
Fig. 1 is an existing information query system Organization Chart.
Fig. 2 is the structural representation of universal inquiry statement dynamic generation system of the present invention.
Fig. 3 is the querying condition tree synoptic diagram of universal inquiry statement dynamic generation system of the present invention and method.
Fig. 4 is the corresponding XML query statement program code synoptic diagram of querying condition tree of Fig. 3.
Fig. 5 is the conversion qualified list synoptic diagram of universal inquiry statement dynamic generation system of the present invention and method.
Fig. 6 is the universal inquiry statement product process figure of universal inquiry statement dynamic generation system of the present invention and method.
Fig. 7 is the XML query statement product process figure of universal inquiry statement dynamic generation system of the present invention and method.
Fig. 8 is the HTTP query statement product process figure of universal inquiry statement dynamic generation system of the present invention and method.
[embodiment]
As shown in Figure 2, be the structural representation of universal inquiry statement dynamic generation system of the present invention.This system comprises a plurality of clients 210 (only drawing among the figure one) and a file server 220, and this system links to each other with intellectual property information website 240 by internet 230.Client 210 is user's operating terminals, can receive user input and to user's display operation result, it comprises user's operational module 211 and an XML (Extensible Markup Language) modular converter 213.User's operational module 211 comprises a graphic user interface (Graphical User Interface) for the user input query condition, this user inquiring condition must comprise the relevant information of query aim intellectual property information website 240, as the code of 240 locations, intellectual property information website.User's operational module 211 also provides the querying condition function of checking user's input, if the querying condition of user's input does not meet standard, then points out an error message, requires the user to revise.User's operational module 211 also can convert a plurality of querying conditions of user's input to one querying condition tree.In the present invention, the employed patent file of downloading from the intellectual property information website of user is to be that unit manages with the project.Patent file with a certain same characteristic features can be kept in the same project, as all patent files of a certain patentee.All user inquiring conditions of same project and querying condition execution time, summary of results information all will be presented in user's operational module 211, and will be for reference.The user also can make amendment to original subscriber's querying condition, forms new user inquiring condition, thereby has avoided repeating input.XML modular converter 213 then can be converted to the XML query statement with this querying condition tree.This transfer process will be described in detail at Fig. 3 and Fig. 4.
The file server 220 of this system comprises conversion qualified list 221, a HTTP (HypertextTransfer Protocol) modular converter 223 and a data storage area 225.But the XML query statement that data storage area 225 storing X ML modular converters 213 generate, these querying conditions be by the project storage, i.e. the corresponding XML document of a project, and the querying condition in the same project is stored in same XML document.HTTP modular converter 223 be used for the XML query statement be converted to can be in the internet 230 transmission and can be in the intellectual property information website the 240 HTTP query statements of carrying out.After the HTTP query statement generated, this statement just can directly be sent to intellectual property information website 240 and carry out, and returns Query Result.Because the query criteria of each intellectual property information website 240 has nothing in common with each other, therefore this conversion is carried out according to conversion qualified list 221.Conversion qualified list 221 has defined the query grammar standard of different intellectual property informations website 240.
Fig. 3 is the querying condition tree synoptic diagram of universal inquiry statement dynamic generation system of the present invention and method.The user comprises operation and operating value by the querying condition tree that user's operational module 211 generates.Wherein operation comprises and (And) operation 300 or (Or) operation 310 and non-(AndNot) operation etc.And operating value is user's a querying condition, and as operating value 311, its expression user need inquire about in the title document that comprises " search "; Operating value 312 is the documents that comprise " xml " in the inquiry title.And operating value 311,312 through or operate 310 result and represent to inquire about in the title document that comprises " search " or comprise " xml ".To operation 300 operating result with or to operate 310 operating result similar.
This querying condition tree synoptic diagram only is an example, and it can add more inquiry, forms more complicated in logic user inquiring condition, thereby can search accurate more data.
Fig. 4 is the corresponding XML query statement program code synoptic diagram of querying condition tree of Fig. 3.This XML query statement comprises an outer group structure, and this skin group structure comprises at the beginning mark 321 as "<condition country=" us " id=" 4 "〉" and an end mark 322 as "</condition〉".Outer group structure also can comprise other marker character, as "<node type=" operation " value=" 1 "〉", "</node〉" etc.These predefined grammatical markers are used to describe in detail the structure and the function of XML document, and marker character why keyword and essence did not influence of the present invention.
Fig. 4 has also described the value that the different pieces of information item is comprised in the XML document of source.Value as data item " country " is " us ", and the hunting zone of representing this XML query statement is the patent database of United States Patent (USP) trademark office." id=" 4 " " represent that this querying condition is the 4th querying condition in the project XML document, this is pressed querying condition in proper order and arranges Time Created.In the XML query statement, corresponding with the querying condition tree, also data item is divided into operation and operating value.Represent that as " operation " this data item is operation, and " key " represents that this data item is an operating value." 1 ", " 2 ", " 54 " reach " 57 " and refer to operation and the predefined thresholding of operating value, and as " 54 " expression title field (Title), " 2 " are represented or operated 310.When XML document was carried out, operating value was sent the result back to operation after operation, to carry out next step computing.
The XML query statement is not subjected to the constraint of speech encoding in this XML document, can be American Standard Code for Information Interchange (ASCII) (ASCII), ISO 8859-X series coding and GB (GB2312) coding standard etc. as querying condition.
Fig. 5 is the synoptic diagram of the conversion qualified list 221 of universal inquiry statement dynamic generation system of the present invention and method.This conversion qualified list 221 is foundations that the XML query statement is converted to the HTTP query statement, and it comprises area code item 401 and conversion limits item 403.Area code item 401 is primary keywords of this conversion qualified list 221, the code in area under the intellectual property information website 240 at its expression user required information place, patent file as need inquiry Patent Office of the People's Republic of China, then area code item 401 is " cn ", if need the patent file of inquiry United States Patent (USP) trademark office, then area code item 401 is " us ".Conversion limits the grammer composition that item 403 is used to be defined in HTTP query statement on the specific knowledge property right information site 240, and it comprises the internet address of this intellectual property information website 240, the definition of inquiry field, the qualification of each inquiry field and the grammer of query statement etc.
In another embodiment of the present invention, conversion qualified list 221 limits document definition with a conversion, and it defines format specification in XML query statement and the HTTP query statement transfer process with document form.
Fig. 6 is the universal inquiry statement product process figure of universal inquiry statement dynamic generation system of the present invention and method.At first, user's operational module 211 has generated querying condition tree (step S501).User's operational module 211 receives the querying condition (step S502) of user's input then, and judges whether the querying condition of user's input meets predefined standard (step S503).If querying condition does not meet standard, then user's operational module 211 provides a miscue (step S505), requires the user to re-enter, and returns step S501.If the querying condition compliant, then user's operational module 211 is added into querying condition tree (step S504) with this querying condition.Then, user's operational module judges whether querying condition imports finish (step S506), if querying condition input finishes, then returns step S502.If the querying condition input finishes, then XML modular converter 213 converts the querying condition tree to XML query statement (step S507).
HTTP modular converter 223 is converted to HTTP query statement (step S509) with the XML query statement, and this HTTP query statement is transferred into intellectual property information website 240 by internet 230 and carries out (step S511).The Query Result that the HTTP query statement will be carried out in intellectual property information website 240 sends it back file server 220, and the Query Result summary info is stored in the XML document in the corresponding XML query statement (step S513), this summary info has write down the execution time of this query manipulation and the data stroke count of inquiry gained, reference when next time inquiring about for the user.
Fig. 7 is the XML query statement product process figure of universal inquiry statement dynamic generation system of the present invention and method.After XML modular converter 213 received the querying condition tree, at first the XML document (step S601) of project under the data storage area of file server 220 225 search inquiry conditions tree judged whether the XML document of this project exists (step S603).If the XML document of this project does not exist, then XML modular converter 213 generates an XML document, and this XML document is document name (step S607) with project label under the querying condition tree.If XML document exists, then XML modular converter 213 is converted to the XML query statement with the querying condition tree, and this XML query statement is added XML document (step S605).
Fig. 8 is the HTTP query statement product process figure of universal inquiry statement dynamic generation system of the present invention and method.At first, HTTP modular converter 223 225 reads in XML query statement (step S701) from the data storage area.Search for the area code item 401 (step S703) in the XML query statement then.Then, the HTTP query statement of HTTP modular converter 223 base area area codes specific knowledge property right information site 240 under the search this area code entry 401 in the conversion qualified list generates standard (step S705).At last, HTTP modular converter 223 generates standard according to the HTTP query statement, and the XML query statement is converted to the executable HTTP query statement of specific knowledge property right information site (step S707).