TWI721784B - Method and device for inspection equipment, computer readable storage medium and computer program product - Google Patents
Method and device for inspection equipment, computer readable storage medium and computer program product Download PDFInfo
- Publication number
- TWI721784B TWI721784B TW109104990A TW109104990A TWI721784B TW I721784 B TWI721784 B TW I721784B TW 109104990 A TW109104990 A TW 109104990A TW 109104990 A TW109104990 A TW 109104990A TW I721784 B TWI721784 B TW I721784B
- Authority
- TW
- Taiwan
- Prior art keywords
- path
- mobile device
- point
- preset
- location point
- Prior art date
Links
- 238000007689 inspection Methods 0.000 title claims abstract description 104
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000004590 computer program Methods 0.000 title claims abstract description 14
- 238000001514 detection method Methods 0.000 claims description 10
- 238000010586 diagram Methods 0.000 description 21
- 238000013461 design Methods 0.000 description 15
- 238000012545 processing Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 239000010410 layer Substances 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 239000011159 matrix material Substances 0.000 description 2
- 238000013439 planning Methods 0.000 description 2
- 239000002356 single layer Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013138 pruning Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0231—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
- G05D1/0246—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0268—Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means
- G05D1/0274—Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means using mapping information stored in a memory device
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Physics & Mathematics (AREA)
- Aviation & Aerospace Engineering (AREA)
- Remote Sensing (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Multimedia (AREA)
- Electromagnetism (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Mobile Radio Communication Systems (AREA)
- Navigation (AREA)
Abstract
本發明實施例公開了一種巡檢設備的方法、裝置、電腦可讀存儲介質及電腦程式產品,其中方法包括:移動裝置根據預設區域的地圖獲取移動裝置所在的第一位置點對應的路徑,若確定第一位置點對應的路徑中包括權重大於第一預設閾值的至少一條關鍵路徑,則對至少一條關鍵路徑上的設備進行巡檢。本發明實施例採用多個位置點和多個位置點之間的路徑設置預設區域的地圖,可以降低預設區域的地圖的時間複雜度和空間複雜度,使得移動裝置可以基於預設區域的地圖快速地規劃出巡檢路徑,從而提高移動裝置巡檢設備的效率。 The embodiment of the present invention discloses a method, a device, a computer-readable storage medium, and a computer program product of a patrol inspection device. The method includes: a mobile device obtains a path corresponding to a first location point where the mobile device is located according to a map of a preset area; If it is determined that the path corresponding to the first location point includes at least one critical path with a weight greater than the first preset threshold, then the device on the at least one critical path is inspected. The embodiment of the present invention uses multiple location points and paths between multiple location points to set the map of the preset area, which can reduce the time complexity and space complexity of the map of the preset area, so that the mobile device can be based on the preset area. The map quickly plans the inspection path, thereby improving the efficiency of the mobile device inspection equipment.
Description
本發明屬於智慧科技技術領域,尤其關於一種巡檢設備的方法、裝置、電腦可讀存儲介質及電腦程式產品。 The invention belongs to the technical field of smart technology, and particularly relates to a method, a device, a computer-readable storage medium, and a computer program product for inspection equipment.
互聯網資料中心(Internet Data Center,IDC)機房是在互聯網通信線路和頻寬資源的基礎上建立的標準化的機房環境,IDC機房可以容納多種類型的設備,比如伺服器、監控設備、管理設備、安全設備等。由於這些設備對環境和物理安全具有相同的需求,因此可以將這些設備同時放置在IDC機房中,便於維護。然而,在實際操作中,由於IDC機房中放置的設備的數量和種類均較多,因此,如何快速有效地實現對大量設備的巡檢,對於監控設備的運行狀態、及時排查故障是非常重要的。 The Internet Data Center (IDC) computer room is a standardized computer room environment established on the basis of Internet communication lines and bandwidth resources. The IDC computer room can accommodate various types of equipment, such as servers, monitoring equipment, management equipment, and security. Equipment, etc. Because these devices have the same requirements for environment and physical security, they can be placed in the IDC computer room at the same time for easy maintenance. However, in actual operation, due to the large number and types of equipment placed in the IDC computer room, how to quickly and effectively implement inspections of a large number of equipment is very important for monitoring the operating status of the equipment and troubleshooting in time. .
目前,通常可以使用移動裝置(比如機器人、移動小車等)對IDC機房中的設備進行巡檢,通過控制移動裝置在IDC機房中運動使得移動裝置自主地完成巡檢任務。具體地說,移動裝置可以從IDC機房的起始點出發,對所經過的路線上的設備進行巡檢,當確定巡檢完IDC機房中的所有設備後,移動裝置可以回到起始點。在一種現有的實現方式中,移動裝置上可以設置有攝像裝置,攝像裝置可以在移動裝置運動的過程中拍攝IDC機 房的三維圖像,進一步地,移動裝置可以根據三維圖像來構建IDC機房對應的地圖,進而可以基於地圖規劃巡檢路徑。然而,由於上述方式需要基於大量的圖像來構建較為精確的地圖,從而導致構建的得到的地圖較為複雜;相應地,基於複雜的地圖進行規劃,可能會導致移動裝置規劃路徑的速度較慢,使得移動裝置對設備巡檢的效率較低。 At present, mobile devices (such as robots, mobile carts, etc.) can usually be used to patrol the equipment in the IDC computer room. By controlling the movement of the mobile device in the IDC computer room, the mobile device can complete the inspection task autonomously. Specifically, the mobile device can start from the starting point of the IDC computer room and inspect the equipment on the route it passes. When it is determined that all the devices in the IDC computer room have been inspected, the mobile device can return to the starting point. In an existing implementation manner, a camera device may be provided on the mobile device, and the camera device can photograph the IDC machine during the movement of the mobile device. Furthermore, the mobile device can construct a map corresponding to the IDC computer room based on the three-dimensional image, and then can plan a patrol route based on the map. However, the above method requires the construction of a more accurate map based on a large number of images, which results in a more complicated map. Accordingly, planning based on a complex map may cause the mobile device to plan a path slower. As a result, the efficiency of the mobile device's inspection of the equipment is low.
綜上,目前亟需一種巡檢設備的方法,用以提高移動裝置巡檢設備時的巡檢效率。 In summary, there is an urgent need for a method for inspecting equipment to improve the inspection efficiency of mobile devices when inspecting equipment.
本發明實施例提供一種巡檢設備的方法、裝置、電腦可讀存儲介質及電腦程式產品,用以提高移動裝置巡檢設備時的巡檢效率。 The embodiments of the present invention provide a method, a device, a computer-readable storage medium, and a computer program product for patrolling equipment, so as to improve the inspection efficiency of the mobile device when patrolling the equipment.
第一方面,本發明實施例提供的一種巡檢設備的方法,該方法應用於移動裝置,該移動裝置用於對預設區域內的多個設備進行巡檢,該預設區域內包括多個位置點,該多個位置點是根據該多個設備的位置設置的;該方法包括:該移動裝置根據該預設區域對應的地圖,獲取該移動裝置所在的第一位置點對應的路徑,若確定該第一位置點對應的路徑中包括權重大於第一預設閾值的至少一條關鍵路徑,則對該至少一條關鍵路徑上的設備進行巡檢;其中,該預設區域對應的地圖中標注有該多個位置點分別對應的路徑以及該路徑的權重;該第一位置點對應的第一路徑上包括該第一位置點和第二位置點,該第一位置點為該第一路徑的起點,該第二位置點為該第一路徑的終點;該第一位置點和該第二位置點為該多個位置點中的兩個位置點。 In the first aspect, an embodiment of the present invention provides a device inspection method, which is applied to a mobile device, and the mobile device is used to inspect multiple devices in a preset area, and the preset area includes multiple devices. Location points, the multiple location points are set according to the locations of the multiple devices; the method includes: the mobile device obtains the path corresponding to the first location point where the mobile device is located according to the map corresponding to the preset area, if It is determined that the path corresponding to the first location point includes at least one critical path with a weight greater than the first preset threshold, and then the device on the at least one critical path is inspected; wherein, the map corresponding to the preset area is marked with The path corresponding to the multiple location points and the weight of the path; the first path corresponding to the first location point includes the first location point and the second location point, and the first location point is the starting point of the first path , The second position point is the end point of the first path; the first position point and the second position point are two position points in the plurality of position points.
上述設計中,預設區域的地圖是由多個位置點對應的路徑構成的,即預設區域的地圖中包括多個位置點以及多個位置點之間的連線(即路徑),如此,可以使得預設區域的地圖的時間複雜度和空間複雜度較低,相應地,基於簡單的預設區域的地圖規劃路徑,可以使得移動裝置快速規劃出目標路徑,從而提高移動裝置巡檢設備的效率;且,通過在預設區域的地圖中設置路線的權重,可以將複雜的巡檢任務轉化為對權重大於第一預設閾值的路線上的設備的巡檢任務,從而降低移動裝置巡檢設備的複雜度,進一步地提高移動裝置巡檢設備的效率。 In the above design, the map of the preset area is composed of paths corresponding to multiple location points, that is, the map of the preset area includes multiple location points and lines (ie paths) between multiple location points, so, The time complexity and space complexity of the map of the preset area can be made lower. Correspondingly, the route planning based on the simple preset area map can enable the mobile device to quickly plan the target path, thereby improving the mobile device inspection equipment. Efficiency; Moreover, by setting the weight of the route in the map of the preset area, the complex inspection task can be transformed into the inspection task of the equipment on the route with the weight greater than the first preset threshold, thereby reducing the mobile device inspection The complexity of the equipment further improves the efficiency of the mobile device inspection equipment.
在一種可能的設計中,該移動裝置對該至少一條關鍵路徑上的設備進行巡檢,包括:該移動裝置若確定該至少一條關鍵路徑中存在未被標注為已選路徑的備選路徑,則對該備選路徑上的設備進行巡檢,並將該備選路徑標注為已選路徑。 In a possible design, the mobile device patrols the equipment on the at least one critical path, including: if the mobile device determines that there is an alternative path that is not marked as a selected path in the at least one critical path, then Inspect the devices on the candidate path, and mark the candidate path as the selected path.
上述設計中,通過將已巡檢過的路徑標注為已選路徑,可以使得移動裝置選擇未巡檢過的路徑進行巡檢,從而可以避免移動裝置對重複路徑上的設備進行巡檢,提高移動裝置巡檢設備的效率。 In the above design, by marking the path that has been inspected as the selected path, the mobile device can select the path that has not been inspected for inspection, thereby avoiding the mobile device from inspecting the equipment on the repeated path and improving the movement Equipment inspection equipment efficiency.
在一種可能的設計中,該方法還包括:該移動裝置確定該至少一條關鍵路徑均被標注為已選路徑後,若確定該第一位置點對應的第二路徑的終點對應的路徑中存在未被標注為已選路徑的關鍵路徑,則從該第一位置點按照該第二路徑運動至該第二路徑的終點。 In a possible design, the method further includes: after the mobile device determines that the at least one critical path is marked as a selected path, if it is determined that the path corresponding to the end point of the second path corresponding to the first position point has a failure The critical path marked as the selected path moves from the first position point to the end of the second path according to the second path.
在上述設計中,若移動裝置當前所在的位置點對應的關鍵路徑均已巡檢完成,則可以從當前所在位置點對應的非關鍵路徑中選擇後續存在未巡檢過的關鍵路線的非關鍵路線,從而可以使得移動裝置盡可能地 巡檢關鍵路線,避免巡檢無用的非關鍵路線,提高移動裝置巡檢設備的效率。 In the above design, if the critical path corresponding to the current location of the mobile device has been inspected, the non-critical path corresponding to the current location can be selected from the non-critical path corresponding to the non-critical path that has not been inspected. , Which can make the mobile device as much as possible Check key routes to avoid useless non-critical routes and improve the efficiency of mobile device inspection equipment.
在一種可能的設計中,該預設區域對應的地圖是通過如下方式得到的:該移動裝置生成該預設區域對應的初始地圖,該初始地圖為空白地圖;進一步地,該移動裝置遍歷該預設區域中的多個位置點,針對於該多個位置點中任意兩個相鄰的第三位置點和第四位置點,若從該第三位置點沿著該第三位置點對應的第三路徑運動至該第四位置點,則該移動裝置根據該第三位置點、該第四位置點、該第三路徑和該移動裝置沿著該第三路徑運動時對設備的檢測狀態更新該預設區域對應的初始地圖,得到該預設區域對應的地圖。 In a possible design, the map corresponding to the preset area is obtained in the following manner: the mobile device generates an initial map corresponding to the preset area, and the initial map is a blank map; further, the mobile device traverses the preset area. Suppose there are multiple location points in the area, for any two adjacent third location points and fourth location points in the multiple location points, if from the third location point along the third location point corresponding to the third location point When the three paths move to the fourth location point, the mobile device updates the device according to the third location point, the fourth location point, the third path, and the detection status of the device when the mobile device moves along the third path. The initial map corresponding to the preset area is obtained, and the map corresponding to the preset area is obtained.
在一種可能的設計中,該移動裝置根據該第三位置點、該第四位置點、該第三路徑和該移動裝置沿著該第三路徑運動時對設備的檢測狀態更新該預設區域對應的初始地圖,包括:該移動裝置將該第三位置點、該第四位置點和該第三路徑存儲在該預設區域對應的初始地圖中;且,該移動裝置沿著第三路徑運動時若成功檢測到設備,則設置該第三路徑的權重大於該第一預設閾值;若未成功檢測到設備,則設置該第三路徑的權重小於或等於該第二預設閾值。 In a possible design, the mobile device updates the preset area according to the third location point, the fourth location point, the third path, and the detection status of the device when the mobile device moves along the third path. The initial map includes: the mobile device stores the third location point, the fourth location point, and the third path in the initial map corresponding to the preset area; and, when the mobile device moves along the third path If the device is successfully detected, the weight of the third path is set to be greater than the first preset threshold; if the device is not successfully detected, the weight of the third path is set to be less than or equal to the second preset threshold.
在上述設計中,在構建預設區域的地圖時,通過將能夠檢測到設備的路徑設置為關鍵路徑,並將無法檢測到設備的路徑設置為非關鍵路徑,可以使得移動裝置基於預設區域的地圖對關鍵路徑進行巡檢;也就是說,通過設置區分關鍵路徑和非關鍵路徑,可以使得移動裝置可以經過最少的路徑對所有設備完成巡檢,從而提高移動裝置巡檢設備的效率。 In the above design, when constructing the map of the preset area, by setting the path where the device can be detected as the critical path, and setting the path where the device cannot be detected as the non-critical path, the mobile device can be based on the preset area. The map patrols critical paths; that is to say, by setting to distinguish between critical paths and non-critical paths, the mobile device can complete the inspection of all devices through the least path, thereby improving the efficiency of the mobile device's inspection equipment.
在一種可能的設計中,該方法還包括:該移動裝置若確定對該預設區域對應的地圖中權重大於該第一預設閾值的所有關鍵路線上的設備巡檢完成,則停止進行巡檢。 In a possible design, the method further includes: if the mobile device determines that the device inspection on all key routes with a weight greater than the first preset threshold in the map corresponding to the preset area is completed, stop the inspection .
在上述設計中,移動裝置確定對所有關鍵路徑巡檢完成後,即可結束巡檢,從而使得移動裝置通過最少的路徑巡檢完所有的設備,減少移動裝置巡檢設備的時間,提高移動裝置巡檢設備的效率。 In the above design, the mobile device can end the inspection after confirming that the inspection of all critical paths is completed, so that the mobile device can inspect all the equipment through the least path, reduce the time for the mobile device to inspect the equipment, and improve the mobile device The efficiency of inspection equipment.
第二方面,本發明實施例提供一種巡檢設備的裝置,該裝置用於對預設區域內的多個設備進行巡檢,該預設區域內包括多個位置點,該多個位置點是根據該多個設備的位置設置的;該裝置包括:獲取模組,用於根據該預設區域對應的地圖,獲取移動裝置所在的第一位置點對應的路徑;巡檢模組,用於若確定該第一位置點對應的路徑中包括權重大於第一預設閾值的至少一條關鍵路徑,則對該至少一條關鍵路徑上的設備進行巡檢;其中,該預設區域對應的地圖中標注有該多個位置點分別對應的路徑以及該路徑的權重;該第一位置點對應的第一路徑上包括該第一位置點和第二位置點,該第一位置點為該第一路徑的起點,該第二位置點為該第一路徑的終點;該第一位置點和該第二位置點為該多個位置點中的兩個位置點。 In a second aspect, an embodiment of the present invention provides a device for patrolling equipment, the device is used to patrol multiple devices in a preset area, the preset area includes multiple location points, and the multiple location points are Set according to the locations of the multiple devices; the device includes: an acquisition module for acquiring the path corresponding to the first location point where the mobile device is located according to the map corresponding to the preset area; and a patrol module for It is determined that the path corresponding to the first location point includes at least one critical path with a weight greater than the first preset threshold, and then the device on the at least one critical path is inspected; wherein, the map corresponding to the preset area is marked with The path corresponding to the multiple location points and the weight of the path; the first path corresponding to the first location point includes the first location point and the second location point, and the first location point is the starting point of the first path , The second position point is the end point of the first path; the first position point and the second position point are two position points in the plurality of position points.
在一種可能的設計中,該巡檢模組用於:若確定該至少一條關鍵路徑中存在未被標注為已選路徑的備選路徑,則對該備選路徑上的設備進行巡檢,並將該備選路徑標注為已選路徑。 In a possible design, the inspection module is used to: if it is determined that there is an alternative path that is not marked as a selected path in the at least one critical path, then perform an inspection on the equipment on the alternative path, and Mark the alternative path as the selected path.
在一種可能的設計中,該巡檢模組還用於:該移動裝置確定該至少一條關鍵路徑均被標注為已選路徑後,若確定該第一位置點對應的 第二路徑的終點對應的路徑中存在未被標注為已選路徑的關鍵路徑,則從該第一位置點按照該第二路徑運動至該第二路徑的終點。 In a possible design, the inspection module is also used to: after the mobile device determines that the at least one critical path is marked as a selected path, if it is determined that the first location point corresponds to If there is a critical path that is not marked as a selected path in the path corresponding to the end point of the second path, move from the first position point to the end point of the second path according to the second path.
在一種可能的設計中,該裝置還包括生成模組,該生成模組通過如下方式生成該預設區域對應的地圖:生成該預設區域對應的初始地圖,該初始地圖為空白地圖;進一步地,遍歷該預設區域中的多個位置點,針對於該多個位置點中任意兩個相鄰的第三位置點和第四位置點,若從該第三位置點沿著該第三位置點對應的第三路徑運動至該第四位置點,則根據該第三位置點、該第四位置點、該第三路徑和該移動裝置沿著該第三路徑運動時對設備的檢測狀態更新該預設區域對應的初始地圖,得到該預設區域對應的地圖。 In a possible design, the device further includes a generating module that generates a map corresponding to the preset area by: generating an initial map corresponding to the preset area, and the initial map is a blank map; further , Traverse multiple location points in the preset area, for any two adjacent third location points and fourth location points in the multiple location points, if from the third location point along the third location When the third path corresponding to the point moves to the fourth position point, the detection status of the device is updated according to the third position point, the fourth position point, the third path, and the mobile device when moving along the third path The initial map corresponding to the preset area is obtained, and the map corresponding to the preset area is obtained.
在一種可能的設計中,該生成模組具體用於:將該第三位置點、該第四位置點和該第三路徑存儲在該預設區域對應的初始地圖中;且,沿著第三路徑運動時若成功檢測到設備,則設置該第三路徑的權重大於該第一預設閾值,若未成功檢測到設備,則設置該第三路徑的權重小於或等於該第二預設閾值。 In a possible design, the generating module is specifically configured to: store the third location point, the fourth location point, and the third path in the initial map corresponding to the preset area; and, along the third If the device is successfully detected during path movement, the weight of the third path is set to be greater than the first preset threshold; if the device is not successfully detected, the weight of the third path is set to be less than or equal to the second preset threshold.
在一種可能的設計中,該巡檢模組還用於:若確定對該預設區域對應的地圖中權重大於該第一預設閾值的所有關鍵路線上的設備巡檢完成,則停止進行巡檢。 In a possible design, the inspection module is also used to: if it is determined that the equipment inspection on all key routes in the map corresponding to the preset area whose weight is greater than the first preset threshold is completed, stop the inspection. Check.
第三方面,本發明實施例提供的一種電腦可讀存儲介質,包括指令,當其在電腦的處理器上運行時,使得電腦的處理器執行如上述第一方面或第一方面任意所述之方法。 In a third aspect, a computer-readable storage medium provided by an embodiment of the present invention includes instructions, which when run on a processor of a computer, cause the processor of the computer to execute any of the above-mentioned first or first aspects. method.
第四方面,本發明實施例提供的一種電腦程式產品,當其在 電腦上運行時,使得電腦執行如上述第一方面或第一方面任意所述之方法。 In the fourth aspect, a computer program product provided by an embodiment of the present invention is When running on a computer, the computer is made to execute any of the methods described in the first aspect or the first aspect.
101:機櫃 101: Cabinet
102:機櫃 102: Cabinet
103:機櫃 103: Cabinet
104:機櫃 104: Cabinet
105:機櫃 105: Cabinet
106:機櫃 106: Cabinet
701:獲取模組 701: Get Module
702:巡檢模組 702: Inspection Module
703:生成模組 703: Generate Module
301-302:步驟 301-302: steps
圖1為本發明實施例提供的一種IDC機房的結構示意圖;圖2為本發明實施例提供的一種可能的巡檢路線示意圖;圖3為本發明實施例提供的一種巡檢設備的方法對應的流程示意圖;圖4為本發明實施例提供的一種IDC機房對應的地圖的示意圖;圖5為本發明實施例提供的另一種IDC機房對應的地圖的示意圖;圖6為本發明實施例提供的一種巡檢路線的示意圖;圖7為本發明實施例提供的一種巡檢設備的裝置的結構示意圖。 Fig. 1 is a schematic diagram of the structure of an IDC computer room provided by an embodiment of the present invention; Fig. 2 is a schematic diagram of a possible inspection route provided by an embodiment of the present invention; Fig. 3 is a diagram corresponding to a method for patrolling equipment provided by an embodiment of the present invention Schematic flowchart; Figure 4 is a schematic diagram of a map corresponding to an IDC computer room provided by an embodiment of the present invention; Figure 5 is a schematic diagram of another map corresponding to an IDC computer room provided by an embodiment of the present invention; Figure 6 is a schematic diagram of a map corresponding to an IDC computer room provided by an embodiment of the present invention A schematic diagram of a patrol inspection route; FIG. 7 is a schematic structural diagram of a device for patrol inspection equipment according to an embodiment of the present invention.
為利 貴審查委員了解本發明之技術特徵、內容與優點及其所能達到之功效,茲將本發明配合附圖及附件,並以實施例之表達形式詳細說明如下,而其中所使用之圖式,其主旨僅為示意及輔助說明書之用,未必為本發明實施後之真實比例與精準配置,故不應就所附之圖式的比例與配置關係解讀、侷限本發明於實際實施上的申請範圍,合先敘明。 In order to facilitate the reviewers to understand the technical features, content and advantages of the present invention and its achievable effects, the present invention is described in detail in the form of embodiments with accompanying drawings and appendices as follows, and the diagrams used therein , The subject matter is only for the purpose of illustration and auxiliary manual, and may not be the true scale and precise configuration after the implementation of the invention. Therefore, it should not be interpreted on the scale and configuration relationship of the attached drawings, and applications that limit the actual implementation of the invention should not be interpreted. The scope is stated first.
在本發明的描述中,需要理解的是,術語「中心」、「橫向」、「上」、「下」、「左」、「右」、「頂」、「底」、「內」、「外」等指示的方位或位置關係為基於圖式所示的方位或位置關係,僅是為了便於描述本發明和簡化描述,而不是指示或暗示所指的裝置或元件必須具有特定的方位、以特 定的方位構造和操作,因此不能理解為對本發明的限制。 In the description of the present invention, it should be understood that the terms "center", "horizontal", "upper", "downward", "left", "right", "top", "bottom", "inner", " The orientation or positional relationship of indications such as "outside" is based on the orientation or positional relationship shown in the diagram, which is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation and special The fixed orientation structure and operation cannot be understood as a limitation of the present invention.
圖1為本發明實施例提供的一種IDC機房的結構示意圖,如圖1所示,IDC機房中可以設置有至少一排機櫃,比如機櫃101-機櫃106。其中,機櫃101-機櫃104可以並列設置,機櫃105和機櫃106可以並列設置,每排機櫃上可以設置有多台設備,比如伺服器、資料獲取設備、監控設備、溫控設備等。以機櫃101為例,在一個示例中,機櫃101可以為單層結構,單層結構上可以放置多台設備;在另一個示例中,機櫃101可以為多層結構,多層結構中的每層結構可以放置多台設備。本發明實施例中,一排機櫃上可以放置同一類型的設備,或者也可以放置不同類型的設備,具體不作限定。
FIG. 1 is a schematic structural diagram of an IDC computer room provided by an embodiment of the present invention. As shown in FIG. 1, at least one row of cabinets, such as cabinet 101-
一般來說,工廠在生產設備時,通常可以將設備的功能部件設置在設備的同一個側面上,如此,可以便於設備同時執行多種功能;其中,設備的功能部件可以包括接線埠、信號燈、設備的型號標識等。相應地,在對IDC機房中的設備進行巡檢時,可以對設備上設置有功能部件的一面進行巡檢。舉例來說,若設備的某一面上設置有接線埠、信號燈、設備的型號標識,則對該面上設置的接線埠進行檢測可以確定設備是否存在漏電風險,對該面上設置的信號燈進行檢測可以確定設備當前是否存在告警,對該面上設置的設備的型號標識進行檢測可以確定設備的型號資訊;也就是說,通過對設備的該面進行巡檢,可以同時獲取到設備的安全狀態、設備的運行狀態以及設備的型號資訊。 Generally speaking, when the factory produces equipment, the functional components of the equipment can usually be arranged on the same side of the equipment, so that it can facilitate the equipment to perform multiple functions at the same time; among them, the functional components of the equipment can include wiring ports, signal lights, and equipment. Model identification, etc. Correspondingly, when the equipment in the IDC computer room is patrolled, the side where the functional components are arranged on the equipment can be patrolled. For example, if there are connection ports, signal lights, and the model identification of the device on a certain surface of the device, testing the connection ports on that surface can determine whether the device has a risk of electrical leakage, and detect the signal lights on that surface It can be determined whether the device currently has an alarm, and the model identification of the device set on the surface can be detected to determine the model information of the device; that is to say, by inspecting the surface of the device, the security status of the device can be obtained at the same time. The operating status of the equipment and the model information of the equipment.
需要說明的是,本發明實施例中將設備上需要巡檢的面稱為設備的正面,將無需巡檢的面稱為設備的背面。 It should be noted that, in the embodiment of the present invention, the surface of the device that needs to be inspected is called the front side of the device, and the surface that does not need to be inspected is called the back of the device.
具體實施中,機櫃101-機櫃106中任意兩排相鄰的機櫃上放置的設備可以正面對正面、背面對背面。舉例來說,如圖1所示,機櫃101上放置有設備W1,機櫃102上放置有設備W2,機櫃103上放置有設備W3;如此,若設備W1與設備W2相對的一面為設備W1的背面,則設備W2與設備W1相對的一面可以為設備W2的背面;相應地,設備W2與設備W3相對的一面可以為設備W2的正面,且設備W3與設備W2相對的一面可以為設備W3的正面。相應地,在對機櫃101-機櫃103上的設備進行巡檢時,可以對機櫃101背離機櫃102的一面(如圖1所示意的T1面)上的設備進行巡檢、對機櫃102相對於機櫃103的一面(如圖1所示意的T2面)上的設備以及機櫃103相對於機櫃102的一面(如圖1所示意的T3面)上的設備進行巡檢。
In specific implementation, the equipment placed on any two adjacent rows of cabinets in the
為了實現對IDC機房中的設備進行巡檢,在一種可能的實現方式中,可以對IDC機房中的所有路徑進行巡檢。圖2為採用該種方式得到的一種巡檢路線示意圖,如圖2所示,巡檢過程可以為:從A點出發,分別經由路徑AB-BD-DC-CA-AP-PE-ED-DF-FH-HF-FG-GI-IG-GO-ON-NO-OL-LM-ML-LK-KJ,到達J點;如此,巡檢過程可以執行完成。採用該種巡檢方式,可以對機櫃101-機櫃106的正面、背面和側面分別進行巡檢;然而,該種方式對應的巡檢路線中包括大量的無用路徑,即在很多經過的路徑上均無法巡檢到設備,因此,採用該種方式使得巡檢的效率較低。
In order to implement patrol inspection of the equipment in the IDC computer room, in a possible implementation manner, all paths in the IDC computer room may be patrolled. Figure 2 is a schematic diagram of a patrol route obtained in this way. As shown in Figure 2, the patrol process can be as follows: starting from point A and passing through the path AB-BD-DC-CA-AP-PE-ED-DF -FH-HF-FG-GI-IG-GO-ON-NO-OL-LM-ML-LK-KJ, reach point J; in this way, the inspection process can be completed. With this inspection method, the front, back, and sides of cabinet 101-
基於此,本發明提供一種巡檢設備的方法,用以提高巡檢的效率。 Based on this, the present invention provides a method for inspecting equipment to improve the efficiency of inspection.
基於圖1所示意的IDC機房,圖3為本發明實施例提供的一種巡檢設備的方法對應的流程示意圖,該方法包括: Based on the IDC computer room shown in FIG. 1, FIG. 3 is a schematic flowchart of a method for inspecting equipment according to an embodiment of the present invention, and the method includes:
步驟301,移動裝置根據預設區域的地圖,獲取移動裝置所在的第一位置點對應的路徑。 Step 301: The mobile device obtains the path corresponding to the first location point where the mobile device is located according to the map of the preset area.
此處,若需要對IDC機房中的部分機櫃(比如機櫃101-機櫃103)進行巡檢,則預設區域可以為機櫃101-機櫃103所在的區域;若需要對IDC機房中的機櫃101-機櫃106進行巡檢,則預設區域可以為IDC機房中的全部區域。本發明的下列實施例中以預設區域為IDC機房中的全部區域為例進行描述,可以理解地,下列實施例也可以適用於預設區域為IDC機房中的部分區域的場景。
Here, if some cabinets in the IDC computer room (such as cabinet 101-cabinet 103) need to be inspected, the preset area can be the area where cabinet 101-
在一種可能的實現方式中,預設區域的地圖可以為通過如下方式得到的: In a possible implementation manner, the map of the preset area may be obtained in the following manner:
步驟a,設置IDC機房中的多個預設位置點。 Step a: Set multiple preset locations in the IDC computer room.
其中,多個預設位置點可以為對機櫃101-機櫃106進行巡檢必須經過的預設位置點。以圖2中的點A-點P為例,由於機櫃101背離機櫃102的面為正面,因此,對機櫃101進行巡檢必然需要經過機櫃101背離機櫃102的面對應的路徑AB,如此,點A與點B即可以為兩個必須經過的預設位置點(稱為預設位置點A和預設位置點B);相應地,機櫃102與機櫃103相對的面為正面,因此,對機櫃102和機櫃103進行巡檢必然需要經過路徑PE,如此,點P與點E即可以為兩個必須經過的預設位置點(稱為預設位置點P和預設位置點E);基於同一原理可以確定點I、點G、點L、點M分別對應為預設位置點I、預設位置點G、預設位置點L和預設位置點M。由此可知,在對機櫃101-機櫃106進行巡檢時,預設位置點A、預設位置點B、預設位置點P、預設位置點E、預設位置點I、預設位置點G、預設位置點L和預設位置點M可以為
必須經過的8個預設位置點。
Among them, the multiple preset location points may be preset location points that must be passed through for patrol inspection of the cabinet 101-the
在一個示例中,可以在IDC機房的多個預設位置點處分別黏貼識別標識,以預設位置點A為例,預設位置點A處黏貼的識別標識中可以設置有預設位置點A的位置資訊,比如經緯度資訊和/或世界座標資訊。其中,識別標識可以為二維碼,或者也可以為條碼,或者還可以為識別線;識別標識可以黏貼在IDC機房的地面上,或者也可以黏貼在機櫃上,或者還可以黏貼在設備上,具體不作限定。 In one example, identification marks can be pasted at multiple preset locations in the IDC computer room. Taking preset location point A as an example, preset location point A can be set in the identification mark pasted at preset location point A Location information, such as latitude and longitude information and/or world coordinate information. Among them, the identification mark can be a QR code, or it can be a barcode, or it can also be an identification line; the identification mark can be pasted on the floor of the IDC computer room, or it can be pasted on the cabinet, or it can be pasted on the equipment, The details are not limited.
具體實施中,若8個預設位置點處的地面上黏貼有二維碼,則移動裝置的頂部可以設置有掃描部件(比如攝像頭),移動裝置在IDC機房中運動的過程中可以控制掃描部件對IDC機房的地面進行掃描,從而獲取到8個預設位置點對應的位置資訊。以預設位置點A為例,若移動裝置到達預設位置點A,則掃描部件可以掃描預設位置點A處的地面上黏貼的二維碼,得到預設位置點A的位置資訊。 In specific implementation, if a QR code is pasted on the ground at 8 preset locations, the top of the mobile device can be provided with a scanning component (such as a camera), and the mobile device can control the scanning component when it moves in the IDC room. Scan the ground of the IDC computer room to obtain location information corresponding to 8 preset locations. Taking the preset location point A as an example, if the mobile device reaches the preset location point A, the scanning component can scan the QR code pasted on the ground at the preset location point A to obtain the location information of the preset location point A.
步驟b,移動裝置在IDC機房中進行運動,根據掃描得到的多個預設位置點的位置資訊和在多個預設位置點之間進行運動時對設備的檢測狀態,生成IDC機房對應的地圖。 Step b, the mobile device moves in the IDC computer room, and generates a map corresponding to the IDC computer room based on the scanned position information of the multiple preset location points and the detection status of the equipment when moving between the multiple preset location points .
本發明實施例中,移動裝置可以預先生成IDC機房對應的初始地圖,IDC機房對應的初始地圖可以為一張空白地圖;進一步地,移動裝置在運動的過程中,可以根據運動路徑和掃描得到的位置資訊,依次在IDC機房對應的初始地圖上構建8個預設位置點和8個預設位置點分別對應的路徑,並可以根據在路徑上運動的過程中對設備的檢測狀態設置路徑的權重,如此得到IDC機房對應的地圖。比如,若沿著某一條路徑運動時能夠成 功檢測到設備,則移動裝置可以設置該條路徑的權重大於第一預設閾值,若沿著某一條路徑運動時無法成功檢測到設備,則可以設置該條路徑的權重小於或等於第二預設閾值。其中,第一預設閾值可以為大於或等於第二預設閾值的值。 In the embodiment of the present invention, the mobile device may pre-generate the initial map corresponding to the IDC computer room, and the initial map corresponding to the IDC computer room may be a blank map; further, the mobile device may be based on the movement path and the scan obtained during the movement. Location information, construct 8 preset location points and 8 preset location points on the initial map corresponding to the IDC computer room in turn, and set the weight of the path according to the detection status of the device during the movement on the path. , So get the map corresponding to the IDC computer room. For example, if you move along a certain path, it can be If the device is detected by the mobile device, the mobile device can set the weight of the path to be greater than the first preset threshold. If the device cannot be successfully detected when moving along a certain path, the weight of the path can be set to be less than or equal to the second preset threshold. Set the threshold. Wherein, the first preset threshold may be a value greater than or equal to the second preset threshold.
以第一預設閾值與第二預設閾值均為5為例,若移動裝置的起始位置為預設位置點A,則移動裝置可以掃描得到位置點A的位置資訊;進一步地,若移動裝置從預設位置點A出發後下一個掃描得到的位置資訊為預設位置點P的位置資訊,則移動裝置可以根據預設位置點A和預設位置點P的位置資訊,在IDC機房對應的初始地圖中添加預設位置點A、預設位置點P和路徑AP;且,移動裝置在沿著路徑AP運動時可以對路徑AP周圍的機櫃(即機櫃101和機櫃102)上的設備進行巡檢,由於機櫃101和機櫃102在路徑AP一側不是正面,因此移動裝置無法成功檢測到設備,如此,移動裝置可以將路徑AP對應的權重設置為1。相應地,若移動裝置從預設位置點P出發後下一個掃描得到的位置資訊為預設位置點E的位置資訊,則移動裝置可以根據預設位置點P和預設位置點E的位置資訊,在IDC機房對應的初始地圖中添加預設位置點E和路徑PE;且,移動裝置在沿著路徑PE運動時可以對路徑PE周圍的機櫃(即機櫃102和機櫃103)上的設備進行巡檢,由於機櫃102和機櫃103在路徑PE一側為正面,因此移動裝置可以成功檢測到設備,如此,移動裝置可以將路徑PE對應的權重設置為10。至此,IDC機房對應的地圖中包括預設位置點A、預設位置點P、預設位置點E、路徑AP及權重、路徑PE及權重。可以理解地,移動裝置可以採用上述方式在IDC機房對應的地圖中依次添加其它的預設位置點、其它路徑及權重,此處不再進行贅述。
Taking the first preset threshold and the second preset threshold both as 5 as an example, if the starting position of the mobile device is the preset location point A, the mobile device can scan to obtain the location information of the location point A; further, if the mobile device is moved After the device departs from the preset location point A, the next scanned location information is the location information of the preset location point P, then the mobile device can correspond in the IDC computer room according to the location information of the preset location point A and the preset location point P Add a preset location point A, a preset location point P, and a path AP to the initial map; and, when the mobile device moves along the path AP, the equipment on the cabinets (ie,
需要說明的是,上述僅是一種示例性的簡單說明,其所列舉的路徑AP、路徑PE的權重僅是為了便於說明方案,並不構成對方案的限定。在具體實施中,若第一預設閾值與第二預設閾值均為5,則路徑AP的權重可以為大於5的任意數值,比如6、15,路徑PE的權重可以小於或等於5的任意數值,比如2,5,具體不作限定。 It should be noted that the foregoing is only an exemplary and simple description, and the weights of the path AP and the path PE listed are only for the convenience of explaining the solution, and do not constitute a limitation on the solution. In specific implementation, if the first preset threshold and the second preset threshold are both 5, the weight of the path AP can be any value greater than 5, such as 6, 15, and the weight of the path PE can be any value less than or equal to 5. Numerical values, such as 2,5, are not specifically limited.
圖4為採用上述方法得到的一種IDC機房對應的地圖的示意圖。如圖4所示,IDC機房對應的地圖中可以包括8個預設位置點,分別為預設位置點A、預設位置點B、預設位置點P、預設位置點E、預設位置點I、預設位置點G、預設位置點L和預設位置點M。相應地,IDC機房對應的地圖中還可以包括8個預設位置點分別對應的路徑及路徑的權重,具體地說,預設位置點A對應的路徑可以包括權重為10的路徑AB和權重為1的路徑AP,預設位置點P對應的路徑可以包括權重為1的路徑PA和權重為10的路徑PE,預設位置點E對應的路徑可以包括權重為10的路徑EP、權重為1的路徑EB和權重為1的路徑EG,預設位置點B對應的路徑可以包括權重為10的路徑BA和權重為1的路徑BL,預設位置點G對應的路徑可以包括權重為1的路徑GE和權重為10的路徑GI,預設位置點I對應的路徑可以包括權重為10的路徑IG,預設位置點L對應的路徑可以包括權重為10的路徑LM,預設位置點M對應的路徑可以包括權重為10的路徑ML。 Fig. 4 is a schematic diagram of a map corresponding to an IDC computer room obtained by using the above method. As shown in Figure 4, the map corresponding to the IDC computer room can include 8 preset location points, which are preset location point A, preset location point B, preset location point P, preset location point E, preset location Point I, preset location point G, preset location point L, and preset location point M. Correspondingly, the map corresponding to the IDC computer room may also include the paths corresponding to the eight preset location points and the weights of the paths. Specifically, the path corresponding to the preset location point A may include a path AB with a weight of 10 and a weight of Path AP of 1, the path corresponding to the preset location point P may include a path PA with a weight of 1 and a path PE with a weight of 10, and the path corresponding to the preset location point E may include a path EP with a weight of 10 and a path with a weight of 1. Path EB and path EG with a weight of 1. The path corresponding to the preset location point B may include a path BA with a weight of 10 and a path BL with a weight of 1, and the path corresponding to the preset location point G may include a path GE with a weight of 1. As for the path GI with a weight of 10, the path corresponding to the preset location point I may include a path IG with a weight of 10, the path corresponding to the preset location point L may include a path LM with a weight of 10, and the path corresponding to the preset location point M A path ML with a weight of 10 may be included.
需要說明的是,圖4僅是一種示例性的簡單說明,其所列舉的多個路徑的權重僅是為了便於說明方案,並不構成對方案的限定。在具體實施中,路徑AB(或BA)、路徑PE(或EP)、路徑IG(或GI)和路徑LM(或ML)的權重可以相同,或者也可以不同;相應地,路徑AP(或PA)、 路徑BL(或LB)和路徑LG(或GL)的權重可以相同,或者也可以不同,具體不作限定。 It should be noted that FIG. 4 is only an exemplary simple description, and the weights of multiple paths listed therein are only for the convenience of explaining the solution, and do not constitute a limitation on the solution. In specific implementation, the weights of the path AB (or BA), the path PE (or EP), the path IG (or GI), and the path LM (or ML) can be the same or different; accordingly, the path AP (or PA ), The weights of the path BL (or LB) and the path LG (or GL) may be the same or different, which is not specifically limited.
在一個示例中,移動裝置得到IDC機房對應的地圖後,可以使用該地圖執行後續的巡檢過程。在另一個示例中,移動裝置在得到IDC對應的地圖後,還可以對該地圖中包括的多個預設位置點進行剪枝操作,進而可以使用剪枝後的地圖執行後續的巡檢過程;具體地說,如圖4所示,針對於多個預設位置點中任意兩個相鄰的預設位置點(比如預設位置點L和預設位置點E),可以根據預設位置點L和預設位置點E的位置資訊計算預設位置點L和預設位置點E之間的距離,若確定預設位置點L和預設位置點E之間的距離小於預設距離,則將預設位置點E和預設位置點L進行合併,比如,可以將預設位置點E和路徑PE從IDC機房對應的地圖中刪除,並添加路徑PL,或者也可以將預設位置點L和路徑LM從IDC機房對應的地圖中刪除,並添加路徑ME。 In an example, after the mobile device obtains the map corresponding to the IDC computer room, it can use the map to perform the subsequent inspection process. In another example, after obtaining the map corresponding to the IDC, the mobile device may also perform pruning operations on multiple preset locations included in the map, and then may use the pruned map to perform the subsequent inspection process; Specifically, as shown in FIG. 4, for any two adjacent preset position points (such as the preset position point L and the preset position point E) among the plurality of preset position points, the preset position points can be The location information of L and the preset location point E calculates the distance between the preset location point L and the preset location point E. If it is determined that the distance between the preset location point L and the preset location point E is less than the preset distance, then Combine the preset location point E and the preset location point L. For example, you can delete the preset location point E and the path PE from the map corresponding to the IDC computer room, and add the path PL, or you can also set the preset location point L The path LM is deleted from the map corresponding to the IDC computer room, and the path ME is added.
圖5為一種剪枝後的IDC機房對應的地圖的示意圖,由於預設位置點L和預設位置點E之間的距離小於預設距離,因此可以將預設位置點E和路徑PE從IDC機房對應的地圖中刪除,並添加路徑PL,得到圖5所示的IDC機房對應的地圖。如圖5所示,IDC機房對應的地圖中可以包括7個預設位置點以及7個預設位置點分別對應的路徑。具體地說,7個預設位置點可以為預設位置點A、預設位置點B、預設位置點P、預設位置點E、預設位置點I、預設位置點G和預設位置點M,預設位置點A對應的路徑可以包括權重為10的路徑AB和權重為1的路徑AP,預設位置點B對應的路徑可以包括權重為10的路徑BA和權重為1的路徑BE,預設位置點E對應的路徑可以包括權 重為10的路徑EP、權重為10的路徑EM、權重為1的路徑EB和權重為1的路徑EG,預設位置點P對應的路徑可以包括權重為10的路徑PE和權重為1的路徑PA,預設位置點G對應的路徑可以包括權重為10的路徑GI和權重為1的路徑GE,預設位置點I對應的路徑可以包括權重為10的路徑IG,預設位置點M對應的路徑可以包括權重為10的路徑ME。 Figure 5 is a schematic diagram of a map corresponding to a pruned IDC computer room. Since the distance between the preset location point L and the preset location point E is less than the preset distance, the preset location point E and the path PE can be separated from the IDC Delete from the map corresponding to the computer room and add the path PL to obtain the map corresponding to the IDC computer room as shown in FIG. 5. As shown in FIG. 5, the map corresponding to the IDC computer room may include 7 preset location points and paths corresponding to the 7 preset location points respectively. Specifically, the 7 preset location points can be preset location point A, preset location point B, preset location point P, preset location point E, preset location point I, preset location point G, and preset Location point M, the path corresponding to the preset location point A may include a path AB with a weight of 10 and a path AP with a weight of 1, and the path corresponding to the preset location point B may include a path BA with a weight of 10 and a path with a weight of 1. BE, the path corresponding to the preset location point E can include the right A path EP with a weight of 10, a path EM with a weight of 10, a path EB with a weight of 1, and a path EG with a weight of 1. The path corresponding to the preset location point P can include a path PE with a weight of 10 and a path with a weight of 1. PA, the path corresponding to the preset location point G may include a path GI with a weight of 10 and a path GE with a weight of 1, the path corresponding to the preset location point I may include a path IG with a weight of 10, and the path corresponding to the preset location point M The path may include a path ME with a weight of 10.
本發明實施例中,可以將權重大於5的路徑稱為關鍵路徑,權重小於5的路徑稱為非關鍵路徑。如此,圖5所示意的IDC機房的地圖中可以包括4條關鍵路徑和3條非關鍵路徑,4條關鍵路徑分別為路徑AB、路徑PE、路徑IG和路徑EM,3條非關鍵路徑分別為路徑AP、路徑BC和路徑EG。關鍵路徑對應著機櫃的正面,因此,移動裝置在關鍵路徑上運動時可以巡檢設備,在非關鍵路徑上運動時無法巡檢設備;如此,移動裝置只要經過4條關鍵路徑,即可完成對機櫃101-機櫃106上的設備的巡檢。
In the embodiment of the present invention, a path with a weight greater than 5 may be referred to as a critical path, and a path with a weight less than 5 may be referred to as a non-critical path. In this way, the map of the IDC computer room shown in Figure 5 can include 4 critical paths and 3 non-critical paths. The 4 critical paths are path AB, path PE, path IG, and path EM, and the 3 non-critical paths are respectively Path AP, path BC, and path EG. The critical path corresponds to the front of the cabinet. Therefore, the mobile device can inspect the equipment when moving on the critical path, but cannot inspect the equipment when moving on the non-critical path; in this way, the mobile device only needs to pass 4 critical paths to complete the inspection. Inspection of equipment on cabinet 101-
在一個示例中,移動裝置可以通過點線圖的方式存儲IDC機房對應的地圖,點線圖中可以包括圖5所示意的7個預設位置點、每個預設位置點對應的路徑和每個預設位置點的座標資訊;舉例來說,預設位置點A對應的路徑可以包括權重為10的路徑AB和權重為1的路徑AP。在該示例中,通過點線圖存儲IDC機房的地圖,可以使得地圖較為直觀,處理更加便捷。 In one example, the mobile device can store the map corresponding to the IDC computer room in the form of a dot and line graph. The dot and line graph can include the 7 preset location points shown in FIG. 5, the path corresponding to each preset location point, and each location. The coordinate information of a preset location point; for example, the path corresponding to the preset location point A may include a path AB with a weight of 10 and a path AP with a weight of 1. In this example, storing the map of the IDC computer room through the point and line map can make the map more intuitive and the processing more convenient.
在另一個示例中,移動裝置可以通過矩陣的方式存儲IDC機房對應的地圖。舉例來說,移動裝置獲取圖5所示意的地圖後,可以生成如下所示的疏鬆陣列:
在又一個示例中,移動裝置還可以通過表格的方式存儲IDC機房對應的地圖,表1為一種以表格方式存儲IDC機房對應的地圖的示意表。 In another example, the mobile device may also store the map corresponding to the IDC computer room in the form of a table. Table 1 is a schematic table for storing the map corresponding to the IDC computer room in the form of a table.
需要說明的是,表1僅是一種示例性的簡單說明,其所列舉的表格的結構僅是為了便於說明方案,並不構成對方案的限定,在具體實施中,表1的結構可以由本領域具通常知識者根據實際需要進行設置,比如可以包括路徑的長度,或者也可以包括路徑的權重,具體不作限定。 It should be noted that Table 1 is only an exemplary simple description, and the structure of the table listed is only for the convenience of explaining the solution, and does not constitute a limitation on the solution. In specific implementation, the structure of Table 1 can be determined by the field Those with general knowledge can set according to actual needs. For example, it can include the length of the path or the weight of the path, which is not specifically limited.
上述內容具體描述了移動裝置構建IDC機房對應的地圖的過程,下面描述移動裝置根據IDC機房對應的地圖對機櫃101-機櫃106上的設備執行巡檢的實現過程。
The above content specifically describes the process of the mobile device constructing the map corresponding to the IDC computer room. The following describes the implementation process of the mobile device performing the patrol inspection of the equipment on the
具體實施中,移動裝置在IDC機房中運動時可以同步使用攝像部件掃描IDC機房的地面上黏貼的二維碼,從而獲取當前所在的位置資訊;比如,若攝像部件掃描二維碼得到的位置資訊為(xA,yA),則移動裝置可以根據IDC機房對應的地圖確定當前所在位置為預設位置點A。進一步地,移動裝置可以從IDC機房對應的地圖中獲取預設位置點A對應的路徑,即權重為10的關鍵路徑AB和權重為1的非關鍵路徑AP。 In specific implementation, when the mobile device moves in the IDC room, it can use the camera component to scan the QR code pasted on the floor of the IDC room to obtain the current location information; for example, if the camera component scans the QR code to obtain the location information If it is (x A , y A ), the mobile device can determine that the current location is the preset location point A according to the map corresponding to the IDC computer room. Further, the mobile device may obtain the path corresponding to the preset location point A from the map corresponding to the IDC computer room, that is, the critical path AB with a weight of 10 and the non-critical path AP with the weight of 1.
本發明實施例中,在構建預設區域的地圖時,通過將能夠檢測到設備的路徑設置為關鍵路徑,並將無法檢測到設備的路徑設置為非關鍵路徑,可以使得移動裝置基於預設區域的地圖對關鍵路徑進行巡檢;也就是說,通過設置區分關鍵路徑和非關鍵路徑,可以使得移動裝置可以經過最少的路徑對所有設備完成巡檢,從而提高巡檢的效率。 In the embodiment of the present invention, when constructing a map of the preset area, by setting the path where the device can be detected as a critical path, and setting the path where the device cannot be detected as a non-critical path, the mobile device can be based on the preset area. The map performs inspections on critical paths; that is to say, by setting to distinguish between critical paths and non-critical paths, the mobile device can complete inspections on all equipment through the least paths, thereby improving the efficiency of inspections.
步驟302,移動裝置若確定第一位置點對應的路徑中包括權重大於第一預設閾值的至少一條關鍵路徑,則對至少一條關鍵路徑上的設備進行巡檢。
In
具體實施中,若運動裝置從IDC機房中的某一點出發,運動的過程中首次掃描二維碼得到位置資訊(xA,yA),則移動裝置可以確定當前位於預設位置點A,且預設位置點A對應的路徑可以包括權重為10的關鍵路徑AB和權重為1的非關鍵路徑AP;如此,移動裝置可以沿著關鍵路徑AB運動,並可以在運動的過程中對機櫃101上的設備進行巡檢。
In specific implementation, if the mobile device starts from a certain point in the IDC computer room and scans the QR code for the first time during the movement to obtain the location information (x A , y A ), the mobile device can determine that it is currently at the preset location point A, and The path corresponding to the preset location point A may include a critical path AB with a weight of 10 and a non-critical path AP with a weight of 1. In this way, the mobile device can move along the critical path AB, and can move on the
在一種可能的實現方式中,移動裝置還可以將已巡檢過的設備對應的路徑標注為已選路徑。相應地,移動裝置到達某一預設位置點後,若確定該預設位置點對應的關鍵路徑未被標注為已選路徑,則可以對關鍵路徑上的設備進行巡檢;若確定該預設位置點對應的關鍵路徑已被標注為已選路徑,則可以獲取該預設位置點對應的關鍵路徑和非關鍵路徑,若確定某一關鍵路徑(稱為目標關鍵路徑)或某一非關鍵路徑(稱為目標非關鍵路徑)上的另一預設位置點對應的關鍵路徑未被標注為已選路徑,則可以目標關鍵路徑或目標非關鍵路徑運動至另一預設位置點。 In a possible implementation manner, the mobile device may also mark the path corresponding to the device that has been inspected as the selected path. Correspondingly, after the mobile device reaches a certain preset location point, if it is determined that the critical path corresponding to the preset location point is not marked as a selected path, the equipment on the critical path can be inspected; if the preset location is determined The critical path corresponding to the location point has been marked as the selected path, then the critical path and non-critical path corresponding to the preset location point can be obtained. If a critical path (called the target critical path) or a non-critical path is determined (Referred to as the target non-critical path) a critical path corresponding to another preset location point is not marked as a selected path, the target critical path or the target non-critical path can be moved to another preset location point.
基於圖5所示意的IDC機房對應的地圖,描述移動裝置在IDC機房中巡檢設備的兩種可能的情形。 Based on the map corresponding to the IDC computer room shown in Figure 5, two possible scenarios for the mobile device to patrol the equipment in the IDC computer room are described.
情形一 Situation One
在情形一中,移動裝置在IDC機房中的起始點為預設位置點A。
In
具體實施中,移動裝置在預設位置點A時可以獲取關鍵路徑AB和非關鍵路徑AP,由於關鍵路徑AB未被標注為已選路徑,因此,移動
裝置可以對關鍵路徑AB上的設備進行巡檢。移動裝置若掃描得到位置資訊(xB,yB),則確定當前位於預設位置點B,即機櫃101上的設備已被巡檢完成;如此,移動裝置可以將關鍵路徑AB和關鍵路徑BA標注為已選路徑。進一步地,移動裝置可以從IDC機房對應的地圖中獲取預設位置點B對應的路徑,即權重為10的關鍵路徑BA和權重為1的非關鍵路徑BE;由於關鍵路徑BA已被標注為已選路徑,因此,移動裝置可以獲取關鍵路徑BA上的另一預設位置點A和非關鍵路徑BE上的另一預設位置點E;由於預設位置點A對應的關鍵路徑AB已被標注為已選路徑,而預設位置點E對應的關鍵路徑EP和關鍵路徑EM均未被標注為已選路徑,因此,移動裝置可以將非關鍵路徑BE作為目標路徑,並可以沿著非關鍵路徑BE運動。
In specific implementation, the mobile device can obtain the critical path AB and the non-critical path AP at the preset position A. Since the critical path AB is not marked as the selected path, the mobile device can patrol the equipment on the critical path AB. Check. If the mobile device scans to obtain the location information (x B , y B ), it is determined that the device currently located at the preset location B, that is, the equipment on the
移動裝置若掃描得到位置資訊(xE,yE),則確定當前位於預設位置點E,如此,移動裝置可以從IDC機房對應的地圖中獲取預設位置點E對應的路徑,即權重為10的關鍵路徑EP和關鍵路徑EM、權重為1的非關鍵路徑EB和非關鍵路徑EG。由於關鍵路徑EP和關鍵路徑EM均為被標注為已選路徑,因此,移動裝置可以隨機選擇一條關鍵路徑作為目標路徑。在一個示例中,若移動裝置選擇關鍵路徑EP作為目標路徑,則移動裝置可以對關鍵路徑EP上的設備進行巡檢。 If the mobile device scans and obtains location information (x E , y E ), it is determined that it is currently located at the preset location point E. In this way, the mobile device can obtain the path corresponding to the preset location point E from the map corresponding to the IDC computer room, that is, the weight is The critical path EP and critical path EM of 10, the non-critical path EB and the non-critical path EG with a weight of 1. Since the critical path EP and the critical path EM are both marked as selected paths, the mobile device can randomly select a critical path as the target path. In an example, if the mobile device selects the critical path EP as the target path, the mobile device can perform inspections on the devices on the critical path EP.
相應地,移動裝置若掃描得到位置資訊(xP,yP),則確定當前位於預設位置點P,即機櫃102和機櫃103上的設備已被巡檢完成;如此,移動裝置可以將關鍵路徑EP和關鍵路徑PE標注為已選路徑。進一步地,移動裝置可以從IDC機房對應的地圖中獲取預設位置點P對應的路徑,即權重為10的關鍵路徑PE和權重為1的非關鍵路徑PA;由於關鍵路徑PE已被標
注為已選路徑,因此移動裝置可以獲取關鍵路徑PE上的另一預設位置點E和非關鍵路徑PA上的另一預設位置點A;由於預設位置點A對應的關鍵路徑AB已被標注為已選路徑,而預設位置點E對應的關鍵路徑EP已被標注為已選路徑,預設位置點E對應的關鍵路徑EM均未被標注為已選路徑,因此,移動裝置可以將非關鍵路徑PE作為目標路徑,並可以沿著非關鍵路徑PE運動。
Correspondingly, if the mobile device scans and obtains the location information (x P , y P ), it is determined that the device currently located at the preset location point P, that is, the equipment on the
移動裝置到達預設位置點E後,由於關鍵路線EM未被標注為已選路徑,因此,移動裝置可以對關鍵路線EM上的設備進行巡檢,並在對機櫃105和機櫃106上的設備巡檢完成後,將關鍵路線EM和關鍵路線ME標注為已選路徑;進一步地,移動裝置可以沿著關鍵路徑ME回到預設位置點E,由於預設位置點E對應的關鍵路徑EP和關鍵路徑EM均已被標注為已選路徑,而非關鍵路徑EG的另一預設位置點G對應的關鍵路徑GI未被標注為已選路徑,因此,移動裝置可以沿著非關鍵路徑EG運動,並可以在到達預設位置點G後對關鍵路徑GI上的設備進行巡檢。移動裝置若掃描得到的位置資訊為(xI,yI),則確定當前位於預設位置點I,即機櫃104上的設備已巡檢完成,如此,移動裝置可以將關鍵路徑GI和關鍵路徑IG標注為已選路徑。
After the mobile device arrives at the preset location point E, because the critical route EM is not marked as the selected route, the mobile device can inspect the equipment on the critical route EM, and patrol the equipment on the
在一種可能的實現方式中,到達預設位置點I後,移動裝置確定預設位置點I對應的關鍵路線IG已被標注為已選路徑,且確定關鍵路線IG的另一預設位置點G對應的關鍵路徑GI已被標注為已選路徑,則移動裝置可以判斷IDC機房對應的地圖中的4條關鍵路徑是否已全部被標注為已選路徑。若4條關鍵路徑已全部被標注為已選路徑,說明移動裝置已對機櫃101-機櫃106上的設備完成巡檢,如此,移動裝置可以回到起始點;比如,移動
裝置可以根據IDC機房對應的地圖中存儲的根據7個預設位置點的位置關係確定4條關鍵路徑和3條非關鍵路徑的距離,並可以從4條關鍵路徑和3條非關鍵路徑中選取使得預設位置點I和預設位置點A之間的距離最短的路徑,進而沿著該路徑回到預設位置點A。
In a possible implementation manner, after reaching the preset location point I, the mobile device determines that the key route IG corresponding to the preset location point I has been marked as a selected route, and determines another preset location point G of the key route IG The corresponding critical path GI has been marked as a selected path, the mobile device can determine whether the four critical paths in the map corresponding to the IDC computer room have all been marked as selected paths. If all 4 critical paths have been marked as selected paths, it means that the mobile device has completed the inspection of the equipment on cabinet 101-
相應地,若4條關鍵路徑中存在未被標注為已選路徑的關鍵路徑,則移動裝置可以繼續回溯路徑;具體地說,確定預設位置點I對應的路徑(即關鍵路徑IG)中不存在另一預設位置點(即預設位置點G)對應的關鍵路徑未標記為已選路徑的路徑,則可以確定預設位置點G對應的至少一個路徑(GE或GI)是否存在另一預設位置點(即預設位置點E或預設位置點I)對應的關鍵路徑未被標記為已選路徑,若預設位置點E存在未被標記為已選路徑的關鍵路徑,則可以依次沿著關鍵路徑IG和非關鍵路徑GE到達預設位置點E;若預設位置點E和預設位置點I對應的關鍵路徑均被標記為已選路徑,則可以繼續回溯路徑,直至找到存在未標記為已選路徑的關鍵路徑;若一直未找到存在未標記為已選路徑的關鍵路徑,則移動裝置可以從預設位置點I回到預設位置點G。 Correspondingly, if there is a critical path that is not marked as a selected path among the four critical paths, the mobile device can continue to trace the path; specifically, it is determined that the path corresponding to the preset position I (ie, the critical path IG) is not included. If there is another key path corresponding to another preset location point (ie preset location point G) that is not marked as a selected path, it can be determined whether there is another path (GE or GI) corresponding to at least one path (GE or GI) corresponding to the preset location point G The critical path corresponding to the preset location point (ie, the preset location point E or the preset location point I) is not marked as a selected path. If the preset location point E has a critical path that is not marked as a selected path, you can Follow the critical path IG and the non-critical path GE to the preset location point E; if the critical path corresponding to the preset location point E and the preset location point I are marked as selected paths, you can continue to trace the path until you find There is a critical path that is not marked as a selected path; if a critical path that is not marked as a selected path has not been found, the mobile device can return to the preset location point G from the preset location point I.
圖6為採用情形一所示意的方法得到的一種巡檢路線的示意圖,如圖6所示,移動裝置可以依次經過如下路徑對機櫃101-機櫃106上的設備進行巡檢:關鍵路徑AB-非關鍵路徑BE-關鍵路徑EP-關鍵路徑PE-關鍵路徑EM-關鍵路徑ME-非關鍵路徑EG-關鍵路徑GI,在情形一中,移動裝置也可以依次經過如下路徑對機櫃101-機櫃106上的設備進行巡檢:關鍵路徑AB-非關鍵路徑BE-關鍵路徑EM-關鍵路徑ME-關鍵路徑MP-關鍵路徑PM-非關鍵路徑EG-關鍵路徑GI。
Fig. 6 is a schematic diagram of a patrol route obtained by using the method illustrated in
情形二 Situation two
在情形二中,移動裝置在IDC機房中的起始點為預設位置點E。 In the second scenario, the starting point of the mobile device in the IDC computer room is the preset location point E.
具體實施中,移動裝置在預設位置點E時可以獲取預設位置點E對應的關鍵路徑EP、關鍵路徑EM、非關鍵路徑EB和非關鍵路徑EG;由於關鍵路徑EP和關鍵路徑EM均未被標注為已選路徑,因此,移動裝置可以隨機選取一條關鍵路徑(比如關鍵路徑EM)作為目標路徑,並可以對關鍵路徑EM上的設備進行巡檢。 In specific implementation, the mobile device can obtain the critical path EP, critical path EM, non-critical path EB, and non-critical path EG corresponding to the preset position point E when the preset position point E; since neither the critical path EP nor the critical path EM is It is marked as a selected path. Therefore, the mobile device can randomly select a critical path (such as the critical path EM) as the target path, and can perform inspections on the equipment on the critical path EM.
若移動裝置沿著關鍵路徑EM到達預設位置點M,則確定已對機櫃105和機櫃106上的設備巡檢完成,如此,移動裝置可以將關鍵路徑EM、關鍵路徑ME標注為已選路徑。進一步地,移動裝置確定預設位置點M對應的關鍵路徑ME已被標注為已選路徑,且預設位置點E對應的關鍵路徑EP未被標注為已選路徑,因此,移動裝置可以沿著關鍵路徑ME運動至預設位置點E,並可以對關鍵路徑EP上的設備進行巡檢。
If the mobile device reaches the preset position point M along the critical path EM, it is determined that the inspection of the equipment on the
若移動裝置沿著關鍵路徑EP到達預設位置點P,則確定已對機櫃102和機櫃103上的設備巡檢完成,如此,移動裝置可以將關鍵路徑EP、關鍵路徑PE標注為已選路徑。進一步地,移動裝置確定預設位置點P對應的關鍵路徑PE已被標注為已選路徑,且預設位置點E對應的關鍵路徑EP和關鍵路徑EM已被標注為已選路徑,而預設位置點A對應的關鍵路徑AB未被標注為已選路徑,因此,移動裝置可以沿著非關鍵路徑PA運動至預設位置點A,並可以對關鍵路徑AB上的設備進行巡檢。
If the mobile device reaches the preset position point P along the critical path EP, it is determined that the inspection of the equipment on the
若移動裝置沿著關鍵路徑AB到達預設位置點B,則確定已對機櫃101上的設備巡檢完成,如此,移動裝置可以將關鍵路徑AB、關鍵路
徑BA標注為已選路徑。進一步地,移動裝置確定預設位置點B對應的關鍵路徑AB已被標注為已選路徑,且預設位置點E對應的關鍵路徑EP和關鍵路徑EM已被標注為已選路徑,而預設位置點A對應的關鍵路徑AB也已被標注為已選路徑;因此,移動裝置可以判斷IDC機房對應的4條關鍵路徑是否已全部被標注為已選路徑。由於關鍵路徑EF未被標注為已選路徑,因此,移動裝置可以確定機櫃101-機櫃106上的設備未被巡檢完成;如此,移動裝置需要繼續進行巡檢過程。
If the mobile device reaches the preset location point B along the critical path AB, it is determined that the inspection of the equipment on the
在一個示例中,移動裝置可以沿著關鍵路徑BA回到預設位置點A,並可以沿著非關鍵路徑AP回到預設位置點P,進而沿著關鍵路徑PE回到預設位置點E。進一步地,由於預設位置點E、與預設位置點E相連的預設位置點B、預設位置點P和預設位置點M分別對應的關鍵路徑(路徑EP、路徑EM、路徑PE、路徑ME、路徑BA)均被標注為已選路徑,而與預設位置點E相連的預設位置點G對應的關鍵路徑GI未被標注為已選路徑,因此,移動裝置可以沿著非關鍵路徑EG到達預設位置點G,並可以對關鍵路徑GI上的設備進行巡檢。 In one example, the mobile device can return to the preset location point A along the critical path BA, and can return to the preset location point P along the non-critical path AP, and then back to the preset location point E along the critical path PE. . Further, since the preset location point E, the preset location point B connected to the preset location point E, the preset location point P, and the preset location point M respectively correspond to the critical paths (path EP, path EM, path PE, Path ME, path BA) are marked as selected paths, and the critical path GI corresponding to the preset position point G connected to the preset position point E is not marked as the selected path. Therefore, the mobile device can follow the non-critical path. The path EG reaches the preset position point G, and the equipment on the critical path GI can be inspected.
在另一個示例中,移動裝置可以對預設位置點A連接的預設位置點P和預設位置點E連接的預設位置點M、預設位置點G分別進行第二次路徑回溯。針對於預設位置點P,移動裝置可以確定預設位置點P對應的關鍵路徑PE已被標注為已選路徑;針對於預設位置點M,移動裝置可以確定預設位置點M對應的關鍵路徑ME未被標注為已選路徑;針對於預設位置點G,移動裝置可以確定預設位置點G對應的關鍵路徑GI未被標注為已選路徑,因此,移動裝置可以沿著非關鍵路徑BE到達預設位置點E,並可以沿著 非關鍵路徑EG到達預設位置點G,進而對關鍵路徑GI上的設備進行巡檢。 In another example, the mobile device may perform a second path backtracking on the preset location point P connected to the preset location point A, the preset location point M and the preset location point G connected to the preset location point E, respectively. For the preset location point P, the mobile device can determine that the key path PE corresponding to the preset location point P has been marked as a selected path; for the preset location point M, the mobile device can determine the key corresponding to the preset location point M The path ME is not marked as a selected path; for the preset location point G, the mobile device can determine that the critical path GI corresponding to the preset location point G is not marked as a selected path, so the mobile device can follow a non-critical path BE reaches the preset position point E, and can follow The non-critical path EG reaches the preset position point G, and then the equipment on the critical path GI is inspected.
若移動裝置沿著關鍵路徑GI到達預設位置點I,則確定已對機櫃104上的設備巡檢完成,如此,移動裝置可以將關鍵路徑GI標注為已選路徑。進一步地,由於IDC機房對應的地圖中4條關鍵路徑均已被標注為已選路徑,說明移動裝置已對機櫃101-機櫃106上的設備完成巡檢,如此,移動裝置可以從4條關鍵路徑和3條非關鍵路徑中選取一條最短路徑組合,進而沿著該最短路徑組合回到預設位置點E。
If the mobile device reaches the preset position I along the critical path GI, it is determined that the inspection of the equipment on the
在情形二中,移動裝置可以依次經過如下路徑對機櫃101-機櫃106上的設備進行巡檢:關鍵路徑EM-關鍵路徑ME-關鍵路徑EP-非關鍵路徑PA-關鍵路徑AB-關鍵路徑BA-非關鍵路徑AP-關鍵路徑PE-非關鍵路徑EG-關鍵路徑IG;或者,關鍵路徑EM-關鍵路徑ME-關鍵路徑EP-非關鍵路徑PA-關鍵路徑AB-關鍵路徑BE-非關鍵路徑EG-關鍵路徑GI;或者,關鍵路徑EP-關鍵路徑PE-關鍵路徑EM-非關鍵路徑ME-非關鍵路徑EB-關鍵路徑BA-關鍵路徑AB-非關鍵路徑BE-關鍵路徑IG;或者,關鍵路徑EP-非關鍵路徑PA-關鍵路徑AB-非關鍵路徑BE-關鍵路徑EM-關鍵路徑ME-非關鍵路徑EG-關鍵路徑IG;等等。
In case two, the mobile device can patrol the equipment on cabinet 101-
本發明實施例中,移動裝置根據預設區域的地圖獲取移動裝置所在的第一位置點對應的路徑,若確定第一位置點對應的路徑中包括權重大於第一預設閾值的至少一條關鍵路徑,則對至少一條關鍵路徑上的設備進行巡檢;其中,預設區域的地圖中標注有多個位置點分別對應的路徑以及路徑的權重,第一位置點對應的第一路徑上包括第一位置點和第二位置點,第一位置點為第一路徑的起點,第二位置點為第一路徑的終點。本 發明實施例中,通過多個位置點以及多個位置點之間的路徑設置預設區域的地圖,可以降低預設區域的地圖的時間複雜度和空間複雜度,從而使得移動裝置可以基於預設區域的地圖快速地規劃出巡檢路徑,提高移動裝置巡檢設備的效率;且,通過在預設區域的地圖中設置路線的權重,可以將複雜的巡檢任務轉化為對權重大於第一預設閾值的路線上的設備的巡檢任務,從而降低移動裝置巡檢設備的複雜度,進一步提高移動裝置巡檢設備的效率。 In the embodiment of the present invention, the mobile device obtains the path corresponding to the first location point where the mobile device is located according to the map of the preset area, and if it is determined that the path corresponding to the first location point includes at least one critical path with a weight greater than the first preset threshold , The device on at least one critical path is inspected; wherein the map of the preset area is marked with paths corresponding to multiple location points and the weights of the paths, and the first path corresponding to the first location point includes the first path The location point and the second location point, the first location point is the starting point of the first path, and the second location point is the end point of the first path. this In the embodiment of the invention, the map of the preset area is set by multiple location points and the paths between the multiple location points, which can reduce the time complexity and space complexity of the map of the preset area, so that the mobile device can be based on the preset The map of the area quickly plans the inspection route to improve the efficiency of the mobile device inspection equipment; and, by setting the weight of the route in the map of the preset area, the complex inspection task can be transformed into a weight greater than the first forecast. The inspection task of the equipment on the route with a threshold is set, thereby reducing the complexity of the mobile device inspection equipment, and further improving the efficiency of the mobile device inspection equipment.
針對上述方法流程,本發明實施例還提供一種巡檢設備的裝置,該裝置的具體內容可以參照上述方法實施。 In view of the foregoing method flow, an embodiment of the present invention also provides a device for patrolling equipment, and the specific content of the device can be implemented with reference to the foregoing method.
圖7為本發明實施例提供的一種巡檢設備的裝置的結構示意圖,該裝置用於對預設區域內的多個設備進行巡檢,該預設區域內包括多個位置點,該多個位置點是根據該多個設備的位置設置的;該裝置包括:獲取模組701,用於根據該預設區域對應的地圖,獲取移動裝置所在的第一位置點對應的路徑;巡檢模組702,用於若確定該第一位置點對應的路徑中包括權重大於第一預設閾值的至少一條關鍵路徑,則對該至少一條關鍵路徑上的設備進行巡檢;其中,該預設區域對應的地圖中標注有該多個位置點分別對應的路徑以及該路徑的權重;該第一位置點對應的第一路徑上包括該第一位置點和第二位置點,該第一位置點為該第一路徑的起點,該第二位置點為該第一路徑的終點;該第一位置點和該第二位置點為該多個位置點中的兩個位置點。
FIG. 7 is a schematic structural diagram of a device for inspecting equipment according to an embodiment of the present invention. The device is used for inspecting multiple devices in a preset area. The preset area includes multiple location points. The location points are set according to the locations of the multiple devices; the device includes: an
可選地,該巡檢模組702用於:若確定該至少一條關鍵路徑中存在未被標注為已選路徑的備選路徑,則對
該備選路徑上的設備進行巡檢,並將該備選路徑標注為已選路徑。
Optionally, the
可選地,該巡檢模組702還用於:該移動裝置確定該至少一條關鍵路徑均被標注為已選路徑後,若確定該第一位置點對應的第二路徑的終點對應的路徑中存在未被標注為已選路徑的關鍵路徑,則從該第一位置點按照該第二路徑運動至該第二路徑的終點。
Optionally, the
可選地,該裝置還包括生成模組703,該生成模組703通過如下方式生成該預設區域對應的地圖:生成該預設區域對應的初始地圖,該初始地圖為空白地圖;遍歷該預設區域中的多個位置點,針對於該多個位置點中任意兩個相鄰的第三位置點和第四位置點,若從該第三位置點沿著該第三位置點對應的第三路徑運動至該第四位置點,則根據該第三位置點、該第四位置點、該第三路徑和該移動裝置沿著該第三路徑運動時對設備的檢測狀態更新該預設區域對應的初始地圖,得到該預設區域對應的地圖。
Optionally, the device further includes a
可選地,該生成模組703具體用於:將該第三位置點、該第四位置點和該第三路徑存儲在該預設區域對應的初始地圖中;沿著第三路徑運動時若成功檢測到設備,則設置該第三路徑的權重大於該第一預設閾值;若未成功檢測到設備,則設置該第三路徑的權重小於或等於該第二預設閾值。
Optionally, the
可選地,該巡檢模組702還用於:若確定對該預設區域對應的地圖中權重大於該第一預設閾值的所有關鍵路線上的設備巡檢完成,則停止進行巡檢。
Optionally, the
從上述內容可以看出:本發明的上述實施例中,移動裝置根據預設區域的地圖獲取移動裝置所在的第一位置點對應的路徑,若確定第一位置點對應的路徑中包括權重大於第一預設閾值的至少一條關鍵路徑,則對至少一條關鍵路徑上的設備進行巡檢;其中,預設區域的地圖中標注有多個位置點分別對應的路徑以及路徑的權重,第一位置點對應的第一路徑上包括第一位置點和第二位置點,第一位置點為第一路徑的起點,第二位置點為第一路徑的終點。本發明實施例中,通過多個位置點以及多個位置點之間的路徑設置預設區域的地圖,可以降低預設區域的地圖的時間複雜度和空間複雜度,從而使得移動裝置可以基於預設區域的地圖快速地規劃出巡檢路徑,提高移動裝置巡檢設備的效率;且,通過在預設區域的地圖中設置路線的權重,可以將複雜的巡檢任務轉化為對權重大於第一預設閾值的路線上的設備的巡檢任務,從而降低移動裝置巡檢設備的複雜度,進一步提高移動裝置巡檢設備的效率。 It can be seen from the foregoing that: in the foregoing embodiment of the present invention, the mobile device obtains the path corresponding to the first location point where the mobile device is located according to the map of the preset area, and if it is determined that the path corresponding to the first location point includes a weight greater than the first location point. At least one critical path with a preset threshold is inspected for devices on at least one critical path; wherein the map of the preset area is marked with paths corresponding to multiple location points and the weights of the paths, the first location point The corresponding first path includes a first position point and a second position point, the first position point is the start point of the first path, and the second position point is the end point of the first path. In the embodiment of the present invention, the map of the preset area is set by multiple location points and paths between the multiple location points, which can reduce the time complexity and space complexity of the map of the preset area, so that the mobile device can be based on the preset area. Set the regional map to quickly plan the inspection path and improve the efficiency of the mobile device inspection equipment; and by setting the weight of the route in the map of the preset area, the complex inspection task can be transformed into a weight greater than the first. The inspection task of the equipment on the route with the preset threshold value, thereby reducing the complexity of the mobile device inspection equipment, and further improving the efficiency of the mobile device inspection equipment.
基於同一發明構思,本發明實施例還提供了一種電腦可讀存儲介質,包括指令,當其在電腦的處理器上運行時,使得電腦的處理器執行如圖3或圖3任意所述之巡檢設備的方法。 Based on the same inventive concept, an embodiment of the present invention also provides a computer-readable storage medium, including instructions, which when run on the processor of the computer, cause the processor of the computer to execute the patrol described in any of Figure 3 or Figure 3 Method of checking equipment.
基於同一發明構思,本發明實施例還提供了一種電腦程式產品,當其在電腦上運行時,使得電腦執行如圖3或圖3任意所述之巡檢設備的方法。 Based on the same inventive concept, the embodiment of the present invention also provides a computer program product, which when running on a computer, causes the computer to execute the method of inspecting equipment as described in any of FIG. 3 or FIG. 3.
本領域具通常知識者應明白,本發明的實施例可提供為方法、或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例、或結合軟體和硬體方面的實施例的形式。而且,本發明可採用在一 個或多個其中包含有電腦可用程式碼的電腦可用存儲介質(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。 Those skilled in the art should understand that the embodiments of the present invention can be provided as methods or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware. Moreover, the present invention can be used in a The form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes.
本發明是參照根據本發明實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方框圖來描述的。應理解可由電腦程式指令實現流程圖和/或方框圖中的每一流程和/或方框、以及流程圖和/或方框圖中的流程和/或方框的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式設計資料處理設備的處理器以產生一個機器,使得通過電腦或其他可程式設計資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能的裝置。 The present invention is described with reference to flowcharts and/or block diagrams of methods, equipment (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, dedicated computers, embedded processors, or other programmable data processing equipment to generate a machine that can be executed by the processors of the computer or other programmable data processing equipment A device for realizing the functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram is generated.
這些電腦程式指令也可存儲在能引導電腦或其他可程式設計資料處理設備以特定方式工作的電腦可讀記憶體中,使得存儲在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方框圖一個方框或多個方框中指定的功能。 These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including the instruction device , The instruction device realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
以上僅為本發明之較佳實施例,並非用來限定本發明之實施範圍,如果不脫離本發明之精神和範圍,對本發明進行修改或者等同替換,均應涵蓋在本發明申請專利範圍的保護範圍當中。 The above are only preferred embodiments of the present invention, and are not used to limit the scope of implementation of the present invention. Any modification or equivalent replacement of the present invention without departing from the spirit and scope of the present invention shall be covered by the protection of the scope of the patent application of the present invention. In the range.
301-302:步驟 301-302: steps
Claims (14)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910432098.0 | 2019-05-23 | ||
CN201910432098.0A CN110221608B (en) | 2019-05-23 | 2019-05-23 | Method and device for inspecting equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202043957A TW202043957A (en) | 2020-12-01 |
TWI721784B true TWI721784B (en) | 2021-03-11 |
Family
ID=67818151
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109104990A TWI721784B (en) | 2019-05-23 | 2020-02-17 | Method and device for inspection equipment, computer readable storage medium and computer program product |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN110221608B (en) |
TW (1) | TWI721784B (en) |
WO (1) | WO2020233155A1 (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110221608B (en) * | 2019-05-23 | 2021-10-01 | 中国银联股份有限公司 | Method and device for inspecting equipment |
CN110969719A (en) * | 2019-11-12 | 2020-04-07 | 深圳市科比特航空科技有限公司 | Automatic inspection method, system, terminal equipment and storage medium |
CN114577227A (en) * | 2020-12-02 | 2022-06-03 | 浙江宇视科技有限公司 | Patrol route planning method, device, medium and electronic equipment |
CN113727092B (en) * | 2021-07-30 | 2024-04-16 | 深圳力维智联技术有限公司 | Video monitoring quality inspection method and device based on decision tree |
CN113905408B (en) * | 2021-09-07 | 2024-04-02 | 浪潮软件集团有限公司 | Automatic inspection method and storage medium for inner website of enterprise in office building |
CN113848923A (en) * | 2021-09-29 | 2021-12-28 | 华能盐城大丰新能源发电有限责任公司 | Robot automatic inspection error-preventing method, system, equipment and storage medium |
CN114003034A (en) * | 2021-10-26 | 2022-02-01 | 山东新一代信息产业技术研究院有限公司 | Method, equipment and storage medium for making routing inspection plan of routing inspection robot |
CN114167867A (en) * | 2021-12-02 | 2022-03-11 | 南方电网电力科技股份有限公司 | Positioning and control method of inspection robot and related device |
CN114302115B (en) * | 2022-01-06 | 2024-04-19 | 重庆紫光华山智安科技有限公司 | Video playing method, device, equipment and medium |
CN114434456A (en) * | 2022-01-19 | 2022-05-06 | 山东新一代信息产业技术研究院有限公司 | Machine room inspection robot and inspection method thereof |
CN114387700B (en) * | 2022-01-25 | 2024-01-09 | 高新兴科技集团股份有限公司 | Simulation inspection method, device, medium and equipment for power equipment |
CN117724467A (en) * | 2022-09-08 | 2024-03-19 | 华为云计算技术有限公司 | Path planning method, related device and system |
CN116309851B (en) * | 2023-05-19 | 2023-08-11 | 安徽云森物联网科技有限公司 | Position and orientation calibration method for intelligent park monitoring camera |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201100307A (en) * | 2009-06-25 | 2011-01-01 | Ihi Corp | Unattended transporting apparatus and transporting route determining method for the same |
CN105487535A (en) * | 2014-10-09 | 2016-04-13 | 东北大学 | Mobile robot indoor environment exploration system and control method based on ROS |
CN106371445A (en) * | 2016-11-17 | 2017-02-01 | 浙江大学 | Unmanned vehicle planning control method based on topology map |
US20180095458A1 (en) * | 2016-10-04 | 2018-04-05 | General Electric Company | Method and system for remote processing and analysis of industrial asset inspection data |
TW201832147A (en) * | 2017-02-17 | 2018-09-01 | 香港商菜鳥智能物流網絡(香港)有限公司 | Article routing inspection method and related device |
CN108519737A (en) * | 2018-04-11 | 2018-09-11 | 电子科技大学 | A kind of unmanned machine paths planning method considering energy recharge |
TW201837428A (en) * | 2017-04-11 | 2018-10-16 | 平安科技(深圳)有限公司 | Path planning system and method of robot |
JP2019020760A (en) * | 2017-07-11 | 2019-02-07 | トヨタ自動車株式会社 | Movement planning apparatus, mobile robot, and movement planning program |
US20190137995A1 (en) * | 2017-11-06 | 2019-05-09 | General Electric Company | Systems and method for robotic industrial inspection system |
Family Cites Families (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4241673B2 (en) * | 2005-06-17 | 2009-03-18 | 本田技研工業株式会社 | Mobile path generation device |
US8903574B2 (en) * | 2009-10-22 | 2014-12-02 | General Electric Company | System and method for vehicle communication, vehicle control, and/or route inspection |
KR101196374B1 (en) * | 2011-02-28 | 2012-11-05 | 한국과학기술연구원 | Path planning system for mobile robot |
CN102761894B (en) * | 2012-06-30 | 2015-01-21 | 华为技术有限公司 | Method, device and system for acquiring paths |
US9186793B1 (en) * | 2012-08-31 | 2015-11-17 | Brain Corporation | Apparatus and methods for controlling attention of a robot |
KR20150042040A (en) * | 2013-10-10 | 2015-04-20 | 재단법인대구경북과학기술원 | Control method for patrol robot |
JP2015197868A (en) * | 2014-04-02 | 2015-11-09 | トヨタ自動車株式会社 | Computer program checking apparatus |
US9164514B1 (en) * | 2014-04-14 | 2015-10-20 | Southwest Research Institute | Cooperative perimeter patrol system and method |
US20150331786A1 (en) * | 2014-05-15 | 2015-11-19 | Fujitsu Limited | Path execution reduction in software program verification |
US20150338226A1 (en) * | 2014-05-22 | 2015-11-26 | Telogis, Inc. | Context-based routing and access path selection |
CN104010274B (en) * | 2014-06-12 | 2017-09-26 | 国家电网公司 | A kind of indoor wireless positioning method based on route matching |
TWI541767B (en) * | 2015-04-07 | 2016-07-11 | 群暉科技股份有限公司 | Method for controlling a surveillance system with aid of automatically generated patrol routes, and associated apparatus |
CN106156888B (en) * | 2016-06-30 | 2020-02-04 | 广东电网有限责任公司电力科学研究院 | Routing inspection path planning method and device for routing inspection robot |
CN106598052A (en) * | 2016-12-14 | 2017-04-26 | 南京阿凡达机器人科技有限公司 | Robot security inspection method based on environment map and robot thereof |
JP6946662B2 (en) * | 2017-02-27 | 2021-10-06 | トヨタ自動車株式会社 | Map update system |
CN106681333A (en) * | 2017-03-02 | 2017-05-17 | 刘伟豪 | Method and system for improving stability of transformer substation inspection robot |
CN106895841B (en) * | 2017-04-13 | 2019-10-22 | 杭州申昊科技股份有限公司 | A kind of Vector Electronic Map creation method applied to substation |
TW201843642A (en) * | 2017-05-08 | 2018-12-16 | 臺泥資訊股份有限公司 | Inspection management method and system |
CN107678405B (en) * | 2017-08-22 | 2020-01-31 | 广东美的智能机器人有限公司 | Robot running method and device |
CN107560631B (en) * | 2017-08-30 | 2020-02-14 | 国网智能科技股份有限公司 | Path planning method and device and inspection robot |
CN107644273B (en) * | 2017-09-27 | 2020-06-19 | 上海思岚科技有限公司 | Navigation path planning method and equipment |
CN109767513B (en) * | 2017-11-01 | 2021-03-16 | 北京中盈安信技术服务股份有限公司 | Pipe network equipment inspection device and pipe network equipment inspection method |
US11059378B2 (en) * | 2017-11-16 | 2021-07-13 | The Boeing Company | Charging a rechargeable battery of an unmanned aerial vehicle in flight using a high voltage power line |
CN108189039B (en) * | 2018-02-09 | 2020-05-12 | 意诺科技有限公司 | Moving method and device of mobile robot |
CN108413980B (en) * | 2018-06-07 | 2021-06-11 | 华北电力大学 | Traffic itinerant path planning method for reducing path branches |
CN109213157A (en) * | 2018-08-28 | 2019-01-15 | 北京秦圣机器人科技有限公司 | Data center's crusing robot paths planning method based on improved Ant Colony System |
CN109269505A (en) * | 2018-10-24 | 2019-01-25 | 国家电网有限公司 | A kind of grid equipment inspection route Intelligent planning method |
CN109528090A (en) * | 2018-11-24 | 2019-03-29 | 珠海市微半导体有限公司 | The area coverage method and chip and clean robot of a kind of robot |
CN109683609B (en) * | 2018-12-13 | 2022-05-24 | 杭州申昊科技股份有限公司 | Intelligent power inspection system and method |
CN109358650B (en) * | 2018-12-14 | 2022-11-18 | 国网冀北电力有限公司检修分公司 | Routing inspection path planning method and device, unmanned aerial vehicle and computer readable storage medium |
CN109711503A (en) * | 2018-12-29 | 2019-05-03 | 中国银联股份有限公司 | A kind of robot localization method and device |
CN109782757A (en) * | 2018-12-30 | 2019-05-21 | 芜湖哈特机器人产业技术研究院有限公司 | A kind of path dispatching method of more AGV systems based on subsection scheduling |
CN110221608B (en) * | 2019-05-23 | 2021-10-01 | 中国银联股份有限公司 | Method and device for inspecting equipment |
-
2019
- 2019-05-23 CN CN201910432098.0A patent/CN110221608B/en active Active
-
2020
- 2020-01-14 WO PCT/CN2020/072083 patent/WO2020233155A1/en active Application Filing
- 2020-02-17 TW TW109104990A patent/TWI721784B/en active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW201100307A (en) * | 2009-06-25 | 2011-01-01 | Ihi Corp | Unattended transporting apparatus and transporting route determining method for the same |
CN105487535A (en) * | 2014-10-09 | 2016-04-13 | 东北大学 | Mobile robot indoor environment exploration system and control method based on ROS |
US20180095458A1 (en) * | 2016-10-04 | 2018-04-05 | General Electric Company | Method and system for remote processing and analysis of industrial asset inspection data |
CN106371445A (en) * | 2016-11-17 | 2017-02-01 | 浙江大学 | Unmanned vehicle planning control method based on topology map |
TW201832147A (en) * | 2017-02-17 | 2018-09-01 | 香港商菜鳥智能物流網絡(香港)有限公司 | Article routing inspection method and related device |
TW201837428A (en) * | 2017-04-11 | 2018-10-16 | 平安科技(深圳)有限公司 | Path planning system and method of robot |
JP2019020760A (en) * | 2017-07-11 | 2019-02-07 | トヨタ自動車株式会社 | Movement planning apparatus, mobile robot, and movement planning program |
US20190137995A1 (en) * | 2017-11-06 | 2019-05-09 | General Electric Company | Systems and method for robotic industrial inspection system |
CN108519737A (en) * | 2018-04-11 | 2018-09-11 | 电子科技大学 | A kind of unmanned machine paths planning method considering energy recharge |
Also Published As
Publication number | Publication date |
---|---|
CN110221608A (en) | 2019-09-10 |
TW202043957A (en) | 2020-12-01 |
CN110221608B (en) | 2021-10-01 |
WO2020233155A1 (en) | 2020-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI721784B (en) | Method and device for inspection equipment, computer readable storage medium and computer program product | |
Dupont et al. | Potential applications of UAV along the construction's value chain | |
US10378906B2 (en) | Systems and methods for autonomous drone navigation | |
CN105486311B (en) | Indoor Robot positioning navigation method and device | |
US11185985B2 (en) | Inspecting components using mobile robotic inspection systems | |
CN111459166B (en) | Scene map construction method containing trapped person position information in post-disaster rescue environment | |
CN107796397A (en) | A kind of Robot Binocular Vision localization method, device and storage medium | |
Israr et al. | [Retracted] Internet of Things (IoT)‐Enabled Unmanned Aerial Vehicles for the Inspection of Construction Sites: A Vision and Future Directions | |
JP2022000646A (en) | Server device, image processing method, and image processing system | |
Li et al. | Weld line recognition and path planning with spherical tank inspection robots | |
CN112200911B (en) | Method and device for constructing regional overlapping three-dimensional map by combining markers | |
CN105931311A (en) | Equipment routine inspection system and equipment routine inspection method | |
CN116777187B (en) | Multi-path inspection intelligent central control scheduling method and platform | |
CN105973239A (en) | Method for searching shortest path of unmanned aerial vehicle | |
Shah et al. | Condition assessment of ship structure using robot assisted 3D-reconstruction | |
CN104463056A (en) | Equipment spot inspection device based on Internet of things and control method of equipment spot inspection device | |
CN116989802B (en) | IDC machine room inspection plan configuration strategy method based on GIS and BIM models | |
JP2015147517A (en) | Maintenance supporting system, and maintenance supporting method | |
CN117226846A (en) | Control method and system for substation equipment maintenance robot | |
CN111321902B (en) | System and method for hoisting components on assembly building construction site | |
CN116627126A (en) | Intelligent inspection method and system based on big data | |
Lins et al. | Fpga-based design optimization in autonomous robot systems for inspection of civil infrastructure | |
CN104933454A (en) | Equipment spot inspection device based on Internet of things and control method thereof | |
CN114050649A (en) | Transformer substation inspection system and inspection method thereof | |
WO2020032157A1 (en) | Article position estimation system and article position estimation method |