CN108388635A - Data search method, device, medium and computing device - Google Patents

Data search method, device, medium and computing device Download PDF

Info

Publication number
CN108388635A
CN108388635A CN201810157579.0A CN201810157579A CN108388635A CN 108388635 A CN108388635 A CN 108388635A CN 201810157579 A CN201810157579 A CN 201810157579A CN 108388635 A CN108388635 A CN 108388635A
Authority
CN
China
Prior art keywords
mark group
character
data
lucene
character string
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
CN201810157579.0A
Other languages
Chinese (zh)
Other versions
CN108388635B (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.)
Hangzhou Netease Zhiqi Technology Co Ltd
Original Assignee
Hangzhou Langhe 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 Hangzhou Langhe Technology Co Ltd filed Critical Hangzhou Langhe Technology Co Ltd
Priority to CN201810157579.0A priority Critical patent/CN108388635B/en
Publication of CN108388635A publication Critical patent/CN108388635A/en
Application granted granted Critical
Publication of CN108388635B publication Critical patent/CN108388635B/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/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures

Landscapes

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

Abstract

Embodiments of the present invention provide a kind of data search method, device, medium and computing device.The data search method includes:Obtain the character string of pending search from the user;The character string is subjected to word segmentation processing, generates mark group data, the mark group data include at least one of the first mark group and the second mark group, and first mark group separately includes at least one key character with second mark group;And provide search result by the mark group data, wherein scan for the character in first mark group by the first matching way, scanned for the character in second mark group by the second matching way.The technical solution of the embodiment of the present invention is capable of providing simple, efficient, customizable, good compatibility the full-text search scheme based on chat record.

Description

Data search method, device, medium and computing device
Technical field
Embodiments of the present invention are related to communication and field of computer technology, more specifically, embodiments of the present invention relate to And data search method, device, medium and computing device.
Background technology
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein Description recognizes it is the prior art not because not being included in this part.
Data search, for example, chat record are searched for, and are to carry out global search for the message in instant communication software Function as inputs one or more keyword in dialog box, and instant communication software can return to query result immediately, such as The keyword is included in how many a sessions, the matched chat record of how many item in each session, and it is possible to check it is specific certain All matched chat records of a session simultaneously jump to its context.
It realizes chat record function of search, the function of search of chat record is realized especially in android system, In the prior art, there is multiple technologies schemes.But scheme in the prior art there is search efficiencies low, customizability It is weak;Cost of implementation is high, it is complicated to realize, maintenance cost is higher;Cannot meet equal one or more of problems of the needs of Chinese search.
Invention content
Due to solution all there is the search efficiencies low, customizability of several data search in existing technology It is weak;Cost of implementation is high, it is complicated to realize, maintenance cost is higher;Cannot meet the problem of the needs of Chinese search.
Thus, it is also very desirable to a kind of improved data search scheme, and then be capable of providing simple, efficient, customizable, compatible The good full-text search scheme of property
In the present context, embodiments of the present invention are intended to provide a kind of data search method, device, medium and calculating Equipment.
In the first aspect of embodiment of the present invention, a kind of data search method is provided, including:It obtains and comes from user Pending search character string;The character string is subjected to word segmentation processing and packet transaction, generates mark group data, the mark Note group data include at least one of the first mark group and the second mark group, first mark group and second mark group Separately include at least one key character;And provide search result by the mark group data, wherein pass through the first matching Mode scans for the character in first mark group, by the second matching way to the character in second mark group It scans for.
In certain embodiments of the present invention, aforementioned schemes are based on, the character of pending search from the user is obtained String, including:The character string of pending search from the user is obtained by intelligent electronic device.
In certain embodiments of the present invention, aforementioned schemes are based on, the character string is subjected to word segmentation processing, generates mark Note group data, the mark group data include at least one of the first mark group and the second mark group, including:Pass through the word It accords with the Chinese in string and is digitally generated first mark group;And by described in the English and symbol generation in the character string Second mark group.
In certain embodiments of the present invention, aforementioned schemes are based on, are given birth to number by the Chinese in the character string At first mark group, including:Using each Chinese character in the character string as key character;And by institute Each number in character string is stated respectively as key character.
In certain embodiments of the present invention, aforementioned schemes are based on, are given birth to symbol by the English in the character string At second mark group, including:Using the continuous English character in the character string as key character;It will be in the character string Each symbol respectively as key character;Wherein, the symbol includes:The spoken and written languages of punctuation mark, non-Chinese English Symbol and spcial character.
In certain embodiments of the present invention, aforementioned schemes are based on, search result is provided by the mark group data, Including:The mark group data are inputted into Lucene requestors, search result is provided by Lucene requestors.
In certain embodiments of the present invention, aforementioned schemes are based on, by mark group data input Lucene inquiries Device provides search result by Lucene requestors, including:The mark group data are passed through into the application in android system End input Lucene requestors, search result is provided by Lucene requestors.
In certain embodiments of the present invention, aforementioned schemes are based on, further include:Lucene source code packets are imported In android system.
In certain embodiments of the present invention, aforementioned schemes are based on, further include:It is imported by Lucene source code packets Source code is carried out when in android system to cut out.
In certain embodiments of the present invention, aforementioned schemes are based on, by the first matching way to first label Character in group scans for, including:The character in first mark group is scanned for by phrase match mode.
In certain embodiments of the present invention, aforementioned schemes are based on, by the second matching way to second label Character in group scans for, including:The character in second mark group is scanned for by prefix matching mode.
In certain embodiments of the present invention, aforementioned schemes are based on, further include:Word segmentation processing is carried out to source data, with Generate index data;And the index data is sent to Lucene engines, so that the Lucene engines are indexed place Reason.
In certain embodiments of the present invention, aforementioned schemes are based on, the index data is sent to Lucene engines, Including:The index data is handled by WhitespaceAnalyzer methods, generates the first data;First data are sent out It send to Lucene engines.
In the second aspect of embodiment of the present invention, a kind of data serching device is provided, including:Receiving module is used In acquisition character string to be searched from the user;Word-dividing mode, for carrying out the character string at word segmentation processing and grouping Reason, generates mark group data, and the mark group data include at least one of the first mark group and the second mark group, and described the One mark group separately includes at least one key character with the second mark group;Enquiry module, for passing through the mark group data Search result is provided, wherein the first inquiry submodule, for passing through the first matching way to the character in first mark group It scans for, the second inquiry submodule, for being scanned for the character in second mark group by the second matching way.
In certain embodiments of the present invention, aforementioned schemes are based on, receiving module is additionally operable to pass through intelligent electronic device Obtain character string to be searched from the user.
In certain embodiments of the present invention, be based on aforementioned schemes, word-dividing mode, including:First participle submodule is used In by the character string Chinese and be digitally generated first mark group;And second participle submodule, for passing through English and symbol in the character string generate second mark group.
In certain embodiments of the present invention, aforementioned schemes are based on, first participle submodule is arranged to:By the word Each Chinese character in symbol string is respectively as key character;And using in the character string each number as Key character.
In certain embodiments of the present invention, aforementioned schemes are based on, the second participle submodule is arranged to:By the word Continuous English character in symbol string is as key character;Using each symbol in the character string as key character; Wherein, the symbol includes:The spoken and written languages symbol and spcial character of punctuation mark, non-Chinese English.
In certain embodiments of the present invention, aforementioned schemes are based on, enquiry module is arranged to:By the mark group number According to input Lucene requestors, search result is provided by Lucene requestors.
In certain embodiments of the present invention, aforementioned schemes are based on, enquiry module is also configured to:By the mark group Data provide search result by the application end input inquiry device in android system, by Lucene requestors.
In certain embodiments of the present invention, aforementioned schemes are based on, further include:Import modul is used for the sources Lucene Code packet imports in android system.
In certain embodiments of the present invention, aforementioned schemes are based on, import modul further includes:Submodule is cut, is used for Source code is carried out when importing Lucene source code packets in android system to cut out.
In certain embodiments of the present invention, aforementioned schemes are based on, first inquires submodule, including:Phrase match list Member, for being scanned for the character in first mark group by phrase match mode.
In certain embodiments of the present invention, aforementioned schemes are based on, second inquires submodule, including:Prefix matching list Member, for being scanned for the character in second mark group by prefix matching mode.
In certain embodiments of the present invention, aforementioned schemes are based on, further include:Data module, for source data into Row word segmentation processing, to generate index data;And index module, for the index data to be sent to Lucene engines, with Toilet states Lucene engines and is indexed processing.
In certain embodiments of the present invention, be based on aforementioned schemes, index module, including:Data submodule, for leading to It crosses WhitespaceAnalyzer methods and handles the index data, generate the first data;Sending submodule, for by described the One data are sent to Lucene engines.
In the third aspect of embodiment of the present invention, a kind of medium is provided, program is stored thereon with, which is located Manage the method realized when device executes as described in first aspect in the above embodiment.
In the fourth aspect of embodiment of the present invention, a kind of computing device is provided, including:Processor and memory, The memory is stored with executable instruction, and the processor is used to call the executable instruction of the memory storage to execute such as Method in the above embodiment described in first aspect.
According to the data search method of embodiment of the present invention, device, medium and computing device, by will be from the user The character string of pending search carries out word segmentation processing according to preset rule and generates mark group data, and then by described Mark group data provide search result mode, wherein by the first matching way to the character in first mark group into Row search, scans for the character in second mark group by the second matching way.Be capable of providing it is simple, efficient, can It customizes, the chat record full-text search scheme of good compatibility.
According to the data search method of embodiment of the present invention, device, medium and computing device, by by Android systems The file path for the mark group data that application end in system obtains is converted into file approach, so that Lucene requestors can be embedding Enter android system operation, greatly improves the search efficiency of chat software in android system.
Description of the drawings
Detailed description below, above-mentioned and other mesh of exemplary embodiment of the invention are read by reference to attached drawing , feature and advantage will become prone to understand.In the accompanying drawings, if showing the present invention's by way of example rather than limitation Dry embodiment, wherein:
Fig. 1 diagrammatically illustrates a kind of flow chart of data search method according to an embodiment of the invention;
Fig. 2 diagrammatically illustrates the flow chart of another data search method according to an embodiment of the invention;
Fig. 3 diagrammatically illustrates a kind of block diagram of data serching device according to an embodiment of the invention.
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific implementation mode
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any Mode limits the scope of the invention.On the contrary, these embodiments are provided so that the present invention is more thorough and complete, and energy It enough will fully convey the scope of the invention to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method Or computer program product.Therefore, the present invention can be with specific implementation is as follows, i.e.,:Complete hardware, complete software The form that (including firmware, resident software, microcode etc.) or hardware and software combine.
According to the embodiment of the present invention, it is proposed that a kind of data search method, device, medium and computing device.
Herein, it is to be understood that involved term " IM " full name is Instant Messaging, is instant The abbreviation of communication, IM are a kind of real-time communication services that user can be allowed to establish certain private chat on network.Chat note Record search is very important function in instant message applications.
Involved term " full-text search " be index is first established to non-structured data (also referred to as full-text data), then The process scanned for index is called full-text search (Full-text Search, FTS).
Involved term " Lucene " is an efficient full-text index library based on Java.Full-text search is divided into two Stage creates index (Indexing) and search index (Search), and Indexing is exactly from structuring and unstructured data Middle extraction information and organizational information forms the process of certain structure again, product is exactly structured data --- index. Search searches for the index of establishment according to the inquiry request of user, returns to matched result set.
In addition, any number of elements in attached drawing be used to example and it is unrestricted and it is any name be only used for distinguishing, Without any restrictions meaning.
Below with reference to several representative embodiments of the present invention, the principle and spirit of the invention are illustrated in detail.
Summary of the invention
The inventors discovered that in the prior art, there is the technical solutions of a variety of data search.But in the prior art Scheme that there is search efficiencies is low, customizability is weak;Cost of implementation is high, it is complicated to realize, maintenance cost is higher;It cannot meet Equal one or more of problems of the demand of Chinese search are especially the function of search that chat record is realized in android system, In the prior art, there are following several implementations:
1, the advantages of SQL Like schemes, SQL like schemes is:Simply, additional memory space, data volume are not needed It is efficient when less, and most of conventional schemes for needing to realize function of search.But the shortcomings that SQL like schemes, is: Search process sequential scan table searches for input string change and is required for whole table of traversal every time, and keyword is more or data volume Efficiency may have a greatly reduced quality in the case of big;Customizability is weak, may search out undesirable result.
2, the shortcomings that the advantages of FTS schemes, FTS schemes is that Android SQLite support FTS, SQL like schemes be: Due to safety concerns, Android overwhelming majority version does not support the injection of self-defined segmenter, needs voluntarily to compile Android SQLite opens FTS functions, and realizes self-defined segmenter and inject.Said program cost of implementation is high, it is complicated to realize, safeguard at This is higher.The empty table that FTS is created, all major keys and index can be dropped.If inquiry business is not only to search for, it is also necessary to press According to some row inquiry, needs to establish meta tables, need the company's of using table to inquire, this is affected to efficiency.
3, SQLite schemes, SQLite conceptual design targets are Embedded, its occupancy resource is very low, embedded In equipment, only the memory of hundreds of K may be needed with regard to much of that.The shortcomings that SQLite schemes is that built-in segmenter divides Chinese Word is supported bad, cannot meet the needs of Chinese search.
Therefore, embodiments of the present invention provide a kind of data search method, device, medium and computing device, pass through By the character string of pending search from the user, carries out word segmentation processing according to preset rule and generates mark group data, And then in such a way that the mark group data provide search result, wherein by the first matching way to first label Character in group scans for, and is scanned for the character in second mark group by the second matching way.It is capable of providing Simply, efficiently, customizable, good compatibility chat record full-text search scheme.And by by the application in android system The file path of the mark group data obtained is held to be converted into file approach, so that Lucene requestors can be embedded in Android System operation greatly improves the search efficiency of chat software in android system.
After the basic principle for describing the present invention, lower mask body introduces the various non-limiting embodiment party of the present invention Formula.
Application scenarios overview
It should be noted that following application scenarios are merely for convenience of understanding spirit and principles of the present invention and showing, this The embodiment of invention is unrestricted in this regard.On the contrary, embodiments of the present invention can be applied to it is applicable any Scene.
Application scenarios:User is scanned in instant communication software by search box, and the content of search can be English, Chinese or spcial character etc..The scheme that above-mentioned searching character provides through the invention scans for, and search result is efficiently fast It is fast accurately to return to user terminal.
Illustrative methods
With reference to above-mentioned application scenarios, the letter according to exemplary embodiment of the invention is described with reference to figure 1 and Fig. 2 Cease acquisition methods.
Fig. 1 diagrammatically illustrates a kind of flow chart of data search method according to an embodiment of the invention;Institute referring to Fig.1 Show, data search method according to an embodiment of the invention, including:
Step S10 obtains the character string of pending search from the user.In this application, character string to be applied can It is for example, English, Chinese, spoken and written languages or spcial character of other countries etc..For example, being obtained by intelligent electronic device The character string of pending search from the user.The intelligent electronic device can for example be equipped with intelligence system, without loss of generality, Subsequently illustrated by taking the electronic equipment for being equipped with android system as an example in this application.
The character string is carried out word segmentation processing and packet transaction, generates mark group data, the mark group by step S12 Data include at least one of the first mark group and the second mark group, and first mark group is distinguished with second mark group Including at least one key character.
In some embodiments, for example, by the character string Chinese and be digitally generated first mark group;With And pass through the English and symbol generation second mark group in the character string.Wherein, in the first mark group, such as:It will Each Chinese character in the character string is respectively as key character (token);And it will be each in the character string A number is respectively as key character.Wherein, in the second mark group, such as:By the continuous English character in the character string As key character;Using each symbol in the character string as key character;Wherein, the symbol includes:Mark The spoken and written languages symbol and spcial character of point symbol, non-Chinese English.Wherein, token refers to point generated by segmenter Word.
In some embodiments, further include:Chat record is segmented using customized segmentation methods, participle is tied Fruit is sent to Lucene and is indexed, and forms following indexed results:The content of key character in word segmentation result, appearance number, The information such as the position of appearance are safeguarded with specific data structure, hereof by these data structure storages, for safeguarding The content of key character, the number of appearance, appearance position data structure in the information about the same key character can To be stored in same file or be stored in different files.For example, being segmented using customized segmentation methods Word segmentation result is passed to WhitespaceAnalyzer processing by processing, and WhitespaceAnalyzer again ties processing Fruit passes to Lucene engines, is indexed and stores, and is segmented, is grouped for character string to be searched again later, combination Above-mentioned search need is completed using the requestor that Lucene is provided.
In some embodiments, self-defined segmentation methods may be, for example, in the application:Character in input string is sentenced Disconnected, classification, some are that continuation character is merged into a token (key character), some are one token of a character, for Chinese and other foreign language, spcial character are scanned for meet the demand with individual character.For number, it is contemplated that use Family is experienced, and a number is as a token.It should be noted that:Space is separator/stop lexicon, ' can be for example as English Text processing, * can be for example as Symbol processing.
Step S14 passes through the mark group data and provides search result, wherein by the first matching way to described the Character in one mark group scans for, and is scanned for the character in second mark group by the second matching way. , can be for example, the mark group data be inputted Lucene requestors in the application, providing search by Lucene requestors ties Fruit.For the second mark group, inquired using prefix matching;First label is rented, is inquired using phrase match;Finally obtain two The intersection of group polling is as query result.
In some embodiments, by phrase match mode (PhraseQuery) to the character in first mark group It scans for.It is continuous that phrase match mode, which requires keyword positions of each token in former go here and there in query string,.
In some embodiments, by prefix matching mode (PrefeixQuery) to the character in first mark group It scans for.
According to the data search method of embodiment of the present invention, device, medium and computing device, by will be from the user The character string of pending search carries out word segmentation processing according to preset rule and generates mark group data, and then by described Mark group data provide search result mode, wherein by the first matching way to the character in first mark group into Row search, scans for the character in second mark group by the second matching way.Be capable of providing it is simple, efficient, can It customizes, the chat record full-text search scheme of good compatibility.
Fig. 2 diagrammatically illustrates the flow chart of another data search method according to an embodiment of the invention;Fig. 2 illustrates Property shows that Lucene engines are indexed source data the process of processing, and the application is not limited.
Step S20 carries out word segmentation processing, to generate index data by self-defined segmentation methods to source data.Such as it is logical It crosses the word in chat record in character string and carries out word segmentation processing.Chat record can also be used for example, during index Customized segmentation methods are segmented,
The index data is sent to Lucene engines by step S22, so that the Lucene engines are indexed place Reason.It can be indexed for example, word segmentation result is sent to Lucene, form following indexed results:Key character in word segmentation result Content, the number of appearance, appearance the information such as position safeguarded with specific data structure, then these data structures are deposited Storage hereof, for safeguard the content of key character, the number of appearance, appearance position data structure in about same The information of a key character can be stored in same file or be stored in different file.
Can for example, by change Lucene source codes, supplement Java platform exist but Android platform it is no class text Part, so that Lucene engines can be run in Android platform.
It is described by taking Lucene 5 as an example in this application, Lucene is java frames, and Android is arrived in actual use On can there are problems that.When Lucene 5 is transplanted on Android need by several jar packets of following Lucene also into Row transplanting:
lucene-core.jar
lucene-analyzers-common.jar
lucene-queryparser.jar
lucene-grouping.jar
In some embodiments, if above several jar packets are placed directly under the libs catalogues of Android, Android, which is behaved, can report ClassNotFoundException, and reason is that Lucene5 has used the NIO.2 of java (J2SE 7) is run on java platforms, and java virtual machines can find the class of NIO.2 in jdk, but in Android Inside SDK, there is no the classes exported below java.nio.file.Therefore, it is necessary to which the source code of above-mentioned jar packets is imported engineering, from Row goes to realize the nio classes lacked, the thing of java nio need not be all moved into here, it is only necessary to simply realize above-mentioned Jar packets need the class, such as Paths, Files, StandardOpenOption etc. used, need to realize open Path conversions At FileChannel.
In some embodiments, the rope that will be obtained by the application end in android system by modified class file The file path of argument evidence is converted into file approach.Modified class file, including:Path class file: org.apache.lucene.store.FSDirectory:From Path (encapsulation of File) is realized, from realization Files (operations The tool-class of Path);Document class file:Org.apache.lucene.store.SimpleFSDirectory is Realizations of the FSDirectory on windows needs to change openInput methods, realizes according to Path and pass through construction RandomAccessFile obtains FileChannel;Standard opens option class file: org.apache.util.AttribuleFactory:Some reflection processing functions.
In order to carry out clearer description to the process of the index by Lucene, the substantially former of Lucene is described below Reason.Index is the set of Document a series of, and Document is the set of Field a series of, and Filed is a series of may to go out The set of existing Term, Term are the set of bytes a series of, and the same bytes sequences are considered in different Field It is different Term, therefore Term is made of a pair of of value:Field name (string) and Field value (bytes).One Index is made of multiple subindex, that is, sections (Segments), and section is a completely self-contained index, it will by roving commission.
Tissue, the storage organization of Lucene indexes are inverted index (Inverted Index).Such as have a series of There are one Field in Document, Document, are named as content, all in Field:The word being likely to occur in content Symbol string is called Term, such as a Term (Field Name:Content, Field value:"lucene").Each Term The Document chained lists for including this Term are directed toward, inverted list (Posting List) is become.
There is index, the speed of search can be greatly accelerated when data volume is big, relative to sequential scan, full-text search Advantage be that:One secondary index, is used for multiple times.In order to quickly navigate to the Term in Term dictionaries, Lucene is also introduced TermIndex, structure are exactly word lookup tree (Trie trees), reduce query time using the common prefix of character string, most Reduce to limits meaningless character string comparison.Trie trees will not include all Term, what it included be Term some before Sew.Some offset of Term dictionary can be quickly located by Term Index, then from this position Sequential search backward again.
In some embodiments, the keyword query of certain field can undergo Term Index to Term Dictionary, Posting List are arrived again.Multiple keyword queries, need to the Posting List of multiple keywords carry out intersection, union, The chains table handling such as difference set.
In some embodiments, Lucene, which is created, can record Frequency, i.e. word frequency rate in Index process, indicate Term The number occurred in Document.In addition, the position (Position) that Term occurs in Document can be also recorded, position Include two kinds again:
1) character position records which characters of the Term in article, positioning use when keyword is highlighted.
2) keyword position, it is that (some words may be by segmenter for which keyword in article to record the Term Thing is filtered, remaining effective word, is arranged in order), phrase needs to use when inquiring (PharseQuery), Lucene Record is keyword position.
A chained list node comprising DOC, Frequency, Position stores information such as in one Posting List Under:
Term Document ID Frequency Position
nim 1 2 2,6
2 1 3
Above-mentioned nodal information illustrates that Term " nim " occurs 2 times in article 1, respectively in the 2nd and the 6th key position Upper (intermediate there are three keywords);Occur in article 21 time, on the 3rd key position.
In some embodiments, the content of the key character in the word segmentation result of the application chat record mentioned above, The information such as the number of appearance, the position of appearance are safeguarded with specific data structure, for safeguarding the content of key character, going out The information about the same key character in the data structure of the position of existing number, appearance can be stored in same file In or be stored in different files, for these files, give a file path, return this file path correspondence File approach (FileChannel), thus for Lucene engines use, scan for.
In certain embodiments of the present invention, aforementioned schemes are based on, further include:Lucene source code packets are imported In android system.Further include:Source code is carried out when importing Lucene source code packets in android system to cut out.
The source code packet of Lucene is very big, lucene-core.jar;lucene-analyzers-common.jar; lucene-queryparser.jar;lucene-grouping.jar;Four jar inclusion and after at least size of 6M, if It does not do cutting to be used directly in Andoird, it is easy to the problem of side operator is more than 65K occur, utilize when being packaged The shrinker of Proguard leaves out the class not referred to, but be directed toward in the configuration file under META-INF Class needs to be keep.
It is as follows that proguard.cfg obscures configuration:
keepclasseswithmembernames class org.apache.lucene.**{*;}
keep class org.apache.lucene.codecs.lucene53.**{*;}
The output packet only about 1M of Lucene after being simplified by the above method.
According to the data search method of embodiment of the present invention, pass through the mark for obtaining the application end in android system The file path of note group data is converted into file approach, so that Lucene requestors can be embedded in android system operation, pole The big search efficiency for improving chat software in android system.
In some embodiments, according to the data search method in the application, the process of data directory and search is carried out Schematic example can be for example as follows:
[1] stage is indexed:
Original string " the Allen Love People's Republic of China (PRC) ", using self-defined segmentation methods+WhitespaceAnalyzer Afterwards, word segmentation result is:In allen/love//China/people/people/altogether/and/state, construct 9 Term, write-in index: TermDictionary->DocumentList。
[2] search phase:
When searching for " all ", search string obtains token by segmentation methods:" all " starts after constructing PrefixQuery Search:By dictionary tree, the Term of A beginnings is quickly positioned, then sequence carries out prefix matching, finds " Allen " met, from Its docid is taken in inverted list.
When searching for " China ", search string obtains phrase " China " by segmentation methods, constructs PhraseQuery=>" in State " starts to search for after (each character is a Term in phrase, with space-separated):First take Term1 " in " doicid X and " in " key position 3 in doc, then retrieval takes the docid x and key position 9 of Term2 " state ".Then The docid chained lists of all Term are done and are merged, the docid x that all Term meet is obtained, exists turning next to each Term Whether the key position in doicid x continuous, and 3 is discontinuous with 9 here, then docid x do not meet phrase match as a result, It eliminates.
When searching for " China love ", search string can obtain two groups of token by segmentation methods:" China ", " love " is right Phrase match will be used in Chinese phrase " China ", " Term1Term2 " is processed into, i.e. " China ", prefix will be used for English It matches " love* ", for two Query:It will be AND relation between PhraseQuery and PrefixQuery.Final phrase With docid x are obtained, prefix matching also obtains docid x, the two AND, finally returns that docid x, does not consider that two groups of token exist Tandem in original string.
In this application, the full-text index library Lucene to increase income by using Java is transplanted and is customized library of increasing income, and is made The data search method obtained in the embodiment of the present application has the following advantages that:
1) professional java searches for Open Framework, and using numerous in J2EE, version continues iteration.
2) it writes for java layers completely, although operating on java virtual machines, efficiency by inputoutput test is not poor.
3) inverted index structure, space for time, 30w chat records need drain space less than 30M, write performance about 1s 2000 chat records.
4) good compatibility, no native, without the concern for compatibling problems such as 32/64 libraries.
5) customizability is strong, supports result scoring.
6) pure java facilitates debugging, orientation problem.
In some embodiments, the performance comparison experiment under mass data has been carried out, " input one is more for demand A keyword returns to the matched chat record of how many item in how many session, each session ", experimental result is as follows:
1) " I " is searched for:
Message total amount (w:Ten thousand) Hits Lucene SQL LIKE FTS4
1w 2018 49 56 221
2w 4082 76 97 403
5w 10272 172 226 989
10w 20504 257 426 2101
15w 30758 373 653 3131
20w 41165 494 859 4221
30w 61671 762 1272 6440
2) search " I you ":
Message total amount (w:Ten thousand) Hits Lucene SQL LIKE FTS4
1w 889 29 53 140
2w 1787 87 124 253
5w 4442 133 237 548
10w 8857 161 469 1071
15w 13262 244 707 1722
20w 17622 282 909 2299
30w 26485 375 1361 3474
Advantages of the apparent embodiment Lucene of the above results energy in terms of search efficiency, from cost of implementation and search efficiency Angle considers that the equal SQL LIKE schemes of Lucene schemes and FTS4 schemes ratio are advantageously!
Exemplary media
After describing the method for exemplary embodiment of the invention, next, to exemplary embodiment of the invention Medium illustrate.
In some possible embodiments, various aspects of the invention are also implemented as a kind of medium, store thereon There is program code, it is above-mentioned " illustrative methods " for realizing this specification when said program code is executed by the processor of equipment The step in the information acquisition method according to the various illustrative embodiments of the present invention described in part.
Specifically, for realizing following steps when the processor of the equipment executes said program code:It obtains to use by oneself The character string of the pending search at family;The character string is subjected to word segmentation processing and packet transaction, generates mark group data, it is described Mark group data include at least one of the first mark group and the second mark group, and first mark group is marked with described second Group separately includes at least one key character;And provide search result by the mark group data, wherein pass through first The character in first mark group is scanned for mode, by the second matching way to the word in second mark group Symbol scans for.
In certain embodiments of the present invention, for realizing such as when the processor of the equipment executes said program code Lower step:The character string of pending search from the user is obtained by intelligent electronic device.
In certain embodiments of the present invention, for realizing such as when the processor of the equipment executes said program code Lower step:By in the character string Chinese and be digitally generated first mark group;And by the character string English and symbol generate second mark group.
In certain embodiments of the present invention, for realizing such as when the processor of the equipment executes said program code Lower step:Using each Chinese character in the character string as key character;And it will be every in the character string One number is respectively as key character.
In certain embodiments of the present invention, for realizing such as when the processor of the equipment executes said program code Lower step:Using the continuous English character in the character string as key character;By each symbol in the character string point It Zuo Wei not key character;Wherein, the symbol includes:Punctuation mark, the spoken and written languages symbol of non-Chinese English and special word Symbol.
In certain embodiments of the present invention, for realizing such as when the processor of the equipment executes said program code Lower step:The mark group data are inputted into Lucene requestors, search result is provided by Lucene requestors.
In certain embodiments of the present invention, for realizing such as when the processor of the equipment executes said program code Lower step:The character in first mark group is scanned for by phrase match mode.
In certain embodiments of the present invention, for realizing such as when the processor of the equipment executes said program code Lower step:The character in first mark group is scanned for by prefix matching mode.
In certain embodiments of the present invention, for realizing such as when the processor of the equipment executes said program code Lower step:Word segmentation processing is carried out to source data by self-defined segmentation methods, to generate index data;And by the index number According to Lucene engines are sent to, so that the Lucene engines are indexed processing.
In certain embodiments of the present invention, for realizing such as when the processor of the equipment executes said program code Lower step:The index data is handled by WhitespaceAnalyzer methods, generates the first data;By first data It is sent to Lucene engines.
It should be noted that:Above-mentioned medium can be readable signal medium or readable storage medium storing program for executing.Readable storage medium Matter can be for example but not limited to:System, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or it is arbitrary Above combination.The more specific example (non exhaustive list) of readable storage medium storing program for executing includes:With one or more conducting wires Electrical connection, portable disc, hard disk, random access memory (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 The above-mentioned any appropriate combination of person.
Readable signal medium may include in a base band or as the data-signal that a carrier wave part is propagated, wherein carrying Readable program code.Diversified forms may be used in the data-signal of this propagation, including but not limited to:Electromagnetic signal, light letter Number or above-mentioned any appropriate combination.Readable signal medium can also be any readable medium other than readable storage medium storing program for executing, The readable medium can send, propagate either transmission for being used by instruction execution system, device or device or being tied with it Close the program used.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to:Wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
It can be write with any combination of one or more programming languages for executing the program that operates of the present invention Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It is executed on computing device, part executes or remotely counting completely on a remote computing on the user computing device for part It calculates and is executed on equipment or server.In the situation for being related to remote computing device, remote computing device can pass through any kind Network --- be connected to user calculating equipment including LAN (LAN) or wide area network (WAN)-, or, it may be connected to it is outer Portion's computing device (such as being connected by internet using ISP).
Exemplary means
After describing the medium of exemplary embodiment of the invention, next, with reference to figure 3 to the exemplary reality of the present invention The data serching device 300 for applying mode illustrates.
Fig. 3 diagrammatically illustrates a kind of block diagram of data serching device according to an embodiment of the invention.
With reference to shown in Fig. 3, information acquisition device 300 according to an embodiment of the invention, including:Receiving module 302, participle Module 304, enquiry module 306.
Specifically, receiving module 302 is for obtaining character string to be searched from the user;Word-dividing mode 304 is used for will The character string carries out word segmentation processing and packet transaction, generates mark group data, and the mark group data include at least the first mark One of note group and the second mark group, first mark group separately include at least one key character with the second mark group; Enquiry module 306 is used to provide search result by the mark group data, wherein the first inquiry submodule, for passing through the One matching way scans for the character in first mark group, the second inquiry submodule, for passing through the second match party Formula scans for the character in second mark group.
In certain embodiments of the present invention, aforementioned schemes are based on, receiving module 302 is additionally operable to set by smart electronics It is standby to obtain character string to be searched from the user.
In certain embodiments of the present invention, aforementioned schemes are based on, word-dividing mode 304 includes:First participle submodule, For by the character string Chinese and be digitally generated first mark group;And second participle submodule, for leading to The English and symbol crossed in the character string generate second mark group.
In certain embodiments of the present invention, aforementioned schemes are based on, first participle submodule 3022 is arranged to:By institute Each Chinese character in character string is stated respectively as key character;And respectively by each number in the character string As key character.
In certain embodiments of the present invention, aforementioned schemes are based on, the second participle submodule 3024 is arranged to:By institute The continuous English character in character string is stated as key character;Using each symbol in the character string as keyword Symbol;Wherein, the symbol includes:The spoken and written languages symbol and spcial character of punctuation mark, non-Chinese English.
In certain embodiments of the present invention, aforementioned schemes are based on, enquiry module is set as by 306:By the label Group data input Lucene requestors, and search result is provided by Lucene requestors.
In certain embodiments of the present invention, aforementioned schemes are based on, enquiry module 306 is also configured to:By the mark Note group data provide search result by the application end input inquiry device in android system, by Lucene requestors.
In certain embodiments of the present invention, aforementioned schemes are based on, further include:Import modul 308 is used for Lucene Source code packet imports in android system.
In certain embodiments of the present invention, aforementioned schemes are based on, import modul 308 further includes:Submodule is cut, It is cut out for carrying out source code when importing Lucene source code packets in android system.
In certain embodiments of the present invention, aforementioned schemes are based on, further include:Data module 310 is used for source data Word segmentation processing is carried out, to generate index data;And index module 312 is drawn for the index data to be sent to Lucene It holds up, so that the Lucene engines are indexed processing.
In certain embodiments of the present invention, aforementioned schemes are based on, index module 312 includes:Data submodule 3122 For handling the index data by WhitespaceAnalyzer methods, the first data are generated;And sending submodule 3124 by first data for being sent to Lucene engines.
In certain embodiments of the present invention, aforementioned schemes are based on, first inquires submodule 3022, including:Phrase With unit, for being scanned for the character in first mark group by phrase match mode.
In certain embodiments of the present invention, aforementioned schemes are based on, second inquires submodule 3024, including:Prefix With unit, for being scanned for the character in first mark group by prefix matching mode.
Exemplary computer device
After method, medium and the device for describing exemplary embodiment of the invention, next, introducing according to this hair The computing device of bright another exemplary embodiment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, i.e.,:It is complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
In some possible embodiments, at least one can be included at least according to the computing device of embodiment of the present invention A processor and at least one processor.Wherein, the memory has program stored therein code, when said program code is by institute State processor execute when so that the processor execute described in above-mentioned " illustrative methods " part of this specification according to this hair Step in the information acquisition method of bright various illustrative embodiments.For example, the processor can execute as shown in fig. 1 Step S10, obtain the character string of pending search from the user;Step S12, by the character string carry out word segmentation processing and Packet transaction generates mark group data, and the mark group data include at least one of the first mark group and the second mark group, First mark group separately includes at least one key character with second mark group;Step S14 passes through the mark group Data provide search result, wherein are scanned for the character in first mark group by the first matching way, by the Two matching ways scan for the character in second mark group.
It should be noted that although being referred to several units or subelement of information acquisition device in above-detailed, It is that this division is only exemplary, is not enforceable.In fact, according to the embodiment of the present invention, above description Two or more modules or the feature and function of unit can be embodied in a module or unit.Conversely, above description A module or the feature and function of unit can be further divided into and embodied by multiple modules or unit.
In addition, although the operation of the method for the present invention is described with particular order in the accompanying drawings, this do not require that or Hint must execute these operations according to the particular order, or have to carry out shown in whole operation could realize it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
Although by reference to several spirit and principle that detailed description of the preferred embodimentsthe present invention has been described, it should be appreciated that, this Invention is not limited to invented specific implementation mode, does not also mean that the feature in these aspects cannot to the division of various aspects Combination is this to divide the convenience merely to statement to be benefited.The present invention is directed to cover appended claims spirit and Included various modifications and equivalent arrangements in range.

Claims (10)

1. a kind of data search method, including:
Obtain the character string of pending search from the user;
The character string is subjected to word segmentation processing and packet transaction, generates mark group data, the mark group data include at least One of first mark group and the second mark group, first mark group separately include at least one with second mark group Key character;And
Search result is provided by the mark group data, wherein by the first matching way in first mark group Character scans for, and is scanned for the character in second mark group by the second matching way.
2. according to the method described in claim 1, wherein, the character string being carried out word segmentation processing and packet transaction, generates mark Note group data, the mark group data include at least one of the first mark group and the second mark group, including:
By in the character string Chinese and be digitally generated first mark group;And
Pass through the English and symbol generation second mark group in the character string.
3. according to the method described in claim 2, wherein, being marked by the Chinese in the character string with being digitally generated described first Note group, including:
Using each Chinese character in the character string as key character;And
Each in the character string is digital as key character.
4. according to the method described in claim 2, wherein, passing through the English and symbol generation second mark in the character string Note group, including:
Using the continuous English character in the character string as key character;And
Using each symbol in the character string as key character;
Wherein, the symbol includes:The spoken and written languages symbol and spcial character of punctuation mark, non-Chinese English.
5. according to the method described in claim 1, wherein, search result is provided by the mark group data, including:
The mark group data are inputted into Lucene requestors, search result is provided by Lucene requestors.
6. according to the method described in claim 5, wherein, the mark group data being inputted Lucene requestors, are passed through Lucene requestors provide search result, including:
The mark group data are inputted into Lucene requestors by the application end in android system, are inquired by Lucene Device provides search result.
7. according to the method described in claim 1, wherein, further including:
Word segmentation processing is carried out to source data, to generate index data;And
The index data is sent to Lucene engines, so that the Lucene engines are indexed processing.
8. a kind of data serching device, including:
Receiving module, for obtaining character string to be searched from the user;
Word-dividing mode generates mark group data, the mark group for the character string to be carried out word segmentation processing and packet transaction Data include at least one of the first mark group and the second mark group, and first mark group is separately included with the second mark group At least one key character;
Enquiry module, for providing search result by the mark group data, wherein the first inquiry submodule, for passing through First matching way scans for the character in first mark group, the second inquiry submodule, for passing through the second matching Mode scans for the character in second mark group.
9. a kind of medium, is stored thereon with program, realized such as any one of claim 1 to 7 when which is executed by processor The method.
10. a kind of electronic equipment, including:Processor and memory, the memory are stored with executable instruction, the processor For calling the executable instruction of the memory storage to execute the method as described in any one of claim 1 to 7.
CN201810157579.0A 2018-02-24 2018-02-24 Data searching method, device, medium and computing equipment Active CN108388635B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810157579.0A CN108388635B (en) 2018-02-24 2018-02-24 Data searching method, device, medium and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810157579.0A CN108388635B (en) 2018-02-24 2018-02-24 Data searching method, device, medium and computing equipment

Publications (2)

Publication Number Publication Date
CN108388635A true CN108388635A (en) 2018-08-10
CN108388635B CN108388635B (en) 2021-08-03

Family

ID=63068960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810157579.0A Active CN108388635B (en) 2018-02-24 2018-02-24 Data searching method, device, medium and computing equipment

Country Status (1)

Country Link
CN (1) CN108388635B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241137A (en) * 2018-08-27 2019-01-18 中国建设银行股份有限公司 A kind of line number fuzzy query method and device
CN109800412A (en) * 2018-12-10 2019-05-24 鲁东大学 A kind of Chinese word segmentation and big data information retrieval method and device
CN110069604A (en) * 2019-04-23 2019-07-30 北京字节跳动网络技术有限公司 Text search method, apparatus and computer readable storage medium
CN111159021A (en) * 2019-12-20 2020-05-15 苏宁云计算有限公司 Method and system for quickly positioning chat robot problem
CN111611471A (en) * 2019-02-25 2020-09-01 阿里巴巴集团控股有限公司 Searching method and device and electronic equipment
CN111737288A (en) * 2020-06-05 2020-10-02 富途网络科技(深圳)有限公司 Search control method, device, terminal equipment, server and storage medium
CN112163207A (en) * 2020-10-30 2021-01-01 平安数字信息科技(深圳)有限公司 Business data query method based on dynamic permission and related equipment
CN117992284A (en) * 2024-04-03 2024-05-07 北京万盛华通科技有限公司 Data recovery method and device based on SQLite full-text index and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071420A (en) * 2007-06-22 2007-11-14 腾讯科技(深圳)有限公司 Method and system for cutting index participle
CN101154241A (en) * 2007-10-11 2008-04-02 北京金山软件有限公司 Data searching method and data searching system
CN103186588A (en) * 2011-12-30 2013-07-03 大连天维科技有限公司 Pinyin searching method
CN103336850A (en) * 2013-07-24 2013-10-02 昆明理工大学 Method and device for confirming index word in database retrieval system
JP5492726B2 (en) * 2010-09-27 2014-05-14 株式会社日立システムズ Character string search support system, search support method, and program therefor, excluding specific character strings
CN104699724A (en) * 2013-12-10 2015-06-10 北京先进数通信息技术股份公司 Lucene-based data searching method and device
CN107506413A (en) * 2017-08-11 2017-12-22 江苏科技大学 A kind of querying method based on Lucene wrong words

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071420A (en) * 2007-06-22 2007-11-14 腾讯科技(深圳)有限公司 Method and system for cutting index participle
CN101154241A (en) * 2007-10-11 2008-04-02 北京金山软件有限公司 Data searching method and data searching system
JP5492726B2 (en) * 2010-09-27 2014-05-14 株式会社日立システムズ Character string search support system, search support method, and program therefor, excluding specific character strings
CN103186588A (en) * 2011-12-30 2013-07-03 大连天维科技有限公司 Pinyin searching method
CN103336850A (en) * 2013-07-24 2013-10-02 昆明理工大学 Method and device for confirming index word in database retrieval system
CN104699724A (en) * 2013-12-10 2015-06-10 北京先进数通信息技术股份公司 Lucene-based data searching method and device
CN107506413A (en) * 2017-08-11 2017-12-22 江苏科技大学 A kind of querying method based on Lucene wrong words

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109241137A (en) * 2018-08-27 2019-01-18 中国建设银行股份有限公司 A kind of line number fuzzy query method and device
CN109800412A (en) * 2018-12-10 2019-05-24 鲁东大学 A kind of Chinese word segmentation and big data information retrieval method and device
CN111611471A (en) * 2019-02-25 2020-09-01 阿里巴巴集团控股有限公司 Searching method and device and electronic equipment
CN111611471B (en) * 2019-02-25 2023-12-26 阿里巴巴集团控股有限公司 Searching method and device and electronic equipment
CN110069604A (en) * 2019-04-23 2019-07-30 北京字节跳动网络技术有限公司 Text search method, apparatus and computer readable storage medium
CN111159021A (en) * 2019-12-20 2020-05-15 苏宁云计算有限公司 Method and system for quickly positioning chat robot problem
CN111737288A (en) * 2020-06-05 2020-10-02 富途网络科技(深圳)有限公司 Search control method, device, terminal equipment, server and storage medium
CN112163207A (en) * 2020-10-30 2021-01-01 平安数字信息科技(深圳)有限公司 Business data query method based on dynamic permission and related equipment
CN112163207B (en) * 2020-10-30 2023-11-21 深圳平安智汇企业信息管理有限公司 Service data query method based on dynamic permission and related equipment
CN117992284A (en) * 2024-04-03 2024-05-07 北京万盛华通科技有限公司 Data recovery method and device based on SQLite full-text index and storage medium
CN117992284B (en) * 2024-04-03 2024-06-25 北京万盛华通科技有限公司 Data recovery method and device based on SQLite full-text index and storage medium

Also Published As

Publication number Publication date
CN108388635B (en) 2021-08-03

Similar Documents

Publication Publication Date Title
CN108388635A (en) Data search method, device, medium and computing device
CN109857917B (en) Security knowledge graph construction method and system for threat intelligence
CN109670163B (en) Information identification method, information recommendation method, template construction method and computing device
US9448995B2 (en) Method and device for performing natural language searches
US10180989B2 (en) Generating and executing query language statements from natural language
US6910003B1 (en) System, method and article of manufacture for concept based information searching
CN104462085B (en) Search key error correction method and device
US8103705B2 (en) System and method for storing text annotations with associated type information in a structured data store
CN111046656B (en) Text processing method, text processing device, electronic equipment and readable storage medium
CN111309760A (en) Data retrieval method, system, device and storage medium
CN101178705A (en) Free-running speech comprehend method and man-machine interactive intelligent system
WO2023024975A1 (en) Text processing method and apparatus, and electronic device
US9311058B2 (en) Jabba language
US9940355B2 (en) Providing answers to questions having both rankable and probabilistic components
CN107209757A (en) Natural language understanding buffer
CN102867049B (en) Chinese PINYIN quick word segmentation method based on word search tree
CN114218472A (en) Intelligent search system based on knowledge graph
CN110019713A (en) Based on the data retrieval method and device, equipment and storage medium for being intended to understand
CN106570095B (en) XML data operation method and equipment
US11620282B2 (en) Automated information retrieval system and semantic parsing
CN104778232A (en) Searching result optimizing method and device based on long query
CN111831624A (en) Data table creating method and device, computer equipment and storage medium
CN112783836A (en) Information exchange method, device and computer storage medium
CN112988778B (en) Method and device for processing database query script
CN113868375A (en) Data query method, device, equipment and storage medium based on structured query language

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
TR01 Transfer of patent right

Effective date of registration: 20210930

Address after: 310000 Room 408, building 3, No. 399, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Netease Zhiqi Technology Co.,Ltd.

Address before: 310052 Room 301, Building No. 599, Changhe Street Network Business Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: HANGZHOU LANGHE TECHNOLOGY Ltd.

TR01 Transfer of patent right