CN115080358A - Device management method, device, server, storage medium, and program product - Google Patents

Device management method, device, server, storage medium, and program product Download PDF

Info

Publication number
CN115080358A
CN115080358A CN202210866616.1A CN202210866616A CN115080358A CN 115080358 A CN115080358 A CN 115080358A CN 202210866616 A CN202210866616 A CN 202210866616A CN 115080358 A CN115080358 A CN 115080358A
Authority
CN
China
Prior art keywords
identification information
equipment
image
target cabinet
device identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210866616.1A
Other languages
Chinese (zh)
Inventor
黄香
卢娇
刘钧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210866616.1A priority Critical patent/CN115080358A/en
Publication of CN115080358A publication Critical patent/CN115080358A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10712Fixed beam scanning
    • G06K7/10722Photodetector array or CCD scanning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/19Recognition using electronic means
    • G06V30/19007Matching; Proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/32Indexing scheme for image data processing or generation, in general involving image mosaicing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Electromagnetism (AREA)
  • Artificial Intelligence (AREA)
  • Toxicology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a device management method, a device, a server, a storage medium and a program product, and relates to the technical field of big data. The method comprises the following steps: receiving at least one image of a target cabinet and position information of image acquisition equipment, which are sent by the image acquisition equipment; the image acquisition equipment is arranged on a sliding rail of the target cabinet; analyzing each image to obtain first equipment identification information corresponding to the target cabinet; acquiring second equipment identification information corresponding to the target cabinet from a preset equipment management system according to the position information; the device management system comprises a corresponding relation between the position information and the second device identification information; and determining whether to update the second equipment identification information according to the first equipment identification information and the second equipment identification information. By adopting the method, the management efficiency of the equipment placed in the cabinet can be improved.

Description

Device management method, device, server, storage medium, and program product
Technical Field
The present application relates to the field of big data technologies, and in particular, to a device management method, apparatus, server, storage medium, and program product.
Background
The data center is a platform for centralizing relevant equipment such as servers, switches and the like. Generally, a data center includes a plurality of cabinets, and the data center places servers, switches, and other devices through the cabinets. Management of equipment in a data center has become an important component of a data center management system.
In the conventional technology, Radio Frequency Identification (RFID) technology is mainly used to attach an electronic tag to a device placed in each cabinet, and the Radio Frequency technology is used to acquire information of the electronic tag to determine position information of the device placed in each cabinet, and manage the device in each cabinet according to the position information of the device in each cabinet, thereby implementing management of the device placed in the data center.
However, the conventional technology has a problem that the method for managing the equipment placed in each cabinet is inefficient.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a device management method, apparatus, server, storage medium, and program product capable of improving management efficiency of devices placed in a cabinet in view of the above technical problems.
In a first aspect, the present application provides a device management method. The method comprises the following steps:
receiving at least one image of a target cabinet sent by image acquisition equipment and position information of the image acquisition equipment; the image acquisition equipment is arranged on a slide rail of the target cabinet;
analyzing each image to obtain first equipment identification information corresponding to the target cabinet;
acquiring second equipment identification information corresponding to the target cabinet from a preset equipment management system according to the position information; the device management system comprises a corresponding relation between the position information and the second device identification information;
and determining whether to update the second equipment identification information according to the first equipment identification information and the second equipment identification information.
In one embodiment, the determining whether to update the second device identification information according to the first device identification information and the second device identification information includes:
comparing the first equipment identification information with the second equipment identification information to obtain a comparison result;
and determining whether to update the second equipment identification information according to the comparison result.
In one embodiment, the determining whether to update the second device identification information according to the comparison result includes:
if the comparison result is that the first equipment identification information is inconsistent with the second equipment identification information, updating the second equipment identification information;
and if the comparison result is that the first equipment identification information is consistent with the second equipment identification information, not updating the second equipment identification information.
In one embodiment, the updating the second device identification information includes:
and replacing the second equipment identification information with the first equipment identification information.
In one embodiment, before analyzing each of the images and acquiring the first device identification information corresponding to the target cabinet, the method further includes:
splicing the images according to the receiving sequence of the images to obtain spliced images;
and analyzing the spliced image to acquire first equipment identification information corresponding to the target cabinet.
In one embodiment, the method further comprises:
sending an acquisition instruction to the image acquisition equipment according to a preset time period; the acquisition instruction is used for instructing the image acquisition equipment to acquire the image of the target cabinet.
In a second aspect, the present application further provides an apparatus for device management. The device comprises:
the receiving module is used for receiving at least one image of the target cabinet sent by the image acquisition equipment and the position information of the image acquisition equipment; the image acquisition equipment is arranged on a slide rail of the target cabinet;
the first acquisition module is used for analyzing each image and acquiring first equipment identification information corresponding to the target cabinet;
the second obtaining module is used for obtaining second equipment identification information corresponding to the target equipment cabinet from a preset equipment management system according to the position information; the device management system comprises a corresponding relation between the position information and the second device identification information;
and the determining module is used for determining whether to update the second equipment identification information according to the first equipment identification information and the second equipment identification information.
In a third aspect, the application also provides a server. The server comprises a memory storing a computer program and a processor implementing the steps of the method according to any of the embodiments of the first aspect when executing the computer program.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any of the embodiments of the first aspect described above.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program that when executed by a processor performs the steps of the method according to any of the embodiments of the first aspect.
The device management method, the device, the server, the storage medium and the program product can analyze at least one image of the target cabinet and the position information of the image acquisition equipment sent by the image acquisition equipment arranged on the slide rail of the target cabinet to obtain the first device identification information corresponding to the target cabinet, and can obtain the second device identification information corresponding to the target cabinet from the preset device management system according to the received position information, thereby determining whether to update the second device identification information in the device management system according to the first device identification information and the second device identification information, if the device identification information corresponding to the target cabinet changes, updating the device identification information in the device management system in time to ensure that the second device identification information in the device management system is consistent with the first device identification information corresponding to the target cabinet, the equipment in the target cabinet can be accurately and quickly positioned according to the second equipment identification information with higher accuracy in the equipment management system, and the accuracy and the efficiency of positioning the equipment in the target cabinet are improved, so that the efficiency of positioning and managing the equipment in the target cabinet is improved.
Drawings
FIG. 1 is a diagram of an application environment of a device management method in one embodiment;
FIG. 2 is a flow diagram illustrating a method for device management in one embodiment;
FIG. 3 is a flowchart illustrating a device management method according to another embodiment;
FIG. 4 is a flowchart illustrating a method for device management in another embodiment;
FIG. 5 is a block diagram showing the structure of a device management apparatus according to an embodiment;
FIG. 6 is a block diagram showing the construction of a device management apparatus according to another embodiment;
fig. 7 is an internal configuration diagram of a server in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
It should be noted that the device management method, apparatus, server, storage medium, and program product of the present application may be applied to the field of big data, and may also be applied to other technical fields except the field of big data.
The device management method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. The equipment cabinet is used for storing IT equipment such as a server, a switch and a router, the equipment cabinet is provided with image acquisition equipment 102, and the image acquisition equipment 102 can acquire image data of each equipment in the equipment cabinet; image capture device 102 communicates with server 104 over a wired network. The device management system may be integrated on the server 104, or may be located on the cloud or other network server. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
In one embodiment, as shown in fig. 2, a device management method is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
s201, receiving at least one image of a target cabinet and position information of image acquisition equipment, which are sent by the image acquisition equipment; the image acquisition equipment is arranged on a sliding rail of the target cabinet.
The image acquisition device is a device for shooting the inside of the target cabinet, and may be a camera, a video camera, or the like. The target cabinet is a cabinet arranged in a data center machine room, IT equipment such as a server, a switch and a router are stored in the target cabinet, and image data of a plurality of IT equipment stored in the target cabinet are acquired by the image acquisition equipment. It can be understood that, the image capturing device is disposed on the slide rail of the target cabinet, and then the position information of the image capturing device is also the position information of the target cabinet, and the position information of the image capturing device is consistent with the position information of the target cabinet, for example, the position information of the image capturing device may be described in the form of rows and columns, for example, the target cabinet is disposed in the second row and the third column of the data center room, and then the position information of the image capturing device may be the second row and the third column. Optionally, the sliding rail may be a guide rail disposed in the target cabinet, preferably, the sliding rail may be disposed in the middle of the inner side of the cabinet door of the target cabinet in parallel, and the image capturing device may vertically move up and down on the sliding rail.
Optionally, the server may send an acquisition instruction to the image acquisition device, control the image acquisition device to vertically move along the slide rail from top to bottom through the acquisition instruction, and perform image acquisition on the target cabinet in the moving process. Optionally, the image acquisition device may acquire one image of the target cabinet during the vertical movement of the image acquisition device on the slide rail from top to bottom, and may also acquire multiple images of the target cabinet. Optionally, the image acquisition device may acquire two images respectively at two positions above and below the target cabinet, or may acquire three images respectively at three positions above, in the middle of, and below the target cabinet. Optionally, the image acquisition device and the server may be in wired communication, and the image acquisition device may be connected to the server through wired communication, and send the acquired image and the position information of the target cabinet to the server.
S202, analyzing each image to obtain first equipment identification information corresponding to the target cabinet.
The first device identification information is a resource coding value of each device in the target cabinet, and may be, for example, a barcode or a digital identification code of each device in the target cabinet. It can be understood that the number of the obtained first device identification information is determined by the number of the devices in the target cabinet, and the number of the first device identification information may be 0 to N, for example, if the target cabinet includes two devices, the number of the first device identification information is 2, and if the target cabinet includes four devices, the number of the first device identification information is 4, which is not limited herein.
Optionally, in this embodiment, a text recognition method or a feature extraction method may be adopted to analyze each received image, and obtain the corresponding first device identification information in the target cabinet. For example, if the image received by the server is one image, the server may analyze the image to obtain first device identification information corresponding to the target cabinet; if the number of the images received by the server is two, the server may analyze the two images respectively to obtain the first device identification information corresponding to the target cabinet, or the server may splice the two images to analyze the combined image to obtain the first device identification information corresponding to the target cabinet.
S203, acquiring second equipment identification information corresponding to the target cabinet from a preset equipment management system according to the position information; the device management system includes a correspondence between the location information and the second device identification information.
It should be noted that, after the device is stored in the cabinet, the location information of the cabinet of the storage device and the stored identification information of the device may be stored in a preset device management system, and the identification information of the device stored in the cabinet may be acquired from the device management system according to the location information of the cabinet. In this embodiment, the second device identification information is identification information of each device stored in the device management system in advance. Optionally, the number of the second device identification information in the device management system may be 0 to N, and this embodiment is not limited herein.
Optionally, in this embodiment, after receiving the position information of the image acquisition device, the server may query in the device management system according to the correspondence between the position information of the image acquisition device and the second device identification information, to obtain the second device identification information corresponding to the target cabinet.
S204, determining whether to update the second device identification information according to the first device identification information and the second device identification information.
Optionally, the server may determine whether to update the second device identification information according to the number of the first device identification information and the number of the second device identification information, for example, if the number of the first device identification information is greater than the number of the second device identification information, the server may determine to update the second device identification information in the device management system, if the number of the first device identification information is less than the number of the second device identification information, the server may also determine to update the second device identification information in the device management system, and if the number of the first device identification information is equal to the number of the second device identification information, the server may determine not to update the second device identification information in the device management system. For example, if the number of the first device identification information is 4, the number of the second device identification information is 2, and the number of the first device identification information is greater than the number of the second device identification information, it may be that newly placed devices are added in the target cabinet, at this time, the server may determine that the devices placed in the target cabinet have changed, and may determine to update the second device identification information in the device management system; or, if the number of the first device identification information is 4, the number of the second device identification information is 4, and the number of the first device identification information is equal to the number of the second device identification information, at this time, the server may determine that the device placed in the target cabinet may not be changed, and may not update the second device identification information in the device management system.
In the equipment management method, the server receives at least one image of the target cabinet and the position information of the image acquisition equipment, which are sent by the image acquisition equipment arranged on the slide rail of the target cabinet, can analyze each received image to obtain first equipment identification information corresponding to the target cabinet, and can obtain second equipment identification information corresponding to the target cabinet from a preset equipment management system according to the received position information, so that whether the second equipment identification information in the equipment management system is updated or not can be determined according to the first equipment identification information and the second equipment identification information, if the equipment identification information corresponding to the target cabinet changes, the server can update the equipment identification information in the equipment management system in time, and the second equipment identification information in the equipment management system is kept consistent with the first equipment identification information corresponding to the target cabinet, the server can accurately and quickly position each device in the target cabinet according to the second device identification information with higher accuracy in the device management system, and the accuracy and efficiency of positioning each device in the target cabinet are improved, so that the efficiency of positioning and managing each device in the target cabinet is improved.
In the scenario that whether the second device identification information is updated or not is determined according to the first device identification information and the second device identification information, whether the second device identification information is updated or not may be determined according to a comparison result of the first device identification information and the second device identification information. In an embodiment, as shown in fig. 3, the step S203 includes:
s301, comparing the first device identification information with the second device identification information to obtain a comparison result.
Optionally, the content of the first device identification information and the content of the second device identification information of the same location information may be compared by using a text matching algorithm, and optionally, the text matching algorithm may be based on an edit Distance (LD) algorithm, or may be based on a Needleman/Wunsh algorithm of the longest common substring. It should be noted that, in this embodiment, comparing the first device identification information with the second device identification information includes comparing the number of the first device identification information with the number of the second device identification information, and comparing the content of the first device identification information with the content of the second device identification information. Optionally, if the content of the first device identification information is different from the content of the second device identification information, or the number of the first device identification information is different from the number of the second device identification information, the server may determine that the comparison result of the first device identification information and the second device identification information is inconsistent; if the content of the first device identification information is the same as the content of the second device identification information and the number of the first device identification information is the same as the number of the second device identification information, the server may determine that the comparison result of the first device identification information and the second device identification information is consistent. For example, if the number of the first device identification information is 2 and the number of the second device identification information is 2, the server may further determine whether the content of the 2 pieces of first device identification information is consistent with the content of the 2 pieces of second device identification information, and if the content of the 2 pieces of first device identification information is consistent with the content of the 2 pieces of second device identification information, the server may determine that the comparison result of the first device identification information and the second device identification information is consistent; if any one of the contents of the 2 pieces of first device identification information and the contents of the 2 pieces of second device identification information is inconsistent, the server may determine that the comparison result of the first device identification information and the second device identification information is inconsistent.
S302, according to the comparison result, whether the second device identification information is updated is determined.
Optionally, in this embodiment, whether to update the second device identification information may be determined according to whether the comparison result is consistent. Optionally, if the comparison result is that the first device identification information and the second device identification information are not consistent, the server may determine to update the second device identification information. Optionally, if the comparison result is that the first device identification information is consistent with the second device identification information, the server may determine not to update the second device identification information.
Optionally, if the comparison result is that the first device identification information and the second device identification information are not consistent, the server may replace the second device identification information with the first device identification information, or the server may search device identification information different from the first device identification information in the second device identification information, and replace device identification information different from the first device identification information in the second device identification information with corresponding first device identification information.
In the embodiment of the application, the process of comparing the first equipment identification information with the second equipment identification information is simpler, and the comparison result can be quickly obtained, so that whether the second equipment identification information is updated can be determined according to the obtained comparison result, and the efficiency of determining whether the second equipment identification information is updated according to the comparison result is improved because the efficiency of obtaining the comparison result is improved.
In some scenarios, the server receives multiple images that may be captured by the image capturing device during movement, and therefore, the server may perform a stitching process on the received images before analyzing the received images. In an embodiment, as shown in fig. 4, before the step S202, the method further includes:
s401, according to the receiving sequence of each image, the images are spliced to obtain spliced images.
Optionally, the mode of sending the acquired image by the image acquisition device may be sending an image to the server for shooting an image, or sending the acquired image to the server after acquiring a plurality of images of one cabinet. Optionally, in this embodiment, the server may arrange the first received image in front of the second received image, and arrange the second received image behind the first received image to obtain a spliced image; alternatively, the first received image may be arranged in the back, and the second received image may be arranged in the front, so as to obtain the stitched image. Optionally, after the server obtains the stitched image, the server may also remove the repeated portion in the stitched image.
S402, analyzing the spliced image to acquire first equipment identification information corresponding to the target cabinet.
Optionally, in this embodiment, the server may analyze the stitched image by using a preset image recognition algorithm, so as to obtain first device identification information of the device placed in the target cabinet, and optionally, the image recognition algorithm may be an image feature extraction algorithm based on a neural network, and may also be an image recognition algorithm based on a wavelet distance.
In the embodiment of the application, the images can be spliced according to the receiving sequence of the images, and the images obtained after splicing are a whole image, so that the images are analyzed by analyzing the whole image obtained after splicing once, multiple analyses on the images are avoided, and the efficiency of obtaining the first equipment identification information corresponding to the target cabinet is improved.
In a scene in which the image capturing device captures the target cabinet image, the image capturing device may capture the target cabinet image in real time, or the server may control the image capturing device to capture the target cabinet image, in an embodiment, the method further includes: sending an acquisition instruction to image acquisition equipment according to a preset time period; the acquisition instruction is used for instructing the image acquisition equipment to acquire the image of the target cabinet.
The preset time period is the interval time of image acquisition by the image acquisition device, the time period may be in units of hours or minutes, and preferably, the preset time period may be 2 hours. Optionally, the server may generate the acquisition instruction according to the time period, and send the generated acquisition instruction to the image acquisition device. Optionally, the server may be connected to the image acquisition device through wired communication, and send an acquisition instruction to the image acquisition device according to the time period, and instruct the image acquisition device to acquire an image of the target cabinet according to the time period.
In the embodiment of the application, the acquisition instruction for instructing the image acquisition equipment to acquire the image of the target cabinet is sent to the image acquisition equipment according to the preset time period, and the image acquisition equipment can be periodically controlled to acquire the image of the target cabinet, so that the acquired image of the target cabinet can be utilized to realize the periodic management of the actual storage equipment in the target cabinet.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a device management apparatus for implementing the device management method. The implementation scheme for solving the problem provided by the apparatus is similar to the implementation scheme described in the method, so specific limitations in one or more device management apparatus embodiments provided below may refer to the limitations on the device management method in the foregoing, and details are not described here.
In one embodiment, as shown in fig. 5, there is provided a device management apparatus including: a receiving module 11, a first obtaining module 12, a second obtaining module 13, and a determining module 14, wherein:
the receiving module 11 is configured to receive at least one image of the target cabinet and the position information of the image acquisition device, where the image acquisition device is sent by the image acquisition device; the image acquisition equipment is arranged on a sliding rail of the target cabinet.
The first obtaining module 12 is configured to analyze each image and obtain first device identification information corresponding to the target cabinet.
A second obtaining module 13, configured to obtain, according to the location information, second device identification information corresponding to the target cabinet from a preset device management system; the device management system includes a correspondence between the location information and the second device identification information.
A determining module 14, configured to determine whether to update the second device identification information according to the first device identification information and the second device identification information.
The device management apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In one embodiment, as shown in fig. 6, the determining module 14 includes: a first obtaining unit 141 and a determining unit 142, wherein:
an obtaining unit 141, configured to compare the first device identification information with the second device identification information, and obtain a comparison result;
the determining unit 142 is configured to determine whether to update the second device identification information according to the comparison result.
The device management apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In one embodiment, the determining unit 142 is specifically configured to:
if the comparison result is that the first equipment identification information is inconsistent with the second equipment identification information, updating the second equipment identification information;
and if the comparison result shows that the first equipment identification information is consistent with the second equipment identification information, not updating the second equipment identification information.
The device management apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In one embodiment, the determining unit 142 is specifically configured to:
and if the comparison result is that the first equipment identification information is inconsistent with the second equipment identification information, replacing the second equipment identification information with the first equipment identification information.
The device management apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In one embodiment, with continued reference to fig. 6, the first obtaining module 12 includes: a second acquisition unit 121 and a third acquisition unit 122, wherein:
a second obtaining unit 121, configured to perform stitching processing on the images according to the receiving order of the images to obtain a stitched image;
and a third obtaining unit 122, configured to analyze the spliced image and obtain first equipment identification information corresponding to the target cabinet.
The device management apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
In one embodiment, with continued reference to fig. 6, the method further comprises:
a sending module 15, configured to send an acquisition instruction to the image acquisition device according to a preset time period; the acquisition instruction is used for instructing the image acquisition equipment to acquire the image of the target cabinet.
The device management apparatus provided in this embodiment may implement the method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The modules in the device management apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the server, and can also be stored in a memory in the server in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a server is provided, the internal structure of which may be as shown in FIG. 7. The server includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the server is configured to provide computing and control capabilities. The memory of the server includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the server is used for storing identification information of the equipment in the cabinet. The network interface of the server is used for communicating with an external terminal through network connection. The computer program is executed by a processor to implement a device management method.
Those skilled in the art will appreciate that the architecture shown in fig. 7 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the servers to which the subject application applies, as a particular server may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a server comprising a memory and a processor, the memory having a computer program stored therein, the processor when executing the computer program implementing the steps of:
receiving at least one image of a target cabinet and position information of image acquisition equipment, which are sent by the image acquisition equipment; the image acquisition equipment is arranged on a sliding rail of the target cabinet;
analyzing each image to obtain first equipment identification information corresponding to the target cabinet;
acquiring second equipment identification information corresponding to the target cabinet from a preset equipment management system according to the position information; the equipment management system comprises a corresponding relation between the position information and the second equipment identification information;
and determining whether to update the second equipment identification information according to the first equipment identification information and the second equipment identification information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
comparing the first equipment identification information with the second equipment identification information to obtain a comparison result;
and determining whether to update the second equipment identification information according to the comparison result.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
if the comparison result is that the first equipment identification information is inconsistent with the second equipment identification information, updating the second equipment identification information;
and if the comparison result shows that the first equipment identification information is consistent with the second equipment identification information, not updating the second equipment identification information.
In one embodiment, the processor when executing the computer program further performs the steps of:
and replacing the second device identification information with the first device identification information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
splicing the images according to the receiving sequence of the images to obtain spliced images;
and analyzing the spliced image to acquire first equipment identification information corresponding to the target cabinet.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
sending an acquisition instruction to image acquisition equipment according to a preset time period; the acquisition instruction is used for instructing the image acquisition equipment to acquire the image of the target cabinet.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
receiving at least one image of a target cabinet and position information of image acquisition equipment, which are sent by the image acquisition equipment; the image acquisition equipment is arranged on a sliding rail of the target cabinet;
analyzing each image to obtain first equipment identification information corresponding to the target cabinet;
acquiring second equipment identification information corresponding to the target cabinet from a preset equipment management system according to the position information; the device management system comprises a corresponding relation between the position information and the second device identification information;
and determining whether to update the second equipment identification information according to the first equipment identification information and the second equipment identification information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
comparing the first equipment identification information with the second equipment identification information to obtain a comparison result;
and determining whether to update the second equipment identification information according to the comparison result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the comparison result is that the first equipment identification information is inconsistent with the second equipment identification information, updating the second equipment identification information;
and if the comparison result shows that the first equipment identification information is consistent with the second equipment identification information, not updating the second equipment identification information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and replacing the second device identification information with the first device identification information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
splicing the images according to the receiving sequence of the images to obtain spliced images;
and analyzing the spliced image to acquire first equipment identification information corresponding to the target cabinet.
In one embodiment, the computer program when executed by the processor further performs the steps of:
sending an acquisition instruction to image acquisition equipment according to a preset time period; the acquisition instruction is used for instructing the image acquisition equipment to acquire the image of the target cabinet.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
receiving at least one image of a target cabinet and position information of image acquisition equipment, which are sent by the image acquisition equipment; the image acquisition equipment is arranged on a sliding rail of the target cabinet;
analyzing each image to obtain first equipment identification information corresponding to the target cabinet;
acquiring second equipment identification information corresponding to the target cabinet from a preset equipment management system according to the position information; the device management system comprises a corresponding relation between the position information and the second device identification information;
and determining whether to update the second equipment identification information according to the first equipment identification information and the second equipment identification information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
comparing the first equipment identification information with the second equipment identification information to obtain a comparison result;
and determining whether to update the second equipment identification information according to the comparison result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
if the comparison result is that the first equipment identification information is inconsistent with the second equipment identification information, updating the second equipment identification information;
and if the comparison result shows that the first equipment identification information is consistent with the second equipment identification information, not updating the second equipment identification information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and replacing the second device identification information with the first device identification information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
splicing the images according to the receiving sequence of the images to obtain spliced images;
and analyzing the spliced image to acquire first equipment identification information corresponding to the target cabinet.
In one embodiment, the computer program when executed by the processor further performs the steps of:
sending an acquisition instruction to image acquisition equipment according to a preset time period; the acquisition instruction is used for instructing the image acquisition equipment to acquire the image of the target cabinet.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, databases, or other media used in the embodiments provided herein can include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method for device management, the method comprising:
receiving at least one image of a target cabinet and position information of image acquisition equipment, which are sent by the image acquisition equipment; the image acquisition equipment is arranged on a slide rail of the target cabinet;
analyzing each image to obtain first equipment identification information corresponding to the target cabinet;
acquiring second equipment identification information corresponding to the target cabinet from a preset equipment management system according to the position information; the device management system comprises a corresponding relation between the position information and the second device identification information;
and determining whether to update the second equipment identification information according to the first equipment identification information and the second equipment identification information.
2. The method of claim 1, wherein the determining whether to update the second device identification information according to the first device identification information and the second device identification information comprises:
comparing the first equipment identification information with the second equipment identification information to obtain a comparison result;
and determining whether to update the second equipment identification information according to the comparison result.
3. The method according to claim 2, wherein the determining whether to update the second device identification information according to the comparison result comprises:
if the comparison result is that the first equipment identification information is inconsistent with the second equipment identification information, updating the second equipment identification information;
and if the comparison result is that the first equipment identification information is consistent with the second equipment identification information, not updating the second equipment identification information.
4. The method of claim 3, wherein the updating the second device identification information comprises:
and replacing the second equipment identification information with the first equipment identification information.
5. The method of claim 1, wherein before analyzing each of the images to obtain the first device identification information corresponding to the target cabinet, the method further comprises:
splicing the images according to the receiving sequence of the images to obtain spliced images;
and analyzing the spliced image to acquire first equipment identification information corresponding to the target cabinet.
6. The method according to any one of claims 1-5, further comprising:
sending an acquisition instruction to the image acquisition equipment according to a preset time period; the acquisition instruction is used for instructing the image acquisition equipment to acquire the image of the target cabinet.
7. An apparatus for device management, the apparatus comprising:
the receiving module is used for receiving at least one image of the target cabinet sent by the image acquisition equipment and the position information of the image acquisition equipment; the image acquisition equipment is arranged on a sliding rail of the target cabinet;
the first acquisition module is used for analyzing each image and acquiring first equipment identification information corresponding to the target cabinet;
the second obtaining module is used for obtaining second equipment identification information corresponding to the target equipment cabinet from a preset equipment management system according to the position information; the device management system comprises a corresponding relation between the position information and the second device identification information;
a determining module, configured to determine whether to update the second device identification information according to the first device identification information and the second device identification information.
8. A server comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by a processor.
CN202210866616.1A 2022-07-22 2022-07-22 Device management method, device, server, storage medium, and program product Pending CN115080358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210866616.1A CN115080358A (en) 2022-07-22 2022-07-22 Device management method, device, server, storage medium, and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210866616.1A CN115080358A (en) 2022-07-22 2022-07-22 Device management method, device, server, storage medium, and program product

Publications (1)

Publication Number Publication Date
CN115080358A true CN115080358A (en) 2022-09-20

Family

ID=83242948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210866616.1A Pending CN115080358A (en) 2022-07-22 2022-07-22 Device management method, device, server, storage medium, and program product

Country Status (1)

Country Link
CN (1) CN115080358A (en)

Similar Documents

Publication Publication Date Title
US11450027B2 (en) Method and electronic device for processing videos
RU2688757C1 (en) Device and method for analyzing imported video
CN106446816B (en) Face recognition method and device
CN107622008B (en) Traversal method and device for application page
CN108062507B (en) Video processing method and device
CN110019891B (en) Image storage method, image retrieval method and device
CN110572691B (en) Video reading method, device, equipment and storage medium
US20130343618A1 (en) Searching for Events by Attendants
CN114139015A (en) Video storage method, device, equipment and medium based on key event identification
CN110781818A (en) Video classification method, model training method, device and equipment
CN110659373B (en) Image retrieval method, image retrieval device, computer device and storage medium
RU2703152C1 (en) System and method of displaying objects movement scheme
CN113128448B (en) Video matching method, device, equipment and storage medium based on limb identification
CN113032621A (en) Data sampling method and device, computer equipment and storage medium
US9405786B2 (en) System and method for database flow management
CN110738175B (en) Face image processing method and device, computer equipment and storage medium
CN115080358A (en) Device management method, device, server, storage medium, and program product
CN110019863B (en) Object searching method and device, terminal equipment and storage medium
CN111046360A (en) Customer information management method and system based on face recognition
CN114020962A (en) Video system management method, electronic device, and computer-readable storage medium
CN109886185B (en) Target identification method, device, electronic equipment and computer storage medium
CN113382283A (en) Video title identification method and system
CN113628243A (en) Motion trajectory acquisition method and device, computer equipment and storage medium
CN111831845A (en) Track playback method and device
CN110263212B (en) Method and device for sharing search results

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination