Device Asset Processing Method, Apparatus, Device, and Storage Medium

Through the configuration table, the asset events and operation rules of equipment assets are recorded, and the cumbersome operation problems in the existing technology are solved and efficient equipment asset processing is achieved.

CN115080142BActive Publication Date: 2025-07-04ENVISION DIGITAL INT PTE LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210666934.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-13
Publication Date
2025-07-04
Estimated Expiration
2042-06-13

AI Technical Summary

Technical Problem

When processing equipment assets, the existing technology needs to list the fields that need to be modified one by one, which is cumbersome and has low efficiency.

Method used

Through the configuration table, various asset events and operation rules responding to by the device asset are recorded, and operation rules are obtained directly from the configuration table for processing.

Benefits of technology

Simplify the operation process, improve the acquisition efficiency of operation rules and the processing efficiency of asset events.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115080142B_ABST
    Figure CN115080142B_ABST
Patent Text Reader

Abstract

An embodiment of the present application discloses a method, device, equipment, and storage medium for processing device assets, belonging to the fields of Internet and computer technologies. The method includes: when detecting a first asset event for a first device asset, obtaining a configuration table corresponding to the first device asset; obtaining an operation rule of the first device asset for the first asset event based on the configuration table; and processing the first device asset based on the operation rule of the first device asset for the first asset event. In the present application, various asset events responded to by the first device asset and the operation rules of the first device asset for various asset events are recorded through the configuration table, so that after detecting the first asset event for the first device asset, the operation rule of the first device asset for the first asset event can be directly obtained from the configuration table, and then the first device asset can be processed, which is simple to operate, improves the acquisition efficiency of the operation rule, and improves the processing efficiency of the asset event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of Internet and computer technologies, and particularly relates to a method, apparatus, device, and storage medium for processing device assets. Background Art

[0002] Currently, when processing device assets, for asset events of a device asset, based on the asset event, it is necessary to determine the fields to be modified from the physical model of the associated device assets corresponding to the device asset, and then modify the fields to be modified one by one according to the asset event.

[0003] However, in the above related technologies, before processing the device assets, listing the fields to be modified one by one is cumbersome. Summary of the Invention

[0004] Embodiments of this application provide a method, apparatus, device, and storage medium for processing device assets, which can improve the acquisition efficiency of operation rules and the processing efficiency of asset events. The technical solutions are as follows:

[0005] On the one hand, embodiments of this application provide a method for processing device assets, the method including:

[0006] When detecting a first asset event for a first device asset, obtaining a configuration table corresponding to the first device asset;

[0007] Based on the configuration table, obtaining an operation rule of the first device asset for the first asset event; wherein, the configuration table is used to record various asset events responded by the first device asset, and the operation rules of the first device asset for the various asset events respectively;

[0008] Processing the first device asset based on the operation rule for the first asset event.

[0009] On the other hand, embodiments of this application provide a device for processing device assets, the device including:

[0010] A configuration acquisition module, configured to obtain a configuration table corresponding to the first device asset when detecting a first asset event for the first device asset;

[0011] A rule acquisition module, configured to obtain an operation rule of the first device asset for the first asset event based on the configuration table; wherein, the configuration table is used to record various asset events responded by the first device asset, and the operation rules of the first device asset for the various asset events respectively;

[0012] An asset acquisition module, configured to process the first device asset based on the operation rules for the first asset event.

[0013] In another aspect, an embodiment of the present application provides a computer device, which includes a processor and a memory. A computer program is stored in the memory and is loaded and executed by the processor to implement the above-mentioned device asset processing method.

[0014] In yet another aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned device asset processing method is implemented.

[0015] In still another aspect, an embodiment of the present application provides a computer program product. When the computer program product runs, it causes a computer device to execute the above-mentioned device asset processing method.

[0016] The technical solution provided by the embodiment of the present application can bring the following beneficial effects:

[0017] By recording various asset events responded by the first device asset and the operation rules of the first device asset for various asset events in a configuration table, after detecting the first asset event for the first device asset, the operation rules of the first device asset for the first asset event can be directly obtained from the configuration table, and then the first device asset can be processed. The operation is simple, the acquisition efficiency of the operation rules is improved, and the processing efficiency of the asset event is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] To more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0019] Figure 1 is a schematic diagram of a device asset processing system provided by an embodiment of the present application;

[0020] Figure 2 is a flowchart of a device asset processing method provided by an embodiment of the present application;

[0021] Figure 3 Exemplarily shows a schematic diagram of a mounting event;

[0022] Figure 4 Exemplarily shows a schematic diagram of a method for obtaining a linked device asset;

[0023] Figure 5 It is a block diagram of a device asset processing apparatus provided by an embodiment of the present application;

[0024] Figure 6 It is a block diagram of a device asset processing apparatus provided by another embodiment of the present application;

[0025] Figure 7 It is a structural block diagram of a computer device provided by an embodiment of the present application. Detailed implementation manners

[0026] To make the objectives, technical solutions and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.

[0027] Please refer to Figure 1 , which shows a schematic diagram of a device asset processing system provided by an embodiment of the present application. The device asset processing system may include: an asset service processing program 10, an asset event consumption program 20, and an asset event processing program 30.

[0028] The asset service processing program 10 is used to create corresponding event information for various behaviors of assets. The asset event consumption program 20 reads corresponding asset events from an event center. The asset event processing program 30 is used to distribute the asset event to a corresponding event processing program for processing according to the type of the asset event.

[0029] Optionally, in an embodiment of the present application, the asset events created by the asset service processing program 10 include a mounting event, a creation event, an update event, a deletion event, an unmounting event, etc.; the asset event processing program 30 includes an asset mounting event processing program, an asset creation event processing program, an asset update event processing program, an asset deletion event processing program, an asset unmounting event processing program, etc.

[0030] Optionally, the asset service processing program 10, the asset event consumption program 20, and the asset event processing program 30 may be set in the same computer device or may be set in different computer devices, and the embodiments of the present application do not limit this. It should be noted that if the asset service processing program 10, the asset event consumption program 20, and the asset event processing program 30 are set in different computer devices, the asset service processing program 10, the asset event consumption program 20, and the asset event processing program 30 may communicate with each other through a network.

[0031] Next, taking the case where the asset service processing program 10, the asset event consumption program 20, and the asset event processing program 30 may be set in the same computer device as an example for introduction and illustration.

[0032] Please refer to Figure 2, which shows a flowchart of a device asset processing method provided by an embodiment of the present application. This method is applied to Figure 1 the data upload device 10 of the device asset processing system shown in the figure. This method may include the following steps (201-203):

[0033] Step 201, when detecting a first asset event for a first device asset, obtain the configuration table corresponding to the first device asset.

[0034] The first device asset refers to any device asset that can respond to an asset event. The first asset event refers to any asset event for the first device asset.

[0035] In an embodiment of the present application, before processing the first device asset, the computer device obtains the first asset event of the first device asset, and then when detecting the first asset event for the first device asset, obtains the configuration table corresponding to the first device asset. Among them, the configuration table is a configuration table preset for the first device asset.

[0036] Optionally, the above-mentioned first asset event for the first device asset may be provided by the asset party to the computer device actively, or detected automatically by the computer device. The embodiment of the present application does not limit this.

[0037] In a possible implementation manner, when the first asset event for the first device asset occurs, the asset party actively provides event occurrence information to the computer device. Among them, the event occurrence information is used to indicate that a first asset event for the first device asset occurs.

[0038] In another possible implementation manner, the computer device automatically detects each device asset, and then when the first asset event for the first device asset occurs, the computer device can automatically detect the occurrence of the first asset event for the first device asset.

[0039] Step 202, obtain the operation rule of the first device asset for the first asset event based on the configuration table.

[0040] In an embodiment of the present application, after the computer device obtains the above configuration table, it obtains the operation rule of the first device asset for the first asset event based on the configuration table.

[0041] The above configuration table is used to record various asset events responded to by the first device asset, as well as the operation rules of the first device asset for various asset events respectively. Optionally, when the computer device detects a first asset event for the first device asset, it queries the recording situation of the first asset event in the configuration table. Further, if the first asset event is recorded in the configuration table, it is determined that the first asset event is an asset event responded to by the first device asset, and then the operation rule of the first device asset for the first asset event is queried and obtained from the configuration table; if the first asset event is not recorded in the configuration table, it is determined that the first asset event is not an asset event responded to by the first device asset, and no subsequent operation needs to be performed.

