CN112883246A - Business item display method, device, equipment and storage medium - Google Patents

Business item display method, device, equipment and storage medium Download PDF

Info

Publication number
CN112883246A
CN112883246A CN202110257616.7A CN202110257616A CN112883246A CN 112883246 A CN112883246 A CN 112883246A CN 202110257616 A CN202110257616 A CN 202110257616A CN 112883246 A CN112883246 A CN 112883246A
Authority
CN
China
Prior art keywords
item
parent
business
layer
items
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.)
Pending
Application number
CN202110257616.7A
Other languages
Chinese (zh)
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.)
Digital Guangdong Network Construction Co Ltd
Original Assignee
Digital Guangdong Network Construction 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 Digital Guangdong Network Construction Co Ltd filed Critical Digital Guangdong Network Construction Co Ltd
Priority to CN202110257616.7A priority Critical patent/CN112883246A/en
Publication of CN112883246A publication Critical patent/CN112883246A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing
    • 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
    • G06F16/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3334Selection or weighting of terms from queries, including natural language queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/9035Filtering based on additional data, e.g. user or group profiles

Abstract

The invention discloses a method, a device, equipment and a storage medium for displaying business items, wherein the method comprises the following steps: performing word segmentation processing on the search word according to the search word input by the user in the search box to obtain an original field word segmentation set; if the original field word segmentation set comprises a preset number of keywords, acquiring a parent layer service item matched with each keyword from a preset service item table; and displaying the transaction entries of the parent-layer business items and the sub-layer business items corresponding to the parent-layer business items to the user. The technical scheme of the embodiment of the invention can save the time for searching the business items by the user and improve the retrieval efficiency of the business items.

Description

Business item display method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method, a device, equipment and a storage medium for displaying business items.
Background
With the development of computer technology, more and more units provide corresponding service platforms to users, so that the users can complete corresponding services as required.
In the existing service platform, after a user inputs a search word in a search box, the service platform can feed back corresponding service items to the user according to the search word, and the user can search the service items which need to be handled actually in the fed back service items.
However, because the amount of service item data fed back by the service platform is large, the service items required to be handled are difficult to be screened out by users in the existing service platform, and the service handling efficiency is low; secondly, when the search word input by the user comprises some spoken expressions, namely the search word does not belong to a standard search field, the problem that the search word cannot be matched with the service items exists in the existing service platform; moreover, if an operator wants to add a key search term or a synonym search term matching a target service item, the operator needs to add the key search term or the synonym search term through the service platform server and restart the search cluster, which results in low flexibility of a configuration mode of the service platform.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for displaying business items, which can save the time for a user to search the business items and improve the retrieval efficiency of the business items.
In a first aspect, an embodiment of the present invention provides a method for displaying business items, where the method includes:
performing word segmentation processing on the search word according to the search word input by a user in a search box to obtain an original field word segmentation set;
if the original field word segmentation set comprises a preset number of keywords, acquiring a parent layer service item matched with each keyword from a preset service item table;
and displaying the transaction entries of each parent-layer service item and the sub-layer service item corresponding to each parent-layer service item to the user.
In a second aspect, an embodiment of the present invention further provides a device for displaying business items, where the device includes:
the word segmentation module is used for carrying out word segmentation processing on the search word according to the search word input by the user in the search box to obtain an original field word segmentation set;
a parent layer service item acquisition module, configured to acquire a parent layer service item matching each keyword from a preset service item table if the original field participle set includes a preset number of keywords;
and the business item display module is used for displaying the transaction entries of the parent-layer business items and the sub-layer business items corresponding to the parent-layer business items to the user.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to execute the method for presenting the business event provided by any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the storage medium, and when the computer program is executed by a processor, the computer program implements the method for presenting the business item provided in any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the search word is participled according to the search word input by a user in the search box to obtain an original field participle set, if the original field participle set comprises a preset number of key words, a parent layer service item matched with each key word is obtained in a preset service item table, and the transaction entries of each parent layer service item and a sub-layer service item corresponding to each parent layer service item are displayed to the user, so that the time for the user to search the service items can be saved, and the search efficiency of the service items is improved; visual configuration pages can be provided for operators, the operators can add target keywords or synonyms to the elastic search cluster conveniently, the process does not need to restart the search cluster, and the flexibility of the configuration mode of the service platform can be improved; the specific business items can be bound with the preset keywords and synonyms, so that the hit rate of the specific business items is improved, and the experience of a user is improved.
Drawings
Fig. 1a is a flowchart of a method for displaying a business transaction according to a first embodiment of the present invention;
fig. 1b is a schematic diagram of a search result page fed back by a service platform for a search term in an embodiment of the present invention;
fig. 1c is a schematic view of a service handling page fed back by a service platform according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for displaying a business item in the second embodiment of the present invention;
FIG. 3 is a block diagram of a device for displaying a business transaction according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1a is a flowchart of a method for displaying a service item according to an embodiment of the present invention, where this embodiment is applicable to a situation where a user displays a service item matching with a search word input by the user in a search box of a service platform to the user, and the method may be executed by a device for displaying the service item, where the device may be implemented by software and/or hardware, and may be generally integrated in a computer device with a data processing function, for example, a terminal device or a server, and the method specifically includes the following steps:
and 110, performing word segmentation processing on the search word according to the search word input by the user in the search box to obtain an original field word segmentation set.
In this embodiment, the search box is an input box provided by the service platform to the user and used for implementing a search function. The user can log in the service platform according to a pre-registered login account, and inputs a service (also called a search term) to be handled in the search box, and the service platform displays matched service items for the user according to the search term input by the user.
The business items are business names which are pre-stored in the business platform and can handle business. After clicking the corresponding business item in the business platform, the user can enter the business handling page corresponding to the business item and handle the related business through the business handling page.
In this embodiment, after it is detected that a user inputs a search term in a search box, a preset segmentation tool may be used to perform segmentation processing on the search term, specifically, the search term may be segmented into an original field segmentation a, an original field segmentation B, an original field segmentation C, and the like by using the segmentation tool, and the original field segmentation a, the original field segmentation B, the original field segmentation C, and the like together form an original field segmentation set.
In this embodiment, the word segmentation processing further includes the following modes: initializing based on input search word, separating multiple characters contained in the search word to obtain first-level characters, if A, B, C, D, E characters, etc. are obtained, calculating first path value between characters through preset corpus, that is, the characters are combined with each other and then are matched with the model words in the corpus respectively, the more the number of the matched model words is, the smaller the path value is, analyzing the path values of the middle character after being combined with the front and rear characters respectively, preferentially combining the character with the minimum combined path value to form a secondary character, taking the secondary character as an independent character, combining the independent character with the remaining front and rear primary characters respectively, and then calculating to obtain a second path value, and calculating the probability of combination according to the second path value and the model words in the corpus, and further combining to form a three-level character if the probability is maximum. For example, the term: the method comprises the following steps of handling accumulation fund, wherein primary characters are 'handling, processing, public, accumulation and fund', according to the size of a path value generated after combination of the primary characters, the path value is assumed to be 0.15, 0.75, 0.23 and 0.21 respectively, so that a formed secondary character is 'handling, accumulation and fund', the primary characters remain 'public', undetermined characters such as 'handling public and accumulation fund' are formed after the secondary characters and the primary characters are combined respectively, a second path value is calculated and obtained, the path value is assumed to be 0.55 and 0.17, according to a second path value of the undetermined characters and model words of a corpus, the combination probability of the undetermined characters is calculated and assumed to be 30% and 98%, the undetermined character 'accumulation fund' is determined to be a tertiary character, and a final formed word segmentation result is: transact/sell the deposit.
Step 120, if the original field word segmentation set includes a preset number of keywords, acquiring a parent layer service item matched with each keyword from a preset service item table.
In this embodiment, after obtaining the original field segmentation set, it is necessary to determine whether there are original field segmentation words related to each transactable service in the service platform in the original field segmentation set. The original field participles may be compared with directories in a pre-stored service event table, and if a directory identical to a certain original field participle exists in the service event table, the original field participle is used as the keyword.
The business item table stores the main directories related to the business in the business platform and the sub-directories corresponding to the main directories.
In a specific embodiment, assuming that the service platform can handle both social security and public deposit, the main directory stored in the service transaction table can be "social security" and "public deposit". When the main directory is "social security", the corresponding first-layer sub-directory may be "social security payment", "social security information query", and "social security extraction", and the like, the first-layer sub-directory may further include a second-layer sub-directory, and the second-layer sub-directory may be specific transaction information divided by regions or departments, such as "Guangzhou city social security payment", "Shenzhen city social security payment", and "Zhuhai city social security payment", and the like.
In this embodiment, assuming that the search word input by the user in the search box is "social security", two original field participles of "transaction" and "social security" can be obtained by the above-mentioned participle tool, and after comparing the two original field participles with each directory in the business event table, it can be determined that the original field participle set includes a keyword, which is "social security".
In this embodiment, the preset number may be a smaller data value, and specifically, the preset number may be one or two. If the original field participle set comprises a preset number of keywords, the matched parent-layer service item can be obtained in the service item table according to the keywords. The parent-layer business transaction can be a first-layer subdirectory in the business transaction table.
In a specific embodiment, assuming that one keyword included in the original field participle set is "social security", the parent business item matching the keyword may be a directory including "social security" in the first-layer subdirectory, such as "social security information query", "claim social security card", and "flexible employment social security subsidy claim".
In another specific embodiment, assuming that the original field participle set includes two keywords, i.e., "social security" and "query", respectively, the parent business item matching the two keywords is a directory including "social security" and "query" in the first-layer subdirectory, e.g., "social security information query".
Step 130, showing the transaction entries of each parent-layer service item and the sub-layer service item corresponding to each parent-layer service item to the user.
In this embodiment, the parent-layer service event may be a first-layer sub-directory in the service event table, and correspondingly, the sub-layer service event corresponding to each parent-layer service event may be a second-layer sub-directory in the service event table. The sub-layer business transaction can be specific transaction item information of the parent-layer business transaction divided by regions or departments. Specifically, assuming that the parent-layer service transaction is "social insurance payment", the corresponding sub-layer service transaction may be "Guangzhou city social insurance payment", "Shenzhen city social insurance payment", or "Zhuhai city social insurance payment".
In a specific embodiment, it is assumed that a search term input by a user in a search box is "social security transacting", fig. 1b is a search result page fed back by a service platform for the search term, the search result page includes service items such as "social security information query", "social security claim applying card", and "social security subsidy applying for flexible employment" and further includes a transaction entry of a region capable of transacting (i.e., a transaction entry of a sub-layer service item) under each service item. In this embodiment, taking the business item "flexible employment social insurance subsidy application" as an example, after the user clicks "guangzhou city" under the business item, the business platform may also feed back a specific area of the guangzhou city and a corresponding business handling page under a specific street to the user, as shown in fig. 1 c.
In the prior art, all corresponding business items in a business platform are usually displayed to a user according to a search term input by the user, for example, when the search term is "handling social security", the existing business platform may display the business items such as "guangzhou city social security information query", "guangzhou city social security payment", "guangzhou city social security extraction", "shenzhen city social security information query" and the like to the user together.
In this embodiment, the method for displaying the business item may be deployed in an elastic search cluster, and the word segmentation tool may be a word segmentation plug-in ik in the elastic search cluster. The method comprises the steps of establishing an elastic search cluster by adopting a cluster management tool and a Java-version retrieval tool elastic search-rest-high-level-client, wherein the cluster management tool can be a kibana plug-in and an es-head plug-in.
In a specific embodiment, an elastic search. yml file can be configured by using a cluster management tool and a retrieval tool of Java version, and then the file is inserted into a plugin directory, thereby completing the building process of the elastic search cluster. In the prior art, query of business items is usually realized by using a solrcuud cluster, but the solrcuud cluster needs to be queried for many times, and an elastic search cluster can query the matched business items at one time by using a script.
The technical scheme of the embodiment of the invention carries out word segmentation processing on the search word according to the search word input by a user in a search box to obtain an original field word segmentation set, if the original field word segmentation set comprises a preset number of key words, a parent layer business item matched with each key word is obtained in a preset business item table, and the transaction entries of each parent layer business item and a sub-layer business item corresponding to each parent layer business item are displayed to the user.
Example two
This embodiment is a further refinement of the above embodiment, and the same or corresponding terms as those of the above embodiment are explained, and this embodiment is not described again. Fig. 2 is a flowchart of a method for displaying a business item according to a second embodiment of the present invention, in this embodiment, the technical solution of this embodiment may be combined with one or more methods in the solutions of the foregoing embodiments, and in this embodiment, as shown in fig. 2, the method according to the second embodiment of the present invention may further include:
step 210, according to the search term input by the user in the search box, performing word segmentation processing on the search term to obtain an original field word segmentation set.
In this embodiment, if the original field segmentation set includes a preset number (for example, one or two) of keywords, step 220 and step 230 are executed; if the number of the keywords in the original field segmentation sets is greater than a preset number (e.g., greater than two), executing step 240-260; if the number of the keywords in the original field segmentation set is less than a preset number (for example, less than one), the original field segmentation set may be considered as not including the keywords, and in this case, a page with an empty search result may be presented to the user.
Step 220, if the original field word segmentation set comprises a preset number of keywords, acquiring a parent layer service item matched with each keyword from a preset service item table.
Step 230, showing the transaction entries of each parent-layer service item and the sub-layer service item corresponding to each parent-layer service item to the user.
In an implementation manner of the embodiment of the present invention, displaying, to the user, transaction entries of each parent-layer service transaction and a sub-layer service transaction corresponding to each parent-layer service transaction includes: sequencing the parent-layer business items according to the business types of the parent-layer business items; and displaying the transaction entries of the parent-layer business items and the sub-layer business items corresponding to the parent-layer business items to the user according to the sequencing result.
In practical application, when a service platform displays service items, the priority order of the service items during display is determined according to the weight value allocated to each service item by the retrieval algorithm BM25 in the elastic search cluster, wherein the larger the weight value allocated to a service item is, the earlier the display order of the service item is. In this embodiment, in order to arrange the business items that the user wants to transact at a front position in the search result page, an embodiment of improving the search algorithm BM25 is proposed, wherein the weight value of each parent layer business item can be adjusted in the search algorithm according to the transaction type to which each parent layer business item belongs.
In a specific embodiment, it is assumed that the transaction types to which the parent-layer service items belong include a common service type and a penalty service type, and in an actual application, because the probability that the service items under the common service type are selected by a user is higher, a weight value corresponding to the service items belonging to the common service type can be increased in a retrieval algorithm, and correspondingly, the weight value corresponding to the service items belonging to the penalty service type is decreased; and then, according to the weight values distributed to the service items of the parent layers, sequencing the service items of the parent layers from high to low according to the weight values, and displaying the transaction entries of the service items of the parent layers and the sub-layer service items corresponding to the service items of the parent layers to the user according to the sequencing result, so that the service items which the user wants to transact are arranged at the front position in a retrieval result page, and the user can conveniently search the service items which actually want to transact.
In this embodiment, acquiring the parent-layer service items matched with the keywords includes: calling a standard data acquisition interface to acquire a parent-layer service item matched with each keyword; displaying the transaction entries of each parent-layer service item and the sub-layer service item corresponding to each parent-layer service item to the user, including: and calling a standard service interface, and displaying the transaction entries of the parent-layer service items and the sub-layer service items corresponding to the parent-layer service items to the user.
The advantages of such an arrangement are: by calling the unified standard data acquisition interface and the standard service interface, the acquisition time and the display time of the service items of each parent layer can be saved, and the retrieval efficiency of the service items is improved; secondly, by adopting different interfaces, the business item acquisition process and the business item display process can be distinguished, and the problem that retrieval consumes longer time due to conflict among the processes is avoided.
Step 240, if the number of the keywords in the original field word segmentation set is greater than a preset number, obtaining each main directory included in the business item table, and splicing each main directory with the corresponding subdirectory to obtain a plurality of alternative retrieval items.
In this embodiment, if the original field word segmentation set includes a large number (for example, more than two) of keywords, each main directory included in the business item table may be spliced with the corresponding sub-directory to obtain a plurality of candidate search entries.
In a specific embodiment, assuming that the main directories stored in the business item table are "social security" and "public deposit", the corresponding first-layer sub-directories may be "social security payment", "social security information query", "social security extraction", and "public deposit query", etc. The second level sub-directory included under the first level sub-directory can be "Guangzhou City", "Shenzhen City", and "Zhuhai City", etc. The third-level subdirectories included under the second-level subdirectory may be "january", "february", and "march", etc. By splicing the main directories and the corresponding sub-directories, a plurality of alternative retrieval items can be obtained, which are respectively as follows: "social security + social security information query + guangzhou city + january", "social security + social security information query + guangzhou city + february", "social security + social security information query + guangzhou city + march", "social security + social security payment + guangzhou city + january", and "public principal + public principal query + guangzhou city + january", and the like.
Step 250, determining a target retrieval item in each alternative retrieval item according to the keywords included in the original field segmentation set and the main directory included in each alternative retrieval item.
In this embodiment, each keyword may be compared with the main directory included in each candidate search entry, and if the main directory in a certain candidate search entry is the same as one of the keywords, the candidate search entry is determined as the target search entry.
In a specific embodiment, assuming that the original field word segmentation set includes three keywords, namely, "social security", "guangzhou" and "query", the keywords are compared with the main directory included in the alternative search entries, and then the target search entries are determined as "social security + social security information query + guangzhou city + january", "social security + social security information query + guangzhou city + january" and "social security + social security payment + guangzhou city + january".
Step 260, matching the keywords included in the original field word segmentation set with each target retrieval item to obtain a target service item, and displaying the target service item to the user.
In this embodiment, after obtaining the target search entry, the keywords included in the original field segmentation set may be matched with each target search entry to obtain an effective search entry, and the last layer of directory corresponding to the effective search entry is used as the target service item, and then the target service item is displayed to the user.
In a specific embodiment, assuming that the original field segmentation set includes three keywords, which are respectively "social security", "guangzhou" and "query", after matching the keywords included in the original field segmentation set with the target search entries, it may be determined that the effective search entries are respectively "social security + social security information query + guangzhou city + january", "social security + social security information query + guangzhou city + february", "social security + social security information query + guangzhou city + march", and then the corresponding last-layer directories (i.e., "january", "february" and "march") in the effective search entries are taken as the target business items.
In an implementation manner of the embodiment of the present invention, after determining the target search entry in each of the candidate search entries, the method further includes: carrying out deduplication processing on each target retrieval item;
matching the keywords included in the original field word segmentation set with each target retrieval item, wherein the matching comprises the following steps: and matching the keywords included in the original field word segmentation set with each target retrieval item after the duplication removal processing.
In a specific embodiment, taking the above target search items as an example, the target search items after the deduplication processing are respectively: the method comprises the steps of 'information query + Guangzhou city + January', 'information query + Guangzhou city + February', 'information query + Guangzhou city + Mary' and 'payment + Guangzhou city + January', and can quickly determine effective retrieval items by matching key words included in original field word segmentation sets with target retrieval items after duplication removal processing, so that the retrieval efficiency of business items is improved.
In an implementation manner of the embodiment of the present invention, the method for displaying a business item further includes: responding to a configuration request of a user to the service platform, and displaying a configuration page by the user; and constructing the target keywords and/or the mapping relation between the synonyms and the target service items according to the target keywords input by the user aiming at the target service items in the configuration page and/or the synonyms matched with the target keywords.
In this embodiment, the user may be an operator of the service platform, and in order to improve the hit rate of the specific service event, the specific service event may be bound to a preset keyword; secondly, in order to avoid the problem that the existing service platform cannot match the search term with the service item when the search term does not belong to the standard search field, the embodiment also provides an implementation mode for binding the specific service item with the synonym.
Specifically, assuming that the target business item is "family two registration", the operator may input target keywords "family two" and "family" for the target business item in the configuration page, and further, the operator may input a synonym "family two" matching the "family two" in the configuration page. After the fact that the target keywords and the synonyms are input by operators is detected, a mapping relation between the target keywords and the synonyms and a target business item 'two child birth registration' is constructed.
In this embodiment, after performing word segmentation processing on a search term to obtain an original field word segmentation set, the method further includes: judging whether the original field word segmentation set comprises the target keyword and/or the synonym; and if so, displaying the target business item to the user according to the mapping relation.
In a specific embodiment, assuming that the search term input by the user is "birth control, it may be determined that the corresponding original field participle set includes the target keyword and the synonym, and in this case, the target business item" birth control registration "may be directly displayed to the user, so that the search efficiency for the target business item may be improved, and the user experience may be improved.
In the prior art, when an operator adds a target keyword or a synonym to a solrcloud cluster, a retrieval cluster usually needs to be restarted, but in this embodiment, the target keyword and the synonym can be dynamically added to an elasticsearch cluster through a configuration page, and the retrieval cluster does not need to be restarted in the process, so that the flexibility of the configuration mode of a service platform can be improved.
The technical scheme of the embodiment of the invention is that the search word is participled according to the search word input by a user in a search box to obtain an original field participle set, if the original field participle set comprises a preset number of key words, a father layer service item matched with each key word is obtained in a preset service item table, the service items of each father layer and the handling entries of corresponding sub-layer service items are displayed to the user, if the number of the key words in the original field participle set is more than the preset number, each main directory included in the service item table is obtained, each main directory is spliced with the corresponding sub-directory to obtain a plurality of alternative search items, a target search item is determined in each alternative search item, the key words in the original field participle set are matched with each target search item to obtain a target service item, and the target service item is displayed to the user, the time for searching the business items by the user can be saved, the retrieval efficiency of the business items is improved, and the experience of the user is improved.
EXAMPLE III
Fig. 3 is a structural diagram of a service item display apparatus according to a third embodiment of the present invention, where the apparatus includes: a word segmentation module 310, a parent layer business item acquisition module 320 and a business item presentation module 330.
The word segmentation module 310 is configured to perform word segmentation processing on a search word input by a user in a search box to obtain an original field word segmentation set;
a parent layer service item acquisition module 320, configured to acquire a parent layer service item matching each keyword from a preset service item table if the original field participle set includes a preset number of keywords;
the business item display module 330 is configured to display the transaction entries of each parent-layer business item and the sub-layer business items corresponding to each parent-layer business item to the user.
The technical scheme of the embodiment of the invention carries out word segmentation processing on the search word according to the search word input by a user in a search box to obtain an original field word segmentation set, if the original field word segmentation set comprises a preset number of key words, a parent layer business item matched with each key word is obtained in a preset business item table, and the transaction entries of each parent layer business item and a sub-layer business item corresponding to each parent layer business item are displayed to the user.
On the basis of the foregoing embodiments, the word segmentation module 310 may include:
a main directory obtaining unit, configured to obtain each main directory included in the service item table if the number of the keywords in the original field word segmentation set is greater than a preset number, and splice each main directory and the corresponding sub-directory to obtain multiple candidate search entries;
a target retrieval item determining unit, configured to determine a target retrieval item in each alternative retrieval item according to a keyword included in the original field segmentation set and a main directory included in each alternative retrieval item;
a target service item obtaining unit, configured to match the keywords included in the original field word segmentation set with each target search entry to obtain a target service item, and display the target service item to the user;
a duplicate removal unit, configured to perform duplicate removal processing on each target search entry;
and the keyword matching unit is used for matching the keywords included in the original field word segmentation set with each target retrieval item after the duplication removal processing.
The parent layer service transaction acquisition module 320 may include:
and the standard data acquisition interface calling unit is used for calling a standard data acquisition interface to acquire the parent-layer service items matched with the keywords.
The business item presentation module 330 may include:
the business item ordering unit is used for ordering the business items of the parent layer according to the business types of the business items of the parent layer;
the display unit is used for displaying the transaction entries of the parent-layer business items and the sub-layer business items corresponding to the parent-layer business items to the user according to the sequencing result;
and the standard service interface calling unit is used for calling a standard service interface and displaying the transaction entries of the parent-layer service items and the sub-layer service items corresponding to the parent-layer service items to the user.
On the basis of the foregoing embodiments, the apparatus for presenting business events may further include:
the configuration page display module is used for responding to a configuration request of a user to the service platform and displaying a configuration page by the user;
the mapping relation building module is used for building the target key words and/or the mapping relation between the synonyms and the target service items according to the target key words input by the user aiming at the target service items in the configuration page and/or the synonyms matched with the target key words;
the judging module is used for judging whether the original field word segmentation set comprises the target keyword and/or the synonym;
and the target business item display module is used for displaying the target business item to the user according to the mapping relation when the original field word segmentation set comprises the target keyword and/or the synonym.
The business item display device provided by the embodiment of the invention can execute the business item display method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a computer apparatus according to a fourth embodiment of the present invention, as shown in fig. 4, the computer apparatus includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processors 410 in the computer device may be one or more, and one processor 410 is taken as an example in fig. 4; the processor 410, the memory 420, the input device 430 and the output device 440 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 4. The memory 420 is used as a computer-readable storage medium for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to a method for presenting a business item in any embodiment of the present invention (for example, the segmentation module 310, the parent-layer business item acquisition module 320, and the business item presentation module 330 in a business item presentation apparatus). The processor 410 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the memory 420, so as to implement the above-mentioned method for presenting a business event. That is, the program when executed by the processor implements:
performing word segmentation processing on the search word according to the search word input by a user in a search box to obtain an original field word segmentation set;
if the original field word segmentation set comprises a preset number of keywords, acquiring a parent layer service item matched with each keyword from a preset service item table;
and displaying the transaction entries of each parent-layer service item and the sub-layer service item corresponding to each parent-layer service item to the user.
The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 420 may further include memory located remotely from processor 410, which may be connected to a computer device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The input device 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the computer apparatus, and may include a keyboard and a mouse, etc. The output device 440 may include a display device such as a display screen.
EXAMPLE five
Fifth, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method according to any embodiment of the present invention. Of course, the computer-readable storage medium provided in the embodiments of the present invention may perform related operations in a method for displaying a business item provided in any embodiment of the present invention. That is, the program when executed by the processor implements:
performing word segmentation processing on the search word according to the search word input by a user in a search box to obtain an original field word segmentation set;
if the original field word segmentation set comprises a preset number of keywords, acquiring a parent layer service item matched with each keyword from a preset service item table;
and displaying the transaction entries of each parent-layer service item and the sub-layer service item corresponding to each parent-layer service item to the user.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the apparatus for presenting a business item, each unit and each module included in the apparatus is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A method for displaying business items, the method comprising:
performing word segmentation processing on the search word according to the search word input by a user in a search box to obtain an original field word segmentation set;
if the original field word segmentation set comprises a preset number of keywords, acquiring a parent layer service item matched with each keyword from a preset service item table;
and displaying the transaction entries of each parent-layer service item and the sub-layer service item corresponding to each parent-layer service item to the user.
2. The method of claim 1, after obtaining the original field participle set, further comprising:
if the number of the keywords in the original field word segmentation set is larger than the preset number, acquiring each main directory included in the business item table, and splicing each main directory and the corresponding subdirectories to obtain a plurality of alternative retrieval items;
determining a target retrieval item in each alternative retrieval item according to a keyword included in the original field segmentation set and a main directory included in each alternative retrieval item;
and matching the keywords included in the original field word segmentation set with each target retrieval item to obtain a target service item, and displaying the target service item to the user.
3. The method according to claim 2, wherein after determining the target search item among the candidate search items, further comprising:
carrying out deduplication processing on each target retrieval item;
matching the keywords included in the original field word segmentation set with each target retrieval item, wherein the matching comprises the following steps:
and matching the keywords included in the original field word segmentation set with each target retrieval item after the duplication removal processing.
4. The method of claim 1, further comprising:
responding to a configuration request of a user to the service platform, and displaying a configuration page by the user;
and constructing the target keywords and/or the mapping relation between the synonyms and the target service items according to the target keywords input by the user aiming at the target service items in the configuration page and/or the synonyms matched with the target keywords.
5. The method of claim 4, after obtaining the original field participle set, further comprising:
judging whether the original field word segmentation set comprises the target keyword and/or the synonym;
and if so, displaying the target business item to the user according to the mapping relation.
6. The method of claim 1, wherein exposing to the user a transaction portal for each of the parent layer business transactions and the child layer business transactions corresponding to each of the parent layer business transactions comprises:
sequencing the parent-layer business items according to the business types of the parent-layer business items;
and displaying the transaction entries of the parent-layer business items and the sub-layer business items corresponding to the parent-layer business items to the user according to the sequencing result.
7. The method of claim 1, wherein obtaining parent business items that match each of the keywords comprises:
calling a standard data acquisition interface to acquire a parent-layer service item matched with each keyword;
displaying the transaction entries of each parent-layer service item and the sub-layer service item corresponding to each parent-layer service item to the user, including:
and calling a standard service interface, and displaying the transaction entries of the parent-layer service items and the sub-layer service items corresponding to the parent-layer service items to the user.
8. An apparatus for presenting a business item, the apparatus comprising:
the word segmentation module is used for carrying out word segmentation processing on the search word according to the search word input by the user in the search box to obtain an original field word segmentation set;
a parent layer service item acquisition module, configured to acquire a parent layer service item matching each keyword from a preset service item table if the original field participle set includes a preset number of keywords;
and the business item display module is used for displaying the transaction entries of the parent-layer business items and the sub-layer business items corresponding to the parent-layer business items to the user.
9. A computer device, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs when executed by the one or more processors cause the one or more processors to perform a method of presenting a business item as recited in any one of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of presenting a business item according to any one of claims 1 to 7.
CN202110257616.7A 2021-03-09 2021-03-09 Business item display method, device, equipment and storage medium Pending CN112883246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110257616.7A CN112883246A (en) 2021-03-09 2021-03-09 Business item display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110257616.7A CN112883246A (en) 2021-03-09 2021-03-09 Business item display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112883246A true CN112883246A (en) 2021-06-01

Family

ID=76054010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110257616.7A Pending CN112883246A (en) 2021-03-09 2021-03-09 Business item display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112883246A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373582A (en) * 2015-10-13 2016-03-02 郭裴哲 Government affair service guiding method and system
CN106953913A (en) * 2017-03-20 2017-07-14 维沃移动通信有限公司 A kind of information-pushing method and mobile terminal
CN111143443A (en) * 2019-11-29 2020-05-12 数字广东网络建设有限公司 Method, device, system, terminal and storage medium for displaying government affair information
CN111611268A (en) * 2020-05-21 2020-09-01 腾讯科技(深圳)有限公司 Government affair service search processing method and device
CN111797211A (en) * 2020-05-18 2020-10-20 深圳奇迹智慧网络有限公司 Service information searching method, device, computer equipment and storage medium
CN112232903A (en) * 2020-09-27 2021-01-15 北京五八信息技术有限公司 Business object display method and device
CN112269816A (en) * 2020-11-10 2021-01-26 浪潮云信息技术股份公司 Government affair appointment event correlation retrieval method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105373582A (en) * 2015-10-13 2016-03-02 郭裴哲 Government affair service guiding method and system
CN106953913A (en) * 2017-03-20 2017-07-14 维沃移动通信有限公司 A kind of information-pushing method and mobile terminal
CN111143443A (en) * 2019-11-29 2020-05-12 数字广东网络建设有限公司 Method, device, system, terminal and storage medium for displaying government affair information
CN111797211A (en) * 2020-05-18 2020-10-20 深圳奇迹智慧网络有限公司 Service information searching method, device, computer equipment and storage medium
CN111611268A (en) * 2020-05-21 2020-09-01 腾讯科技(深圳)有限公司 Government affair service search processing method and device
CN112232903A (en) * 2020-09-27 2021-01-15 北京五八信息技术有限公司 Business object display method and device
CN112269816A (en) * 2020-11-10 2021-01-26 浪潮云信息技术股份公司 Government affair appointment event correlation retrieval method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黎巎: "《旅游大数据研究》", 31 July 2018, 中国经济出版社, pages: 55 *

Similar Documents

Publication Publication Date Title
US20150234927A1 (en) Application search method, apparatus, and terminal
KR101644817B1 (en) Generating search results
US8019756B2 (en) Computer apparatus, computer program and method, for calculating importance of electronic document on computer network, based on comments on electronic document included in another electronic document associated with former electronic document
KR20200098378A (en) Method, device, electronic device and computer storage medium for determining description information
US7860971B2 (en) Anti-spam tool for browser
CN109783543B (en) Data query method, device, equipment and storage medium
CN110399448B (en) Chinese place name address searching and matching method, terminal and computer readable storage medium
US9886711B2 (en) Product recommendations over multiple stores
CN103049495A (en) Method, device and equipment for providing searching advice corresponding to inquiring sequence
CN110134681B (en) Data storage and query method and device, computer equipment and storage medium
CN109840254A (en) A kind of data virtualization and querying method, device
CN103810204B (en) A kind of method and device of information searching
CN111190965A (en) Text data-based ad hoc relationship analysis system and method
CN113377876A (en) Domino platform-based data sub-database processing method, device and platform
KR20190109628A (en) Method for providing personalized article contents and apparatus for the same
WO2009136529A1 (en) Work process management device, work process management method, and work process management program
CN112199483A (en) Information input assisting method and device, electronic equipment and storage medium
CN112084209A (en) Knowledge base retrieval method and device, readable medium and equipment
WO2017097102A1 (en) Retrieval method and retrieval device
CN111831682A (en) Method, device, equipment and computer readable medium for processing accumulation fund service
WO2019232952A1 (en) List clearing method, system, computer device, and storage medium
CN112883246A (en) Business item display method, device, equipment and storage medium
CN111222918B (en) Keyword mining method and device, electronic equipment and storage medium
CN114969252A (en) Enhanced retrieval method, device, equipment and storage medium for internal knowledge base
CN114238391A (en) Data paging query method and device, electronic equipment and storage medium

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