Business data configuration method, device, computer equipment and storage medium

By matching business data parameters and metadata, the problem of low efficiency in business data configuration in traditional technology is solved, efficient configuration of complex business systems is achieved, and costs are reduced.

CN118917877BActive Publication Date: 2024-12-31HANGZHOU PINGPONG INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411408653.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2024-12-31
Estimated Expiration
2044-10-10

AI Technical Summary

Technical Problem

In complex business systems, traditional technology requires the configuration of business data separately for each business scenario, resulting in high time and labor costs and low data configuration efficiency.

Method used

By obtaining the service data to be configured, determining its data category and service data parameters, matching the metadata of the preset business application dimensions, and determining the target service data parameters based on the metadata and business data parameters, achieving efficient configuration of multiple service application dimensions.

Benefits of technology

It improves data configuration efficiency, saves time and labor costs, and realizes efficient configuration of a large number of different business application dimensions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917877B_ABST
    Figure CN118917877B_ABST
Patent Text Reader

Abstract

The present application relates to a business data configuration method, device, computer equipment and storage medium. The method includes: obtaining multiple business data to be configured; determining at least one data category of the multiple business data to be configured, and determining the business data parameters corresponding to each data category; determining metadata matching at least one preset business application dimension, and determining a first target business data parameter matching each preset business application dimension based on the business data parameter and the metadata; configuring the business data to be configured based on the preset business application dimension and the first target business data parameter. The present application can realize efficient configuration of a large number of business data of different business application dimensions, saving a lot of time and labor costs, and effectively improving data configuration efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In complex business systems, the final business results are usually determined based on the parameters of various business data, and the values ​​of the parameters are usually determined by multiple business application dimensions. The Cartesian product of these dimensions may reach trillions of data levels. For example, in the cross-border payment industry, there are dozens of different payment scenarios. Different customers pay in different currencies in different business scenarios and in different regions, and the business expenses generated are inconsistent. The dimensions of payment scenario number × currency pair × payment region will generate billions of data.

[0003] In traditional technologies, for each business scenario, the corresponding business data needs to be configured separately, which consumes a lot of time and manpower costs to realize parameter configuration in different dimensions, and the data configuration efficiency is low. Summary of the invention

[0004] Based on this, it is necessary to provide a business data configuration method, device, computer equipment and storage medium that can improve data configuration efficiency in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for configuring service data. The method comprises:

[0006] Get multiple business data to be configured;

[0007] Determine at least one data category of the plurality of service data to be configured, and determine a service data parameter corresponding to each data category;

[0008] Determine metadata matching at least one preset business application dimension, and determine first target business data parameters matching each preset business application dimension based on the business data parameters and the metadata;

[0009] The business data to be configured is configured based on the preset business application dimension and the first target business data parameter.

[0010] In one embodiment, determining the first target business data parameter matching each preset business application dimension based on the business data parameter and the metadata includes:

[0011] Determining the business meaning of the business data parameter based on the metadata;

[0012] Determining an available range of the service data parameter based on the metadata;

[0013] Based on the business meaning and the available range, the first target business data parameter matching each preset business application dimension is determined.

[0014] In one embodiment, determining metadata matching at least one preset business application dimension includes:

[0015] Determine the preset priority and preset weight of each preset business application dimension;

[0016] Performing weighted calculation according to the preset priority and the preset weight of each preset business application dimension to obtain a final priority of each preset business application dimension;

[0017] Based on the final priority, metadata matching each preset business application dimension is determined.

[0018] In one of the embodiments, after configuring the service data to be configured, the method further includes:

[0019] Get the newly added business data to be configured;

[0020] Determine a target preset business application dimension that matches the newly added business data to be configured, and a second target business data parameter that matches the target preset business application dimension;

[0021] Determining a business data parameter mind map based on the target preset business application dimension and the second target business data parameter;

[0022] The newly added business data to be configured is configured based on the business data parameter mind map.

