Device management method, device, computer device and storage medium

By matching and updating the identification information reported by the device, the problems of identification redundancy and identification errors in the device identification management system are solved, and the accuracy and efficiency of equipment management are improved.

CN114938390BActive Publication Date: 2024-12-24GUANGDONG UNILUMIN ENERGY SAVINGS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210480934.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-05
Publication Date
2024-12-24
Estimated Expiration
2042-05-05

AI Technical Summary

Technical Problem

In the prior art, after the equipment failure maintenance, the equipment identification management system cannot effectively delete the original stored identification information, resulting in identification redundancy and identification errors, affecting the accuracy of equipment management.

Method used

By obtaining the identification information reported by the device to be managed, the historical identification information set is matched and the target identification information set is updated to avoid identification confusion and redundancy caused by manual input.

Benefits of technology

Improve the accuracy of equipment management, reduce identification redundancy issues, reduce maintenance costs, and improve the accuracy and efficiency of equipment identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114938390B_ABST
    Figure CN114938390B_ABST
Patent Text Reader

Abstract

The present application relates to a device management method, apparatus, computer equipment and storage medium. The above method includes: when obtaining the reported identification information reported by the device to be managed, obtaining a historical identification information set; the reported identification information includes an actual location identification and an actual device identification; performing a first matching process on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result; according to the first matching result, performing a second matching process on the historical identification information in the historical identification information set and the actual location identification to obtain a second matching result; updating the historical identification information set based on the first matching result and the second matching result to obtain a target identification information set; the updated target identification information set is used to perform device management on the device to be managed. The present application can improve the accuracy of device management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent control technology, and in particular to a device management method, apparatus, computer equipment and storage medium. Background Art

[0002] With the development of intelligent control technology, there has emerged a technology for remote management of multiple devices at the same time. When a device fails during operation, maintenance personnel usually dismantle the failed device for inspection or replacement, and reinstall the repaired device at the original location to ensure that the controller can accurately control and manage the corresponding devices at different locations.

[0003] At present, when the repaired equipment is reinstalled, the equipment identification is usually manually input into the identification management system one by one, and then the equipment identification in the identification management system is bound to the controller. However, after the manual input method is adopted, the identification management system cannot delete the original stored identification information, and when too many equipment identifications are input, it will cause identification redundancy in the identification management system, thereby causing the controller to run slowly or even misidentify the equipment identification. Therefore, how to improve the management accuracy of the equipment is a problem that needs to be solved in the present disclosure. Summary of the invention

[0004] Based on this, it is necessary to provide a device management method, apparatus, computer equipment, computer-readable storage medium and computer program product that can improve the accuracy of device management in response to the above technical problems.

[0005] In a first aspect, the present application provides a device management method. The method comprises:

[0006] When the reported identification information reported by the device to be managed is obtained, a historical identification information set is obtained; the reported identification information includes an actual location identification and an actual device identification;

[0007] Performing a first matching process on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result;

[0008] According to the first matching result, performing a second matching process on the historical identification information in the historical identification information set and the actual location identification to obtain a second matching result;

[0009] The historical identification information set is updated based on the first matching result and the second matching result to obtain a target identification information set; the updated target identification information set is used to perform device management on the device to be managed.

[0010] In one of the embodiments, the device to be managed includes a lamp; the reported identification information is sent by the lamp after the lamp is installed and powered on; the actual device identification in the reported identification information sent is determined based on the device information of the device to be managed; the actual location identification in the reported identification information sent is determined based on the location information of the device to be managed.

[0011] In one of the embodiments, obtaining the reported identification information reported by the device to be managed includes: when obtaining the identification request sent by the device to be managed, decoding the identification request to obtain the reported identification information; determining the first information interval and the second information interval in the reported identification information; reading the information located in the first information interval to obtain the actual location identification; reading the information located in the second sequence interval to obtain the actual device identification.

[0012] In one of the embodiments, the historical identification information in the historical identification information set is subjected to a first matching process with the actual device identification to obtain a first matching result, including: determining whether there is historical identification information including the actual device identification in the historical identification information set; if so, determining that the first matching result is that the device identification matches; if not, determining that the first matching result is that the device identification does not match.

[0013] In one of the embodiments, based on the first matching result, the historical identification information in the historical identification information set is subjected to a second matching process with the actual location identification to obtain a second matching result, including: when the first matching result is a device identification match, the historical identification information including the actual device identification is used as the first candidate identification information to obtain a first candidate identification information set; it is determined whether there is first candidate identification information including the actual location identification in the first candidate identification information set; if so, it is determined that the second matching result is a location identification match; if not, it is determined that the second matching result is a location identification mismatch.

[0014] In one of the embodiments, the historical identification information set is updated by comprehensively combining the first matching result and the second matching result to obtain a target identification information set, including: when the first matching result is a device identification match and the second matching result is a location identification mismatch, updating the first candidate device identification in the first candidate identification information to a preset value; storing the reported identification information in the historical identification information set to obtain a target identification information set.

[0015] In one of the embodiments, based on the first matching result, the historical identification information in the historical identification information set is subjected to a second matching process with the actual location identification to obtain a second matching result, including: when the first matching result is that the device identification does not match, determining whether there is historical identification information including the actual location identification in the historical identification information set; if so, using the historical identification information including the actual location identification as the second candidate identification information, and determining that the second matching result is that the location identification matches; if not, determining that the second matching result is that the location identification does not match.

[0016] In one of the embodiments, the historical identification information set is updated by combining the first matching result and the second matching result to obtain a target identification information set, including: when the first matching result is a device identification mismatch and the second matching result is a location identification match, updating the second candidate device identification in the second candidate identification information to the actual device identification to obtain a target identification information set.

[0017] In one of the embodiments, the above method also includes: when the first matching result is a device identification mismatch and the second matching result is a location identification mismatch, obtaining the actual location identification of the device to be managed a preset number of times at a preset time interval; for each actual location identification obtained, a second matching process is performed with the historical identification information in the historical identification information set to obtain a second matching result corresponding to each actual location identification; if the second matching results corresponding to each actual location identification are both location identification mismatches, the actual device identification and the actual location identification are displayed in the device management interface, and a special reminder identification is displayed at a location adjacent to the actual location identification.

[0018] In a second aspect, the present application also provides a device management apparatus. The apparatus comprises:

[0019] An identification acquisition module, used to acquire a historical identification information set when obtaining the reported identification information reported by the device to be managed; the reported identification information includes an actual location identification and an actual device identification;

[0020] an identification matching module, configured to perform a first matching process on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result; and perform a second matching process on the historical identification information in the historical identification information set and the actual location identification according to the first matching result to obtain a second matching result;

[0021] The identification update module is used to update the historical identification information set based on the first matching result and the second matching result to obtain a target identification information set; the updated target identification information set is used to manage the device to be managed.

[0022] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0023] When the reported identification information reported by the device to be managed is obtained, a historical identification information set is obtained; the reported identification information includes an actual location identification and an actual device identification;

[0024] Performing a first matching process on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result;

[0025] According to the first matching result, performing a second matching process on the historical identification information in the historical identification information set and the actual location identification to obtain a second matching result;

[0026] The historical identification information set is updated based on the first matching result and the second matching result to obtain a target identification information set; the updated target identification information set is used to perform device management on the device to be managed.

[0027] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0028] When the reported identification information reported by the device to be managed is obtained, a historical identification information set is obtained; the reported identification information includes an actual location identification and an actual device identification;

[0029] Performing a first matching process on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result;

[0030] According to the first matching result, performing a second matching process on the historical identification information in the historical identification information set and the actual location identification to obtain a second matching result;

[0031] The historical identification information set is updated based on the first matching result and the second matching result to obtain a target identification information set; the updated target identification information set is used to perform device management on the device to be managed.

[0032] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0033] When the reported identification information reported by the device to be managed is obtained, a historical identification information set is obtained; the reported identification information includes an actual location identification and an actual device identification;

[0034] Performing a first matching process on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result;

[0035] According to the first matching result, performing a second matching process on the historical identification information in the historical identification information set and the actual location identification to obtain a second matching result;

[0036] The historical identification information set is updated based on the first matching result and the second matching result to obtain a target identification information set; the updated target identification information set is used to perform device management on the device to be managed.

[0037] The above-mentioned device management method, apparatus, computer device, storage medium and computer program product, when obtaining the reported identification information reported by the device to be managed, can obtain a historical identification information set, wherein the reported identification information includes an actual location identification and an actual device identification. By performing a first matching process on the historical identification information in the historical identification information set and the actual device identification, a first matching result can be obtained, and then according to the first matching result, the historical identification information in the historical identification information set and the actual location identification are subjected to a second matching process, and a second matching result can be obtained. In this way, the historical identification information set can be updated by combining the first matching result and the second matching result to obtain a target identification information set, so that the updated target identification information set is used for device management of the device to be managed. Since the present application directly adopts the process of performing a first matching process and a second matching process on the reported identification information and the historical identification information set in sequence, compared with the traditional method of manually inputting the device identifications one by one into the identification management system, the present application effectively avoids the identification confusion problem caused by multiple manual inputs according to the combination of the actual location identification and the actual device identification, thereby improving the accuracy of device management.

[0038] In addition, since the historical identification information set is updated according to the first matching result and the second matching result to obtain the target identification information set, the automatic entry of the updated target identification information set is realized, and the identification redundancy problem caused by the repeated appearance of the target identification information set in the identification management system is avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 An application environment diagram of a device management method in an embodiment;

[0040] Figure 2 A schematic diagram of a flow chart of a device management method in an embodiment;

[0041] Figure 3 is a schematic diagram of the principle of the first matching process in one embodiment;

[0042] Figure 4 A schematic diagram of a process of lamp management in one embodiment;

[0043] Figure 5 is a schematic diagram of a flow chart of a second matching process in one embodiment;

[0044] Figure 6 is a schematic diagram of a flow chart of a second matching process in another embodiment;

[0045] Figure 7 is a structural block diagram of a device management device in an embodiment;

[0046] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] The device management method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the application environment includes a terminal 102 and a server 104, wherein the terminal 102 can communicate with the server 104 through a network. The terminal 102 is used to generate the reported identification information reported by the device to be managed, and send the reported identification information to the server 104, and the server 104 is used to obtain the historical identification information set from the pre-stored identification management system, and match the obtained reported identification information with the historical identification information set to obtain the target identification information set, so that the updated target identification information set can manage the terminal 102. Among them, the terminal 102 can be a device to be managed, and the device to be managed can be a lamp, a tablet computer, a laptop computer, a desktop computer, a smart speaker, etc., but is not limited to this. The server 104 can be an independent physical server, or it can be a server cluster or a distributed system composed of multiple physical servers.

[0049] In one embodiment, Figure 2 As shown, a device management method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0050] Step 202: when the reported identification information reported by the device to be managed is obtained, a historical identification information set is obtained; the reported identification information includes an actual location identification and an actual device identification.

[0051] Among them, the device to be managed may include a terminal controller, which can read the device information and location information of the device to be managed during actual installation; the reported identification information refers to the identification information sent to the server when the device to be managed is reinstalled in the corresponding position after maintenance. For example, the reported identification information may be a composite UID number (UserIdentification), the actual location identification may be a wandering ID number associated with the location information of the device to be managed, and the actual device identification may be an identity ID number associated with the device information of the device to be managed, that is, the wandering ID number and the identity ID number are combined into a composite UID number, and then the composite UID number is reported to the server; the historical identification information set refers to the set formed when the device to be managed sends identification information to the server after the initial installation is completed, and stores the identification information in the identification management system.

[0052] Specifically, when the device to be managed is reinstalled at the corresponding position after repair, the actual device identifier corresponding to the device information and the actual location identifier corresponding to the location information are obtained, that is, the terminal controller in the device to be managed automatically generates the actual location identifier online according to the location information after reinstallation, and reads the actual device identifier of the device to be managed. The terminal controller in the device to be managed obtains the reported identification information by combining the actual device identifier and the actual location identifier, and sends the reported identification information to the server. When the server obtains the reported identification information, it obtains the historical identification information set from the pre-stored identification management system, wherein the identification management system is used to store the historical device identifiers and historical location identifiers sent to the server by all the devices to be managed after the initial installation is completed.

[0053] In one of the embodiments, the server includes a main control unit and an identification management system. The terminal controller in the device to be managed reads the historical identification information and sends the historical identification information to the main control unit. The main control unit is used to identify the historical identification information and store the identified historical identification information in the identification management system. Among them, the device to be managed does not have preset identification information stored in the identification management system before the initial installation, and the terminal controller cannot read the historical location identification of the device to be managed; only after the initial installation of the device to be managed is completed and powered on, the terminal controller will automatically generate a historical location identification based on the initial location information of the installation, and read the historical device identification of the device to be managed, and then construct the historical location identification and the historical device identification into historical identification information, that is, a composite UID number. Therefore, for different initial installation situations of the same device to be managed, the historical identification information obtained by the server is not exactly the same.

[0054] In one embodiment, a device management interface is displayed in the server, and an identification information list is displayed in the device management interface. In response to a selection operation on identification information in the identification information list, a historical device identification and a historical location identification corresponding to the selection operation can be obtained from the identification management system. Therefore, the user can view the historical identification information in real time.

[0055] Step 204: Perform a first matching process on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result.

[0056] The historical identification information stored in the identification management system includes historical device identification and historical location identification, for example, historical identification information [A, 1], [B, 2], [C, 3], [D, 4] is stored, where letters represent historical location identifications and numbers represent historical device identifications. The process of performing a first matching process on the historical identification information and the actual device identification is to perform a first matching process on the historical device identification and the actual device identification.

[0057] In one of the embodiments, a first matching process is performed on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result, including: determining whether there is historical identification information including the actual device identification in the historical identification information set; if so, determining that the first matching result is that the device identification matches; if not, determining that the first matching result is that the device identification does not match.

[0058] Specifically, Figure 3 As shown, Figure 3The schematic diagram of the principle of the first matching process. The server determines whether there is historical identification information including the actual device identification in the historical identification information set. For example, referring to the above, when the reported identification information is [C, 2], the letters therein represent the actual location identification, and the numbers represent the actual device identification. It can be found from the historical identification information set that the historical device identification 2 in the historical identification information [B, 2] matches the actual device identification 2, which means that the historical device identification 2 is the same as the actual device identification 2. At this time, it is determined that the first matching result is that the device identification matches. When the reported identification information is [D, 5], the historical identification information including the actual device identification 5 cannot be found from the historical identification information set, and the first matching result is determined to be that the device identification does not match.

[0059] In one of the embodiments, when the first matching result is a device identification mismatch, the actual device identification can be regarded as the identification corresponding to the newly replaced device to be managed, rather than the device to be managed that was reinstalled after repair. At this time, the reported identification information of the device to be managed can be regarded as a new online composite UID number.

[0060] Step 206: According to the first matching result, a second matching process is performed between the historical identification information in the historical identification information set and the actual location identification to obtain a second matching result.

[0061] The process of performing a second matching process on the historical identification information and the actual location identification is to perform a second matching process on the historical location identification and the actual location identification.

[0062] Specifically, when the first matching result is that the device identification matches, the server determines whether there is historical identification information including the actual location identification in the historical identification information set. For example, referring to the above, when the reported identification information is [C, 2], it has been determined that the actual device identification 2 matches the historical device identification 2 in the historical identification information [B, 2], but the actual location identification C does not match the historical location identification B in the historical identification information [B, 2]. Therefore, the second matching result is determined to be that the location identification does not match.

[0063] When the first matching result is that the device identification does not match, the server determines whether there is historical identification information including the actual location identification in the historical identification information set. For example, referring to the above, when the reported identification information is [D, 5], it has been determined that the historical identification information including the actual device identification 5 cannot be found from the historical identification information set, but the historical identification information [D, 4] including the actual location identification D can be found from the historical identification information set. Therefore, the second matching result is determined to be that the location identification matches. It is easy to understand that the above example does not represent all actual matching processes, and only some examples are given here.

[0064] In one of the embodiments, when the first matching result is that the device identification does not match, and the second matching result is that the location identification does not match, the reported identification information of the device to be managed is regarded as a disconnected UID number.

[0065] Step 208: The historical identification information set is updated based on the first matching result and the second matching result to obtain a target identification information set; the updated target identification information set is used to perform device management on the device to be managed.

[0066] Among them, the first matching result and the second matching result both contain two matching results. When the first matching result and the second matching result are combined, four matching states can be obtained, namely, the device identifier matches and the location identifier matches, the device identifier matches and the location identifier does not match, the device identifier does not match and the location identifier matches, and the device identifier does not match and the location identifier does not match. That is, according to the matching state of the device to be managed, different forms of updating methods are adopted for the historical identification information set.

[0067] Specifically, when the matching status is that the device identification matches and the location identification matches, it is considered that the device to be managed that has been reinstalled after maintenance has not been replaced, and the installation location is the same as the initial installation location. At this time, the server does not update the historical identification information set. When the matching status is that the device identification matches and the location identification does not match, it is considered that the device to be managed that has been reinstalled after maintenance has not been replaced, but the installation location has changed. At this time, the server needs to update the historical identification information set. When the matching status is that the device identification does not match and the location identification matches, it is considered that the device to be managed at the corresponding location has been replaced. At this time, the server needs to update the historical identification information set. When the matching status is that the device identification does not match and the location identification does not match, it can be regarded as a new device to be managed and a new installation location has been added. At this time, the server needs to update the historical identification information set. It can also be regarded as an error in reading the reported identification information of the device to be managed. At this time, the device management interface in the server displays a warning message.

[0068] In the above-mentioned device management method, when the reported identification information reported by the device to be managed is obtained, a historical identification information set can be obtained, wherein the reported identification information includes an actual location identification and an actual device identification; by performing a first matching process on the historical identification information in the historical identification information set and the actual device identification, a first matching result can be obtained, and then according to the first matching result, the historical identification information in the historical identification information set and the actual location identification are second matched to obtain a second matching result; in this way, the historical identification information set can be updated based on the first matching result and the second matching result to obtain a target identification information set. Since the present application adopts the process of performing a first matching process and a second matching process on the reported identification information and the historical identification information set in sequence, compared with the traditional method of manually inputting the device identifications one by one into the identification management system, the present application effectively avoids the problem of identification confusion after the device is reinstalled according to the combination of the actual location identification and the actual device identification, thereby improving the accuracy of device management.

[0069] In one of the embodiments, the device to be managed includes a lamp; the reported identification information is sent by the lamp after the lamp is installed and powered on; the actual device identification in the reported identification information sent is determined based on the device information of the device to be managed; the actual location identification in the reported identification information sent is determined based on the location information of the device to be managed.

[0070] Among them, after the repaired lamp is reinstalled in the corresponding position and powered on, the terminal controller in the lamp can read the actual device identification corresponding to the lamp according to the device information of the lamp, and read the actual location identification corresponding to the lamp according to the location information of the lamp.

[0071] In one embodiment, if Figure 4 As shown, Figure 4A flow chart of application scenarios for lamp management is provided. S401: When a lamp fails, maintenance personnel will dismantle the failed lamp for inspection or replacement; S402: After the repaired lamp is reinstalled and powered on, the terminal controller in the lamp reads the reported identification information corresponding to the lamp, and sends the reported identification information to the server; S403: After receiving the reported identification information, the server enters a system self-check, that is, determines whether the number of reported identification information is the same as the preset number of devices to be managed; S404: The server matches and verifies the reported identification information, that is, matches and verifies the composite UID number, and obtains the corresponding matching result. Among them, the matching verification may include a first matching process of the historical identification information in the historical identification information set with the actual device identification, a second matching process of the historical identification information in the historical identification information set with the actual location identification, etc. S405: The server updates the historical identification information according to the matching result, for example, deleting the historical device identification in the historical identification information, storing the actual device identification in the historical identification information set, etc.

[0072] In the present embodiment, for the specific application scenario when the equipment to be managed includes lamps, there is no need to manually enter the equipment identification of the lamps, which effectively solves the problem that when the equipment identification of the lamp is unclear or lost, the equipment identification cannot be identified during subsequent installation, thereby improving the accuracy of lamp management, while also effectively reducing the cost of subsequent debugging and maintenance of the lamps and reducing the construction cost of maintenance personnel.

[0073] In one of the embodiments, obtaining reported identification information reported by the device to be managed includes: when obtaining an identification request sent by the device to be managed, decoding the identification request to obtain reported identification information; determining a first information interval and a second information interval in the reported identification information; reading information located in the first information interval to obtain an actual location identification; reading information located in the second sequence interval to obtain an actual device identification.

[0074] Specifically, when the device to be managed is reinstalled after repair, the terminal controller in the device to be managed generates an identification request and sends the identification request to the server. The server decodes the identification request through a preset target decoding protocol, and can decode a reported identification information sequence, that is, decode a composite UID number. Among them, the first information interval corresponding to the actual location identifier is the 1st to 8th bits in the reported identification information sequence, and the second information interval corresponding to the actual device identifier is the 9th to 13th bits in the reported identification information sequence. The server reads the corresponding data from each information interval respectively, and can obtain the actual location identifier and the actual device identifier respectively.

[0075] In one embodiment, the first information interval corresponding to the actual location identifier may also include a longitude location identifier and a latitude location identifier, that is, the longitude location identifier may be read from the first to fourth bits in the first information interval, and the latitude location identifier may be read from the fifth to eighth bits in the first information interval. The code corresponding to the longitude location identifier may be G, and the code corresponding to the latitude location identifier may be K.

[0076] In this embodiment, by adopting a high-speed target decoding protocol, the format consistency of different reported identification information can be ensured, avoiding the problem of poor device management flexibility when only a single device identification is used in the traditional method. In addition, since the information in the identification request can be obtained by directly parsing the reported identification information sequence, the efficiency of subsequent matching processing of the actual device identification is improved.

[0077] In one embodiment, after receiving the identification request sent by at least one device to be managed, the server is triggered to enter the system self-check process. The server counts the number of identification requests, and when the number of identification requests does not match the preset number of device management, a prompt message is displayed in the device management interface so that maintenance personnel can inspect the actual installation status of the device to be managed.

[0078] In one embodiment, if Figure 5 As shown, Figure 5 FIG. 1 is a flow chart of the second matching process in an embodiment. The flow chart includes the following steps:

[0079] Step 501: When the first matching result is that the device identification matches, the historical identification information including the actual device identification is used as the first candidate identification information to obtain a first candidate identification information set.

[0080] For example, referring to the above example, when the reported identification information is [A, 1], the historical device identification 1 in the historical identification information [A, 1] can be found from the historical identification information set to match the actual device identification 1, so the historical identification information [A, 1] is used as the first candidate identification information; when the reported identification information is [C, 2], the historical device identification 2 in the historical identification information [B, 2] can be found from the historical identification information set to match the actual device identification 2, so the historical identification information [B, 2] is used as the first candidate identification information; the first candidate identification information set is obtained by combining the historical identification information corresponding to each device to be managed.

[0081] Step 502: Determine whether there is first candidate identification information including an actual location identifier in the first candidate identification information set.

[0082] Step 503: If it exists, determine that the second matching result is a match of the location identifier.

[0083] Step 504: If not, determine that the second matching result is that the location identifier does not match.

[0084] Specifically, when the reported identification information is [A, 1], the server determines that the historical location identification A in the first candidate identification information [A, 1] matches the actual location identification A in the reported identification information [A, 1], and determines that the second matching result is that the location identification matches. When the reported identification information is [C, 2], the server determines that the historical location identification B in the first candidate identification information [B, 2] does not match the actual location identification C in the reported identification information [C, 2], and determines that the second matching result is that the location identification does not match.

[0085] In this embodiment, a method is provided for performing detailed matching of reported identification information when the first matching result is a match for the device identification. By accurately identifying the device to be managed, confusion in reported identification information due to installation displacement of the device to be managed is effectively avoided, so that the device can be managed accurately and efficiently in the future.

[0086] In one of the embodiments, the historical identification information set is updated by combining the first matching result and the second matching result to obtain a target identification information set, including: when the first matching result is a match of the device identification and the second matching result is a mismatch of the location identification, updating the first candidate device identification in the first candidate identification information to a preset value; storing the reported identification information in the historical identification information set to obtain a target identification information set.

[0087] The preset value may be a numerical value pre-set by the user, or a coding value obtained through a code clearing rule. The code clearing rule refers to a process of automatically assigning AAAAA to the actual location identifier when an actual device identifier that needs to be cleared appears.

[0088] Specifically, as shown in reference 5, when the server determines that the first matching result is that the device identifier matches and the second matching result is that the location identifier does not match, the server updates the first candidate device identifier in the first candidate identifier information to a preset value and retains the first candidate location identifier in the first candidate identifier information. For example, the first candidate device identifier 2 in the first candidate identifier information [B, 2] is updated to the preset value AAAAA to obtain [B, AAAAA], and the reported identifier information [C, 2] is stored in the historical identifier information set to obtain the target identifier information set.

[0089] In one embodiment, when the first matching result is that the device identification matches, and the second matching result is that the location identification matches, the historical identification information is used as the target identification information. For example, when the reported identification information is [A, 1], it can be determined that the historical identification information [A, 1] matches the device identification and the location identification, and therefore, the historical identification information [A, 1] is directly used as the target identification information [A, 1].

[0090] In one of the embodiments, before the reported identification information is stored in the historical identification information set, the reported identification information is displayed on the device management interface of the server. When the administrator confirms the reported identification information, the reported identification information is stored in the historical identification information set. If the administrator does not confirm the reported identification information, the reported identification information is stored in the alarm event.

[0091] In this embodiment, since the storage of the reported identification information is not simply deleted or overwritten, it is also necessary to clear the first candidate device identification in the first candidate identification information to ensure the uniqueness of the identification information when the device is managed later.

[0092] In one of the embodiments, based on the first matching result, the historical identification information in the historical identification information set is subjected to a second matching process with the actual location identification to obtain a second matching result, including: when the first matching result is that the device identification does not match, determining whether there is historical identification information including the actual location identification in the historical identification information set; if so, taking the historical identification information including the actual location identification as the second candidate identification information, and determining that the second matching result is that the location identification matches; if not, determining that the second matching result is that the location identification does not match.

[0093] The second candidate identification information refers to historical identification information that does not include an actual device identification but includes an actual location identification.

[0094] Among them, the first matching result is that the device identification does not match, that is, when the reported identification information is [D, 5], the server did not find the historical identification information including the actual device identification 5 from the historical identification information set; when the reported identification information is [F, 6], the server did not find the actual device identification 6 from the historical identification information set.

[0095] Specifically, the server searches the historical identification information set and can find the historical identification information [D, 4] including the actual location identification D, but cannot find the historical identification information including the actual location identification E. At this time, the historical identification information [D, 4] including the actual location identification D can be used as the second candidate identification information, and the second matching result is determined to be that the location identification matches. When the reported identification information is [F, 6], the second matching result is determined to be that the location identification does not match.

[0096] In this embodiment, a method for performing detailed matching on reported identification information is provided when the first matching result is that the device identification does not match, and by accurately identifying the device to be managed, the device can be subsequently managed accurately and efficiently.

[0097] In one of the embodiments, the historical identification information set is updated by combining the first matching result and the second matching result to obtain a target identification information set, including: when the first matching result is that the device identification does not match and the second matching result is that the location identification matches, the second candidate device identification in the second candidate identification information is updated to the actual device identification to obtain the target identification information set.

[0098] Specifically, when the server determines that the first matching result is that the device identifier does not match, and the second matching result is that the location identifier matches, the server updates the second candidate device identifier in the second candidate identifier information to the actual device identifier, and retains the second candidate location identifier in the second candidate identifier information. For example, the second candidate device identifier 4 in the second candidate identifier information [D, 4] is updated to the actual device identifier 5, and [D, 5] is obtained as the target identifier information.

[0099] In this embodiment, since the storage of the reported identification information is not simply deleted or overwritten, duplicate and redundant errors of the reported identification information that occur after the device to be managed is reinstalled are avoided, thereby improving the accuracy of device management.

[0100] In one of the embodiments, the above method also includes: when the first matching result is a device identification mismatch and the second matching result is a location identification mismatch, obtaining the actual location identification of the device to be managed a preset number of times at a preset time interval; for each actual location identification obtained, a second matching process is performed with the historical identification information in the historical identification information set to obtain a second matching result corresponding to each actual location identification; if the second matching results corresponding to each actual location identification are both location identification mismatches, the actual device identification and the actual location identification are displayed, and a special reminder identification is displayed at a location adjacent to the actual location identification.

[0101] Specifically, when the server determines that the first matching result is that the device identification does not match, and the second matching result is that the location identification does not match, the server sends a preset number of reporting identification information reading instructions to the device to be managed at a preset time interval, wherein the preset number of times can be 3 times, and the preset time interval can be 30 seconds, 40 seconds, and 60 seconds respectively. The server obtains the reporting identification information sent by the device to be managed, and performs a second matching process with the historical identification information in the historical identification information set for the actual location identification in the reporting identification information obtained each time. When the second matching result obtained after each second matching process is that the location identification does not match, the reporting identification information is manually added manually, and a special reminder mark is displayed at a position adjacent to the actual location identification in the device management interface. For example, when the reporting identification information is [F, 6], it is determined that the device identification does not match and the location identification does not match, and the reporting identification information [F, 6] is manually added to the target identification information set. Among them, the special reminder mark is used to remind maintenance personnel that the reporting identification information may be a special UID number.

[0102] In this embodiment, by acquiring the actual location identifiers of the to-be-managed devices a preset number of times at preset time intervals, omission of some special identifiers due to erroneous reading of the actual location identifiers is avoided.

[0103] In one embodiment, when the target identification information set is obtained, the lamp can also be controlled by the target identification information set. For example, referring to the above example, the historical identification information set is [A, 1], [B, 2], [C, 3], [D, 4]. After the historical identification information set is updated by combining the first matching result and the second matching result, the target identification information set obtained is [A, 1], [B, AAAAA], [C, 2], [D, 5], [F, 6], wherein the target identification information [B, AAAAA] indicates that the relevant equipment is not installed on the location identifier B. When the application scenario of stage lighting control is required, the target identification information [A, 1] displayed in the device management interface can be triggered to control the lamp 1 corresponding to the location identifier A to flash, and the target identification information [C, 2] and the target identification information [D, 5] can be triggered to control the lamp 2 corresponding to the location identifier C and the lamp 5 corresponding to the location identifier D to rotate, etc.

[0104] In one embodiment, if Figure 6 As shown, Figure 6It is a flowchart of the second matching process in another embodiment. It includes the following steps: S601: When the device identification does not match, obtain the historical identification information, wherein the historical identification information can be a composite UID1, for example, composite UID1 = longitude position identification G1 & latitude position identification K1-device identification ID1: 58462; S602: When the device identification does not match, obtain the reported identification information, wherein the reported identification information can be a composite UID2, for example, composite UID2 = longitude position identification G2 & latitude position identification K2-device identification ID2: 58XXX; S603: Compare and judge the historical location identification with the actual location identification, that is, compare and judge the longitude position identification G1 & latitude position identification K1 with the longitude position identification G2 & latitude position identification K2; S604: When the historical location identification does not match, obtain the reported identification information, wherein the reported identification information can be a composite UID2, for example, composite UID2 = longitude position identification G2 & latitude position identification K2-device identification ID2: 58XXX; S605: Compare and judge the historical location identification with the actual location identification, that is, compare and judge the longitude position identification G1 & latitude position identification K1 with the longitude position identification G2 & latitude position identification K2; S606: When the historical location identification does not match, obtain the reported identification information, wherein the reported identification information can be a composite UID2, for example, composite UID2 = longitude position identification G2 & latitude position identification K2 If the historical location identifier is the same as the actual location identifier, the second matching result is that the location identifier matches; S605: the historical location identifier remains unchanged, and the historical device identifier corresponding to the historical location identifier is deleted; S606: the actual device identifier is stored at the corresponding position where the historical device identifier is deleted to form a new composite UID number; S607: when the historical location identifier is different from the actual location identifier, the second matching result is that the location identifier does not match; S608: obtain the reported identification information again according to the preset number of times, and return to S603 to continue execution; S609: when the historical location identifier is different from the actual location identifier obtained each time, the reported identification information is regarded as an invalid composite code, a warning identifier is output, and the reported identification information is manually added.

[0105] In this embodiment, a method for performing detailed matching on reported identification information is provided when the first matching result is that the device identification does not match, and by accurately identifying the device to be managed, the device can be subsequently managed accurately and efficiently.

[0106] In one of the embodiments, when the server obtains the reported identification information reported by the device to be managed, it obtains a historical identification information set; the reported identification information includes an actual location identification and an actual device identification; the server determines whether there is historical identification information including an actual device identification in the historical identification information set, and if so, determines that the first matching result is a device identification match; if not, determines that the first matching result is a device identification mismatch. When the first matching result is a device identification match, the server uses the historical identification information including the actual device identification as the first candidate identification information, obtains the first candidate identification information set, and determines whether there is first candidate identification information including an actual location identification in the first candidate identification information set; if so, uses the first candidate identification information including the actual location identification as the first target candidate identification information, and determines that the second matching result is a location identification match; if not, determines that the second matching result is a location identification mismatch. When the first matching result is that the device identification does not match, the server determines whether there is historical identification information including the actual location identification in the historical identification information set. If so, the historical identification information including the actual location identification is used as the second target candidate identification information, and the second matching result is determined to be a location identification match. If not, the second matching result is determined to be a location identification mismatch. When the first matching result is a device identification match, and the second matching result is a location identification mismatch, the server updates the first candidate device identification in the first target candidate identification information to a preset value, and stores the reported identification information in the historical identification information set to obtain a target identification information set. When the first matching result is a device identification mismatch, and the second matching result is a location identification match, the server updates the second candidate device identification in the second target candidate identification information to the actual device identification, and obtains a target identification information set.

[0107] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0108] Based on the same inventive concept, the embodiment of the present application also provides a device management device for implementing the device management method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more device management device embodiments provided below can refer to the limitations on the device management method above, and will not be repeated here.

[0109] In one embodiment, Figure 7 As shown, a device management apparatus 700 is provided, including: an identification acquisition module 702, an identification matching module 704 and an identification update module 706, wherein:

[0110] The identification acquisition module 702 is used to acquire a historical identification information set when the reported identification information reported by the device to be managed is acquired; the reported identification information includes an actual location identification and an actual device identification.

[0111] The identification matching module 704 is used to perform a first matching process on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result; based on the first matching result, perform a second matching process on the historical identification information in the historical identification information set and the actual location identification to obtain a second matching result.

[0112] The identification update module 706 is used to update the historical identification information set based on the first matching result and the second matching result to obtain a target identification information set; the updated target identification information set is used to perform device management on the device to be managed.

[0113] In one of the embodiments, the equipment management device 700 is also used to determine that the equipment to be managed includes lamps; the reported identification information is sent through the lamps after the lamps are installed and powered on; the actual equipment identification in the reported identification information sent is determined based on the equipment information of the equipment to be managed; the actual location identification in the reported identification information sent is determined based on the location information of the equipment to be managed.

[0114] In one embodiment, the device management apparatus 700 further includes a request decoding module 708, which is used to decode the identification request sent by the device to be managed to obtain reported identification information; determine the first information interval and the second information interval in the reported identification information; read the information in the first information interval to obtain the actual location identification; and read the information in the second sequence interval to obtain the actual device identification.

[0115] In one embodiment, the identification matching module 704 includes a first matching module 7041, which is used to determine whether there is historical identification information including an actual device identification in the historical identification information set; if so, the first matching result is determined to be a device identification match; if not, the first matching result is determined to be a device identification mismatch.

[0116] In one embodiment, the identification matching module 704 includes a second matching module 7042, which is used to, when the first matching result is a match of the device identification, use the historical identification information including the actual device identification as the first candidate identification information to obtain a first candidate identification information set; determine whether there is first candidate identification information including the actual location identification in the first candidate identification information set; if so, determine that the second matching result is a match of the location identification; if not, determine that the second matching result is a mismatch of the location identification.

[0117] In one embodiment, the identification update module 706 includes a first update module 7061, which is used to update the first candidate device identification in the first candidate identification information to a preset value when the first matching result is a device identification match and the second matching result is a location identification mismatch; store the reported identification information in a historical identification information set to obtain a target identification information set.

[0118] In one embodiment, the second matching module 7042 is also used to determine whether there is historical identification information including an actual location identification in the historical identification information set when the first matching result is a device identification mismatch; if so, the historical identification information including the actual location identification is used as the second candidate identification information, and the second matching result is determined to be a location identification match; if not, the second matching result is determined to be a location identification mismatch.

[0119] In one embodiment, the identification update module 706 includes a second update module 7062, which is used to update the second candidate device identification in the second candidate identification information to the actual device identification to obtain a target identification information set when the first matching result is that the device identification does not match and the second matching result is that the location identification matches.

[0120] In one embodiment, the device management apparatus 700 further includes an identification display module 710, which is used to obtain the actual location identification of the device to be managed for a preset number of times at a preset time interval when the first matching result is a device identification mismatch and the second matching result is a location identification mismatch; for each actual location identification obtained, a second matching process is performed with the historical identification information in the historical identification information set to obtain a second matching result corresponding to each actual location identification; if the second matching results corresponding to each actual location identification are both location identification mismatches, the actual device identification and the actual location identification are displayed in the device management interface, and a special reminder identification is displayed in the vicinity of the actual location identification.

[0121] Each module in the above-mentioned device management device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.

[0122] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O), a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a device management method is implemented. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse, etc.

[0123] Those skilled in the art will understand that Figure 8The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0124] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0125] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0126] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in the above-mentioned method embodiments.

[0127] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0128] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0129] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A device management method, characterized in that: The method comprises: When the reported identification information reported by the device to be managed is obtained, a historical identification information set is obtained; the reported identification information includes an actual location identification and an actual device identification; Performing a first matching process on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result; When the first matching result is that the device identification matches, the historical identification information including the actual device identification is used as the first candidate identification information, and the actual device identification is used as the first candidate device identification in the first candidate identification information to obtain a first candidate identification information set; Determine whether there is first candidate identification information including an actual location identifier in the first candidate identification information set; If so, determining that the second matching result is a match of the location identifier; If not, determining the second matching result is that the location identifier does not match; When the first matching result is that the device identification matches, and the second matching result is that the location identification does not match, updating the first candidate device identification in the first candidate identification information to a preset value to clear the first candidate device identification; The reported identification information is stored in the historical identification information set to obtain a target identification information set; the updated target identification information set is used to perform device management on the device to be managed.

2. The method according to claim 1, characterized in that: The equipment to be managed includes a lamp; the reported identification information is sent by the lamp after the lamp is installed and powered on; the actual device identification in the reported identification information sent is determined based on the device information of the equipment to be managed; the actual location identification in the reported identification information sent is determined based on the location information of the equipment to be managed.

3. The method according to claim 1, characterized in that: The preset value is a coding value obtained through a code clearing rule, and the code clearing rule is used to automatically assign a value to the actual location identifier when an actual device identifier that needs to be cleared appears.

4. The method according to claim 1, characterized in that The method further comprises: When the first matching result is that the device identification does not match, determining whether there is historical identification information including the actual location identification in the historical identification information set; If so, the historical identification information including the actual location identification is used as the second candidate identification information, and the second matching result is determined to be a match between the location identification and the actual location identification; If not, it is determined that the second matching result is that the location identifier does not match.

5. The method according to claim 4, characterized in that The method further comprises: When the first matching result is that the device identification does not match, and the second matching result is that the location identification matches, the second candidate device identification in the second candidate identification information is updated to the actual device identification to obtain a target identification information set.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: When the first matching result is that the device identifier does not match, and the second matching result is that the location identifier does not match, obtaining the actual location identifier of the device to be managed a preset number of times at a preset time interval; For each actual location identifier obtained, a second matching process is performed with the historical identifier information in the historical identifier information set to obtain a second matching result corresponding to each actual location identifier; If the second matching results corresponding to the actual location identifiers are all location identifier mismatches, the actual device identifier and the actual location identifier are displayed in the device management interface, and a special reminder identifier is displayed near the actual location identifier.

7. A device management device, characterized in that: The device comprises: An identification acquisition module, used to acquire a historical identification information set when obtaining reported identification information reported by the device to be managed; the reported identification information includes an actual location identification and an actual device identification; an identification matching module, configured to perform a first matching process on the historical identification information in the historical identification information set and the actual device identification to obtain a first matching result; when the first matching result is that the device identification matches, the historical identification information including the actual device identification is used as the first candidate identification information, and the actual device identification is used as the first candidate device identification in the first candidate identification information to obtain a first candidate identification information set; Determine whether there is first candidate identification information including an actual location identifier in the first candidate identification information set; If so, determining that the second matching result is a match of the location identifier; If not, determining the second matching result is that the location identifier does not match; an identification updating module, configured to update the first candidate device identification in the first candidate identification information to a preset value to clear the first candidate device identification when the first matching result is that the device identification matches and the second matching result is that the location identification does not match; The reported identification information is stored in the historical identification information set to obtain a target identification information set; the updated target identification information set is used to perform device management on the device to be managed.

8. The device according to claim 7, characterized in that The device further includes an identification display module, which is used to obtain the actual location identification of the device to be managed for a preset number of times at a preset time interval when the first matching result is that the device identification does not match and the second matching result is that the location identification does not match; For each actual location identifier obtained, a second matching process is performed with the historical identifier information in the historical identifier information set to obtain a second matching result corresponding to each actual location identifier; If the second matching results corresponding to the actual location identifiers are all location identifier mismatches, the actual device identifier and the actual location identifier are displayed in the device management interface, and a special reminder identifier is displayed near the actual location identifier.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.