[go: up one dir, main page]

CN111191057A - User-defined retrieval method and device, electronic equipment and storage medium thereof - Google Patents

User-defined retrieval method and device, electronic equipment and storage medium thereof Download PDF

Info

Publication number
CN111191057A
CN111191057A CN201911298075.1A CN201911298075A CN111191057A CN 111191057 A CN111191057 A CN 111191057A CN 201911298075 A CN201911298075 A CN 201911298075A CN 111191057 A CN111191057 A CN 111191057A
Authority
CN
China
Prior art keywords
retrieval
data
item
search
retrieved
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
CN201911298075.1A
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.)
Beike Technology Co Ltd
Original Assignee
Beike Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201911298075.1A priority Critical patent/CN111191057A/en
Publication of CN111191057A publication Critical patent/CN111191057A/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/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/53Querying
    • G06F16/532Query formulation, e.g. graphical querying

Landscapes

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

Abstract

The invention discloses a user-defined retrieval method, a user-defined retrieval device, electronic equipment and a storage medium thereof. The search item and the search configuration are defined through the definition operation port, code editing of the bottom layer is not needed, research and development efficiency is greatly improved, and the technical problems of long research and development period and high maintenance cost in the prior art are solved.

Description

User-defined retrieval method and device, electronic equipment and storage medium thereof
Technical Field
The present invention relates to the field of computers, and in particular, to a user-defined retrieval method, apparatus, electronic device, and storage medium thereof.
Background
Data retrieval is now a widely used technique in many fields. In some specific scenarios, the search is often performed by using a search method of specific options, and the specific options need to be edited by a developer in a programming process. For example, in some fields, specific options are often changed due to policy changes, business structure adjustment, or search data changes, but developers need to communicate with business personnel in each change and recompile codes after each change, which results in problems of long development cycle and high maintenance cost.
Therefore, the inventor finds that in the prior art, at least the following problems exist, and research personnel need to edit the codes again every time the search options are changed, so that the technical problems of long research and development period and high maintenance cost are caused.
Disclosure of Invention
The application provides an image data processing method, which aims to define the retrieval items and the retrieval configuration through a definition operation port without editing codes at the bottom layer, thereby greatly improving the research and development efficiency;
the method comprises the following steps:
according to at least one item of retrieval items of a first preset operation and retrieval configuration corresponding to the retrieval items, wherein the retrieval configuration is retrieval mapping relation between the retrieval items and data to be retrieved stored in a database and logic relation between the retrieval items;
selecting a target retrieval item according to a second preset operation, wherein the target retrieval item is at least one item in the retrieval items;
and retrieving the data to be retrieved according to the retrieval mapping relation and the logic relation corresponding to the target retrieval item to obtain retrieval data.
Optionally, the retrieving the configuration comprises: the data retrieval method comprises a retrieval field and a value-taking expression, wherein the value-taking expression is used for defining the retrieval mapping relation of the data to be retrieved during retrieval.
Optionally, the search configuration further includes an extension field, and the extension field is used to establish a logical relationship between the search items corresponding to the search configuration.
Optionally, the defining, by a preset defining operation port according to a first predetermined operation, at least one retrieval item and a retrieval configuration corresponding to the retrieval item, where the retrieval configuration is a retrieval mapping relationship between the retrieval item and data to be retrieved stored in a database, and a plurality of logical relationships between the retrieval items when the retrieval items are multiple includes:
configuring data to be retrieved into at least one data module according to a preset classification rule, wherein the data module is the data to be retrieved with a retrieval field and the preset classification rule;
defining at least one retrieval item and a value expression of retrieval configuration corresponding to the retrieval item through a preset defining operation port according to a first preset operation, wherein the value expression is an expression formed by at least one data module corresponding to the retrieval field and a preset retrieval rule and is used for defining the retrieval mapping relation of the data to be retrieved during retrieval, and the preset retrieval rule is a retrieval rule of the data to be retrieved.
Optionally, retrieving the data to be retrieved according to the target retrieval item and the corresponding retrieval mapping relationship and the logical relationship to obtain retrieval data includes:
acquiring the corresponding value expression according to the target retrieval item;
acquiring the retrieval section according to the value expression;
and retrieving the data to be retrieved corresponding to the retrieved field according to the preset retrieval rule in the value-taking expression to obtain retrieved data.
Optionally, the search configuration further includes the field type corresponding to the search field, where the field type is used to define a data type of the search field.
Optionally, the retrieving configuration further includes retrieving a display attribute, where the retrieving display attribute is used to define a display attribute of the retrieval item in the retrieving operation port.
The application also provides a user-defined retrieval device, which comprises:
the system comprises a definition module, a retrieval module and a display module, wherein the definition module is used for defining at least one retrieval item and retrieval configuration corresponding to the retrieval item according to a first preset operation, and the retrieval configuration is retrieval mapping relation between the retrieval item and data to be retrieved stored in a database and logic relation between the retrieval items;
the selecting module is used for selecting a target retrieval item according to a second preset operation, wherein the target retrieval item is at least one item in the retrieval items;
and the retrieval module is used for retrieving the data to be retrieved according to the retrieval mapping relation and the logic relation corresponding to the target retrieval item to obtain retrieval data.
Optionally, the apparatus further comprises:
the data retrieval system comprises a configuration module, a retrieval module and a retrieval module, wherein the configuration module is used for configuring data to be retrieved into at least one data module according to a preset classification rule, and the data module is the data to be retrieved with a retrieval field and the preset classification rule;
the defining module is further configured to define at least one retrieval item and a value expression of the retrieval configuration corresponding to the retrieval item through a preset defining operation port according to a first predetermined operation, where the value expression is an expression formed by at least one of the data modules corresponding to the retrieval field and a predetermined retrieval rule and is used to define the retrieval mapping relationship for the data to be retrieved during retrieval, and the predetermined retrieval rule is a retrieval rule for the data to be retrieved.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring the corresponding value expression according to the target retrieval item; the data module corresponding to the retrieval field is also obtained according to the value expression;
and the retrieval module is used for retrieving the data to be retrieved corresponding to the data module according to the preset retrieval rule in the value-taking expression to obtain the retrieval data.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring the corresponding value expression according to the target retrieval item; the retrieval segment is also used for obtaining the retrieval segment according to the value expression; and retrieving the data to be retrieved corresponding to the retrieved field according to the preset retrieval rule in the value-taking expression to obtain retrieved data.
The present application further provides an electronic device, the apparatus comprising: a processor and a memory;
the memory has stored therein an application executable by the processor for causing the processor to perform the steps of the custom retrieval method as described.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for customized retrieval.
As can be seen from the above, based on the above embodiment, the search item and the search configuration are defined by defining the operation port, and the code editing of the bottom layer is not performed, so that the research and development efficiency is greatly improved, and the technical problems of long research and development cycle and high maintenance cost in the prior art are solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is a schematic view of a flow 100 of a custom retrieval method of the present invention;
FIG. 2 is a diagram illustrating a related information list 200 of the custom search method according to the present invention;
FIG. 3 is a diagram illustrating a relationship list 300 of the custom retrieval method of the present invention;
FIG. 4 is a diagram illustrating a relationship list 400 of the custom retrieval method of the present invention;
FIG. 5 is a schematic diagram of a data structure of an extended search field of a facebook bank of the custom search method of the present invention;
FIG. 6 is a diagram illustrating the definition of operation ports according to the present invention;
FIG. 7 is a diagram illustrating retrieving operation port state 1 according to the present invention;
FIG. 8 is a diagram illustrating retrieving operation port state 2 according to the present invention;
FIG. 9 is a diagram illustrating retrieving operation port state 3 according to the present invention;
FIG. 10 is a flow chart 500 illustrating a custom retrieval method according to the present invention;
FIG. 11 is a data diagram of transaction sheet 1 of the present invention;
FIG. 12 is a data diagram of transaction sheet 2 of the present invention;
FIG. 13 is a data architecture diagram of a value expression of the present invention;
FIG. 14 is a flow chart 600 illustrating a custom retrieval method according to the present invention;
FIG. 15 is a diagram illustrating an arrangement 700 of search terms according to the present invention;
FIG. 16 is a diagram illustrating an arrangement 800 of search terms according to the present invention;
FIG. 17 is a schematic diagram of a custom search apparatus according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The present application will be explained below by taking the face-to-face banking service in the context of a house transaction system as an example. The countersign bank is a business process in house transaction, registration items of specific banks are arranged on transaction lists in house transaction business, the banks on the transaction lists are required to be used as the countersign bank, matched transaction list data are searched through different bank search items, and the countersign bank comprises a head office and two search items which correspond to branch offices under the head office and have a parent-child relationship. In the following, the search items of the head office and the branch office need to be added in the business process, so that the user can search the transaction sheet data under the branch office after selecting the head office and the search item corresponding to the branch office for subsequent processing.
Fig. 1 is a schematic diagram of a flow 100 of a custom retrieval method according to the present invention. As shown in fig. 1, in an embodiment, the present application provides a custom retrieval method, including:
s101, according to at least one item of retrieval items of first preset operation and retrieval configuration corresponding to the retrieval items, wherein the retrieval configuration is retrieval mapping relation between the retrieval items and data to be retrieved stored in a database and logic relation between the retrieval items;
in this step, a method is provided for defining the search term according to the first predetermined operation, and we can obtain the first predetermined operation and the corresponding search configuration of the search term through a pre-established operation port. To complete the search process, the search terms need to be defined so that the user can select the search terms in the subsequent steps, and besides, the relationship between the search terms and the search data, that is, the logical relationship and the search mapping relationship, need to be defined. In the following, we provide a specific implementation manner of creating the search term and the search configuration in a relationship list manner, and configure the search configuration corresponding to the search term into the relationship list, so as to facilitate later invocation. For example, in the search items of the head bank and the branch bank of the facebook bank, the search items corresponding to the head bank and the branch bank may be defined according to the first predetermined operation, and then the logical relationship, i.e., parent-child relationship, of the head bank and the branch bank and the search mapping relationship, i.e., the transaction end data corresponding to the head bank and the branch bank, of the data to be retrieved corresponding to the search items are configured. In the process, research and development personnel do not need to perform research and development work, but operate through the defined operation port by service personnel, and can also configure the defined operation port in a preset mode or an automatic mode, and only the service personnel need to define the search item and the search configuration, so that the research and development time cost is greatly reduced.
S102, selecting a target retrieval item according to a second preset operation, wherein the target retrieval item is at least one item in the retrieval items;
in this step, a user may select a target search item through a preset search operation port having an option corresponding to the search item, and the second predetermined operation selects one or more of the search items through a preset search operation port having an option corresponding to the search item, selects the search item corresponding to the head bank according to the above surface sign bank behavior example, and then selects the search item corresponding to the branch bank. Of course, in other scenarios, the user may only need to select one or more of the search terms through the second predetermined operation. In the application scenario of the facebook bank, the search terms corresponding to the main line and the branch line do not exist in isolation, but have a parent-child relationship, so that this case is consistent with the case of multiple search terms in the previous step, and the search configuration also configures the logical relationship between the two.
S103, retrieving the data to be retrieved according to the retrieval mapping relation and the logic relation corresponding to the target retrieval item to obtain retrieval data.
In this step, a specific implementation of searching through the selected target search term is provided. And retrieving the data to be retrieved according to the target retrieval item and the retrieval mapping relation and the logic relation corresponding to the target retrieval item. Still taking the facebook bank as an example, after the branch bank is selected, the corresponding transaction order is retrieved, i.e. the retrieval data. The retrieval mapping relationship here may be understood as that the branch line maps corresponding data in the data to be retrieved, and the logical relationship is a hierarchical relationship under the parent-child relationship of the head line
In this embodiment, a specific implementation manner is provided in which the search item and the search configuration corresponding to the search item can be completed through intuitive operation by a user. Defining the retrieval item according to the first preset operation of a user through the definition operation port, and defining the retrieval configuration corresponding to the retrieval item. In the prior art, the definition is realized through bottom-layer programming, so that the difficulty is high, the time is long, and the maintenance cost is high. The definition method reduces the difficulty of operators, greatly shortens the definition time and correspondingly reduces the maintenance cost. And selecting a target retrieval item through a preset retrieval operation port with a corresponding option of the retrieval item according to the second preset operation, wherein the option and the retrieval item are in a corresponding relation, the retrieval item is a created retrieval item, and the option is a specific display item for providing selection and clicking operation (namely the second preset operation). And finally, retrieving the data to be retrieved according to the retrieval mapping relation and the logic relation according to the target retrieval item to obtain retrieval data. No matter the first predetermined operation or the second predetermined operation can be understood as the predetermined operation of a user, the operation performed according to a predetermined mode or the automatic operation, but no matter which operation does not use a bottom-layer programming mode, a retrieval option is created in a mode of defining the retrieval item and the retrieval configuration, the research and development difficulty is greatly reduced, business personnel can also perform definition creation through training, the period and the cost are reduced, and the development work efficiency is greatly improved.
In an embodiment, the retrieval configuration includes a retrieval field and a value-taking expression, where the retrieval field is used to define the retrieval item, and the value-taking expression is used to define the retrieval mapping relationship for the data to be retrieved during retrieval.
In this embodiment, specific content of the retrieval configuration is provided, the retrieval configuration includes the retrieval field, the retrieval field is used for defining the retrieval item, and the retrieval field is a field corresponding to the option to implement retrieval, and we can understand that, when we set the option as XX total row, the retrieval field corresponding to the option may be XX total row, but may also be other fields. And the XX general line corresponding to the retrieval field and the corresponding data in the data to be retrieved, namely the trade list data corresponding to the XX general line, are passed. After acquiring the transaction order data corresponding to the XX head office through the retrieval field, acquiring which data in the transaction order data corresponding to the XX head office according to the retrieval mapping relationship, even processing through a predetermined algorithm to finally acquire the retrieval data.
In an embodiment, the search configuration further includes an extension field, and the extension field is used for establishing a logical relationship between the search items corresponding to the search configuration.
In the embodiment, a specific implementation mode for constructing the logical relationship in the plurality of search terms is provided through an extension field. The extension field can be understood as an extension of the search field, for example, the facesign branch line is an extension of the facesign main line, a parent-child relationship between the facesign main line and the facesign branch line has been set, and the extension field is only extended from the perspective of the definition of the search item, so whether to add the extension field in the definition process is determined according to specific business requirements, and we can understand that the extension field may not be defined if we only need transaction order data of the facesign main line, and the extension field needs to be extended if we need to extend the search item of the facesign main line.
Fig. 2 is a schematic diagram of a related information list 200 of the custom search method of the present invention, fig. 3 is a schematic diagram of a relationship list 300 of the custom search method of the present invention, fig. 4 is a schematic diagram of a relationship list 400 of the custom search method of the present invention, and fig. 5 is a schematic diagram of a defined operation port of the present invention. As shown in fig. 2 and fig. 3, and fig. 4 and fig. 5, fig. 2 provides basic configuration information for defining the search term and the configuration information corresponding to the search term through a relationship list, and we use an es _ fields table and an es _ city _ data _ configurations table as examples to describe the creation time, the search term and the corresponding configuration definition of the surface sign main line and the surface sign branch line, and it should be noted that the es _ fields table and the es _ city _ data _ configurations table are only a specific embodiment and are not specific limitations of the present application.
Fig. 3 shows an es _ fields table, which is a specific example of the creation time, and the es _ fields table includes several basic parameters, id is an identifier configured for each line, name is a name configured for the search term, it should be noted that the name here is not the search field, and description is description, similar to remarks. The value of is _ extended is 0, indicating that there is no extension field, and if the value of is _ extended is 1, indicating that there is an extension field. is _ extended belongs to the search field of String < list > type, and since the creation time is a single time value, there is no parent or other branch search entry, so the extension field is not set here. The entry _ key and the expression are equivalent to the value expression, and only the expression form is different. The entry _ key is a call name used for calling the value-taking expression stored in other data sources, and the expression is a specific expression.
FIG. 4 shows an es _ city _ data _ configurations table for the facebook and the facebook, where one module is added to the es _ fields table, where the module is data corresponding to the facebook in the data to be retrieved, the advantage of this data structure is that when defining the value expression, we can use the call name under module (i.e. job in the diagram) to call the predefined part of the data to be retrieved, for example, job we can define the data to be retrieved as the data that is signed by the bank as a specific branch, when the value expression is BUSINESS _ ES _ Entity. getJobVarValue (BUSINESS, "MIAN _ QIAN _ YIN _ HANG _ ZHI _ HANG"), we can see that job in the expression is the call name under module, es _ fields is the search field, the specific value is extend, when the extend occurs, and retrieving the data to be retrieved corresponding to the face label branch line in the value taking process. Fig. 5 is a schematic diagram of a data structure of the extended search field of the facebook bank of the customized search method of the present invention. As shown in fig. 5, fig. 5 shows that the data to be retrieved of the face sign branch line is stored in an extend in an ES, while the data structures of the face sign main line and the face sign branch line under the face sign bank are shown in fig. 5, the face sign main line 1 can be understood as a logo bank, the face sign branch line 1 can be understood as a Nanjing division line, when the extension field is not referred to, we can call the data to be retrieved of the logo bank, which includes all the data of the face sign main line 1, the face sign main line 2 and the face sign main line 3, when we introduce the extension field, we only search the data to be retrieved of one of the face sign main lines, which is stored in the ES, and call with the extend.
Fig. 6 is a view illustrating an operation port defined by a user, and the user can input the search item and the content of the search configuration into the corresponding input fields by the first predetermined operation.
Fig. 7 is a schematic diagram of the port state 1 of the present invention, fig. 8 is a schematic diagram of the port state 2 of the present invention, and fig. 9 is a schematic diagram of the port state 3 of the present invention. As shown in fig. 7 and 8, and fig. 9, the retrieval operation port is configured to select an option corresponding to the retrieval item through the second predetermined operation. FIG. 7 shows before unselected, FIG. 8 shows after the facebook line is selected, and FIG. 9 shows after the facebook line is selected.
FIG. 10 is a flow chart 500 illustrating a custom retrieval method according to the present invention. As shown in fig. 10, in an embodiment, the defining, according to a first predetermined operation, at least one retrieval item through a preset defined operation port, and a retrieval configuration corresponding to the retrieval item, where the retrieval configuration is a retrieval mapping relationship between the retrieval item and data to be retrieved stored in a database, and a logical relationship between the retrieval items when there are a plurality of retrieval items includes:
s201, configuring data to be retrieved into at least one data module according to a preset classification rule, wherein the data module is the data to be retrieved with a retrieval field and the preset classification rule;
in this step, a specific implementation manner of pre-configuring the data to be retrieved is provided, for example, the data to be retrieved is understood as all the transaction order data, and the facebook head-end bank and the facebook branch bank under the facebook head-end bank correspond to part of the transaction order data. In turn, transaction slip circulation data and buying and selling room information data, as well as participant information data and the like are included in each of the transaction slip data. Then we can classify the trade list circulation data and the trade room information data and the participator information data according to the preset classification rule, and configure each class as a data module, we match each data module through the search field, and then call the matched data module through the search field.
S202, defining at least one retrieval item and a value expression of retrieval configuration corresponding to the retrieval item through a preset defining operation port according to a first preset operation, wherein the value expression is an expression formed by at least one data module corresponding to the retrieval field and a preset retrieval rule and is used for defining the retrieval mapping relation of the data to be retrieved during retrieval, and the preset retrieval rule is a retrieval rule of the data to be retrieved.
In this step, the value-taking expression is defined through the definition operation port, the value-taking expression is formed through the retrieval bytes corresponding to the data module and the predetermined retrieval rule, the corresponding data to be retrieved is obtained through the retrieval bytes, and the data to be retrieved is retrieved through the predetermined retrieval rule to finally obtain the retrieval data.
In this embodiment, at least one data module is obtained by configuring the data to be retrieved according to the predetermined classification rule, where the data module is the data to be retrieved having the predetermined classification rule of the retrieval field; defining at least one retrieval item and a value expression of retrieval configuration corresponding to the retrieval item through a preset defining operation port according to a first preset operation, wherein the value expression is an expression formed by at least one data module corresponding to the retrieval field and a preset retrieval rule and is used for defining the retrieval mapping relation of the data to be retrieved during retrieval, and the preset retrieval rule is a retrieval rule of the data to be retrieved. And the background monitors the defined operation port in real time during processing, queries the corresponding data module when finding the retrieval mapping relation defining the value expression, and quickly establishes a retrieval data structure corresponding to the retrieval mapping relation through the retrieval field corresponding to the data module.
Fig. 11 is a data diagram of a transaction sheet 1 of the present invention, fig. 12 is a data diagram of a transaction sheet 2 of the present invention, and fig. 12 is a data structure diagram of a value expression of the present invention. As shown in fig. 11 and 12, and fig. 13, we can understand the above embodiments, for example, we have two transaction sheets, i.e., transaction sheet 1 in fig. 11 and transaction sheet 2 in fig. 12. Each transaction order will include the facebook bank and the circulation information, as well as the buyer and seller information and the participant information. The circulation information also has the information of the state of the transaction list. The information is input into the system through staff to become the data to be retrieved, the data module can be understood as the bank of the facing sign bank, the order of the circulation information, the status of the transaction order state, the trade _ party of the buyer and seller information and the participant information, the English field of each information is used as the retrieval field, the value-taking expression can be written as BUSINESS. For another example, if the value-taking expression of the facebook bank is bus _ ES _ entity.getjobvarvalue ("bus _ QIAN _ YIN _ HANG _ ZHI _ HANG"), then getJobVarValue is a specific algorithm, i.e., the predetermined search rule. The predetermined search rule is configured in advance for calling, and the configuration mode can be easily implemented by those skilled in the art, which is not described in detail in this application.
FIG. 14 is a flow chart 600 illustrating a custom retrieval method according to the present invention. As shown in fig. 14, in an embodiment, the retrieving the data to be retrieved according to the target retrieval item and the corresponding retrieval mapping relationship and the logical relationship to obtain the retrieval data includes:
s301, acquiring the corresponding value expression according to the target retrieval item;
in this step, the user selects the target retrieval item through the second predetermined operation, and calls the corresponding value expression according to the target retrieval item.
S302, acquiring the retrieval field according to the value expression;
in this step, the data module corresponding to the search field is obtained according to the value expression, it is to be noted that there may be one or more search fields in the value expression, and if there are a plurality of search fields, all the search fields need to be obtained.
And S303, retrieving the to-be-retrieved data corresponding to the retrieved field according to the preset retrieval rule in the value-taking expression to obtain retrieved data.
In this step, a specific embodiment of obtaining the search data after searching according to the value-taking expression is provided. The retrieval field in the value-taking expression corresponds to the data module, the data module corresponds to the data to be retrieved, and the retrieval data actually desired by the user can be obtained by retrieving the data to be retrieved according to the value-taking expression.
In this embodiment, a specific implementation manner is provided in which the user retrieves the data to be retrieved according to the value-taking expression after performing the second predetermined operation, so as to finally obtain the retrieved data. Firstly, acquiring the corresponding value expression according to the target retrieval item; then, the retrieval section is obtained according to the value expression; and finally, retrieving the data to be retrieved corresponding to the retrieved field according to the preset retrieval rule in the value-taking expression to obtain retrieved data.
In an embodiment, the search configuration further includes the field type corresponding to the search field, where the field type is used to define a data type of the search field, and type in fig. 3 is the field type.
In this embodiment, a specific implementation of the search configuration further includes the field type, and the field type is used to define a data type of the search field.
Fig. 15 is a schematic diagram of a configuration 700 of a search term according to the present invention, and fig. 16 is a schematic diagram of a configuration 800 of a search term according to the present invention, as shown in fig. 15 and fig. 16, in an embodiment, the search configuration further includes a search display attribute, where the search display attribute is used to define a display attribute of the search term in the search operation port.
In this embodiment, a specific implementation manner is provided in which the retrieving configuration further includes retrieving and displaying attributes, such as a specific page type, a page width, a dictionary KEY, and the like when the transaction sheet data is displayed in an application environment of the facebook bank.
FIG. 17 is a schematic diagram of a custom search apparatus according to the present invention. As shown in fig. 17, the present application further provides a custom retrieval device, which includes:
the retrieval system comprises a defining module 101, a searching module and a searching module, wherein the defining module is used for defining at least one item of retrieval items and retrieval configuration corresponding to the retrieval items according to a first preset operation, and the retrieval configuration is retrieval mapping relation between the retrieval items and data to be retrieved stored in a database and logic relation between the retrieval items;
a selecting module 102, configured to select a target search item according to a second predetermined operation, where the target search item is at least one of the search items;
and the retrieval module 103 is configured to retrieve the data to be retrieved according to the retrieval mapping relationship and the logical relationship corresponding to the target retrieval item to obtain retrieved data.
Optionally, the apparatus further comprises:
a configuration module 104, configured to configure data to be retrieved into at least one data module according to a predetermined classification rule, where the data module is the data to be retrieved with a retrieval field and the predetermined classification rule;
the defining module 101 is further configured to define at least one retrieval item and a value expression of the retrieval configuration corresponding to the retrieval item through a preset defining operation port according to a first predetermined operation, where the value expression is an expression formed by at least one of the data modules corresponding to the retrieval field and a predetermined retrieval rule and is used to define the retrieval mapping relationship for the data to be retrieved during retrieval, and the predetermined retrieval rule is a retrieval rule for the data to be retrieved.
Optionally, the apparatus further comprises:
an obtaining module 105, configured to obtain the corresponding value expression according to the target search term; the data module corresponding to the retrieval field is also obtained according to the value expression;
the retrieval module 103 is configured to retrieve the data to be retrieved corresponding to the data module according to the predetermined retrieval rule in the value-taking expression to obtain retrieved data.
The present application further provides an electronic device, the apparatus comprising: a processor and a memory;
the memory has stored therein an application executable by the processor for causing the processor to perform the steps of the custom retrieval method as described.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for customized retrieval.
In practical applications, the computer readable medium may be included in the apparatus/device/system described in the above embodiments, or may exist alone without being assembled into the apparatus/device/system. The above-mentioned computer-readable storage medium carries one or more programs which, when executed, implement the image data processing method of the described data.
According to embodiments disclosed herein, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example and without limitation: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing, without limiting the scope of the present disclosure. In the embodiments disclosed herein, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A custom retrieval method is characterized by comprising the following steps:
defining at least one retrieval item according to a first preset operation and a retrieval configuration corresponding to the retrieval item, wherein the retrieval configuration is a retrieval mapping relation between the retrieval item and data to be retrieved stored in a database and a logic relation between the retrieval items;
selecting a target retrieval item according to a second preset operation, wherein the target retrieval item is at least one item in the retrieval items;
and retrieving the data to be retrieved according to the retrieval mapping relation and the logic relation corresponding to the target retrieval item to obtain retrieval data.
2. The custom search method of claim 1, wherein the search configuration comprises: the retrieval method comprises a retrieval field and a value-taking expression, wherein the retrieval field is used for defining the retrieval item, and the value-taking expression is used for defining the retrieval mapping relation of the data to be retrieved during retrieval.
3. The customized retrieval method of claim 1, wherein the retrieval configuration further comprises an extension field, and the extension field is used for establishing a logical relationship between the retrieval configuration and the corresponding retrieval item.
4. The custom retrieval method according to any one of claims 1-3, wherein at least one item of retrieval items and retrieval configuration corresponding to the item of retrieval are defined through a preset defined operation port according to a first predetermined operation, wherein the retrieval configuration is retrieval mapping relationship between the item of retrieval and data to be retrieved stored in a database, and the logical relationship between the items of retrieval when a plurality of items of retrieval are provided comprises:
configuring data to be retrieved into at least one data module according to a preset classification rule, wherein the data module is the data to be retrieved with a retrieval field and the preset classification rule;
defining at least one retrieval item and a value expression of retrieval configuration corresponding to the retrieval item through a preset defining operation port according to a first preset operation, wherein the value expression is an expression formed by at least one data module corresponding to the retrieval field and a preset retrieval rule and is used for defining the retrieval mapping relation of the data to be retrieved during retrieval, and the preset retrieval rule is a retrieval rule of the data to be retrieved.
5. The user-defined retrieval method of claim 1, wherein retrieving the data to be retrieved according to the target retrieval item and the corresponding retrieval mapping relationship and the logical relationship to obtain retrieval data comprises:
acquiring the corresponding value expression according to the target retrieval item;
acquiring the retrieval section according to the value expression;
and retrieving the data to be retrieved corresponding to the retrieved field according to the preset retrieval rule in the value-taking expression to obtain retrieved data.
6. The custom search method of claim 5, wherein the search configuration further comprises the field type corresponding to the search field, wherein the field type is used to define a data type of the search field.
7. The custom search method according to claim 1, wherein the search configuration further comprises a search display attribute, wherein the search display attribute is used to define a display attribute of the search item in the search operation port.
8. A custom retrieval device, the device comprising:
the system comprises a definition module, a retrieval module and a display module, wherein the definition module is used for defining at least one retrieval item and retrieval configuration corresponding to the retrieval item according to a first preset operation, and the retrieval configuration is retrieval mapping relation between the retrieval item and data to be retrieved stored in a database and logic relation between the retrieval items;
the selecting module is used for selecting a target retrieval item according to a second preset operation, wherein the target retrieval item is at least one item in the retrieval items;
and the retrieval module is used for retrieving the data to be retrieved according to the retrieval mapping relation and the logic relation corresponding to the target retrieval item to obtain retrieval data.
9. An electronic device, wherein the apparatus comprises: a processor and a memory;
the memory has stored therein an application executable by the processor for causing the processor to perform the steps of the custom retrieval method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the custom retrieval method of any one of claims 1 to 7.
CN201911298075.1A 2019-12-17 2019-12-17 User-defined retrieval method and device, electronic equipment and storage medium thereof Pending CN111191057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911298075.1A CN111191057A (en) 2019-12-17 2019-12-17 User-defined retrieval method and device, electronic equipment and storage medium thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911298075.1A CN111191057A (en) 2019-12-17 2019-12-17 User-defined retrieval method and device, electronic equipment and storage medium thereof

