CN113641695B - Character extraction method, device, equipment and medium for database statement - Google Patents

Character extraction method, device, equipment and medium for database statement Download PDF

Info

Publication number
CN113641695B
CN113641695B CN202110920713.XA CN202110920713A CN113641695B CN 113641695 B CN113641695 B CN 113641695B CN 202110920713 A CN202110920713 A CN 202110920713A CN 113641695 B CN113641695 B CN 113641695B
Authority
CN
China
Prior art keywords
character
identifier
target
sql sentence
regular expression
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.)
Active
Application number
CN202110920713.XA
Other languages
Chinese (zh)
Other versions
CN113641695A (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.)
DBAPPSecurity Co Ltd
Original Assignee
DBAPPSecurity 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 DBAPPSecurity Co Ltd filed Critical DBAPPSecurity Co Ltd
Priority to CN202110920713.XA priority Critical patent/CN113641695B/en
Publication of CN113641695A publication Critical patent/CN113641695A/en
Application granted granted Critical
Publication of CN113641695B publication Critical patent/CN113641695B/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/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a character extraction method, a device, equipment and a medium of database sentences, wherein the method comprises the following steps: when a target character string in the target SQL sentence is to be extracted, setting a corresponding regular expression according to the target character string; if screening character strings meeting the regular expression exist in the target SQL sentence, adding a first identifier and a second identifier at the starting position and the ending position of the screening character strings respectively to obtain a modified SQL sentence; performing character-by-character matching on the modified SQL statement; and when the first identifier and the second identifier in the modified SQL sentence are matched, extracting the character string between the first identifier and the second identifier to obtain a target character string. Obviously, the method can convert the target character string in the target SQL sentence into the character string which can be identified by the character-by-character matching rule, so that the target character string which cannot be identified in the target SQL sentence can be extracted, and the purpose of extracting the special content character from the SQL sentence is achieved.

Description

Character extraction method, device, equipment and medium for database statement
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for extracting characters from database sentences.
Background
SQL (Structured Query Language), structured query language) statements are a query and programming language for databases. In the prior art, if the extraction of the target character string in the SQL sentence is desired, the SQL sentence is usually required to be matched character by character. Such as: if the parsed SQL statement is: select from staff where id =2, and when character 2 is detected, character 2 is extracted using the corresponding parameter extraction template. However, when it is required to extract some special content characters in the SQL statement, there is a problem that they cannot be recognized from the SQL statement because the special content characters are not character strings recognizable by the existing character-by-character matching rules. Such as: if the parsed SQL statement is: select from staff where id = Zhang Sanu, the special content character of "Zhang Sanu" cannot be extracted from the SQL statement using existing character-by-character matching rules. Currently, there is no more effective solution to this technical problem.
Disclosure of Invention
In view of the above, the present invention is directed to a method, apparatus, device and medium for extracting characters from a database sentence, so as to extract special content characters from the SQL sentence. The specific scheme is as follows:
a character extraction method of database sentences, comprising:
when a target character string in a target SQL sentence is to be extracted, setting a corresponding regular expression according to the target character string, and carrying out rule matching on the target SQL sentence by utilizing the regular expression;
if screening character strings meeting the regular expression exist in the target SQL sentence, adding a first identifier and a second identifier at the starting position and the ending position of the screening character strings respectively to obtain a modified SQL sentence; wherein the first identifier and the second identifier are identifiers which are different from any character in the target SQL sentence;
performing character-by-character matching on the modified SQL statement;
and when the first identifier and the second identifier in the modified SQL sentence are matched, extracting the character string between the first identifier and the second identifier to obtain the target character string.
Preferably, the target character string comprises special characters and/or SQL character strings and/or characters.
Preferably, the method further comprises:
and storing the regular expression.
Preferably, the first identifier and the second identifier are specifically user-defined identifiers.
Preferably, the first identifier and the second identifier are in particular identifiers that appear in pairs.
Preferably, the method further comprises:
and if the screening character strings meeting the regular expression do not exist in the target SQL sentence, re-executing the step of setting the corresponding regular expression according to the target character strings and carrying out rule matching on the target SQL sentence by utilizing the regular expression until the screening character strings meeting the regular expression exist in the target SQL sentence.
Correspondingly, the invention also discloses a character extraction device of the database statement, which comprises:
the rule matching module is used for setting a corresponding regular expression according to a target character string when the target character string in the target SQL sentence is to be extracted, and carrying out rule matching on the target SQL sentence by utilizing the regular expression;
the character adding module is used for adding a first identifier and a second identifier at the starting position and the ending position of the screening character string respectively to obtain a modified SQL sentence if the screening character string meeting the regular expression exists in the target SQL sentence; wherein the first identifier and the second identifier are identifiers which are different from any character in the target SQL sentence;
the character matching module is used for matching the characters of the modified SQL sentence one by one;
and the character extraction module is used for extracting the character strings between the first identifier and the second identifier when the first identifier and the second identifier exist in the modified SQL sentence, so as to obtain the target character strings.
Correspondingly, the invention also discloses a character extraction device of the database statement, which comprises:
a memory for storing a computer program;
a processor for implementing the steps of a method of character extraction of a database statement as disclosed above when executing the computer program.
Accordingly, the present invention also discloses a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a method for character extraction of a database statement as disclosed above.
In the invention, when the target character string in the target SQL sentence needs to be extracted, firstly, setting a corresponding regular expression according to the target character string, and carrying out rule matching on the target SQL sentence by utilizing the regular expression; if screening character strings meeting the regular expression exist in the target SQL sentence, adding a first identifier and a second identifier at the starting position and the ending position of the screening character strings respectively to obtain a modified SQL sentence; the first identifier and the second identifier are identifiers which are different from any character in the target SQL sentence; then, character-by-character matching is carried out on the modified SQL sentence, and when the character-by-character matching is carried out on the first identifier and the second identifier in the modified SQL sentence, the character string between the first identifier and the second identifier is extracted, so that the target character string in the target SQL sentence can be extracted. Obviously, the method provided by the invention can convert the target character string in the target SQL sentence into the character string which can be identified by the character-by-character matching rule, so that the target character string which cannot be identified in the target SQL sentence can be extracted, and the purpose of extracting the special content character from the SQL sentence is achieved. Correspondingly, the character extraction device, the device and the medium for the database statement have the beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for extracting characters of a database sentence according to an embodiment of the present invention;
FIG. 2 is a block diagram of a character extraction device for database sentences according to an embodiment of the present invention;
fig. 3 is a block diagram of a character extraction apparatus for database sentences according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart of a method for extracting characters of a database sentence according to an embodiment of the present invention, where the method for extracting characters includes:
step S11: when a target character string in the target SQL sentence is to be extracted, setting a corresponding regular expression according to the target character string, and carrying out rule matching on the target SQL sentence by utilizing the regular expression;
step S12: if screening character strings meeting the regular expression exist in the target SQL sentence, adding a first identifier and a second identifier at the starting position and the ending position of the screening character strings respectively to obtain a modified SQL sentence;
the first identifier and the second identifier are identifiers which are different from any character in the target SQL sentence;
step S13: performing character-by-character matching on the modified SQL statement;
step S14: and when the first identifier and the second identifier in the modified SQL sentence are matched, extracting the character string between the first identifier and the second identifier to obtain a target character string.
In this embodiment, a method for extracting characters of an SQL sentence is provided, by which special content characters can be extracted from the SQL sentence. Specifically, when a target character string in a target SQL sentence is to be extracted, a corresponding regular expression is set according to the target character string, and rule matching is performed on the target SQL sentence by using the regular expression. Wherein the target character string is a special content character, such as: 2021-7-2:11:11, jasmine, cola, and the like.
If screening character strings meeting the regular expression exist in the target SQL sentence, the regular expression set according to the target character string is indicated to be matched with the target character string, and in this case, a first identifier and a second identifier are required to be added at the starting position and the ending position of the screening character string in the target SQL sentence respectively, so that the modified SQL sentence is obtained. The first identifier and the second identifier added to the start position and the end position of the filter string may be any identifier that can be distinguished from any character in the target SQL statement.
After the first identifier and the second identifier are added at the starting position and the ending position of the screening character of the target SQL sentence to obtain the modified SQL sentence, the modified SQL sentence can be matched character by character; after matching the first identifier and the second identifier in the modified SQL statement in a character-by-character matching manner, the target string can be extracted from between the first identifier and the second identifier.
Such as: when the target SQL statement is select = from staff where time =2020-9-8:11:4:11, if the target SQL statement is matched by using the character-by-character matching rule in the prior art, the character string "2020-9-8-11:4:11" cannot be extracted from the target SQL statement. In this case, the regular expression may be set according to the string "2020-9-8:11:4:11". The regular expression corresponding to the character string '2020-9-8:11:4:11' in the target SQL sentence is as follows: (\d {2} |\d {4 }) (? ([ 0] {1} \d {1} | [1] {1} [0-2] {1} (: \ -)? ([ 0-2] {1} \d {1} | [3] {1} [0-1] {1 }) (? ([ 0-1] {1} \d {1} | [2] {1} [0-3] {1 }) (? ([ 0-5] {1} \d {1 }) (::)? ([ 0-5] {1} \d {1 }) before performing character-by-character matching on the target SQL statement, it is required to detect whether a screening string satisfying the regular expression exists in the target SQL statement. If there are screening strings "2020-9-8:11:4:11" in the target SQL statement that satisfy the regular expression described above, identifiers +% # and #% & can be added in front of and behind the screening string "2020-9-811:4:11", at this time, the target SQL statement becomes modified SQL statement select = ≡ from staff where time% = +# 2020-9-8:4:11 # ≡ #.
Then, according to the existing character-by-character matching rule, carrying out character-by-character analysis on the modified SQL sentence, and when the character-by-character analysis shows that the identifiers ≡% # and # & gt exist, extracting the character strings between the identifiers ≡% # and # & gt in the modified SQL sentence, so that the character strings 2020-9-8:4:11 can be extracted from the modified SQL sentence.
In addition, in practical application, the method provided by the embodiment can also analyze the SQL statement select = from staff where name =Zhang san, because the "Zhang san" in the SQL statement cannot be extracted by using the existing matching rule of character-by-character matching. Specifically, when resolving SQL statement select from staff where name =Zhang san, a regular expression corresponding to Zhang san is required to be set first, and the regular expression corresponding to Zhang san is utilized to match SQL statement select from staff where name =Zhang san, if the string of "Zhang Sanj" is matched in the SQL statement, then &%and% &% & + section thus, the SQL statement select from staff where name =Zhang three is replaced by select from staff where name = &% & Zhang three +..
Then, the conventional character-by-character matching rule is utilized to analyze the SQL sentence select = &% & Zhang Sanzhi = &% & gt, and when the character strings &% & gt and &% & gt in the SQL sentence are identified, the character string in the middle of &% & gt and &% & gt can be extracted, so that the special character string of Zhang Sanh can be extracted from the SQL sentence select = &% & Zhang Sanzhi &.
It can be understood that compared with the prior art, by the technical scheme provided by the embodiment, the target character string in the target SQL sentence can be converted into the character string which can be identified by the character-by-character matching rule, so that the special content character can be extracted from the target SQL sentence by the method.
It can be seen that, in this embodiment, when a target character string in a target SQL statement needs to be extracted, a corresponding regular expression is set according to the target character string, and rule matching is performed on the target SQL statement by using the regular expression; if screening character strings meeting the regular expression exist in the target SQL sentence, adding a first identifier and a second identifier at the starting position and the ending position of the screening character strings respectively to obtain a modified SQL sentence; the first identifier and the second identifier are identifiers which are different from any character in the target SQL sentence; then, character-by-character matching is carried out on the modified SQL sentence, and when the character-by-character matching is carried out on the first identifier and the second identifier in the modified SQL sentence, the character string between the first identifier and the second identifier is extracted, so that the target character string in the target SQL sentence can be extracted. Obviously, the method provided by the embodiment can convert the target character string in the target SQL sentence into the character string which can be identified by the character-by-character matching rule, so that the target character string which cannot be identified in the target SQL sentence can be extracted, and the aim of extracting the special content character from the SQL sentence is fulfilled.
Based on the above embodiments, the present embodiment further describes and optimizes the technical solution, and as a preferred implementation manner, the target character string includes a special character and/or an SQL character string and/or text.
Specifically, in this embodiment, the target string of the special content character in the target SQL statement may be either a special character or an SQL string or text. Such as: the target string may be Zhang three, lifour, 2020-9-8, name, etc., as long as it is a string that cannot be extracted from the target SQL statement using the existing character-by-character matching rules.
Therefore, by the technical scheme provided by the embodiment, the application range of the SQL sentence character extraction method provided by the application can be further widened.
Based on the above embodiment, this embodiment further describes and optimizes a technical solution, and as a preferred implementation manner, the above character extraction method further includes:
the regular expression is stored.
In this embodiment, after setting up the regular expression corresponding to the target character string, in order to expand the template extraction library of the target SQL statement, the regular expression may also be stored. In the subsequent matching process of the character strings in the target SQL sentence, the regular expression can be directly utilized to judge whether the character strings required to be extracted by the user exist in the target SQL sentence.
Based on the foregoing embodiments, the present embodiment further describes and optimizes the technical solution, and as a preferred implementation manner, the first identifier and the second identifier are specifically user-defined identifiers.
In this embodiment, when the first identifier and the second identifier are added to the start position and the end position of the target SQL statement screening string, the first identifier and the second identifier may be set according to the user's own code writing habit. The first identifier and the second identifier defined by the user can be the same or different, so long as the first identifier and the second identifier can be distinguished from characters in the target SQL sentence, and character-by-character matching of the target SQL sentence is easy.
Obviously, by the technical scheme provided by the embodiment, the flexibility of the user in setting the first identifier and the second identifier can be relatively improved.
Based on the above embodiments, the present embodiment further describes and optimizes the technical solution, and as a preferred implementation manner, the first identifier and the second identifier are specifically paired identifiers.
In practical applications, when adding the first identifier and the second identifier to the start position and the end position of the target SQL statement screening string, the first identifier and the second identifier may also be set as paired identifiers, for example: ", [ MEANS FOR SOLVING PROCESSES ], { }, etc.
It is conceivable that when the first identifier and the second identifier are set as the identifiers appearing in pairs, in the process of character-by-character matching of the modified SQL statement, matching and recognition of the paired identifiers appearing in the modified SQL statement are easier, so that not only the extraction efficiency of the target character string but also the extraction accuracy of the target character string can be improved.
Obviously, by the technical scheme provided by the embodiment, the accuracy in extracting the target character string can be further ensured.
Based on the above embodiment, this embodiment further describes and optimizes a technical solution, and as a preferred implementation manner, the above character extraction method further includes:
and if the screening character strings meeting the regular expression do not exist in the target SQL sentence, re-executing the steps of setting the corresponding regular expression according to the target character strings and carrying out rule matching on the target SQL sentence by utilizing the regular expression until the screening character strings meeting the regular expression exist in the target SQL sentence.
In this embodiment, if there is no screening string satisfying the regular expression in the target SQL statement, it is explained that the regular expression set according to the target string does not fit the target string. In this case, in order to ensure smooth proceeding of the subsequent steps and to be able to propose the target character string of the special content character from the target SQL statement, it is necessary to re-execute the step of setting the corresponding regular expression according to the target character string and performing rule matching on the target SQL statement using the regular expression until the screening character string satisfying the regular expression appears in the target SQL statement.
Obviously, by the technical scheme provided by the embodiment, the target character string capable of extracting the special content characters from the target SQL sentence can be further ensured.
Referring to fig. 2, fig. 2 is a block diagram of a character extraction device for a database sentence according to an embodiment of the present invention, where the character extraction device includes:
the rule matching module 21 is configured to set a corresponding regular expression according to the target character string when the target character string in the target SQL statement is to be extracted, and perform rule matching on the target SQL statement by using the regular expression;
the character adding module 22 is configured to add a first identifier and a second identifier at a start position and an end position of the screening character string, respectively, to obtain a modified SQL statement if there is a screening character string satisfying the regular expression in the target SQL statement; the first identifier and the second identifier are identifiers which are different from any character in the target SQL sentence;
a character matching module 23, configured to match the modified SQL statement character by character;
and the character extraction module 24 is used for extracting the character string between the first identifier and the second identifier to obtain a target character string when the character extraction module is matched with the first identifier and the second identifier in the modified SQL sentence.
The character extraction device of the database statement provided by the embodiment of the invention has the beneficial effects of the character extraction method of the database statement.
Referring to fig. 3, fig. 3 is a block diagram of a character extraction apparatus for a database sentence according to an embodiment of the present invention, where the character extraction apparatus includes:
a memory 31 for storing a computer program;
a processor 32 for implementing the steps of a character extraction method of an SQL statement as disclosed above when executing a computer program.
The character extraction equipment of the database statement provided by the embodiment of the invention has the beneficial effects of the character extraction method of the database statement.
Correspondingly, the embodiment of the invention also discloses a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and the steps of the character extraction method of the database statement disclosed in the previous description are realized when the computer program is executed by a processor.
The computer readable storage medium provided by the embodiment of the invention has the beneficial effects of the character extraction method of the database statement disclosed in the embodiment.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. But also includes other elements not explicitly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is provided in detail for a method, a device, and a medium for extracting characters of a database sentence, and specific examples are applied to describe the principles and embodiments of the present invention, where the description of the above examples is only for helping to understand the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (9)

1. A character extraction method of a database sentence, comprising:
when a target character string in a target SQL sentence is to be extracted, setting a corresponding regular expression according to the target character string, and carrying out rule matching on the target SQL sentence by utilizing the regular expression;
if screening character strings meeting the regular expression exist in the target SQL sentence, adding a first identifier and a second identifier at the starting position and the ending position of the screening character strings respectively to obtain a modified SQL sentence; wherein the first identifier and the second identifier are identifiers which are different from any character in the target SQL sentence;
performing character-by-character matching on the modified SQL statement;
and when the first identifier and the second identifier in the modified SQL sentence are matched, extracting the character string between the first identifier and the second identifier to obtain the target character string.
2. The character extraction method according to claim 1, wherein the target character string includes a special character and/or an SQL character string and/or a text.
3. The character extraction method according to claim 1, characterized by further comprising:
and storing the regular expression.
4. The character extraction method according to claim 1, wherein the first identifier and the second identifier are specifically user-defined identifiers.
5. The character extraction method according to claim 1, wherein the first identifier and the second identifier are in particular paired identifiers.
6. The character extraction method according to any one of claims 1 to 5, characterized by further comprising:
and if the screening character strings meeting the regular expression do not exist in the target SQL sentence, re-executing the step of setting the corresponding regular expression according to the target character strings and carrying out rule matching on the target SQL sentence by utilizing the regular expression until the screening character strings meeting the regular expression exist in the target SQL sentence.
7. A character extraction apparatus of a database sentence, comprising:
the rule matching module is used for setting a corresponding regular expression according to a target character string when the target character string in the target SQL sentence is to be extracted, and carrying out rule matching on the target SQL sentence by utilizing the regular expression;
the character adding module is used for adding a first identifier and a second identifier at the starting position and the ending position of the screening character string respectively to obtain a modified SQL sentence if the screening character string meeting the regular expression exists in the target SQL sentence; wherein the first identifier and the second identifier are identifiers which are different from any character in the target SQL sentence;
the character matching module is used for matching the characters of the modified SQL sentence one by one;
and the character extraction module is used for extracting the character strings between the first identifier and the second identifier when the first identifier and the second identifier exist in the modified SQL sentence, so as to obtain the target character strings.
8. A character extraction apparatus of a database sentence, comprising:
a memory for storing a computer program;
a processor for implementing the steps of a method for character extraction of a database statement as claimed in any one of claims 1 to 6 when said computer program is executed.
9. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of a method for character extraction of database statements according to any of claims 1 to 6.
CN202110920713.XA 2021-08-11 2021-08-11 Character extraction method, device, equipment and medium for database statement Active CN113641695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110920713.XA CN113641695B (en) 2021-08-11 2021-08-11 Character extraction method, device, equipment and medium for database statement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110920713.XA CN113641695B (en) 2021-08-11 2021-08-11 Character extraction method, device, equipment and medium for database statement

Publications (2)

Publication Number Publication Date
CN113641695A CN113641695A (en) 2021-11-12
CN113641695B true CN113641695B (en) 2024-03-22

Family

ID=78420894

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110920713.XA Active CN113641695B (en) 2021-08-11 2021-08-11 Character extraction method, device, equipment and medium for database statement

Country Status (1)

Country Link
CN (1) CN113641695B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609459A (en) * 2012-01-12 2012-07-25 神州数码网络(北京)有限公司 Method and device for string matching based on regular expression
CN112783919A (en) * 2021-02-02 2021-05-11 广州海量数据库技术有限公司 Method and device for processing character strings of query statement

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10169414B2 (en) * 2016-04-26 2019-01-01 International Business Machines Corporation Character matching in text processing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609459A (en) * 2012-01-12 2012-07-25 神州数码网络(北京)有限公司 Method and device for string matching based on regular expression
CN112783919A (en) * 2021-02-02 2021-05-11 广州海量数据库技术有限公司 Method and device for processing character strings of query statement

Also Published As

Publication number Publication date
CN113641695A (en) 2021-11-12

Similar Documents

Publication Publication Date Title
CN109388795B (en) Named entity recognition method, language recognition method and system
CN107291783B (en) Semantic matching method and intelligent equipment
KR102237702B1 (en) Entity relationship data generating method, apparatus, equipment and storage medium
WO2017000777A1 (en) System and method for semantic analysis of speech
CN112948535B (en) Method and device for extracting knowledge triples of text and storage medium
CN110909548A (en) Chinese named entity recognition method and device and computer readable storage medium
WO2015080561A1 (en) A method and system for automated relation discovery from texts
CN111708899B (en) Engineering information intelligent searching method based on natural language and knowledge graph
CN109522396B (en) Knowledge processing method and system for national defense science and technology field
CN108170708B (en) Vehicle entity identification method, electronic equipment, storage medium and system
CN112287071A (en) Text relation extraction method and device and electronic equipment
CN106156340A (en) A kind of name entity link method
KR102147582B1 (en) Property knowledge extension system and property knowledge extension method using it
CN115017335A (en) Knowledge graph construction method and system
CN113641695B (en) Character extraction method, device, equipment and medium for database statement
CN109344393B (en) Method and system for extracting main statement
CN106326314B (en) Webpage information extraction method and device
CN110750632A (en) Improved Chinese ALICE intelligent question-answering method and system
CN110986972A (en) Information processing method and device for vehicle navigation
CN111090737A (en) Word stock updating method and device, electronic equipment and readable storage medium
CN114791812A (en) JAVA conversion method and device of PLSQL code, electronic equipment and storage medium
CN110967030A (en) Information processing method and device for vehicle navigation
Asadi et al. Pattern-based extraction of addresses from web page content
CN113468307A (en) Text processing method and device, electronic equipment and storage medium
CN112329469B (en) Administrative region entity identification method and system

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