Device inventory method, device, equipment and storage medium

By setting encrypted QR codes on the device and using the collaborative work between the client and the server, the problems of low efficiency and poor accuracy of manual inventory in the existing technology are solved, and efficient and accurate equipment inventory is achieved.

CN114943317BActive Publication Date: 2025-04-18BEIJING JINGDONG ZHENSHI INFORMATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210625621.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-02
Publication Date
2025-04-18
Estimated Expiration
2042-06-02

AI Technical Summary

Technical Problem

The existing manual inventory method is time-consuming and labor-intensive, reducing inventory efficiency and unable to ensure the accuracy of inventory results.

Method used

By presetting the encrypted QR code generated based on the preset encryption method on the device, the client receives the device inventory task issued by the server, and the user triggers the scanning operation based on the device category information to be counted. The client sends the scan result to the server for decryption, and determines the inventory result of the device to be counted.

Benefits of technology

It improves the efficiency of equipment inventory, ensures the accuracy of inventory results, and avoids users cheating during the inventory process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114943317B_ABST
    Figure CN114943317B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a device inventory method, apparatus, equipment and storage medium. The method is applied to a client, and includes: receiving a device inventory task issued by a server, wherein the device inventory task includes the category information of the device to be inventoried; in response to a scanning operation triggered by a user based on the category information of the device to be inventoried, scanning the device QR code in the scanning area, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes a QR code on the device to be inventoried that matches the category information of the device to be inventoried; sending the scanning result to the server, so that the server decrypts the scanning result, and determines the inventory result corresponding to the device to be inventoried based on the decryption result. Through the technical solution of the embodiment of the present invention, the inventory efficiency can be improved, and the accuracy of the inventory result can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to computer technology, and in particular to a device inventory method, apparatus, device and storage medium. Background Art

[0002] With the rapid development of computer technology, it is often necessary to take inventory of equipment in order to effectively manage the equipment. For example, the equipment in the material warehouse can be taken inventory. At present, it is usually done by manually reading the equipment information and taking inventory of the equipment based on the read equipment information.

[0003] However, in the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] The existing manual inventory counting method is time-consuming and labor-intensive, reduces inventory counting efficiency, and cannot guarantee the accuracy of inventory counting results. Summary of the invention

[0005] The embodiments of the present invention provide a device inventory method, apparatus, equipment and storage medium to improve the efficiency of inventory and ensure the accuracy of inventory results.

[0006] In a first aspect, an embodiment of the present invention provides a device inventory method, which is applied to a client and includes:

[0007] Receiving a device inventory task issued by a server, wherein the device inventory task includes category information of devices to be inventoried;

[0008] In response to a scanning operation triggered by a user based on the category information of the device to be counted, a device QR code in a scanning area is scanned, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes a QR code on the device to be counted that matches the category information of the device to be counted;

[0009] The scanning result is sent to the server, so that the server decrypts the scanning result and determines the inventory result corresponding to the device to be inventoried based on the decryption result.

[0010] Optionally, after sending the scan result to the server, the method further includes:

[0011] Receiving device scanning error information sent by the server, wherein the device scanning error information is sent by the server when determining that the current scanning device does not match the category information of the device to be counted;

[0012] Displays the device scanning error information.

[0013] Optionally, the method further comprises:

[0014] In response to the device scanning completion operation, sending device scanning completion information to the server, so that the server determines the inventory result corresponding to the device to be inventoried based on the device scanning completion information;

[0015] The device scanning completion operation is triggered by the user after scanning each device to be counted that matches the category information of the device to be counted.

[0016] Optionally, the method further comprises:

[0017] Receiving device rescan information sent by the server, wherein the device rescan information is sent by the server when it is determined that the number of scanned devices is inconsistent with the number of devices to be counted based on the device scan completion information;

[0018] The device rescan information is displayed so that the user can rescan each device to be counted that matches the category information of the device to be counted based on the device rescan information.

[0019] Optionally, the equipment inventory task includes a plurality of equipment category information to be inventoried, and each piece of equipment category information to be inventoried corresponds to a plurality of equipment to be inventoried.

[0020] In a second aspect, an embodiment of the present invention further provides a device inventory method, which is applied to a server, comprising:

[0021] Sending a device inventory task to a client, wherein the device inventory task includes category information of the device to be inventoried;

[0022] receiving a scanning result sent by the client, wherein the scanning result is obtained by the client scanning a device QR code in a scanning area in response to a scanning operation triggered by a user based on the category information of the device to be counted, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes a QR code on the device to be counted that matches the category information of the device to be counted;

[0023] The scanning result is decrypted, and the inventory result corresponding to the device to be inventoried is determined based on the decryption result.

[0024] Optionally, determining the inventory result corresponding to the device to be inventoried based on the decryption result includes:

[0025] Matching the decrypted QR code serial number with the QR code serial number corresponding to each device to be counted in the device inventory task;

[0026] If there is a first device to be counted that is successfully matched, the inventory result corresponding to the first device to be counted is determined as a normal result.

[0027] Optionally, the method further comprises:

[0028] Receiving device scanning completion information sent by the client, wherein the device scanning completion information is sent by the client in response to a device scanning completion operation, and the device scanning completion operation is triggered by the user after scanning each device to be inventoried that matches the category information of the device to be inventoried;

[0029] In response to the device scanning completion information, an inventory result corresponding to a second device to be inventoried in the device inventory task is determined, wherein the second device to be inventoried refers to a device to be inventoried for which an inventory result has not yet been determined.

[0030] Optionally, before determining the inventory result corresponding to the second device to be inventoried in the device inventory task, the method further includes:

[0031] If it is detected that the preset re-inventory conditions are met, the number of scanning devices corresponding to the current inventory is determined;

