Inventory system and inventory method

By using the inventory system of target detection equipment and processing equipment in the warehouse, the types and quantities of inventory objects are automatically identified and recorded, and the problems of low efficiency and error-prone manual inventory in the existing technology are solved, and efficient and accurate inventory management is achieved.

CN119888613APending Publication Date: 2025-04-25GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411961791.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the existing technology, inventory inventory mainly relies on manual operation, is inefficient and error-prone, and cannot effectively solve the problem of insufficient inventory.

Method used

An inventory system is designed to identify the image of the inventory object using the object detection device, determine the inventory data, including type and quantity, through the object detection model, and transmit the data to the display device through the first processing device and the adapter device to realize automatic inventory and data synchronization.

Benefits of technology

Automatic inventory of inventory objects in the warehouse is realized, which improves inventory efficiency and accuracy, reduces manual errors, timely replenishes inventory, and avoids the problem of insufficient inventory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119888613A_ABST
    Figure CN119888613A_ABST
Patent Text Reader

Abstract

The invention discloses an inventory system and an inventory method. The checking system comprises a target detection device, a first processing device and a switching device. Wherein the checking target detection equipment identifies an image of a checking object and determines checking data of the checking object, and the checking data comprises the type and the number of the checking object; the checking target detection equipment transmits the checking data to the checking first processing equipment through the checking first output port; the checking first processing device transmits the checking data to a checking first target display device through a checking second output port via a checking switching device; and the checking first target display equipment displays the checking data. Target detection is carried out on the image of the inventory object through the target detection device to obtain the inventory data, automatic inventory of the inventory object in the warehouse is realized, manpower is saved, and the inventory efficiency and accuracy are improved. Through the first processing device and the switching device, the inventory data is transmitted to the first target display device, so that the transmission timeliness is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of warehouse management, and in particular to an inventory counting system and an inventory counting method. Background Art

[0002] The warehouse generally stores objects required for business scenarios. For example, in the power business scenario, the warehouse can store safety tools. The objects stored in the warehouse can be different in different business scenarios. In order to avoid the loss of objects stored in the warehouse and the failure to meet the business needs of the business scenario, it is necessary to timely inventory the objects stored in the warehouse to replenish the objects that are out of stock in a timely manner.

[0003] In the process of implementing the present invention, it is found that there are at least the following technical problems in the prior art: generally, inventory counting is implemented by manual counting, which is inefficient and prone to errors. Summary of the invention

[0004] The present invention provides an inventory counting system and an inventory counting method, which realize automatic inventory counting of inventory objects in a warehouse, and automatically transmit the inventory counting data to a display device for display, so as to achieve synchronization of the inventory counting data and improve the efficiency and accuracy of warehouse management.

[0005] According to one aspect of the present invention, there is provided an inventory system, comprising: a target detection device, a first processing device and a switching device; wherein a first output port of the target detection device is connected to a first input port of the first processing device, a second output port of the first processing device is connected to a second input port of the switching device, and the switching device is connected to a first target display device via a preset interface;

[0006] The target detection device recognizes the image of the inventory object and determines the inventory data of the inventory object, wherein the inventory data includes the type and quantity of the inventory object;

[0007] The target detection device transmits the inventory data to the first processing device through the first output port;

[0008] The first processing device transmits the inventory data to the first target display device through the second output port via the adapter device;

[0009] The first target display device displays the inventory data.

[0010] Optionally, the inventory counting system further comprises a camera, which is connected to the target detection device; the camera collects images of the inventory counting objects and transmits the images of the inventory counting objects to the target detection device;

[0011] The target detection device is configured with a target detection model, and the target detection model is used to perform target detection on the image of the inventory object, determine the type and quantity of the inventory object, and form the inventory data.

[0012] Optionally, a label is configured on the inventory object; the image of the inventory object includes the label of the inventory object;

[0013] The target detection device performs target detection on the labels in the image of the inventory object through the target detection model, determines the type and quantity of the inventory object, and forms the inventory data.

[0014] Optionally, the adapter device includes a signal conversion circuit, a serial communication signal conversion circuit and a preset interface signal conversion circuit connected in sequence;

[0015] The signal conversion circuit converts the inventory data into signal data of a set type;

[0016] The serial communication signal conversion circuit converts the signal data of the set type into a serial communication signal;

[0017] The preset interface signal conversion circuit converts the serial communication signal into a preset interface signal, and the preset interface signal is transmitted to the first target display device through the preset interface.

[0018] Optionally, the inventory counting system further comprises a wireless communication device, and the third output port of the first processing device is connected to the third input port of the first wireless communication device;

[0019] The first processing device encrypts the inventory data to obtain encrypted inventory data, and transmits the encrypted inventory data to the first wireless communication device through the third output port;

[0020] The first wireless communication device transmits the encrypted inventory data to a second target display device, and the second target display device displays the inventory data behind an interface.

[0021] Optionally, the inventory data includes the type and quantity of at least one of the inventory objects;

[0022] The first processing device adds a set frame header and a set frame footer to the type and quantity of each inventory object to form a group of encrypted frame data; and transmits each group of the encrypted frame data to the first wireless communication device through the third output port.

[0023] Optionally, the second target display device includes a second wireless communication device, a second processing device and a display; the fourth output port of the second wireless communication device is connected to the fourth input port of the second processing device; the fifth output port of the second processing device is connected to the fifth input port of the display;

[0024] The second wireless communication device receives the encrypted inventory data transmitted by the first wireless communication device, and transmits the encrypted inventory data to the second processing device through the fourth output port;

[0025] The second processing device decrypts the encrypted inventory data to obtain decrypted inventory data, and transmits the decrypted inventory data to the display through the fifth output port;

[0026] The display displays the decrypted inventory data.

[0027] Optionally, the encrypted inventory data obtained includes at least one set of encrypted frame data;

[0028] The second processing device identifies a set frame header and a set frame trailer for each of the encrypted frame data, removes the set frame header and the set frame trailer in the encrypted frame data, and obtains plaintext data, wherein the plaintext data includes the type and quantity of the inventory objects, and at least one group of the plaintext data forms the decrypted inventory data.

[0029] According to another aspect of the present invention, there is provided an inventory method, comprising:

[0030] The target detection device acquires an image of the inventory object, performs target detection based on the image of the inventory object, and determines inventory data; transmits the inventory data to a first processing device through a first output port of the target detection device, and the first output port of the target detection device is connected to a first input port of the first processing device;

[0031] The first processing device transmits the inventory data to the first target display device through the adapter device via the second output port; the second output port of the first processing device is connected to the second input port of the adapter device; the preset interface of the adapter device is connected to the first target display device;

[0032] The first target display device displays the inventory data.

[0033] Optionally, the method further includes:

[0034] The first processing device encrypts the inventory data to obtain encrypted inventory data; transmits the encrypted inventory data to the first wireless communication device through the third output port; the third output port of the first processing device is connected to the third input port of the first wireless communication device;

[0035] The first wireless communication device transmits the encrypted inventory data to a second target display device;

[0036] The second target display device receives the encrypted inventory data, decrypts the encrypted inventory data, obtains the decrypted inventory data, and displays it.

[0037] The technical solution of the embodiment of the present invention performs target detection on the image of the inventory object through the target detection device to determine the type and quantity of the inventory object, form inventory data, and realize automatic inventory of the inventory objects in the warehouse, saving manpower and improving the efficiency and accuracy of the inventory. The inventory data is transmitted to the first target display device through the first processing device and the adapter, and the inventory data is displayed through the first target display device so that relevant personnel can view the inventory data through the first target display device, which is convenient for understanding the type and quantity of the inventory objects stored in the warehouse based on the inventory data, and formulating management strategies in a targeted manner, avoiding the problem of insufficient inventory of the inventory objects in the warehouse, and improving the timeliness of the transmission of the inventory data.

[0038] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0040] Figure 1 is a structural schematic diagram of an inventory counting system provided by an embodiment of the present invention;

[0041] Figure 2 is a circuit diagram of a signal conversion circuit provided by an embodiment of the present invention;

[0042] Figure 3 is a circuit diagram of a serial communication signal conversion circuit and a preset interface signal conversion circuit provided by an embodiment of the present invention;

[0043] Figure 4is a structural schematic diagram of an inventory counting system provided by an embodiment of the present invention;

[0044] Figure 5 is a schematic diagram of an inventory counting system provided by an embodiment of the present invention;

[0045] Figure 6 It is a flow chart of the inventory method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0046] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0047] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0048] Embodiment 1

[0049] Figure 1 1 is a schematic diagram of the structure of an inventory system provided by an embodiment of the present invention. The inventory system includes: a target detection device 110, a first processing device 120 and a switching device 130; wherein the first output port 111 of the target detection device 110 is connected to the first input port 121 of the first processing device 120, the second output port 122 of the first processing device 120 is connected to the second input port 131 of the switching device 130, and the switching device is connected to the first target display device through a preset interface;

[0050] The target detection device 110 recognizes the image of the inventory object and determines the inventory data of the inventory object, where the inventory data includes the type and quantity of the inventory object; the target detection device 110 transmits the inventory data to the first processing device 120 through the first output port 111; the first processing device 120 transmits the inventory data to the first target display device through the second output port 122 via the adapter; the first target display device displays the inventory data.

[0051] In this embodiment, the inventory objects can be understood as the storage objects in the warehouse. Taking the power business as an example, the inventory objects can be the safety tools stored in the warehouse, such as but not limited to arc protection clothing, grounding wires, insulating baffles and insulating gloves.

[0052] The target detection device 110 can be understood as an electronic device with a target detection function, such as a microcomputer or a mobile terminal. The device type of the target detection device 110 is not limited here. The mobile terminal here can include devices such as mobile phones and tablets, which can support the target detection function. The microcomputer here can include a processor or a chip, etc., and the specific type of the microcomputer is not limited, as long as it can support the target detection function.

[0053] The target detection device 110 obtains an image of the counted object, wherein there may be multiple images of the counted object. The image of the counted object may be acquired by a camera, and the camera is connected to the target detection device 110 by wire or wirelessly.

[0054] Optionally, a timing task is provided in the target detection device 110. In response to the timing task, an image acquisition instruction is sent to the camera so that the camera acquires an image of the inventory object and transmits the image of the inventory object to the target detection device 110. In some embodiments, the camera is arranged in the warehouse, and there may be one or more cameras. The inventory data in the warehouse is located within the shooting range of at least one camera. The camera acquires an image of the inventory object in response to the image acquisition instruction. In some embodiments, the camera is arranged on a mobile device, and the mobile device may be a mobile robot. The mobile robot may drive the camera to move in the warehouse. For example, the mobile robot is pre-loaded with warehouse path information, and the warehouse path information includes image acquisition points. The mobile robot drives the camera to move based on the warehouse path information, and stops when it moves to each image acquisition point. The camera acquires an image of the inventory object when the mobile robot stops moving.

[0055] In this embodiment, the image of the inventory object in the warehouse is collected by the camera to provide a basis for the warehouse inventory. Optionally, there can be multiple images of the inventory object, and any image can include one or more inventory objects.

[0056] The target detection device 110 is configured with a target detection model, which performs target detection on the image of the inventory object through the target detection model, determines the type and quantity of the inventory object, and forms inventory data. The target detection model can be a machine learning model, for example, a neural network model, which is obtained by training a training data set, wherein the training data set may include sample images and detection labels of the sample images, and the sample images may be images of historical inventory objects in the warehouse. Optionally, the target detection model can be a Yolov5-lite model. The training data set is divided into a training set and a validation set, and the training is performed using a random batch gradient descent algorithm, and finally a highly accurate target detection model is obtained.

[0057] Optionally, the image of the inventory object is input into the target detection model to obtain the detection result output by the target detection model, and the detection result includes the type and quantity of the inventory object in the image. The detection results corresponding to the images of at least one inventory object respectively form inventory data. The inventory data includes at least one type of inventory object and the quantity corresponding to the type. Taking the inventory object as safety tools in the power business scenario as an example, the types of inventory objects include but are not limited to arc protection clothing, foot buckles, grounding wires, insulating baffles, insulating boots, insulating gloves, insulating ropes, insulating telescopic ladders, and insulating mats. Taking the inventory object as a type including n types as an example, the target detection model can include n detection heads, and each detection head can be used to identify the probability that the inventory object in the image belongs to a certain type.

[0058] Specifically, for any image of an inventory object, determine the detection result corresponding to the image of the inventory object, and store the detection result in the inventory data table. Determine in the inventory data table whether the type of the inventory object in the detection data has been stored. If so, update the quantity corresponding to the type of the inventory object in the inventory data table based on the quantity in the detection data, that is, the sum of the quantity corresponding to the type of the inventory object in the inventory data table and the quantity in the detection data as the updated quantity corresponding to the type of the inventory object; if the inventory data table does not include the type of the inventory object in the detection data, add the type and quantity of the inventory object in the inventory data table. Until all the images of the inventory objects are detected and the inventory data table is updated, the type and quantity of the inventory quantity in the inventory data table form the inventory data.

[0059] In some embodiments, a label is configured on the inventory object; the image of the inventory object includes the label of the inventory object. The label here can be an image label, which is used to identify the inventory object. The label can be used to characterize the type of the inventory object. Optionally, the label can be a graphic code label, for example, including but not limited to a QR code or a barcode.

[0060] The target detection device 110 detects the labels in the image of the inventory object through the target detection model, determines the type and quantity of the inventory object, and forms the inventory data. Optionally, the image of the inventory object is sub-imaged, and the sub-image includes the label of the inventory object. The sub-image is input into the target detection model to obtain the type of the inventory object. The number corresponding to each type of the inventory object is counted to obtain the inventory data.

[0061] In some embodiments, a sub-image is captured from the image of the inventory object, and the captured sub-image and the image of the inventory object are input into a target detection model, so that the target detection model can comprehensively determine the type and quantity of the inventory object through the labels in the sub-image, the structural features and texture features of the inventory object in the image of the inventory object, thereby improving the accuracy of the inventory data.

[0062] The target detection device 110 is connected to the first processing device 120, wherein the target detection device 110 is configured with a first output port 111, and the first processing device 120 is configured with a first input port 121. The first output port 111 of the target detection device 110 is connected to the first input port 121 of the first processing device 120 to realize data transmission between the target detection device 110 and the first processing device 120.

[0063] Optionally, the first processing device 120 is a single chip microcomputer. The model of the first processing device 120 is not limited at this time, and it only needs to realize data processing and transmission.

[0064] The first processing device 120 is also configured with a second output port 122, and the second output port 122 of the first processing device 120 is connected to the second input port 131 of the adapter 130. The adapter is connected to the first target display device through a preset interface, and the target display device can be a computer or a mobile terminal, and the mobile terminal can be a tablet computer, a mobile phone or a PC, etc. Correspondingly, the preset interface can be an interface configured by the first target display device, for example, a USB interface.

[0065] The first processing device 120 transmits the inventory data to the first target display device through the adapter device 130, and the first target display device is equipped with a display device, such as a display screen or an OLED display. The first target display device can be understood as an electronic device associated with the warehouse manager; the first target display device displays the inventory data through the display device, which is convenient for relevant personnel to consult the inventory data and intervene in the inventory in time to avoid the problem of insufficient inventory objects. Optionally, the first processing device 120 and the adapter device 130 are connected by a connecting line, and multiple connecting lines of different lengths can be pre-set to support the connection relationship between the first target display device and the first processing device 120 located at different positions. Optionally, the connecting line between the first processing device 120 and the adapter device 130 is a retractable connecting line to support the connection relationship between the first target display device and the first processing device 120 located at different positions.

[0066] The first processing device 120 transmits the inventory data to the adapter device 130 through the second output port 122, and the adapter device 130 converts the inventory data into a data format suitable for support by a preset interface, thereby realizing transmission of the inventory data to the first target display device.

[0067] Optionally, the adapter device 130 includes a signal conversion circuit, a serial communication signal conversion circuit and a preset interface signal conversion circuit connected in sequence; wherein the signal conversion circuit converts the inventory data into signal data of a set type; the serial communication signal conversion circuit converts the signal data of the set type into a serial communication signal; the preset interface signal conversion circuit converts the serial communication signal into a preset interface signal, and the preset interface signal is transmitted to the first target display device through the preset interface.

[0068] It can be understood that the inventory data output by the first processing device 120 is in a different format from the data signal receivable by the first target display device. For data transmission between the first processing device 120 and the first target display device, the inventory data is converted into a preset interface signal supported by the preset interface of the first target display device through the adapter 130.

[0069] The set type is the data type supported by the adapter 130 for processing, and the inventory data is converted into signal data of the set type through the signal conversion circuit to support the subsequent signal processing process. The signal conversion circuit includes an output terminal, and the serial communication signal conversion circuit includes an input terminal. Accordingly, the output terminal of the signal conversion circuit is connected to the input terminal of the serial communication signal conversion circuit, and the signal data of the set type is input into the serial communication signal conversion circuit, and the signal data of the set type is converted into a serial communication signal through the serial communication signal conversion circuit.

[0070] The setting pin of the preset interface signal conversion circuit is connected to the output pin of the serial communication signal conversion circuit, the serial communication signal is output to the preset interface signal conversion circuit, the serial communication signal is converted into a preset interface signal, and the preset interface signal is transmitted to the first target display device through the preset interface.

[0071] For example, see Figure 2 and Figure 3 , Figure 2 It is a circuit diagram of a signal conversion circuit provided by an embodiment of the present invention. Figure 3 It is a circuit diagram of a serial communication signal conversion circuit and a preset interface signal conversion circuit provided in an embodiment of the present invention.

[0072] The output terminal of the signal conversion circuit is the J3 terminal, and the second input port 131 of the adapter device 130 can be the PB0 pin of the signal conversion circuit. The inventory data is received through the PB0 pin, and the SP485EEN chip in the signal conversion circuit converts the inventory data into a set type of signal data, such as differential signal data, and provides the J3 terminal output.

[0073] The input terminal in the serial communication signal conversion circuit is the J1 terminal, and the J1 terminal is connected to the J3 terminal. Specifically, the pin 2 in the J3 terminal is connected to the pin 1 in the J1 terminal, and the pin 1 in the J3 terminal is connected to the pin 2 in the J1 terminal.

[0074] The serial communication signal conversion circuit includes a MAX485CSA chip, which converts differential signal data into a serial communication signal.

[0075] The preset interface signal conversion circuit includes a CH340 chip, and the input pins in the preset interface signal conversion circuit can be Figure 3 Pin 18 in is connected to the output pin of the serial communication signal conversion circuit. The CH340 chip includes an output pin, namely pin 3, which is connected to the preset interface through pin 3 to transmit the preset interface signal to the first target display device through the preset interface.

[0076] In some embodiments, the target detection device 110 or the first processing device 120 may encrypt the inventory data to avoid data security issues during data transmission and provide security for the data transmission process. Accordingly, the first target display device decrypts the encrypted inventory data and displays the decrypted inventory data. The encryption method and the decryption method are not limited here.

[0077] The technical solution provided in this embodiment performs target detection on the image of the inventory object through the target detection device to determine the type and quantity of the inventory object, form inventory data, and realize automatic inventory of the inventory objects in the warehouse, saving manpower and improving inventory efficiency and accuracy. The inventory data is transmitted to the first target display device through the first processing device and the adapter, and the inventory data is displayed through the first target display device so that relevant personnel can view the inventory data through the first target display device, which is convenient for understanding the type and quantity of the inventory objects stored in the warehouse based on the inventory data, and formulating management strategies in a targeted manner to avoid the problem of insufficient inventory of the inventory objects in the warehouse, thereby improving the timeliness of the transmission of the inventory data.

[0078] Embodiment 2

[0079] Figure 4 1 is a structural diagram of an inventory system provided by an embodiment of the present invention. The inventory system includes: a target detection device 110, a first processing device 120, a switching device 130 and a first wireless communication device 140; the third output port 123 of the first processing device 120 is connected to the third input port 141 of the first wireless communication device 140; the first wireless communication device 140 implements wireless transmission of inventory data, transmits the inventory data to the second target display device, and displays the inventory data on the second target display device. The second target display device can be an electronic device with a wireless communication module and a display module, such as a computer or a mobile terminal.

[0080] Optionally, the first wireless communication device 140 may be a Bluetooth module. The third input port 141 in the first wireless communication device 140 may be a TXD pin.

[0081] In this embodiment, by providing the first wireless communication device 140, wireless transmission among the second target display devices can be achieved without limiting the location of the second target display device, thereby improving the flexibility of displaying the inventory data.

[0082] On the basis of the above embodiment, the first processing device 110 encrypts the inventory data to obtain encrypted inventory data, and transmits the encrypted inventory data to the first wireless communication device 140 through the third output port; the first wireless communication device 140 transmits the encrypted inventory data to the second target display device, and the second target display device displays the inventory data behind the interface. By encrypting the inventory data, the security of the inventory data transmission process is improved.

[0083] Here, the inventory data may be encrypted using a preset encryption algorithm, wherein the preset encryption algorithm includes but is not limited to one or more of a symmetric encryption algorithm, an asymmetric encryption algorithm, and a hash algorithm.

[0084] Optionally, encrypting the inventory data includes: encrypting the inventory data based on a set frame header and a set frame footer to form encrypted inventory data. Specifically, a set frame header is set before the inventory data, and a set frame footer is set after the inventory data, wherein the set frame header and the set frame footer can be pre-set characters or numbers.

[0085] Optionally, the inventory data includes the type and quantity of at least one inventory object; illustratively, the inventory data includes type A, quantity m; type B, quantity n.

[0086] The first processing device 120 adds a set frame header and a set frame tail to the type and quantity of each inventory object to form a set of encrypted frame data; each set of encrypted frame data is transmitted to the first wireless communication device through the third output port. For example, the frame header is set to K, and the frame tail is set to J; the type and quantity of each inventory object are encrypted by setting the frame header and the frame tail to obtain at least one set of encrypted frame data. Correspondingly, the encrypted frame data can be [K, type A, quantity m, J] and [K, type B, quantity n, J]. The encrypted inventory data includes at least one set of encrypted frame data. The first processing device 120 transmits at least one set of encrypted frame data in the encrypted inventory data to the first wireless communication device 140 in sequence, and the first wireless communication device 140 transmits at least one set of encrypted frame data in the encrypted inventory data to the second target display device in sequence.

[0087] Optionally, after the encryption operation is completed, the encryption processing further includes detecting the frame data obtained by the encryption processing, and if a set frame header and a set frame tail are detected, the encryption is determined to be completed. If the set frame header and the set frame tail are not detected, the encryption is determined to be unsuccessful, and the encryption operation is performed again.

[0088] Optionally, the frame header and the frame tail may be preset; optionally, the frame header and the frame tail may be updated regularly according to a pre-updated rule, for example, multiple sets of frame headers and frame tails are preset, the multiple sets of frame headers and frame tails have a sequence, and the multiple sets of frame headers and frame tails are polled based on the sequence. Optionally, the frame header and the frame tail may be input by a user when performing an inventory count.

[0089] The technical solution of this embodiment can realize wireless transmission between the second target display device by setting the first wireless communication device, without limiting the position of the second target display device, thereby improving the flexibility of displaying inventory data. By setting the adapter device, wired transmission with the first target display device can be realized. The inventory system in this embodiment can realize wired and wireless transmission of inventory data, improve transmission diversity, and meet different transmission requirements.

[0090] Based on the above embodiment, the second target display device includes a second wireless communication device, a second processing device and a display; the fourth output port ( Figure 5 ) and a fourth input port ( Figure 5 The fifth output port (not shown) of the second processing device is connected; Figure 5 Not shown) and the fifth input port of the display ( Figure 5 ) connection; for example, see Figure 5 , Figure 5 Schematic diagram of an inventory counting system provided by an embodiment of the present invention.

[0091] The second wireless communication device receives the encrypted inventory data transmitted by the first wireless communication device, and transmits the encrypted inventory data to the second processing device through the fourth output port; the second processing device decrypts the encrypted inventory data to obtain decrypted inventory data, and transmits the decrypted inventory data to the display through the fifth output port; the display displays the decrypted inventory data.

[0092] The second wireless communication device may be a signal transceiver device corresponding to the first wireless communication device. The type of the second wireless communication device is not limited here, for example, it may be a Bluetooth module. The fourth output port of the second wireless communication device may be a RXD pin.

[0093] The second processing device may be a single chip microcomputer. The type of the second processing device is not limited here, as long as it can realize data processing and transmission. Optionally, the second processing device is of the same type as the first processing device.

[0094] The second processing device stores a preset decryption algorithm, which matches the preset encryption algorithm in the first processing device and is used to decrypt the encrypted inventory data.

[0095] Among them, the encrypted inventory data includes at least one group of encrypted frame data; the second processing device identifies a set frame header and a set frame tail for each encrypted frame data, removes the set frame header and the set frame tail in the encrypted frame data, and obtains plaintext data, the plaintext data includes the type and quantity of the inventory object, and at least one group of plaintext data forms the decrypted inventory data.

[0096] Specifically, the second processing device pre-stores a set frame header and a set frame tail, which are pre-agreed. Identify the set frame header and the set frame tail in the encrypted frame data, remove the set frame header and the set frame tail in the encrypted frame data, and obtain plaintext data, which is recorded as decrypted data. For the encrypted frame data [K, type A, number m, J], identify and remove the set frame header K and the set frame tail J, and obtain plaintext data: type A, number m.

[0097] The display may be an OLED display, which is wiredly connected to the second processing device, the fifth output port of the second processing device is connected to the fifth input port of the display, and the clock pin of the display is connected to the clock pin of the second processing device to achieve clock synchronization. The display receives the decrypted inventory data transmitted by the second processing device and displays it.

[0098] Embodiment 3

[0099] Figure 6 This is a flowchart of an inventory counting method provided by an embodiment of the present invention, which is applied to an inventory counting system and is used to realize automatic inventory counting of inventory counting objects in a warehouse, and real-time or timed display of inventory counting data. The method specifically includes:

[0100] S210, the target detection device obtains an image of the inventory object, performs target detection based on the image of the inventory object, and determines inventory data; transmits the inventory data to a first processing device through a first output port of the target detection device, and the first output port of the target detection device is connected to a first input port of the first processing device.

[0101] S220, the first processing device transmits the inventory data to the first target display device through the adapter device via the second output port; the second output port of the first processing device is connected to the second input port of the adapter device; the preset interface of the adapter device is connected to the first target display device.

[0102] S230: The first target display device displays the inventory data.

[0103] Optionally, the method further includes: the first processing device encrypts the inventory data to obtain encrypted inventory data; transmits the encrypted inventory data to the first wireless communication device through a third output port; the third output port of the first processing device is connected to the third input port of the first wireless communication device; the first wireless communication device transmits the encrypted inventory data to a second target display device; the second target display device receives the encrypted inventory data, decrypts the encrypted inventory data, obtains decrypted inventory data, and displays it.

[0104] The technical solution provided in this embodiment performs target detection on the image of the inventory object through the target detection device to determine the type and quantity of the inventory object, form inventory data, and realize automatic inventory of the inventory objects in the warehouse, saving manpower and improving inventory efficiency and accuracy. The inventory data is transmitted to the first target display device through the first processing device and the adapter device, and the inventory data is displayed through the first target display device so that relevant personnel can view the inventory data through the first target display device, which is convenient for understanding the type and quantity of the inventory objects stored in the warehouse based on the inventory data, and formulating management strategies in a targeted manner to avoid the problem of insufficient inventory of the inventory objects in the warehouse, thereby improving the timeliness of the transmission of the inventory data. By setting the first wireless communication device, wireless transmission between the second target display device can be realized without limiting the location of the second target display device, thereby improving the flexibility of the inventory data display.

[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0106] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An inventory counting system, characterized in that: include: A target detection device, a first processing device and a switching device; wherein the first output port of the target detection device is connected to the first input port of the first processing device, the second output port of the first processing device is connected to the second input port of the switching device, and the switching device is connected to the first target display device through a preset interface; The target detection device recognizes the image of the inventory object and determines the inventory data of the inventory object, wherein the inventory data includes the type and quantity of the inventory object; The target detection device transmits the inventory data to the first processing device through the first output port; The first processing device transmits the inventory data to the first target display device through the second output port via the adapter device; The first target display device displays the inventory data.

2. The inventory counting system according to claim 1, characterized in that: The inventory counting system further comprises a camera, wherein the camera is connected to the target detection device; The camera collects an image of the inventory object and transmits the image of the inventory object to the target detection device; The target detection device is configured with a target detection model, and the target detection model is used to perform target detection on the image of the inventory object, determine the type and quantity of the inventory object, and form the inventory data.

3. The inventory counting system according to claim 2, characterized in that: The inventory object is provided with a label; the image of the inventory object includes the label of the inventory object; The target detection device performs target detection on the labels in the image of the inventory object through the target detection model, determines the type and quantity of the inventory object, and forms the inventory data.

4. The inventory counting system according to claim 1, characterized in that: The adapter device includes a signal conversion circuit, a serial communication signal conversion circuit and a preset interface signal conversion circuit connected in sequence; The signal conversion circuit converts the inventory data into signal data of a set type; The serial communication signal conversion circuit converts the signal data of the set type into a serial communication signal; The preset interface signal conversion circuit converts the serial communication signal into a preset interface signal, and the preset interface signal is transmitted to the first target display device through the preset interface.

5. The inventory counting system according to claim 1, characterized in that: The inventory counting system further includes a first wireless communication device, wherein the third output port of the first processing device is connected to the third input port of the first wireless communication device; The first processing device encrypts the inventory data to obtain encrypted inventory data, and transmits the encrypted inventory data to the first wireless communication device through the third output port; The first wireless communication device transmits the encrypted inventory data to a second target display device, and the second target display device displays the inventory data behind an interface.

6. The inventory counting system according to claim 5, characterized in that: The inventory data includes the type and quantity of at least one of the inventory objects; The first processing device adds a set frame header and a set frame footer to the type and quantity of each inventory object to form a group of encrypted frame data; and transmits each group of the encrypted frame data to the first wireless communication device through the third output port.

7. The inventory counting system according to claim 5, characterized in that: The second target display device includes a second wireless communication device, a second processing device and a display; the fourth output port of the second wireless communication device is connected to the fourth input port of the second processing device; the fifth output port of the second processing device is connected to the fifth input port of the display; The second wireless communication device receives the encrypted inventory data transmitted by the first wireless communication device, and transmits the encrypted inventory data to the second processing device through the fourth output port; The second processing device decrypts the encrypted inventory data to obtain decrypted inventory data, and transmits the decrypted inventory data to the display through the fifth output port; The display displays the decrypted inventory data.

8. The inventory counting system according to claim 7, characterized in that: The encrypted inventory data includes at least one set of encrypted frame data; The second processing device identifies a set frame header and a set frame trailer for each of the encrypted frame data, removes the set frame header and the set frame trailer in the encrypted frame data, and obtains plaintext data, wherein the plaintext data includes the type and quantity of the inventory objects, and at least one group of the plaintext data forms the decrypted inventory data.

9. An inventory method, characterized in that: include: The target detection device acquires an image of the inventory object, performs target detection based on the image of the inventory object, and determines the inventory data; Transmitting the inventory data to a first processing device via a first output port of the target detection device, wherein the first output port of the target detection device is connected to a first input port of the first processing device; The first processing device transmits the inventory data to the first target display device through the second output port via the adapter device; The second output port of the first processing device is connected to the second input port of the switching device; The preset interface of the adapter is connected to the first target display device; The first target display device displays the inventory data.

10. The inventory counting method according to claim 9, characterized in that: The method further comprises: The first processing device encrypts the inventory data to obtain encrypted inventory data; transmits the encrypted inventory data to the first wireless communication device through the third output port; the third output port of the first processing device is connected to the third input port of the first wireless communication device; The first wireless communication device transmits the encrypted inventory data to a second target display device; The second target display device receives the encrypted inventory data, decrypts the encrypted inventory data, obtains the decrypted inventory data, and displays it.