Method, apparatus, electronic device and storage medium for processing information assets
By acquiring and operating the information asset classification tree, the problem that the existing technology cannot handle information assets is solved, the classification and processing of information assets is realized, and the management efficiency of information asset data is improved.
Patent Information
- Application Number
- CN202111223330.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-20
- Publication Date
- 2025-07-01
- Estimated Expiration
- 2041-10-20
AI Technical Summary
Existing asset processing methods cannot effectively process information assets, especially because the information assets have a wide variety of data types, existing financial assets or material asset processing methods cannot be applied.
Provides a method for processing information assets. By obtaining a pre-built information asset classification tree, determining the target node from the classification tree based on the asset information in the operation instructions, and performing operations corresponding to the operation instructions on the target node, including deleting or adding operations.
The classification and processing of information assets are realized, and the target nodes in the information asset classification tree can be processed according to operation instructions, solving the problem of collecting and managing information asset data.
Smart Images

Figure CN114091569B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention belong to the technical field of model detection, and particularly relate to a method, device, electronic device and storage medium for processing information assets. Background Art
[0002] With the development of informatization, the types of asset data are increasing, and the scope is expanding, which poses great challenges to the processing of asset data.
[0003] Currently, mainly for issues such as the value, cost, transfer, depreciation, and salvage value of assets, asset data in the aspects of finance and materials are processed to generate financial asset processing methods and material asset processing methods, providing convenience for the asset processing of enterprises.
[0004] Since information assets have a wide variety of data types compared to financial assets and material assets, and the financial asset processing methods and material asset processing methods may not involve the processing of information technology-level data, it is impossible to use the financial asset processing methods and material asset processing methods to achieve the processing of information assets. Therefore, it is an urgent technical problem for those skilled in the art to collect information assets with a wide variety of data types and then process the information assets. Summary of the Invention
[0005] To solve the above problems in the prior art, that is, to solve the problem that the existing asset processing methods cannot process information assets, the embodiments of the present invention provide a method, device, electronic device and storage medium for processing information assets.
[0006] The embodiments of the present invention provide a method for processing information assets, and the method for processing information assets includes:
[0007] In response to an operation instruction, obtain a pre-constructed information asset classification tree, where the information asset classification tree includes at least two layers, and each parent node and each child node in the information asset classification tree correspond to different asset types;
[0008] According to the asset information in the operation instruction, determine a target node from the information asset classification tree, where the asset information includes the asset type information;
[0009] Execute an operation corresponding to the operation instruction on the target node.
[0010] Optionally, the determining a target node from the information asset classification tree according to the asset information in the operation instruction includes:
[0011] According to the asset information in the operation instruction, determine the project and application system where the asset information is located.
[0012] The item processes the item information carried in the operation instruction to obtain an item processing result.
[0013] If the item result processing result is passed, the application system processes the application system information carried in the operation instruction to obtain an application system processing result.
[0014] If the application system processing result is passed, search for the node corresponding to the asset type information of the asset information in the information asset classification tree, and determine the node as the target node.
[0015] Optionally, the operation corresponding to the operation instruction includes a deletion operation.
[0016] Performing the operation corresponding to the operation instruction on the target node includes:
[0017] Deleting the target node; or replacing the parent node corresponding to the target node with a recycle node.
[0018] Optionally, the operation corresponding to the operation instruction includes an addition operation; performing the operation corresponding to the operation instruction on the target node includes:
[0019] Adding the asset information in the operation instruction to the target node.
[0020] Optionally, the method further includes:
[0021] Obtaining a plurality of information asset data.
[0022] Classify the information asset data according to a preset type to obtain a plurality of nodes, and generate the asset type corresponding to each node. The node includes the information asset data classified according to the preset type, and the node includes a parent node and a child node.
[0023] Construct an information asset classification tree according to the parent node and the child node.
[0024] Optionally, generating the asset type corresponding to each node includes:
[0025] Obtaining a preset template.
[0026] Adding the information asset data in the node to the preset template according to the requirements of the preset template to generate the asset type corresponding to the node; or replacing the content in the preset template with the information asset data in the node, and determining the replaced preset template as the asset type corresponding to the node.
[0027] Optionally, the asset type corresponds to at least one piece of attribute information, and the attribute information includes a reference data set. The method further includes:
[0028] Adding the attribute information to the asset type, and determining the asset type after adding the attribute information as the attribute information corresponding to the asset type; or replacing the data in the asset type with the attribute information data to generate the attribute information corresponding to the asset type.
[0029] Determining general options according to the reference data set in the attribute information, where the general options correspond to at least one option detail.
[0030] An embodiment of the present invention further provides a processing device for information assets, including:
[0031] An acquisition module, configured to acquire a pre-constructed information asset classification tree in response to an operation instruction. The information asset classification tree includes at least two layers, and each parent node and each child node in the information asset classification tree correspond to different asset types.
[0032] A determination module, configured to determine a target node from the information asset classification tree according to the asset information in the operation instruction, where the asset information includes the asset type information.
[0033] A processing module, configured to perform an operation corresponding to the operation instruction on the target node.
[0034] Optionally, the determination module is specifically configured to determine the project and application system where the asset information is located according to the asset information in the operation instruction; the project processes the project information carried in the operation instruction to obtain a project processing result; when the project result processing result is passed, the application system processes the application system information carried in the operation instruction to obtain an application system processing result; when the application system processing result is passed, search for the node corresponding to the asset type information of the asset information from the information asset classification tree, and determine the node as the target node.
[0035] Optionally, the operation corresponding to the operation instruction includes a deletion operation. The processing module is specifically configured to delete the target node; or replace the parent node corresponding to the target node with a recycle node.
[0036] Optionally, the operation corresponding to the operation instruction includes an addition operation. The processing module is specifically configured to add the asset information in the operation instruction to the target node.
[0037] Optionally, the device further includes a creation module, configured to obtain a plurality of information asset data; classify the information asset data according to a preset type to obtain a plurality of nodes, and generate an asset type corresponding to each node, where the node includes information asset data classified according to the preset type, and the node includes a parent node and a child node, and construct an information asset classification tree according to the parent node and the child node.
[0038] Optionally, the creation module is specifically configured to obtain a preset template; add the information asset data in the node to the preset template according to the requirements of the preset template to generate the asset type corresponding to the node; or, replace the content in the preset template with the information asset data in the node, and determine the replaced preset template as the asset type corresponding to the node.
[0039] Optionally, the asset type corresponds to at least one attribute information, and the attribute information includes a reference data set. The creation module is further configured to add attribute information to the asset type, and determine the asset type after adding the attribute information as the attribute information corresponding to the asset type; or, replace the data in the asset type with attribute information data to generate the attribute information corresponding to the asset type; determine a general option according to the reference data set in the attribute information, where the general option corresponds to at least one option detail.
[0040] An embodiment of the present invention further provides an electronic device, which includes: a processor, and a memory communicatively connected to the processor.
[0041] The memory stores computer execution instructions.
[0042] The processor executes the computer execution instructions stored in the memory to implement the processing method of the information asset in any one of the above preferred technical solutions.
[0043] An embodiment of the present invention further provides a computer-readable storage medium, in which computer execution instructions are stored. When the processor executes the computer execution instructions, the processing method of the information asset in any one of the above preferred technical solutions is implemented.
[0044] An embodiment of the present invention further provides a computer program product, including a computer program, which when executed by a processor, implements the processing method of the information asset in any one of the above preferred technical solutions.
[0045] Those skilled in the art can understand that a method, apparatus, electronic device, and storage medium for processing information assets provided by an embodiment of the present invention obtain a pre-constructed information asset classification tree in response to an operation instruction. The information asset classification tree includes at least two layers, and each parent node and each child node in the information asset classification tree correspond to different asset types; determine a target node from the information asset classification tree according to the asset information in the operation instruction, where the asset information includes asset type information; and perform an operation corresponding to the operation instruction on the target node. The technical solution provided by the present invention can perform an operation corresponding to the operation instruction on the target node in the information asset classification tree according to the operation instruction to implement the processing of information assets, and each parent node and each child node in the information asset classification tree correspond to different asset types, which can classify information assets, realize the collection of information assets, and further facilitate the management of information asset data. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a schematic diagram of a scenario of a method for processing information assets provided by an embodiment of the present invention;
[0047] Figure 2 It is a schematic flowchart of a method for processing information assets provided by an embodiment of the present invention;
[0048] Figure 3 It is a schematic diagram of information asset data provided by an embodiment of the present invention;
[0049] Figure 4 It is a schematic diagram of the classification situation of information assets provided by an embodiment of the present invention;
[0050] Figure 5a It is a schematic diagram of an information asset classification tree provided by an embodiment of the present invention;
[0051] Figure 5b It is a schematic diagram of another information asset classification tree provided by an embodiment of the present invention;
[0052] Figure 6 It is a schematic diagram of the asset types corresponding to each node provided by an embodiment of the present invention;
[0053] Figure 7a It is a schematic diagram of a method for generating asset types provided by an embodiment of the present invention;
[0054] Figure 7b It is a schematic diagram of another method for generating asset types provided by an embodiment of the present invention;
[0055] Figure 8 It is a schematic diagram of the corresponding relationship between asset types and attribute information provided by an embodiment of the present invention;
[0056] Figure 9 Schematic diagram of the correspondence relationship between attribute information, general options, and option details provided by an embodiment of the present invention;
[0057] Figure 10 Schematic diagram of the correspondence relationship between an item, an application system, and an asset type provided by an embodiment of the present invention;
[0058] Figure 11 Frame schematic diagram of a processing method for information assets provided by an embodiment of the present invention
[0059] Figure 12 Schematic diagram of general option details provided by an embodiment of the present invention;
[0060] Figure 13 Schematic diagram of the process for asset classification deletion or modification provided by an embodiment of the present invention;
[0061] Figure 14 Schematic diagram of an interface field configuration table provided by an embodiment of the present invention;
[0062] Figure 15 Schematic diagram of the structure of a processing device for information assets provided by an embodiment of the present invention;
[0063] Figure 16 Schematic diagram of the structure of an electronic device provided by the present invention. Detailed implementation manners
[0064] First of all, those skilled in the art should understand that these implementation manners are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention. Those skilled in the art can make adjustments according to needs to adapt to specific application scenarios.
[0065] Secondly, it should be noted that in the description of the embodiments of the present invention, terms such as "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is only for the convenience of description and does not indicate or imply that the device or component must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention.
[0066] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some but not all of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the protection scope of the present invention.
[0067] The technical solution provided by the embodiment of the present invention can be applied to the scenario of asset processing. With the increase in the types of assets, the number of assets is also gradually increasing. At present, many enterprises formulate enterprise resource planning (ERP) according to the characteristics of financial assets or material assets, that is, formulate asset processing methods for processing financial asset data or material asset data.
[0068] The current asset management methods mainly aim to solve problems such as the value, cost, circulation, depreciation, and salvage value of assets, and are not applicable to the processing of a wide variety of information assets. For example, using the current asset processing methods, it is impossible to achieve control operations such as the allocation, monitoring, automatic collection, batch import, planned task deployment, renewal extension, service management, and access control of information assets, that is, it is impossible to process information assets.
[0069] Figure 1 It is a schematic diagram of the application scenario of a method for processing information assets provided by an embodiment of the present invention. According to Figure 1 As shown, when performing information collection, a large amount of data in networks, servers, storages, databases, middleware, application systems, virtual machines, container engines, and private clouds can be collected through methods such as collection plans, configuration discovery engines, data reconciliation, third-party system information synchronization, configuration automatic collection, and batch import, and the obtained large amount of data is transmitted to Figure 1 the information asset data in the shaded part in Figure 1 for data storage and storage processing. In
[0070] Furthermore, in Figure 1 it also includes multiple service portals such as configuration model management, CI and relationship management, asset life cycle management, data query and analysis, configuration audit, and visualization display. The consumption scenarios include fault assistance positioning, business impact analysis, asset inventory, compliance audit, and monitoring setting. That is to say, the obtained large amount of data can be applied in the above consumption scenarios. The technical solution provided by the present invention can process information asset data, enabling information assets to be better applied to contribute to the promotion of enterprise business.
[0071] Next, the method for processing information assets provided by the present invention will be described in detail through specific embodiments. It can be understood that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0072] Figure 2 The flowchart of a method for processing information assets provided by an embodiment of the present invention. The method for processing information assets can be executed by software and / or a hardware device. For example, the hardware device can be an electronic device, and the electronic device can be a terminal or a processing chip within the terminal. By way of example, please refer to Figure 2 As shown, the method for processing information assets may include:
[0073] S201. In response to an operation instruction, obtain a pre-constructed information asset classification tree. The information asset classification tree includes at least two layers, and each parent node and each child node in the information asset classification tree correspond to different asset types.
[0074] By way of example, the operation instruction is an instruction for processing information assets. The operation instruction can be an instruction for deleting information asset data, or an instruction for adding information asset data, which can be specifically set according to actual situations, and the embodiments of the present invention do not make any limitations thereto.
[0075] By way of example, before obtaining the pre-constructed information asset classification tree, the information asset classification tree can be constructed first. When constructing the information asset classification tree, multiple information asset data can be obtained; classify the information asset data according to a preset type to obtain multiple nodes, and generate the asset types corresponding to each node. The nodes include the information asset data classified according to the preset type, and the nodes include parent nodes and child nodes; construct the information asset classification tree according to the parent nodes and child nodes. The preset type can be set according to specific situations, and the embodiments of the present invention do not make any limitations thereto. Among them, the asset types corresponding to each node are related to the information asset data included in each node.
[0076] The obtained information asset data can be referred to Figure 3 as described Figure 3 which is a schematic diagram of information asset data provided by an embodiment of the present invention. According to Figure 3 as shown, information assets can include aspects such as content delivery network, data visualization, monitoring service, SMS service, high-speed channel, data management, etc. The embodiments of the present invention only use the Figure 3 information asset data shown for illustration, but it does not mean that the embodiments of the present invention are only limited thereto.
[0077] By way of example, when classifying the information asset data according to the preset type, it can be referred to Figure 4 as shown Figure 4 which is a schematic diagram of the classification situation of information assets provided by an embodiment of the present invention. According to Figure 4As shown, information assets can be classified into four categories: application layer, service layer, virtual layer, and physical layer. Among them, the application layer can include human resource management systems, supply chain systems, logistics systems, warehouse management systems, and portal systems. The service layer can include middleware, databases, cache services, message services, and load balancing. The virtual layer can include virtual machines, containers, bastion hosts, monitoring services, and domain name services. The physical layer can include servers, switches, storage devices, routers, and firewalls. The embodiments of the present invention are only described by the classification method Figure 4 shown, but it does not mean that the embodiments of the present invention are limited thereto.
[0078] For example, the information asset classification tree is as Figure 5a shown. Figure 5a It is a schematic diagram of an information asset classification tree provided by an embodiment of the present invention. In Figure 5a , the information asset classification tree includes a parent node "Hardware", and the child nodes corresponding to the parent node "Hardware" are "Server", "Storage", and "Network Device". The child node "Server" can also be the parent node of the child nodes "Physical Machine" and "Virtual Machine", the child node "Storage" can also be the parent node of the child nodes "Tape Drive" and "Storage Switch", and the child node "Network Device" can also be the parent node of the child nodes "Switch" and "Firewall".
[0079] It can be understood that Figure 5b is a schematic diagram of another information asset classification tree provided by an embodiment of the present invention. In Figure 5b , the parent node "Service" includes the child nodes "Business Service" and "Platform Service". Among them, the child node "Platform Service" is the parent node of the child nodes "Middleware", "Domain Name", and "Database".
[0080] For example, the asset types corresponding to each node can be seen in Figure 6 shown, Figure 6 It is a schematic diagram of the asset types corresponding to each node provided by an embodiment of the present invention. In Figure 6 , taking the information asset classification tree shown in Figure 5b as an example of the information asset classification tree, each node in this information asset classification tree has the Figure 6 asset type shown. In Figure 6Among the asset types shown, it includes asset type code, asset type name, and the superior classification. Among them, the asset type code can be composed of the codes of each preset asset classification. It can be pure numbers, pure letters, a combination of numbers and letters, or other forms, and this form can be set according to the actual situation. The embodiments of the present invention do not make any limitations on this. The asset type name can be the type name of this type expressed in words, and the superior classification is the classification name or classification code of the upper-level parent node corresponding to this node. For example, the superior classification in the asset type corresponding to platform services is the classification corresponding to services. The embodiments of the present invention do not make specific limitations on this. By generating corresponding asset types for each node, it is beneficial to process information asset data according to the asset type. For example, perform positioning and other processing on information asset data in the information asset classification tree.
[0081] In the embodiments of the present invention, classifying information asset data according to a preset type and constructing an information asset classification tree based on each node obtained after classification can integrate a large amount of information asset data into the information classification tree, which is beneficial to the management of information assets.
[0082] For example, when generating the asset type corresponding to each node, a preset template can be obtained; add the information asset data in the node to the preset template according to the requirements of the preset template to generate the asset type corresponding to the node; or, replace the content in the preset template with the information asset data in the node, and determine the replaced preset template as the asset type corresponding to the node. Among them, the preset template can be determined according to the type of information asset data. The embodiments of the present invention do not make any limitations on this.
[0083] For example, the method for generating the asset type corresponding to the node can be seen Figure 7a as shown Figure 7a is a schematic diagram of a method for generating an asset type provided by the embodiments of the present invention. Figure 7a Here, it is through the inheritance method, that is, add the information asset data in the node to the preset template according to the requirements of the preset template to generate the asset type corresponding to the node. Among them, the preset template includes server assets, attributes, host names, operating systems, and operating system versions, etc. The generated asset types after inheritance all include the information asset data of each node. For example, Figure 7a here, in addition to the above information, the physical server assets after inheritance also include self-owned attributes, physical locations, and server brand models, etc. The virtual server assets after inheritance also include self-owned attributes and virtual clusters, etc.
[0084] Replacing the content in the preset template with the information asset data in the node and determining the replaced preset template as the asset type corresponding to the node can be seen Figure 7b as shownFigure 7b Another schematic diagram of a method for generating asset types provided by an embodiment of the present invention. Figure 7b For the two generation methods shown, whether it is generation according to a template or copying, the content in the template is replaced with the information asset data in the node. For example, the data in the template is SMS service, attributes, interface specification documents, etc., which are replaced with email push service, copied attributes, and interface specification documents, etc., so as to generate the asset type corresponding to the node.
[0085] In the embodiment of the present invention, by generating the asset type corresponding to each node through a preset template, the asset type corresponding to each node can be quickly generated, thereby improving the speed of generating the asset type and the speed of processing information assets.
[0086] In the present invention, the asset type corresponds to at least one piece of attribute information. The attribute information includes a reference data set. For example, attribute information can be added to the asset type, and the asset type after adding the attribute information is determined as the attribute information corresponding to the asset type; or, the data in the asset type is replaced with the attribute information data to generate the attribute information corresponding to the asset type; according to the reference data set in the attribute information, general options are determined, and the general options correspond to at least one option detail. The corresponding relationship between the asset type and the attribute information can be seen in Figure 8 as shown. Figure 8 A schematic diagram of the corresponding relationship between an asset type and attribute information provided by an embodiment of the present invention. According to Figure 8 as shown, one asset type corresponds to at least one asset attribute, that is, attribute information. Among them, the asset attribute includes an asset attribute code, a display name, an asset attribute name, a data type, a length, and a reference data set identifier. It can be understood that the asset attribute code includes the asset type code and the code of the attribute information. For example, if the asset type code is 101 and the code of the attribute information is 23, then the asset attribute code is 10123. The length can represent the length of the attribute information, and the embodiment of the present invention does not make any limitation on this.
[0087] For example, the preset template can be replaced with an asset type, and the attribute information can be generated according to the above method for generating the asset type. Specifically, as described in the above embodiment, the embodiment of the present invention will not elaborate on this.
[0088] For example, the corresponding relationship between the attribute information and the general options and option details can be seen in Figure 9 as shown. Figure 9A schematic diagram of the correspondence between attribute information and general options and option details provided by an embodiment of the present invention. The general options can be determined according to the reference dataset identifier in the asset attributes, and then the option details can be determined according to the general options. Among them, the general options include a general option code, a general option name, and an option value, and at least one option detail can be determined according to the general option code in the general options. Among them, the option details include an option detail code, an option detail name, and an option detail value. It can be understood that the technical solution provided by the present invention can accurately and quickly determine the option details.
[0089] In an embodiment of the present invention, at least one attribute information corresponding to the asset type is generated through the asset type, and the attribute information can be quickly generated. In addition, the general options and option details can be determined according to the attribute information, which is beneficial to processing information assets.
[0090] S202. According to the asset information in the operation instruction, determine the target node from the information asset classification tree, where the asset information includes asset type information.
[0091] When determining the target node from the information asset classification tree according to the asset information in the operation instruction, the project and application system where the asset information is located can be determined according to the asset information in the operation instruction; the project processes the project information carried in the operation instruction to obtain a project processing result; if the project result processing result is passed, the application system processes the application system information carried in the operation instruction to obtain an application system processing result; if the application system processing result is passed, the node corresponding to the asset type information of the asset information is searched from the information asset classification tree, and the node is determined as the target node.
[0092] Exemplarily, it can facilitate determining the project and application system where the asset information is located, and a connection can be established between the project, the application system, and the asset type. For example Figure 10 as shown Figure 10 A schematic diagram of the correspondence between a project, an application system, and an asset type provided by an embodiment of the present invention. In Figure 10 it, the project table contains information such as a project number, a project name, and a project leader, the application system contains an S code, an application name, an application leader, a business leader, an implementation method, a development application technology, and Excel, etc., and the assets include an asset code, an asset type, an asset leader, and an operation and maintenance team. According to Figure 10 as shown, there is a many-to-many relationship between the project number and the S code of the application system, and there is a one-to-many relationship between the S code and the asset code. When determining the project and application system where the asset information is located according to the asset information in the operation instruction, it can be passed through Figure 10Determine the corresponding relationship shown. For example, the application system to which it belongs can be determined through the asset code, and the project number can be determined according to the S code of the application system. Among them, the asset code in the asset is related to the asset type. Therefore, the asset can be determined through the asset type.
[0093] Further, after determining the project and the application system, it is necessary to process the project information carried in the operation instruction. When the project result processing result is passed, for example, the approval result of the operation instruction by the project leader is passed, and the application system information carried in the operation instruction is processed to obtain the application system result. When the application system result is passed, for example, the approval result of the operation instruction by the application leader and / or the business leader is passed, and the target node is determined in the information resource classification tree. It can be searched according to the asset type.
[0094] In the embodiment of the present invention, when both the project processing result and the application system processing result are passed, the target node is searched, making the process of searching for the target node more refined, and being able to avoid problems such as missing or chaotic information asset data caused by misoperations.
[0095] S303. Perform an operation corresponding to the operation instruction on the target node.
[0096] Exemplarily, the operation corresponding to the operation instruction can be a deletion operation. Then, performing the operation corresponding to the operation instruction on the target node can be to delete the target node; or, replacing the parent node corresponding to the target node with a recycle node.
[0097] It can be understood that the deletion operation is an operation to delete the asset data in the asset information. When deleting the information asset data, it can be judged whether there is a connection between the information asset data and other information asset data, that is, whether deleting the information asset data will affect the use of other information asset data. If the information asset data to be deleted is a piece of data in the target node and there is no connection between it and other information asset data in the target node and the information asset data in other nodes, then the information asset data can be directly deleted. If the information asset data to be deleted is a piece of data in the target node and there is a certain connection between it and other information asset data in the target node or the information asset data in other nodes, then the upper-level parent node of the target node where the information asset data is located can be replaced with a recycle node, that is, the information asset data is attributed to the recycle node. If the target node is a node that has not been used for a long time, an effective field can also be added to the target node to identify whether the node is available, making the processing of information asset data more accurate.
[0098] For example, if the target node is a tape, that is, the deletion operation indicates deleting the data of tape-class assets, the availability of the classification can be controlled by adding valid fields. Alternatively, the superior node of the node to which the asset belongs can be adjusted. That is, the original superior classification of "tape" is the "storage" node, and it can be classified into the "Trash" node.
[0099] In the embodiment of the present invention, by directly deleting the target node or replacing the parent node corresponding to the target node, the deletion operation is made more flexible, some assets can be retained, the problem of accidentally deleting assets can be avoided, and the processing of information assets is made more perfect.
[0100] Exemplarily, the operation corresponding to the operation instruction can also be an addition operation. Then, performing the operation corresponding to the operation instruction on the target node can add the asset information in the operation instruction to the target node. Among them, the addition operation is used to indicate adding asset information, that is, adding information asset data. The asset information includes information asset data.
[0101] According to the above embodiments, when adding the asset information in the operation instruction to the target node, the asset type to which the asset information belongs can be determined first, the target node can be determined according to the belonging asset type, and the asset information can be added to the target node.
[0102] In the embodiment of the present invention, the asset information can be accurately added to the target node to establish an association relationship between the added asset information and other asset information.
[0103] It can be seen that a method, device, electronic device, and storage medium for processing information assets provided by the embodiment of the present invention, in response to an operation instruction, obtain a pre-constructed information asset classification tree. The information asset classification tree includes at least two layers, and each parent node and each child node in the information asset classification tree correspond to different asset types; according to the asset information in the operation instruction, a target node is determined from the information asset classification tree, and the asset information includes asset type information; performing the operation corresponding to the operation instruction on the target node can process the target node in the information asset classification tree, that is, can process the information asset data, thereby realizing the processing of a large amount of information asset data.
[0104] To facilitate understanding of the method for processing information assets provided by the embodiment of the present invention, below, through specific examples, the technical solution provided by the embodiment of the present invention will be described in detail. Specifically, refer to Figure 11 as shown Figure 11 This is a framework schematic diagram of a method for processing information assets provided by the embodiment of the present invention.
[0105] As described in the above embodiments, when processing information assets, that is, performing an operation corresponding to an operation instruction on a target node, the project and application system can be determined according to the operation instruction, and the project and application system can process the asset information in the operation instruction. According to Figure 11 As shown, when performing an operation corresponding to an operation instruction, the project / application approval form needs to approve the project general document and the application system general document respectively. Specifically, the approver in the project / application approval form approves the project general document according to the document number in the project general document, and approves the application system general document according to the document number in the application system general document. When the approval result of the project general document in the project / application approval form is passed, it is displayed in the approval status in the project general document. When the approval result of the application system general document in the project / application approval form is passed, it is displayed in the approval status in the application system general document. Among them, the project / application approval form also includes the document number, approval serial number, approval result, approval opinion, etc.; the project general document also includes the project name, project leader, document type, etc.; the application system general document also includes the application name, responsible person, application status, etc. According to Figure 11 As shown, the relationship between the document number in the project general document and the document number in the project / application system table is one-to-many, and the relationship between the document number in the application system general document and the document number in the project / application system table is also one-to-many.
[0106] Furthermore, judge the approval status in the project general document. When the approval status is passed, determine the project number, and thus determine the project; judge the approval status in the application system general document. When the approval status is passed, determine the S code, and thus determine the application system.
[0107] Furthermore, the approval sub-table can also be used to approve the asset business general document and the asset sub-table, and when the approval result is passed, jointly determine the asset with the application system. Among them, the approval sub-table includes the document number, node code, approver, opinion, etc.; the asset business general document includes the document number, document type (i.e., general options), document maker, applicant, etc.; the asset sub-table includes the document number, asset code, asset category, brand, signal, cycle, and amount, etc. And the document number in the approval sub-table corresponds to the document number in the asset business general document and the document number in the asset sub-table.
[0108] Furthermore, after determining the asset, the asset type can be determined according to the asset type in the asset, that is, the asset type of the above target node. And the asset attributes, general options, and option details can also be determined. The corresponding relationship between the asset type, asset attributes, general options, and option details can be referred to the above embodiments, and will not be elaborated in this embodiment of the present invention.
[0109] For example, in Figure 11The information assets are processed in a documentary way, Figure 11 and the document types in the general asset business documents, that is, the general options, can be represented by Figure 12 the method shown. Figure 12 FIG. is a schematic diagram of the details of a general option provided by an embodiment of the present invention. Figure 12 In, the general options may include information such as option code, option name, whether prefabricated, option value, etc. The embodiments of the present invention only use Figure 12 as an example for illustration, but it does not mean that the embodiments of the present invention are only limited to this.
[0110] To sum up, the information asset processing method provided by the embodiments of the present invention can process a large number of information assets through a perfect approval process, and there will be no problems such as data loss or misoperation during the processing.
[0111] In another embodiment of the present invention, when deleting or changing the asset classification, reference can be made to Figure 13 shown Figure 13 FIG. is a schematic diagram of the process for deleting or changing the asset classification provided by an embodiment of the present invention. The asset classification is a certain node in the information asset classification tree, and can also be the target node in the above embodiment.
[0112] According to Figure 13 shown, the applicant submits an asset classification change / deletion application. For example, the asset classification change / deletion application can be the operation instruction in the above embodiment. The system needs to check whether the classification has been used in the existing assets. If it has not been used, the asset classification will be deleted or changed. If it has been used, the asset owner needs to confirm whether it will no longer be used or allow changes. If not allowed, no operation will be performed. If allowed, the administrator needs to verify. After verification is correct, the asset classification will be deleted or changed. The embodiments of the present invention only use Figure 13 the process shown for illustration, but it does not mean that the embodiments of the present invention are only limited to this.
[0113] In another embodiment of the present invention, in order to further improve the speed of processing information assets, an interface field configuration table can be provided, Figure 13 and all the external interfaces provided or input by the system in need to be registered in the configuration table, and the interface configuration must depend on this table. When deleting an asset object, the system actively traverses and associates with the interface owner to confirm whether the deletion operation is allowed. The interface field configuration table can be seen in Figure 14 shown Figure 14 FIG. is a schematic diagram of an interface field configuration table provided by an embodiment of the present invention. The embodiments of the present invention only use Figure 14 the configuration table of as an example for illustration, but it does not mean that the embodiments of the present invention are only limited to this.
[0114] Figure 15 The following is a schematic structural diagram of a processing device 150 for information assets provided by an embodiment of the present invention. For example, please refer to Figure 15 As shown, the processing device 150 for information assets may include:
[0115] An acquisition module 1501, configured to acquire a pre-constructed information asset classification tree in response to an operation instruction. The information asset classification tree includes at least two layers, and each parent node and each child node in the information asset classification tree correspond to different asset types.
[0116] A determination module 1502, configured to determine a target node from the information asset classification tree according to the asset information in the operation instruction. The asset information includes asset type information.
[0117] A processing module 1503, configured to perform an operation corresponding to the operation instruction on the target node.
[0118] Optionally, the determination module 1502 is specifically configured to determine the project and application system where the asset information is located according to the asset information in the operation instruction; the project processes the project information carried in the operation instruction to obtain a project processing result; when the project result processing result passes, the application system processes the application system information carried in the operation instruction to obtain an application system processing result; when the application system processing result passes, search for a node corresponding to the asset type information of the asset information from the information asset classification tree, and determine the node as the target node.
[0119] Optionally, the operation corresponding to the operation instruction includes a deletion operation. The processing module 1503 is specifically configured to delete the target node; or replace the parent node corresponding to the target node with a recycle node.
[0120] Optionally, the operation corresponding to the operation instruction includes an addition operation; the processing module 1503 is specifically configured to add the asset information in the operation instruction to the target node.
[0121] Optionally, the device further includes a creation module 1504. The creation module 1504 is configured to acquire a plurality of information asset data; classify the information asset data according to a preset type to obtain a plurality of nodes, and generate asset types corresponding to each node. The nodes include information asset data classified according to the preset type. The nodes include parent nodes and child nodes. An information asset classification tree is constructed according to the parent nodes and child nodes.
[0122] Optionally, a creation module 1504 is configured to obtain a preset template; add the information asset data in the node to the preset template according to the requirements of the preset template to generate an asset type corresponding to the node; or, replace the content in the preset template with the information asset data in the node, and determine the replaced preset template as the asset type corresponding to the node.
[0123] Optionally, an asset type corresponds to at least one piece of attribute information, and the attribute information includes a reference data set. The creation module 1504 is further configured to add the attribute information to the asset type, and determine the asset type after adding the attribute information as the attribute information corresponding to the asset type; or, replace the data in the asset type with the attribute information data to generate the attribute information corresponding to the asset type; determine a general option according to the reference data set in the attribute information, and the general option corresponds to at least one option detail.
[0124] The information asset processing device provided by the embodiments of the present invention can execute the technical solutions of the information asset processing method in any of the above embodiments. The implementation principle and the beneficial effects are similar to those of the information asset processing method. For details, refer to the implementation principle and the beneficial effects of the information asset processing method, which will not be elaborated here.
[0125] Figure 16 FIG. is a schematic structural diagram of an electronic device provided by the present invention. As Figure 16 shown, the electronic device 1600 may include: at least one processor 1601 and a memory 1602.
[0126] The memory 1602 is used to store a program. Specifically, the program may include program code, and the program code includes computer operation instructions.
[0127] The memory 1602 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0128] The processor 1601 is used to execute computer-executable instructions stored in the memory 1602 to implement the method for processing information assets described in the foregoing method embodiments. Among them, the processor 1601 may be a central processing unit (CPU for short), or an application specific integrated circuit (ASIC for short), or one or more integrated circuits configured to implement the embodiments of the present invention. Specifically, when implementing the method for processing information assets described in the foregoing method embodiments, the electronic device may be, for example, an electronic device with processing functions such as a terminal or a server. When implementing the method for processing information assets described in the foregoing method embodiments, the electronic device may be, for example, an electronic control unit on a vehicle.
[0129] Optionally, the electronic device 1600 may further include a communication interface 1603. In a specific implementation, if the communication interface 1603, the memory 1602, and the processor 1601 are independently implemented, the communication interface 1603, the memory 1602, and the processor 1601 may be interconnected through a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.
[0130] Optionally, in a specific implementation, if the communication interface 1603, the memory 1602, and the processor 1601 are implemented integrated on a chip, the communication interface 1603, the memory 1602, and the processor 1601 may communicate through an internal interface.
[0131] The present invention also provides a computer-readable storage medium, which may include: various media that can store program codes such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc. Specifically, program instructions are stored in the computer-readable storage medium, and the program instructions are used for the method in the foregoing embodiments.
[0132] The present invention also provides a program product, which includes execution instructions stored in a readable storage medium. At least one processor of the electronic device can read the execution instructions from the readable storage medium, and the execution of the execution instructions by at least one processor enables the electronic device to implement the information asset processing method provided by the above various embodiments.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A method for processing information assets, characterized in that, The method includes: In response to an operation instruction, obtaining a pre-constructed information asset classification tree, where the information asset classification tree includes at least two levels, and each parent node and each child node in the information asset classification tree correspond to different asset types; According to the asset information in the operation instruction, determining the project and application system where the asset information is located, where the asset information includes the asset type information; Processing the project information carried in the operation instruction to obtain a project processing result; If the project processing result is passed, the application system processes the application system information carried in the operation instruction to obtain an application system processing result; If the application system processing result is passed, searching in the information asset classification tree for the node corresponding to the asset type information of the asset information, and determining the node as the target node; performing an add or delete or change operation corresponding to the operation instruction on the target node.
2. The method according to any one of claims 1, characterized in that, The operation corresponding to the operation instruction includes a delete operation, The performing the delete operation corresponding to the operation instruction on the target node includes: Deleting the target node; Or, Replacing the parent node corresponding to the target node with a recycle node.
3. The method according to any one of claims 1, characterized in that, The operation corresponding to the operation instruction includes an add operation; The performing the add operation corresponding to the operation instruction on the target node includes: Adding the asset information in the operation instruction to the target node.
4. The method according to claim 1, wherein The method further includes: Obtaining a plurality of information asset data; Classifying the information asset data according to a preset type to obtain a plurality of nodes, and generating an asset type corresponding to each node, where the node includes information asset data classified according to the preset type, and the node includes a parent node and a child node; Constructing an information asset classification tree according to the parent node and the child node.
5. The method according to claim 4, wherein The generating the asset type corresponding to each node includes: Obtaining a preset template; Adding the information asset data in the node to the preset template according to the requirements of the preset template to generate the asset type corresponding to the node; Or, Replacing the content in the preset template with the information asset data in the node, and determining the replaced preset template as the asset type corresponding to the node.
6. The method according to any one of claims 4 or 5, characterized in that The asset type corresponds to at least one attribute information, where the attribute information includes a reference data set, and the method further includes: Adding attribute information to the asset type, and determining the asset type after adding the attribute information as the attribute information corresponding to the asset type; Or, Replacing the data in the asset type with attribute information data to generate the attribute information corresponding to the asset type; Determining general options according to the reference data set in the attribute information, where the general options correspond to at least one option detail.
7. An information asset processing device, characterized in that, Including: An obtaining module, configured to obtain a pre-constructed information asset classification tree in response to an operation instruction, where the information asset classification tree includes at least two levels, and each parent node and each child node in the information asset classification tree correspond to different asset types; A determination module, configured to determine a project and an application system where the asset information is located according to the asset information in the operation instruction, where the asset information includes the asset type information; A first processing module, configured to process the project information carried in the operation instruction to obtain a project processing result; If the project processing result is passed, the application system processes the application system information carried in the operation instruction to obtain an application system processing result; If the application system processing result is passed, search for a node corresponding to the asset type information of the asset information from the information asset classification tree, and determine the node as the target node; A second processing module, configured to perform an addition or deletion or modification operation corresponding to the operation instruction on the target node.
8. An electronic device, comprising: A processor, and a memory communicatively connected to the processor; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, Computer execution instructions are stored in the computer-readable storage medium, and when the computer execution instructions are executed by the processor, they are used to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Asset view construction method and device
CN105631745A
Database query method and device, server and medium
CN110471916A