[0032] If it is detected that the number of scanned devices is inconsistent with the number of devices to be counted, the device rescan information is sent to the client, so that the client displays the device rescan information, allowing the user to rescan each device to be counted that matches the device category information to be counted based on the device rescan information.

[0033] Optionally, determining the inventory result corresponding to the second device to be inventoried in the device inventory task includes:

[0034] If it is detected that the preset re-inventory condition is not met at present, the inventory result corresponding to the second device to be inventoried in the device inventory task is determined as a lost result.

[0035] In a third aspect, an embodiment of the present invention further provides a device inventory apparatus, which is integrated in a client, and includes:

[0036] The device inventory task receiving module is used to receive the device inventory task issued by the server, wherein the device inventory task includes the category information of the device to be inventoried;

[0037] A QR code scanning module, configured to scan a device QR code in a scanning area in response to a scanning operation triggered by a user based on the device category information to be counted, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes a QR code on a device to be counted that matches the device category information to be counted;

[0038] The scanning result sending module is used to send the scanning result to the server, so that the server decrypts the scanning result and determines the inventory result corresponding to the device to be inventoried based on the decryption result.

[0039] In a fourth aspect, an embodiment of the present invention further provides a device inventory apparatus, which is integrated in a server, and includes:

[0040] An equipment inventory task sending module is used to send the equipment inventory task to the client, wherein the equipment inventory task includes category information of the equipment to be inventoried;

[0041] a scanning result receiving module, configured to receive a scanning result sent by the client, wherein the scanning result is obtained by the client scanning a device QR code in a scanning area in response to a scanning operation triggered by a user based on the category information of the device to be counted, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes a QR code on the device to be counted that matches the category information of the device to be counted;

[0042] The inventory result determination module is used to decrypt the scanning result and determine the inventory result corresponding to the device to be inventoried based on the decryption result.

[0043] In a fifth aspect, an embodiment of the present invention further provides a device inventory system, the system comprising a client and a server; wherein:

[0044] The client is used to implement the device inventory method provided in the first aspect;

[0045] The server is used to implement the device inventory method provided in the second aspect.

[0046] In a sixth aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0047] one or more processors;

[0048] A memory for storing one or more programs;

[0049] When the one or more programs are executed by the one or more processors, the one or more processors implement the device inventory method provided by any embodiment of the present invention.

[0050] In a seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a device inventory method as provided in any embodiment of the present invention.

[0051] The embodiments of the above invention have the following advantages or beneficial effects:

[0052] By setting the device QR code on the device in advance, and the device QR code is an encrypted QR code generated based on a preset encryption method, the user cannot actively generate the device QR code, thereby avoiding the situation of inventory cheating by the user during the inventory process, thereby ensuring the accuracy of the inventory result. The client receives the device inventory task issued by the server, and the device inventory task includes the category information of the device to be inventoried, so that the user determines the matching device to be inventoried based on the category information of the device to be inventoried, and triggers a scanning operation for the device to be inventoried. In response to the scanning operation, the client scans the device QR code in the scanning area and sends the scanning result to the server. The server decrypts the scanning result and determines the inventory result corresponding to the device to be inventoried based on the decryption result, so that the device information can be obtained more quickly by scanning the device QR code, and the user only needs to pay attention to whether the scanned device matches the category information of the device to be inventoried, and cannot pay attention to other information of the device to be inventoried, thereby improving the efficiency of device inventory. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0054] Figure 1 is a flow chart of a device inventory method provided by an embodiment of the present invention;

[0055] Figure 2 is an example diagram of a device QR code label involved in an embodiment of the present invention;

[0056] Figure 3 is a flow chart of a device inventory method provided by an embodiment of the present invention;

[0057] Figure 4 It is a structural schematic diagram of a device inventory device provided by an embodiment of the present invention;

[0058] Figure 5 It is a structural schematic diagram of a device inventory device provided by an embodiment of the present invention;

[0059] Figure 6 It is a structural schematic diagram of a device inventory system provided by an embodiment of the present invention;

[0060] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0062] Figure 1 The flowchart of a device inventory method provided by an embodiment of the present invention is applicable to the case of performing inventory on devices. The method can be executed by a device inventory device, which can be implemented by software and / or hardware and integrated into a client. The client can be a mobile terminal for receiving inventory tasks and having a scanning function. Figure 1 As shown, the method specifically comprises the following steps:

[0063] S110: Receive a device inventory task sent by a server, wherein the device inventory task includes category information of devices to be inventoried.

[0064] Among them, the equipment inventory task can be used to characterize the equipment that needs to be inventoried this time. The category information of the equipment to be inventoried can refer to the category to which the equipment to be inventoried belongs. This embodiment can classify and manage all equipment and determine the category information to which each device belongs. The category information of the equipment to be inventoried can refer to the first-level category information, second-level category information or third-level category information corresponding to the equipment, and the larger the category ordinal number, the finer the classification. This embodiment can be set based on specific business needs, and any level of category information can be used as the category information of the equipment to be inventoried. The equipment inventory task can include one or more category information of the equipment to be inventoried, so that different categories of equipment can be inventoried at one time. For example, the equipment inventory task can include three first-level category information of shelves, computers and conveyor belts. Among them, the computer category can also be subdivided into second-level category information of computers of different brands, or subdivided into second-level category information of desktops and notebooks, etc.

[0065] Specifically, on the visual interface of the server, the manager can configure the category information of the equipment to be counted based on the inventory requirements, so that the server generates the corresponding equipment inventory task based on the configured category information of the equipment to be counted, and sends the equipment inventory task to the client of the user (i.e., the inventory person). The client can receive the equipment inventory task and display the category information of the equipment to be counted in the equipment inventory task on the client interface.

[0066] Exemplarily, the equipment inventory task includes a plurality of equipment category information to be inventoried, and each piece of equipment category information to be inventoried corresponds to a plurality of equipment to be inventoried.

[0067] Specifically, the equipment inventory task sent by the server includes multiple different equipment category information to be counted, such as shelves, computers, and conveyor belts. Each equipment category information to be counted corresponds to multiple different equipment to be counted. Each equipment to be counted has unique equipment identification information, so that different equipment to be counted can be distinguished by the equipment identification information. For example, the category information of the shelf can correspond to all specific shelves in the warehouse, such as Shelf 1, Shelf 2, Shelf 3, etc. When a large number of equipment needs to be counted, such as inventorying equipment in the warehouse, it is only necessary to send the equipment category information corresponding to each of these equipment to be counted, so that the inventory personnel can search for matching equipment based on each equipment category information to be counted, and each time a device matching any of the equipment category information to be counted is found, a scanning operation can be triggered for the device without finding the specific device, thereby achieving blind scanning, thereby greatly improving the inventory efficiency.

[0068] S120. In response to a scanning operation triggered by a user based on the category information of the device to be counted, a device QR code in a scanning area is scanned, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes a QR code on the device to be counted that matches the category information of the device to be counted.

[0069] Among them, the device to be counted may refer to the device corresponding to the category information of the device to be counted. The device may refer to any type of device, such as a fixed device that is fixedly installed, or a movable device, etc. The preset encryption method may be any encryption algorithm, such as RSA, Rabin or DSA, etc. The server may use a QR code generation engine with a key rule to generate an encrypted QR code corresponding to each device based on the preset encryption method and the device code of each device. For example, the device code of each device may be used as the QR code serial number, and the preset encryption method may be used to encrypt and generate a device QR code corresponding to each device. Each device QR code may be set on the corresponding device, so that the encrypted device QR code may be used to identify the device. Figure 2 An example diagram of a device QR code label is given. Figure 2 As shown, the device QR code label on each device may include the device name and the encrypted device QR code. The device QR code can be set on the device in the form of an electronic tag, so that the inventory cheating can be further avoided by updating the QR code in real time. The device QR code can also be printed out and attached to the corresponding device, so that it can be more suitable for equipment operating outdoors, exposed to wind and rain, and not suitable for installing electronic tags.

[0070] It should be noted that if the device QR code label includes the device code or unencrypted QR code, the user can actively generate the device QR code based on the device code or unencrypted QR code through the QR code generator, and scan and count the device at his own computer location, instead of actually scanning the QR code on the device. Some devices may have been lost, resulting in incorrect inventory results. In view of this, the embodiment of the present invention is set to include only the encrypted device QR code, so that the user cannot actively generate the device QR code, and must scan the device QR code on the device for inventory, thereby avoiding the situation where the user cheats in the inventory process, thereby ensuring the accuracy of the inventory results.

[0071] Specifically, the user can search for each device to be counted that matches the device category information on the client, and trigger the corresponding scanning operation for the device QR code pre-set on the device to be counted, such as opening the scanning function in the client and scanning the device QR code. When the client detects the scanning operation, it can scan the device QR code in the scanning area to obtain the scanning result, so that the device information can be obtained more quickly by scanning the device QR code, without manually reading the device information, thereby improving the efficiency of inventory.

[0072] It should be noted that when searching for devices to be counted, users only need to pay attention to whether the devices to be scanned match the category information of the devices to be counted. They cannot pay attention to other information of the devices to be counted, such as the device storage location information, quantity information, etc. Therefore, there is no need to find specific devices based on the device details information. It is only necessary to scan all devices that match the category information of the devices to be counted. In this way, blind scanning of devices can be performed for the equipment inventory task, which greatly improves the efficiency of equipment inventory.

[0073] S130: Send the scan result to the server, so that the server decrypts the scan result and determines the inventory result corresponding to the device to be inventoried based on the decryption result.

[0074] The scanning result may refer to the encrypted serial number of the QR code obtained after scanning the QR code of the device, and the decryption result may refer to the QR code serial number obtained by decoding the encrypted serial number of the QR code.

[0075] Specifically, the client can send the scan result of each scan by the user to the server. The server can use a two-dimensional code generation engine with a key rule to decrypt the scan result accordingly, obtain the decrypted two-dimensional code serial number, that is, the device code, and can match the decrypted two-dimensional code serial number with the two-dimensional code serial number corresponding to each device to be counted in the device inventory task. If the match is successful, the inventory result corresponding to the first successfully matched device to be counted can be directly determined as a normal result, that is, the result of normal use of the device. If the match fails, it means that the currently scanned device is an extra device. At this time, the inventory result corresponding to the device can be determined as a result to be verified, or the two-dimensional code serial number of the device can be matched with the two-dimensional code serial number corresponding to each device in the device database to determine whether the device is a device other than the device to be counted in the warehouse. If the match fails, it is determined that the inventory result corresponding to the device is a result to be verified, so that manual verification can be performed later. Exemplarily, the server can also send the inventory result to the client so that the user can understand the inventory result of the currently scanned device in real time.

[0076] Exemplarily, after S130, the following may be included: receiving device scanning error information sent by the server, wherein the device scanning error information is sent by the server when determining that the current scanning device does not match the category information of the device to be counted; and displaying the device scanning error information.

[0077] Specifically, after decrypting the scan result, the server can obtain the device category information corresponding to the current scanning device based on the decrypted QR code serial number, that is, the device code, and determine whether the current scanning device matches the device category information to be counted by detecting whether the device category information is consistent with the device category information to be counted. If they match, the decrypted QR code serial number can be matched with the QR code serial number corresponding to each device to be counted in the device inventory task, and the inventory result can be determined based on the matching result. If there is no match, it means that the device the user is looking for is wrong. At this time, the device scan error information can be sent to the client, and the client can display the received device scan error information, so as to promptly remind the user that the current scanning device is not the device to be counted and needs to be rescanned, further ensuring the accuracy of the inventory result.

[0078] The technical solution of the embodiment of the present invention sets a device QR code on the device in advance, and the device QR code is an encrypted QR code generated based on a preset encryption method, so that the user cannot actively generate the device QR code, thereby avoiding the situation of inventory cheating by the user during the inventory process, thereby ensuring the accuracy of the inventory result. The client receives the device inventory task issued by the server, and the device inventory task includes the category information of the device to be inventoried, so that the user determines the matching device to be inventoried based on the category information of the device to be inventoried, and triggers a scanning operation for the device to be inventoried. In response to the scanning operation, the client scans the device QR code in the scanning area and sends the scanning result to the server. The server decrypts the scanning result and determines the inventory result corresponding to the device to be inventoried based on the decryption result, so that the device information can be obtained more quickly by scanning the device QR code, and the user only needs to pay attention to whether the scanned device matches the category information of the device to be inventoried, and cannot pay attention to other information of the device to be inventoried, thereby improving the efficiency of device inventory.

[0079] Based on the above technical solution, the method may further include: in response to the device scanning completion operation, sending the device scanning completion information to the server, so that the server determines the inventory results corresponding to the devices to be counted based on the device scanning completion information; wherein the device scanning completion operation is triggered by the user after scanning each device to be counted that matches the category information of the device to be counted.

[0080] Specifically, after scanning all the devices to be counted in the warehouse that match the category information of the devices to be counted, the user can trigger the device scan completion operation on the client, such as clicking the completion button on the interface. When the client detects that the device scan completion operation is completed, it can generate device scan completion information and send the device scan completion information to the server. Based on the device scan completion information, the server can determine the inventory result corresponding to the second device to be counted for which the inventory result has not yet been determined in the device inventory task. For example, when the server receives the device scan completion information, it indicates that the user has scanned all the existing devices that match the category information of the devices to be counted. At this time, the inventory result corresponding to the second device to be counted can be directly determined as a lost result, that is, a result that the device has been lost.

[0081] Exemplarily, the method may also include: receiving device rescan information sent by the server, wherein the device rescan information is sent by the server when it determines, based on the device scan completion information, that the number of scanned devices is inconsistent with the number of devices to be counted; and displaying the device rescan information so that the user can rescan each device to be counted that matches the category information of the device to be counted based on the device rescan information.

[0082] The number of scanned devices may refer to the total number of non-repetitive devices scanned by the user during the current inventory process. The number of devices to be inventoried may refer to the total number of devices to be inventoried corresponding to the device inventory task.

[0083] Specifically, when the server receives the device scan completion information, it can detect whether the number of scanned devices is consistent with the number of devices to be counted. For example, if the device inventory task requires scanning 10 devices, but the user has only scanned 8 devices, then the device rescan information can be sent to the client, so that the client can display the device rescan information to remind the user that the scan number is inconsistent and that each device to be counted that matches the device category information to be counted needs to be rescanned, so that the user can perform a scan and re-inventory, avoiding the situation where the real device data is inconsistent with the server data due to the user's missed scan, and further ensuring the accuracy of the inventory results.

[0084] Figure 3 The flowchart of a device inventory method provided by an embodiment of the present invention is applicable to the case of taking inventory of devices. The method can be executed by a device inventory device, which can be implemented by software and / or hardware and integrated in the server. Figure 3 As shown, the method specifically comprises the following steps:

[0085] S310: Send a device inventory task to the client, wherein the device inventory task includes category information of the devices to be inventoried.

[0086] Among them, the equipment inventory task can be used to characterize the equipment that needs to be inventoried this time. The category information of the equipment to be inventoried may refer to the category to which the equipment to be inventoried belongs. This embodiment can classify and manage all equipment and determine the category information to which each device belongs. The category information of the equipment to be inventoried may refer to the primary category or secondary category corresponding to the equipment, which can be set based on specific business needs. The equipment inventory task may include one or more equipment category information to be inventoried so that different categories of equipment can be inventoried at one time. For example, the category information of the equipment to be inventoried may include shelf categories, computer categories, and conveyor belt categories, etc. Among them, the computer category can also be subdivided into categories of computers of different brands, and / or subdivided into categories of desktops and notebooks.

[0087] Specifically, on the visual interface of the server, the manager can configure the category information of the equipment to be counted based on the inventory requirements. The server generates the corresponding equipment inventory task based on the configured category information of the equipment to be counted, and sends the equipment inventory task to the client of the user (i.e., the inventory person). The client can receive the equipment inventory task and display the category information of the equipment to be counted in the equipment inventory task on the client interface.

[0088] S320, receiving a scanning result sent by the client, where the scanning result is obtained by the client scanning a device QR code in a scanning area in response to a scanning operation triggered by the user based on the category information of the device to be counted, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes a QR code on the device to be counted that matches the category information of the device to be counted.

[0089] Among them, the device to be counted may refer to the device corresponding to the category information of the device to be counted. The device may refer to any type of device, such as a fixed device installed in a fixed manner, or a movable device, etc. The preset encryption method may be any encryption algorithm, such as RSA, Rabin or DSA, etc. The server may use a QR code generation engine with a key rule to generate an encrypted QR code corresponding to each device based on the preset encryption method and the device code of each device. For example, the device code of each device may be used as a QR code serial number, and the device QR code corresponding to each device may be generated by encrypting it using the preset encryption method. Each device QR code may be set on the corresponding device, so that the encrypted device QR code is used to identify the device. The device QR code label on each device may include the device name and the encrypted device QR code. The device QR code may be set on the device in the form of an electronic tag, so that the inventory cheating may be further avoided by updating the QR code in real time. The device QR code may also be printed out and attached to the corresponding device, so that it is more suitable for devices operating outdoors, exposed to wind and rain, and not suitable for installing electronic tags.

[0090] It should be noted that if the device QR code label includes the device code or unencrypted QR code, the user can actively generate the device QR code based on the device code or unencrypted QR code through the QR code generator, and scan and count the device at his own computer location, instead of actually scanning the QR code on the device. Some devices may have been lost, resulting in incorrect inventory results. In view of this, the embodiment of the present invention is set to include only the encrypted device QR code, so that the user cannot actively generate the device QR code, and must scan the device QR code on the device for inventory, thereby avoiding the situation where the user cheats in the inventory process, thereby ensuring the accuracy of the inventory results.

[0091] Specifically, the user can search for each device to be counted that matches the device category information on the client, and trigger the corresponding scanning operation for the device QR code pre-set on the device to be counted, such as opening the scanning function in the client and scanning the device QR code. When the client detects the scanning operation, it can scan the device QR code in the scanning area to obtain the scanning result, that is, the QR code encrypted serial number. The client can send the scanning result of each scan by the user to the server, so that the device information can be obtained more quickly by scanning the device QR code, without manually reading the device information, thereby improving the inventory efficiency.

[0092] S330: Decrypt the scan result, and determine the inventory result corresponding to the device to be inventoried based on the decryption result.

[0093] Specifically, the server can use a QR code generation engine with key rules to decrypt the scanning result accordingly, obtain the decrypted QR code serial number, that is, the device code, and can use the decrypted QR code serial number to determine the inventory result corresponding to the device to be inventoried.

[0094] Exemplarily, "determining the inventory result corresponding to the device to be counted based on the decryption result" in S330 may include: matching the QR code serial number obtained by decryption with the QR code serial number corresponding to each device to be counted in the device inventory task; if there is a first device to be counted that matches successfully, determining the inventory result corresponding to the first device to be counted as a normal result.

[0095] Specifically, the server can match the decrypted QR code serial number with the QR code serial number corresponding to each device to be counted in the device inventory task. If the match is successful, the inventory result corresponding to the first successfully matched device to be counted can be directly determined as a normal result, that is, the result of normal use of the device. If the match fails, it means that the currently scanned device is an extra device. At this time, the inventory result corresponding to the device can be determined as a result to be verified, or the QR code serial number of the device can be matched with the QR code serial number corresponding to each device in the device database to determine whether the device is a device other than the device to be counted in the warehouse. If the match fails, the inventory result corresponding to the device is determined to be a result to be verified, so that manual verification can be performed later. Exemplarily, the server can also send the inventory result to the client so that the user can understand the inventory result of the currently scanned device in real time.

[0096] Exemplarily, before "determining the inventory result corresponding to the device to be inventoried based on the decryption result" in S330, it may also include: determining the device category information corresponding to the current scanning device based on the QR code serial number obtained by decryption; if it is detected that the device category information corresponding to the current scanning device does not match the device category information to be inventoried, sending the device scanning error information to the client, so that the client displays the device scanning error information.

[0097] Specifically, after decrypting the scan result, the server can obtain the device category information corresponding to the current scanning device based on the decrypted QR code serial number, that is, the device code, and determine whether the current scanning device matches the device category information to be counted by detecting whether the device category information is consistent with the device category information to be counted. If they match, the decrypted QR code serial number can be matched with the QR code serial number corresponding to each device to be counted in the device inventory task, and the inventory result can be determined based on the matching result. If there is no match, it means that the device the user is looking for is wrong. At this time, the device scan error information can be sent to the client, and the client can display the received device scan error information, so as to promptly remind the user that the current scanning device is not the device to be counted and needs to be rescanned, further ensuring the accuracy of the inventory result.

[0098] The technical solution of the embodiment of the present invention sets a device QR code on the device in advance, and the device QR code is an encrypted QR code generated based on a preset encryption method, so that the user cannot actively generate the device QR code, thereby avoiding the situation of inventory cheating by the user during the inventory process, thereby ensuring the accuracy of the inventory result. The client receives the device inventory task issued by the server, and the device inventory task includes the category information of the device to be inventoried, so that the user determines the matching device to be inventoried based on the category information of the device to be inventoried, and triggers a scanning operation for the device to be inventoried. In response to the scanning operation, the client scans the device QR code in the scanning area and sends the scanning result to the server. The server decrypts the scanning result and determines the inventory result corresponding to the device to be inventoried based on the decryption result, so that the device information can be obtained more quickly by scanning the device QR code, and the user only needs to pay attention to whether the scanned device matches the category information of the device to be inventoried, and cannot pay attention to other information of the device to be inventoried, thereby improving the efficiency of device inventory.

[0099] Based on the above technical solution, the method may further include: receiving device scanning completion information sent by the client; and determining the inventory result corresponding to the second device to be inventoried in the device inventory task in response to the device scanning completion information.

[0100] The device scan completion information is sent by the client in response to the device scan completion operation. The device scan completion operation is triggered by the user after scanning each device to be counted that matches the device category information to be counted. The second device to be counted refers to the device to be counted for which the inventory result has not yet been determined.

[0101] Specifically, after scanning all the devices to be counted in the warehouse that match the category information of the devices to be counted, the user can trigger the device scan completion operation on the client, such as clicking the completion button on the interface. When the client detects that the device scan completion operation has been completed, it can generate device scan completion information and send the device scan completion information to the server. Based on the device scan completion information sent by the client, the server can determine the inventory result corresponding to the second device to be counted for which the inventory result has not yet been determined in the device inventory task. For example, when the server receives the device scan completion information, it indicates that the user has scanned all existing devices that match the category information of the devices to be counted. At this time, the inventory result corresponding to the second device to be counted can be directly determined as a lost result, that is, a result that the device has been lost.

[0102] Exemplarily, before determining the inventory result corresponding to the second device to be counted in the device inventory task, it may also include: if it is detected that the preset re-inventory conditions are currently met, determining the number of scanned devices corresponding to the current inventory; if it is detected that the number of scanned devices is inconsistent with the number of devices to be counted, sending the device rescan information to the client, so that the client displays the device rescan information, so that the user can rescan each device to be counted that matches the category information of the device to be counted based on the device rescan information.

[0103] The preset re-inventory condition may refer to a condition set based on business needs that allows re-inventory of devices. For example, the preset re-inventory condition may be that the current re-inventory times are less than a preset times threshold, and / or the inventory duration is less than a preset duration threshold. The number of scanned devices may refer to the total number of non-duplicate devices scanned by the user during the current inventory process. The number of devices to be inventoried may refer to the total number of devices to be inventoried corresponding to the device inventory task.

[0104] Specifically, after receiving the device scan completion information sent by the client, the server can first detect whether the preset re-inventory conditions are currently met. If so, the server determines the number of scanned devices corresponding to the current inventory, and detects whether the number of scanned devices is consistent with the number of devices to be inventoried. For example, if the device inventory task requires scanning 10 devices, but the user has only scanned 8 devices, then the device re-scan information can be sent to the client at this time, so that the client can display the device re-scan information to remind the user that the scan number is inconsistent and that each device to be inventoried that matches the device category information to be inventoried needs to be re-scanned, so that the user can perform a scan re-inventory to avoid the situation where the real device data is inconsistent with the server data due to the user's missed scan, and further ensure the accuracy of the inventory results.

[0105] Exemplarily, determining the inventory result corresponding to the second device to be counted in the device inventory task may include: if it is detected that a preset re-inventory condition is not currently met, determining the inventory result corresponding to the second device to be counted in the device inventory task as a lost result.

[0106] Specifically, when the server detects that the preset review conditions are not met, it indicates that the current inventory result has a certain degree of credibility and the review operation can be stopped to save resources. At this time, the inventory result corresponding to the second device to be inventoried can be determined as a lost result, thereby further improving the accuracy of the inventory result.

[0107] The following is an embodiment of a device inventory apparatus provided in an embodiment of the present invention. The device and the device inventory method applied to the client described above belong to the same inventive concept. For details not described in detail in the embodiment of the device inventory apparatus, reference can be made to the embodiment of the device inventory method applied to the client described above.

[0108] Figure 4 The schematic diagram of the structure of a device inventory device provided by an embodiment of the present invention is applicable to the situation of taking inventory of devices. The device is integrated in the client and specifically includes: a device inventory task receiving module 410, a QR code scanning module 420 and a scanning result sending module 430.

[0109] Among them, the device inventory task receiving module 410 is used to receive the device inventory task issued by the server, wherein the device inventory task includes the category information of the device to be inventoried; the QR code scanning module 420 is used to scan the device QR code in the scanning area in response to the scanning operation triggered by the user based on the category information of the device to be inventoried, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes the QR code on the device to be inventoried that matches the category information of the device to be inventoried; the scanning result sending module 430 is used to send the scanning result to the server, so that the server decrypts the scanning result, and determines the inventory result corresponding to the device to be inventoried based on the decryption result.

[0110] Optionally, the device further comprises:

[0111] A device scanning error information receiving module, used for receiving device scanning error information sent by the server after sending the scanning result to the server, wherein the device scanning error information is sent by the server when it is determined that the current scanning device does not match the category information of the device to be counted;

[0112] The device scanning error information display module is used to display the device scanning error information.

[0113] Optionally, the device further comprises:

[0114] A device scanning completion information sending module, used for sending device scanning completion information to the server in response to the device scanning completion operation, so that the server determines the inventory result corresponding to the device to be inventoried based on the device scanning completion information;

[0115] The device scanning completion operation is triggered after the user scans each device to be counted that matches the category information of the device to be counted.

[0116] Optionally, the device further comprises:

[0117] The device rescan information receiving module is used to receive the device rescan information sent by the server, wherein the device rescan information is sent by the server when it is determined based on the device scan completion information that the number of scanned devices is inconsistent with the number of devices to be counted;

[0118] The device rescan information display module is used to display the device rescan information so that the user can rescan each device to be counted that matches the category information of the device to be counted based on the device rescan information.

[0119] Optionally, the equipment inventory task includes a plurality of equipment category information to be inventoried, and each piece of equipment category information to be inventoried corresponds to a plurality of equipment to be inventoried.

[0120] The device inventory apparatus provided in the embodiment of the present invention can execute the device inventory method applied to the client, and has the corresponding functional modules and beneficial effects of executing the device inventory method applied to the client.

[0121] It is worth noting that in the embodiment of the above-mentioned equipment inventory device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0122] The following is an embodiment of a device inventory apparatus provided in an embodiment of the present invention. The device and the device inventory method applied to the server described above belong to the same inventive concept. For details not described in detail in the embodiment of the device inventory apparatus, reference can be made to the embodiment of the device inventory method applied to the server described above.

[0123] Figure 5 The schematic diagram of the structure of a device inventory device provided by an embodiment of the present invention is applicable to the situation of taking inventory of devices. The device is integrated in the server and specifically includes: a device inventory task sending module 510, a scanning result receiving module 520 and an inventory result determining module 530.

[0124] Among them, the device inventory task sending module 510 is used to send the device inventory task to the client, wherein the device inventory task includes the category information of the device to be inventoried; the scanning result receiving module 520 is used to receive the scanning result sent by the client, and the scanning result is obtained by the client in response to the scanning operation triggered by the user based on the category information of the device to be inventoried, by scanning the device QR code in the scanning area, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes the QR code on the device to be inventoried that matches the category information of the device to be inventoried; the inventory result determination module 530 is used to decrypt the scanning result and determine the inventory result corresponding to the device to be inventoried based on the decryption result.

[0125] Optionally, the inventory result determination module 530 is specifically configured to:

[0126] The decrypted QR code serial number is matched with the QR code serial number corresponding to each device to be counted in the device inventory task; if there is a first device to be counted that matches successfully, the inventory result corresponding to the first device to be counted is determined as a normal result.

[0127] Optionally, the device further comprises:

[0128] A device scanning completion information receiving module, used to receive device scanning completion information sent by a client, wherein the device scanning completion information is sent by the client in response to a device scanning completion operation, and the device scanning completion operation is triggered by the user after scanning each device to be counted that matches the category information of the device to be counted;

[0129] The inventory result determination module 530 is further used to: determine the inventory result corresponding to the second device to be inventoried in the device inventory task in response to the device scanning completion information, wherein the second device to be inventoried refers to the device to be inventoried for which the inventory result has not yet been determined.

[0130] Optionally, the device further comprises:

[0131] The device rescan information sending module is used to determine the number of scanned devices corresponding to the current inventory if it is detected that the preset re-inventory conditions are currently met before determining the inventory result corresponding to the second device to be counted in the device inventory task; if it is detected that the number of scanned devices is inconsistent with the number of devices to be counted, the device rescan information is sent to the client, so that the client displays the device rescan information, so that the user can rescan each device to be counted that matches the category information of the device to be counted based on the device rescan information.

[0132] Optionally, the inventory result determination module 530 is further specifically configured to:

[0133] If it is detected that the preset re-inventory condition is not met at present, the inventory result corresponding to the second device to be inventoried in the device inventory task is determined as a lost result.

[0134] The device inventory apparatus provided in the embodiment of the present invention can execute the device inventory method applied to the server, and has the corresponding functional modules and beneficial effects of executing the device inventory method applied to the server.

[0135] It is worth noting that in the embodiment of the above-mentioned equipment inventory device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0136] Figure 6 This is a schematic diagram of the structure of a device inventory system provided by an embodiment of the present invention. This embodiment is applicable to the situation of taking inventory of devices. Figure 6 As shown, the system includes: a client 610 and a server 620.

[0137] There may be one or more clients 610, each of which is connected to and communicates with a server 620 for data transmission. The client 610 may be used to implement the above-mentioned device inventory method applied to the client. The server 620 may be used to implement the above-mentioned device inventory method applied to the server.

[0138] The device inventory system in this embodiment sets the device QR code on the device in advance, and the device QR code is an encrypted QR code generated based on a preset encryption method, so that the user cannot actively generate the device QR code, thereby avoiding the situation of inventory cheating by the user during the device inventory process, thereby ensuring the accuracy of the inventory result. The client receives the device inventory task issued by the server, and the device inventory task includes the category information of the device to be inventoried, so that the user determines the matching device to be inventoried based on the category information of the device to be inventoried, and triggers a scanning operation for the device to be inventoried. In response to the scanning operation, the client scans the device QR code in the scanning area and sends the scanning result to the server. The server decrypts the scanning result and determines the inventory result corresponding to the device to be inventoried based on the decryption result, so that the device information can be obtained more quickly by scanning the device QR code, and the user only needs to pay attention to whether the scanned device matches the category information of the device to be inventoried, and cannot pay attention to other information of the device to be inventoried, thereby improving the efficiency of device inventory.

[0139] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 7 A block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 7 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0140] like Figure 7 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).

[0141] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0142] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.

[0143] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 7 not shown, usually called a "hard drive"). Although Figure 7 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0144] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0145] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 12, and / or may communicate with any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0146] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing a device inventory method provided in an embodiment of the present invention, the method comprising:

[0147] Receive a device inventory task issued by a server, wherein the device inventory task includes the category information of the device to be inventoried; in response to a scanning operation triggered by a user based on the category information of the device to be inventoried, scan the device QR code in the scanning area, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes a QR code on the device to be inventoried that matches the category information of the device to be inventoried; send the scanning result to the server, so that the server decrypts the scanning result, and determines the inventory result corresponding to the device to be inventoried based on the decryption result. Or,

[0148] Sending a device inventory task to a client, wherein the device inventory task includes device category information to be counted; receiving a scan result sent by the client, wherein the scan result is obtained by the client scanning a device QR code in a scanning area in response to a scan operation triggered by a user based on the device category information to be counted, wherein the device QR code is an encrypted QR code generated based on a preset encryption method, and the device QR code includes a QR code on the device to be counted that matches the device category information to be counted; decrypting the scan result, and determining an inventory result corresponding to the device to be counted based on the decryption result.

[0149] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the device inventory method provided by any embodiment of the present invention.

[0150] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the device inventory method provided in any embodiment of the present invention are implemented.

[0151] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0152] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0153] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0154] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0155] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0156] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A device inventory method, characterized in that: Applied to the client, including: Receiving a device inventory task issued by a server, wherein the device inventory task includes category information of devices to be inventoried, and the category information of devices to be inventoried refers to the category to which the devices to be inventoried belong; In response to a scanning operation triggered by a user based on the category information of the device to be counted, the device QR code in the scanning area is scanned, wherein the scanned device only needs to match the category information of the device to be counted, the device QR code is an encrypted QR code generated by encrypting the QR code serial number using a preset encryption method by using the device code as the device QR code serial number, the device QR code includes the QR code on the device to be counted that matches the category information of the device to be counted, and the device code is not displayed on the device to be counted; The scanning result is sent to the server so that the server decrypts the scanning result and matches the decrypted QR code serial number with the QR code serial number corresponding to each device to be inventoried in the device inventory task; if there is a first device to be inventoried that has successfully matched, the inventory result corresponding to the first device to be inventoried is determined as a normal result, and the normal result refers to the result of normal use of the device.

2. The method according to claim 1, characterized in that After the scanning result is sent to the server, the method further includes: Receiving device scanning error information sent by the server, wherein the device scanning error information is sent by the server when determining that the current scanning device does not match the category information of the device to be counted; Displays the device scanning error information.

3. The method according to claim 1, characterized in that: The method further comprises: In response to the device scanning completion operation, sending device scanning completion information to the server, so that the server determines the inventory result corresponding to the device to be inventoried based on the device scanning completion information; The device scanning completion operation is triggered by the user after scanning each device to be counted that matches the category information of the device to be counted.

4. The method according to claim 3, characterized in that: The method further comprises: Receiving device rescan information sent by the server, wherein the device rescan information is sent by the server when it is determined that the number of scanned devices is inconsistent with the number of devices to be counted based on the device scan completion information; The device rescan information is displayed so that the user can rescan each device to be counted that matches the category information of the device to be counted based on the device rescan information.

5. The method according to claim 1, characterized in that The equipment inventory task includes a plurality of equipment category information to be inventoried, and each piece of equipment category information to be inventoried corresponds to a plurality of equipment to be inventoried.

6. A device inventory method, characterized in that: Applied to the server, including: Sending a device inventory task to a client, wherein the device inventory task includes category information of devices to be inventoried, and the category information of devices to be inventoried refers to the category to which the devices to be inventoried belong; Receive a scan result sent by the client, wherein the scan result is obtained by the client scanning a device QR code in a scanning area in response to a scan operation triggered by a user based on the device category information to be counted, wherein the scanned device only needs to match the device category information to be counted, and the device QR code is an encrypted QR code generated by encrypting the QR code serial number using a preset encryption method by using a device code as a device QR code serial number, and the device QR code includes a QR code on the device to be counted that matches the device category information to be counted, and the device code is not displayed on the device to be counted; The scanning result is decrypted, and the decrypted QR code serial number is matched with the QR code serial number corresponding to each device to be inventoried in the device inventory task; if there is a first device to be inventoried that matches successfully, the inventory result corresponding to the first device to be inventoried is determined as a normal result, and the normal result refers to the result of normal use of the device.

7. The method according to claim 6, characterized in that The method further comprises: Receiving device scanning completion information sent by the client, wherein the device scanning completion information is sent by the client in response to a device scanning completion operation, and the device scanning completion operation is triggered by the user after scanning each device to be inventoried that matches the category information of the device to be inventoried; In response to the device scanning completion information, an inventory result corresponding to a second device to be inventoried in the device inventory task is determined, wherein the second device to be inventoried refers to a device to be inventoried for which an inventory result has not yet been determined.

8. The method according to claim 7, characterized in that Before determining the inventory result corresponding to the second device to be inventoried in the device inventory task, the method further includes: If it is detected that the preset re-inventory conditions are met, the number of scanning devices corresponding to the current inventory is determined; If it is detected that the number of scanned devices is inconsistent with the number of devices to be counted, the device rescan information is sent to the client, so that the client displays the device rescan information, allowing the user to rescan each device to be counted that matches the device category information to be counted based on the device rescan information.

9. The method according to claim 7, characterized in that: The determining the inventory result corresponding to the second device to be inventoried in the device inventory task includes: If it is detected that the preset re-inventory condition is not met at present, the inventory result corresponding to the second device to be inventoried in the device inventory task is determined as a lost result.

10. An equipment inventory device, characterized in that: Integrated in the client, including: The device inventory task receiving module is used to receive the device inventory task issued by the server, wherein the device inventory task includes the category information of the device to be inventoried, and the category information of the device to be inventoried refers to the category to which the device to be inventoried belongs; A QR code scanning module, configured to scan the QR code of the device in the scanning area in response to a scanning operation triggered by a user based on the device category information to be counted, wherein the scanned device only needs to match the device category information to be counted, the device QR code is an encrypted QR code generated by encrypting the QR code serial number using a preset encryption method by using the device code as the device QR code serial number, the device QR code includes the QR code on the device to be counted that matches the device category information to be counted, and the device code is not displayed on the device to be counted; The scanning result sending module is used to send the scanning result to the server so that the server decrypts the scanning result and matches the decrypted QR code serial number with the QR code serial number corresponding to each device to be inventoried in the device inventory task. If there is a first device to be inventoried that matches successfully, the inventory result corresponding to the first device to be inventoried is determined as a normal result, and the normal result refers to the result of normal use of the device.

11. An equipment inventory device, characterized in that: Integrated on the server side, including: The device inventory task sending module is used to send the device inventory task to the client, wherein the device inventory task includes the category information of the device to be inventoried, and the category information of the device to be inventoried refers to the category to which the device to be inventoried belongs; a scanning result receiving module, used for receiving the scanning result sent by the client, wherein the scanning result is obtained by the client scanning the device QR code in the scanning area in response to the scanning operation triggered by the user based on the device category information to be counted, wherein the scanned device only needs to match the device category information to be counted, the device QR code is an encrypted QR code generated by encrypting the QR code serial number by using a preset encryption method with the device code as the device QR code serial number, the device QR code includes the QR code on the device to be counted that matches the device category information to be counted, and the device code is not displayed on the device to be counted; The inventory result determination module is used to decrypt the scanning result and match the decrypted QR code serial number with the QR code serial number corresponding to each device to be inventoried in the device inventory task. If there is a first device to be inventoried that has successfully matched, the inventory result corresponding to the first device to be inventoried is determined as a normal result, and the normal result refers to the result of normal use of the device.

12. An equipment inventory system, characterized in that: The system includes a client and a server; wherein, The client is used to implement the device inventory method as described in any one of claims 1 to 5; The server is used to implement the device inventory method as described in any one of claims 6-9.

13. An electronic device, characterized in that: The electronic device comprises: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the device inventory method as described in any one of claims 1-9.

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

Citation Information

Patent Citations

  • Encryption two-dimension code technology-based label anti-fake system and method thereof

    CN105427112A

  • Robot asset inventory method, device and equipment and storage medium

    CN112416002A

  • Equipment checking method and device, computer equipment and computer readable storage medium

    CN113962587A

  • Two dimensional barcode mobile stocktaking system

    TW200821958A