Business data importing method and device, computer equipment, storage medium and product
By classifying and batch matching the business data with variable feature information, the problem of low efficiency in the import of business data in the existing technology is solved, and a more efficient import process and simplified operation process are realized.
Patent Information
- Application Number
- CN202411619484.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-04
AI Technical Summary
The existing technology is inefficient in the process of importing business data, long maintenance or complicated operations, which mainly leads to different import logics due to the differences in business functions of different business objects.
By obtaining the business data set of objects to be imported, classifying them according to the change characteristic information of the business data, obtaining business data of static attributes and dynamic attributes, and batch matching and filling of business data values based on the business data identification, and finally batch import is realized.
It improves the efficiency of business data import, shortens the time for matching business data and business data values one by one, and overcomes the maintenance difficulty caused by the logic differences in importing different business objects.
Smart Images

Figure CN119557360A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of big data technology, and in particular to a business data import method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the continuous development of science and technology, the technology of importing batch business data of business objects has been widely used, especially in some software systems combined with traditional industries. Batch importing business data of business objects can bring many advantages such as improved efficiency, reduced errors and rapid response to market changes.
[0003] At present, in the process of importing business data, different product assembly models are usually used for different business objects to ensure the import of all business data of the business object. However, due to the differences in business functions to be implemented by different business objects, the import logic of different business data of business objects is different, which makes it easy for the maintenance of business data of business objects to take a long time or be complicated. Therefore, the current import efficiency of business data is low. Summary of the invention
[0004] Based on this, it is necessary to provide a business data import method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the import efficiency of business data in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for importing business data, comprising:
[0006] Acquire a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions;
[0007] Classifying each of the business data according to the change characteristic information of each of the business data to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers;
[0008] According to the business data identifier, batch match the first business data and the second business data with their corresponding business data values;
[0009] Fill in corresponding business data values for all business data of the object to be imported, and import all the business data.
[0010] In one embodiment, the change characteristic information includes a change frequency; and the classifying each of the business data according to the change characteristic information of each of the business data to obtain first business data with static attributes and second business data with dynamic attributes includes:
[0011] Detecting the corresponding change frequency through the attribute information of each of the business data;
[0012] Selection step: selecting target business data from each of the business data;
[0013] When it is detected that the change frequency of the service data is less than a preset change frequency threshold, the service data is regarded as first service data with static attributes; when it is detected that the change frequency of the service data is greater than or equal to the preset change frequency threshold, the service data is regarded as second service data with dynamic attributes;
[0014] Return to execute the selection step until all the business data are selected.
[0015] In one embodiment, detecting the corresponding change frequency through the attribute information of each of the business data includes:
[0016] For any of the business data, feature extraction is performed on the attribute information and type information of the business data respectively to obtain data attribute features and data type features of the business data, and the data attribute features and the data type features are merged into data change features of the business data;
[0017] According to the attribute characteristics of each of the data, the change frequency of each of the business data is predicted.
[0018] In one embodiment, the business data value includes a fixed data value and a variable data value; and batch matching the first business data and the second business data with the business data values corresponding to each other according to the business data identifier includes:
[0019] According to the business data identifier of the first business data, query the reference object of the object to be imported, and extract the fixed data value from the business data reference template of the reference object;
[0020] According to the business data identifier of the second business data, a changed data value corresponding to the second business data is extracted from a business data configuration template, wherein the business data configuration template is configured based on historical changed business data of the object to be imported.
[0021] In one of the embodiments, the business data configuration template includes a first business data configuration template and a second business data configuration template; before extracting the change data value corresponding to the second business data in the business data configuration template according to the business data identifier of the second business data, one of the following items is included:
[0022] In response to a first configuration operation performed on the first business data configuration template, filling the first business data configuration template with a changed data value corresponding to the second business data;
[0023] According to the object identifier of the object to be imported, the second business data configuration template is queried in the preset configuration template library, and in response to the second configuration operation performed on the second business data configuration template, the changed data value corresponding to the second business data is filled in the second business data configuration template.
[0024] In one embodiment, filling corresponding business data values for all business data of the object to be imported and importing all business data includes:
[0025] Obtaining template attributes of the business data import template of the object to be imported;
[0026] According to the template attributes, corresponding business data values are filled for all business data of the object to be imported, and all the business data are imported.
[0027] In one embodiment, after filling corresponding business data values for all business data of the object to be imported and importing all business data, the method further includes at least one of the following:
[0028] In response to a query operation performed on the business data import interface, displaying the import results of all the business data on the business data import interface;
[0029] In response to a reset operation performed on the business data import interface, resetting the business data import interface from a current display state to a preset display state;
[0030] In response to a management operation performed on the business data import interface, the import result is managed.
[0031] In a second aspect, the present application also provides a business data import device, including:
[0032] An acquisition module, used to acquire a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions;
[0033] A classification module, used for classifying each of the business data according to the change characteristic information of each of the business data, to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers;
[0034] A matching module, used for batch matching the first business data and the second business data with their corresponding business data values according to the business data identifier;
[0035] The import module is used to fill corresponding business data values for all business data of the object to be imported and import all the business data.
[0036] In one embodiment, the change characteristic information includes a change frequency; and the classification module is further configured to:
[0037] Detect the corresponding change frequency through the attribute information of each of the business data; selection step: select the target business data from each of the business data; when it is detected that the change frequency of the business data is less than a preset change frequency threshold, treat the business data as the first business data with static attributes; when it is detected that the change frequency of the business data is greater than or equal to the preset change frequency threshold, treat the business data as the second business data with dynamic attributes; return to execute the selection step until all the business data are selected.
[0038] In one embodiment, the classification module is further configured to:
[0039] For any of the business data, feature extraction is performed on the attribute information and type information of the business data respectively to obtain data attribute features and data type features of the business data, and the data attribute features and the data type features are merged into data change features of the business data; based on each of the data attribute features, the change frequency of each of the business data is predicted.
[0040] In one embodiment, the business data value includes a fixed data value and a variable data value; the matching module is further used to:
[0041] According to the business data identifier of the first business data, the reference object of the object to be imported is queried, and the fixed data value is extracted from the business data reference template of the reference object; according to the business data identifier of the second business data, the variable data value corresponding to the second business data is extracted from the business data configuration template, wherein the business data configuration template is obtained based on the historical variable business data configuration of the object to be imported.
[0042] In one embodiment, the business data configuration template includes a first business data configuration template and a second business data configuration template; the business data importing device also includes:
[0043] A first filling module, configured to fill the first business data configuration template with a changed data value corresponding to the second business data in response to a first configuration operation performed on the first business data configuration template;
[0044] The second filling module is used to query the second business data configuration template in the preset configuration template library according to the object identifier of the object to be imported, and fill the second business data configuration template with the changed data value corresponding to the second business data in response to the second configuration operation performed on the second business data configuration template.
[0045] In one embodiment, the import module is further used to:
[0046] Acquire the template attributes of the business data import template of the object to be imported; fill corresponding business data values for all business data of the object to be imported according to the template attributes, and import all the business data.
[0047] In one embodiment, the business data importing device further includes:
[0048] A display module, configured to display the import results of all the business data on the business data import interface in response to a query operation performed on the business data import interface;
[0049] A reset module, configured to, in response to a reset operation performed on the business data import interface, reset the business data import interface from a current display state to a preset display state;
[0050] A management module is used to manage the import result in response to a management operation performed on the business data import interface.
[0051] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0052] Obtain a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions; classify each business data according to change characteristic information of each business data to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers; batch match the first business data and the second business data with corresponding business data values according to the business data identifiers; fill corresponding business data values for all business data of the object to be imported, and import all business data.
[0053] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0054] Obtain a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions; classify each business data according to change characteristic information of each business data to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers; batch match the first business data and the second business data with corresponding business data values according to the business data identifiers; fill corresponding business data values for all business data of the object to be imported, and import all business data.
[0055] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0056] Obtain a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions; classify each business data according to change characteristic information of each business data to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers; batch match the first business data and the second business data with corresponding business data values according to the business data identifiers; fill corresponding business data values for all business data of the object to be imported, and import all business data.
[0057] The above-mentioned business data import method, device, computer equipment, computer-readable storage medium and computer program product, when it is necessary to import the business data of the object to be imported, first obtain a business data set including business data under multiple preset management dimensions, and then classify each business data according to the change characteristic information of different business data to obtain first business data with static attributes and second business data with dynamic attributes, that is, based on the change characteristic information of each business data, each business data is divided into first business data and second business data with different change characteristic attributes, and then based on the business data identifiers corresponding to each of the first business data and the second business data, the first business data and the second business data with different change characteristic attributes are matched with their respective corresponding data values, and finally, by filling the corresponding business data values for all the business data of the object to be imported and importing all the business data, the purpose of batch importing the business data under multiple preset data management dimensions of the object to be imported can be achieved. Since the change characteristic information of the business data can be used, The batch business data under multiple preset data management dimensions are divided into two categories of business data with different changing characteristic attributes, and then the business data identifier of the business data can be used to batch match the corresponding business data values for the business data with different changing characteristic attributes. After matching the two categories of batch business data values, the import of all business data of the object to be imported can be completed by filling the corresponding business data values for all business data of the object to be imported. The speed of batch matching business data values for business data with the same attributes is significantly faster than the speed of matching business data values for each business data of the business data with the same attributes, thereby shortening the time for matching business data and business data values one by one in the process of batch business data import. Therefore, the technical defect that the import logic of different business data of business objects is different due to the differences in business functions to be implemented by different business objects, which makes it easy to maintain the business data of business objects. It takes a long time or complicated operations, so the import efficiency of business data import is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0059] Figure 1 A flowchart for importing business data through the object assembly model;
[0060] Figure 2This is an application environment diagram of a business data import method in one embodiment of the present application;
[0061] Figure 3 This is a flowchart of a method for importing business data in one embodiment of the present application;
[0062] Figure 4 A schematic diagram of a process for classifying business data in an embodiment of the present application;
[0063] Figure 5 This is a schematic diagram of a process for matching business data values in another embodiment of the present application;
[0064] Figure 6 This is a structural block diagram of a service data importing device in one embodiment of the present application;
[0065] Figure 7 This is a diagram of the internal structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION
[0066] 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.
[0067] First of all, it should be understood that in the process of importing business objects for business objects, since business objects usually involve many data management dimensions, the object assembly model is usually used to assemble business data to ensure the technical implementation of business objects. The object assembly model refers to a data configuration template composed of a group of business object control components, and the association relationship between business data and business component classes is established in the form of "slots". It can be understood that the object assembly model controls the overall business data structure followed when the business object is instantiated and assembled by setting business object control components. Business object control components refer to a collection of a group of business objects and business object groups that are closely related, and are cohesive and reusable. Among them, a business object group refers to a data body composed of a group of indivisible business data, which is used to represent a relatively complete business concept, such as data resources. Source object group or data resource type object group, etc. It can be understood that the business object group can be reused in the business object control component, wherein the business data is the most basic business element constituting the object assembly model, representing certain conditional restrictions, object resource quantity restrictions, conditional constraints and conditional rules of the business, and in the existing process of importing business data, it is usually necessary to first determine the basic object and object assembly model of the business object under the preset data management dimension according to the type of the business object, and then maintain the component instance business data and the object group instance business data according to the business object control component and the business object group in the object assembly model, and then determine the data value of the component instance business data and the object group instance business data, wherein the data value can specifically be a property and a value domain default value, etc., and finally, the business object can be implemented only after the business data is assembled and imported in the object assembly model. For example, refer to Figure 1 , Figure 1The present invention is a flow chart showing the process of importing business data through an object assembly model, wherein the basic object in the business object is first determined, and the corresponding object assembly model is configured through the basic object, and finally the import of all business data of the business object is completed through the association relationship between the business object control component, the business object group and the business data. However, in the process of importing business data, due to the differences in business functions to be implemented by different business objects, the import logic of different business data of the business object is different, which makes it easy to maintain the business data of the business object for a long time or complicated operations. For example, each business data under different business object control components needs to be imported separately, resulting in a large amount of business data to be imported and relatively complicated operations. For another example, business objects usually release different versions of business sub-objects within a preset time period. For different business sub-objects, it is also necessary to distinguish object types and object assembly models, and each business sub-object also needs to maintain the business data under the business object control component, which will also result in time-consuming or inefficient operations for staff. Therefore, a business data import method that improves the import efficiency of business data import is urgently needed.
[0068] The business data import method provided in the embodiment of the present application can be applied to Figure 2In 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 the business data set of the object to be imported, wherein the business data set includes business data under multiple preset data management dimensions; the terminal 102 classifies each business data according to the change characteristic information of each business data, and obtains the first business data with static attributes and the second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers; the terminal 102 batch matches the first business data and the second business data with their corresponding business data values according to the business data identifier; the terminal 102 fills the corresponding business data values for all business data of the object to be imported, and imports all business data. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices, and the Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. The portable wearable device may be a smart watch, a smart bracelet, a head-mounted device, etc. The head-mounted device may be a virtual reality (VR) device, an augmented reality (AR) device, smart glasses, etc. The server 104 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0069] In an exemplary embodiment, Figure 3 As shown, a business data import method is provided, which is applied to Figure 2 The terminal 102 in the example is used as an example to illustrate, including the following steps 202 to 208. Among them:
[0070] Step 202: Acquire a business data set of the object to be imported, wherein the business data set includes business data under multiple preset data management dimensions.
[0071] It should be noted that the business data set includes business data under multiple preset data management dimensions. It can be understood that different preset data management dimensions are used to interpret business objects from different dimensions. For example, in an implementable manner, the multiple preset management dimensions can specifically be data quality dimensions, data architecture dimensions, data availability dimensions, or data security dimensions, etc. The business data can specifically include business object name, business object number, business object start date and time, business object end date and time, business object source channel, business object description, business object associated objects, business object data resource type, business object data resource transfer times, and business object reservation flag, etc. The object to be imported refers to the business object waiting for business data import. The business object can specifically be A data resource transfer-in, B data resource transfer-out, or C data resource transfer, etc. It can be understood that within the same preset time period, business objects of different data resource transfer types are different business objects, and business objects of different object types are also different business objects. Within different preset time periods, business objects of the same data resource transfer type or the same object type are also different business objects.
[0072] As an example, step 202 includes: pulling business data under multiple preset data management dimensions storing the object to be imported from the source database, and integrating the business data under the multiple preset data management dimensions into a business data set of the object to be imported.
[0073] Step 204, classify each business data according to the change characteristic information of each business data to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers.
[0074] It should be noted that the change characteristic information is used to characterize the change characteristic attributes of business data. The change characteristic attributes can be specifically divided into static attributes and dynamic attributes. It can be understood that static attributes and dynamic attributes are relative concepts, that is, when a certain business data has static attributes, it does not mean that the business data has not changed, but that the change is smaller than that of business data with dynamic attributes. For example, in an implementable manner, the first business data refers to business data that needs to be updated instantly based on different business objects, and the second business data refers to business data that does not need to be updated in different business sub-objects of the same business object. Among them, the change characteristic information can specifically be the frequency of change, degree of change or amplitude of change, etc. The first business data and the second business data carry different business data identifiers, and the business data identifier is used to distinguish and identify business data with different change characteristic attributes.
[0075] It should be noted that when classifying the business data of the object to be imported, it can be based on the support vector machine algorithm. For example, in one feasible method, the business data of all business objects can be modeled, and the support vector machine algorithm can be used to divide each business data into a first business data with static attributes and a second business data with dynamic attributes. It can be understood that the basic principle of the support vector machine is to find a hyperplane that can separate different categories of business data to the maximum extent, wherein the hyperplane is defined by the support vector, that is, to find the vector point closest to the hyperplane. The purpose of the support vector machine algorithm is to find a hyperplane that maximizes the total distance from the support vector to the hyperplane, and then construct a decision boundary that can separate data points of different categories as correctly as possible.
[0076] As an example, step 204 includes: according to the change characteristic information of each business data, dividing each business data into first business data with static attributes and second business data with dynamic attributes.
[0077] Step 206: According to the business data identifier, batch match the first business data and the second business data with their corresponding business data values.
[0078] It should be noted that the terminal database can store the business data values corresponding to the business data of the object to be imported in advance, and then in the process of importing business data, the business data values corresponding to different business data can be queried in the database based on the mapping relationship between the business data identifier and the business data value.
[0079] As an example, step 206 includes: using the business data identifier of the first business data as an index, querying the business data value of the first business data in the preset database, and using the business data identifier of the second business data as an index, querying the business data value of the second business data in the preset database.
[0080] Step 208: fill corresponding business data values for all business data of the object to be imported, and import all business data.
[0081] It should be noted that during the process of importing business data, a business data import template can be set up. The business data import template is used to import the business data of the business object. The business data import template can be stored in the form of a table. After the business data values are filled in the designated positions corresponding to all business data, the table is updated to obtain the business data file of the object to be imported, and then the business data file is parsed through the software system on the terminal to import the business data into the database in batches.
[0082] As an example, step 208 includes: obtaining a business data file of the object to be imported by filling corresponding business data values in designated locations of all business data of the object to be imported, and importing all business data of the object to be imported by parsing the business data file.
[0083] In the above business data import method, when business data import is required, business data under multiple preset data management dimensions of the object to be imported are pulled from the source database, and the business data under the multiple preset data management dimensions are integrated into the business data set of the object to be imported, and then the business data are divided into first business data with static attributes and second business data with dynamic attributes according to the change characteristic information of each business data, and finally the business data file of the object to be imported is obtained by filling the corresponding business data value at the designated position of all business data of the object to be imported, and the business data file is parsed to import all business data of the object to be imported, so that the import of all business data of the object to be imported can be completed, and the speed of batch matching business data values for business data with the same attribute is significantly faster than the speed of matching business data values for each business data of business data with the same attribute, thereby shortening the time for matching business data and business data values one by one in the process of batch business data import, so as to overcome the technical defects that due to the differences in business functions to be realized by different business objects, the import logic of different business data of business objects is different, and thus it is easy to maintain the business data of business objects. It takes a long time or complicated operations, so the import efficiency of business data import is improved.
[0084] In an exemplary embodiment, Figure 4 As shown, the change characteristic information includes the change frequency; according to the change characteristic information of each business data, each business data is classified to obtain the first business data with static attributes and the second business data with dynamic attributes, including:
[0085] Step 302: Detect corresponding change frequencies through attribute information of each business data.
[0086] Among them, the change frequency is used to characterize the speed of change of business data, for example, business data changes once a quarter or once a day, etc. The attribute information is used to characterize the attributes of business data, which can be specifically the characteristic information of business objects, market-related information of business objects, and management-related information of business objects.
[0087] As an example, step 302 includes: for any business data, the steps of: extracting features from the attribute information of the business data to obtain the attribute features of the business data, and obtaining the change frequency of the business data by inputting the attribute features of the business data into a preset change frequency detection model, wherein the change frequency can be specifically expressed in the form of a percentage.
[0088] Step 304, a selection step: selecting target business data from various business data.
[0089] The target business data refers to any business data in each business.
[0090] As an example, step 304 includes: randomly selecting a piece of business data from each piece of business data as target business data.
[0091] As another example, step 304 includes: sorting each business data to obtain a business data sorting result, and based on the business data sorting result, selecting business data with a specified sequence number from each business data as target business data.
[0092] Step 306, when it is detected that the change frequency of the business data is less than the preset change frequency threshold, the business data is treated as the first business data with static attributes; when it is detected that the change frequency of the business data is greater than or equal to the preset change frequency threshold, the business data is treated as the second business data with dynamic attributes.
[0093] Among them, the preset change frequency threshold is set in advance by the user according to the needs. It can be understood that when the change frequency of business data is less than the preset change frequency threshold, it means that the change of the business data is small and tends to be a certain fixed data value. When the change frequency of business data is greater than or equal to the preset change frequency threshold, it means that the change of the business data is large, that is, the business data distribution is more dispersed. At this time, the business department needs to make targeted settings for the business data in advance. Among them, the fixed data values that tend to be determined can be configured in advance by the business department for different business objects, and the business data values with larger changes can be imported by the business department in a targeted manner.
[0094] As an example, step 306 includes: detecting whether the change frequency of business data is less than a preset change frequency threshold; if it is detected that the change frequency of business data is less than the preset change frequency threshold, treating the business data as first business data with static attributes; if it is detected that the change frequency of business data is greater than the preset change frequency threshold, treating the business data as second business data with dynamic attributes.
[0095] Step 308, return to the selection step until all business data are selected.
[0096] As an example, step 308 includes: after detecting that the target business data is attribute-identified, returning to execute the selection step and subsequent steps until all business data are selected.
[0097] In this embodiment, in the process of dividing the business data types according to the changing characteristic attributes of the business data, since it is performed based on the attribute characteristics of the business data through a preset change frequency detection model, it is possible to accurately analyze the business data with characteristics such as complexity and uncertainty in the application scenario, thereby capturing the inherent laws and changing trends of the business data, thereby providing an accurate basis for determining the size between the change frequency of the business data and the preset change frequency threshold. Therefore, while laying the foundation for improving the import efficiency of the business data import, it also improves the import accuracy of the business data import.
[0098] In one embodiment, detecting the corresponding change frequency through the attribute information of each business data includes:
[0099] For any business data, feature extraction is performed on the attribute information and type information of the business data respectively to obtain the data attribute features and data type features of the business data, and the data attribute features and data type features are merged into the data change features of the business data; based on the attribute features of each data, the change frequency of each business data is predicted.
[0100] Among them, since different types of business objects have different sensitivities to changes in business data, in the process of predicting the change frequency of business data, the attribute information and type information of the business data can be combined to conduct a comprehensive analysis of the data changes, wherein the type information is used to characterize the object type of the business object to which the business data belongs, such as public type or private type, etc., and the data change characteristics are used to feedback the changes in the business data, wherein both the attribute information and the type information can be stored in the business data in the form of fields.
[0101] As an example, for any business data, feature extraction is performed on the attribute information of the business data to obtain the data attribute features of the business data, feature extraction is performed on the type information of the business data to obtain the data type features of the business data, and the data attribute features and the data type features are spliced into the data change features of the business data; for any business data, the steps are executed: the data attribute features of the business data are input into a preset change frequency detection model, the change frequency of the business data is detected by the preset change frequency detection model, and the change frequency of the business data is obtained, until the above steps are performed for each business data. In this embodiment, in the process of detecting the change frequency of the business data, the attribute information of the business data itself and the type information associated with the business data are comprehensively considered, and then the data change features of the data change situation of the business data are objectively fed back. Finally, the change frequency of the business data is detected by the data change features, so that the change situation of the business data can be reflected in a situation that is more in line with the actual application scenario, so the import accuracy of the business data is further improved.
[0102] In one embodiment, Figure 5 As shown, the business data value includes a fixed data value and a variable data value; according to the business data identifier, the first business data and the second business data are batch matched with their corresponding business data values, including:
[0103] Step 401, querying a reference object of the object to be imported according to the business data identifier of the first business data, and extracting a fixed data value from a business data reference template of the reference object;
[0104] Step 402: extracting the changed data value corresponding to the second business data from the business data configuration template according to the business data identifier of the second business data, wherein the business data configuration template is configured based on the historical changed business data of the object to be imported.
[0105] Among them, for business data with different change characteristic attributes, different configuration templates can be used to extract the data value of the business data, wherein the reference object refers to the business object used to extract the fixed data value of the first business data of the object to be imported, and the business data configuration template is obtained based on the historical change data configuration of the object to be imported. It can be understood that both the fixed data value and the change data value can be one or more, and the extraction of any data value can be obtained based on the mapping relationship index between the data and the template.
[0106] It should be noted that the historical change business data is a collection of business data of historical business objects. For historical business data, different configuration templates may be set due to the different associations between business object control components, business object groups and business data. Among them, the business object control components involved in the business data configuration template may include a periodic transfer-in control component for public data resources, a periodic intermediate control component for public data resources, a transfer consumption data resource control component for periodic transfer of public data resources, a periodic automatic transfer control component for public data resources, a periodic transfer-out control component for public data resources, a periodic transfer restriction control component for public data resources, an object qualification control component for private data resources, an object contract control component for private data resources, a transfer quantity control component for private data resource transfer, a transfer consumption data resource control component for private data resource transfer, a transfer certificate control component for private data resource transfer, a common transfer restriction control component for private data resource transfer, a transfer restriction control component for private data resource transfer-in, and a general restriction component for private data resource transfer-in, etc. It can be understood that any business object control component includes such business data.
[0107] As an example, steps 402 to 404 include: using the business data identifier of the first business data as an index, searching for a reference object of the object to be imported in a preset reference object library, and extracting fixed data values from a business data reference template of the reference object; using the business data identifier of the second business data as an index, extracting variable data values of the second business data in a business data configuration template.
[0108] In the above embodiment, in the process of matching the data value of the first business data, the fixed data value is directly extracted from the reference object of the object to be imported, thereby avoiding the repeated configuration of the fixed data values of different business objects during the business data import process of the object to be imported, and realizing the batch import of all the first business data of the object to be imported, and in the process of matching the data value of the second business data, the corresponding business data configuration template is configured for the business object in advance, so that the batch import of all the second business data of the object to be imported can be completed through the business data configuration template. Therefore, the purpose of batch importing all business data with different changing characteristic attributes is achieved through the setting of the business data template, thereby further improving the import efficiency of business data import.
[0109] In one embodiment, the business data configuration template includes a first business data configuration template and a second business data configuration template; before extracting the change data value corresponding to the second business data in the business data configuration template according to the business data identifier of the second business data, one of the following items is included:
[0110] In response to a first configuration operation performed on a first business data configuration template, the first business data configuration template is filled with a changed data value corresponding to the second business data; based on the object identifier of the object to be imported, the second business data configuration template is queried in a preset configuration template library, and in response to a second configuration operation performed on the second business data configuration template, the second business data configuration template is filled with a changed data value corresponding to the second business data.
[0111] It should be noted that, by setting up a business data import interface during the business data import process, the configuration of data values of different business data can be completed based on the interactive operations performed by the user in the business data import interface. It can be understood that when configuring data values for different types of business objects, there are differences in the configuration rules of data values. Among them, business objects include public business objects and private business objects. The first business data configuration template refers to a configuration template for configuring business data and changing data values of business data for public business objects. The second business data configuration template refers to a configuration template for configuring business data and changing data values of business data for public business objects. It can be understood that the business object control components involved in the first business data configuration template include a public data resource periodic transfer-in control component, a public data resource periodic intermediate control component, a public data resource periodic transfer consumption data resource control component, a public data resource periodic automatic transfer control component, a public data resource periodic transfer-out control component, and a public data resource periodic transfer restriction component. Control components, etc., the business object control components involved in the second business data configuration template include object qualification control components for private data resources, object contract control components for private data resources, transfer volume control components for private data resource transfer, transfer consumption data resource control components for private data resource transfer, transfer certificate control components for private data resource transfer, common transfer restriction control components for private data resource transfer, transfer restriction control components for private data resource transfer-in, and general restriction components for private data resource transfer-in, etc., and when configuring the second business data configuration template, due to the high update frequency of business objects, the same business object can match more templates, and then it is necessary to further accurately configure template selection in multiple configuration templates based on the object identifier of the object to be imported, wherein the first configuration operation can specifically be the operation of clicking the template identifier of the "first business data configuration template" in the business data import interface, and the second configuration operation can specifically be the operation of clicking the template identifier of the "second business data configuration template" in the business data import interface.
[0112] As an example, in response to a first configuration operation of selecting a first business data configuration template input by a user in a business data import interface, the first business data configuration template is located, and the changing data value corresponding to the second business data is filled in the first business data configuration template; the object identifier of the object to be imported is obtained, and the second business data configuration template is queried in a preset configuration template library using the object identifier as an index, and in response to a second configuration operation of selecting a second business data configuration template input by the user in the business data import interface, the changing data value corresponding to the second business data is filled in the second business data configuration template.
[0113] In this embodiment, different first business data configuration templates and second business data configuration templates are configured specifically for different business objects. In the process of configuring the second business data configuration template, the update frequency of the object to be imported is taken into consideration, thereby utilizing the object identifier of the object to be imported to achieve accurate query of the second business data configuration template in the preset configuration template library, thereby improving the business data import effect of different business objects.
[0114] In one embodiment, all business data of the object to be imported are filled with corresponding business data values, and all business data are imported, including:
[0115] The template attributes of the business data import template of the object to be imported are obtained; according to the template attributes, corresponding business data values are filled for all business data of the object to be imported, and all business data are imported.
[0116] It should be noted that in the process of filling corresponding business data values for all business data of the objects to be imported, by using template attributes, it is possible to fully understand the business data attributes of the objects to be imported, the business object control component instance attributes, business object group instance attributes, the relationship between control component attributes, attribute list values, attribute range values and basic attributes of business data to add or modify the corresponding library table data, that is, the attribute differences between the business data import templates of different objects to be imported are fully taken into consideration, so as to ensure that after all business data of the objects to be imported are imported, they can accurately match the scenario application requirements of the objects to be imported.
[0117] As an example, obtain the template attributes of the business data import template of the object to be imported; use the template attributes as an index to determine the data attribute relationship between all business data of the object to be imported, fill in corresponding business data values for all business data of the object to be imported based on the data attribute relationship, and import all business data.
[0118] In this embodiment, the data attribute relationship between all business data of the object to be imported is fully characterized through the template attributes of the business data import template of the object to be imported, and the data attribute relationship is relied upon in the process of filling in the business data values of all business data, so that the imported business data can match the scenario application requirements of the object to be imported, thereby further improving the import effect of the business data import.
[0119] In one embodiment, after filling corresponding business data values for all business data of the object to be imported and importing all business data, the method further includes at least one of the following:
[0120] In response to a query operation performed on the business data import interface, the import results of all business data are displayed on the business data import interface; in response to a reset operation performed on the business data import interface, the business data import interface is reset from a current display state to a preset display state; in response to a management operation performed on the business data import interface, the import results are managed.
[0121] It should be noted that, in order to facilitate the control of business data import for import objects, relevant import functions are set in the business data import interface, wherein the import results can be displayed through the import result display module of the business data interface, that is, after batch import, the user can query and export the import results. The exported content can specifically be the successful import result or the failed import result and the reason, etc. The import result can also be reset through the import result reset module of the business data import interface, and the import result can also be managed through the import management module of the business data import interface, such as the export of business data import templates, batch addition of business data, batch modification of business data and export of result files of business data, etc. The interactive operations performed by the user in the business data import interface can trigger the implementation of the corresponding import management functions.
[0122] As an example, in response to a query operation triggered by a user on a business data import interface, the import results of all business data are displayed on the business data import interface; in response to a reset operation triggered by a user on the business data import interface, the business data import interface is reset from a current display state to a preset display state; in response to a modification operation triggered by a user on the business data import interface, the import results are modified. This embodiment provides a human-computer interaction entrance for users to manage the business data import results of the imported object by setting the import management function on the business data import interface, thereby improving the import management effect of the business data import.
[0123] In one embodiment, first, business data under multiple preset data management dimensions of the object to be imported are pulled from the source database, and the business data under the multiple preset data management dimensions are integrated into the business data set of the object to be imported. Then, for any business data, the following steps are executed: for any business data, feature extraction is performed on the attribute information and type information of the business data respectively to obtain data attribute features and data type features of the business data, and the data attribute features and data type features are merged into data change features of the business data; according to each data attribute feature, the change frequency of each business data is predicted, wherein the change frequency can be specifically expressed in the form of a percentage, and a selection step is executed: a business data is randomly selected from each business data as the target business data, and when it is detected that the change frequency of the business data is less than a preset change frequency threshold, the business data is used as the first business data with static attributes, and when it is detected that the change frequency of the business data is greater than or equal to the preset change frequency threshold, the business data is used as the second business data with dynamic attributes, and finally the selection step is returned to execute until all business data are selected.
[0124] Furthermore, taking the business data identifier of the first business data as an index, the reference object of the object to be imported is queried in the preset reference object library, and the fixed data value is extracted from the business data reference template of the reference object; taking the business data identifier of the second business data as an index, the variable data value of the second business data is extracted from the business data configuration template, and finally the template attribute of the business data import template of the object to be imported is obtained; taking the template attribute as an index, the data attribute relationship between all the business data of the object to be imported is determined, and according to the data attribute relationship, the corresponding business data values are filled for all the business data of the object to be imported, and all the business data are imported.
[0125] In this embodiment, batch business data under multiple preset data management dimensions can be divided into two categories of business data with different change characteristic attributes through the change characteristic information of the business data, and then the business data identifier of the business data can be used to batch match the corresponding business data values for the business data with different change characteristic attributes. After the two categories of batch business data values are matched, the corresponding business data values are filled for all business data of the object to be imported, and the import of all business data of the object to be imported can be completed. The speed of batch matching business data values for business data with the same attributes is significantly faster than the speed of matching business data values for each business data of the business data with the same attributes, thereby shortening the time for matching business data and business data values one by one in the process of batch business data import. Therefore, The invention overcomes the technical defect that due to the differences in the business functions to be implemented by different business objects, the import logic of different business data of business objects is different, which makes it easy to maintain the business data of business objects. It takes a long time or the operation is complicated. At the same time, in the process of detecting the change frequency of business data, the attribute information of the business data itself and the type information associated with the business data are comprehensively considered, and the data change characteristics that objectively reflect the data change situation of the business data are obtained. Finally, the change frequency of business data is detected through the data change characteristics, which can reflect the change situation of business data in a situation that is more in line with the actual application scenario. Therefore, the import accuracy of business data is further improved. Therefore, this embodiment can ensure the efficiency and accuracy of business data import.
[0126] 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.
[0127] Based on the same inventive concept, the embodiment of the present application also provides a business data import device for implementing the business data import 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 one or more business data import device embodiments provided below can refer to the limitations on the business data import method above, and will not be repeated here.
[0128] In an exemplary embodiment, Figure 6 As shown, a business data import device is provided, including: an acquisition module 501, a classification module 502, a matching module 503 and an import module 504, wherein:
[0129] An acquisition module 501 is used to acquire a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions;
[0130] A classification module 502, configured to classify each of the business data according to the change characteristic information of each of the business data, to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers;
[0131] A matching module 503, configured to batch match the first business data and the second business data with their corresponding business data values according to the business data identifier;
[0132] The import module 504 is used to fill corresponding business data values for all business data of the object to be imported, and import all the business data.
[0133] In one embodiment, the change characteristic information includes a change frequency; the classification module 502 is further configured to:
[0134] Detect the corresponding change frequency through the attribute information of each of the business data; selection step: select the target business data from each of the business data; when it is detected that the change frequency of the business data is less than a preset change frequency threshold, treat the business data as the first business data with static attributes; when it is detected that the change frequency of the business data is greater than or equal to the preset change frequency threshold, treat the business data as the second business data with dynamic attributes; return to execute the selection step until all the business data are selected.
[0135] In one embodiment, the classification module 502 is further configured to:
[0136] For any of the business data, feature extraction is performed on the attribute information and type information of the business data respectively to obtain data attribute features and data type features of the business data, and the data attribute features and the data type features are merged into data change features of the business data; based on each of the data attribute features, the change frequency of each of the business data is predicted.
[0137] In one embodiment, the business data value includes a fixed data value and a variable data value; the matching module 503 is further used to:
[0138] According to the business data identifier of the first business data, the reference object of the object to be imported is queried, and the fixed data value is extracted from the business data reference template of the reference object; according to the business data identifier of the second business data, the variable data value corresponding to the second business data is extracted from the business data configuration template, wherein the business data configuration template is obtained based on the historical variable business data configuration of the object to be imported.
[0139] In one embodiment, the business data configuration template includes a first business data configuration template and a second business data configuration template; the business data importing device also includes:
[0140] A first filling module, configured to fill the first business data configuration template with a changed data value corresponding to the second business data in response to a first configuration operation performed on the first business data configuration template;
[0141] The second filling module is used to query the second business data configuration template in the preset configuration template library according to the object identifier of the object to be imported, and fill the second business data configuration template with the changed data value corresponding to the second business data in response to the second configuration operation performed on the second business data configuration template.
[0142] In one embodiment, the import module 504 is further used to:
[0143] Acquire the template attributes of the business data import template of the object to be imported; fill corresponding business data values for all business data of the object to be imported according to the template attributes, and import all the business data.
[0144] In one embodiment, the business data importing device further includes:
[0145] A display module, configured to display the import results of all the business data on the business data import interface in response to a query operation performed on the business data import interface;
[0146] A reset module, configured to, in response to a reset operation performed on the business data import interface, reset the business data import interface from a current display state to a preset display state;
[0147] A management module is used to manage the import result in response to a management operation performed on the business data import interface.
[0148] Each module in the above-mentioned business data import device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0149] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for importing business data is implemented.
[0150] 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.
[0151] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0152] Acquire a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions;
[0153] Classifying each of the business data according to the change characteristic information of each of the business data to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers;
[0154] According to the business data identifier, batch match the first business data and the second business data with their corresponding business data values;
[0155] Fill in corresponding business data values for all business data of the object to be imported, and import all the business data.
[0156] In one embodiment, the change characteristic information includes a change frequency; when the processor executes the computer program, the processor further implements the following steps:
[0157] Detecting the corresponding change frequency through the attribute information of each of the business data;
[0158] Selection step: selecting target business data from each of the business data;
[0159] When it is detected that the change frequency of the service data is less than a preset change frequency threshold, the service data is regarded as first service data with static attributes; when it is detected that the change frequency of the service data is greater than or equal to the preset change frequency threshold, the service data is regarded as second service data with dynamic attributes;
[0160] Return to execute the selection step until all the business data are selected.
[0161] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0162] For any of the business data, feature extraction is performed on the attribute information and type information of the business data respectively to obtain data attribute features and data type features of the business data, and the data attribute features and the data type features are merged into data change features of the business data;
[0163] According to the attribute characteristics of each of the data, the change frequency of each of the business data is predicted.
[0164] In one embodiment, the service data value includes a fixed data value and a variable data value; when the processor executes the computer program, the following steps are also implemented:
[0165] According to the business data identifier of the first business data, query the reference object of the object to be imported, and extract the fixed data value from the business data reference template of the reference object;
[0166] According to the business data identifier of the second business data, a changed data value corresponding to the second business data is extracted from a business data configuration template, wherein the business data configuration template is configured based on historical changed business data of the object to be imported.
[0167] In one embodiment, the service data configuration template includes a first service data configuration template and a second service data configuration template; when the processor executes the computer program, the following steps are also implemented:
[0168] In response to a first configuration operation performed on the first business data configuration template, filling the first business data configuration template with a changed data value corresponding to the second business data;
[0169] According to the object identifier of the object to be imported, the second business data configuration template is queried in the preset configuration template library, and in response to the second configuration operation performed on the second business data configuration template, the changed data value corresponding to the second business data is filled in the second business data configuration template.
[0170] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0171] Obtaining template attributes of the business data import template of the object to be imported;
[0172] According to the template attributes, corresponding business data values are filled for all business data of the object to be imported, and all the business data are imported.
[0173] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0174] In response to a query operation performed on the business data import interface, displaying the import results of all the business data on the business data import interface;
[0175] In response to a reset operation performed on the business data import interface, resetting the business data import interface from a current display state to a preset display state;
[0176] In response to a management operation performed on the business data import interface, the import result is managed.
[0177] 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 following steps are implemented. When the computer program is executed by the processor, the following steps are also implemented:
[0178] Acquire a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions;
[0179] Classifying each of the business data according to the change characteristic information of each of the business data to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers;
[0180] According to the business data identifier, batch match the first business data and the second business data with their corresponding business data values;
[0181] Fill in corresponding business data values for all business data of the object to be imported, and import all the business data.
[0182] In one embodiment, the change characteristic information includes a change frequency; when the computer program is executed by a processor, the following steps are also implemented:
[0183] Detecting the corresponding change frequency through the attribute information of each of the business data;
[0184] Selection step: selecting target business data from each of the business data;
[0185] When it is detected that the change frequency of the service data is less than a preset change frequency threshold, the service data is regarded as first service data with static attributes; when it is detected that the change frequency of the service data is greater than or equal to the preset change frequency threshold, the service data is regarded as second service data with dynamic attributes;
[0186] Return to execute the selection step until all the business data are selected.
[0187] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0188] For any of the business data, feature extraction is performed on the attribute information and type information of the business data respectively to obtain data attribute features and data type features of the business data, and the data attribute features and the data type features are merged into data change features of the business data;
[0189] According to the attribute characteristics of each of the data, the change frequency of each of the business data is predicted.
[0190] In one embodiment, the business data value includes a fixed data value and a variable data value; when the computer program is executed by the processor, the following steps are also implemented:
[0191] According to the business data identifier of the first business data, query the reference object of the object to be imported, and extract the fixed data value from the business data reference template of the reference object;
[0192] According to the business data identifier of the second business data, a changed data value corresponding to the second business data is extracted from a business data configuration template, wherein the business data configuration template is configured based on historical changed business data of the object to be imported.
[0193] In one embodiment, the service data configuration template includes a first service data configuration template and a second service data configuration template; when the computer program is executed by the processor, the following steps are also implemented:
[0194] In response to a first configuration operation performed on the first business data configuration template, filling the first business data configuration template with a changed data value corresponding to the second business data;
[0195] According to the object identifier of the object to be imported, the second business data configuration template is queried in the preset configuration template library, and in response to the second configuration operation performed on the second business data configuration template, the changed data value corresponding to the second business data is filled in the second business data configuration template.
[0196] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0197] Filling corresponding business data values for all business data of the object to be imported and importing all business data includes:
[0198] Obtaining template attributes of the business data import template of the object to be imported;
[0199] According to the template attributes, corresponding business data values are filled for all business data of the object to be imported, and all the business data are imported.
[0200] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0201] In response to a query operation performed on the business data import interface, displaying the import results of all the business data on the business data import interface;
[0202] In response to a reset operation performed on the business data import interface, resetting the business data import interface from a current display state to a preset display state;
[0203] In response to a management operation performed on the business data import interface, the import result is managed.
[0204] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0205] Acquire a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions;
[0206] Classifying each of the business data according to the change characteristic information of each of the business data to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers;
[0207] According to the business data identifier, batch match the first business data and the second business data with their corresponding business data values;
[0208] Fill in corresponding business data values for all business data of the object to be imported, and import all the business data.
[0209] In one embodiment, the change characteristic information includes a change frequency; when the computer program is executed by a processor, the following steps are also implemented:
[0210] Detecting the corresponding change frequency through the attribute information of each of the business data;
[0211] Selection step: selecting target business data from each of the business data;
[0212] When it is detected that the change frequency of the service data is less than a preset change frequency threshold, the service data is regarded as first service data with static attributes; when it is detected that the change frequency of the service data is greater than or equal to the preset change frequency threshold, the service data is regarded as second service data with dynamic attributes;
[0213] Return to execute the selection step until all the business data are selected.
[0214] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0215] For any of the business data, feature extraction is performed on the attribute information and type information of the business data respectively to obtain data attribute features and data type features of the business data, and the data attribute features and the data type features are merged into data change features of the business data;
[0216] According to the attribute characteristics of each of the data, the change frequency of each of the business data is predicted.
[0217] In one embodiment, the business data value includes a fixed data value and a variable data value; when the computer program is executed by the processor, the following steps are also implemented:
[0218] According to the business data identifier of the first business data, query the reference object of the object to be imported, and extract the fixed data value from the business data reference template of the reference object;
[0219] According to the business data identifier of the second business data, a changed data value corresponding to the second business data is extracted from a business data configuration template, wherein the business data configuration template is configured based on historical changed business data of the object to be imported.
[0220] In one embodiment, the service data configuration template includes a first service data configuration template and a second service data configuration template; when the computer program is executed by the processor, the following steps are also implemented:
[0221] In response to a first configuration operation performed on the first business data configuration template, filling the first business data configuration template with a changed data value corresponding to the second business data;
[0222] According to the object identifier of the object to be imported, the second business data configuration template is queried in the preset configuration template library, and in response to the second configuration operation performed on the second business data configuration template, the changed data value corresponding to the second business data is filled in the second business data configuration template.
[0223] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0224] Obtaining template attributes of the business data import template of the object to be imported;
[0225] According to the template attributes, corresponding business data values are filled for all business data of the object to be imported, and all the business data are imported.
[0226] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0227] In response to a query operation performed on the business data import interface, displaying the import results of all the business data on the business data import interface;
[0228] In response to a reset operation performed on the business data import interface, resetting the business data import interface from a current display state to a preset display state;
[0229] In response to a management operation performed on the business data import interface, the import result is managed.
[0230] 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, imported data, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0231] The acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations." and "It should be noted that in the embodiments of this application, certain software, components, models, and other existing solutions in the industry may be mentioned. They should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.
[0232] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method 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 memory 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), magnetic 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, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0233] 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 application.
[0234] 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 importing business data, characterized in that: The method comprises: Acquire a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions; Classifying each of the business data according to the change characteristic information of each of the business data to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers; According to the business data identifier, batch match the first business data and the second business data with their corresponding business data values; Fill in corresponding business data values for all business data of the object to be imported, and import all the business data.
2. The method according to claim 1, characterized in that The change characteristic information includes a change frequency; and the classifying each of the business data according to the change characteristic information of each of the business data to obtain first business data with static attributes and second business data with dynamic attributes includes: Detecting the corresponding change frequency through the attribute information of each of the business data; Selection step: selecting target business data from each of the business data; When it is detected that the change frequency of the service data is less than a preset change frequency threshold, the service data is regarded as first service data with static attributes; when it is detected that the change frequency of the service data is greater than or equal to the preset change frequency threshold, the service data is regarded as second service data with dynamic attributes; Return to execute the selection step until all the business data are selected.
3. The method according to claim 2, characterized in that The detecting the corresponding change frequency through the attribute information of each of the business data includes: For any of the business data, feature extraction is performed on the attribute information and type information of the business data respectively to obtain data attribute features and data type features of the business data, and the data attribute features and the data type features are merged into data change features of the business data; According to the attribute characteristics of each of the data, the change frequency of each of the business data is predicted.
4. The method according to claim 1, characterized in that: The business data value includes a fixed data value and a variable data value; and batch matching the first business data and the second business data with the business data values corresponding to each other according to the business data identifier includes: According to the business data identifier of the first business data, query the reference object of the object to be imported, and extract the fixed data value from the business data reference template of the reference object; According to the business data identifier of the second business data, a changed data value corresponding to the second business data is extracted from a business data configuration template, wherein the business data configuration template is configured based on historical changed business data of the object to be imported.
5. The method according to claim 4, characterized in that The business data configuration template includes a first business data configuration template and a second business data configuration template; before extracting the change data value corresponding to the second business data in the business data configuration template according to the business data identifier of the second business data, the method further includes one of the following: In response to a first configuration operation performed on the first business data configuration template, filling the first business data configuration template with a changed data value corresponding to the second business data; According to the object identifier of the object to be imported, the second business data configuration template is queried in the preset configuration template library, and in response to the second configuration operation performed on the second business data configuration template, the changed data value corresponding to the second business data is filled in the second business data configuration template.
6. The method according to claim 5, characterized in that Filling corresponding business data values for all business data of the object to be imported and importing all business data includes: Obtaining template attributes of the business data import template of the object to be imported; According to the template attributes, corresponding business data values are filled for all business data of the object to be imported, and all the business data are imported.
7. The method according to claim 1, characterized in that After filling corresponding business data values for all business data of the object to be imported and importing all business data, the method further includes at least one of the following items: In response to a query operation performed on the business data import interface, displaying the import results of all the business data on the business data import interface; In response to a reset operation performed on the business data import interface, resetting the business data import interface from a current display state to a preset display state; In response to a management operation performed on the business data import interface, the import result is managed.
8. A business data import device, characterized in that: The device comprises: An acquisition module, used to acquire a business data set of an object to be imported, wherein the business data set includes business data under multiple preset data management dimensions; A classification module, used for classifying each of the business data according to the change characteristic information of each of the business data, to obtain first business data with static attributes and second business data with dynamic attributes, wherein the first business data and the second business data carry different business data identifiers; A matching module, used for batch matching the first business data and the second business data with their corresponding business data values according to the business data identifier; The import module is used to fill corresponding business data values for all business data of the object to be imported and import all the business data.
9. The device according to claim 8, characterized in that The change characteristic information includes the change frequency; the classification module is also used for: Detect the corresponding change frequency through the attribute information of each of the business data; selection step: select the target business data from each of the business data; when it is detected that the change frequency of the business data is less than a preset change frequency threshold, treat the business data as the first business data with static attributes; when it is detected that the change frequency of the business data is greater than or equal to the preset change frequency threshold, treat the business data as the second business data with dynamic attributes; return to execute the selection step until all the business data are selected.
10. The device according to claim 8, characterized in that The classification module is also used to: For any of the business data, feature extraction is performed on the attribute information and type information of the business data respectively to obtain data attribute features and data type features of the business data, and the data attribute features and the data type features are merged into data change features of the business data; based on each of the data attribute features, the change frequency of each of the business data is predicted.
11. The device according to claim 8, characterized in that The business data value includes a fixed data value and a variable data value; the matching module is also used for: According to the business data identifier of the first business data, query the reference object of the object to be imported, and extract the fixed data value from the business data reference template of the reference object; According to the business data identifier of the second business data, a changed data value corresponding to the second business data is extracted from a business data configuration template, wherein the business data configuration template is configured based on historical changed business data of the object to be imported.
12. The device according to claim 11, characterized in that The business data configuration template includes a first business data configuration template and a second business data configuration template; the business data importing device also includes: A first filling module, configured to fill the first business data configuration template with a changed data value corresponding to the second business data in response to a first configuration operation performed on the first business data configuration template; The second filling module is used to query the second business data configuration template in the preset configuration template library according to the object identifier of the object to be imported, and fill the second business data configuration template with the changed data value corresponding to the second business data in response to the second configuration operation performed on the second business data configuration template.
13. The device according to claim 8, characterized in that The import module is also used to: Acquire the template attributes of the business data import template of the object to be imported; fill corresponding business data values for all business data of the object to be imported according to the template attributes, and import all the business data.
14. The device according to claim 8, characterized in that The business data importing device also includes: A display module, configured to display the import results of all the business data on the business data import interface in response to a query operation performed on the business data import interface; A reset module, configured to, in response to a reset operation performed on the business data import interface, reset the business data import interface from a current display state to a preset display state; A management module is used to manage the import result in response to a management operation performed on the business data import interface.
15. 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 7 are implemented.
16. 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 7 are implemented.
17. A computer program product comprising a computer program, 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 7 are implemented.
Citation Information
Cited By
MOM service domain-oriented component construction method and device, equipment and medium
CN120994167A