[0023] In one embodiment, determining the business data parameter mind map based on the target preset business application dimension and the second target business data parameter includes:

[0024] Determining target metadata based on the target preset business application dimension;

[0025] Determining an executable operation of the second target business data parameter based on the target metadata;

[0026] The business data parameter mind map is determined based on the target preset business application dimension, the second target business data parameter and the executable operation.

[0027] In one embodiment, configuring the newly added service data to be configured based on the service data parameter mind map includes:

[0028] Based on the target preset business application dimension path of the business data parameter mind map and the second target business data parameter node of the business data parameter mind map, the newly added business data to be configured are configured in batches.

[0029] In one of the embodiments, before determining the target metadata based on the target preset business application dimension, the method further includes:

[0030] If the target metadata is determined based on multiple target preset business application dimensions, determining whether the available ranges of the business data parameters defined in the target metadata in the multiple target preset business application dimensions are the same;

[0031] If they are not the same, a parameter configuration conflict instruction is generated, and based on the parameter configuration conflict instruction, the parameter configuration is terminated or conflict prompt information is generated.

[0032] In a second aspect, the present application also provides a service data configuration device. The device comprises:

[0033] A data acquisition module, used to acquire multiple business data to be configured;

[0034] A service data parameter determination module, used to determine at least one data category of the plurality of service data to be configured, and determine a service data parameter corresponding to each data category;

[0035] a first target business data parameter determination module, configured to determine metadata matching at least one preset business application dimension, and determine a first target business data parameter matching each preset business application dimension based on the metadata;

[0036] A data configuration module is used to configure the business data to be configured based on the preset business application dimension and the first target business data parameter.

[0037] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any of the service data configuration methods in the first aspect are implemented.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the business data configuration methods in the first aspect are implemented.

[0039] The above-mentioned business data configuration method, device, computer equipment and storage medium can determine the business data parameters according to the data category of the business data to be configured, and determine the first target business data parameters matching each preset business application dimension according to the business data parameters and metadata. The business meaning and available range of the first target business data parameters of each preset business application dimension are constrained by metadata to achieve efficient configuration of a large number of business data of different business application dimensions, save a lot of time and labor costs, and effectively improve data configuration efficiency.

[0040] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0042] Figure 1 An application environment diagram of a business data configuration method in an embodiment;

[0043] Figure 2 A schematic diagram of a flow chart of a method for configuring service data in an embodiment;

[0044] Figure 3 A schematic diagram of a business data configuration interaction interface in an embodiment;

[0045] Figure 4 A schematic diagram of a business data parameter mind map in an embodiment;

[0046] Figure 5 A schematic diagram of a method for configuring newly added business data in an embodiment;

[0047] Figure 6 It is a structural block diagram of a service data configuration device in one embodiment;

[0048] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0050] The terms "module", "unit", etc. used below are a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in hardware, the implementation of software, or a combination of software and hardware is also possible and conceivable.

[0051] The service data configuration method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The terminal 102 obtains multiple business data to be configured and sends them to the server 104, and the server 104 determines at least one data category of the multiple business data to be configured, and determines the business data parameters corresponding to each data category; determines metadata matching at least one preset business application dimension, and determines the first target business data parameters matching each preset business application dimension based on the business data parameters and the metadata. The server 104 sends the preset business application dimension and the first target business data parameter to the terminal 102, and the terminal 102 configures the business data to be configured based on the preset business application dimension and the first target business data parameter. The above steps can also be performed by only the server 104 or the terminal 102, and this application does not limit this. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0052] In one embodiment, Figure 2 As shown, a business data configuration method is provided, which is applied to Figure 1 The application scenario is taken as an example to illustrate, including the following steps:

[0053] S201: Acquire multiple service data to be configured.

[0054] In the embodiment of the present application, the business data to be configured includes the original data to be configured, and the original data may include transaction data, device parameter data, material data, etc. The specific content of the business data to be configured depends on the specific application field and scenario. In some specific embodiments, in the cross-border payment scenario, the business data to be configured may include the United States, Vietnam, US dollars, Vietnamese Dong, Amazon platform, etc.

[0055] In the embodiment of the present application, obtaining multiple business data to be configured may include automatically capturing and importing in batches or manually obtaining multiple business data to be configured. In some specific embodiments, the business data to be configured may include structured data, such as JSON data and table data; it may also include unstructured data, such as text data, image data, etc.

[0056] S203: Determine at least one data category of the multiple service data to be configured, and determine service data parameters corresponding to each data category.

[0057] In the embodiment of the present application, at least one data category of the plurality of business data to be configured is determined, that is, after the business data to be configured is classified according to the data category, at least one data category is determined. In some embodiments, the data category is not limited to physical objects, but may also include abstract concepts, such as customer categories such as member customers, potential customers, and ordinary customers, or task categories such as high priority tasks and low priority tasks.

[0058] The corresponding business data parameters can be determined according to the data category. Specifically, the business data parameters include key attributes or fields in each data category, which are used to define the specific characteristics of the business data to be configured in the corresponding category. In some embodiments, the business data parameters corresponding to each data category can be determined as a full set of business data parameters determined according to the data category. In some specific embodiments, if in a cross-border payment scenario, the business data parameters may include payment area, payment currency, and payment platform, etc.; if in a supply chain management scenario, the business data parameters may include delivery cycle, temperature requirements, etc.

[0059] S205: Determine metadata matching at least one preset business application dimension, and determine a first target business data parameter matching each preset business application dimension based on the business data parameter and the metadata.

[0060] In an embodiment of the present application, the preset business application dimensions may include different dimensions or scenarios that affect the way business data is processed. Specifically, different preset business application dimensions usually have different business operations, business processes or business scenarios, such as region, customer type, product type, etc. Metadata includes data used to describe business data parameters. Specifically, metadata is used to define, identify, classify or describe the structure and content of business data parameters, so that business data parameters can be correctly interpreted, used or executed in different preset business application dimensions. Metadata is usually not directly involved in business processes, but metadata can be used to define the meaning of business data parameters and control the mutual constraints of the available ranges of different business data parameters.

[0061] After determining the metadata, the first target business data parameter that matches each preset business application dimension can be determined based on the business data parameter and the metadata. Specifically, different preset business application dimensions usually correspond to different business data parameters. Among at least one business data parameter, the business data parameter that matches each preset business application dimension is determined as the first target business data parameter. In some specific embodiments, the preset business application dimension may include a user identification dimension, such as user a, user b; it may also include a payment scenario dimension, such as a withdrawal scenario, a payment collection scenario, etc.

[0062] In some embodiments, determining the first target business data parameter matching each preset business application dimension based on the business data parameter and the metadata includes:

[0063] S301: Determine the business meaning of the business data parameter based on the metadata.

[0064] S303: Determine an available range of the service data parameter based on the metadata.

[0065] S305: Based on the business meaning and the available range, determine the first target business data parameter that matches each preset business application dimension.

[0066] In an embodiment of the present application, the business meaning and available range of the business data parameters can be determined based on the metadata, and then the first target business data parameters that match each preset business application dimension can be determined. By matching the preset business application dimension with the metadata, the business data parameters that meet the preset business application dimension can be further screened out to improve the accuracy and efficiency of the business data configuration. In some specific embodiments, the matching process can include available range matching, equal value matching, or numerical value matching, etc.

[0067] S207: Based on the preset business application dimension and the first target business data parameter, configure the business data to be configured.

[0068] In the embodiment of the present application, after determining the first target business data parameter, the business data to be configured can be configured based on the preset business application dimension and the first target business data parameter. Specifically, according to the preset business application dimension and the determined first target business data parameter, the business data to be configured is integrated and associated with the actual business scenario.

[0069] The following describes the business data configuration method provided by this application through two specific application fields and scenarios.

[0070] If the application scenario is cross-border payment, first obtain multiple business data to be configured, such as China, the United States, Vietnam, RMB, USD, Vietnamese Dong, Amazon, etc. Determine at least one data category of the multiple business data to be configured, and determine the business data parameters corresponding to each data category, including payment area (China, the United States, Vietnam), payment currency (RMB, USD, Vietnamese Dong), and payment platform (Amazon). Then at least one preset business application dimension includes a user identification dimension and a payment scenario dimension. Based on the business data parameters and the metadata, determine the first target business data parameters that match each preset business application dimension, including payment area, payment currency, and payment platform. Specifically, when the user identification of the preset business application dimension is user A and the payment scenario is withdrawal, the business data to be configured can be determined after configuration: the payment area is (editable; displayable; options are China, the United States, Vietnam, and the default value is the United States), the payment currency is (editable, displayable, options are RMB and USD, and the default value is USD), and the payment platform is (not displayed, and the default is all). Among them, editable means that the business data parameter can be edited in the background, displayable means that the business data parameter can be displayed in the interactive interface, and non-display means that the business data parameter is hidden in the interactive interface. Specifically, the overall interactive page elements are constructed according to the matching metadata and preset business application dimensions, and the interactive page definition data is returned to control the rendering of the front-end page. Each configuration item in the interactive page corresponds to a business data parameter controlled by the back-end metadata, including drop-down option definitions, whether it is available, whether it can be edited, whether multiple selections are allowed, default values, etc. If user A withdraws cash, the business data parameters available in the interactive interface are the above options. If there are no metadata restrictions, there may be illegally configured business data. For example, when user A withdraws cash, it may be displayed that the Vietnamese dong is withdrawn in the United States. However, if the enterprise does not have the ability to withdraw Vietnamese dong in the United States, it will cause the enterprise to breach the contract. In a specific embodiment, the business data configuration interactive interface is as follows: Figure 3 shown.

[0071] If the application scenario is supply chain management, different supply chain links need to process a large amount of complex business data, which may involve suppliers, logistics providers, warehouses, etc. Obtain the business data to be configured, such as material type, supplier information, transportation method, etc. Determine at least one data category of the multiple business data to be configured, and determine that the business data parameters corresponding to each data category may include material type, transportation method, storage conditions, delivery cycle, temperature requirements, etc. Determine the metadata that matches the different business links (preset business application dimensions) of the supply chain, and determine the first target business data parameters that match each preset business application dimension based on the business data parameters and the metadata, including that in the logistics distribution dimension, the first target business data parameters related to transportation time and transportation cost need to be configured; in the warehousing dimension, the first target business data parameters related to warehouse capacity, storage conditions, etc. need to be configured. Configuring the business data to be configured for each supply chain link based on the preset business application dimension and the first target business data parameter can ensure that each node in the supply chain can automatically adapt to different business needs.

[0072] The business data configuration method provided in the embodiment of the present application can determine business data parameters according to the data category of the business data to be configured, and determine the first target business data parameters that match each preset business application dimension according to the business data parameters and metadata. The business meaning and available range of the first target business data parameters of each preset business application dimension are constrained by metadata to achieve efficient configuration of business data of a large number of different business application dimensions, save a lot of time and labor costs, and effectively improve data configuration efficiency.

[0073] On the other hand, there may be hidden logic in the business data configuration code of traditional technology, such as a black box of business knowledge. With the continuous iteration of business data, the business data configuration after the final iteration is not accurate enough and cannot accurately describe the business content. This application can be combined with the front-end page, and through the input changes of the front-end parameters, different metadata can be returned to control the display, hiding, multiple selection and default values ​​of each element of the page, so that users can quickly configure business data without the need for preliminary training. In addition, through the constraints and verification of metadata, the legality of business data parameters can be effectively controlled, and the meaning of business data can be described more accurately.

[0074] In some embodiments, the corresponding metadata can be matched according to the interface parameters. For example, after selecting a preset business application dimension in the interactive page, an interactive instruction is generated and sent to the backend to match the corresponding metadata. If the same preset business application dimension matches multiple metadata, data conflicts may occur. Therefore, it is necessary to set priorities for the matching process of the preset business application dimension and metadata. The determination of metadata matching at least one preset business application dimension includes:

[0075] S401: Determine a preset priority and a preset weight of each preset business application dimension.

[0076] S403: Perform weighted calculation according to the preset priority and the preset weight of each preset business application dimension to obtain a final priority of each preset business application dimension.

[0077] S405: Based on the final priority, determine metadata matching each preset business application dimension.

[0078] In the embodiment of the present application, since there may be multiple combinations of preset business application dimensions, configuring metadata at the finest granularity usually requires generating hundreds of millions of business data, so the preset business application dimensions for metadata matching can be defined by setting a collection.

[0079] In the present application example, the preset priority and preset weight of each preset business application dimension are determined, and a weighted calculation is performed based on the preset priority and the preset weight of each preset business application dimension to obtain the final priority of each preset business application dimension. Then, based on the final priority, the metadata matching each preset business application dimension is determined. Specifically, when multiple preset business application dimensions match the same metadata, the preset business application dimension with the highest final priority is determined to match the metadata.

[0080] In some specific embodiments, the user identification dimension can be set to "match all" in the form of a dimension set, and the payment scenario can be set to "match all" in the form of a dimension set. If the (user identification, payment scenario) dimension exists at the same time (match all, match all) and (user A, withdrawal), there may be data conflicts, and it is necessary to set a priority to determine the specific metadata that matches when user A withdraws money in the United States. Usually, the priority of (user A, withdrawal) is set higher than the priority of (match all, match all). Priority is set for each preset business application dimension, and the finer the business application granularity, the higher the priority. The calculation logic is "each preset business application dimension priority × dimension weight" and then added together, and the dimension weight is determined by the actual business. For example, if the priority of "user A" is set to 9, the priority of "match all" is set to 1, the preset weight of "user A" is 10, and the preset weight of the payment scenario is 1, then the priority of (user A, withdrawal) is 9×10+1×1=99, and the priority of (user A, match all) is 1×10+1×1=11.

[0081] In traditional technology, when the business changes, it is necessary to configure the newly added business data. However, in traditional technology, when a separate page is set for each business scenario, it is difficult to quickly respond to business changes in business data configuration, and the business configuration flexibility is low.

[0082] Based on this, in some embodiments, after configuring the service data to be configured, the method further includes:

[0083] S501: Acquire new service data to be configured.

[0084] S503: Determine a target preset business application dimension that matches the newly added business data to be configured, and a second target business data parameter that matches the target preset business application dimension.

[0085] S505: Determine a business data parameter mind map based on the target preset business application dimension and the second target business data parameter.

[0086] S507: configuring the newly added business data to be configured based on the business data parameter mind map.

[0087] In the embodiment of the present application, after acquiring the newly added service data to be configured, the target preset service application dimension matching the newly added service data to be configured and the second target service data parameter matching the target preset service application dimension are determined. The specific method can be referred to the description in the above embodiment, which will not be repeated here.

[0088] Based on the target preset business application dimension and the second target business data parameter, a business data parameter mind map is determined. Specifically, the second target business data parameter can be set as a leaf node in the business data parameter mind map, and the preset business application dimension can be set as a non-leaf node. Then, the newly added business data to be configured can be configured based on the business data parameter mind map.

[0089] In some embodiments, determining the business data parameter mind map based on the target preset business application dimension and the second target business data parameter includes:

[0090] S601: Determine target metadata based on the target preset business application dimension.

[0091] S603: Determine an executable operation of the second target business data parameter based on the target metadata.

[0092] S605: Determine the business data parameter mind map based on the target preset business application dimension, the second target business data parameter, and the executable operation.

[0093] In an embodiment of the present application, the matching target metadata is determined based on the target preset business application dimension, and then the executable operation of the second target business data parameter is determined based on the target metadata. Specifically, determining the executable operation of the second target business data parameter based on the target metadata may include verifying the legality of the second target business data parameter, and determining the executable operation based on the verification result.

[0094] In some specific embodiments, the "newly added parameters to be configured" received by the parameter interface may include add ({user = A, scenario = withdrawal, country = United States, currency = Vietnamese Dong, platform = Amazon}), where the newly added parameters to be configured are determined based on the newly added business data to be configured. Based on the target preset business application dimension (user A, withdrawal) and (match all, match all) matching target metadata, the final priority of (user A, withdrawal) is higher, so the target metadata is determined to be the metadata of (user A, withdrawal). Verify the legality of the second target business data parameter corresponding to each target metadata, including whether it is available in the current scenario, whether it is in the optional options, etc. If it is determined that the currency = Vietnamese Dong is illegal, the available range of currencies controlled by this metadata can only be RMB and USD, then the verification fails and the newly added business data to be configured cannot be configured. In other cases, if the verification result is legal, the newly added business data to be configured can be configured.

[0095] In some specific embodiments, (user A, withdrawal, payment area metadata definition, payment currency metadata definition, payment platform metadata definition) is a definition of target metadata. In the process of determining the mind map, unified executable operations can also be determined with business personnel, such as "optional", "hidden", "all options optional", etc. The business data parameter mind map is determined based on the target preset business application dimension, the second target business data parameter and the executable operation. In some specific embodiments, the business data parameter mind map is as follows: Figure 4 As shown, the customer ID dimension is the customer identification dimension, and the default ALL means that all are optional by default in the interaction page.

[0096] In some embodiments, configuring the newly added service data to be configured based on the service data parameter mind map includes:

[0097] S701: Based on the target preset business application dimension path of the business data parameter mind map and the second target business data parameter node of the business data parameter mind map, batch configure the newly added business data to be configured.

[0098] In an embodiment of the present application, the newly added business data to be configured can be configured in batches based on the target preset business application dimension path of the business data parameter mind map and the second target business data parameter node of the business data parameter mind map. The target preset business application dimension path includes a path from a root node to a non-leaf node of the target preset application dimension, and the second target business data parameter node includes a leaf node.

[0099] In some specific embodiments, a batch import interface can be set according to the format of the business data parameter mind map, including a metadata initialization interface and a batch modification interface. The metadata initialization interface can parse the non-leaf nodes of the mind map, and create metadata according to the target preset business application dimension path. The number of metadata matches the number of mind map branches. The batch modification interface can parse the leaf nodes of the mind map, and determine the matching metadata according to the target preset business application dimension (non-leaf node). For example, the leaf node: "Country: Default is the United States, modifiable, enumerated as a full list of countries", is configured as {enable: true, value: US, disable: false, options: [US, CN]}, where enable indicates whether it can be displayed, and disable indicates whether it can be edited. Figure 4 The 12 leaf nodes in the can be configured in batches through the batch import interface, which is efficient and accurate. In actual scenarios, there may be a large number of leaf node configuration requirements. Through batch parsing and import, it can quickly and accurately respond to business changes or business data configuration requirements.

[0100] In some embodiments, before determining the target metadata based on the target preset business application dimension, the method further includes:

[0101] S801: If the target metadata is determined based on multiple target preset business application dimensions, it is determined whether the available ranges of the business data parameters defined in the target metadata in the multiple target preset business application dimensions are the same.

[0102] S803: If they are not the same, a parameter configuration conflict instruction is generated, and based on the parameter configuration conflict instruction, the parameter configuration is terminated or conflict prompt information is generated.

