Service parameter configuration method and device, equipment and storage medium

By using attribute definition tables and parameter value tables in the business system and combining the attribute parameter configuration interface, the problem of inflexible increase in attribute parameters and parameter values ​​in the business system is solved, and the flexibility and adaptability of the business system are improved.

CN119003520APending Publication Date: 2024-11-22CHINA CONSTRUCTION BANK +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411007842.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

In business systems, it is difficult for the existing technology to flexibly increase the attribute parameters and parameter values ​​of business objects in business scenarios, and cannot meet the ever-changing business needs.

Method used

Through the attribute definition table and parameter value table, we save and obtain the attribute parameters and parameter values ​​of the target business object in the target business scenario, and provide the attribute parameter configuration interface, allowing maintenance personnel to add and modify attribute parameters and parameter values ​​in the interface. Dynamically update the attribute definition table and parameter value table.

Benefits of technology

It realizes flexible addition and modification of business object attribute parameters and parameter values, improves the adaptability and maintenance efficiency of the business system, and meets the changing business needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003520A_ABST
    Figure CN119003520A_ABST
Patent Text Reader

Abstract

The invention provides a service parameter configuration method and device, equipment and a storage medium. Relates to the technical field of computers. The method comprises the steps of storing a first attribute parameter of a target business object in a target business scene through an attribute definition table, storing a first parameter value of the first attribute parameter of the target business object in the target business scene through a parameter value table, and providing an attribute parameter configuration interface, and acquiring a second attribute parameter newly added in the attribute parameter configuration interface and a corresponding second parameter value, and adding the second attribute parameter in the attribute definition table and adding the second attribute parameter and a corresponding first parameter value in the parameter value table according to the target business object and the target business scene. Therefore, maintenance personnel can conveniently add the second attribute parameter in the attribute definition table and add the parameter value of the second attribute parameter in the parameter value table through the attribute configuration parameter interface, and the effect of flexibly adding the second attribute parameter and the corresponding parameter value is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a service parameter configuration method, device, equipment and storage medium. Background Art

[0002] In a business system, the attribute parameters corresponding to a business object in a business scenario are usually not fixed, but may change with the development of the business. For example, when a business object needs to add attribute parameters and corresponding parameter values ​​in a corresponding business scenario, how to flexibly add attribute parameters and corresponding parameter values ​​in the business system is the key to ensure that the business system can adapt to changing business needs. Summary of the invention

[0003] The present application provides a business parameter configuration method, apparatus, device and storage medium, which are used to solve the problem of adding attribute parameters and parameter values ​​inflexible in the business system in the related art.

[0004] In a first aspect, the present application provides a business parameter configuration method, the method comprising: displaying a first attribute parameter and a corresponding first parameter value of a target business object in a target business scenario, wherein the first attribute parameter is obtained from an attribute definition table according to the target business object and the target business scenario, and the first parameter value is obtained from a parameter value table according to the target business object, the target business scenario and the first attribute parameter; in response to an add request for adding an attribute parameter to the target business object, displaying an attribute parameter configuration interface; obtaining a second attribute parameter newly added in the attribute parameter configuration interface and a corresponding second parameter value; and according to the target business object and the target business scenario, adding the second attribute parameter in the attribute definition table, and adding the second attribute parameter and the corresponding second parameter value in the parameter value table.

[0005] In a second aspect, the present application provides a business parameter configuration device, the device comprising: a first display module, used to display a first attribute parameter and a corresponding first parameter value of a target business object in a target business scenario, wherein the first attribute parameter is obtained from an attribute definition table according to the target business object and the target business scenario, and the first parameter value is obtained from a parameter value table according to the target business object, the target business scenario and the first attribute parameter; a second display module, used to respond to an add request for adding an attribute parameter for the target business object, and display an attribute parameter configuration interface; an acquisition module, used to acquire a newly added second attribute parameter and a corresponding second parameter value in the attribute parameter configuration interface; a processing module, used to add the second attribute parameter for the target business object in the attribute definition table, and add the second attribute parameter corresponding to the target business object and the corresponding second parameter value in the parameter value table.

[0006] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the business parameter configuration method disclosed in an embodiment of the present application.

[0007] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the business parameter configuration method disclosed in the embodiment of the present application.

[0008] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the business parameter configuration method disclosed in the embodiment of the present application.

[0009] The technical solution of this application has the following advantages or beneficial effects:

[0010] The first attribute parameter of the target business object in the target business scenario is saved through the attribute definition table, and the first parameter value of the first attribute parameter of the target business object in the target business scenario is saved through the parameter value table. In addition, according to the request for adding attribute parameters, an attribute parameter configuration interface can be provided, and the newly added second attribute parameter and the corresponding second parameter value in the attribute parameter configuration interface can be obtained. In addition, according to the target business object and the target business scenario, the second attribute parameter is added to the attribute definition table, and the second attribute parameter and the corresponding second parameter value are added to the parameter value table. As a result, the corresponding maintenance personnel can easily add the second attribute parameter of the target business object in the target business scenario in the attribute definition table through the attribute configuration parameter interface, and add the parameter value of the second attribute parameter in the parameter value table, thereby achieving the effect of flexibly adding the second attribute parameter and the corresponding parameter value. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0012] Figure 1 The process of the service parameter configuration method provided in the embodiment of the present application Figure 1 ;

[0013] Figure 2 The process of the service parameter configuration method provided in the embodiment of the present application Figure 2 ;

[0014] Figure 3 The process of the service parameter configuration method provided in the embodiment of the present application Figure 3 ;

[0015] Figure 4 The process of the service parameter configuration method provided in the embodiment of the present application Figure 4 ;

[0016] Figure 5 A schematic diagram of the structure of a service parameter configuration device provided in an embodiment of the present application;

[0017] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0018] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0019] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0020] It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of relevant laws and regulations.

[0021] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0022] In the related art, in a business system, the attribute parameters corresponding to a business object in a business scenario are usually written into the code of the business system. However, in this way, when a business object needs to add new attribute parameters and corresponding parameter values ​​in a business scenario, parameter maintenance personnel need to modify the code of the business system, which cannot flexibly add new attribute parameters and corresponding parameter values, and cannot meet the ever-changing parameter update needs.

[0023] In order to achieve the effect of flexibly adding new attribute parameters and corresponding parameter values, the present application proposes a business parameter configuration method, which proposes the following technical ideas: using an attribute definition table to save the first attribute parameter of the target business object in the target business scenario, and using a parameter value table to save the first parameter value of the first attribute parameter of the target business object in the target business scenario, and providing an attribute parameter configuration interface according to a request to add an attribute parameter, and obtaining the newly added second attribute parameter and the corresponding second parameter value in the attribute parameter configuration interface, and adding the second attribute parameter in the attribute definition table according to the target business object and the target business scenario, and adding the second attribute parameter and the corresponding second parameter value in the parameter value table. As a result, the corresponding maintenance personnel can easily add the second attribute parameter of the target business object in the target business scenario in the attribute definition table through the attribute configuration parameter interface, and add the parameter value of the second attribute parameter in the parameter value table, thereby achieving the effect of flexibly adding the second attribute parameter and the corresponding parameter value.

[0024] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0025] First combine Figure 1 , an exemplary description is given of the business parameter configuration method provided in the embodiment of the present application.

[0026] Figure 1 The process of the service parameter configuration method provided in the embodiment of the present application Figure 1 .

[0027] It should be noted that the service parameter configuration method provided in the embodiment of the present application can be executed by a service parameter configuration device, wherein the service parameter configuration device can be configured in a service system. The service system in this embodiment can be configured in an electronic device.

[0028] Among them, the electronic device can be any device with computing capabilities, such as a personal computer, a mobile terminal, a server, etc. The mobile terminal can be, for example, a mobile phone, a tablet computer, a personal digital assistant, and other hardware devices with various operating systems, touch screens and / or display screens.

[0029] like Figure 1 As shown, the service parameter configuration method includes the following steps:

[0030] S101, displaying a first attribute parameter of a target business object in a target business scenario and a corresponding first parameter value, wherein the first attribute parameter is obtained from an attribute definition table according to the target business object and the target business scenario, and the first parameter value is obtained from a parameter value table according to the target business object, the target business scenario and the first attribute parameter.

[0031] The target business object may be any business object in the business system, for example, the business system is a financial general ledger system of a financial institution, and correspondingly, the target business object may be an account set, which is not specifically limited in this embodiment. The account set in this example represents an independent accounting entity, such as different companies, branches, etc.

[0032] The target business scenario may be any one of the multiple business scenarios in which the business object is located in the business system. For example, the business system is the financial general ledger system of a financial institution, the target business object may be an account set, and correspondingly, the target business scenario may be income tax provision. For another example, the business system is the financial general ledger system of a financial institution, the target business object may be a transaction record, and the business scenario is a value-added tax calculation scenario. It is understood that in the value-added tax calculation scenario, it is necessary to use a preset tax rate in combination with the source of the transaction record and the accounting subject to separate the price and tax.

[0033] In this embodiment, in order to improve the efficiency of obtaining the first attribute parameter, a possible implementation method of obtaining the first attribute parameter from the attribute definition table according to the target business object and the target business scenario is: obtaining the primary key of the target business object in the target business scenario from the primary key definition table; and obtaining the first attribute parameter from the attribute definition table according to the primary key.

[0034] It can be understood that in this embodiment, an independent primary key definition table is used to store the primary keys of business objects in different business scenarios, which can facilitate subsequent modification of the primary keys of corresponding business objects in corresponding business scenarios based on business needs.

[0035] It should be noted that the primary key definition table in this example not only stores the primary keys of business objects in different business scenarios, but also stores the field names corresponding to the primary keys, the data types corresponding to the field names, and the description information corresponding to the field names.

[0036] It should be noted that the primary key is a field or a group of fields used to uniquely identify the target business object in the target business scenario, wherein the primary key of the business object may be different in different business scenarios. For example, the business system is the financial general ledger system of a financial institution, the target business object may be an account set, and correspondingly, the target business scenario may be income tax provision, and the primary key corresponding to an account set in the income tax provision scenario may be the account set identifier (ID, IDentifier) ​​corresponding to the account set. For another example, the business system is the financial general ledger system of a financial institution, the target business object may be a transaction record, and the business scenario is a value-added tax calculation scenario. In this business scenario, the primary key of the transaction record in this business scenario may be a composite primary key composed of the two fields of source and accounting subject corresponding to the transaction record.

[0037] In one embodiment of the present application, when there is a need to display the first attribute parameter of the target business object in the target business scenario and the corresponding first parameter value, a parameter display request can be sent to the business parameter configuration device accordingly, wherein the parameter display request is used to request to display the first attribute parameter of the target business object in the target business scenario and the corresponding first parameter value, and correspondingly, the business parameter configuration device responds to the request, obtains the primary key corresponding to the target business object and the target business scenario from the primary key definition table, obtains the first attribute parameter corresponding to the primary key from the attribute definition table, and obtains the first parameter value from the parameter value table according to the target business object, the target business scenario and the first attribute parameter.

[0038] It can be understood that the first attribute parameter corresponding to the primary key is the first attribute parameter of the target business object in the target business scenario.

[0039] In one embodiment of the present application, a possible implementation method of obtaining the first parameter value from a parameter value table based on the target business object, the target business scenario and the first attribute parameter is: the parameter value corresponding to the target business object, the target business scenario and the first attribute parameter can be obtained from the parameter value table, and the obtained parameter value is used as the first parameter value corresponding to the first attribute parameter.

[0040] In another embodiment of the present application, a possible implementation method for obtaining the first parameter value from a parameter value table based on the target business object, the target business scenario and the first attribute parameter is: from the primary key value table corresponding to the primary key, determine the primary key value of the primary key corresponding to the target business object in the target business scenario, and obtain the parameter value corresponding to the primary key value and the first attribute parameter from the parameter value table, and the obtained parameter value is the first parameter value corresponding to the first attribute parameter.

[0041] S102, in response to a request to add attribute parameters to a target business object, display an attribute parameter configuration interface.

[0042] In this embodiment, the first attribute parameter and the corresponding first parameter value of the target business object in the target business scenario can be displayed in the display interface. Correspondingly, the display interface can also include a button for adding attribute parameters. Correspondingly, after the button is triggered, the business parameter configuration device will receive an increase request for adding attribute parameters for the target business object, and respond to the increase request to display the attribute parameter configuration interface.

[0043] S103, obtaining a second attribute parameter newly added in the attribute parameter configuration interface and a corresponding second parameter value.

[0044] It can be understood that in different application scenarios, the second parameter value of the second attribute parameter is obtained in different ways, which are exemplarily described as follows:

[0045] As an example, when the second attribute parameter is an attribute parameter selected from a preset attribute parameter set, multiple candidate parameter values ​​of the second attribute parameter are displayed on the attribute parameter configuration interface, and a second target parameter value selected from the multiple candidate parameter values ​​is obtained, and the second target parameter value is used as the second parameter value. Thus, the corresponding personnel can quickly select the second attribute parameter from the existing attribute parameter set, and quickly determine the first parameter value of the second attribute parameter from the displayed multiple candidate parameter values, which facilitates the corresponding personnel to quickly set the second attribute parameter and the corresponding first parameter value, and improves the efficiency of setting the second attribute parameter and the corresponding first parameter value.

[0046] Specifically, a preset attribute parameter set can be displayed in the attribute parameter configuration interface to facilitate the user to select the second attribute parameter to be newly added from the preset attribute parameter set. Correspondingly, when the user selects the second attribute parameter from the preset attribute parameter set, multiple candidate parameter values ​​of the second attribute parameter can be displayed in the attribute parameter configuration interface, and a second target parameter value selected from the multiple candidate parameter values ​​can be obtained, and the second target parameter value can be used as the second parameter value of the second attribute parameter.

[0047] As another example, when the second attribute parameter is not an attribute parameter in the attribute parameter set, that is, when it is determined that the second attribute parameter is a custom parameter, the parameter value entered in the attribute parameter configuration interface is obtained, and the entered parameter value is used as the second parameter value. Thus, the corresponding personnel can customize the second attribute parameter and the parameter value of the second attribute parameter according to business needs, further improving the flexibility of setting the second attribute parameter and the corresponding parameter value, and meeting the personalized needs of customizing the newly added attribute parameters and parameter values.

[0048] S104, according to the target business object and the target business scenario, add a second attribute parameter to the attribute definition table, and add a second attribute parameter and a corresponding second parameter value to the parameter value table.

[0049] In this embodiment, according to the target business object and the target business scenario, a second attribute parameter is added to the attribute definition table, and according to the target business object and the target business scenario, a second attribute parameter and a corresponding second parameter value are added to the parameter value table.

[0050] In one embodiment of the present application, the primary key used by the target business object in the target business scenario can be determined from the primary key definition table, and the second attribute parameter corresponding to the primary key can be added from the attribute definition table, and the primary key value of the primary key used by the target business object in the target business scenario can be determined, and the second attribute parameter corresponding to the primary key value and the corresponding second parameter value can be added from the parameter value table.

[0051] For example, in the case where the business system is a financial general ledger system of a financial institution, the target business object may be account set 1, and the target business scenario may be income tax provision, assuming that the primary key used by account set 1 in the income tax provision scenario is the account set number, and the primary key value of the account set number of account set 1 (i.e., the primary key value of the primary key of account set 1) is account set number 1, before adding the second attribute parameter in the attribute definition table, an example of the attribute definition table is shown in Table 1; correspondingly, before adding the second attribute parameter and the corresponding second parameter value in the parameter value table, the parameter value table is shown in Table 2; assuming that the second attribute parameter is an accounting institution (using RSPCNT_ID to represent the accounting institution), the parameter value of the accounting institution is accounting institution 2; correspondingly, after adding the second attribute parameter to the attribute definition table, an example of the corresponding attribute definition table is shown in Table 3. Correspondingly, the second attribute parameter and the corresponding parameter value are added to the parameter value table, and an example of the corresponding parameter value table is shown in Table 4.

[0052] Table 1 Attribute definition table

[0053]

[0054] Table 2 Parameter value table;

[0055] Primary key value of the primary key ACGITM_DR ACGITM_CR TAX_RATE Account number 1 Expense Item 1 Taxable items 2 10%

[0056] Table 1 Attribute definition table

[0057]

[0058] Table 4 parameter value table;

[0059] Primary key value of the primary key ACGITM_DR ACGITM_CR TAX_RATE RSPCNT_ID Account number 1 Expense Item 1 Taxable items 2 10% Bookkeeping Agency 1

[0060] It should be noted that, in this example, the first attribute parameter includes: ACGITM_DR, ACGITM_CR and TAX_RATE, wherein ACGITM_DR represents the expense account; ACGITM_CR represents the taxable account; and TAX_RATE represents the tax rate.

[0061] The business parameter configuration method provided in the embodiment of the present application saves the first attribute parameter of the target business object in the target business scenario through the attribute definition table, and saves the first parameter value of the first attribute parameter of the target business object in the target business scenario through the parameter value table, and can provide an attribute parameter configuration interface according to the request for adding attribute parameters, and obtain the newly added second attribute parameter and the corresponding second parameter value in the attribute parameter configuration interface, and add the second attribute parameter in the attribute definition table according to the target business object and the target business scenario, and add the second attribute parameter and the corresponding second parameter value in the parameter value table. As a result, the corresponding maintenance personnel can easily add the second attribute parameter of the target business object in the target business scenario in the attribute definition table and add the parameter value of the second attribute parameter in the parameter value table through the attribute configuration parameter interface, thereby achieving the effect of flexibly adding the second attribute parameter and the corresponding parameter value.

[0062] Figure 2 The process of the service parameter configuration method provided in the embodiment of the present application Figure 2 .

[0063] like Figure 2 As shown, the service parameter configuration method includes the following steps:

[0064] S201, displaying the first attribute parameter of the target business object in the target business scenario and the corresponding first parameter value, wherein the first attribute parameter is obtained from the attribute definition table according to the target business object and the target business scenario, and the first parameter value is obtained from the parameter value table according to the target business object, the target business scenario and the first attribute parameter.

[0065] S202: In response to a request to add an attribute parameter to a target business object, display an attribute parameter configuration interface.

[0066] S203: Acquire the second attribute parameter newly added in the attribute parameter configuration interface and the corresponding second parameter value.

[0067] S204: Add a second attribute parameter to the attribute definition table, and add a second attribute parameter and a corresponding second parameter value to the parameter value table according to the target business object and the target business scenario.

[0068] It should be noted that, for the specific description of S201-S204, reference can be made to the relevant description in other embodiments, which will not be repeated here.

[0069] S205: Receive a modification request, where the modification request is used to request to modify the first target parameter value to a third parameter value.

[0070] In this embodiment, the first attribute parameter and the corresponding first parameter value of the target business object in the target business scenario can be displayed in the display interface, and the modification operation entered by the corresponding user in the display interface can be obtained, and based on the modification operation, a corresponding modification request can be generated, and the modification request can be sent to the business parameter configuration device. Correspondingly, the business parameter configuration device receives the modification request.

[0071] Among them, it should be noted that the modification operation can be input by the corresponding user by triggering the modification button corresponding to the first parameter value or the second parameter value in the display interface. Correspondingly, the modification button corresponding to the first parameter value or the second parameter value is triggered, and the corresponding input area for input can be displayed in the display interface, and the parameter value entered in the input area is obtained, and the parameter value entered in the input area is used as the third parameter value.

[0072] S206: In response to the modification request, modify the first target parameter value in the parameter value table to a third parameter value.

[0073] In this embodiment, the corresponding personnel can conveniently modify the parameter values ​​of the attribute parameters of the target business object in the target business scenario by sending a modification request, thereby improving the flexibility of modifying the parameter values ​​of the attribute parameters.

[0074] Figure 3 The process of the service parameter configuration method provided in the embodiment of the present application Figure 3 .

[0075] like Figure 3 As shown, the service parameter configuration method includes the following steps:

[0076] S301, displaying the first attribute parameter of the target business object in the target business scenario and the corresponding first parameter value, wherein the first attribute parameter is obtained from the attribute definition table according to the target business object and the target business scenario, and the first parameter value is obtained from the parameter value table according to the target business object, the target business scenario and the first attribute parameter.

[0077] In this embodiment, the first attribute parameter of the target business object in the target business scenario and the corresponding first parameter value may be displayed through the display interface.

[0078] S302: In response to a request to add an attribute parameter to a target business object, an attribute parameter configuration interface is displayed.

[0079] S303: Acquire the second attribute parameter newly added in the attribute parameter configuration interface and the corresponding second parameter value.

[0080] S304: According to the target business object and the target business scenario, add a second attribute parameter to the attribute definition table, and add a second attribute parameter and a corresponding second parameter value to the parameter value table.

[0081] It should be noted that, for the specific description of S302-S304, reference can be made to the relevant description in other embodiments, which will not be repeated here.

[0082] S305: Receive a deletion request, where the deletion request is used to request deletion of a first target attribute parameter, where the first target attribute parameter includes: a first attribute parameter and / or a second attribute parameter.

[0083] In this embodiment, after successfully adding the second attribute parameter in the attribute definition table and successfully adding the second attribute parameter and the corresponding second parameter value in the parameter value table, the display interface can also be updated so that the updated display interface displays the parameter values ​​corresponding to the first attribute parameter and the second attribute parameter. Correspondingly, a deletion operation input by the user in the updated display interface is obtained, and based on the deletion operation, a corresponding deletion request is generated, and the deletion request is sent to the service parameter configuration device.

[0084] S306: In response to the deletion request, the first target attribute parameter in the attribute definition table is deleted, and the first target attribute parameter and the corresponding parameter value in the parameter value table are deleted.

[0085] In this embodiment, the corresponding personnel can conveniently delete the attribute parameters of the target business object in the target business scenario by sending a deletion request, thereby improving the flexibility of modifying the attribute parameters.

[0086] Figure 4 The process of the service parameter configuration method provided in the embodiment of the present application Figure 4 .

[0087] like Figure 4 As shown, the service parameter configuration method includes the following steps:

[0088] S401, displaying the first attribute parameter of the target business object in the target business scenario and the corresponding first parameter value, wherein the first attribute parameter is obtained from the attribute definition table according to the target business object and the target business scenario, and the first parameter value is obtained from the parameter value table according to the target business object, the target business scenario and the first attribute parameter.

[0089] S402: In response to a request to add an attribute parameter to a target business object, an attribute parameter configuration interface is displayed.

[0090] S403: Acquire the second attribute parameter newly added in the attribute parameter configuration interface and the corresponding second parameter value.

[0091] S404: According to the target business object and the target business scenario, add a second attribute parameter to the attribute definition table, and add a second attribute parameter and a corresponding second parameter value to the parameter value table.

[0092] It should be noted that, for the specific description of S401-S404, reference may be made to the relevant description in other embodiments, which will not be repeated here.

[0093] S405: Receive an export request, where the export request is used to request export of a second target attribute parameter and a corresponding parameter value, where the second target attribute parameter includes: a first attribute parameter value and / or a second attribute parameter.

[0094] S406: In response to the export request, generate a parameter file including the second target attribute parameter and the corresponding parameter value.

[0095] In this embodiment, in order to meet the needs of the corresponding personnel to obtain parameter files of different file types, correspondingly, in response to the export request, multiple candidate file types are displayed; the target file type selected from the multiple candidate file types is obtained, and a parameter file containing the second target attribute parameter and the corresponding parameter value is generated, wherein the file type of the parameter file is the target file type. Thus, multiple file types are supported, and the corresponding personnel are satisfied with obtaining parameter files of different types.

[0096] Among them, the multiple candidate file types may include Excel, dat and other file types, and this embodiment does not specifically limit the candidate file types. For example, when the corresponding personnel have a need for parameter migration, the corresponding personnel can select the dat file type to perform subsequent parameter migration through the parameter file of the dat file type.

[0097] S407, export parameter file.

[0098] In this embodiment, correspondingly, the parameter file may be sent to the requesting end of the export request.

[0099] The requesting end refers to the terminal that sends the export request.

[0100] In this embodiment, the corresponding personnel can automatically export a parameter file containing the second target attribute parameters and the corresponding parameter values ​​based on the export request, thereby improving the efficiency and reliability of operation and maintenance, and facilitating the corresponding personnel to perform other subsequent processing based on the exported parameter file. For example, the corresponding personnel can perform parameter backup, migration and other processing based on the exported parameter file.

[0101] Figure 5This is a schematic diagram of the structure of the service parameter configuration device provided in the embodiment of the present application. It should be noted that the device is configured in a service system, and the service system can be configured in an electronic device.

[0102] like Figure 5 As shown, the service parameter configuration device 500 may include:

[0103] The first display module 501 is used to display the first attribute parameter of the target business object in the target business scenario and the corresponding first parameter value, wherein the first attribute parameter is obtained from the attribute definition table according to the target business object and the target business scenario, and the first parameter value is obtained from the parameter value table according to the target business object, the target business scenario and the first attribute parameter.

[0104] The second display module 502 is used to respond to an adding request for adding attribute parameters to a target business object and display an attribute parameter configuration interface.

[0105] The acquisition module 503 is used to acquire the second attribute parameter newly added in the attribute parameter configuration interface and the corresponding second parameter value.

[0106] The processing module 504 is used to add a second attribute parameter to the attribute definition table and add a second attribute parameter and a corresponding second parameter value to the parameter value table according to the target business object and the target business scenario.

[0107] In one embodiment of the present application, the device may further include:

[0108] A modification module is used to receive a modification request, wherein the modification request is used to request to modify a first target parameter value to a third parameter value, wherein the first target parameter value is the first parameter value or the second parameter value; in response to the modification request, the first target parameter value in the parameter value table is modified to the third parameter value.

[0109] In one embodiment of the present application, when the second attribute parameter is a second attribute parameter selected from a preset attribute parameter set, the second parameter value is obtained in the following manner: displaying multiple candidate parameter values ​​of the second attribute parameter on the attribute parameter configuration interface; obtaining a second target parameter value selected from the multiple candidate parameter values, and using the second target parameter value as the second parameter value.

[0110] In one embodiment of the present application, when the second attribute parameter is not an attribute parameter in the attribute parameter set, the second parameter value is obtained by obtaining the parameter value input in the attribute parameter configuration interface and using the input parameter value as the second parameter value.

[0111] In one embodiment of the present application, the device may further include:

[0112] A deletion module is used to receive a deletion request, wherein the deletion request is used to request the deletion of a first target attribute parameter, wherein the first target attribute parameter includes: a first attribute parameter and / or a second attribute parameter; in response to the deletion request, the first target attribute parameter in the attribute definition table is deleted, and the first target attribute parameter and the corresponding parameter value in the parameter value table are deleted.

[0113] In one embodiment of the present application, the device may further include:

[0114] An export processing module is used to receive an export request, wherein the export request is used to request the export of a second target attribute parameter and a corresponding parameter value, wherein the second target attribute parameter includes: a first attribute parameter value and / or a second attribute parameter; in response to the export request, generate a parameter file containing the second target attribute parameter and the corresponding parameter value; and export the parameter file.

[0115] In one embodiment of the present application, in response to an export request, a parameter file containing a second target attribute parameter and corresponding parameter values ​​is generated in the following manner: in response to the export request, multiple candidate file types are displayed; a target file type selected from the multiple candidate file types is obtained, and a parameter file containing a second target attribute parameter and corresponding parameter values ​​is generated, wherein the file type of the parameter file is the target file type.

[0116] In one embodiment of the present application, the method for obtaining the first attribute parameter from the attribute definition table according to the target business object and the target business scenario is: obtaining the primary key of the target business object in the target business scenario from the primary key definition table; and obtaining the first attribute parameter from the attribute definition table according to the primary key.

[0117] The service parameter configuration device provided in the embodiment of the present application can be used to execute the technical solution of the service parameter configuration method in the above embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0118] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the processing module 504 can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The function of the above processing module 504. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0119] Figure 6 The electronic device in this embodiment may be a terminal device or a server.

[0120] like Figure 6 As shown, the electronic device may include: a transceiver 121 , a processor 122 , and a memory 123 .

[0121] The processor 122 executes the computer execution instructions stored in the memory, so that the processor 122 executes the scheme in the above embodiment. The processor 122 can be a general-purpose processor, including a central processing unit CPU, a network processor (network processor, NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0122] The memory 123 is connected to the processor 122 via a system bus and completes communication between them. The memory 123 is used to store computer program instructions.

[0123] The transceiver 121 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.

[0124] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.

[0125] An embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the business parameter configuration method in the above embodiment.

[0126] An embodiment of the present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the technical solution of the business parameter configuration method in the above embodiment.

[0127] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, the technical solution of the business parameter configuration method in the above embodiment can be implemented.

[0128] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0129] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for configuring business parameters, It is characterized in that The method comprises: Displaying a first attribute parameter of a target business object in a target business scenario and a corresponding first parameter value, wherein the first attribute parameter is obtained from an attribute definition table according to the target business object and the target business scenario, and the first parameter value is obtained from a parameter value table according to the target business object, the target business scenario and the first attribute parameter; In response to a request to add an attribute parameter to the target business object, display an attribute parameter configuration interface; Acquire the second attribute parameter newly added in the attribute parameter configuration interface and the corresponding second parameter value; According to the target business object and the target business scenario, the second attribute parameter is added to the attribute definition table, and the second attribute parameter and the corresponding second parameter value are added to the parameter value table.

2. The method according to claim 1, It is characterized in that The method further comprises: receiving a modification request, wherein the modification request is used to request to modify a first target parameter value to a third parameter value, wherein the first target parameter value is the first parameter value or the second parameter value; In response to the modification request, the first target parameter value in the parameter value table is modified to the third parameter value.

3. The method according to claim 1, It is characterized in that In the case where the second attribute parameter is an attribute parameter selected from a preset first attribute parameter set, the second parameter value is obtained in the following manner: Displaying a plurality of candidate parameter values ​​of the second attribute parameter on the attribute parameter configuration interface; A second target parameter value selected from the plurality of candidate parameter values ​​is obtained, and the second target parameter value is used as the second parameter value.

4. The method according to claim 1, It is characterized in that When the second attribute parameter is not an attribute parameter in the first attribute parameter set, the second parameter value is obtained in the following manner: The parameter value input in the attribute parameter configuration interface is obtained, and the input parameter value is used as the second parameter value.

5. The method according to claim 1, It is characterized in that The method further comprises: receiving a deletion request, wherein the deletion request is used to request deletion of a first target attribute parameter, wherein the first target attribute parameter includes: the first attribute parameter and / or the second attribute parameter; In response to the deletion request, the first target attribute parameter in the attribute definition table is deleted, and the first target attribute parameter and the corresponding parameter value in the parameter value table are deleted.

6. The method according to claim 1, It is characterized in that The method further comprises: receiving an export request, wherein the export request is used to request exporting a second target attribute parameter and a corresponding parameter value, wherein the second target attribute parameter includes: the first attribute parameter value and / or the second attribute parameter; In response to the export request, generating a parameter file including the second target attribute parameter and the corresponding parameter value; Export the parameter file.

7. The method according to claim 6, It is characterized in that The step of generating, in response to the export request, a parameter file including the second target attribute parameter and a corresponding parameter value, comprising: In response to the export request, displaying a plurality of candidate file types; A target file type selected from the plurality of candidate file types is obtained, and a parameter file including the second target attribute parameter and a corresponding parameter value is generated, wherein the file type of the parameter file is the target file type.

8. The method according to claim 1, It is characterized in that The method of acquiring the first attribute parameter from the attribute definition table according to the target business object and the target business scenario is: Obtaining the primary key of the target business object in the target business scenario from the primary key definition table; The first attribute parameter is obtained from the attribute definition table according to the primary key.

9. A service parameter configuration device, It is characterized in that The device comprises: A first display module is used to display a first attribute parameter of a target business object in a target business scenario and a corresponding first parameter value, wherein the first attribute parameter is obtained from an attribute definition table according to the target business object and the target business scenario, and the first parameter value is obtained from a parameter value table according to the target business object, the target business scenario and the first attribute parameter; A second display module, configured to respond to an adding request for adding attribute parameters to the target business object and display an attribute parameter configuration interface; An acquisition module, used to acquire a second attribute parameter newly added in the attribute parameter configuration interface and a corresponding second parameter value; A processing module is used to add the second attribute parameter to the attribute definition table and add the second attribute parameter and the corresponding second parameter value to the parameter value table according to the target business object and the target business scenario.

10. An electronic device, It is characterized in that include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.

12. A computer program product, It is characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.

Citation Information

Patent Citations

  • Method and system for dynamically configuring physical data table

    CN101504672A

  • Virtual dimension table construction method and device

    CN113901046A

  • Parameter management method and device, electronic equipment and storage medium

    CN115438113A

  • Service parameter configuration method and device, equipment, storage medium and program product

    CN117114836A