[0042] Step 203: Process the first device asset based on the operation rule for the first asset event.

[0043] In the embodiment of the present application, after the computer device obtains the above operation rule for the first asset event, it processes the first device asset based on the operation rule for the first asset event.

[0044] Optionally, the above processing of the first device asset is the processing of the physical model of the associated device asset of the first device asset. In an exemplary embodiment, the above step 203 includes the following steps:

[0045] 1. Based on the operation rule for the first asset event, obtain the associated device asset targeted by the first device asset and the processing method for the physical model of the associated device asset.

[0046] The physical model is an abstraction and digitalization of entity objects in the physical world, an abstraction of real existing device assets, which defines what the device asset is, what it can do, what services it can provide externally, and what attributes it has. Optionally, one device asset corresponds to one physical model, and one physical model corresponds to multiple device assets.

[0047] In the embodiment of the present application, after the computer device obtains the above operation rule for the first asset event, it obtains the associated device asset targeted by the first device asset and the processing method for the physical model of the associated device asset based on the operation rule for the first asset event.

[0048] In a possible implementation manner, the above operation rule for the first asset event includes the above associated device asset and the processing method for the physical model of the associated device asset. After the computer device obtains the operation rule for the first asset event, it directly obtains the above associated device asset and the processing method for the physical model of the associated device asset from the operation rule.

[0049] In another possible implementation, the operation rules for the first asset event include a query path for associated device assets and a path for obtaining processing methods. After obtaining the operation rules for the first asset event, the computer device obtains the associated device assets of the first asset event based on the query path for associated device assets in the operation rules, and obtains the processing rules for the physical model of the associated device assets based on the path for obtaining processing methods in the operation rules.

[0050] 2. Based on the processing method, process the physical model of the associated device assets to complete the processing of the first device asset.

[0051] In the embodiment of the present application, after obtaining the above-mentioned associated device assets and the above-mentioned processing method, the computer device processes the physical model of the associated device assets based on the processing method to complete the processing of the first device asset.

[0052] Optionally, if the above-mentioned first asset event is a mounting event, the above-mentioned processing method is used to indicate writing the asset identifier of the first device asset into the target field of the physical model of the associated device assets. When processing the physical model of the associated device assets, the computer device obtains the asset identifier of the first device asset and the target field of the physical model of the associated device assets, and then writes the asset identifier of the first device asset into the target field of the physical model of the associated device assets. Among them, the above-mentioned mounting event refers to an asset event that establishes an association relationship between the first device asset and the associated device assets. Exemplarily, as Figure 3 shown, in the asset tree 30, there are device asset A, device asset B, and device asset C, and there is an association relationship between device asset A and device asset B, and there is an association relationship between device asset A and device asset C. If an association relationship is established between device asset C and device asset D, it can be determined that a mounting event for device asset D occurs, and the associated device asset of device asset D is device asset C.

[0053] Optionally, if the above-mentioned first asset event is a creation event, the above-mentioned processing method is used to indicate writing the asset identifier of the first device asset into the target field of the physical model of the first device asset. When processing the physical model of the associated device assets, the computer device obtains the asset identifier of the first device asset and the target field of the physical model of the first device asset, and then writes the asset identifier of the first device asset into the target field of the physical model of the first device asset.

[0054] Optionally, if the above first asset event is an update event, the above processing method is used to indicate to update the asset identifier of the first device asset in the target field of the physical model of the associated device asset. When the computer device processes the physical model of the associated device asset, it obtains the asset identifier of the first device asset and the target field of the physical model of the associated device asset, and then updates the asset identifier of the first device asset in the target field of the physical model of the associated device asset.

[0055] Optionally, if the above first asset event is a deletion event, the above processing method is used to indicate to delete the asset identifier of the first device asset in the target field of the physical model of the first device asset. When the computer device processes the physical model of the associated device asset, it obtains the asset identifier of the first device asset and the target field of the physical model of the first device asset, and then deletes the asset identifier of the first device asset in the target field of the physical model of the first device asset.

[0056] Optionally, if the above first asset event is an unmount event, the above processing method is used to indicate to delete the asset identifier of the first device asset in the target field of the physical model of the associated device asset. When the computer device processes the physical model of the associated device asset, it obtains the asset identifier of the first device asset and the target field of the physical model of the associated device asset, and then deletes the asset identifier of the first device asset in the target field of the physical model of the associated device asset.