[0103] In an embodiment of the present application, there may be a situation where business data parameters of multiple target preset business application dimensions are configured in batches at the same time, and different target preset business application dimensions match corresponding metadata. When the metadata definitions of business data parameters in different target preset business application dimensions are different, it is determined that a conflict occurs. A parameter configuration conflict instruction is generated, and a strong conflict or a weak conflict is determined based on the parameter configuration conflict instruction. If it is a strong conflict, the parameter configuration is terminated; if it is a weak conflict, a conflict prompt message is generated.

[0104] In some specific embodiments, the newly added service data configuration method is as follows: Figure 5 As shown. After adding the business data to be configured, determine the second target business data parameters. Obtain the default metadata, and match and decide the target metadata based on the user input data and the target preset business application dimensions. Select the second target business data parameter field value corresponding to the target metadata and call the new interface. After the metadata verification passes, the configuration of the newly added business data to be configured is completed. Among them, the default metadata is obtained by parsing the business data parameter mind map, initializing the metadata and the matching target preset business application dimensions, and then configuring the metadata in batches.

[0105] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0106] Based on the same inventive concept, the embodiment of the present application further provides a service data configuration device 900 for implementing the service data configuration method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more service data configuration device 900 embodiments provided below can refer to the limitations on the service data configuration method above, and will not be repeated here.

[0107] In one embodiment, Figure 6 As shown, a service data configuration device 900 is provided, comprising:

[0108] The data acquisition module 901 is used to acquire a plurality of service data to be configured;

[0109] A service data parameter determination module 902, configured to determine at least one data category of the plurality of service data to be configured, and determine a service data parameter corresponding to each data category;

[0110] A first target business data parameter determination module 903, configured to determine metadata matching at least one preset business application dimension, and determine a first target business data parameter matching each preset business application dimension based on the metadata;

[0111] The data configuration module 904 is used to configure the business data to be configured based on the preset business application dimension and the first target business data parameter.

[0112] In some embodiments, the first target business data parameter determination module 903 is also used to determine the business meaning of the business data parameter based on the metadata; determine the available range of the business data parameter based on the metadata; and determine the first target business data parameter that matches each preset business application dimension based on the business meaning and the available range.

[0113] In some embodiments, the first target business data parameter determination module 903 is also used to determine the preset priority and preset weight of each preset business application dimension; perform weighted calculation according to the preset priority and the preset weight of each preset business application dimension to obtain the final priority of each preset business application dimension; based on the final priority, determine the metadata that matches each preset business application dimension.

[0114] In some embodiments, the business data configuration device 900 also includes a new business data configuration module, which is used to obtain new business data to be configured; determine a target preset business application dimension that matches the new business data to be configured, and a second target business data parameter that matches the target preset business application dimension; determine a business data parameter mind map based on the target preset business application dimension and the second target business data parameter; and configure the new business data to be configured based on the business data parameter mind map.

[0115] In some embodiments, the newly added business data configuration module is also used to determine the target metadata based on the target preset business application dimension; determine the executable operation of the second target business data parameter based on the target metadata; determine the business data parameter mind map based on the target preset business application dimension, the second target business data parameter and the executable operation.

[0116] In some embodiments, the newly added business data configuration module is also used to batch configure the newly added business data to be configured based on the target preset business application dimension path of the business data parameter mind map and the second target business data parameter node of the business data parameter mind map.

[0117] In some embodiments, the newly added business data configuration module is also used to determine whether the available ranges of the business data parameters defined in the target metadata in the multiple target preset business application dimensions are the same if the target metadata is determined based on multiple target preset business application dimensions; if not, generate a parameter configuration conflict instruction, and terminate the parameter configuration or generate a conflict prompt message based on the parameter configuration conflict instruction.

[0118] Each module in the above-mentioned service data configuration device 900 can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0119] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a business data configuration method is implemented.

[0120] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0121] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the service data configuration method described in any of the above embodiments are implemented.

[0122] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the service data configuration method described in any of the above embodiments when executed by a processor.

[0123] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with general skills in the technical field to which this application belongs. The words "one", "a", "the", "these" and the like in this application do not indicate a quantitative limitation, and they may be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" may mean: A exists alone, A and B exist at the same time, and B exists alone. Generally, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.

[0124] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0125] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0126] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0127] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for configuring business data, characterized in that: The method comprises: Get multiple business data to be configured; Determine at least one data category of the plurality of service data to be configured, and determine a service data parameter corresponding to each data category; Determine metadata matching at least one preset business application dimension, and determine a first target business data parameter matching each preset business application dimension based on the business data parameter and the metadata; the determining metadata matching at least one preset business application dimension includes: determining a preset priority and a preset weight of each preset business application dimension; performing weighted calculation according to the preset priority and the preset weight of each preset business application dimension to obtain a final priority of each preset business application dimension; and determining metadata matching each preset business application dimension based on the final priority; The business data to be configured is configured based on the preset business application dimension and the first target business data parameter.

2. The method according to claim 1, characterized in that The determining, based on the business data parameter and the metadata, a first target business data parameter matching each preset business application dimension comprises: Determining the business meaning of the business data parameter based on the metadata; Determining an available range of the service data parameter based on the metadata; Based on the business meaning and the available range, the first target business data parameter matching each preset business application dimension is determined.

3. The method according to claim 1, characterized in that After configuring the service data to be configured, the method further includes: Get the newly added business data to be configured; Determine a target preset business application dimension that matches the newly added business data to be configured, and a second target business data parameter that matches the target preset business application dimension; Determining a business data parameter mind map based on the target preset business application dimension and the second target business data parameter; The newly added business data to be configured is configured based on the business data parameter mind map.

4. The method according to claim 3, characterized in that The determining of the business data parameter mind map based on the target preset business application dimension and the second target business data parameter includes: Determining target metadata based on the target preset business application dimension; Determining an executable operation of the second target business data parameter based on the target metadata; The business data parameter mind map is determined based on the target preset business application dimension, the second target business data parameter and the executable operation.

5. The method according to claim 4, characterized in that Configuring the newly added service data to be configured based on the service data parameter mind map includes: Based on the target preset business application dimension path of the business data parameter mind map and the second target business data parameter node of the business data parameter mind map, the newly added business data to be configured are configured in batches.

6. The method according to claim 4, characterized in that Before determining the target metadata based on the target preset business application dimension, the method further includes: If the target metadata is determined based on multiple target preset business application dimensions, determining whether the available ranges of the business data parameters defined in the target metadata in the multiple target preset business application dimensions are the same; If they are not the same, a parameter configuration conflict instruction is generated, and based on the parameter configuration conflict instruction, the parameter configuration is terminated or conflict prompt information is generated.

7. A service data configuration device, characterized in that: The device comprises: A data acquisition module, used to acquire multiple business data to be configured; A service data parameter determination module, used to determine at least one data category of the plurality of service data to be configured, and determine a service data parameter corresponding to each data category; A first target business data parameter determination module is used to determine metadata matching at least one preset business application dimension, and determine a first target business data parameter matching each preset business application dimension based on the metadata; the determination of metadata matching at least one preset business application dimension includes: determining a preset priority and a preset weight of each preset business application dimension; performing weighted calculation according to the preset priority and the preset weight of each preset business application dimension to obtain a final priority of each preset business application dimension; and determining metadata matching each preset business application dimension based on the final priority; A data configuration module is used to configure the business data to be configured based on the preset business application dimension and the first target business data parameter.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Data processing method for enterprise application integration and related device

    CN114328492A

  • Data processing method and device, storage medium and computer equipment

    CN114428625A

  • Calling parameter processing method, system and device, storage medium and product

    CN114610509A

  • Service parameter management method and device, electronic equipment and storage medium

    CN115470233A

  • Multi-dimensional business data monitoring method and system, computer equipment and medium

    CN117472960A