Device data management method and apparatus, device, and storage medium
By comparing the IP addresses of the equipment center and the asset management platform, and updating the equipment status data, the problem of lagging equipment status data in the data center asset management platform is solved, and the real-time synchronization and accurate recording of equipment status are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INDUSTRIAL AND COMMERCIAL BANK OF CHINA
- Filing Date
- 2023-05-29
- Publication Date
- 2026-05-19
AI Technical Summary
In existing technologies, device status data in data center asset management platforms cannot be synchronized in a timely manner, resulting in data lag and an inability to accurately record the online and offline status of devices.
By comparing the IP addresses of currently online devices exported from the device center with the IP addresses of historical devices exported from the asset management platform, the device status data in the asset management platform is updated, including the online and offline status of online devices.
It enables timely updates of equipment status data, reduces the lag in manual registration, and ensures the timeliness and accuracy of data in the asset management platform.
Smart Images

Figure CN116527750B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the fields of equipment data management technology and financial technology, and in particular to an equipment data management method, apparatus, device, medium and program product. Background Technology
[0002] Data centers are the primary carriers for providing online financial services and are widely used in various financial service venues to store or back up the data required for financial services.
[0003] Data center server rooms are equipped with a large number of information technology devices, such as servers, storage devices, switches, network equipment, power equipment, and environmental monitoring equipment. With the growth of application demands, the types and quantities of required equipment are also expanding rapidly. Consequently, tasks such as racking up (configuring for online), taking down (configuring for offline), and troubleshooting equipment have become routine tasks.
[0004] Currently, data center asset location tracking is limited to recording the location of the equipment and related information (such as equipment name). However, due to operational and maintenance requirements and increasingly frequent asset changes, asset location data should be more detailed. For example, equipment status data (including online and offline status) should also be reflected in the asset management platform. However, in actual work scenarios, equipment status data cannot be synchronized to the asset management platform. Generally, the data in the asset management platform can only be updated through manual inspection, registration, and modification, resulting in significant data lag in the platform. Summary of the Invention
[0005] In view of the above problems, this disclosure provides methods, apparatus, equipment, media and program products for equipment data management.
[0006] According to a first aspect of this disclosure, a device data management method is provided, comprising: exporting the IP addresses of currently online devices from a device center; exporting the IP addresses of historical devices from an asset management platform; comparing the IP addresses of the online devices with the IP addresses of the historical devices to obtain a first comparison result; and updating the IP addresses of the online devices and the status data of the online devices, or the status data of the historical devices, to the asset management platform when the first comparison result indicates that the IP addresses of the online devices are different from the IP addresses of the historical devices in the asset management platform.
[0007] According to an embodiment of this disclosure, when the first comparison result indicates that the IP address of the online device is different from the IP address of the historical device in the asset management platform, updating the IP address of the online device and the status data of the online device, or the status data of the historical device, to the asset management platform includes: when the IP address of the online device does not appear in the IP addresses of the historical devices exported by the asset management platform, updating the IP address of the online device and the online status data of the online device to the asset management platform.
[0008] According to an embodiment of this disclosure, when the first comparison result indicates that the IP address of the online device is different from the IP address of the historical device in the asset management platform, updating the IP address of the online device and the status data of the online device, or the status data of the historical device, to the asset management platform further includes: when the IP address of the historical device does not appear in the IP addresses of the online devices exported from the device center, updating the offline status of the historical device to the asset management platform.
[0009] According to embodiments of this disclosure, the device data management method further includes: if the first comparison result indicates that the IP address of the online device is the same as the IP address of the historical device in the asset management platform, obtaining the serial number of the accessory of the online device and the serial number of the accessory of the historical device; comparing the serial number of the accessory of the online device with the serial number of the accessory of the historical device to obtain a second comparison result; and if the second comparison result indicates that the serial number of the accessory of the online device is different from the serial number of the accessory of the historical device in the asset management platform, updating the serial number of the accessory of the online device and the status data of the accessory of the online device, or the status data of the accessory of the historical device, to the asset management platform.
[0010] According to embodiments of this disclosure, when the second comparison result indicates that the serial number of the accessory of the online device is different from the serial number of the accessory of the historical device in the asset management platform, updating the serial number of the accessory of the online device and the status data of the accessory of the online device, or the status data of the accessory of the historical device, to the asset management platform includes: when the serial number of the accessory of the online device does not appear in the serial number of the accessory of the historical device exported by the asset management platform, updating the serial number of the accessory of the online device and the online status data of the accessory of the online device to the asset management platform.
[0011] According to embodiments of this disclosure, when the second comparison result indicates that the serial number of the accessory of the online device is different from the serial number of the accessory of the historical device in the asset management platform, updating the serial number of the accessory of the online device and the status data of the accessory of the online device, or the status data of the accessory of the historical device, to the asset management platform further includes: when the serial number of the accessory of the historical device does not appear in the serial number of the accessory of the online device exported from the device center, updating the offline status of the accessory of the historical device to the asset management platform.
[0012] A second aspect of this disclosure provides a device data management apparatus, comprising: a data export module for exporting the IP addresses of currently online devices from a device center, and for exporting the IP addresses of currently online devices from a device center; a first comparison module for comparing the IP addresses of the online devices with the IP addresses of historical devices to obtain a first comparison result; and a data update module for updating the IP addresses of the online devices and the status data of the online devices, or the status data of the historical devices, to the asset management platform when the first comparison result indicates that the IP addresses of the online devices are different from the IP addresses of the historical devices in the asset management platform.
[0013] A third aspect of this disclosure provides an electronic device, comprising: one or more processors; and a storage device for storing one or more programs; wherein, when the one or more programs are executed by the one or more processors, the one or more processors perform a device data management method.
[0014] A fourth aspect of this disclosure provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform a device data management method.
[0015] The fifth aspect of this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements a device data management method.
[0016] According to the device data management method, apparatus, equipment, medium, and program products provided in this disclosure, the online devices are associated with and compared with the historical devices by exporting the IP addresses of currently online devices from the device center and historical devices from the asset management platform, respectively, to obtain a first comparison result. If the first comparison result indicates that the IP address of the online device is different from the IP address of the historical device in the asset management platform, the IP address of the online device and the status data of the online device or the status data of the historical device are updated to the asset management platform, thereby updating the status data of newly added online devices from the device center and offline devices from the historical devices to the asset management platform in a timely manner. Attached Figure Description
[0017] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:
[0018] Figure 1 The illustration schematically depicts application scenarios of a device data management method, apparatus, device, medium, and program product according to embodiments of the present disclosure.
[0019] Figure 2 A flowchart illustrating a device data management method according to an embodiment of the present disclosure is shown schematically.
[0020] Figure 3 A flowchart illustrating the process of obtaining a second comparison result based on a first comparison result according to an embodiment of the present disclosure is shown schematically.
[0021] Figure 4 A schematic diagram illustrating the structure of a device data management apparatus according to an embodiment of the present disclosure is shown; and
[0022] Figure 5 A block diagram schematically illustrates an electronic device suitable for implementing a device data management method according to an embodiment of the present disclosure. Detailed Implementation
[0023] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.
[0024] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.
[0025] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.
[0026] When using expressions such as "at least one of A, B, and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B, and C, etc.).
[0027] In the technical solutions disclosed herein, the collection, storage, use, processing, transmission, provision, disclosure, and application of data (including but not limited to user personal information) comply with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and they do not violate public order and good morals.
[0028] Embodiments of this disclosure provide a device data management method, including: exporting the IP addresses of currently online devices from a device center; exporting the IP addresses of historical devices from an asset management platform; comparing the IP addresses of online devices with the IP addresses of historical devices to obtain a first comparison result; and updating the IP addresses of online devices and the status data of online devices, or the status data of historical devices, to the asset management platform if the first comparison result indicates that the IP addresses of online devices are different from the IP addresses of historical devices in the asset management platform.
[0029] Figure 1 The illustration schematically depicts an application scenario of a device data management method, apparatus, device, medium, and program product according to embodiments of the present disclosure. It should be noted that... Figure 1 The examples shown are merely examples of system architecture 100 that can be applied to the embodiments of this disclosure, in order to help those skilled in the art understand the technical content of this disclosure, but do not mean that the embodiments of this disclosure cannot be used in other devices, systems, environments or scenarios.
[0030] like Figure 1As shown, the system architecture 100 according to this embodiment may include an electronic device 101, a network 102, and a server 103. The network 102 is used to provide a communication link between the electronic device 101 and the server 103.
[0031] Electronic device 101 may be implemented in hardware, such as a data storage electronic device (e.g., a hard disk) made using semiconductor, magnetic media, or other technologies. Electronic device 101 stores the IP addresses of online devices and / or historical devices. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables. Server 103 may be a server capable of obtaining the IP addresses of online devices and / or historical devices from electronic device 101 and comparing the IP addresses of online devices with those of historical devices. According to embodiments of this disclosure, during device data management, server 103 obtains the IP addresses of online devices and historical devices stored on electronic device 101 through network 102, compares them to obtain a first comparison result, and updates the IP addresses of online devices and the status data of online devices or historical devices in the asset management platform if the first comparison result indicates that the IP addresses of online devices are different from the IP addresses of historical devices in the asset management platform.
[0032] It should be noted that the device data management method provided in this embodiment can be executed by server 103. Correspondingly, the device data management device provided in this embodiment can be located in server 103. Alternatively, the device data management method provided in this embodiment can also be executed by a server or server cluster that is different from server 103 but capable of communicating with electronic device 101 and / or server 103. Correspondingly, the device data management device provided in this embodiment can also be located in a server or server cluster that is different from server 103 but capable of communicating with electronic device 101 and / or server 103. Alternatively, the device data management method provided in this embodiment can also be partially executed by server 103 and partially executed by electronic device 101. Correspondingly, the device data management device provided in this embodiment can also be partially located in server 103 and partially located in electronic device 101.
[0033] It should be understood that Figure 1 The number of electronic devices, networks, and servers shown is merely illustrative. Any number of electronic devices, networks, and servers can be included depending on implementation needs.
[0034] The following will be based on Figure 1 The described scene, through Figure 2 and Figure 3 The device data management method of the disclosed embodiments will be described in detail.
[0035] The device data management method provided in this disclosure can be applied to the financial services sector. Taking a bank as an example, the configured data center includes a device center and an asset management platform. The device center includes all currently online devices, and the asset management platform includes all historical devices with records. During the device data management process, the status data of online devices and historical devices in the device center can be updated to the asset management platform. Based on the device data management method provided in this disclosure, the status data (including online status data and lower limit status data) of all historical devices in the asset management platform can be updated to reduce the lag caused by manual registration and ensure timely data updates in the asset management platform.
[0036] It should be understood that the device data management method provided in this disclosure is not limited to the field of financial services technology. The above description is merely exemplary. For other fields involving device data management, such as device data management of trainable models, the device data management method of this disclosure can be applied for data management and / or updating.
[0037] Figure 2 A flowchart illustrating a device data management method according to an embodiment of the present disclosure is shown schematically.
[0038] like Figure 2 As shown, the above-mentioned device data management method may include, for example, operations S210 to S240.
[0039] When operating S210, export the IP addresses of currently online devices from the device center.
[0040] In embodiments of this disclosure, online devices include, but are not limited to, at least one of servers, storage devices, switches, network devices, power equipment, and environmental monitoring devices.
[0041] In this embodiment of the disclosure, the method for obtaining the IP address of an online device includes, but is not limited to, after receiving an instruction to obtain the IP address at the device center, sending a request to the server to obtain the IP address of the online device, until a response containing the IP address of the online device is received from the server under preset response conditions (such as response time).
[0042] When operating S220, export the IP addresses of historical devices from the asset management platform.
[0043] In this embodiment of the disclosure, a method similar to exporting the IP addresses of currently online devices from the device center is used to obtain the IP addresses of historical devices from the asset management platform.
[0044] In operation S230, the IP address of the online device is compared with the IP address of the historical device to obtain the first comparison result.
[0045] In embodiments of this disclosure, comparing the IP address of the online device with the IP address of the historical device includes:
[0046] The number of online devices contained in the device center (i.e., A) is X;
[0047] The number of historical devices included in the asset management platform (i.e., B) is Y;
[0048] Starting with the Mth (e.g., 1) device, compare the IP address of this device with the IP addresses of each online device in the device center (i.e., A) and each historical device in the asset management platform (i.e., B);
[0049] If the IP address of the Mth device exists only in the device center (i.e., A) or the asset management platform (i.e., B), then the first comparison result is obtained;
[0050] This continues until the IP addresses of every device (i.e., M = X + Y) have been compared.
[0051] In operation S240, if the IP address of the online device is different from the IP address of the historical device in the asset management platform, the IP address of the online device and the status data of the online device or the status data of the historical device are updated in the asset management platform.
[0052] In the embodiments of this disclosure, a first comparison result is obtained by comparing the IP addresses of online devices with the IP addresses of historical devices. Each first comparison result indicates that a device's IP address exists only in online devices or only in historical devices, thus demonstrating that the device status data of the original device center and the original asset management platform were not synchronized. Based on this, the IP addresses of online devices and their status data, or the status data of historical devices, are updated in the asset management platform, ensuring that the updated asset management platform and the device center's device status data are synchronized, thus making the asset management platform's data real-time.
[0053] In embodiments of this disclosure, during operation S240, if the first comparison result indicates that the IP address of the online device differs from the IP address of a historical device in the asset management platform, the IP address of the online device and the status data of the online device, or the status data of the historical device, are updated in the asset management platform, including:
[0054] In operation S241, if the IP address of the online device does not appear in the historical device IP addresses exported from the asset management platform, the IP address of the online device and the online status data of the online device are updated to the asset management platform.
[0055] In the embodiments of this disclosure, if the IP address of a device exists in the online device IP address list of the device center (i.e., A), but the IP address of that device does not exist in the historical device IP address list of the asset management platform (i.e., B), this indicates that the device is online. Further, the IP address of the device and its online status data (i.e., the device is online) are updated in the asset management platform, so that the asset management platform contains the device's IP address, and the status data of the device in the asset management platform is updated to the online status data.
[0056] In embodiments of this disclosure, during operation S240, if the first comparison result indicates that the IP address of the online device is different from the IP address of a historical device in the asset management platform, updating the IP address of the online device and the status data of the online device, or the status data of the historical device, to the asset management platform further includes:
[0057] In operation S242, if the IP address of a historical device does not appear in the IP addresses of online devices exported from the device center, the offline status of the historical device will be updated to the asset management platform.
[0058] In the embodiments of this disclosure, if the IP address of a device exists in the historical device IP address list of the asset management platform (i.e., B), but the IP address of that device does not exist in the online device IP address list of the device center (i.e., A), then the device is considered to be offline. Furthermore, the offline status data of this device (i.e., the device is offline) is updated in the asset management platform, so that the status data of the device in the asset management platform is updated to offline status data.
[0059] In the embodiments of this disclosure, the first comparison result is applicable to synchronizing the status data of online devices in the device center and historical devices in the asset management platform, so as to ensure that the online status of devices is recorded and the offline status is tracked. Furthermore, when updating the status data of devices, the time of the status data change (i.e., the time when the status data changes from online to offline, or from offline to online, such as the date) can also be recorded to further improve the status data of the asset management platform.
[0060] Figure 3 A flowchart illustrating the process of obtaining a second comparison result based on a first comparison result according to an embodiment of the present disclosure is shown.
[0061] like Figure 3As shown, the equipment data management method may also include operations S310 to S330.
[0062] In operation S310, if the IP address of the online device is the same as the IP address of the historical device in the asset management platform, the serial number of the accessories of the online device and the serial number of the accessories of the historical device are obtained.
[0063] In the embodiments of this disclosure, if the IP address of the online device is the same as the IP address of the historical device in the asset management platform, it indicates that the device center and the asset management platform are synchronized in terms of device and device status data.
[0064] In the embodiments of this disclosure, based on the synchronization of equipment and equipment status data between the equipment center and the asset management platform, the status data of the accessories contained in each equipment can be further obtained through the accessories contained in the equipment and the serial numbers of the accessories.
[0065] When operating S320, the serial number of the accessories of the online device is compared with the serial number of the accessories of the historical device to obtain a second comparison result.
[0066] In embodiments of this disclosure, comparing the serial number of an accessory for an online device with the serial number of an accessory for a historical device includes:
[0067] Since the equipment and equipment status data of the equipment center (i.e., A) and the asset management platform (i.e., B) have been synchronized through operations S210 to S240, the number of online equipment should be consistent with the number of historical equipment (i.e., X = Y).
[0068] Starting from the Zth (e.g., 1) accessory, the accessory's serial number is compared with the serial numbers of accessories for each online device in the equipment center (i.e., A) and accessories for each historical device in the asset management platform (i.e., B);
[0069] If the serial number of the Zth accessory only exists in the accessories of online equipment in the equipment center (i.e., A) or in the accessories of historical equipment in the asset management platform (i.e., B), then the second comparison result is obtained;
[0070] This continues until the serial numbers of each component (i.e., Z=X=Y) have been compared.
[0071] In operation S330, if the serial number of the online device's accessory differs from the serial number of the historical device's accessory in the asset management platform, the serial number of the online device's accessory and the status data of the online device's accessory, or the status data of the historical device's accessory, will be updated in the asset management platform.
[0072] In embodiments of this disclosure, during operation S330, if the serial number of the accessory representing the second comparison result differs from the serial number of the accessory representing the online device in the asset management platform, the serial number of the accessory representing the online device and the status data of the accessory representing the online device, or the status data of the accessory representing the historical device, are updated in the asset management platform, including:
[0073] If the serial number of the accessories for an online device does not appear in the serial numbers of accessories for historical devices exported from the asset management platform, update the serial number of the accessories for the online device and the online status data of the accessories for the online device to the asset management platform.
[0074] In the embodiments of this disclosure, if a serial number of a component exists among the components of an online device in the device center (i.e., A), but the serial number of that component does not exist among the components of historical devices in the asset management platform (i.e., B), this indicates that the component is in an online state. Further, the serial number of the component and its online state data (i.e., the component is in an online state) are updated in the asset management platform, so that the asset management platform contains the serial number of the component, and the status data of the component in the asset management platform is updated to the online state data.
[0075] In embodiments of this disclosure, during operation S330, if the serial number of the accessory of the online device, as indicated by the second comparison result, differs from the serial number of the accessory of the historical device in the asset management platform, the serial number of the accessory of the online device and the status data of the accessory of the online device, or the status data of the accessory of the historical device, are updated to the asset management platform, the following steps are also included:
[0076] If the serial number of the accessories for a historical device does not appear in the serial numbers of the accessories for online devices exported from the device center, update the offline status of the accessories for the historical device to the asset management platform.
[0077] In the embodiments of this disclosure, if the serial number of a component exists in the historical equipment accessory database of the asset management platform (i.e., B), but the serial number address of the accessory does not exist in the online equipment database of the equipment center (i.e., A), it indicates that the accessory is in an offline state. Further, the offline state data of the accessory (i.e., the accessory is in an offline state) is updated in the asset management platform, so that the status data of the accessory in the asset management platform is updated to offline state data.
[0078] In the embodiments of this disclosure, the second comparison result is applicable to synchronizing the status data of online devices in the equipment center and historical devices in the asset management platform. Based on the equipment (i.e., the whole machine), it is further extended to each component in the equipment (including but not limited to at least one of the boards, power supplies, fans, and fiber optic modules). It can also record the time when the status data changes (i.e., from online status data to offline status data, or from offline status data to online status data, such as the date), so as to make the data in the asset management platform more refined, which is conducive to promoting the data center to correctly assess the dynamic use of assets and improve asset utilization efficiency.
[0079] Figure 4 A schematic block diagram of a device data management apparatus according to an embodiment of the present disclosure is shown.
[0080] like Figure 4 As shown, the device data management device 400 includes a data export module 401, a first comparison module 402, a data update module 403, and a second comparison module 304.
[0081] The data export module 401 is used to export the IP addresses of currently online devices from the device center. In one embodiment, the data export module 401 can be used to perform the operations S210 and S220 described above, which will not be repeated here.
[0082] The first comparison module 402 is used to compare the IP address of the online device with the IP address of the historical device to obtain a first comparison result. In one embodiment, the first comparison module 402 can be used to perform the operation S230 described above, which will not be repeated here.
[0083] The data update module 403 is used to update the IP address of the online device and the status data of the online device, or the status data of the historical device, in the asset management platform when the first comparison result indicates that the IP address of the online device is different from the IP address of the historical device in the asset management platform. In one embodiment, the data update module 403 can be used to perform the operation S240 described above, which will not be repeated here.
[0084] The second comparison module 404 is used to compare the serial number of the accessories of the online device with the serial number of the accessories of the historical device to obtain a second comparison result. In one embodiment, the second comparison module 404 can be used to perform the operation S260 described above, which will not be repeated here.
[0085] According to embodiments of this disclosure, any plurality of modules among data export 401, first comparison module 402, data update 403, and second comparison module 404 can be combined into one module, or any one of these modules can be split into multiple modules. Alternatively, at least part of the functionality of one or more of these modules can be combined with at least part of the functionality of other modules and implemented in one module. According to embodiments of this disclosure, at least one of data export 401, first comparison module 402, data update 403, and second comparison module 404 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging the circuitry, or implemented in any one of software, hardware, and firmware methods, or in a suitable combination of any of these methods. Alternatively, at least one of the data export 401, the first comparison module 402, the data update 403, and the second comparison module 404 can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.
[0086] Figure 5 A block diagram schematically illustrates an electronic device suitable for implementing a device data management method according to an embodiment of the present disclosure.
[0087] like Figure 5 As shown, an electronic device 500 according to an embodiment of the present disclosure includes a processor 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage portion 508 into a random access memory (RAM) 503. The processor 501 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 501 may also include onboard memory for caching purposes. The processor 501 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0088] RAM 503 stores various programs and data required for the operation of electronic device 500. Processor 501, ROM 502, and RAM 503 are interconnected via bus 504. Processor 501 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 502 and / or RAM 503. It should be noted that the programs may also be stored in one or more memories other than ROM 502 and RAM 503. Processor 501 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in said one or more memories.
[0089] According to embodiments of this disclosure, the electronic device 500 may further include an input / output (I / O) interface 505, which is also connected to a bus 504. The electronic device 500 may also include one or more of the following components connected to the input / output (I / O) interface 505: an input section 506 including a keyboard, mouse, etc.; an output section 507 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the input / output (I / O) interface 505 as needed. A removable medium 511, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 510 as needed so that computer programs read from it can be installed into the storage section 508 as needed.
[0090] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.
[0091] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 502 and / or RAM 503 and / or one or more memories other than ROM 502 and RAM 503 described above.
[0092] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the item recommendation method provided in the embodiments of this disclosure.
[0093] When the computer program is executed by the processor 501, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0094] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and may be downloaded and installed via the communication section 509, and / or installed from a removable medium 511. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0095] In such an embodiment, the computer program can be downloaded and installed from a network via communication section 509, and / or installed from removable medium 511. When the computer program is executed by processor 501, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.
[0096] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, languages such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0097] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0098] Those skilled in the art will understand that the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments and / or claims of this disclosure can be combined or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.
[0099] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.
Claims
1. A device data management method, comprising: Export the IP addresses of currently online devices from the device center; Export the IP addresses of historical devices from the asset management platform; The IP address of the online device is compared with the IP address of the historical device to obtain a first comparison result; as well as If the first comparison result indicates that the IP address of the online device is different from the IP address of the historical device in the asset management platform, the IP address of the online device, the status data of the online device, and the status data of the historical device are updated in the asset management platform. If the first comparison result indicates that the IP address of the online device is the same as the IP address of the historical device in the asset management platform, the serial number of the accessory of the online device and the serial number of the accessory of the historical device are obtained. The serial number of the accessory of the online device is compared with the serial number of the accessory of the historical device to obtain a second comparison result; as well as If the second comparison result indicates that the serial number of the accessory of the online device is different from the serial number of the accessory of the historical device in the asset management platform, the serial number of the accessory of the online device, the status data of the accessory of the online device, and the status data of the accessory of the historical device are updated in the asset management platform.
2. The method according to claim 1, wherein, The step of updating the IP address of the online device, the status data of the online device, and the status data of the historical device in the asset management platform when the first comparison result indicates that the IP address of the online device is different from the IP address of the historical device in the asset management platform includes: If the IP address of the online device does not appear in the historical device IP addresses exported by the asset management platform, the IP address of the online device and the online status data of the online device will be updated to the asset management platform.
3. The method according to claim 2, wherein, The step of updating the IP address of the online device, the status data of the online device, and the status data of the historical device in the asset management platform when the first comparison result indicates that the IP address of the online device is different from the IP address of the historical device in the asset management platform further includes: If the IP address of the historical device does not appear in the IP addresses of the online devices exported from the device center, the offline status of the historical device will be updated in the asset management platform.
4. The method according to claim 1, wherein when the second comparison result indicates that the serial number of the accessory of the online device is different from the serial number of the accessory of the historical device in the asset management platform, updating the serial number of the accessory of the online device, the status data of the accessory of the online device, and the status data of the accessory of the historical device to the asset management platform includes: If the serial number of the accessory of the online device does not appear in the serial number of the accessories of the historical device exported by the asset management platform, the serial number of the accessory of the online device and the online status data of the accessory of the online device shall be updated to the asset management platform.
5. The method according to claim 4, wherein when the second comparison result indicates that the serial number of the accessory of the online device is different from the serial number of the accessory of the historical device in the asset management platform, updating the serial number of the accessory of the online device, the status data of the accessory of the online device, and the status data of the accessory of the historical device to the asset management platform further includes: If the serial number of the accessory of the historical device does not appear in the serial number of the accessory of the online device exported from the device center, the offline status of the accessory of the historical device will be updated in the asset management platform.
6. A device for managing equipment data, employing the device data management method as described in any one of claims 1 to 5, comprising: The data export module is used to export the IP addresses of currently online devices from the device center and to export the IP addresses of historical devices from the asset management platform. The first comparison module is used to compare the IP address of the online device with the IP address of the historical device to obtain a first comparison result; as well as The data update module is used to update the IP address of the online device, the status data of the online device, and the status data of the historical device in the asset management platform when the first comparison result indicates that the IP address of the online device is different from the IP address of the historical device in the asset management platform.
7. An electronic device, comprising: One or more processors; Storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors perform the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the method according to any one of claims 1 to 5.
9. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1 to 5.