[0057] In summary, in the technical solution provided by the embodiments of the present application, by recording various asset events responded by the first device asset and the operation rules of the first device asset for various asset events in the configuration table, after detecting the first asset event for the first device asset, the operation rule of the first device asset for the first asset event can be directly obtained from the configuration table, and then the first device asset can be processed, which is simple to operate, improves the acquisition efficiency of the operation rules, and improves the processing efficiency of the asset events.

[0058] Optionally, in the embodiments of the present application, the above operation rules include the associated device assets targeted by the first device asset under the first asset event and the processing method for the physical model of the associated device assets. Next, the acquisition method of the operation rules will be introduced, and the specific steps are as follows:

[0059] 1. Based on the first asset event, obtain the query path of the associated device assets targeted by the first device asset from the configuration table.

[0060] In the embodiments of the present application, after the computer device determines that the first asset event is an asset event that the first device asset can respond to, based on the first asset event, it obtains the query path of the associated device assets targeted by the first device asset from the configuration table.

[0061] Optionally, when the computer device obtains the query path of the associated device assets, based on the first asset event, it obtains the asset tree corresponding to the first device asset and the association information of the first device asset from the configuration table. The query path of the associated device assets includes an asset tree and association information. The asset tree includes at least one device asset, and the asset tree is used to indicate the association relationship between various device assets on the tree. Exemplarily, as Figure 3 shown, in the asset tree 30, there is an association relationship between device asset A and device asset B, and there is an association relationship between device asset A and device asset C. Among them, device asset A is the parent asset node of device asset B and device asset C. Correspondingly, device asset B and device asset C are the sub-asset nodes of device asset A.

[0062] It should be noted that the asset tree corresponding to the first device asset may or may not include the first device asset, and the embodiments of the present application do not limit this.

[0063] 2. Obtain the associated device assets corresponding to the first device asset according to the query path of the associated device assets.

[0064] In the embodiments of the present application, after the computer device obtains the above query path of the associated device assets, it obtains the associated device assets corresponding to the first device asset according to the query path of the associated device assets. Optionally, the computer device determines the asset tree corresponding to the first device asset according to the asset tree in the query path of the associated device assets; and then, according to the association information in the query path of the associated device assets, determines the device assets indicated by the association information as the associated device assets from the asset tree.

[0065] In a possible implementation manner, the above association information includes specific device assets. After the computer device obtains the association information, it directly determines the specific device assets included in the association information as the associated assets of the first device asset from the asset tree.

[0066] In another possible implementation manner, the above association information is used to indicate the relationship between the associated device assets and the first device asset. After the computer device obtains the association information, based on the relationship between the associated device assets and the first device asset, it determines the device assets indicated by the association information as the associated assets of the first device asset from the asset tree. Exemplarily, as Figure 4As shown in the figure, the asset tree 40 corresponding to the first equipment asset includes the first equipment asset, the second equipment asset, the third equipment asset, the fourth equipment asset, the fifth equipment asset, and the sixth equipment asset. If the above linkage information is: the equipment asset closest to the first equipment asset, then the sixth equipment asset is determined to be the linked equipment asset of the first equipment asset; if the above linkage information is: the equipment asset farthest from the first equipment asset, then the second equipment asset is determined to be the linked equipment asset of the first equipment asset.

[0067] Of course, in the exemplary embodiment, since the configuration table can be flexibly set and adjusted according to the actual situation, the first equipment asset and the linked equipment asset can be in the same asset tree or in different asset trees. The embodiments of the present application do not limit this.

[0068] 3. Query and obtain the processing method of the physical model for the linked equipment asset from the configuration table according to the linked equipment asset and the first asset event.

[0069] In the embodiment of the present application, after the computer device obtains the above linked equipment asset, according to the linked equipment asset and the first asset event, it queries and obtains the processing method of the physical model for the linked equipment asset from the configuration table.

[0070] Next, taking the structure of the configuration table as a reference, the acquisition method of the operation rule of the first equipment asset for the first asset event is introduced.

[0071] Exemplarily, the configuration table corresponding to the first equipment asset includes the first configuration table, the second configuration table, and the third configuration table.

