CN110110184A - Information query method, system, computer system and storage medium - Google Patents

Information query method, system, computer system and storage medium Download PDF

Info

Publication number
CN110110184A
CN110110184A CN201711401432.3A CN201711401432A CN110110184A CN 110110184 A CN110110184 A CN 110110184A CN 201711401432 A CN201711401432 A CN 201711401432A CN 110110184 A CN110110184 A CN 110110184A
Authority
CN
China
Prior art keywords
metadata
file
path
component part
html
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
CN201711401432.3A
Other languages
Chinese (zh)
Other versions
CN110110184B (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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201711401432.3A priority Critical patent/CN110110184B/en
Publication of CN110110184A publication Critical patent/CN110110184A/en
Application granted granted Critical
Publication of CN110110184B publication Critical patent/CN110110184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Present disclose provides a kind of information query methods, comprising: receives information inquiring request, wherein information inquiring request is used to request the relevant information on queries static website;In response to information inquiring request, and the index database of queries static website, serial number metadata of the relevant information of inquiry with index relative and the path metadata with serial number metadata with corresponding relationship are requested with information inquiring request to find out;Based on path described in path metadata, the html file for being stored with relevant information is found out;And relevant information is read from html file.The disclosure additionally provides a kind of information query system, a kind of computer system and a kind of computer readable storage medium.

Description

Information query method, system, computer system and storage medium
Technical field
This disclosure relates to Internet technical field, more particularly, to a kind of information query method, system, department of computer science System and computer readable storage medium.
Background technique
In face of the internet information of magnanimity, how to find our information of needs becomes more and more difficult, and searches for and be exactly A kind of information search method the most universal.Currently, existing search means can very easily to internet information into Line index.
But during realizing disclosure design, at least there are the following problems in the prior art for inventor's discovery: existing Supporting condition required for some search means (hardware environment, such as database purchase service) is relatively more and more complicated, Its application scenarios is also than relatively limited, for example can be only applied to dynamic website, for some special application scenarios such as static networks It stands, is not suitable with, lead to not carry out information index to static website.
Summary of the invention
Static website is carried out with realizing by creating index database for static website in view of this, present disclose provides one kind The information query method and system of information index.
An aspect of this disclosure provides a kind of information query method, which includes: to receive information to look into Ask request, wherein above- mentioned information inquiry request is used to request the relevant information on queries static website;It is looked into response to above- mentioned information Request is ask, and inquires the index database of above-mentioned static website, to find out the related letter for requesting inquiry to above- mentioned information inquiry request It ceases the serial number metadata with index relative and there is the path metadata of corresponding relationship with above-mentioned serial number metadata;Based on upper Path described in path metadata is stated, the html file for being stored with above-mentioned relevant information is found out;And from above-mentioned html file It is middle to read above-mentioned relevant information.
In accordance with an embodiment of the present disclosure, which further includes the above-mentioned index database for generating above-mentioned static website, The operation includes: the Summary file for generating above-mentioned static website, wherein there is in above-mentioned static website record in above-mentioned Summary file The file title and its relative path at least one html file for including;For each of at least one above-mentioned html file File reads corresponding relative path from above-mentioned Summary file;Relative path based on reading reads corresponding HTML text Part;Web page contents described in html file to reading carry out metadata division;And it is based on metadata division result, it generates The above-mentioned index database of above-mentioned static website.
In accordance with an embodiment of the present disclosure, web page contents described in the above-mentioned html file to reading carry out metadata division It include: that web page contents described in the html file using regular expression to reading match, to match above-mentioned webpage The basic data of each component part in content;And serial number metadata and path member are added for the basic data of each component part Data, to realize that the metadata of web page contents described in the html file to reading divides.
In accordance with an embodiment of the present disclosure, information query method further include: in the above-mentioned basic number for each component part It, will be in the above-mentioned web page contents that matched in the basic data of each component part before addition serial number metadata and path metadata The basic data of at least one component part carries out label converting processing;For each composition for having executed label converting processing operation Partial basic data adds serial number metadata and path member number for the related data of each component part obtained after label converting According to;And the basic data for each component part for being not carried out label converting processing operation, it is the base of each component part Plinth data itself add serial number metadata and path metadata.
In accordance with an embodiment of the present disclosure, the Summary file of the above-mentioned static website of above-mentioned generation includes: from above-mentioned static website Website root traverse all html files of above-mentioned static website;Extract the text of each file in above-mentioned all html files Part title and its relative path;And the above-mentioned Summary file of above-mentioned static website is generated, it is wrapped with recording in above-mentioned static website The file title and its relative path of all html files contained.
Another aspect of the disclosure provides a kind of information query system, which includes: receiving module, For receiving information inquiring request, wherein above- mentioned information inquiry request is used to request the relevant information on queries static website;It rings Module is answered, in response to above- mentioned information inquiry request, and inquires the index database of above-mentioned static website, to find out and above- mentioned information Inquiry request requests the relevant information of inquiry to have the serial number metadata of index relative and have with above-mentioned serial number metadata The path metadata of corresponding relationship;Determining module, for finding out and being stored with based on path described in above-mentioned path metadata State the html file of relevant information;And read module, for reading above-mentioned relevant information from above-mentioned html file.
In accordance with an embodiment of the present disclosure, which further includes generation module, for generating above-mentioned static website Above-mentioned index database, above-mentioned generation module is also used to: generating the Summary file of above-mentioned static website, wherein above-mentioned Summary file It is middle to record the file title and its relative path for having at least one html file for including in above-mentioned static website;For it is above-mentioned extremely Each file in a few html file, reads corresponding relative path from above-mentioned Summary file;Based on the opposite of reading Corresponding html file is read in path;Web page contents described in html file to reading carry out metadata division;And base In metadata division result, the above-mentioned index database of above-mentioned static website is generated.
In accordance with an embodiment of the present disclosure, above-mentioned generation module is also used to: using regular expression to the html file of reading Described web page contents are matched, to match the basic data of each component part in above-mentioned web page contents;It and is every The basic data addition serial number metadata and path metadata of a component part, to realize described in the html file to reading The metadata of web page contents divides.
In accordance with an embodiment of the present disclosure, information query system further include: processing module is used for above-mentioned as each composition Before partial basic data addition serial number metadata and path metadata, by each component part in the above-mentioned web page contents matched Basic data in the basic data of at least one component part carry out label converting processing;First adding module, for being directed to The basic data of each component part of label converting processing operation is executed, for the phase of each component part obtained after label converting Close data addition serial number metadata and path metadata;And second adding module, for for being not carried out label converting place The basic data of each component part of operation is managed, adds serial number metadata and path for the basic data of each component part itself Metadata.
In accordance with an embodiment of the present disclosure, above-mentioned generation module is also used to: being traversed from the website root of above-mentioned static website All html files of above-mentioned static website;Extract the file title of each file and its opposite road in above-mentioned all html files Diameter;And the above-mentioned Summary file of above-mentioned static website is generated, to record all html files for including in above-mentioned static website File title and its relative path.
Another aspect of the present disclosure provides a kind of computer system, comprising: one or more processors;Memory is used In the one or more programs of storage, wherein when said one or multiple programs are executed by said one or multiple processors, make It obtains said one or multiple processors realizes information query method as described above.
Another aspect of the present disclosure provides a kind of computer readable storage medium, is stored thereon with executable instruction, should Instruction makes processor realize information query method as described above when being executed by processor.
In accordance with an embodiment of the present disclosure, index database is created for static network because using, and then is searched based on index database The technological means of rope, the technology that can at least be partially solved can not carry out information index to static website in the related technology are asked Topic, and the technical effect that information index is carried out to static website therefore may be implemented.
Detailed description of the invention
By referring to the drawings to the description of the embodiment of the present disclosure, the above-mentioned and other purposes of the disclosure, feature and Advantage will be apparent from, in the accompanying drawings:
Fig. 1 diagrammatically illustrate according to the embodiment of the present disclosure can be with application message querying method and the system tray of system Structure;
Fig. 2A diagrammatically illustrates the flow chart of the information query method according to the embodiment of the present disclosure;
Fig. 2 B diagrammatically illustrates the schematic diagram of the information query method according to the embodiment of the present disclosure;
Fig. 3 A diagrammatically illustrates the flow chart of the index database of the generation static website according to the embodiment of the present disclosure;
Fig. 3 B diagrammatically illustrate the web page contents according to described in the html file to reading of the embodiment of the present disclosure into The flow chart that row metadata divides;
Fig. 3 C diagrammatically illustrate the web page contents according to described in the html file to reading of the embodiment of the present disclosure into The schematic diagram that row metadata divides;
Fig. 3 D diagrammatically illustrates the flow chart of the information query method according to another embodiment of the disclosure;
Fig. 3 E diagrammatically illustrates the schematic diagram of the information query method according to another embodiment of the disclosure;
Fig. 3 F diagrammatically illustrates the flow chart of the Summary file of the generation static website according to the embodiment of the present disclosure;
Fig. 3 G diagrammatically illustrates the schematic diagram of the information query method according to another embodiment of the disclosure;
Fig. 4 diagrammatically illustrates the block diagram of the information query system according to the embodiment of the present disclosure;
Fig. 5 A diagrammatically illustrates the block diagram of the information query system according to another embodiment of the disclosure;
Fig. 5 B diagrammatically illustrates the block diagram of the information query system according to another embodiment of the disclosure;And
Fig. 6 diagrammatically illustrates the frame of the computer system for being adapted for carrying out information query method according to the embodiment of the present disclosure Figure.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In addition, in the following description, descriptions of well-known structures and technologies are omitted, with Avoid unnecessarily obscuring the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C " Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have B and C, and/or the system with A, B, C etc.).It should also be understood by those skilled in the art that substantially arbitrarily indicating two or more The adversative conjunction and/or phrase of optional project shall be construed as either in specification, claims or attached drawing A possibility that giving including one of these projects, either one or two projects of these projects.For example, phrase " A or B " should A possibility that being understood to include " A " or " B " or " A and B ".
Embodiment of the disclosure provides a kind of information query method and system.The information query method includes receiving information Inquiry request, wherein information inquiring request is used to request the relevant information on queries static website;It is asked in response to information inquiry It asks, and the index database of queries static website, requests the relevant information of inquiry that there is index to close with information inquiring request to find out The serial number metadata of system and the path metadata with serial number metadata with corresponding relationship;Based on described in path metadata The html file for being stored with relevant information is found out in path;And relevant information is read from html file.
Fig. 1 diagrammatically illustrate according to the embodiment of the present disclosure can be with application message querying method and the system tray of system Structure.It should be noted that being only the example that can apply the system architecture of the embodiment of the present disclosure shown in Fig. 1, to help this field Technical staff understands the technology contents of the disclosure, but be not meant to the embodiment of the present disclosure may not be usable for other equipment, system, Environment or scene.
As shown in Figure 1, system architecture 100 may include terminal device 101,102,103, network according to this embodiment 104 and server 105.Network 104 between terminal device 101,102,103 and server 105 to provide communication link Medium.Network 104 may include various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 101,102,103 and be interacted by network 104 with server 105, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 101,102,103 (merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 101,102,103 can be the various electronic equipments with display screen and supported web page browsing, packet Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 105 can be to provide the server of various services, such as utilize terminal device 101,102,103 to user The website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to the use received The data such as family request analyze etc. processing, and by processing result (such as according to user's request or the webpage of generation, believe Breath or data etc.) feed back to terminal device.
It should be noted that information query method provided by the embodiment of the present disclosure can generally be executed by server 105. Correspondingly, information query system provided by the embodiment of the present disclosure generally can be set in server 105.The embodiment of the present disclosure Provided information query method can also by be different from server 105 and can with terminal device 101,102,103 and/or clothes The server or server cluster that business device 105 communicates execute.Correspondingly, information query system provided by the embodiment of the present disclosure It can be set in the service that is different from server 105 and can be communicated with terminal device 101,102,103 and/or server 105 In device or server cluster.
It should be understood that the number of terminal device, network and server in Fig. 1 is only schematical.According to realization need It wants, can have any number of terminal device, network and server.
Fig. 2A diagrammatically illustrates the flow chart of the information query method according to the embodiment of the present disclosure.
As shown in Figure 2 A, which may include operation S201~S204, in which:
In operation S201, information inquiring request is received, wherein information inquiring request is for requesting on queries static website Relevant information.
In embodiment of the disclosure, each static website may include one or more hypertext markup language (Hyper Text Mark-up Language, referred to as HTML) file, and the web page contents that static website is shown may be embodied in this In one or more html files, each of the one or more html file may include one or more HTML lives It enabling, wherein the one or more HTML command can be used for descriptive text, figure, animation, sound, table, link etc., This is without limitation.
In accordance with an embodiment of the present disclosure, in the case where user wants the relevant information on queries static website, Ke Yitong It crosses user end to server and submits information inquiring request, which can decide whether that receiving the information looks into according to present case Ask request.For example, can receive the information in the case where server, which is judged, currently can reply the information inquiring request and look into Ask request;In the case where the current accessed amount of server is excessive, server can reject the information inquiring request.
In operation S202, in response to information inquiring request, and the index database of queries static website, to find out and information is inquired Request serial number metadata of the relevant information with index relative of inquiry and with serial number metadata with corresponding relationship Path metadata.
In embodiment of the disclosure, it can store the sequence that there is index relative with the relevant information in above-mentioned index database Number metadata, and there is with the serial number metadata path metadata of corresponding relationship, wherein above-mentioned serial number metadata can be used In describing position of this relevant information in index database, above-mentioned path metadata can be used for describing being stored with this correlation letter Storage path of the html file of breath in static website.
It in accordance with an embodiment of the present disclosure, can be further in the case where server receives above- mentioned information inquiry request The information inquiring request is responded, and searches above-mentioned serial number metadata and above-mentioned path metadata from index database.
For example, being stored with 3 serial number metadata in the index database of static website and having with this 3 serial number metadata There are 3 path metadatas of corresponding relationship, wherein this 3 serial number metadata are stored sequentially in the index database with what is be incremented by. Such as, which is " 1 ", " 2 ", " 3 " respectively, wherein there is index to close for serial number metadata " 1 " and " relevant information 1 " System, serial number metadata " 2 " and " relevant information 2 " have index relative, and serial number metadata " 3 " and " relevant information 3 " have index Relationship;3 path metadatas are " A ", " B ", " C " respectively, wherein path metadata " A " is corresponding serial number metadata " 1 ", road Diameter metadata " B " is corresponding serial number metadata " 2 ", and path metadata " C " is corresponding serial number metadata " 3 ".Inquiry " phase is requested in user When closing information 1 ", server can find the serial number metadata " 1 " according to index relative from the index database, and be closed according to corresponding System determines path metadata " A ".
The html file for being stored with relevant information is found out based on path described in path metadata in operation S203.
In embodiment of the disclosure, in the case where finding above-mentioned path metadata, the path can be based further on The html file for being stored with this relevant information is found in path described in metadata from the static website.
For example, in conjunction with above-mentioned example, the path of path metadata " A " description is " d: feig hgg ", then can basis " d: feig hgg " finds the html file for being stored with " relevant information 1 ".
In operation S204, relevant information is read from html file.
In embodiment of the disclosure, in the case where finding the html file for being stored with this relevant information, Ke Yicong The relevant information is read in the html file, and by the relative information displaying in the page of the static website.
Fig. 2 B diagrammatically illustrates the schematic diagram of the information query method according to the embodiment of the present disclosure.
As shown in Figure 2 B, in embodiment of the disclosure, the data in physical address can be used to indicate that path metadata (it may be noted that in logic adjacent data be not necessarily physically adjacent), the data in column 1 can be used to indicate that serial number member number According to the data in column 2 can be used to indicate that relevant information, wherein the serial number metadata in column 1 can be arranged with incremental sequence Column.
In accordance with an embodiment of the present disclosure, in order to accelerate to can establish binary search tree to the lookup of the relevant information in column 2 (binary search tree can be used to indicate that one of computerized algorithm data sorting algorithm), wherein the binary search tree Each node may include an index key assignments and one is used to be directed toward in physical address path corresponding with the index key assignments The pointer of metadata, the index key assignments may include the serial number metadata in column 1.
In embodiment of the disclosure, in the case where user searches relevant information by the binary search tree, Ke Yigen The serial number metadata that there is index relative with the relevant information is determined from column 1 according to index relative, and is based on the binary search The node of tree finds path metadata corresponding with the serial number metadata, deposits further, it is possible to be found based on the path metadata Contain the html file of the relevant information.
For example, in the case where user requests relevant information " 34 " in inquiry column 2, due to having with the relevant information " 34 " The serial number metadata for having index relative is " 1 ", and includes that the node of the serial number metadata " 1 " can also be comprising one for being directed toward The pointer of path metadata " 0x07 " in physical address, so, it can be based on the path metadata " 0x07 " from static website Find the html file for being stored with relevant information " 34 ".
By the embodiment of the present disclosure, when searching relevant information based on binary search tree, operation complexity meets 0 (log2N), It thus can reduce the complexity for searching information.
By embodiment of the disclosure, by creating index database for static website, realizing can be based on index database to quiet The purpose of state website progress information index.
Below with reference to Fig. 3 A~Fig. 3 G, method shown in Fig. 2A~2B is described further in conjunction with specific embodiments.
Fig. 3 A diagrammatically illustrates the flow chart of the index database of the generation static website according to the embodiment of the present disclosure.
It in this embodiment, can also include the index database for generating static website with reference to Fig. 2 information query method described, The operation may include operation S301~S305.As shown in Figure 3A, in which:
In operation S301, the Summary file of static website is generated, wherein there is in static website record in Summary file includes At least one html file file title and its relative path.
Corresponding phase is read from Summary file for each file at least one html file in operation S302 To path.
In operation S303, the relative path based on reading reads corresponding html file.
S304 is being operated, web page contents described in the html file to reading carry out metadata division.
In operation S305, it is based on metadata division result, generates the index database of static website.
In embodiment of the disclosure, for any one of at least one above-mentioned html file html file, Above-mentioned Summary file may include the file title of the html file and the relative path for storing the html file, wherein on Stating relative path can be used to indicate that storage location of the html file in static website, and above-mentioned file title and above-mentioned phase There is corresponding relationship to path.
In accordance with an embodiment of the present disclosure, it in the case where generating the Summary file of static website, is read from the Summary file The corresponding relative path of each html file is taken, and is based on the relative path, corresponding HTML text is read from static website Part.
It should be understood that since above-mentioned file title and above-mentioned relative path have corresponding relationship, the phase based on reading To path, reading corresponding html file be can be, based on the relative path of reading and the relative path and file title Corresponding relationship reads corresponding html file.Specifically, if including two or more under the same relative path Html file, after the storage location for finding corresponding html file based on the relative path, it is also necessary to be based further on and be somebody's turn to do The corresponding file title of relative path determines corresponding html file from two or more html files.
For example, be stored in Summary file summary.md " file title 1 ", " file title 2 ", " relative path 1 " and " relative path 2 ", wherein " file title 1 " is the file title of " html file 1 ", and " file title 2 " is " html file 2 " File title, and " file title 1 " correspondence " relative path 1 ", " file title 2 " correspondence " relative path 2 ".It, can when implementation To read from above-mentioned summary.md corresponding " relative path 1 ", and it is based on being somebody's turn to do " relative path 1 " and " file title 1 ", from Corresponding " html file 1 " is read in static website.
It should be noted that reading corresponding html file based on relative path may include various ways, such as can be with It is read out according to the sequence for recording relative path in Summary file, the opposite road recorded in Summary file can also be randomly selected Diameter is read out, and can also be the combination of above two mode, it is not limited here.
In embodiment of the disclosure, since html file is used to describe the web page contents of static website, so, it is reading In the case where corresponding html file, metadata division further can be carried out to web page contents described in the html file, And according to division result, the index database of static website is generated.
It, can also should it should be noted that above-mentioned index database can be stored in index.json file Index.json file is stored in the root of static website, it is not limited here.Wherein, json can be used to indicate that one kind Lightweight data interchange format.
In accordance with an embodiment of the present disclosure, in the case where generating the index database of static website, service can receive and respond Above- mentioned information inquiry request, and the further index database of queries static website, read relevant information to realize from html file Purpose.
It may be implemented to carry out letter to static website by establishing the index database of static website by embodiment of the disclosure Cease the purpose of index.
Fig. 3 B diagrammatically illustrate the web page contents according to described in the html file to reading of the embodiment of the present disclosure into The flow chart that row metadata divides.
In this embodiment, the operation S304 (net described in the html file i.e. to reading that A is described referring to figs. 2 and 3 Page content carries out metadata division) it may include operation S401~S402.As shown in Figure 3B, in which:
In operation S401, matched using web page contents described in html file of the regular expression to reading, with Match the basic data of each component part in web page contents.
It is that the basic data of each component part adds serial number metadata and path metadata, to realize in operation S402 The metadata of web page contents described in html file to reading divides.
In embodiment of the disclosure, above-mentioned regular expression can be expressed as public to a kind of logic of string operation Formula, for example, pre-defining some specific characters, and according to the combination of these specific characters and these specific characters, composition one A " regular character string ", being somebody's turn to do " regular character string " can be used to indicate that a kind of filter logic to character string.
In accordance with an embodiment of the present disclosure, as shown in Figure 3 C, each component part in web page contents can include but is not limited to Article ID, article title, article description, article keyword, article content etc., wherein article description can be to entire chapter text The generality content of chapter.
In embodiment of the disclosure, the basic data of above-mentioned each component part can be the data shown using HTML table, For example, the basic data (being properly termed as html tag) of above-mentioned each component part can be expressed as "<title></title>" (mark Topic), "<keywords></keywords>" (keyword), "<description></description>" (description), "< Body></body>" (content) etc..
In accordance with an embodiment of the present disclosure, serial number metadata and path can be added for the basic data of each component part Metadata, to realize the purpose of the metadata division of web page contents described in the html file to reading, wherein for coming from Each component part of same html file can add identical serial number member number to be somebody's turn to do the basic data of (or those) component part According to and path metadata;It can be the base for being somebody's turn to do (or those) component part for each component part from different html files Plinth data add different serial number metadata and path metadata.
For example, " title 1 " and " keyword 1 " is the component part of " html file 1 ", " title 2 " and " keyword 2 " is The component part of " html file 2 " then can add identical " serial number metadata 1 " and " road for " title 1 " and " keyword 1 " Diameter metadata 1 ";Identical " serial number metadata 2 " and " path metadata 2 " is added for " title 2 " and " keyword 2 ", wherein " serial number metadata 1 " is different from " serial number metadata 2 ", and " path metadata 1 " is different from " path metadata 2 ".
By embodiment of the disclosure, serial number metadata and path member are added by the basic data for each component part Data realize the purpose that the metadata of web page contents described in the html file to reading divides.
Fig. 3 D diagrammatically illustrates the flow chart of the information query method according to another embodiment of the disclosure.
In this embodiment, the information query method is in addition to may include the corresponding behaviour above with reference to Fig. 2A and Fig. 3 B description It can also include operation S501~S503 except work.For purpose of brevity for description, it omits here to corresponding in Fig. 2A and Fig. 3 B The description of operation.
As shown in Figure 3D, which can also include operation S501~S503.Wherein:
It, will before adding serial number metadata and path metadata for the basic data of each component part in operation S501 The basic data of at least one component part carries out label turn in the basic data of each component part in the web page contents matched Change processing.
Turn in operation S502 for the basic data for each component part for having executed label converting processing operation for label The related data addition serial number metadata and path metadata of each component part obtained after change.
It is each for the basic data for each component part for being not carried out label converting processing operation in operation S503 Basic data of component part itself adds serial number metadata and path metadata.
In embodiment of the disclosure, above-mentioned label converting processing can include but is not limited to utilize " HTML converts MD " Label converting technology carries out label converting place to the basic data of at least one component part in the basic data of each component part Reason.For example, can use the label converting technology by " HTML converts MD ", will "<body></body>" (content) marked Sign conversion processing.
In accordance with an embodiment of the present disclosure, as shown in FIGURE 3 E, the web page contents described in the HTML to reading carry out canonical After matching (canonical matching can be a kind of for testing the matching rule of regular expression), it can match in web page contents The basic data of each component part, wherein the basic data of each component part can be expressed as "<h1></h1>", "<p></p >", "<br>", " Strong.b " etc., then can use that " HTML converts succinct markup language, and (MarkDown may be simply referred to as MD label converting technology) ", will "<h1></h1>" be converted into " # ", "<p></p>" be converted into " n n ", "<br>" be converted into " n ", " Strong.b " are converted into " * * ", wherein the related data of each component part obtained after conversion is properly termed as MD mark Label.
In embodiment of the disclosure, for the basic data for each component part for having executed label converting processing operation, As "<h1></h1>", "<p></p>", "<br>", " Strong.b ", for the related data of each component part obtained after conversion Serial number metadata and path metadata are added, such as respectively " # ", " n n ", " n " and " * * " add serial number metadata and path Metadata.Wherein, for related data corresponding to the component part from same html file, can be should (or those) phase It closes data and adds identical serial number metadata and path metadata;For corresponding to the component part from different html files Related data can add different serial number metadata and path metadata to be somebody's turn to do (or those) related data.
In accordance with an embodiment of the present disclosure, for the basic number for each component part for being not carried out label converting processing operation According to adding the operating method and above-mentioned class of serial number metadata and path metadata for the basic data of each component part itself Seemingly, details are not described herein.
By embodiment of the disclosure, since simple MD label can be converted by complicated html tag, thus can To remove mass of redundancy data, retains effective information, while can reduce memory space, improve the utilization efficiency of resource.
Fig. 3 F diagrammatically illustrates the flow chart of the Summary file of the generation static website according to the embodiment of the present disclosure.
It in this embodiment, can with reference to Fig. 2A and Fig. 3 A operation S301 (generating the Summary file of static website) described To include operation S601~S603.As illustrated in Figure 3 F, in which:
In operation S601, from all html files of the website root of static website traversal static website.
In operation S602, the file title and its relative path of each file in all html files are extracted.
In operation S603, the Summary file of static website is generated, to record all html files for including in static website File title and its relative path.
It in embodiment of the disclosure, can be certainly in the case where there is no Summary file Summary.md on static website It is dynamic to generate Summary file Summary.md, with realize all html files for including in record static website file title and The purpose of its relative path.
In accordance with an embodiment of the present disclosure, all html files can be traversed from the website root of static website, wherein The website root may include its subdirectory.Then, according to all html files found, each html file is obtained The relative path of file title and the html file, wherein corresponded to as described above, this document title and the relative path have Relationship.Further, according to the file title of extraction and relative path, the Summary file of static website is generated.
It should be noted that the Summary file can be stored in the root of static website after generating above-mentioned Summary file In catalogue, it is not limited here.
By embodiment of the disclosure, by generating Summary file, and the text of html file is stored in the Summary file Part title and relative path not only improve management intensity, but also improve the convenience for reading html file.
Fig. 3 G diagrammatically illustrates the schematic diagram of the information query method according to another embodiment of the disclosure.
As shown in Figure 3 G, in which:
In operation S701, static website is traversed.
In operation S702, Summar.md is generated.
In operation S703, static Web page is read.
In operation S704, extracting header, description, keyword, content.
In operation S705, replacement html tag becomes simple label.
In operation S706, add paths metadata.
In operation S707, serial number metadata is added.
In operation S708, metadata structure.
In operation S709, it is stored as local index library.
In embodiment of the disclosure, the index database for establishing static website can be broadly divided into four big steps, be respectively: The Summary file of static website is generated, metadata divides, html tag converts and generates index database.
In accordance with an embodiment of the present disclosure, the Summary file for generating static website can be, from the website root mesh of static website Record traverses all html files, then extracts the file title and relative path of all html files, and by file title and Relative path is sequentially written in Summary file Summary.md, wherein if the Summary file is not present in static website Summary.md can then automatically generate a Summary.md file.
In embodiment of the disclosure, metadata division can be, and read the content of Summary.md file, and successively press Corresponding html file is read according to the relative path that records in Summary.md file, then described by each html file Web page contents in extract each component part, such as title, description, keyword, content, wherein the base of each component part Plinth data can use regular expression expression.Further, serial number metadata and road are added for the basic data of each component part Diameter metadata.
In accordance with an embodiment of the present disclosure, html tag conversion can be, and carry out label to the basic data of each component part Conversion processing, to realize the purpose by each component part of simple tag representation.
It should be noted that can also be the correlation of each component part after conversion after executing html tag conversion Data add serial number metadata and path metadata.
In embodiment of the disclosure, being stored as local index library can be, can be to title, pass according to specific requirements Index database is established in key word, description respectively, can also basic data to above-mentioned all constituents and/or all constituents Related data establishes index database (being properly termed as full-text index), it is not limited here.
By embodiment of the disclosure, for the static website of no index database support, traditional information index technology without Method provides corresponding solution, and the disclosure, can be quickly to static state in the case where not needing the supporting condition of investment complexity The web page contents of website establish index database, to provide data source support for search mechanisms.
Fig. 4 diagrammatically illustrates the block diagram of the information query system according to the embodiment of the present disclosure.
As shown in figure 4, the information query system 400 may include receiving module 410, respond module 420, determining module 430 and first read module 440.Wherein:
Receiving module 410 is for receiving information inquiring request, wherein information inquiring request is for requesting queries static website On relevant information.
Respond module 420 is used in response to information inquiring request, and the index database of queries static website, to find out and information Inquiry request requests serial number metadata of the relevant information with index relative of inquiry and with serial number metadata with corresponding The path metadata of relationship.
Determining module 430 is used to find out the HTML text for being stored with relevant information based on path described in path metadata Part.
Read module 440 from html file for reading relevant information.
By embodiment of the disclosure, by creating index database for static website, realizing can be based on index database to quiet The purpose of state website progress information index.
Fig. 5 A diagrammatically illustrates the block diagram of the information query system according to another embodiment of the disclosure.
In this embodiment, the information query system 400 in addition to may include above with reference to Fig. 4 description corresponding module it It outside, can also include generation module 510.For purpose of brevity for description, it omits here and corresponding module in reference Fig. 4 is retouched It states.
As shown in Figure 5A, which can also include generation module 510, for generating static website Index database.Wherein, which is also used to: generating the Summary file of static website, wherein there is record in Summary file The file title and its relative path at least one html file for including in static website.For at least one html file Each file, corresponding relative path is read from Summary file.Relative path based on reading reads corresponding HTML text Part.Web page contents described in html file to reading carry out metadata division.Based on metadata division result, generate static The index database of website.
It may be implemented to carry out letter to static website by establishing the index database of static website by embodiment of the disclosure Cease the purpose of index.
As a kind of optional embodiment, above-mentioned generation module is also used to: using regular expression to the HTML text of reading Web page contents described in part are matched, to match the basic data of each component part in web page contents;It and is each The basic data addition serial number metadata and path metadata of component part, to realize net described in the html file to reading The metadata of page content divides.
By embodiment of the disclosure, serial number metadata and path member are added by the basic data for each component part Data realize the purpose that the metadata of web page contents described in the html file to reading divides.
Fig. 5 B diagrammatically illustrates the block diagram of the information query system according to another embodiment of the disclosure.
In this embodiment, the information query system 400 in addition to may include above with reference to Fig. 4 description corresponding module it It outside, can also include processing module 610, the first adding module 620 and the second adding module 630.For purpose of brevity for description, Here the description to corresponding module in reference Fig. 4 is omitted.
As shown in Figure 5 B, which can also include processing module 610, the first adding module 620 and the Two adding modules 630.Wherein:
Processing module 610 is used to add serial number metadata and path metadata for the basic data of each component part Before, the basic data of at least one component part in the basic data of component part each in the web page contents matched is marked Sign conversion processing.
First adding module 620 is used for the basic data for each component part for having executed label converting processing operation, Be it is label converting after the obtained related data addition serial number metadata and path metadata of each component part.
Second adding module 630 is used for the basic number for each component part for being not carried out label converting processing operation According to adding serial number metadata and path metadata for the basic data of each component part itself.
By embodiment of the disclosure, since simple MD label can be converted by complicated html tag, thus can To remove mass of redundancy data, retains effective information, while can reduce memory space, improve the utilization efficiency of resource.
As a kind of optional embodiment, above-mentioned generation module is also used to: being traversed from the website root of static website quiet All html files of state website;Extract the file title and its relative path of each file in all html files;It generates quiet The Summary file of state website, to record the file title and its relative path of all html files for including in static website.
By embodiment of the disclosure, by generating Summary file, and the text of html file is stored in the Summary file Part title and relative path not only improve management intensity, but also improve the convenience for reading html file.
It is understood that receiving module 410, respond module 420, determining module 430 and read module 440, generation mould Block 510, processing module 610, the first adding module 620 and the second adding module 630, which may be incorporated in a module, to be realized, Or any one module therein can be split into multiple modules.Alternatively, one or more modules in these modules At least partly function can be combined at least partly function of other modules, and be realized in a module.According to the disclosure Embodiment, receiving module 410, respond module 420, determining module 430 and read module 440, generation module 510, processing mould At least one of block 610, the first adding module 620 and second adding module 630 can be at least implemented partly as firmly Part circuit, for example, field programmable gate array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, System, specific integrated circuit (ASIC) in encapsulation, or can be any other reasonable integrate or encapsulate to circuit The hardware such as mode or firmware realize, or is realized with software, the appropriately combined of three kinds of implementations of hardware and firmware.Or Person, receiving module 410, respond module 420, determining module 430 and read module 440, generation module 510, processing module 610, At least one of first adding module 620 and the second adding module 630 can at least be implemented partly as computer journey Sequence module can execute the function of corresponding module when the program is run by computer.
As on the other hand, the disclosure additionally provides a kind of computer system, comprising: one or more processors;Storage Device, for storing one or more programs, wherein when one or more programs are executed by one or more processors, make It obtains one or more processors and realizes information query method as described above.
Fig. 6 diagrammatically illustrates the frame of the computer system for being adapted for carrying out information query method according to the embodiment of the present disclosure Figure.Computer system shown in Fig. 6 is only an example, should not function to the embodiment of the present disclosure and use scope bring and appoint What is limited.
As shown in fig. 6, include processor 801 according to the computer system 800 of the embodiment of the present disclosure, it can be according to storage It is loaded into random access storage device (RAM) 803 in the program in read-only memory (ROM) 802 or from storage section 808 Program and execute various movements appropriate and processing.Processor 801 for example may include general purpose microprocessor (such as CPU), refer to Enable set processor and/or related chip group and/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Processing Device 801 can also include the onboard storage device for caching purposes.Processor 801 may include for execute with reference to Fig. 2A~ The single treatment unit of the different movements of method flow of 2B, Fig. 3 A~the 3G description according to the embodiment of the present disclosure is either multiple Processing unit.
In RAM 803, it is stored with computer system 800 and operates required various programs and data.Processor 801, ROM 802 and RAM 803 is connected with each other by bus 804.Processor 801 is by executing the journey in ROM 802 and/or RAM 803 Sequence come execute above with reference to Fig. 2A~2B, Fig. 3 A~3G describe various operations.It is noted that described program also can store In one or more memories in addition to ROM 802 and RAM 803.Processor 801 can also be stored in described by execution Program in one or more memories executes the various operations described above with reference to Fig. 2A~2B, Fig. 3 A~3G.
In accordance with an embodiment of the present disclosure, which can also include input/output (I/O) interface 805, defeated Enter/export (I/O) interface 805 and is also connected to bus 804.Computer system 800 can also include being connected to I/O interface 805 With one or more in lower component: the importation 806 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), The output par, c 807 of liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 808 including hard disk etc.;And including all The communications portion 809 of such as network interface card of LAN card, modem.Communications portion 809 via such as internet network Execute communication process.Driver 810 is also connected to I/O interface 805 as needed.Detachable media 811, such as disk, CD, Magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 810, in order to from the computer journey read thereon Sequence is mounted into storage section 808 as needed.
In accordance with an embodiment of the present disclosure, it may be implemented as computer software journey above with reference to the method for flow chart description Sequence.For example, embodiment of the disclosure includes a kind of computer program product comprising carry meter on a computer-readable medium Calculation machine program, the computer program include the program code for method shown in execution flow chart.In such embodiments, The computer program can be downloaded and installed from network by communications portion 809, and/or be pacified from detachable media 811 Dress.When the computer program is executed by processor 801, the above-mentioned function of limiting in the system of the embodiment of the present disclosure is executed.Root According to embodiment of the disclosure, system as described above, unit, module, unit etc. can by computer program module come It realizes.
It should be noted that computer-readable medium shown in the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.In accordance with an embodiment of the present disclosure, computer-readable medium may include above-described ROM 802 And/or one or more memories other than RAM 803 and/or ROM 802 and RAM 803.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
As on the other hand, the disclosure additionally provides a kind of computer-readable medium, is stored thereon with executable instruction, should Instruction makes processor realize above- mentioned information querying method when being executed by processor.The computer-readable medium can be above-mentioned implementation Included in equipment described in example;It is also possible to individualism, and without in the supplying equipment.Above-mentioned computer-readable Jie Matter carries one or more program, when said one or multiple programs are executed by the equipment, so that the equipment It executes: receiving information inquiring request, wherein information inquiring request is used to request the relevant information on queries static website;Response In information inquiring request, and the index database of queries static website, request the related of inquiry to be believed to information inquiring request to find out It ceases the serial number metadata with index relative and there is the path metadata of corresponding relationship with serial number metadata;Based on path member The html file for being stored with relevant information is found out in path described in data;And relevant information is read from html file.
Embodiment of the disclosure is described above.But the purpose that these embodiments are merely to illustrate that, and It is not intended to limit the scope of the present disclosure.Although respectively describing each embodiment above, but it is not intended that each reality Use cannot be advantageously combined by applying the measure in example.The scope of the present disclosure is defined by the appended claims and the equivalents thereof.It does not take off From the scope of the present disclosure, those skilled in the art can make a variety of alternatives and modifications, these alternatives and modifications should all fall in this Within scope of disclosure.

Claims (12)

1. a kind of information query method, comprising:
Receive information inquiring request, wherein the information inquiring request is used to request the relevant information on queries static website;
In response to the information inquiring request, and the index database of the static website is inquired, is asked with finding out with information inquiry It seeks the serial number metadata requested the relevant information of inquiry with index relative and there is corresponding close with the serial number metadata The path metadata of system;
Based on path described in the path metadata, the html file for being stored with the relevant information is found out;And
The relevant information is read from the html file.
2. according to the method described in claim 1, wherein, the method also includes generating the index of the static website Library, the operation include:
Generate the Summary file of the static website, wherein there is in the static website record in the Summary file includes The file title and its relative path of at least one html file;
For each file at least one described html file, corresponding relative path is read from the Summary file;
Relative path based on reading reads corresponding html file;
Web page contents described in html file to reading carry out metadata division;And
Based on metadata division result, the index database of the static website is generated.
3. according to the method described in claim 2, wherein, web page contents described in the html file of described pair of reading carry out member Data divide
It is matched using web page contents described in html file of the regular expression to reading, to match in the webpage The basic data of each component part in appearance;And
Serial number metadata and path metadata are added for the basic data of each component part, to realize the html file to reading The metadata of described web page contents divides.
4. according to the method described in claim 3, wherein, the method also includes:
Before the basic data for each component part adds serial number metadata and path metadata, described in matching The basic data of at least one component part carries out label converting processing in the basic data of each component part in web page contents;
For the basic data for each component part for having executed label converting processing operation, be it is label converting after obtained each composition Partial related data addition serial number metadata and path metadata;And
It is the basic number of each component part for the basic data for each component part for being not carried out label converting processing operation According to addition serial number metadata itself and path metadata.
5. according to the method described in claim 2, wherein, the Summary file for generating the static website includes:
All html files of the static website are traversed from the website root of the static website;
Extract the file title and its relative path of each file in all html files;And
The Summary file of the static website is generated, to record the text for all html files for including in the static website Part title and its relative path.
6. a kind of information query system, comprising:
Receiving module, for receiving information inquiring request, wherein the information inquiring request is for requesting queries static website Relevant information;
Respond module in response to the information inquiring request, and inquires the index database of the static website, to find out and institute State information inquiring request request inquiry relevant information have index relative serial number metadata and with the serial number member number According to the path metadata with corresponding relationship;
Determining module, for finding out the HTML for being stored with the relevant information based on path described in the path metadata File;And
Read module, for reading the relevant information from the html file.
7. system according to claim 6, wherein the system also includes generation modules, for generating the static network The index database stood, the generation module are also used to:
Generate the Summary file of the static website, wherein there is in the static website record in the Summary file includes The file title and its relative path of at least one html file;
For each file at least one described html file, corresponding relative path is read from the Summary file;
Relative path based on reading reads corresponding html file;
Web page contents described in html file to reading carry out metadata division;And
Based on metadata division result, the index database of the static website is generated.
8. system according to claim 7, wherein the generation module is also used to:
It is matched using web page contents described in html file of the regular expression to reading, to match in the webpage The basic data of each component part in appearance;And
Serial number metadata and path metadata are added for the basic data of each component part, to realize the html file to reading The metadata of described web page contents divides.
9. system according to claim 8, wherein the system also includes:
Processing module, for before the basic data for each component part adds serial number metadata and path metadata, By the basic data of at least one component part carries out in the basic data of each component part in the web page contents matched Label converting processing;
First adding module is label for the basic data for each component part for having executed label converting processing operation The related data addition serial number metadata and path metadata of each component part obtained after conversion;And
Second adding module is each for the basic data for each component part for being not carried out label converting processing operation The basic data of each component part itself adds serial number metadata and path metadata.
10. system according to claim 7, wherein the generation module is also used to:
All html files of the static website are traversed from the website root of the static website;
Extract the file title and its relative path of each file in all html files;And
The Summary file of the static website is generated, to record the text for all html files for including in the static website Part title and its relative path.
11. a kind of computer system, comprising:
One or more processors;
Memory, for storing one or more programs,
Wherein, when one or more of programs are executed by one or more of processors, so that one or more of Processor realizes information query method described in any one of claims 1 to 5.
12. a kind of computer readable storage medium, is stored thereon with executable instruction, which makes to handle when being executed by processor Device realizes information query method described in any one of claims 1 to 5.
CN201711401432.3A 2017-12-21 2017-12-21 Information inquiry method, system, computer system and storage medium Active CN110110184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711401432.3A CN110110184B (en) 2017-12-21 2017-12-21 Information inquiry method, system, computer system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711401432.3A CN110110184B (en) 2017-12-21 2017-12-21 Information inquiry method, system, computer system and storage medium

Publications (2)

Publication Number Publication Date
CN110110184A true CN110110184A (en) 2019-08-09
CN110110184B CN110110184B (en) 2021-07-06

Family

ID=67483455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711401432.3A Active CN110110184B (en) 2017-12-21 2017-12-21 Information inquiry method, system, computer system and storage medium

Country Status (1)

Country Link
CN (1) CN110110184B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111863268A (en) * 2020-07-19 2020-10-30 杭州美腾科技有限公司 Method suitable for extracting and structuring medical report content
CN112559521A (en) * 2020-12-11 2021-03-26 广州海量数据库技术有限公司 Ticket searching method and system
CN113010476A (en) * 2021-03-15 2021-06-22 腾讯科技(深圳)有限公司 Metadata searching method, device and equipment and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040267815A1 (en) * 2003-06-25 2004-12-30 Arjan De Mes Searchable personal browsing history
CN1787001A (en) * 2005-12-16 2006-06-14 郑州华粮科技股份有限公司 Method for issuing quotations of network trade system
CN101126977A (en) * 2007-08-28 2008-02-20 激动集团股份有限公司 ISAPI based WEB static page generation method
CN101344881A (en) * 2007-07-09 2009-01-14 中国科学院大气物理研究所 Index generation method and device and search system for mass file type data
CN102253967A (en) * 2011-06-03 2011-11-23 用友软件股份有限公司 Data searching system and data searching method
CN102855255A (en) * 2011-06-30 2013-01-02 北京新媒传信科技有限公司 Content management and publish method and system
CN102880607A (en) * 2011-07-15 2013-01-16 舆情(香港)有限公司 Dynamic network content grabbing method and dynamic network content crawler system
CN103218396A (en) * 2013-03-07 2013-07-24 江苏省电力公司南京供电公司 Dispatching and operating visualized analysis methodby generating static web pages according to visit frequency characteristic
CN103477335A (en) * 2011-02-01 2013-12-25 杰出网络公司 Asset management architecture for content delivery networks
CN107103011A (en) * 2016-02-23 2017-08-29 阿里巴巴集团控股有限公司 The implementation method and device of terminal data search

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040267815A1 (en) * 2003-06-25 2004-12-30 Arjan De Mes Searchable personal browsing history
CN1787001A (en) * 2005-12-16 2006-06-14 郑州华粮科技股份有限公司 Method for issuing quotations of network trade system
CN101344881A (en) * 2007-07-09 2009-01-14 中国科学院大气物理研究所 Index generation method and device and search system for mass file type data
CN101126977A (en) * 2007-08-28 2008-02-20 激动集团股份有限公司 ISAPI based WEB static page generation method
CN103477335A (en) * 2011-02-01 2013-12-25 杰出网络公司 Asset management architecture for content delivery networks
CN102253967A (en) * 2011-06-03 2011-11-23 用友软件股份有限公司 Data searching system and data searching method
CN102855255A (en) * 2011-06-30 2013-01-02 北京新媒传信科技有限公司 Content management and publish method and system
CN102880607A (en) * 2011-07-15 2013-01-16 舆情(香港)有限公司 Dynamic network content grabbing method and dynamic network content crawler system
CN103218396A (en) * 2013-03-07 2013-07-24 江苏省电力公司南京供电公司 Dispatching and operating visualized analysis methodby generating static web pages according to visit frequency characteristic
CN107103011A (en) * 2016-02-23 2017-08-29 阿里巴巴集团控股有限公司 The implementation method and device of terminal data search

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
URANUS ZHOU: "使用lunr.js为Wiki***增加全文搜索支持", 《HTTPS://ZOHEAD.COM/ARCHIVES/WIKI-LUNR-JS/》 *
郭海燕: "搜索引擎中网络爬虫技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111863268A (en) * 2020-07-19 2020-10-30 杭州美腾科技有限公司 Method suitable for extracting and structuring medical report content
CN111863268B (en) * 2020-07-19 2024-01-30 杭州美腾科技有限公司 Method suitable for extracting and structuring medical report content
CN112559521A (en) * 2020-12-11 2021-03-26 广州海量数据库技术有限公司 Ticket searching method and system
CN113010476A (en) * 2021-03-15 2021-06-22 腾讯科技(深圳)有限公司 Metadata searching method, device and equipment and computer readable storage medium
CN113010476B (en) * 2021-03-15 2023-12-22 腾讯云计算(北京)有限责任公司 Metadata searching method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN110110184B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
US11372935B2 (en) Automatically generating a website specific to an industry
US10942708B2 (en) Generating web API specification from online documentation
EP3172680B1 (en) Fast rendering of websites containing dynamic content and stale content
CN102455913B (en) The customization of indicating template
US10303689B2 (en) Answering natural language table queries through semantic table representation
CN105426508B (en) Webpage generating method and device
CN110472207A (en) List generation method and device
CN110120917A (en) Method for routing and device based on content
EP3030984A1 (en) Access and management of entity-augmented content
US20210357461A1 (en) Method, apparatus and storage medium for searching blockchain data
CN109189857A (en) Data-sharing systems, method and apparatus based on block chain
KR102284761B1 (en) Embeddable media content search widget
CN105308590A (en) Centralized management of link data for multiple applications, computers and resources, through operating systems and networked storage services
CN110110184A (en) Information query method, system, computer system and storage medium
US20200073925A1 (en) Method and system for generating a website from collected content
CN110020373A (en) The method and apparatus that static page is stored, browsed
CN110019242A (en) Processing method, device and system for tables of data
CN105701231B (en) Internet resources search system and method
CN109710604A (en) Data processing method, device, system, computer readable storage medium
CN110555053B (en) Method and apparatus for outputting information
Walter-Tscharf Indexing, clustering, and search engine for documents utilizing Elasticsearch and Kibana
CN113312053A (en) Data processing method and device
CN109635194A (en) Method and apparatus for generating information
CN109145206A (en) A kind of method, apparatus and equipment/terminal/server that news is shared
CN110309450A (en) A kind of method and apparatus of user behavior guidance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant