Menu page generation method and device, data query method and device and electronic equipment

By obtaining the regional identification, business type and claims process of the menu page, parsing and generating the column field configuration information of the menu page, the problems of large code volume and resource waste in the existing technology are solved, and efficient generation and query of menu pages are achieved.

CN120803446APending Publication Date: 2025-10-17PEOPLE'S INSURANCE COMPANY OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510748878.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-05
Publication Date
2025-10-17

AI Technical Summary

Technical Problem

The existing technology requires solidifying all column field information when generating a menu page, resulting in a large amount of code and a waste of server resources when querying data, making it difficult to efficiently generate and query menu pages.

Method used

By obtaining the region ID, business type, and claims process of the menu page, obtaining and parsing the column field configuration information, generating the menu page, and splicing query statements during data query to improve efficiency.

Benefits of technology

Menu pages can be generated without adjusting page codes, which reduces workload, improves generation efficiency, and optimizes resource utilization and data query speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120803446A_ABST
    Figure CN120803446A_ABST
Patent Text Reader

Abstract

The invention provides a menu page generation method and device, a data query method and device and electronic equipment, and relates to the technical field of computer software. The method comprises the following steps: in response to a menu page generation instruction, obtaining a first region identifier, a first service type and a first claim link corresponding to a menu page included in the instruction, and then obtaining preset first column field configuration information of a first region in the menu page based on the first region identifier, the first service type and the first claim link, the method comprises the steps of obtaining first column field configuration information, analyzing the first column field configuration information, determining each to-be-displayed first column field in a first area, and finally generating a menu page based on each first column field and preset second area content of the menu page. Therefore, the menu page does not need to be generated by adjusting page codes, the workload is reduced, and the menu page generation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of computer software, and particularly relates to a menu page generation method, a data query method, a device and an electronic equipment. BACKGROUND

[0002] At present, when generating a menu page, all column field information needs to be fixed in advance in the page code, which leads to a large amount of code. When a new field is added for display, the page code usually needs to be adjusted to add the new field to the menu page. When data query is performed by using the menu page, the data of all fields usually needs to be queried and returned to the page, which wastes server resources. Therefore, how to propose a menu page generation method and a data query method to improve the efficiency of menu page generation and improve resource utilization is a problem to be solved at present. SUMMARY

[0003] The present disclosure provides a menu page generation method, a data query method, a device and an electronic equipment.

[0004] According to an aspect of the present disclosure, a menu page generation method is provided, comprising:

[0005] In response to a menu page generation instruction, a first region identifier, a first business type and a first claim settlement link corresponding to the menu page included in the instruction are obtained;

[0006] Based on the first region identifier, the first business type and the first claim settlement link, preset first column field configuration information of a first area in the menu page is obtained;

[0007] The first column field configuration information is parsed to determine each first column field to be displayed in the first area;

[0008] Based on each first column field and preset second area content of the menu page, the menu page is generated.

[0009] According to another aspect of the present disclosure, a data query method is provided, comprising:

[0010] In the case where a data query request of a menu page is received, a second region identifier, a second business type, a second claim settlement link and a query condition included in the request are obtained;

[0011] obtain second column field configuration information of the first area of the menu page based on the second region identifier, the second business type, and the second claim process, wherein the second column field configuration information comprises a second business table identifier to which each of the second column fields respectively belongs, and a second field identifier corresponding to the second column field in the second business table to which the second column field belongs;

[0012] splice the second column field configuration information and the query condition to obtain a corresponding query statement;

[0013] query field values of the second column fields in the second business tables based on the query statement to obtain a query result;

[0014] return the query result to the menu page and display the field values of the second column fields in the first area of the menu page.

[0015] According to another aspect of the present disclosure, a menu page generation apparatus is provided, comprising:

[0016] a first obtaining module configured to, in response to a menu page generation instruction, obtain a first region identifier, a first business type, and a first claim process corresponding to the menu page included in the instruction;

[0017] a second obtaining module configured to obtain preset first column field configuration information of a first area of the menu page based on the first region identifier, the first business type, and the first claim process;

[0018] a first determining module configured to parse the first column field configuration information and determine each first column field to be displayed in the first area;

[0019] a generating module configured to generate the menu page based on each of the first column fields and second area content preset for the menu page.

[0020] According to another aspect of the present disclosure, a data query apparatus is provided, comprising:

[0021] a fifth obtaining module configured to, in a case where a data query request of a menu page is received, obtain a second region identifier, a second business type, a second claim process, and a query condition included in the request;

[0022] a sixth obtaining module configured to obtain second column field configuration information of a first area of the menu page based on the second region identifier, the second business type, and the second claim process, wherein the second column field configuration information comprises a second business table identifier to which each of the second column fields respectively belongs, and a second field identifier corresponding to the second column field in the second business table to which the second column field belongs;

[0023] a seventh obtaining module, configured to splice the second column field configuration information and the query condition to obtain a corresponding query statement;

[0024] an eighth obtaining module, configured to query field values of the second column fields in each of the second business tables based on the query statement to obtain a query result;

[0025] a processing module, configured to return the query result to the menu page and display the field values of the second column fields in the first area of the menu page.

[0026] According to another aspect of the present disclosure, an electronic device is provided, comprising:

[0027] at least one processor;

[0028] and a memory connected to the at least one processor in communication;

[0029] wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of the above embodiments.

[0030] According to another aspect of the present disclosure, a non-transitory computer readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to perform the method according to the above embodiments.

[0031] The present disclosure provides a menu page generation method, a data query method, an apparatus and an electronic device. First, in response to a menu page generation instruction, a first region identifier, a first business type and a first claim settlement link corresponding to the menu page included in the instruction are obtained, then based on the first region identifier, the first business type and the first claim settlement link, preset first column field configuration information of a first area in the menu page is obtained, then the first column field configuration information is parsed to determine each first column field to be displayed in the first area, and finally based on each first column field and preset second area content of the menu page, the menu page is generated. Thus, by obtaining column field configuration information of a table area of a menu page to be generated based on a region identifier, a business type and a claim settlement link of the menu page to be generated, and determining column fields to be displayed in the table area based on the configuration information, and generating the menu page based on the column fields and preset content of other areas of the menu page, the menu page can be generated without adjusting page codes, thereby reducing workload and improving the efficiency of menu page generation. BRIEF DESCRIPTION OF DRAWINGS

[0032] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, further serve to explain the principles behind the present disclosure.

[0033] Figure 1 A flowchart of a menu page generation method provided by an embodiment of the present disclosure;

[0034] Figure 2 A flowchart of a first column field configuration information generation method in a menu page generation method provided by an embodiment of the present disclosure;

[0035] Figure 3 A schematic diagram of a column field configuration page in the menu page generation method of the present disclosure;

[0036] Figure 4 A flowchart of a menu page generation method provided by an embodiment of the present disclosure;

[0037] Figure 5 A flowchart of a menu page generation method provided by an embodiment of the present disclosure;

[0038] Figure 6 A flowchart of a data query method provided by an embodiment of the present disclosure;

[0039] Figure 7 A menu page schematic diagram of data query and query result display in the data query method of the present disclosure;

[0040] Figure 8 A structural schematic diagram of a menu page generation device provided by an embodiment of the present disclosure;

[0041] Figure 9 A structural schematic diagram of a data query device provided by an embodiment of the present disclosure;

[0042] Figure 10 A structural schematic diagram of an electronic device provided by an embodiment of the present disclosure.

[0043] The above-described figures have shown specific embodiments of the present disclosure, which will be described in more detail hereinafter. These figures and descriptions are not intended to limit the scope of the present disclosure concept in any way, but to illustrate the present disclosure concept to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0044] The exemplary embodiments will be described in detail herein with reference to the attached drawings. The following description is only one of the specific embodiments consistent with the present disclosure. Rather, it is only an example of an apparatus and method consistent with some aspects of the present disclosure as detailed in the appended claims.

[0045] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.) and signals involved in the present disclosure are all authorized by the user or fully authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of the country and region.

[0046] It should be noted that the acquisition, transmission, storage, use, processing, etc. of data in the technical solutions of the present disclosure comply with the relevant provisions of national laws and regulations.

[0047] The menu page generation method of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0048] Figure 1 A flowchart of a menu page generation method provided by an embodiment of the present disclosure is shown.

[0049] As shown in Figure 1 , the method comprises:

[0050] Step 101, in response to a menu page generation instruction, obtaining the first region identifier, the first business type and the first claim settlement link corresponding to the menu page included in the instruction.

[0051] Among them, the first region identifier can be used to represent the region to which the to-be-generated menu page belongs, which can be any form set in advance. For example, the first region identifier can be the code, code, etc. of each region, which is not limited by the present disclosure.

[0052] Among them, the first business type can be determined according to the actual business type of the menu page. For example, the first business type can be car insurance, health insurance, or agricultural insurance, etc. The present disclosure does not limit this.

[0053] Among them, the first claim settlement link can be determined according to the actual claim settlement link to which the menu page belongs. For example, the first claim settlement link can be the case reporting link, loss assessment link or claim settlement link, etc. The present disclosure does not limit this.

[0054] In the present disclosure, in response to the menu page generation instruction, since the business needs of each region can be different, the column fields contained in the generated menu page can also be different, therefore, in order to make the generated menu page meet the needs of each region and improve the personalization of the menu page, the first region identifier, the first business type and the first claim settlement link of the to-be-generated menu page can be obtained from the instruction first.

[0055] Step 102, based on the first region identifier, the first business type and the first claim settlement link, obtaining the preset first column field configuration information of the first region in the menu page.

[0056] The first area is a table area in the menu page, which can be used to display business-related column fields. For example, it can display "treatment serial number", "transaction type", "settlement time", and the like, which are not limited in the present disclosure.

[0057] The first column field configuration information can be information of the column fields to be displayed in the first area, which can be set in advance according to the actual business needs of each region, which is not limited in the present disclosure.

[0058] In the present disclosure, the preset first column field configuration information can be associated with the region identifier, the business type, and the claim settlement link and stored in the database.

[0059] In the present disclosure, when the first column field configuration information is obtained, a preset interface can be called to read the first column field configuration information from the database, which is not limited in the present disclosure.

[0060] In step 103, the first column field configuration information is parsed to determine each first column field to be displayed in the first area.

[0061] In the present disclosure, after obtaining the first column field configuration information, the first column field configuration information can be parsed into a readable state, and then each first column field to be displayed in the first area is determined according to the first column field configuration information.

[0062] In step 104, based on each first column field and the preset second area content of the menu page, the menu page is generated.

[0063] The second area can be an area in the menu page other than the first area, which can include query conditions and claim settlement link-related information, and the like, which are not limited in the present disclosure.

[0064] It should be noted that the second area content can be set in advance according to the claim settlement link to which the menu page to be generated belongs. For example, when the menu page to be generated is a menu page of the claim settlement link, the second area content can include claim settlement-related query conditions and claim settlement-related information (claim settlement clauses and total amount, and the like), which are not limited in the present disclosure.

[0065] In the embodiments of the present disclosure, first, in response to a menu page generation instruction, a first region identifier, a first business type and a first claim settlement link corresponding to the menu page included in the instruction are obtained, then based on the first region identifier, the first business type and the first claim settlement link, preset first column field configuration information of a first area in the menu page is obtained, then the first column field configuration information is parsed to determine each first column field to be displayed in the first area, and finally based on each first column field and preset second area content of the menu page, the menu page is generated. Therefore, by obtaining the column field configuration information of the table area of the menu page based on the region identifier, the business type and the claim settlement link of the menu page to be generated, and based on the configuration information, determining the column field to be displayed in the table area, and based on the column field and the other area content preset in the menu page, the menu page is generated, so that the menu page does not need to be generated by adjusting the page code, thereby reducing the workload and improving the efficiency of the menu page generation.

[0066] Figure 2 The flowchart of the method for generating the first column field configuration information in the menu page generation method provided in the embodiments of the present disclosure is shown.

[0067] As shown in Figure 2 , the method for generating the first column field configuration information includes:

[0068] Step 201, obtaining at least one candidate column field template classified according to a preset claim settlement link type, wherein the candidate column field template contains at least one candidate column field set associated with a business type.

[0069] The claim settlement link type can be set in advance according to actual business needs. For example, the claim settlement link type can include the report link, the loss determination link, the claim settlement link, etc., and the present disclosure does not limit this.

[0070] It should be noted that the contents in the corresponding candidate column field template may be different for different claim settlement links.

[0071] The candidate column field can be a column field related to each business type under each claim settlement link.

[0072] Step 202, based on the business needs of at least one business type of each preset region, determining each first column field displayed in the first area of the menu page of each claim settlement link of each region from the at least one candidate column field template.

[0073] The display content of the first area corresponds to the claim settlement link and the business type to which the menu page belongs.

[0074] It should be noted that the same business type may have different business requirements in different regions, so the column fields displayed in the first area of the menu page may be different, and the present disclosure does not limit this.

[0075] Optionally, after obtaining the candidate column field templates associated with each claim settlement link, the column field configuration page can be developed according to the candidate column field templates, and then the operators of each region can select each first column field displayed in the configuration page according to the business requirements, such as Figure 3 Figure 3 a schematic diagram of the column field configuration page in the menu page generation method of the present disclosure, Figure 3 for example, the claim settlement link, as shown in Figure 3 The candidate column fields associated with the claim settlement link include "medical insurance settlement time", "creation handling time", "treatment serial number", "transaction type", "medical category", "settlement date", "commercial insurance compensation amount", "policy number", and "settlement year". The first column fields selected by the operator according to the business requirements include "medical insurance settlement time", "treatment serial number", "transaction type", "medical category", "settlement date", and "commercial insurance compensation amount", and the present disclosure does not limit this.

[0076] Step 203, obtaining a business table associated with each claim settlement link, wherein the business table contains at least one business column field and corresponding value of the business type under the corresponding claim settlement link.

[0077] It should be noted that the business table associated with each claim settlement link can be stored in a preset business database.

[0078] In the present disclosure, after determining the first column fields displayed in the menu page of each claim settlement link of each region, in order to more efficiently and reliably generate the menu page, the first column fields can be supplemented with content to obtain corresponding first column field configuration information. At this time, the business table associated with each claim settlement link can be obtained first.

[0079] It should be noted that the number of business tables associated with each claim settlement link can be one, or can also be multiple, and the present disclosure does not limit this.

[0080] Step 204, based on the business type to which each menu page of each region belongs, respectively associating and matching each first column field of each menu page with the business data in each business table to generate first column field configuration information of the menu page.

[0081] ​In the present disclosure, after obtaining the business table associated with each claim settlement link, each first column field of the menu page can be respectively associated and matched with the business column field in each business table based on the business type to which each menu page of each region belongs, so as to determine the business table to which each first column field belongs, and the field identifier and other information in the business table. The present disclosure does not limit this.

[0082] Optionally, the first column field configuration information can include at least one of the following: each first column field to be displayed in the menu page; a first business table identifier to which each first column field respectively belongs; a first field identifier corresponding to each first column field in the first business table to which the first column field belongs; and a data type of a field value corresponding to each first column field.

[0083] The first business table identifier can be used to represent the business table to which the first column field belongs, and the first field identifier can be used to represent the column field corresponding to the first column field in the business table.

[0084] It should be noted that the first business table identifier and the first field identifier can be any form set in advance. For example, the first business table identifier can be the name of the business table, and the first field identifier can be the code of the field, and the present disclosure does not limit this.

[0085] In the present disclosure, at least one candidate column field template is first obtained according to the preset claim settlement link type classification, and then based on the business demand of at least one business type of each preset region, each first column field displayed in the first region of the menu page of each claim settlement link of each region is determined from the at least one candidate column field template. After that, the business table associated with each claim settlement link is obtained, and each first column field of each menu page is respectively associated and matched with the business data in each business table based on the business type to which each menu page of each region belongs, to generate the first column field configuration information of the menu page. Therefore, by determining the column field displayed in the menu page based on the candidate column field template associated with each claim settlement link and the business demand of each region, and supplementing the content of the displayed column field based on the business table of each claim settlement link, the column field configuration information of the menu page is obtained, thereby ensuring the diversity and individualization of the column field configuration information, and providing conditions for improving the efficiency of menu page generation.

[0086] Figure 4 A flowchart of a menu page generation method provided in an embodiment of the present disclosure is shown.

[0087] As shown in Figure 4 , the method comprises:

[0088] In step 401, in response to the menu page generation instruction, a first region identifier, a first service type, and a first claim settlement link corresponding to the menu page included in the instruction are obtained.

[0089] In step 402, based on the first region identifier, the first service type, and the first claim settlement link, preset first column field configuration information of a first area in the menu page is obtained.

[0090] In step 403, the first column field configuration information is parsed to determine each first column field to be displayed in the first area.

[0091] The specific implementation forms of steps 401 to 403 can refer to the detailed descriptions in other embodiments of the present disclosure, which will not be repeated here.

[0092] In step 404, based on each first column field, a first column field layout in the first area is determined.

[0093] In the present disclosure, after obtaining the first column field configuration information, the menu page can be generated based on the first column field and the second area content of the menu page. In order to accurately and reliably display each first column field in the first area and avoid display errors (such as overlapping display of different column fields, incomplete display, etc.), the first column field layout in the first area can be determined based on each first column field before the menu page is generated.

[0094] In step 405, based on the data type of the field value corresponding to each first column field, a corresponding field value data formatting method is matched for each first column field.

[0095] In the present disclosure, after determining the first column field layout, a corresponding field value data formatting method can be matched for each first column field based on the data type of the field value corresponding to each first column field in the first column field configuration information, thereby improving the accuracy of the first area.

[0096] It should be noted that the data types of the field values corresponding to the first column fields can be different. For example, the data type of the field value corresponding to the name is character type, and the data type of the field value corresponding to the time is numerical value type, etc., which is not limited in the present disclosure.

[0097] In step 406, based on the first column field layout, the data formatting method matched for each first column field, and the preset second area content of the menu page, the menu page is generated.

[0098] In the present disclosure, after determining the first column field layout of the first region, and the data formatting method matched by each first column field, the menu page can be generated based on the first column field layout, the data formatting method matched by each first column field, and the second region content.

[0099] Optionally, when the menu page is generated, each first column field in the first region can be dynamically displayed based on the first column field layout of the first region.

[0100] In the embodiments of the present disclosure, first, in response to a menu page generation instruction, the first region identifier, the first business type, and the first claim settlement link corresponding to the menu page included in the instruction are obtained, and based on the first region identifier, the first business type, and the first claim settlement link, the preset first column field configuration information of the first region in the menu page is obtained. Then, the first column field configuration information is parsed to determine each first column field to be displayed in the first region, and based on each first column field, the first column field layout in the first region is determined. Then, based on the data type of the field value corresponding to each first column field, the data formatting method matched by the field value corresponding to each first column field is determined. Finally, based on the first column field layout, the data formatting method matched by each first column field, and the second region content preset in the menu page, the menu page is generated. Thus, after determining the column fields to be displayed in the table region of the menu page to be generated, based on the displayed column fields, the column field layout in the first region is determined, and based on the data type of the field value of the column field in the column field configuration information, the data formatting method matched by the displayed column field is determined. Based on the column field layout, the data formatting method matched by each column field, and the second region content of the menu page, the menu page is generated, thereby improving the reliability and efficiency of the generated menu page.

[0101] Figure 5 A flowchart of a menu page generation method provided by the embodiments of the present disclosure is shown.

[0102] As shown in Figure 5 , the method comprises:

[0103] Step 501, in response to a menu page generation instruction, obtaining the first region identifier, the first business type, and the first claim settlement link corresponding to the menu page included in the instruction.

[0104] Step 502, based on the first region identifier, the first business type, and the first claim settlement link, obtaining the preset first column field configuration information of the first region in the menu page.

[0105] Step 503, parsing the first column field configuration information to determine each first column field to be displayed in the first region.

[0106] The specific implementation of steps 501 to 503 can be referred to the detailed descriptions in other embodiments of the present disclosure, and will not be described in detail here.

[0107] Step 504 : Obtain a container width parameter of the first region and a column field display style of the first region, wherein the column field display style includes a font style and a font size.

[0108] The container width parameter of the first region may be a specific value of the horizontal space occupied by the container element where the first region is located, and the unit may be pixels, which is not limited in the present disclosure.

[0109] The column field display style may be pre-set as needed, which may include the font, font size, color, and other display styles of the column field in the first area, and the present disclosure does not limit this.

[0110] Step 505: Determine the pixel width of each first column field based on the column field display style.

[0111] The pixel width of the first column field may be the number of horizontal pixels occupied by the column field.

[0112] In the present disclosure, after determining the container width parameter of the first area, as well as the font and font size in the column field display style, in order to avoid display errors of the first column field in the first area, the pixel width of each first column field can be first determined based on the font and font size in the column field display style.

[0113] Step 506 : Determine the column width of each first column field in the first region based on the container width parameter and the pixel width of each first column field.

[0114] In the present disclosure, after determining the pixel width of each first column field, the display column width of each first column field in the first area can be determined based on the container width parameter of the first area and the pixel width of each first column field, thereby ensuring that each first column field is accurately and reliably displayed in the first area, thereby improving the reliability of the generated menu page.

[0115] Step 507: Determine the layout of the first column fields in the first area based on the display column width of each first column field.

[0116] In the present disclosure, after determining the display column width of each first column field, the first column field layout in the first area can be determined based on the display column width of each first column field, thereby providing conditions for accurately and reliably generating a menu page.

[0117] Step 508 : Based on the data type of the field value corresponding to each first column field, a corresponding field value data formatting method is matched to each first column field.

[0118] Step 509, generating the menu page based on the first column field layout, each first column field and its matched data formatting method, and the second area content preset by the menu page.

[0119] The specific implementation forms of steps 508 to 509 can refer to the detailed descriptions in other embodiments of the present disclosure, which will not be repeated here.

[0120] In the embodiments of the present disclosure, first, in response to the menu page generation instruction, the first region identifier, the first business type and the first claim settlement link corresponding to the menu page included in the instruction are obtained, and based on the first region identifier, the first business type and the first claim settlement link, the preset first column field configuration information of the first area in the menu page is obtained, then the first column field configuration information is parsed to determine each first column field to be displayed in the first area, and the container width parameter of the first area and the column field display style of the first area are obtained, then based on the column field display style, the pixel width of each first column field is determined, and based on the container width parameter and the pixel width of each first column field, the column width of each first column field in the first area is determined, then based on the display column width of each first column field, the first column field layout in the first area is determined, and finally, based on the data type of the field value corresponding to each first column field, the field value data formatting method corresponding to each first column field is matched, and based on the first column field layout, each first column field and its matched data formatting method, and the second area content preset by the menu page, the menu page is generated. Thus, after determining the column fields to be displayed in the table area of the generated menu page, in order to avoid display errors of the column fields in the table area, the column field layout of the table area is determined through the container width parameter and the column field display style of the table area, thereby improving the reliability of the menu page generation.

[0121] Figure 6 A flowchart of a data query method provided by the embodiments of the present disclosure is shown.

[0122] As shown in Figure 6 , the method comprises:

[0123] Step 601, in the case of receiving a data query request of a menu page, obtaining the second region identifier, the second business type, the second claim settlement link and the query condition included in the request.

[0124] It should be noted that the second claim settlement link to which the menu page belongs may be different, and the query condition may also be different. For example, when the second claim settlement link of the menu page is the claim settlement link, the query condition can include any of the settlement date, the claim settlement type, the claim settlement amount, the claimant role, the claimant nature, the bank account name, the account, etc., which is not limited by the present disclosure

[0125] In step 602, the second column field configuration information of the first area of the menu page is obtained based on the second region identifier, the second service type and the second claim link.

[0126] The second column field configuration information includes the second service table identifier to which each second column field belongs and the second field identifier corresponding to the second column field in the second service table to which the second column field belongs.

[0127] In the present disclosure, after receiving the data query request of the menu page, in order to avoid the background system querying all field information and returning to the page, thereby wasting server resources and reducing data query efficiency, the second column field configuration information of the menu page can be obtained from the database based on the second region identifier, the second service type and the second claim link before data query.

[0128] In step 603, the second column field configuration information and the query condition are spliced to obtain a corresponding query statement.

[0129] In the present disclosure, after obtaining the second column field configuration information, the second column field in the second column field configuration information and the query condition are spliced to obtain a corresponding query statement, thereby providing conditions for improving data query efficiency.

[0130] In step 604, the field values of the second column fields in the second service tables are queried based on the query statement to obtain a query result.

[0131] The query result can be the field values of the second column fields in the first area of the menu page.

[0132] In the present disclosure, the field values of the second column fields in the second service tables are queried based on the query statement obtained by splicing the second column field configuration information and the query condition, thereby improving the data query efficiency.

[0133] In step 605, the query result is returned to the menu page, and the field values of the second column fields are displayed in the first area of the menu page.

[0134] In the present disclosure, after obtaining the query result, the query result can be returned to the menu page, and the field values of the second column fields can be displayed in the first area of the menu page, thereby realizing the data query of the menu page and improving the data query efficiency of the menu page.

[0135] The data query of the menu page and the display of the query result in the menu page in the present disclosure will be illustrated below. Figure 7 Figure 7 ​This is a schematic diagram of a menu page for data query and query result display in the data query method disclosed herein.

[0136] Figure 7 In the figure, the menu page of the claims process is taken as an example, wherein the content of the second area includes query conditions and claims information, wherein the query conditions and claims information are only examples and are not limited here.

[0137] Figure 7 In the first column of the first area, the fields include "Suspected Risk Cases", "Consultation Serial Number", "Transaction Type", "Medical Type", "Settlement Date", "Commercial Insurance Compensation Amount", and "Medical Insurance Settlement Time".

[0138] like Figure 7 As shown, when the query conditions are "start settlement date" and "end settlement date", the query conditions can be spliced ​​with the column fields in the first area to obtain a query statement, and based on the query statement, the corresponding field values ​​are obtained from each business table, and the field values ​​are returned to the field values ​​of the corresponding column fields in the first area, that is, the business with a settlement date between the "start settlement date" and the "end settlement date" is queried, and the field values ​​of the relevant column fields in the first area are returned, such as "medical serial number", "transaction type" and "settlement date". The returned query results can be determined according to actual conditions and are not limited here.

[0139] It should be noted that, when the field value of a column field is empty or invalid in the business table, the field value of the corresponding column field may be empty when the query result is returned.

[0140] In the embodiment of the present disclosure, when a data query request for a menu page is received, the second region identifier, the second business type, the second claim processing step, and the query conditions included in the request are first obtained, and based on the second region identifier, the second business type, and the second claim processing step, the second column field configuration information of the first area of ​​the menu page is obtained, and then the second column field configuration information and the query conditions are spliced ​​together to obtain a corresponding query statement, and then based on the query statement, the field values ​​of the second column fields in each second business table are queried to obtain the query results, and finally the query results are returned to the menu page, and the field values ​​of each second column field are displayed in the first area of ​​the menu page. Therefore, when performing a data query on the menu page, the query is performed by splicing the column field configuration information of the menu page with the query conditions to obtain the query results, thereby effectively avoiding the backend system from querying the data of all column fields, improving resource utilization, and improving the efficiency and accuracy of data query.

[0141] In order to implement the above embodiment, the embodiment of the present disclosure further proposes a menu page generating device.

[0142] Figure 8 A structural schematic diagram of a menu page generation apparatus provided by an embodiment of the present disclosure is shown.

[0143] As shown in Figure 8 The menu page generation apparatus 800 can include:

[0144] A first obtaining module 801, configured to, in response to a menu page generation instruction, obtain a first region identifier, a first service type, and a first claim settlement link corresponding to a menu page included in the instruction;

[0145] A second obtaining module 802, configured to, based on the first region identifier, the first service type, and the first claim settlement link, obtain preset first column field configuration information of a first area in the menu page;

[0146] A first determining module 803, configured to parse the first column field configuration information and determine each first column field to be displayed in the first area;

[0147] A generation module 804, configured to generate the menu page based on each first column field and preset second area content of the menu page.

[0148] Optionally, the apparatus 800 further includes:

[0149] A third obtaining module (not shown in the figure), configured to obtain at least one candidate column field template classified according to a preset claim settlement link type, wherein the candidate column field template includes at least one candidate column field set associated with a service type;

[0150] A second determining module (not shown in the figure), configured to determine, based on service requirements of at least one service type of each preset region, each first column field displayed in a first area of a menu page of each claim settlement link of each region from the at least one candidate column field template, wherein the display content of the first area corresponds to a claim settlement link and a service type to which the menu page belongs;

[0151] A fourth obtaining module (not shown in the figure), configured to obtain a service table associated with each claim settlement link, wherein the service table includes a service column field and a corresponding value of a service of at least one service type in the corresponding claim settlement link;

[0152] A matching module (not shown in the figure), configured to, based on a service type to which each menu page of each region belongs, respectively associate and match each first column field of each menu page with service data in each service table to generate first column field configuration information of the menu page.

[0153] Optionally, the first column field configuration information includes at least one of the following:

[0154] Each first column field to be displayed in the menu page;

[0155] A first business table identifier to which each first column field respectively belongs;

[0156] A first field identifier corresponding to each first column field in the first business table to which the first column field belongs;

[0157] A data type of a field value corresponding to each first column field.

[0158] Optionally, the generating module 804 is specifically configured to:

[0159] Determine, based on each first column field, a first column field layout in the first area;

[0160] Match, based on the data type of the field value corresponding to each first column field, a data formatting method corresponding to each first column field;

[0161] Generate the menu page based on the first column field layout, each first column field and the data formatting method matched with the first column field, and the second area content preset in the menu page.

[0162] Optionally, the generating module 804 is further configured to:

[0163] Obtain a container width parameter of the first area and a column field display style of the first area, wherein the column field display style includes a font and a font size;

[0164] Determine a pixel width of each first column field based on the column field display style;

[0165] Determine a display column width of each first column field in the first area based on the container width parameter and the pixel width of each first column field;

[0166] Determine the first column field layout in the first area based on the display column width of each first column field.

[0167] The functions and specific implementation principles of the above modules in the embodiments of the present disclosure can refer to the above method embodiments, which will not be described here again.

[0168] In the present disclosure, first, in response to a menu page generation instruction, a first region identifier, a first business type and a first claim settlement link corresponding to the menu page included in the instruction are acquired, then based on the first region identifier, the first business type and the first claim settlement link, preset first column field configuration information of a first area in the menu page is acquired, then the first column field configuration information is parsed to determine each first column field to be displayed in the first area, and finally based on each first column field and preset second area content of the menu page, the menu page is generated. Therefore, by acquiring column field configuration information of a table area of a menu page based on a region identifier, a business type and a claim settlement link of the menu page to be generated, and based on the configuration information, determining column fields to be displayed in the table area, and based on the column fields and other area content preset in the menu page, generating the menu page, it is not necessary to generate the menu page by adjusting page codes, thereby reducing workload and improving the efficiency of menu page generation.

[0169] Figure 9 A structural schematic diagram of a data query device provided by an embodiment of the present disclosure is provided.

[0170] As shown in Figure 9 , the data query device 900 can include:

[0171] The fifth acquisition module 901 is configured to, in a case where a data query request of a menu page is received, acquire a second region identifier, a second business type, a second claim settlement link and a query condition included in the request.

[0172] The sixth acquisition module 902 is configured to acquire second column field configuration information of a first area of the menu page based on the second region identifier, the second business type and the second claim settlement link, wherein the second column field configuration information includes a second business table identifier to which each second column field respectively belongs, and a second field identifier corresponding to the second column field in the second business table to which the second column field belongs.

[0173] The seventh acquisition module 903 is configured to splice the second column field configuration information and the query condition to obtain a corresponding query statement.

[0174] The eighth acquisition module 904 is configured to query field values of the second column fields in the second business tables based on the query statement to obtain a query result.

[0175] The processing module 905 is configured to return the query result to the menu page and display the field values of the second column fields in the first area of the menu page.

[0176] The functions and specific implementation principles of the above modules in the present embodiment are referable to the above method embodiments, which will not be described herein again.

[0177] In the present disclosure, in the case that a data query request of a menu page is received, the second region identifier, the second business type, the second claim link and the query condition included in the request are first acquired, and the second column field configuration information of the first region of the menu page is acquired based on the second region identifier, the second business type and the second claim link, then the second column field configuration information and the query condition are spliced to obtain a corresponding query statement, after that, the field values of the second column fields in each second business table are queried based on the query statement to obtain a query result, finally the query result is returned to the menu page, and the field values of each second column field are displayed in the first region of the menu page. Thus, when data query of the menu page is performed, the column field configuration information of the menu page and the query condition are spliced to perform query to obtain a query result, thereby effectively avoiding that the background system queries data of all column fields, improving resource utilization, and improving the efficiency and accuracy of data query.

[0178] Figure 10 A block diagram illustrating an exemplary electronic device suitable for implementing an embodiment of the present disclosure is shown.

[0179] Figure 10 The electronic device 12 shown is merely one example and should not be taken as limiting the scope of functionality or use of embodiments of the present disclosure.

[0180] As shown in Figure 10 The electronic device 12 is in the form of a general purpose computing device. Components of the electronic device 12 can include, but are not limited to, one or more processors or processing units 16, a memory 28, and a bus 18 that connects the various system components, including the memory 28 and the processing unit 16. The bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics bus (e.g., a graphics bus available from Symbios Logic Inc., or ATI Technologies Inc.), a processor or local bus using any of a variety of bus architectures (e.g., Industry Standard Architecture (ISA), Micro Channel Architecture (MCA), Enhanced ISA (EISA), Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus).

[0181] Electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that is accessible by electronic device 12 and includes both volatile and non- volatile media, removable and non-removable media.

[0182] Memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache 32. Electronic device 12 can further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a "hard drive"). Figure 10

[0183] Although Figure 10 not shown in FIG. 1, a disk drive, a CD-ROM drive, a DVD- ROM drive, or a tape drive, among others, can be provided for reading from or writing to a removable, non- volatile recording medium, such as a

[0184] Program / utility 40 having a set (at least one) of program modules 42 can be stored in, for example, memory 28 by way of example, such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination thereof, which can include implementation of the network environment. Program modules 42 generally carry out the functions and / or methodologies of embodiments of the disclosure as described herein.

[0185] ​The electronic device 12 can also communicate with one or more external devices 14 such as a keyboard, a pointing device, a display 24, etc.; and can communicate with one or more devices that enable human interaction with the electronic device 12 and / or one or more devices that enable interaction with other computing devices. Such communication can occur via an input / output (I / O) interface 22. Still yet, the electronic device 12 can communicate with one or more networks such as a local area network (LAN), a wide area network (WAN), and / or the Internet through a network adapter 20. As an example, the network adapter 20 can include a modem, a network card (wireless or wired), or other well-known interface devices. The network adapter 20 can enable the electronic device 12 to communicate with other devices and / or systems through the Internet, for example. It should be appreciated that the network adapter 20 can be communicatively coupled to the other components of the electronic device 12 through a bus 18, as shown, although the network adapter 20 can be directly coupled to the other components as well. It should be appreciated that other hardware and / or software modules can be used in conjunction with the electronic device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.

[0186] The processing unit 16 performs various function applications and parameter information determinations by running programs stored in the memory 28, such as implementing the menu page generation method and the data query method mentioned in the foregoing embodiments.

[0187] To implement the above embodiments, the disclosure further proposes a non-transitory computer readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the menu page generation method and the data query method proposed in the foregoing embodiments of the disclosure.

[0188] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. It is intended that the disclosure be construed as including any variations, uses or adaptations of the specific embodiments following, including equivalents thereof, following the general principles of the disclosure and including within its scope the known or customary practice in the art to which the disclosure pertains. The specification and examples given are considered exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

[0189] It should be understood that the present disclosure is not limited to the precise structures herein described and illustrated in the drawings, and that various modifications and changes can be made therein without departing from the scope thereof. The scope of the present disclosure is indicated by the appended claims, rather than by the specification.

[0190] It should be noted that, in the description of the disclosure, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the disclosure, the meaning of "a plurality of" is two or more, unless otherwise specified.

[0191] Any processes or methods described in the flow charts or elsewhere in this disclosure can be understood as representing one or more modules, segments, or portions of code that include executable instructions for performing specific logical functions or steps in the processes. The scope of preferred embodiments of the present disclosure includes alternative implementations of the described processes or methods, in which the order of steps can be changed, additional steps can be added, or some steps can be omitted or combined, and in which the responsible functionality can be performed at least in part by different components or in substantially simultaneous fashion.

[0192] It should be understood that various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, and as in another embodiment, any of the following technologies or their combination can be used: discrete logic circuitry having logic gates for implementing logic functions on data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.

[0193] Those skilled in the art of the present technology can understand that all or part of the steps carried out by the above-mentioned embodiments can be completed by a program instructing the relevant hardware, and the program can be stored in a computer-readable storage medium, and when executed, includes one or a combination of steps of the method embodiments.

[0194] In addition, each functional unit in each embodiment of the present disclosure can be integrated into one processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be realized in the form of hardware or in the form of a software functional module. When the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0195] The above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.

[0196] In the description of the specification, the description of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present disclosure. In the specification, the illustrative expressions of the above terms do not necessarily mean the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0197] Although the embodiments of the present disclosure have been shown and described above, it is understood that the above-described embodiments are exemplary and are not to be construed as limiting the present disclosure, and those skilled in the art can make changes, modifications, replacements and variations to the above-described embodiments within the scope of the present disclosure.

Claims

1. A menu page generation method, characterized in that: include: In response to a menu page generation instruction, obtaining a first region identifier, a first business type, and a first claim settlement link corresponding to the menu page included in the instruction; Based on the first region identifier, the first business type, and the first claim settlement step, obtaining preset first column field configuration information of the first area in the menu page; Parsing the first column field configuration information to determine each first column field to be displayed in the first area; The menu page is generated based on each of the first column fields and the second area content preset on the menu page.

2. The method according to claim 1, wherein The method for generating the first column of field configuration information includes: Obtain at least one candidate column field template classified according to a preset claim settlement link type, wherein the candidate column field template includes at least one candidate column field set associated with a business type; Based on the business requirements of the at least one business type in each preset region, determining, from the at least one candidate column field template, each first column field displayed in the first area of ​​the menu page for each claim stage in each region, wherein the display content of the first area corresponds to the claim stage and business type to which the menu page belongs; Obtaining a business table associated with each of the claims processing stages, wherein the business table contains business column fields and corresponding values ​​of the at least one business type under the corresponding claims processing stage; Based on the business type of each menu page in each region, each first column field of each menu page is associated and matched with the business data in each business table to generate first column field configuration information of the menu page.

3. The method according to any one of claims 1-2, characterized in that The first column of field configuration information includes at least one of the following: Each first column field to be displayed in the menu page; an identifier of the first business table to which each of the fields in the first column belongs; A first field identifier corresponding to each of the first column fields in the first business table to which it belongs; The data type of the field value corresponding to each field in the first column.

4. The method according to claim 3, wherein The step of generating the menu page based on each of the first column fields and the preset second area content of the menu page includes: determining a first column field layout in the first region based on each of the first column fields; Based on the data type of the field value corresponding to each field in the first column, matching the corresponding field value data formatting method to each field in the first column; The menu page is generated based on the first column field layout, the data formatting method matching each first column field therewith, and the preset second area content of the menu page.

5. The method according to claim 4, wherein The determining, based on each of the first column fields, a first column field layout in the first region includes: Acquire a container width parameter of the first region and a column field display style of the first region, wherein the column field display style includes a font style and a font size; Determining a pixel width of each of the first column fields based on the column field display style; Determine a display column width of each first column field in the first area based on the container width parameter and the pixel width of each first column field; A first column field layout in the first area is determined based on the displayed column width of each first column field.

6. A data query method, characterized in that: include: When receiving a data query request from the menu page, obtaining the second region identifier, the second business type, the second claim settlement link, and the query condition included in the request; Based on the second region identifier, the second business type, and the second claim settlement step, obtaining second column field configuration information for the first area of ​​the menu page, wherein the second column field configuration information includes a second business table identifier to which each second column field belongs, and a second field identifier corresponding to the second column field in the second business table to which the second column field belongs; Concatenate the second column field configuration information and the query condition to obtain a corresponding query statement; Based on the query statement, query the field value of the second column field in each of the second business tables to obtain a query result; The query result is returned to the menu page, and the field value of each second column field is displayed in the first area of ​​the menu page.

7. A menu page generating device, characterized in that: include: A first acquisition module is configured to, in response to a menu page generation instruction, acquire a first region identifier, a first business type, and a first claim settlement link corresponding to the menu page included in the instruction; A second acquisition module is configured to acquire preset first column field configuration information of a first area in the menu page based on the first region identifier, the first business type, and the first claim settlement step; A first determining module, configured to parse the first column field configuration information and determine each first column field to be displayed in the first area; A generating module is used to generate the menu page based on each of the first column fields and the preset second area content of the menu page.

8. A data query device, characterized in that: include: A fifth acquisition module is configured to, upon receiving a data query request on the menu page, acquire the second region identifier, the second business type, the second claim settlement link, and the query condition included in the request; a sixth acquisition module, configured to acquire, based on the second region identifier, the second business type, and the second claims settlement step, second column field configuration information for the first area of ​​the menu page, wherein the second column field configuration information includes a second business table identifier to which each second column field belongs, and a second field identifier corresponding to the second column field in the second business table to which the second column field belongs; a seventh acquisition module, configured to concatenate the second column field configuration information and the query condition to obtain a corresponding query statement; an eighth acquisition module, configured to query the field value of the second column field in each of the second business tables based on the query statement to obtain a query result; The processing module is configured to return the query result to the menu page and display the field value of each field in the second column in the first area of ​​the menu page.

9. An electronic device, characterized in that: include: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions that may be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the menu page generation method described in any one of claims 1 to 5, or the data query method described in claim 6.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable the computer to execute the menu page generation method according to any one of claims 1 to 5, or the data query method according to claim 6.