[0072] The first configuration table is used to determine whether the first asset event is an equipment asset that the first equipment asset can respond to. The first configuration table is shown in Table 1 below:

[0073] Table 1 First configuration table of the first equipment asset

[0074]

[0075]

[0076] The second configuration table is used to determine the linked equipment asset for the first equipment asset. The second configuration table is shown in Table 2 below: Table 2 Second configuration table of the first equipment asset

[0077]

[0078] The third configuration table is used to determine the processing method of the physical model for the linked asset. The third configuration table is shown in Table 3 below: Table 3 First configuration table of the third equipment asset

[0079]

[0080]

[0081] The following is an embodiment of the device of the present application, which can be used to execute the method embodiment of the present application. For details not disclosed in the device embodiment of the present application, please refer to the method embodiment of the present application.

[0082] Please refer to Figure 5 , which shows a block diagram of a device asset processing device provided by an embodiment of the present application. The device has the function of implementing the above-mentioned device asset processing method, and the function can be implemented by hardware or by hardware executing corresponding software. The device can be a computer device or can be set in a computer device. The device 500 may include: a configuration acquisition module 510, a rule acquisition module 520, and an asset acquisition module 530.

[0083] The configuration acquisition module 510 is configured to acquire a configuration table corresponding to the first device asset when a first asset event for the first device asset is detected.

[0084] The rule acquisition module 520 is configured to acquire an operation rule of the first device asset for the first asset event based on the configuration table; wherein, the configuration table is used to record various asset events responded by the first device asset, and the operation rules of the first device asset for the various asset events respectively.

[0085] The asset acquisition module 530 is configured to process the first device asset based on the operation rule for the first asset event.

[0086] In an exemplary embodiment, as Figure 6 shown, the rule acquisition module 520 includes: an event judgment unit 521 and a rule acquisition unit 522.

[0087] The event judgment unit 521 is configured to determine that the first asset event is an asset event responded by the first device asset when the first asset event is recorded in the configuration table.

[0088] The rule acquisition unit 522 is configured to query and acquire the operation rule of the first device asset for the first asset event from the configuration table.

[0089] In an exemplary embodiment, the operation rule includes the associated device asset that the first device asset targets under the first asset event, and the processing method for the physical model of the associated device asset; the rule acquisition unit 522 includes: a path acquisition subunit, an asset acquisition subunit, and a method acquisition subunit.

[0090] A path acquisition subunit, configured to obtain, based on the first asset event, a linkage device asset query path for the first device asset from the configuration table.

[0091] An asset acquisition subunit, configured to obtain the linkage device asset for the first device asset according to the linkage device asset query path.

[0092] A method acquisition subunit, configured to query and obtain a processing method for the physical model of the linkage device asset from the configuration table according to the linkage device asset and the first asset event.

[0093] In an exemplary embodiment, the path acquisition subunit is configured to obtain, based on the first asset event, an asset tree for the first device asset and linkage information of the first device asset from a configuration table; wherein the linkage device asset query path includes the asset tree and the linkage information, and the asset tree includes at least one device asset, and the asset tree is used to indicate the association relationship between various device assets on the tree.

[0094] In an exemplary embodiment, the asset acquisition subunit is configured to determine the asset tree targeted by the first device asset according to the asset tree in the linkage device asset query path; and determine the device asset indicated by the linkage information as the linkage device asset from the asset tree according to the linkage information in the linkage device asset query path.

[0095] In an exemplary embodiment, as Figure 6 shown, the asset acquisition module 530 is configured to obtain, based on the operation rule for the first asset event, the linkage device asset for the first device asset and the processing method for the physical model of the linkage device asset; and process the physical model of the linkage device asset based on the processing method to complete the processing for the first device asset.

[0096] In an exemplary embodiment, the first asset event is a mounting event, and the processing method is used to indicate writing the asset identifier of the first device asset into a target field of the physical model of the associated device asset; the first asset event is a creation event, and the processing method is used to indicate writing the asset identifier of the first device asset into a target field of the physical model of the first device asset; the first asset event is an update event, and the processing method is used to indicate updating the asset identifier of the first device asset in a target field of the physical model of the associated device asset; the first asset event is a deletion event, and the processing method is used to indicate deleting the asset identifier of the first device asset in a target field of the physical model of the first device asset; the first asset event is an unmounting event, and the processing method is used to indicate deleting the asset identifier of the first device asset in a target field of the physical model of the associated device asset.

[0097] In summary, in the technical solution provided by the embodiment of the present application, by recording various asset events responded by the first device asset and the operation rules of the first device asset for various asset events in a configuration table, after detecting the first asset event for the first device asset, the operation rule of the first device asset for the first asset event can be directly obtained from the configuration table, and then the first device asset can be processed, which is simple to operate, improves the acquisition efficiency of the operation rule, and improves the processing efficiency of the asset event.

[0098] Please refer to Figure 7 , which shows a structural block diagram of a computer device provided by an embodiment of the present application. This computer device can be used to implement the functions of the above device asset processing method. Specifically:

[0099] The computer device 700 includes a central processing unit (CPU) 701, a system memory 704 including a random access memory (RAM) 702 and a read only memory (ROM) 703, and a system bus 705 connecting the system memory 704 and the central processing unit 701. The computer device 700 also includes a basic input / output (I / O) system 706 for transferring information between various components in the computer, and a mass storage device 707 for storing an operating system 713, application programs 714, and other program modules 715.

[0100] The basic input / output system 706 includes a display 708 for displaying information and input devices 709 such as a mouse, keyboard, etc. for user input of information. Both the display 708 and the input devices 709 are connected to the central processing unit 701 through an input / output controller 710 connected to the system bus 705. The basic input / output system 706 may also include an input / output controller 710 for receiving and processing inputs from a plurality of other devices such as a keyboard, mouse, or electronic stylus. Similarly, the input / output controller 710 also provides outputs to a display screen, printer, or other types of output devices.

[0101] The mass storage device 707 is connected to the central processing unit 701 through a mass storage controller (not shown) connected to the system bus 705. The mass storage device 707 and its associated computer-readable medium provide non-volatile storage for the computer device 700. That is to say, the mass storage device 707 may include computer-readable media (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.

[0102] Without loss of generality, computer-readable media may include computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc) or other optical storage, magnetic tape cartridges, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that computer storage media is not limited to the above several types. The above system memory 704 and mass storage device 707 may be collectively referred to as memory.

[0103] According to various embodiments of the present application, the computer device 700 may also run by connecting to a remote computer on a network such as the Internet. That is, the computer device 700 may be connected to the network 712 through a network interface unit 711 connected to the system bus 705, or in other words, the network interface unit 711 may also be used to connect to other types of networks or remote computer systems (not shown).

[0104] The memory further includes a computer program, which is stored in the memory and configured to be executed by one or more processors to implement the above-mentioned device asset processing method.

[0105] In an exemplary embodiment, a non-transitory computer-readable storage medium is further provided, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned device asset processing method is implemented.

[0106] Optionally, the computer-readable storage medium may include: ROM (Read Only Memory), RAM (Random Access Memory), SSD (Solid State Drives), or optical discs, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0107] In an exemplary embodiment, a computer program product is further provided, and when the computer program product is executed by a processor, it is used to implement the above-mentioned device asset processing method.

[0108] It should be understood that "a plurality of" mentioned herein refers to two or more. " / ", describing the association relationship of associated objects, indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after. In addition, the step numbers described herein only exemplarily show a possible execution sequence between steps. In some other embodiments, the above steps may not be executed in the order of the numbers. For example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in the reverse order of the illustration. The embodiments of the present application do not limit this.

[0109] The above are only exemplary embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for processing device assets, characterized in that, The method includes: Obtaining a first asset event of a first device asset, where the first asset event is actively provided by an asset party to a computer device or automatically detected by the computer device; When detecting the first asset event for the first device asset, obtaining a configuration table corresponding to the first device asset, where the configuration table is used to record various asset events responded to by the first device asset and operation rules of the first device asset for the various asset events respectively. The operation rules of the first asset event include the linked device assets targeted by the first device asset under the first asset event and the processing method for the physical model of the linked device assets; where the configuration table corresponding to the first device asset includes a first configuration table, a second configuration table, and a third configuration table. The first configuration table is used to determine whether the first asset event is an asset event responded to by the first device asset and indicate the second configuration table pointed to by the first asset event. The second configuration table is used to determine the linked device assets for the first device asset. The third configuration table is used to determine the processing method for the physical model of the linked assets; When the first asset event is recorded in the first configuration table, determining that the first asset event is an asset event responded to by the first device asset; Taking the first asset event as a reference, obtaining a query path of the linked device assets targeted by the first device asset from the second configuration table; Obtaining the linked device assets targeted by the first device asset according to the query path of the linked device assets; Querying and obtaining the processing method for the physical model of the linked device assets from the third configuration table according to the linked device assets and the first asset event; Based on the processing method, processing the physical model of the linked device assets to complete the processing for the first device asset; where the physical model is an abstraction of a real device asset, one device asset corresponds to one physical model, and one physical model corresponds to multiple device assets.

2. The method according to claim 1, wherein The obtaining, taking the first asset event as a reference, a query path of the linked device assets targeted by the first device asset from the second configuration table includes: Taking the first asset event as a reference, obtaining an asset tree targeted by the first device asset and linkage information of the first device asset from the second configuration table; where the query path of the linked device assets includes the asset tree and the linkage information. The asset tree includes at least one device asset, and the asset tree is used to indicate the association relationship between various device assets on the tree.

3. The method according to claim 1, characterized in that, The obtaining the linked device assets targeted by the first device asset according to the query path of the linked device assets includes: Determining the asset tree targeted by the first device asset according to the asset tree in the query path of the linked device assets; Determining the device assets indicated by the linkage information as the linked device assets from the asset tree according to the linkage information in the query path of the linked device assets.

4. The method according to claim 1, wherein The first asset event is a mounting event, and the processing method is used to indicate writing the asset identifier of the first device asset into the target field of the device model of the associated device asset; The first asset event is a creation event, and the processing method is used to indicate writing the asset identifier of the first device asset into the target field of the device model of the first device asset; The first asset event is an update event, and the processing method is used to indicate updating the asset identifier of the first device asset in the target field of the device model of the associated device asset; The first asset event is a deletion event, and the processing method is used to indicate deleting the asset identifier of the first device asset in the target field of the device model of the first device asset; The first asset event is an unmounting event, and the processing method is used to indicate deleting the asset identifier of the first device asset in the target field of the device model of the associated device asset.

5. An apparatus for processing equipment assets, characterized in that, The device includes: A configuration acquisition module, configured to acquire a first asset event of a first device asset, where the first asset event is actively provided by an asset party to a computer device or automatically detected by the computer device; when detecting a first asset event for the first device asset, acquire a configuration table corresponding to the first device asset, where the configuration table is used to record various asset events responded by the first device asset, and operation rules of the first device asset for the various asset events, and the operation rules of the first asset event include the associated device asset targeted by the first device asset under the first asset event, and a processing method for the device model of the associated device asset; where the configuration table corresponding to the first device asset includes a first configuration table, a second configuration table, and a third configuration table, the first configuration table is used to determine whether the first asset event is an asset event responded by the first device asset, and indicate the second configuration table pointed to by the first asset event, the second configuration table is used to determine the associated device asset for the first device asset, and the third configuration table is used to determine the processing method for the device model of the associated asset; An event judgment unit, configured to determine that the first asset event is an asset event responded by the first device asset when the first asset event is recorded in the first configuration table; A path acquisition subunit, configured to acquire a query path of the associated device asset targeted by the first device asset from the second configuration table based on the first asset event; An asset acquisition subunit, configured to acquire the associated device asset targeted by the first device asset according to the query path of the associated device asset; A method acquisition subunit, configured to query and acquire a processing method for the device model of the associated device asset from the third configuration table according to the associated device asset and the first asset event; an asset acquisition module, configured to process the device model of the associated device asset based on the processing method to complete the processing for the first device asset; Among them, the device model is an abstraction of real existing device assets. One device asset corresponds to one device model, and one device model corresponds to multiple device assets.

6. A computer device, characterized in that, The computer device includes a processor and a memory. A computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the method according to any one of claims 1 to 4.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the method according to any one of claims 1 to 4 is implemented.

8. A computer program product, characterized in that, When the computer program product is executed by the processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Background configuration based dynamic realization method and system for equipment asset linkage enhancement

    CN105446728A

  • Internet of Things equipment management method and device, server and storage medium

    CN111107131A