A method, system and device for business data matching query

Through word segmentation processing and matching score models, the problem of low efficiency of securities business query operations in the existing technology is solved, accurate matching of long and complex text input by users is achieved, and query efficiency and user experience are improved.

CN116992011BActive Publication Date: 2024-09-13ZHESHANG SECURITIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311029103.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-08-15
Publication Date
2024-09-13
Estimated Expiration
2043-08-15

AI Technical Summary

Technical Problem

Existing securities business query operations waste human resources and cannot recognize long and complex text input by users, resulting in the inability to accurately retrieve the corresponding business function numbers and business process content.

Method used

Use word segmentation processing and matching score models to process text input by users through word segmentation, build matching score models and word frequency weight models, match and filter business function numbers, identify long and complex texts input by users, and improve query efficiency.

Benefits of technology

It improves the user's business query efficiency, enhances the user's business query experience, can accurately identify and match long and complex texts input by users, and reduces query time costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116992011B
    Figure CN116992011B
Patent Text Reader

Abstract

The present invention discloses a method, system and device for matching query of business data, the method comprising: obtaining relevant text of a business to be queried, performing word segmentation processing on the relevant text to obtain a query business word segmentation set, matching the query business word segmentation set with the business function number corresponding to the menu item in the menu catalog based on the matching score model, if the match is unsuccessful, performing secondary word segmentation processing on the unmatched query business word segmentation to obtain a query business re-segmentation set, performing secondary matching based on the matching score model, obtaining the matching business function number and forming a set, presetting a word frequency weight model, obtaining the word frequency weight value of the corresponding business function number in the set; filtering the business function number in the set based on the word frequency weight value, and screening out the best matching result. The present invention can improve the work efficiency of business personnel and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a method, system and device for business data matching query. Background Art

[0002] Querying securities business is an important service provided by banks and trading institutions to customers. However, the existing query operation mainly involves clicking on the menu item by item under the guidance of staff, or users entering simple sentences to query business processes and content. It has the following technical defects. On the one hand, it wastes a lot of human resources and increases the user's time cost. On the other hand, it cannot recognize long texts and complex texts entered by users. Once the sentence entered by the user is not standard, irregular, or there are ambiguities, repetitions and other problems, the corresponding business function number and business function number cannot be accurately retrieved in the menu, resulting in the inability to display business processes and content on the user interface. Summary of the invention

[0003] The present invention aims at the shortcomings of the prior art and provides a method, system and device for business data matching query.

[0004] In order to solve the above technical problems, the present invention is solved by the following technical solutions:

[0005] A method for business data matching query, comprising the following steps:

[0006] Obtain relevant text of the service to be queried, perform word segmentation processing on the relevant text, and obtain a query service word segmentation set, wherein each query service word segmentation contains a corresponding query service word segmentation text feature;

[0007] Based on the query service segmentation set, matching is performed with the service function number corresponding to the menu item in the menu catalog based on the matching score model. If the matching is unsuccessful, secondary segmentation processing is performed on the unmatched query service segmentation to obtain a query service re-segmentation set, and secondary matching is performed based on the matching score model to obtain the matched service function number and form a set, wherein the service function number includes a service title, a service introduction and a service keyword, and a preset matching score model is constructed based on the service title, the service introduction and the service keyword;

[0008] Preset the word frequency weight model to obtain the word frequency weight value of the corresponding business function number in the set;

[0009] The business function numbers in the set are filtered based on the word frequency weight value to select the best matching result.

[0010] As an implementable method, the matching score model is constructed based on the business title, business introduction and business keywords, including the following steps:

[0011] Process the query business word segmentation text features and business introduction to obtain words;

[0012] Respectively obtain the word ratios of the query business segmentation and the business title, business introduction and business keywords, and obtain the word overlap ratios of the query business segmentation and business title, the word overlap ratios of the query business segmentation and business keywords, and the word overlap ratios of the query business segmentation and business keywords;

[0013] The word overlap scores of the query business segmentation and the business title, the word overlap scores of the query business segmentation and the business keyword, and the word overlap scores of the query business segmentation and the business keyword are weighted averaged to obtain a first matching score, wherein the first matching score = the word overlap score of the query business segmentation and the business introduction * the business introduction weight + the word overlap score of the query business segmentation and the business keyword * the business keyword weight + the word overlap score of the query business segmentation and the business title * the business title weight, wherein the business introduction weight + the business keyword weight + the business title weight = 1;

[0014] Based on the statistical results of the business introduction, the text vector of the query business word segmentation is obtained, and the similarity score between the text vector and the business introduction text vector is used as the similarity matching score;

[0015] Perform weighted average processing on the first matching score and the similarity matching score to obtain a second matching score, wherein the second matching score=first word matching score*word weight+similarity matching score*similarity weight, wherein word weight+similarity weight=1;

[0016] Get the word vector of the query business word segmentation and the word vector of the business introduction and get the similarity score;

[0017] The second matching score and the similarity score are weighted averaged to obtain a matching score model, and then a final matching score is obtained, where the final matching score=second matching score*second weight+similarity score*third weight, wherein the second weight+third weight=1.

[0018] As an implementable method, the word segmentation processing of the relevant text of the to-be-queried business to obtain a word segmentation set includes the following steps:

[0019] Processing the text related to the business to be queried based on punctuation marks to obtain sentences;

[0020] The sentence is segmented to obtain segmentation units, and a segmentation set is obtained based on the segmentation units.

[0021] As an implementable method, the secondary segmentation processing of the unmatched query service segmentation includes the following steps:

[0022] Obtain information entropy of unmatched query business terms;

[0023] Determine synonyms and similar words that have not been successfully matched to the query business segmentation based on information entropy and form a word set;

[0024] Taking words in the word set as candidate word classes and calculating the probability of candidate word classes;

[0025] The candidate word with the highest probability is selected as the word class for the secondary word segmentation, thereby completing the secondary word segmentation process.

[0026] As an implementable method, the word frequency weight model is expressed as follows:

[0027] Determine word frequency, reverse document word frequency and field length ratio based on word segmentation;

[0028] A word frequency weight value is obtained based on word frequency, reverse document word frequency and field length ratio, wherein the word frequency weight value is expressed as: the product of word frequency, reverse document word frequency and field length ratio.

[0029] As an implementable method, the word frequency is expressed as follows:

[0030]

[0031] Among them, X represents the word frequency, Nx represents the number of times the word segment appears in the total number of words in the document, and Wx represents the total number of words;

[0032] The reverse document word frequency is expressed as follows:

[0033]

[0034] Among them, Y represents the inverse document word frequency, Ny represents the number of times the word segment appears in the total number of words in the document, and Wy represents the total number of words;

[0035] The field length ratio is expressed as follows:

[0036]

[0037] Among them, Z represents the field length ratio, Nz represents the length of the word segmentation, and Wz represents the total length of the document.

[0038] A business data matching query system includes a data acquisition module, a data matching module and a data screening module:

[0039] The data acquisition module acquires the relevant text of the service to be queried, performs word segmentation processing on the relevant text, and obtains a query service word segmentation set, wherein each query service word segmentation contains a corresponding query service word segmentation text feature;

[0040] The data matching module is configured to match the query service segmentation set with the service function numbers corresponding to the menu items in the menu catalog based on the matching score model. If the match is unsuccessful, the query service segmentation that is not successfully matched is subjected to secondary segmentation processing to obtain a query service re-segmentation set, and secondary matching is performed based on the matching score model to obtain matching service function numbers and form a set, wherein the service function number includes a service title, a service introduction and a service keyword, and a preset matching score model is constructed based on the service title, the service introduction and the service keyword;

[0041] The data screening module is used to preset a word frequency weight model to obtain a word frequency weight value corresponding to the business function number in the set; based on the word frequency weight value, the business function number in the set is filtered to screen out the best matching result.

[0042] As an implementable method, the data matching module is configured as follows:

[0043] Process the query business word segmentation text features and business introduction to obtain words;

[0044] Respectively obtain the word ratios of the query business segmentation and the business title, business introduction and business keywords, and obtain the word overlap ratios of the query business segmentation and business title, the word overlap ratios of the query business segmentation and business keywords, and the word overlap ratios of the query business segmentation and business keywords;

[0045] The word overlap scores of the query business segmentation and the business title, the word overlap scores of the query business segmentation and the business keyword, and the word overlap scores of the query business segmentation and the business keyword are weighted averaged to obtain a first matching score, wherein the first matching score = the word overlap score of the query business segmentation and the business introduction * the business introduction weight + the word overlap score of the query business segmentation and the business keyword * the business keyword weight + the word overlap score of the query business segmentation and the business title * the business title weight, wherein the business introduction weight + the business keyword weight + the business title weight = 1;

[0046] Based on the statistical results of the business introduction, the text vector of the query business word segmentation is obtained, and the similarity score between the text vector and the business introduction text vector is used as the similarity matching score;

[0047] Perform weighted average processing on the first matching score and the similarity matching score to obtain a second matching score, wherein the second matching score=first word matching score*word weight+similarity matching score*similarity weight, wherein word weight+similarity weight=1;

[0048] Get the word vector of the query business word segmentation and the word vector of the business introduction and get the similarity score;

[0049] The second matching score and the similarity score are weighted averaged to obtain a matching score model, and then a final matching score is obtained, where the final matching score=second matching score*second weight+similarity score*third weight, wherein the second weight+third weight=1.

[0050] A device for business data matching query includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following method when executing the computer program:

[0051] Obtain relevant text of the service to be queried, perform word segmentation processing on the relevant text, and obtain a query service word segmentation set, wherein each query service word segmentation contains a corresponding query service word segmentation text feature;

[0052] Based on the query service segmentation set, matching is performed with the service function number corresponding to the menu item in the menu catalog based on the matching score model. If the matching is unsuccessful, secondary segmentation processing is performed on the unmatched query service segmentation to obtain a query service re-segmentation set, and secondary matching is performed based on the matching score model to obtain the matched service function number and form a set, wherein the service function number includes a service title, a service introduction and a service keyword, and a preset matching score model is constructed based on the service title, the service introduction and the service keyword;

[0053] Preset the word frequency weight model to obtain the word frequency weight value of the corresponding business function number in the set;

[0054] The business function numbers in the set are filtered based on the word frequency weight value to select the best matching result.

[0055] A computer-readable storage medium stores computer instructions, wherein the computer-readable storage medium stores instructions for executing the following method:

[0056] Obtain relevant text of the service to be queried, perform word segmentation processing on the relevant text, and obtain a query service word segmentation set, wherein each query service word segmentation contains a corresponding query service word segmentation text feature;

[0057] Based on the query service segmentation set, matching is performed with the service function number corresponding to the menu item in the menu catalog based on the matching score model. If the matching is unsuccessful, secondary segmentation processing is performed on the unmatched query service segmentation to obtain a query service re-segmentation set, and secondary matching is performed based on the matching score model to obtain the matched service function number and form a set, wherein the service function number includes a service title, a service introduction and a service keyword, and a preset matching score model is constructed based on the service title, the service introduction and the service keyword;

[0058] Preset the word frequency weight model to obtain the word frequency weight value of the corresponding business function number in the set;

[0059] The business function numbers in the set are filtered based on the word frequency weight value to select the best matching result.

[0060] The present invention has significant technical effects due to the adoption of the above technical solution:

[0061] The present invention constructs a method for business data matching query, adopts data processing technology, performs word segmentation processing on text data input by a user, obtains a word segmentation set, and obtains a function number set matching the word segmentation set by performing query matching processing on the word segmentation set, thereby being able to identify long text and complex text input by the user, improve the user's business query efficiency, and enhance the user's business query experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0063] Figure 1 A flowchart of a method for matching and querying business data is provided for an embodiment of the present invention;

[0064] Figure 2 A structural schematic diagram of a system for business data matching query is provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0065] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0066] Embodiment 1:

[0067] A method for matching and querying business data, such as Figure 1 As shown, the following steps are included:

[0068] S100, obtaining relevant text of the service to be queried, performing word segmentation processing on the relevant text, and obtaining a query service word segmentation set, wherein each query service word segmentation contains a corresponding query service word segmentation text feature;

[0069] S200, based on the query service segmentation set, matching is performed with the service function numbers corresponding to the menu items in the menu catalog based on the matching score model, if the matching is unsuccessful, performing secondary segmentation processing on the unmatched query service segmentation to obtain a query service re-segmentation set, performing secondary matching based on the matching score model, obtaining matching service function numbers and forming a set, wherein the service function numbers include service titles, service introductions and service keywords, and a preset matching score model is constructed based on the service titles, service introductions and service keywords;

[0070] S300, presetting a word frequency weight model to obtain a word frequency weight value corresponding to the business function number in the set;

[0071] S400: Filter the service function numbers in the set based on the word frequency weight value to select the best matching result.

[0072] The present invention is first applicable to business data query applicable to the securities industry, and of course, is also applicable to other fields. The purpose of the present invention is to use data processing technology to perform word segmentation processing on text data input by users to obtain a word segmentation set, and to obtain a function number set matching the word segmentation set by performing query matching processing on the word segmentation set. In this way, long texts and complex texts input by users can be identified, the user's business query efficiency can be improved, and the user's business query experience can be enhanced.

[0073] In step S100, the relevant text of the service to be queried is obtained, and the relevant text is segmented to obtain a query service segmentation set, including the following steps:

[0074] Processing the text related to the business to be queried based on punctuation marks to obtain sentences;

[0075] The sentence is segmented to obtain segmentation units, and a segmentation set is obtained based on the segmentation units.

[0076] The embodiment of the present invention takes the business service system of the securities industry as an example. In view of the long text and complex text often input by users, and the sentences input by users are not standard and normative, or there are ambiguities, repetitions and other problems, a data input module for business data matching query is designed, which can process the sentences in the input data set in units of punctuation marks to obtain the sentences of the sentences; perform word segmentation processing on the sentences based on the word segmentation vocabulary to obtain the word segmentation units of the sentences; and screen the word segmentation units to obtain a word segmentation set that meets the query criteria.

[0077] The input data set may be data loaded into the system backend after the user inputs query text in the tool interface and clicks the search button.

[0078] In addition, the word segmentation-based word library may optionally be based on a default word library of a word segmentation tool or may be based on other word libraries.

[0079] The matching score model is constructed based on the business title, business introduction and business keywords, including the following steps:

[0080] Process the query business word segmentation text features and business introduction to obtain words;

[0081] Respectively obtain the word ratios of the query business segmentation and the business title, business introduction and business keywords, and obtain the word overlap ratios of the query business segmentation and business title, the word overlap ratios of the query business segmentation and business keywords, and the word overlap ratios of the query business segmentation and business keywords;

[0082] The word overlap scores of the query business segmentation and the business title, the word overlap scores of the query business segmentation and the business keyword, and the word overlap scores of the query business segmentation and the business keyword are weighted averaged to obtain a first matching score, wherein the first matching score = the word overlap score of the query business segmentation and the business introduction * the business introduction weight + the word overlap score of the query business segmentation and the business keyword * the business keyword weight + the word overlap score of the query business segmentation and the business title * the business title weight, wherein the business introduction weight + the business keyword weight + the business title weight = 1;

[0083] Based on the statistical results of the business introduction, the text vector of the query business word segmentation is obtained, and the similarity score between the text vector and the business introduction text vector is used as the similarity matching score;

[0084] Perform weighted average processing on the first matching score and the similarity matching score to obtain a second matching score, wherein the second matching score=first word matching score*word weight+similarity matching score*similarity weight, wherein word weight+similarity weight=1;

[0085] Get the word vector of the query business word segmentation and the word vector of the business introduction and get the similarity score;

[0086] The second matching score and the similarity score are weighted averaged to obtain a matching score model, and then a final matching score is obtained, where the final matching score=second matching score*second weight+similarity score*third weight, wherein the second weight+third weight=1.

[0087] Here, the menu item includes at least one menu name, and the menu name includes part of the vocabulary data of the menu name, or all of the vocabulary data. In addition, the menu item corresponds to at least one service function number set.

[0088] In one embodiment, if the match is unsuccessful, a secondary segmentation process is performed on the unmatched query service segmentation words to obtain a query service re-segmentation set, a secondary match is performed based on the matching score model, a matching service function number is obtained and a set is formed, and a secondary segmentation process is performed on the unmatched query service segmentation words, including the following steps:

[0089] Obtain information entropy of unmatched query business terms;

[0090] Determine synonyms and similar words that have not been successfully matched to the query business segmentation based on information entropy and form a word set;

[0091] Taking words in the word set as candidate word classes and calculating the probability of candidate word classes;

[0092] The candidate word with the highest probability is selected as the word class for the secondary word segmentation, thereby completing the secondary word segmentation process.

[0093] Secondary word segmentation is actually combining synonyms to perform word segmentation again, which can make it possible to match words that have not been successfully matched.

[0094] Here, it is not limited whether the segmented words are special words. They can be based on the vocabulary used in the securities industry or a special vocabulary designed based on daily business.

[0095] For example, when the segmented word "financing buying entrustment" in the segmented word set fails to match the menu item in the menu catalog, the segmented word "financing buying entrustment" is retrieved to obtain a pre-segmented word set, and based on the re-segmented word library adopted by the securities industry, the pre-segmented word "financing buying entrustment" in the pre-segmented word set is processed to obtain a re-segmented word set including "financing", "buying", "entrustment", "financing buying" and "buying entrustment".

[0096] In step S300, a word frequency weight model is preset to obtain a word frequency weight value corresponding to the business function number in the set, including the following steps:

[0097] Determine word frequency, reverse document word frequency and field length ratio based on word segmentation;

[0098] A word frequency weight value is obtained based on the word frequency, the reverse document word frequency and the field length ratio, wherein the word frequency weight value is expressed as: the product of the word frequency, the reverse document word frequency and the field length ratio;

[0099] The service function numbers in the service function number set are sorted based on the word frequency weight values, and the first few with high word frequency weight values ​​are selected as the best matching results.

[0100] More specifically, the word frequency is expressed as follows:

[0101]

[0102] Among them, X represents the word frequency, Nx represents the number of times the word segment appears in the total number of words in the document, and Wx represents the total number of words;

[0103] The reverse document word frequency is expressed as follows:

[0104]

[0105] Among them, Y represents the inverse document word frequency, Ny represents the number of times the word segment appears in the total number of words in the document, and Wy represents the total number of words;

[0106] The field length ratio is expressed as follows:

[0107]

[0108] Among them, Z represents the field length ratio, Nz represents the length of the word segmentation, and Wz represents the total length of the document.

[0109] For example, the re-segmented word set including "financing", "buy", "commission", "financing buy", and "buy commission" is queried and matched in the document index library to obtain the business function number matching the re-segmented word set, and the business function number is sorted according to priority. Taking "financing" as an example, "financing" appears 10 times in the current document, and the current document contains 1,000 words. The word frequency of financing is: 10 / 100=0.01. "Financing" appears 20 times in the document index library. The current index library document has 1000 words. The reverse document word frequency of "Financing" is: 1+log(1000 / (20+1))=2.67778. The length of "Financing" is 2. The length of the current document is 2000. The field length ratio is: 2 / 2000=0.001. The results are 0.01, 2.67778, and 0.001. Multiplying the three numbers, we get the numerical result of 2.678×10-5. Calculate the numerical results of "Buy", "Commission", "Financing Buy", and "Buy Commission" in turn.

[0110] According to the numerical results, the business atomic items corresponding to the re-segmented words are sorted in descending order to obtain sorted business function numbers.

[0111] In addition, the service function number set and the service function number are displayed on the user side.

[0112] Among them, the business function number set and the business function number are displayed on the user side. Optionally, the business function set and the business function number are displayed on the user's terminal interface. By clicking on the display window corresponding to the business function set and the business function number, the system opens the relevant link to view the business process and content corresponding to the business function set and the business function number.

[0113] The embodiment of the present invention provides a method for matching query of business data, which adopts data processing technology to perform word segmentation processing on text data input by a user to obtain a word segmentation set, and obtains a function number set matching the word segmentation set by query matching processing on the word segmentation set. Then, according to the matching result, the word segmentation that fails to match is re-segmented to obtain a re-segmented word set, and matching query processing is directly performed in an index database based on the re-segmented word set to obtain a business function number corresponding to the re-segmented word set. In this way, long text and complex text input by the user can be identified, the user's business query efficiency is improved, and the user's business query experience is enhanced.

[0114] Embodiment 2:

[0115] A system for matching and querying business data, such as Figure 2 As shown, it includes a data acquisition module 100, a data matching module 200 and a data screening module 300:

[0116] The data acquisition module 100 acquires the relevant text of the service to be queried, performs word segmentation processing on the relevant text, and obtains a query service word segmentation set, wherein each query service word segmentation contains a corresponding query service word segmentation text feature;

[0117] The data matching module 200 matches the query service segmentation set with the service function numbers corresponding to the menu items in the menu catalog based on the matching score model. If the match fails, the query service segmentation that fails to match is processed twice to obtain a query service re-segmentation set, and performs secondary matching based on the matching score model to obtain matching service function numbers and form a set, wherein the service function number includes a service title, a service introduction and a service keyword, and a preset matching score model is constructed based on the service title, the service introduction and the service keyword;

[0118] The data screening module 300 is used to preset a word frequency weight model to obtain a word frequency weight value corresponding to the business function number in the set; filter the business function numbers in the set based on the word frequency weight value to screen out the best matching result.

[0119] In one embodiment, the data matching module 200 is configured to:

[0120] Process the query business word segmentation text features and business introduction to obtain words;

[0121] Respectively obtain the word ratios of the query business segmentation and the business title, business introduction and business keywords, and obtain the word overlap ratios of the query business segmentation and business title, the word overlap ratios of the query business segmentation and business keywords, and the word overlap ratios of the query business segmentation and business keywords;

[0122] The word overlap scores of the query business segmentation and the business title, the word overlap scores of the query business segmentation and the business keyword, and the word overlap scores of the query business segmentation and the business keyword are weighted averaged to obtain a first matching score, wherein the first matching score = the word overlap score of the query business segmentation and the business introduction * the business introduction weight + the word overlap score of the query business segmentation and the business keyword * the business keyword weight + the word overlap score of the query business segmentation and the business title * the business title weight, wherein the business introduction weight + the business keyword weight + the business title weight = 1;

[0123] Based on the statistical results of the business introduction, the text vector of the query business word segmentation is obtained, and the similarity score between the text vector and the business introduction text vector is used as the similarity matching score;

[0124] Perform weighted average processing on the first matching score and the similarity matching score to obtain a second matching score, wherein the second matching score=first word matching score*word weight+similarity matching score*similarity weight, wherein word weight+similarity weight=1;

[0125] Get the word vector of the query business word segmentation and the word vector of the business introduction and get the similarity score;

[0126] The second matching score and the similarity score are weighted averaged to obtain a matching score model, and then a final matching score is obtained, where the final matching score=second matching score*second weight+similarity score*third weight, wherein the second weight+third weight=1.

[0127] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0128] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0129] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0130] The present invention is described with reference to the flowcharts and / or block diagrams of the method, terminal device (system), and computer program product according to the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0131] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0132] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0133] In addition, it should be noted that the shapes and names of the parts of the specific embodiments described in this specification may be different. Any equivalent or simple changes made based on the structure, features and principles described in the patent concept of the present invention are included in the protection scope of the patent of the present invention. The technicians in the technical field of the present invention can make various modifications or supplements to the specific embodiments described or replace them in a similar manner, as long as they do not deviate from the structure of the present invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.

Claims

1. A method for business data matching query, characterized in that: The following steps are involved: Obtain relevant text of the service to be queried, perform word segmentation processing on the relevant text, and obtain a query service word segmentation set, wherein each query service word segmentation contains a corresponding query service word segmentation text feature; Based on the query service segmentation set, matching is performed with the service function number corresponding to the menu item in the menu catalog based on the matching score model. If the match is unsuccessful, secondary segmentation processing is performed on the unmatched query service segmentation to obtain the query service re-segmentation set, and secondary matching is performed based on the matching score model to obtain the matching service function number and form a set, wherein the service function number includes a service title, a service introduction and a service keyword, and a preset matching score model is constructed based on the service title, the service introduction and the service keyword, wherein the secondary segmentation processing of the unmatched query service segmentation includes: obtaining the information entropy of the unmatched query service segmentation; determining the synonyms and similar words of the unmatched query service segmentation based on the information entropy and forming a word set; using the words in the word set as candidate word classes and calculating the candidate word class probabilities; selecting the candidate word with the highest probability as the word class of the secondary segmentation, and then completing the secondary segmentation processing; Preset the word frequency weight model to obtain the word frequency weight value of the corresponding business function number in the set; Filter the business function numbers in the set based on the word frequency weight value to select the best matching result; The construction of a matching score model based on the business title, business introduction and business keywords includes the following steps: Process the query business word segmentation text features and business introduction to obtain words; Respectively obtain the word ratios of the query business segmentation and the business title, business introduction and business keywords, and obtain the word overlap ratios of the query business segmentation and business title, the word overlap ratios of the query business segmentation and business introduction, and the word overlap ratios of the query business segmentation and business keywords; Perform weighted average processing on the word overlap scores of the query business segmentation and the business title, the word overlap scores of the query business segmentation and the business keyword, and the word overlap scores of the query business segmentation and the business introduction to obtain a first matching score, wherein the first matching score = the word overlap score of the query business segmentation and the business introduction * the business introduction weight + the word overlap score of the query business segmentation and the business keyword * the business keyword weight + the word overlap score of the query business segmentation and the business title * the business title weight, wherein the business introduction weight + the business keyword weight + the business title weight = 1; Based on the statistical results of the business introduction, the text vector of the query business word segmentation is obtained, and the similarity score between the text vector and the business introduction text vector is used as the similarity matching score; Perform weighted average processing on the first matching score and the similarity matching score to obtain a second matching score, wherein the second matching score = first matching score * word weight + similarity matching score * similarity weight, wherein word weight + similarity weight = 1; Get the word vector of the query business word segmentation and the word vector of the business introduction and get the similarity score; The second matching score and the similarity score are weighted averaged to obtain a matching score model, and then a final matching score is obtained, wherein the final matching score = second matching score * second weight + similarity score * third weight, wherein the second weight + third weight = 1.

2. A method for business data matching query according to claim 1, characterized in that: The word segmentation processing of the relevant text of the to-be-queried business to obtain a word segmentation set comprises the following steps: Processing the text related to the business to be queried based on punctuation marks to obtain sentences; The sentence is segmented to obtain segmentation units, and a segmentation set is obtained based on the segmentation units.

3. A business data matching query method according to claim 1, characterized in that: The word frequency weight model is expressed as follows: Determine word frequency, reverse document word frequency and field length ratio based on word segmentation; A word frequency weight value is obtained based on word frequency, reverse document word frequency and field length ratio, wherein the word frequency weight value is expressed as: the product of word frequency, reverse document word frequency and field length ratio.

4. A method for business data matching query according to claim 3, characterized in that: The word frequency is expressed as follows: X Among them, X represents the word frequency, Indicates the number of times a word appears in the total number of words in the document. x represents the total number of words; The reverse document word frequency is expressed as follows: Y Among them, Y represents the inverse document word frequency, Indicates the number of times a word appears in the total number of words in the document. Indicates the total number of words; The field length ratio is expressed as follows: Z Where Z represents the field length ratio, Indicates the length of the participle, z represents the total length of the document.

5. A system for business data matching query, characterized in that: Including data acquisition module, data matching module and data screening module: The data acquisition module acquires the relevant text of the service to be queried, performs word segmentation processing on the relevant text, and obtains a query service word segmentation set, wherein each query service word segmentation contains a corresponding query service word segmentation text feature; The data matching module is based on the query service segmentation set, and matches the service function number corresponding to the menu item in the menu catalog based on the matching score model. If the match is unsuccessful, the unmatched query service segmentation is subjected to secondary segmentation processing to obtain the query service re-segmentation set, and secondary matching is performed based on the matching score model to obtain the matching service function number and form a set, wherein the service function number includes a service title, a service introduction and a service keyword, and a preset matching score model is constructed based on the service title, the service introduction and the service keyword, wherein the secondary segmentation processing of the unmatched query service segmentation includes: obtaining the information entropy of the unmatched query service segmentation; determining the synonyms and similar words of the unmatched query service segmentation based on the information entropy and forming a word set; using the words in the word set as candidate word classes and calculating the probability of the candidate word classes; selecting the candidate word with the highest probability as the word class of the secondary segmentation, and then completing the secondary segmentation processing; The data screening module is used to preset a word frequency weight model to obtain a word frequency weight value corresponding to the business function number in the set; based on the word frequency weight value, the business function number in the set is filtered to select the best matching result; The data matching module is configured as follows: Process the query business word segmentation text features and business introduction to obtain words; Respectively obtain the word ratios of the query business segmentation and the business title, business introduction and business keywords, and obtain the word overlap ratios of the query business segmentation and business title, the word overlap ratios of the query business segmentation and business introduction, and the word overlap ratios of the query business segmentation and business keywords; Perform weighted average processing on the word overlap scores of the query business segmentation and the business title, the word overlap scores of the query business segmentation and the business introduction, and the word overlap scores of the query business segmentation and the business keyword to obtain a first matching score, wherein the first matching score = the word overlap score of the query business segmentation and the business introduction * the business introduction weight + the word overlap score of the query business segmentation and the business keyword * the business keyword weight + the word overlap score of the query business segmentation and the business title * the business title weight, wherein the business introduction weight + the business keyword weight + the business title weight = 1; Based on the statistical results of the business introduction, the text vector of the query business word segmentation is obtained, and the similarity score between the text vector and the business introduction text vector is used as the similarity matching score; Performing weighted average processing on the first matching score and the similarity matching score to obtain a second matching score, wherein the second matching score = first matching score * word weight + similarity matching score * similarity weight, wherein word weight + similarity weight = 1; Get the word vector of the query business word segmentation and the word vector of the business introduction and get the similarity score; The second matching score and the similarity score are weighted averaged to obtain a matching score model, and then a final matching score is obtained, wherein the final matching score = second matching score * second weight + similarity score * third weight, wherein the second weight + third weight = 1.

6. A device for business data matching query, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.

7. A computer-readable storage medium storing computer instructions, characterized in that: The computer-readable storage medium stores a method for executing any one of claims 1-4.