Publications (1)

Publication Number Publication Date
CN111191057A true CN111191057A (en) 2020-05-22

Family

ID=70709584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911298075.1A Pending CN111191057A (en) 2019-12-17 2019-12-17 User-defined retrieval method and device, electronic equipment and storage medium thereof

Country Status (1)

Country Link
CN (1) CN111191057A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468180A (en) * 2021-07-13 2021-10-01 北京明略软件系统有限公司 MySQL-based table design method and system for dynamically expanding data fields

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484699A (en) * 2015-08-25 2017-03-08 北京国双科技有限公司 The generation method of data base querying field and device
CN107817971A (en) * 2016-09-12 2018-03-20 南京中兴新软件有限责任公司 The implementation method and ORM systems of ORM systems
CN108563708A (en) * 2018-03-27 2018-09-21 广州供电局有限公司 Facility information search method, device and computer equipment
CN108897819A (en) * 2018-06-20 2018-11-27 北京密境和风科技有限公司 A kind of data search method and device
CN110083605A (en) * 2019-04-24 2019-08-02 天津中新智冠信息技术有限公司 Traffic table querying method, device, server and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106484699A (en) * 2015-08-25 2017-03-08 北京国双科技有限公司 The generation method of data base querying field and device
CN107817971A (en) * 2016-09-12 2018-03-20 南京中兴新软件有限责任公司 The implementation method and ORM systems of ORM systems
CN108563708A (en) * 2018-03-27 2018-09-21 广州供电局有限公司 Facility information search method, device and computer equipment
CN108897819A (en) * 2018-06-20 2018-11-27 北京密境和风科技有限公司 A kind of data search method and device
CN110083605A (en) * 2019-04-24 2019-08-02 天津中新智冠信息技术有限公司 Traffic table querying method, device, server and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468180A (en) * 2021-07-13 2021-10-01 北京明略软件系统有限公司 MySQL-based table design method and system for dynamically expanding data fields

Similar Documents

Publication Publication Date Title
CN112036736B (en) Workflow creation method and device
WO2020253059A1 (en) Method and apparatus for implementing multi-stage linkage drop-down box, and computer device
US10599313B2 (en) System for high volume data analytic integration and channel-independent advertisement generation
CN111177231A (en) Report generation method and report generation device
US9575639B2 (en) Compound controls
US20160364770A1 (en) System for high volume data analytic integration and channel-independent advertisement generation
JP2019512816A (en) Method and apparatus for arranging page resources
CN110750654A (en) Knowledge graph acquisition method, device, equipment and medium
CN111708801A (en) Report generation method, device and electronic device
US20120159359A1 (en) System and method for generating graphical dashboards with drill down navigation
US8555181B2 (en) Method and system for constructing business rules in a business software system using intelligent tiles
CN108363684A (en) List creation method, device and server
CN115544183A (en) Data visualization method and device, computer equipment and storage medium
US20150134746A1 (en) Integrating Complex Data Structures into Collaboration Environments
JP4719212B2 (en) Method and apparatus for constructing representations of objects and entities
JP6268435B2 (en) Database reconstruction method, database reconstruction program, and database reconstruction device
CN116401407A (en) Node attribute configuration method, device, equipment and storage medium of mind map
CN113434585B (en) Resource preservation method and equipment
US10866831B2 (en) Distributed execution of data processing pipelines
CN112785248B (en) Human resource data cross-organization interaction method, device, equipment and storage medium
US11308131B2 (en) Combining visualizations in a business analytic application
CN111191057A (en) User-defined retrieval method and device, electronic equipment and storage medium thereof
CN108304291A (en) It tests input information and retrieves device and method
US20190384615A1 (en) Containerized runtime environments
CN115543428A (en) Simulated data generation method and device based on strategy template

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200522