CN116010424A - Attribute configuration method, attribute configuration device, computer equipment, storage medium and program product - Google Patents

Attribute configuration method, attribute configuration device, computer equipment, storage medium and program product Download PDF

Info

Publication number
CN116010424A
CN116010424A CN202310119118.5A CN202310119118A CN116010424A CN 116010424 A CN116010424 A CN 116010424A CN 202310119118 A CN202310119118 A CN 202310119118A CN 116010424 A CN116010424 A CN 116010424A
Authority
CN
China
Prior art keywords
configuration object
attribute
type
configuration
attribute information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310119118.5A
Other languages
Chinese (zh)
Inventor
郈大兰
周莉
杨光宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202310119118.5A priority Critical patent/CN116010424A/en
Publication of CN116010424A publication Critical patent/CN116010424A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The present application relates to an attribute configuration method, apparatus, computer device, storage medium and computer program product. The method comprises the following steps: acquiring a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information; determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information comprises a mandatory attribute and an optional attribute; and taking the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object as target configuration objects, and determining the attribute information of the target configuration objects based on the attribute indexes of the target configuration objects. By adopting the method, the attribute information of the configuration object can be conveniently determined, and the efficiency of configuring the attribute of the configuration object is improved.

Description

Attribute configuration method, attribute configuration device, computer equipment, storage medium and program product
Technical Field
The present application relates to the field of big data technology, and in particular, to an attribute configuration method, an apparatus, a computer device, a storage medium, and a computer program product.
Background
With the continuous expansion of data centers in the financial industry, the number of infrastructures such as software and hardware deployed in the data centers is increasing. A configuration management system, which is a management system taking an infrastructure or a configuration object in a data center as a management object, follows. The configuration management system may generate configuration information by recording basic information of the configuration object and association relation related to the configuration object. Therefore, a process of efficiently acquiring basic information of a configuration object is particularly important for a configuration management system.
In general, the basic information of the configuration object may be described by the attribute of the configuration object. In the conventional method, the attribute of the configuration object is configured in a manual mode, so that the basic information of the configuration object is obtained. However, the conventional manner of configuring the attribute of the configuration object has a problem of low efficiency.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an attribute configuration method, apparatus, computer device, computer-readable storage medium, and computer program product that can improve the efficiency of attribute configuration.
In a first aspect, the present application provides an attribute configuration method. The method comprises the following steps:
acquiring a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information;
determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information comprises a filling-necessary attribute and a non-filling-necessary attribute;
and taking the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object as target configuration objects, and determining the attribute information of the target configuration objects based on the attribute indexes of the target configuration objects.
In one embodiment, the determining, based on the attribute index of the target configuration object, the attribute information of the target configuration object using the configuration object whose attribute information is unnecessary and the second type configuration object as the target configuration object includes:
acquiring a configuration object with attribute information of unnecessary filling attribute from the first type of configuration object;
taking the configuration object with the unnecessary attribute and the second type of configuration object as the target configuration object;
Calculating attribute indexes of the target configuration objects, and determining attribute information of the target configuration objects based on the attribute indexes of the target configuration objects; the attribute index includes a call frequency and a query frequency.
In one embodiment, the calculating the attribute index of the target configuration object includes:
calculating the calling frequency of the target configuration object according to the total number of the first applications corresponding to the target configuration object and the total number of the second applications corresponding to the target configuration object; the second application is used for transmitting the attribute information with the target configuration object, and the first application is an application used for calling the target configuration object in the second application;
and calculating the query frequency of the target configuration object according to the query times of the target configuration object in a preset time period and the total number of the target configuration objects.
In one embodiment, the method further comprises:
configuring a necessary tag for a configuration object with the attribute information being necessary attribute in the first type of configuration object according to the attribute information of the first type of configuration object;
the obtaining the configuration object with the attribute information being unnecessary filling attribute from the first type of configuration object comprises the following steps:
And acquiring the configuration object with attribute information being unnecessary-filled attribute from the first type of configuration object according to the necessary-filled label.
In one embodiment, the determining the attribute information of the first type of configuration object according to the identification information of the first type of configuration object includes:
acquiring a mapping relation between the identification information of the first type of configuration object and the attribute information of the first type of configuration object;
and determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object and the mapping relation.
In one embodiment, the method further comprises:
judging whether the configuration object comprises identification information or not;
if the configuration object comprises identification information, dividing the configuration object into a first type of configuration object;
and if the configuration object does not comprise the identification information, dividing the configuration object into a second type of configuration object.
In one embodiment, the method further comprises:
taking the target configuration object with the attribute information of the target configuration object being the mandatory attribute and the configuration object with the attribute information of the first type of configuration object being the mandatory attribute as configuration objects to be checked;
Non-null verification is carried out on the value corresponding to the attribute information of the configuration object to be verified, and a non-null verification result is generated;
and generating a prompt interface based on the configuration object to be checked, of which the non-empty check result is empty.
In a second aspect, the present application further provides an attribute configuration apparatus. The device comprises:
the configuration object acquisition module is used for acquiring a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information;
the first determining module is used for determining attribute information of the first type of configuration objects according to the identification information of the first type of configuration objects; the attribute information comprises a filling-necessary attribute and a non-filling-necessary attribute;
and the second determining module is used for determining the attribute information of the target configuration object based on the attribute index of the target configuration object by taking the configuration object with the attribute information of the first type of configuration object as unnecessary attribute and the second type of configuration object as the target configuration object.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the method in any of the embodiments of the first aspect described above when the processor executes the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method in any of the embodiments of the first aspect described above.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprising a computer program which, when executed by a processor, implements the steps of the method in any of the embodiments of the first aspect described above.
The attribute configuration method, the attribute configuration device, the computer equipment, the storage medium and the computer program product acquire a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information; determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information comprises a mandatory attribute and an optional attribute; and taking the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object as target configuration objects, and determining the attribute information of the target configuration objects based on the attribute indexes of the target configuration objects. Because the first type configuration object containing the identification information and the second type configuration object not containing the identification information can be obtained in advance, aiming at the first type configuration object, the attribute information of the first type configuration object can be determined directly according to the identification information of the first type configuration object; the configuration objects with the attribute information of unnecessary attributes in the first type of configuration objects and the second type of configuration objects are used as target configuration objects, and the attribute information of the target configuration objects can be conveniently determined based on the attribute indexes of the target configuration objects aiming at the target configuration objects, so that the attribute information of the configuration objects can be conveniently determined, and the configuration efficiency of the attribute of the configuration objects is improved.
Drawings
FIG. 1 is an application environment diagram of a property configuration method in one embodiment;
FIG. 2 is a flow diagram of a method of attribute configuration in one embodiment;
FIG. 3 is a flowchart illustrating a step of determining attribute information of a target configuration object in one embodiment;
FIG. 4 is a flowchart illustrating a step of calculating an attribute index in one embodiment;
FIG. 5 is a flowchart of a step of configuring a necessary tag according to another embodiment;
FIG. 6 is a flowchart illustrating a step of determining attribute information of a first type of configuration object according to one embodiment;
FIG. 7 is a flow chart illustrating a configuration object classification step in another embodiment;
FIG. 8 is a flow chart of a non-empty verification step in another embodiment;
FIG. 9 is a schematic overall flow diagram of a verification step in one embodiment;
FIG. 10 is a flow chart of a method of attribute configuration in an alternative embodiment;
FIG. 11 is a flow diagram of an overall configuration method of attributes in one embodiment;
FIG. 12 is a block diagram of an attribute configuration apparatus in one embodiment;
fig. 13 is an internal structural view of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
With the continuous expansion of data centers in the financial industry, the number of infrastructures such as software and hardware deployed in the data centers is increasing. A configuration management system, which is a management system taking a configuration object in a data center as a management object, follows. Wherein, the configuration object refers to the software and hardware infrastructure of the data center. The hardware infrastructure comprises hardware such as machine room environment equipment, servers, storage equipment, network equipment and the like, and the software infrastructure comprises software such as software information, application information and the like. The configuration management system can generate configuration information by recording basic information of the configuration object and recording association relation related to the configuration object, so that the management application system can accurately deploy the information in an actual production environment. In addition, the configuration management system can also send configuration information to downstream systems such as a monitoring system, an operation and maintenance system, a resource supply system and the like, so that basic data is provided for the actual application process. Therefore, a process of efficiently acquiring basic information of a configuration object is particularly important for a configuration management system and a system related to the configuration management system.
In general, the basic information of the configuration object may be described by the attribute of the configuration object. The attribute information of the configuration object includes a mandatory attribute (also referred to as a mandatory attribute) and an optional attribute (also referred to as an optional attribute), and the information contained in the configuration object is generally described as critical information by the mandatory attribute, and the information contained in the configuration object is generally described as non-critical information by the optional attribute. In conventional approaches, attribute information of a configuration object is typically determined by interview negotiations by a relevant persona of the configuration object (e.g., configuration entry personnel, configuration use personnel, configuration administration personnel, etc.) during a configuration object definition phase or a configuration object modification phase. That is, the conventional method generally configures the attribute of the configuration object by a manual mode, so as to obtain the basic information of the configuration object. Wherein the basic information of the configuration object includes attribute information of the configuration object.
However, in the conventional manner of configuring the attribute of the configuration object, when there are more related people of the configuration object, the related people of the configuration object need to perform multiparty negotiation and repeated coordination, which is time-consuming and labor-consuming; because the configuration information input personnel are different from the user most of the time, when the use mode or the use scene of the configuration information is changed, the configuration information input personnel cannot always find the configuration information in time, so that the configuration information cannot be changed in time; in addition, in the process of adjusting the attribute information, the application program is required to be published, and the process of publishing the application program is troublesome. In summary, the conventional attribute configuration method has a problem of low efficiency.
The attribute configuration method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The data storage system may store data that the server 104 needs to process. The data storage system may be integrated on the server 104 or may be located on a cloud or other network server. The server 104 acquires a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information; the server 104 determines attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information comprises a mandatory attribute and an optional attribute; the server 104 uses the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object as target configuration objects, and determines the attribute information of the target configuration objects based on the attribute indexes of the target configuration objects. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices, and portable wearable devices, where the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The server 104 may be implemented as a stand-alone server or as a server cluster of multiple servers.
In one embodiment, as shown in fig. 2, an attribute configuration method is provided, and the method is applied to the server 104 in fig. 1 for illustration, and includes the following steps:
step 220, obtaining a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information and the second type of configuration object does not contain identification information.
Wherein, the configuration object refers to the software and hardware infrastructure of the data center. The hardware infrastructure comprises hardware such as machine room environment equipment, servers, storage equipment, network equipment and the like, and the software infrastructure comprises software such as software information, application information and the like. In the embodiment of the present application, the configuration objects may be divided into a first type of configuration object and a second type of configuration object in advance, where the first type of configuration object includes identification information, and the second type of configuration object does not include identification information. The identification information is an identifier corresponding to the configuration object. Thus, the server 104 may obtain the first type of configuration object and the second type of configuration object from the configuration objects.
Step 240, determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information includes a fill-in attribute and a not-fill-in attribute.
For example, the identification information of the server may be server, and the identification information of the application node may be appnode, so that the server 104 may determine, according to the identification information of the first type of configuration object, attribute information of each configuration object in the first type of configuration object. The attribute information includes a mandatory attribute and an optional attribute, that is, the attribute information of the first type of configuration object may be the mandatory attribute, and the attribute information of the first type of configuration object may also be the optional attribute. If the attribute information of the first type of configuration object is the filling-necessary attribute, characterizing the first type of configuration object as a filling-necessary item; and if the attribute information of the first type of configuration object is the unnecessary filling attribute, characterizing the first type of configuration object as an unnecessary filling item. The mandatory property may also be called mandatory property, and information contained in the configuration object is generally described as key information through the mandatory property; the unnecessary-filled attribute may also be referred to as an unnecessary-input attribute, and information contained in the configuration object is generally described as non-critical information by the unnecessary-filled attribute. In general, the attribute information of the first type of configuration object is usually a mandatory attribute, which is, of course, not limited in this embodiment of the present application.
In step 260, the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object are used as target configuration objects, and the attribute information of the target configuration objects is determined based on the attribute indexes of the target configuration objects.
Optionally, according to the determined attribute information of the first type of configuration object, the server 104 may select a configuration object whose attribute information is an unnecessary-filling attribute from the first type of configuration object, and use the configuration object whose attribute information is an unnecessary-filling attribute in the first type of configuration object and the second type of configuration object as the target configuration object. Then, based on the attribute index of the target configuration object, the server 104 may determine attribute information of the target configuration object. Wherein the attribute index is an index value for characterizing attribute information of the configuration object.
In the attribute configuration method, a first type of configuration object and a second type of configuration object are obtained; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information; determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information comprises a mandatory attribute and an optional attribute; and taking the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object as target configuration objects, and determining the attribute information of the target configuration objects based on the attribute indexes of the target configuration objects. Because the first type configuration object containing the identification information and the second type configuration object not containing the identification information can be obtained in advance, aiming at the first type configuration object, the attribute information of the first type configuration object can be determined directly according to the identification information of the first type configuration object; the configuration objects with the attribute information of unnecessary attributes in the first type of configuration objects and the second type of configuration objects are used as target configuration objects, and the attribute information of the target configuration objects can be conveniently determined based on the attribute indexes of the target configuration objects aiming at the target configuration objects, so that the attribute information of the configuration objects can be conveniently determined, and the configuration efficiency of the attribute of the configuration objects is improved.
In one embodiment, as shown in fig. 3, taking a configuration object with attribute information of a first type of configuration object being unnecessary-filled attribute and a second type of configuration object as target configuration objects, determining attribute information of the target configuration objects based on attribute indexes of the target configuration objects includes:
step 320, obtain the configuration object whose attribute information is unnecessary filling attribute from the first type of configuration object.
Optionally, according to the attribute information of the first type of configuration object, the server 104 may determine whether the attribute information of the first type of configuration object is a mandatory attribute or an optional attribute, so that the configuration object whose attribute information is an optional attribute may be selected from the first type of configuration object. Wherein the attribute information of the configuration object includes a mandatory attribute (also referred to as a mandatory attribute) and a non-mandatory attribute (also referred to as a non-mandatory attribute). The unnecessary-filled attribute may also be referred to as an unnecessary-input attribute, and information contained in the configuration object is generally described as non-critical information by the unnecessary-filled attribute.
And 340, taking the configuration object with unnecessary attribute and the second type of configuration object as the target configuration object.
Alternatively, the server 104 may use the configuration object whose attribute information is the unnecessary attribute in the first type of configuration object and the second type of configuration object as the target configuration object. The target configuration object is used for characterizing the configuration object which cannot accurately judge the attribute information according to the identification information of the configuration object.
Step 360, calculating the attribute index of the target configuration object, and determining the attribute information of the target configuration object based on the attribute index of the target configuration object; the attribute index includes a call frequency and a query frequency.
Alternatively, for each target configuration object, the server 104 may calculate the attribute index of the target configuration object according to the actual use condition of the target configuration object. Then, based on the attribute index of the target configuration object, the server 104 may determine attribute information of the target configuration object. The attribute information comprises a filling-in attribute and a non-filling-in attribute, wherein the attribute index is an index value for representing the attribute information of the configuration object, and the attribute index comprises a calling frequency and a query frequency.
In this embodiment, a configuration object whose attribute information is unnecessary-filled attribute is obtained from a first type of configuration object; and taking the configuration object with unnecessary attribute and the second type of configuration object as target configuration objects. For each target configuration object, the embodiment can calculate the attribute index of the target configuration object, and can conveniently determine the attribute information of the target configuration object based on the attribute index of the target configuration object, thereby improving the efficiency of configuring the attribute of the target configuration object.
In one embodiment, as shown in fig. 4, calculating the attribute index of the target configuration object includes:
step 420, calculating the calling frequency of the target configuration object according to the total number of the first applications corresponding to the target configuration object and the total number of the second applications corresponding to the target configuration object; the second application is used for transmitting attribute information with the target configuration object, and the first application is an application used for calling the target configuration object in the second application.
Alternatively, the configuration information may be generated by recording the basic information of the configuration object and recording the association relation related to the configuration object, and the server 104 may send the generated configuration information to a downstream system such as a monitoring system, an operation and maintenance system, a resource supply system, and the like, so as to provide basic data for the actual application process. Thus, for each target configuration object, the server 104 may calculate the call frequency of the target configuration object based on the total number of first applications corresponding to the target configuration object and the total number of second applications corresponding to the target configuration object. The second application is used for transmitting attribute information with the target configuration object, and the first application is an application used for calling the target configuration object in the second application. Illustratively, the call frequency of the target configuration object is equal to: the total number of first applications corresponding to the target configuration object is divided by the total number of second applications corresponding to the target configuration object.
Step 440, calculating the query frequency of the target configuration object according to the query times of the target configuration object in the preset time period and the total number of the target configuration objects.
Alternatively, for each target configuration object, the server 104 may calculate the query frequency of the target configuration object according to the number of queries of the target configuration object in the preset time period and the total number of target configuration objects. The query frequency of the target configuration object is used for representing the times of querying the target configuration object in a preset time period. Illustratively, the query frequency of the target configuration object is equal to: the number of queries within a preset period of time for the target configuration object divided by the total number of configuration objects.
In this embodiment, according to the total number of applications for calling the target configuration object in the second application and the total number of second applications for transmitting attribute information with the target configuration object, the calling frequency of the target configuration object can be calculated; according to the query times of the target configuration objects in the preset time period and the total number of the target configuration objects, the query frequency of the target configuration objects can be calculated. Because the attribute indexes comprise the calling frequency and the query frequency, the attribute indexes of the target configuration object can be conveniently determined according to the calling frequency and the query frequency.
In one embodiment, as shown in fig. 5, the attribute configuration method further includes:
step 520, according to the attribute information of the first type of configuration object, the necessary-filling label is configured for the configuration object with the attribute information of necessary-filling attribute in the first type of configuration object.
Optionally, according to the attribute information of the first type of configuration object, the server 104 may determine whether the attribute information of the first type of configuration object is a mandatory or non-mandatory attribute, so that the attribute information may be selected from the first type of configuration object as the mandatory configuration object. The server 104 may then configure the mandatory tag for each configuration object whose attribute information is a mandatory attribute in the first type of configuration object. The mandatory property may also be called a mandatory property, and the information contained in the configuration object is generally described as critical information by the mandatory property. The attribute information used for characterizing the configuration object is the fill-in attribute. The necessary label can be in the form of star marks, opposite hooks and the like, and can be configured in a manual input or automatic labeling mode. Of course, the embodiment of the present application does not limit the labeling form of the necessary-to-be-labeled and the configuration mode of the necessary-to-be-labeled.
Acquiring a configuration object with attribute information being unnecessary-filled attribute from a first type of configuration object, wherein the configuration object comprises:
step 540, according to the mandatory tag, obtain the configuration object with attribute information being the unnecessary attribute from the first type of configuration object.
Optionally, according to the mandatory tag in the first type of configuration object, the server 104 may determine that a configuration object in the first type of configuration object, in which the mandatory tag is not configured, is a configuration object whose attribute information is an optional attribute, so that the server 104 may obtain the configuration object whose attribute information is an optional attribute from the first type of configuration object.
In this embodiment, according to the attribute information of the first type of configuration object, the necessary tag is configured for the configuration object whose attribute information is the necessary attribute in the first type of configuration object. And then, according to the unnecessary-filled tag, the configuration object with the attribute information being the unnecessary-filled attribute can be obtained from the first type of configuration object, so that the target configuration object can be conveniently determined according to the configuration object with the attribute information being the unnecessary-filled attribute.
In one embodiment, as shown in fig. 6, determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object includes:
Step 620, obtaining a mapping relationship between the identification information of the first type of configuration object and the attribute information of the first type of configuration object.
Alternatively, for the first type of configuration object, the server 104 may obtain a mapping relationship between the identification information of the first type of configuration object and the attribute information of the first type of configuration object. For example, for servers with server identification information, the identification information of each server includes a serial number, a resource code and a management ID corresponding to each server, where the serial number corresponds to the server one by one, the resource code corresponds to the server one by one, and the management ID corresponds to the server one by one. According to the historical production and operation conditions, whether the information contained in each server is key information or not can be determined through identification information such as serial numbers, resource codes, management IDs and the like corresponding to each server. If the information contained in the server is key information, determining the attribute information of the server as necessary attribute, thereby obtaining the mapping relation between the identification information of the server and the attribute information of the server, and further obtaining the mapping relation between the identification information of each server and the attribute information of each server.
Step 640, determining attribute information of the first type of configuration object according to the identification information and the mapping relation of the first type of configuration object.
Optionally, according to the identification information of the first type of configuration object and the mapping relationship between the identification information of the first type of configuration object and the attribute information of the first type of configuration object, the server 104 may find the attribute information of the first type of configuration object corresponding to the identification information of the first type of configuration object from the mapping relationship between the identification information of the first type of configuration object and the attribute information of the first type of configuration object, so as to determine the attribute information of each configuration object in the first type of configuration object.
In this embodiment, for a first type of configuration object, a mapping relationship between identification information of the first type of configuration object and attribute information of the first type of configuration object is obtained; and then, according to the identification information of the first type of configuration object and the mapping relation obtained in advance, the attribute information of the first type of configuration object can be conveniently determined.
In one embodiment, as shown in fig. 7, the attribute configuration method further includes:
step 720, determining whether the configuration object includes identification information.
If the configuration object includes identification information, the configuration object is divided into a first class of configuration objects, step 740.
In step 760, if the configuration object does not include the identification information, the configuration object is divided into a second type of configuration object.
Alternatively, for each configuration object, the server 104 may determine whether the configuration object includes identification information. If the configuration object is judged to comprise the identification information, dividing the configuration object into a first type of configuration object; and if the configuration object is judged to not comprise the identification information, dividing the configuration object into a second type of configuration object. Wherein the identification information is an identifier corresponding to the configuration object. The first type of configuration objects are a set of configuration objects containing identification information, and the second type of configuration objects are a set of configuration objects not containing identification information. For example, the second class of configuration objects may include a superior regulatory class configuration object and a production operation class configuration object, where the superior regulatory class configuration object and the production operation class configuration object are both configuration objects that do not include identification information.
In this embodiment, whether the configuration object includes identification information is determined; if the configuration object comprises the identification information, dividing the configuration object into a first type of configuration object; if the configuration object does not include the identification information, the configuration object is divided into a second type of configuration object. The embodiment can classify the configuration object into the first type configuration object and the second type configuration object by judging whether the configuration object includes the identification information.
In one embodiment, as shown in fig. 8, the attribute configuration method further includes:
step 820, the target configuration object with the attribute information of the target configuration object being the mandatory attribute and the configuration object with the attribute information of the first class configuration object being the mandatory attribute are used as the configuration objects to be checked.
Alternatively, as shown in fig. 9, fig. 9 is a schematic overall flow diagram of the verification step in one embodiment. First, the server 104 may obtain attribute information of the first type of configuration object and attribute information of the target configuration object, thereby obtaining attribute information of each configuration object. Second, the server 104 may load attribute information of each configuration object on the front-end interface, and mark the configuration object whose attribute information is necessary to be filled with attributes on the front-end interface. And then, taking the target configuration object with the attribute information of the target configuration object being the mandatory attribute and the configuration object with the attribute information of the first type of configuration object being the mandatory attribute as configuration objects to be checked. Wherein, the configuration object to be checked is a configuration object with attribute information of necessary attribute.
And 840, performing non-null verification on the value corresponding to the attribute information of the configuration object to be verified, and generating a non-null verification result.
Optionally, as shown in fig. 9, for each configuration object to be checked whose attribute information is a mandatory attribute, non-null check is performed on a value corresponding to the attribute information of the configuration object to be checked, and a non-null check result is generated. The non-empty verification refers to a process of determining whether a value corresponding to attribute information of a configuration object to be verified is empty or not through a judgment statement. Because the attribute information of the configuration object to be checked is the necessary filling attribute, the non-empty check result of the configuration object to be checked cannot be empty.
Step 860, generating a prompt interface based on the configuration object to be checked, whose non-empty check result is empty.
Optionally, if the non-empty verification result of the configuration object to be verified is null, it is indicated that the value corresponding to the attribute information of the configuration object to be verified is null, that is, it is indicated that the user does not fill in the value corresponding to the attribute information of the configuration object to be verified. Therefore, the server 104 may generate a prompt interface based on the configuration object to be verified whose non-empty verification result is empty, so as to prompt the user to fill in the value corresponding to the attribute information of the configuration object to be verified whose non-empty verification result is empty.
In this embodiment, a target configuration object with attribute information of a necessary attribute in the target configuration object and a configuration object with attribute information of a necessary attribute in the first class configuration object are used as configuration objects to be checked; performing non-null verification on a value corresponding to the attribute information of the configuration object to be verified, and generating a non-null verification result; and generating a prompt interface based on the configuration object to be checked, of which the non-empty check result is empty. Therefore, non-empty verification can be performed on the value corresponding to the attribute information of the configuration object to be verified, the attribute information of which is the necessary attribute is filled, and the problem that the attribute information of the configuration object is wrong due to missing the value corresponding to the attribute information of the configuration object to be verified is avoided.
In an alternative embodiment, as shown in fig. 10, an attribute configuration method is provided, which is illustrated by using the method applied to the server 104 in fig. 1 as an example, and includes the following steps:
step 1002, judging whether the configuration object includes identification information;
step 1004, if the configuration object includes identification information, dividing the configuration object into a first type of configuration object;
step 1006, if the configuration object does not include the identification information, dividing the configuration object into a second type of configuration object;
step 1008, obtaining a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information;
step 1010, obtaining a mapping relationship between the identification information of the first type of configuration object and the attribute information of the first type of configuration object;
step 1012, determining attribute information of the first type of configuration object according to the identification information and the mapping relation of the first type of configuration object; the attribute information comprises a mandatory attribute and an optional attribute;
step 1014, configuring a necessary tag for the configuration object with the attribute information being necessary attribute in the first type of configuration object according to the attribute information of the first type of configuration object;
Step 1016, obtaining the configuration object with attribute information being unnecessary-filled attribute from the first type of configuration object according to the necessary-filled label;
step 1018, taking the configuration object with unnecessary attribute and the second type of configuration object as the target configuration object;
step 1020, calculating the calling frequency of the target configuration object according to the total number of the first applications corresponding to the target configuration object and the total number of the second applications corresponding to the target configuration object; the second application is used for transmitting attribute information with the target configuration object, and the first application is an application used for calling the target configuration object in the second application;
step 1022, calculating the query frequency of the target configuration object according to the query times of the target configuration object in the preset time period and the total number of the target configuration objects;
step 1024, determining attribute information of the target configuration object based on the attribute index of the target configuration object; the attribute index comprises a calling frequency and a query frequency;
step 1026, using the target configuration object with the attribute information of the target configuration object being the mandatory attribute and the configuration object with the attribute information of the first class configuration object being the mandatory attribute as the configuration object to be checked;
step 1028, performing non-empty verification on the value corresponding to the attribute information of the configuration object to be verified, and generating a non-empty verification result;
Step 1030, generating a prompt interface based on the configuration object to be checked, the non-empty check result of which is empty.
Alternatively, as shown in fig. 11, fig. 11 is an overall flowchart of an attribute configuration method in an embodiment. First, for each configuration object, it is sequentially determined whether or not a necessary tag is arranged for each configuration object according to the name of the configuration object. If the configuration object is configured with the necessary filling label, determining the attribute information of the configuration object as the necessary filling attribute; if the configuration object is not configured with the necessary tag, calculating the attribute index of the configuration object, and judging whether the attribute index of the configuration object meets a preset threshold value. If the attribute index of the configuration object meets a preset threshold, determining that the attribute information of the configuration object is a filling-necessary attribute; if the attribute index of the configuration object does not meet the preset threshold, determining that the attribute information of the configuration object is unnecessary-filling attribute. And then, the determined attribute information of each configuration object is stored in a necessary attribute list or a cache. Because the attribute indexes include the calling frequency and the query frequency, the calling frequency and the query frequency need to be comprehensively considered when judging whether the attribute indexes of the configuration objects meet the preset threshold value. For example, the condition that the attribute index of the configuration object satisfies the preset threshold may be: the call frequency meets a preset call frequency threshold, and the query frequency meets a preset query frequency threshold. Of course, the preset threshold, the preset calling frequency threshold and the preset query frequency threshold are not limited in the embodiment of the present application.
In the attribute configuration method, a first type of configuration object and a second type of configuration object are obtained; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information; determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information comprises a mandatory attribute and an optional attribute; and taking the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object as target configuration objects, and determining the attribute information of the target configuration objects based on the attribute indexes of the target configuration objects. Because the first type configuration object containing the identification information and the second type configuration object not containing the identification information can be obtained in advance, aiming at the first type configuration object, the attribute information of the first type configuration object can be determined directly according to the identification information of the first type configuration object; the configuration objects with the attribute information of unnecessary attributes in the first type of configuration objects and the second type of configuration objects are used as target configuration objects, and the attribute information of the target configuration objects can be conveniently determined based on the attribute indexes of the target configuration objects aiming at the target configuration objects, so that the attribute information of the configuration objects can be conveniently determined, and the configuration efficiency of the attribute of the configuration objects is improved.
It should be understood that, although the steps in the flowcharts related to the above embodiments are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides an attribute configuration device for realizing the attribute configuration method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiment of one or more attribute configuration devices provided below may refer to the limitation of the attribute configuration method hereinabove, and will not be repeated herein.
In one embodiment, as shown in fig. 12, there is provided an attribute configuration apparatus 1200 comprising: a configuration object acquisition module 1220, a first determination module 1240, and a second determination module 1260, wherein:
a configuration object obtaining module 1220, configured to obtain a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information and the second type of configuration object does not contain identification information.
A first determining module 1240, configured to determine attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information includes a fill-in attribute and a not-fill-in attribute.
The second determining module 1260 is configured to determine attribute information of the target configuration object based on the attribute index of the target configuration object by using the configuration object with the attribute information of the first type of configuration object being unnecessary and the second type of configuration object as the target configuration object.
In one embodiment, the second determination module 1260 includes:
a configuration object determining unit, configured to obtain a configuration object with attribute information being unnecessary filling attribute from the first type of configuration object;
the target configuration object determining unit is used for taking the configuration object with the unnecessary attribute and the second type of configuration object as target configuration objects;
The attribute information determining unit is used for calculating the attribute index of the target configuration object and determining the attribute information of the target configuration object based on the attribute index of the target configuration object; the attribute index includes a call frequency and a query frequency.
In one embodiment, the attribute information determining unit includes:
a call frequency calculation unit, configured to calculate a call frequency of the target configuration object according to a total number of first applications corresponding to the target configuration object and a total number of second applications corresponding to the target configuration object; the second application is used for transmitting attribute information with the target configuration object, and the first application is an application used for calling the target configuration object in the second application;
and the query frequency calculation unit is used for calculating the query frequency of the target configuration object according to the query times of the target configuration object in the preset time period and the total number of the target configuration objects.
In one embodiment, the attribute configuration apparatus 1200 further includes:
the necessary-filling label configuration module is used for configuring necessary-filling labels for configuration objects with the attribute information being necessary-filling attributes in the first type of configuration objects according to the attribute information of the first type of configuration objects;
the configuration object determination unit includes:
And the configuration object determining subunit is used for acquiring the configuration object with the attribute information being the unnecessary-filled attribute from the first type of configuration object according to the necessary-filled label.
In one embodiment, the first determining module 1240 includes:
the mapping relation acquisition unit is used for acquiring the mapping relation between the identification information of the first type of configuration object and the attribute information of the first type of configuration object;
the first determining unit is used for determining attribute information of the first type of configuration objects according to the identification information and the mapping relation of the first type of configuration objects.
In one embodiment, the attribute configuration apparatus 1200 further includes:
the judging module is used for judging whether the configuration object comprises identification information;
the first type configuration object determining module is used for dividing the configuration object into first type configuration objects if the configuration object comprises identification information;
and the second-class configuration object determining module is used for dividing the configuration object into the second-class configuration object if the configuration object does not comprise the identification information.
In one embodiment, the attribute configuration apparatus 1200 further includes:
the to-be-checked configuration object determining module is used for taking the target configuration object with the attribute information of the target configuration object being the necessary-filling attribute and the configuration object with the attribute information of the first type of configuration object being the necessary-filling attribute as the to-be-checked configuration object;
The non-empty verification module is used for performing non-empty verification on the value corresponding to the attribute information of the configuration object to be verified, and generating a non-empty verification result;
and the prompt interface generation module is used for generating a prompt interface based on the configuration object to be checked, of which the non-empty check result is empty.
The respective modules in the attribute configuration apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 13. The computer device includes a processor, a memory, an Input/Output interface (I/O) and a communication interface. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface is connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured 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, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is for storing attribute configuration data. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an attribute configuration method.
It will be appreciated by those skilled in the art that the structure shown in fig. 13 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the computer device to which the present application applies, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
acquiring a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information;
determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information comprises a mandatory attribute and an optional attribute;
and taking the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object as target configuration objects, and determining the attribute information of the target configuration objects based on the attribute indexes of the target configuration objects.
In one embodiment, the configuration object with the attribute information of the first type of configuration object being the unnecessary attribute and the second type of configuration object are used as target configuration objects, the attribute information of the target configuration object is determined based on the attribute index of the target configuration object, and the following steps are further implemented when the processor executes the computer program:
Acquiring a configuration object with attribute information of unnecessary filling attribute from a first type of configuration object;
taking the configuration object with unnecessary attribute and the second type of configuration object as target configuration objects;
calculating attribute indexes of the target configuration object, and determining attribute information of the target configuration object based on the attribute indexes of the target configuration object; the attribute index includes a call frequency and a query frequency.
In one embodiment, the attribute index of the target configuration object is calculated, and the processor when executing the computer program further performs the steps of:
calculating the calling frequency of the target configuration object according to the total number of the first applications corresponding to the target configuration object and the total number of the second applications corresponding to the target configuration object; the second application is used for transmitting attribute information with the target configuration object, and the first application is an application used for calling the target configuration object in the second application;
and calculating the query frequency of the target configuration object according to the query times of the target configuration object in the preset time period and the total number of the target configuration objects.
In one embodiment, the processor when executing the computer program further performs the steps of:
according to the attribute information of the first type of configuration object, configuring a necessary tag for the configuration object with the attribute information of necessary attribute in the first type of configuration object;
Acquiring a configuration object with attribute information being unnecessary attribute from the first type of configuration object, and realizing the following steps when the processor executes the computer program:
and acquiring the configuration objects with attribute information being unnecessary-filled attributes from the first type of configuration objects according to the unnecessary-filled tags.
In an embodiment, the method is characterized in that the attribute information of the first type of configuration object is determined according to the identification information of the first type of configuration object, and the processor when executing the computer program further implements the steps of:
acquiring a mapping relation between the identification information of the first type of configuration object and the attribute information of the first type of configuration object;
and determining the attribute information of the first-class configuration object according to the identification information and the mapping relation of the first-class configuration object.
In one embodiment, the processor when executing the computer program further performs the steps of:
judging whether the configuration object comprises identification information or not;
if the configuration object comprises the identification information, dividing the configuration object into a first type of configuration object;
if the configuration object does not include the identification information, the configuration object is divided into a second type of configuration object.
In one embodiment, the processor when executing the computer program further performs the steps of:
Taking the target configuration object with the attribute information of the target configuration object as the necessary filling attribute and the configuration object with the attribute information of the first type of configuration object as the necessary filling attribute as the configuration object to be checked;
performing non-null verification on a value corresponding to the attribute information of the configuration object to be verified, and generating a non-null verification result;
and generating a prompt interface based on the configuration object to be checked, of which the non-empty check result is empty.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information;
determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information comprises a mandatory attribute and an optional attribute;
and taking the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object as target configuration objects, and determining the attribute information of the target configuration objects based on the attribute indexes of the target configuration objects.
In one embodiment, the configuration object with the attribute information of the first type of configuration object being the unnecessary attribute and the second type of configuration object are used as target configuration objects, the attribute information of the target configuration object is determined based on the attribute index of the target configuration object, and the following steps are further implemented when the computer program is executed by the processor:
Acquiring a configuration object with attribute information of unnecessary filling attribute from a first type of configuration object;
taking the configuration object with unnecessary attribute and the second type of configuration object as target configuration objects;
calculating attribute indexes of the target configuration object, and determining attribute information of the target configuration object based on the attribute indexes of the target configuration object; the attribute index includes a call frequency and a query frequency.
In one embodiment, the attribute index of the target configuration object is calculated, and the computer program when executed by the processor further performs the steps of:
calculating the calling frequency of the target configuration object according to the total number of the first applications corresponding to the target configuration object and the total number of the second applications corresponding to the target configuration object; the second application is used for transmitting attribute information with the target configuration object, and the first application is an application used for calling the target configuration object in the second application;
and calculating the query frequency of the target configuration object according to the query times of the target configuration object in the preset time period and the total number of the target configuration objects.
In one embodiment, the computer program when executed by the processor further performs the steps of:
according to the attribute information of the first type of configuration object, configuring a necessary tag for the configuration object with the attribute information of necessary attribute in the first type of configuration object;
Acquiring a configuration object with attribute information being unnecessary attribute from the first type of configuration object, wherein the computer program further realizes the following steps when being executed by the processor:
and acquiring the configuration objects with attribute information being unnecessary-filled attributes from the first type of configuration objects according to the unnecessary-filled tags.
In one embodiment, the attribute information of the first type of configuration object is determined according to the identification information of the first type of configuration object, and the computer program when executed by the processor further implements the steps of:
acquiring a mapping relation between the identification information of the first type of configuration object and the attribute information of the first type of configuration object;
and determining the attribute information of the first-class configuration object according to the identification information and the mapping relation of the first-class configuration object.
In one embodiment, the computer program when executed by the processor further performs the steps of:
judging whether the configuration object comprises identification information or not;
if the configuration object comprises the identification information, dividing the configuration object into a first type of configuration object;
if the configuration object does not include the identification information, the configuration object is divided into a second type of configuration object.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Taking the target configuration object with the attribute information of the target configuration object as the necessary filling attribute and the configuration object with the attribute information of the first type of configuration object as the necessary filling attribute as the configuration object to be checked;
performing non-null verification on a value corresponding to the attribute information of the configuration object to be verified, and generating a non-null verification result;
and generating a prompt interface based on the configuration object to be checked, of which the non-empty check result is empty.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
acquiring a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information;
determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information comprises a mandatory attribute and an optional attribute;
and taking the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object as target configuration objects, and determining the attribute information of the target configuration objects based on the attribute indexes of the target configuration objects.
In one embodiment, the configuration object with the attribute information of the first type of configuration object being the unnecessary attribute and the second type of configuration object are used as target configuration objects, the attribute information of the target configuration object is determined based on the attribute index of the target configuration object, and the following steps are further implemented when the computer program is executed by the processor:
Acquiring a configuration object with attribute information of unnecessary filling attribute from a first type of configuration object;
taking the configuration object with unnecessary attribute and the second type of configuration object as target configuration objects;
calculating attribute indexes of the target configuration object, and determining attribute information of the target configuration object based on the attribute indexes of the target configuration object; the attribute index includes a call frequency and a query frequency.
In one embodiment, the attribute index of the target configuration object is calculated, and the computer program when executed by the processor further performs the steps of:
calculating the calling frequency of the target configuration object according to the total number of the first applications corresponding to the target configuration object and the total number of the second applications corresponding to the target configuration object; the second application is used for transmitting attribute information with the target configuration object, and the first application is an application used for calling the target configuration object in the second application;
and calculating the query frequency of the target configuration object according to the query times of the target configuration object in the preset time period and the total number of the target configuration objects.
In one embodiment, the computer program when executed by the processor further performs the steps of:
according to the attribute information of the first type of configuration object, configuring a necessary tag for the configuration object with the attribute information of necessary attribute in the first type of configuration object;
Acquiring a configuration object with attribute information being unnecessary attribute from the first type of configuration object, wherein the computer program further realizes the following steps when being executed by the processor:
and acquiring the configuration objects with attribute information being unnecessary-filled attributes from the first type of configuration objects according to the unnecessary-filled tags.
In one embodiment, the attribute information of the first type of configuration object is determined according to the identification information of the first type of configuration object, and the computer program when executed by the processor further implements the steps of:
acquiring a mapping relation between the identification information of the first type of configuration object and the attribute information of the first type of configuration object;
and determining the attribute information of the first-class configuration object according to the identification information and the mapping relation of the first-class configuration object.
In one embodiment, the computer program when executed by the processor further performs the steps of:
judging whether the configuration object comprises identification information or not;
if the configuration object comprises the identification information, dividing the configuration object into a first type of configuration object;
if the configuration object does not include the identification information, the configuration object is divided into a second type of configuration object.
In one embodiment, the computer program when executed by the processor further performs the steps of:
Taking the target configuration object with the attribute information of the target configuration object as the necessary filling attribute and the configuration object with the attribute information of the first type of configuration object as the necessary filling attribute as the configuration object to be checked;
performing non-null verification on a value corresponding to the attribute information of the configuration object to be verified, and generating a non-null verification result;
and generating a prompt interface based on the configuration object to be checked, of which the non-empty check result is empty.
It should be noted that, the user information (including, but not limited to, user equipment information, user personal information, etc.) and the data (including, but not limited to, data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party, and the collection, use and processing of the related data are required to comply with the related laws and regulations and standards of the related countries and regions.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples represent only a few embodiments of the present application, which are described in more detail and are not thereby to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (11)

1. A method of attribute configuration, the method comprising:
acquiring a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information;
determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object; the attribute information comprises a filling-necessary attribute and a non-filling-necessary attribute;
And taking the configuration object with the attribute information of the first type of configuration object being unnecessary-filled attribute and the second type of configuration object as target configuration objects, and determining the attribute information of the target configuration objects based on the attribute indexes of the target configuration objects.
2. The method according to claim 1, wherein the determining the attribute information of the target configuration object based on the attribute index of the target configuration object by using the configuration object whose attribute information is the unnecessary-filled attribute and the second configuration object as the target configuration object includes:
acquiring a configuration object with attribute information of unnecessary filling attribute from the first type of configuration object;
taking the configuration object with the unnecessary attribute and the second type of configuration object as the target configuration object;
calculating attribute indexes of the target configuration objects, and determining attribute information of the target configuration objects based on the attribute indexes of the target configuration objects; the attribute index includes a call frequency and a query frequency.
3. The method of claim 2, wherein said calculating the attribute index of the target configuration object comprises:
Calculating the calling frequency of the target configuration object according to the total number of the first applications corresponding to the target configuration object and the total number of the second applications corresponding to the target configuration object; the second application is used for transmitting the attribute information with the target configuration object, and the first application is an application used for calling the target configuration object in the second application;
and calculating the query frequency of the target configuration object according to the query times of the target configuration object in a preset time period and the total number of the target configuration objects.
4. The method as recited in claim 2, wherein the method further comprises:
configuring a necessary tag for a configuration object with the attribute information being necessary attribute in the first type of configuration object according to the attribute information of the first type of configuration object;
the obtaining the configuration object with the attribute information being unnecessary filling attribute from the first type of configuration object comprises the following steps:
and acquiring the configuration object with attribute information being unnecessary-filled attribute from the first type of configuration object according to the necessary-filled label.
5. The method according to any one of claims 1-4, wherein determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object includes:
Acquiring a mapping relation between the identification information of the first type of configuration object and the attribute information of the first type of configuration object;
and determining attribute information of the first type of configuration object according to the identification information of the first type of configuration object and the mapping relation.
6. The method according to any one of claims 1-4, further comprising:
judging whether the configuration object comprises identification information or not;
if the configuration object comprises identification information, dividing the configuration object into a first type of configuration object;
and if the configuration object does not comprise the identification information, dividing the configuration object into a second type of configuration object.
7. The method according to any one of claims 1-4, further comprising:
taking the target configuration object with the attribute information of the target configuration object being the mandatory attribute and the configuration object with the attribute information of the first type of configuration object being the mandatory attribute as configuration objects to be checked;
non-null verification is carried out on the value corresponding to the attribute information of the configuration object to be verified, and a non-null verification result is generated;
and generating a prompt interface based on the configuration object to be checked, of which the non-empty check result is empty.
8. An attribute configuration apparatus, the apparatus comprising:
the configuration object acquisition module is used for acquiring a first type of configuration object and a second type of configuration object; the first type of configuration object contains identification information, and the second type of configuration object does not contain identification information;
the first determining module is used for determining attribute information of the first type of configuration objects according to the identification information of the first type of configuration objects; the attribute information comprises a filling-necessary attribute and a non-filling-necessary attribute;
and the second determining module is used for determining the attribute information of the target configuration object based on the attribute index of the target configuration object by taking the configuration object with the attribute information of the first type of configuration object as unnecessary attribute and the second type of configuration object as the target configuration object.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202310119118.5A 2023-02-07 2023-02-07 Attribute configuration method, attribute configuration device, computer equipment, storage medium and program product Pending CN116010424A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310119118.5A CN116010424A (en) 2023-02-07 2023-02-07 Attribute configuration method, attribute configuration device, computer equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310119118.5A CN116010424A (en) 2023-02-07 2023-02-07 Attribute configuration method, attribute configuration device, computer equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN116010424A true CN116010424A (en) 2023-04-25

Family

ID=86026944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310119118.5A Pending CN116010424A (en) 2023-02-07 2023-02-07 Attribute configuration method, attribute configuration device, computer equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN116010424A (en)

Similar Documents

Publication Publication Date Title
CN110765750A (en) Report data entry method and terminal equipment
JP2022050327A (en) Computer-implemented system and method using digital twin and graph-based structure
CN114640707A (en) Message asynchronous processing method and device, electronic equipment and storage medium
CN116010424A (en) Attribute configuration method, attribute configuration device, computer equipment, storage medium and program product
CN115481026A (en) Test case generation method and device, computer equipment and storage medium
CN114860806A (en) Data query method and device of block chain, computer equipment and storage medium
CN115237617A (en) Interface component determination method, device, equipment, storage medium and program product
CN114462859A (en) Workflow processing method and device, computer equipment and storage medium
CN114329128A (en) Method and device for acquiring marking data, computer equipment and storage medium
US11315055B2 (en) System and method for visualizing an order allocation process
CN116880927A (en) Rule management method, device, computer equipment and storage medium
CN116911990A (en) Receipt generation method, receipt generation device, computer equipment and storage medium
CN118155383A (en) Early warning processing method, early warning processing device, computer equipment and storage medium
CN116882648A (en) Account resource allocation method, device, computer equipment and storage medium
CN116415914A (en) Service data processing method, device, computer equipment and storage medium
CN118170833A (en) Resource information transfer method, device, computer equipment and storage medium
CN117521667A (en) Semantic information processing method, semantic information processing device, computer equipment, storage medium and product
CN117951336A (en) Enterprise-level data standard processing method, device, equipment and medium
CN117785939A (en) Data analysis method and device based on rule engine and computer equipment
CN117954025A (en) Questionnaire text generation method, device, computer equipment and storage medium
CN116521546A (en) Interface performance adjusting method and device, computer equipment and storage medium
CN117349131A (en) System error information display method and device and computer equipment
CN117455641A (en) Data verification method, device, computer equipment and storage medium
CN118260075A (en) Data processing method, apparatus, computer device, readable storage medium, and product
CN117131072A (en) Financial business query method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination