Data storage method and device during Internet data center inspection

By introducing real-time clock chips, CAN and 485 data receiving circuits and data storage devices of storage units into the inspection equipment of the Internet data center, the problem of data loss when the inspection equipment fails is solved, and data retention and failure analysis are realized. And save power through state switching.

CN110162449BActive Publication Date: 2024-10-18JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF 23 Cites 0 Cited by

Patent Information

Application Number
CN201910230591.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-03-26
Publication Date
2024-10-18
Estimated Expiration
2039-03-26

AI Technical Summary

Technical Problem

During the robot inspection process in the Internet data center, when the inspection equipment fails, the collected data is easily lost and failure analysis cannot be performed.

Method used

Design a data storage device, including a real-time clock chip, CAN data receiving circuit, 485 data receiving circuit, data storage processor and storage unit, for real-time monitoring and storage of data on the CAN bus and 485 bus, and retain it in the event of failure data for failure analysis.

Benefits of technology

When inspecting equipment for faults, it can effectively retain data to ensure that data is not lost, provide data support for fault analysis, and save power consumption by switching between sleep and working states of the data storage processor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110162449B_ABST
    Figure CN110162449B_ABST
Patent Text Reader

Abstract

The present application provides a data storage method and device during the inspection process of an Internet data center, which is applied to inspection equipment. The method includes: when receiving bus data monitored by the CAN data receiving circuit and / or bus data sent by the 485 data receiving circuit, obtaining the running time from the real-time clock chip; and binding and storing the received bus data and the obtained running time. The method can obtain inspection data for fault analysis when the inspection equipment fails.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data storage technology, and in particular to a data storage method and device during an inspection of an Internet data center. Background Art

[0002] In recent years, with the development of information technology and the Internet, Internet Data Centers (IDCs) have gradually increased.

[0003] The rising cost of manual inspection of computer rooms has also made it a trend for robot inspection to replace manual inspection, and the standardization of IDC construction is also conducive to the implementation of robot inspection.

[0004] Currently, during robot inspections, when a robot malfunctions, the collected data will be lost and fault analysis cannot be performed after the malfunction. Summary of the invention

[0005] In view of this, the present application provides a method and device for storing data during an inspection process of an Internet data center, which can obtain inspection data for fault analysis when an inspection device fails.

[0006] To solve the above technical problems, the technical solution of this application is implemented as follows:

[0007] A data storage device during the inspection of an Internet data center, the device comprising: a real-time clock chip, a CAN data receiving circuit, a 485 data receiving circuit, a data storage processor and a storage unit;

[0008] The real-time clock chip is used to start timing after the time is written;

[0009] The CAN data receiving circuit is used to monitor the bus data on the CAN data bus; when the bus data is monitored, it is sent to the data storage processor;

[0010] The 485 data receiving circuit is used to monitor the bus data on the 485 data bus; when the bus data is monitored, it is sent to the data storage processor;

[0011] The data storage processor is used to obtain the running time from the real-time clock chip when receiving the bus data sent by the CAN data receiving circuit and / or the 485 data receiving circuit; and bind the received bus data and the obtained running time to the storage unit.

[0012] A data storage method during an Internet data center inspection process, applied to an inspection device, the method comprising:

[0013] When receiving the bus data monitored by the CAN data receiving circuit and / or the bus data sent by the 485 data receiving circuit, the running time is obtained from the real-time clock chip; and the received bus data and the obtained running time are bound and stored.

[0014] A computer-readable storage medium stores a computer program, wherein when the program is executed by a processor, the steps of the data storage method in the Internet data center inspection process are implemented.

[0015] As can be seen from the above technical solution, in this application, a data storage device similar to a black box is added to the inspection equipment to store the data on the CAN bus and the 485 bus, as well as the time when the corresponding data is obtained. When the inspection equipment fails, the stored data will not be lost. This solution can obtain inspection data for fault analysis when the inspection equipment fails. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The following drawings are only used to illustrate and explain the present invention, and do not limit the scope of the present invention:

[0017] Figure 1 This is a schematic diagram of a data storage device during an Internet data center inspection in Example 1 of the present application;

[0018] Figure 2 This is a schematic diagram of a data storage device during an Internet data center inspection process in Example 2 of the present application;

[0019] Figure 3 This is a schematic diagram of the data storage process during the Internet data center inspection in an embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the technical solution of the present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0021] The embodiment of the present application provides a data storage device during the inspection process of an Internet data center, which can be applied to IDC inspection equipment, such as an inspection robot, similar to a black box, and can ensure that the collected data is not lost when the inspection equipment fails, and then used for fault analysis.

[0022] Embodiment 1

[0023] See also Figure 1 , Figure 1This is a schematic diagram of a data storage device during the inspection of an Internet data center in Example 1 of the present application. The device includes: a real-time clock chip, a controller area network (CAN) data receiving circuit, a 485 data receiving circuit, a data storage processor, a storage unit, a lithium battery, and a discharge management circuit;

[0024] The data storage processor here is different from the processor of the inspection device and has nothing to do with the processor of the inspection device. It is a processor that exists in the black box.

[0025] When using the real-time clock chip for the first time, the current time needs to be written to the real-time clock (RTC) chip;

[0026] The real-time clock chip starts timing after the time is written.

[0027] A CAN data receiving circuit is used to monitor bus data on the CAN data bus; when bus data is monitored, it is sent to the data storage processor;

[0028] 485 data receiving circuit, used for monitoring bus data on 485 data bus; when bus data is monitored, it is sent to the data storage processor;

[0029] The data storage processor cannot directly monitor the bus data on the bus, but monitors the bus data through the CAN data receiving circuit and the 485 data receiving circuit, and sends the data to the data storage processor;

[0030] When the data storage processor receives the bus data sent by the CAN data receiving circuit and / or the 485 data receiving circuit, it obtains the running time from the real-time clock chip; and binds the received bus data and the obtained running time to the storage unit.

[0031] When receiving CAN bus data, the CAN bus data is bound with the currently acquired running time and stored in the storage unit;

[0032] When receiving the 485 bus, the 485 bus data is bound with the currently acquired running time and stored in the storage unit;

[0033] When the 485 bus data and the CAN bus data are received simultaneously, the 485 bus data and the CAN bus data, as well as the currently acquired runtime, are bound and stored in the storage unit.

[0034] The data storage processor writes the data to be stored into the storage unit through the USB interface.

[0035] The data stored in the storage unit will not be lost due to failure of the inspection equipment where it is located.

[0036] The data in the storage unit can be read by other devices.

[0037] The data storage device in the embodiment of the present application is powered by a lithium battery;

[0038] The discharge management circuit stops the lithium battery from supplying power when it is determined that there is external power input, that is, prevents the lithium battery from discharging.

[0039] When the embodiment of the present application is specifically implemented, the data storage device for the Internet data center inspection process also includes a crystal oscillator, which is used to provide a basic clock signal for the device. Usually a system shares a crystal oscillator to facilitate synchronization of various parts.

[0040] During the inspection of the Internet data center, the data storage device also includes: a battery power management circuit, which is used to manage the power of the lithium battery to prevent the lithium battery from running out of power and affecting the data storage of the data storage device.

[0041] The units in the above-mentioned embodiments may be integrated into one body or deployed separately; they may be combined into one unit or further divided into multiple sub-units.

[0042] A data storage device similar to a black box is added to the inspection equipment to store the data on the CAN bus and 485 bus, as well as the time when the corresponding data was obtained. When the inspection equipment fails, the stored data will not be lost. This solution can obtain inspection data for fault analysis when the inspection equipment fails.

[0043] Embodiment 2

[0044] Figure 1 The data storage device in the can be in a dormant state when not in use to save power consumption. Figure 1 Add data monitoring wake-up circuit in, see Figure 2 , Figure 2 This is a schematic diagram of a data storage device during the inspection of an Internet data center in Example 2 of the present application. The device includes: a real-time clock chip, a CAN data receiving circuit, a 485 data receiving circuit, a data storage processor, a storage unit, a lithium battery, a discharge management circuit, and a data monitoring wake-up circuit.

[0045] After adding the data monitoring wake-up circuit, only Figure 1 The data storage processor in the system has an impact on the implementation of the real-time clock chip, CAN data receiving circuit, 485 data receiving circuit, storage unit, lithium battery, and discharge management circuit. Figure 1 The functions implemented in the data monitoring circuit are not described one by one here. The following description is given for the implementation of the data monitoring wake-up circuit and the data storage processor:

[0046] Data storage process for data storage processor:

[0047] The data storage processor cannot directly monitor the bus data on the bus, but monitors the bus data through the CAN data receiving circuit and the 485 data receiving circuit, and sends the data to the data storage processor;

[0048] When the data storage processor receives the bus data sent by the CAN data receiving circuit and / or the 485 data receiving circuit, it obtains the running time from the real-time clock chip; and binds the received bus data and the obtained running time to the storage unit.

[0049] When receiving CAN bus data, the CAN bus data is bound with the currently acquired running time and stored in the storage unit;

[0050] When receiving the 485 bus, the 485 bus data is bound with the currently acquired running time and stored in the storage unit;

[0051] When the 485 bus data and the CAN bus data are received simultaneously, the 485 bus data and the CAN bus data, as well as the currently acquired runtime, are bound and stored in the storage unit.

[0052] The data storage processor writes the data to be stored into the storage unit through the USB interface.

[0053] The process of switching the data storage processor between the working state and the sleeping state is as follows:

[0054] The data monitoring wake-up circuit sends a wake-up signal to the data storage processor when the data storage processor is in a dormant state if data is detected on the data bus;

[0055] The data storage processor wakes up from a dormant state and enters a working state when receiving a wake-up signal sent by the data monitoring wake-up circuit.

[0056] The data monitoring wake-up circuit is further used to send a sleep signal to the data storage processor when the data storage processor is in the working state if it is detected that there is no data on the data bus within a preset time;

[0057] The data storage processor enters a dormant state from a working state when receiving a dormant signal sent by the data monitoring wake-up circuit.

[0058] The data storage processor is further configured to send the sleep signal to the storage unit when receiving the sleep signal; and to send the wake-up signal to the storage unit when receiving the wake-up signal;

[0059] The storage unit is further used to enter the dormant state from the working state when receiving the dormant signal sent by the data storage processor; and wake up from the dormant state and enter the working state when receiving the wake-up signal sent by the data storage processor.

[0060] The storage unit is further used to set a preset data clearing window and a preset data volume threshold; if it is determined that the current stored data volume reaches the preset data volume threshold and the unit is currently in working state, the current time is used as the starting point and the data before the preset data clearing window is deleted.

[0061] When the embodiment of the present application is specifically implemented, the data storage device for the Internet data center inspection process also includes a crystal oscillator, which is used to provide a basic clock signal for the device. Usually a system shares a crystal oscillator to facilitate synchronization of various parts.

[0062] During the inspection of the Internet data center, the data storage device also includes: a battery power management circuit, which is used to manage the power of the lithium battery to prevent the lithium battery from running out of power and affecting the data storage of the data storage device.

[0063] The units in the above-mentioned embodiments may be integrated into one body or deployed separately; they may be combined into one unit or further divided into multiple sub-units.

[0064] A data storage device similar to a black box is added to the inspection equipment to store the data on the CAN bus and 485 bus, as well as the time when the corresponding data was obtained. When the inspection equipment fails, the stored data will not be lost. This solution can obtain inspection data for fault analysis when the inspection equipment fails.

[0065] In addition, switching between the working state and the sleep state of the data storage processor can save power consumption.

[0066] Based on the same inventive concept, the embodiment of the present application also proposes a data storage method during the inspection of an Internet data center.

[0067] The data storage process during the Internet data center inspection in the embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0068] See also Figure 3 , Figure 3 This is a schematic diagram of the data storage process during the Internet data center inspection process in the embodiment of this application. The specific steps are:

[0069] Step 301: When the data storage processor receives the bus data monitored by the CAN data receiving circuit and / or the bus data sent by the 485 data receiving circuit, it obtains the running time from the real-time clock chip.

[0070] Step 302: Bind and store the received bus data and the obtained runtime.

[0071] In order to save electrical energy and power consumption, the method further comprises:

[0072] When in sleep mode, if data is detected on the data bus, it will wake up from sleep mode and enter working mode;

[0073] When in the working state, if it is detected that there is no data on the data bus within a preset time, the working state sleep state enters the dormant state.

[0074] When implemented specifically, it may include switching between the sleep and working states of the data storage processor and the storage unit:

[0075] The data monitoring wake-up circuit sends a wake-up signal to the data storage processor when the data storage processor is in a dormant state if data is detected on the data bus;

[0076] The data storage processor wakes up from a dormant state and enters a working state when receiving a wake-up signal sent by the data monitoring wake-up circuit.

[0077] The data monitoring wake-up circuit is further used to send a sleep signal to the data storage processor when the data storage processor is in the working state if it is detected that there is no data on the data bus within a preset time;

[0078] The data storage processor enters a dormant state from a working state when receiving a dormant signal sent by the data monitoring wake-up circuit.

[0079] The data storage processor is further configured to send a sleep signal to the storage unit when receiving a sleep signal; and to send a wake-up signal to the storage unit when receiving a wake-up signal;

[0080] The storage unit is further used to enter the dormant state from the working state when receiving the dormant signal sent by the data storage processor; and wake up from the dormant state and enter the working state when receiving the wake-up signal sent by the data storage processor.

[0081] The storage unit is further used to set a preset data clearing window and a preset data volume threshold; if it is determined that the current stored data volume reaches the preset data volume threshold and the unit is currently in working state, the current time is used as the starting point and the data before the preset data clearing window is deleted.

[0082] In the embodiment of the present application, a lithium battery is used for power supply;

[0083] When there is external power input, the lithium battery stops supplying power.

[0084] This power supply method can save the power of the lithium battery in the data storage device.

[0085] In another embodiment, a computer-readable storage medium is provided in the embodiment of the present application, on which a computer program is stored, characterized in that when the program is executed by a processor, the steps of the data storage method in the Internet data center inspection process are implemented.

[0086] When the inspection equipment fails to operate, the stored data information can be used for fault analysis.

[0087] It can provide data support for the inspection equipment operation failure and fault responsibility definition.

[0088] A data storage device similar to a black box is added to the inspection equipment to store the data on the CAN bus and 485 bus, as well as the time when the corresponding data was obtained. When the inspection equipment fails, the stored data will not be lost. This solution can obtain inspection data for fault analysis when the inspection equipment fails.

[0089] In addition, switching between the working state and the sleep state of the data storage processor can save power consumption.

[0090] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A data storage device during the inspection of an Internet data center, applied to inspection equipment, characterized in that: The device comprises: a real-time clock chip, a CAN data receiving circuit, a 485 data receiving circuit, a data storage processor and a storage unit; the data storage processor is different from the processor of the inspection device; The real-time clock chip is used to start timing after the time is written; The CAN data receiving circuit is used to monitor the bus data on the CAN data bus; when the bus data is monitored, it is sent to the data storage processor; The 485 data receiving circuit is used to monitor the bus data on the 485 data bus; when the bus data is monitored, it is sent to the data storage processor; The data storage processor is used to obtain the running time from the real-time clock chip when receiving the bus data sent by the CAN data receiving circuit and / or the 485 data receiving circuit; and bind the received bus data and the obtained running time to the storage unit; Wherein, the device further comprises: a data monitoring wake-up circuit; The data monitoring wake-up circuit is used to send a wake-up signal to the data storage processor when the data storage processor is in a dormant state if data is detected on the data bus; and to send a dormant signal to the data storage processor when the data storage processor is in a working state if no data is detected on the data bus within a preset time. The data storage processor wakes up from a sleep state and enters a working state when receiving a wake-up signal sent by the data monitoring wake-up circuit; and enters a sleep state from a working state and enters a sleep state when receiving a sleep signal sent by the data monitoring wake-up circuit.

2. The device according to claim 1, characterized in that The data storage processor is further configured to send a sleep signal to the storage unit when receiving a sleep signal; and to send a wake-up signal to the storage unit when receiving a wake-up signal; The storage unit is further used to enter the sleep state from the working state when receiving the sleep signal sent by the data storage processor; and wake up from the sleep state and enter the working state when receiving the wake-up signal sent by the data storage processor.

3. The device according to claim 2, characterized in that The storage unit is further used to set a preset data clearing window and a preset data volume threshold; if it is determined that the current stored data volume reaches the preset data volume threshold and the unit is currently in working state, the data before the preset data clearing window is deleted starting from the current time.

4. The device according to any one of claims 1 to 3, characterized in that: The device further includes: a lithium battery and a discharge management circuit; The lithium battery is used for power supply; The discharge management circuit is used to stop the lithium battery from supplying power when there is external power input.

5. A data storage method during the inspection of an Internet data center, characterized in that: A data storage processor newly added to the inspection device, the data storage processor being different from the processor of the inspection device itself; the method comprises: When receiving bus data monitored by the CAN data receiving circuit and / or bus data sent by the 485 data receiving circuit, the running time is obtained from the real-time clock chip; and the received bus data and the obtained running time are bound and stored; Wherein, the method further comprises: When the data storage processor is in a dormant state, if data is detected on the data bus, it is awakened from the dormant state and enters a working state; When the data storage processor is in the working state, if it is detected that there is no data on the data bus within a preset time, the processor enters the dormant state from the working state.

6. The method according to claim 5, characterized in that The method further includes: setting a preset data clearing window, and a preset data volume threshold; If it is determined that the amount of currently stored data reaches the preset data amount threshold and is currently in working state, the data before the preset data clearing window is deleted with the current time as the starting point.

7. The method according to claim 5, characterized in that The method further comprises: Powered by lithium battery; When there is external power input, the lithium battery stops supplying power.

8. The method according to any one of claims 5 to 7, characterized in that: The method further comprises: When the inspection equipment fails to operate, the stored data information is used for fault analysis.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a data storage processor, the method described in any one of claims 5 to 8 is implemented.

Citation Information

Patent Citations

  • System and method for monitoring operation state of Linux system

    CN105589790A

  • CAN bus safety monitoring method

    CN106254196A

  • CAN protocol based communication method and system

    CN106533793A

  • Low-power-consumption downhole piezometer needless of repeated programming and data storage method thereof

    CN107448193A

  • Vehicle-mounted relay state monitoring method and system

    CN108363003A