One-item-one-code association system and method
By setting up photoelectric detection components and processors on the transmission components, the box codes are generated and managed, and the problem of association disorder caused by the removal of items during the transmission process is solved, and the accuracy of items and box codes is improved.
Patent Information
- Application Number
- CN202310368656.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-06
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2043-04-06
AI Technical Summary
During the product packaging process of the enterprise factory, the relationship problem caused by the scanning and printing of single products are not in the same position, especially when the items are randomly inspected or abnormal boxes are moved away during the transportation process, resulting in the confusion of the logical order of single products and box codes, affecting the progress of subsequent processes.
Using a one-object-one-code association system, two photoelectric detection components and processors are set on the transmission component to detect the photoelectric signals of the item and generate a box code to determine whether the item is removed during the transmission process. If it is removed, the box code will be deleted. Otherwise, the box code and the item will be associated to ensure accuracy.
It effectively avoids the confusion of the relationship caused by the removal of the item during the transmission process, improves the accuracy of the association between the item and the box code, and ensures the smooth progress of subsequent processes.
Smart Images

Figure CN116395350B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet of Things, and in particular to a one-object-one-code association system and method. Background Art
[0002] When establishing product packaging data association in enterprise factories, there is often a problem that the scanning of individual items and the printing and labeling of box codes are not in the same location. The associated individual items can only be recorded in the computer memory sequentially, and after waiting for multiple box code stations, they are assigned the corresponding box codes. However, during the transportation of large boxes with established individual items but no box labels, there are phenomena such as random inspections and abnormal boxes being moved away, which destroys the logical order of individual items and box codes, and then leads to confusion in the association relationship between individual items and box codes, affecting the progress of subsequent processes. Summary of the Invention
[0003] The purpose of the present invention is to provide a one-item-one-code association system and method, which can avoid the problem of confusion in the association relationship between items and box codes due to items being removed during transportation.
[0004] To achieve the above object, the present invention provides the following solutions:
[0005] A one-item-one-code association system, comprising:
[0006] Conveying components, used for conveying items;
[0007] a first photoelectric detection component, provided on the conveying component, for detecting a first photoelectric signal of an object;
[0008] a second photoelectric detection component, disposed on the conveying component, for detecting a second photoelectric signal of an object; a set distance being provided between the first photoelectric detection component and the second photoelectric detection component, and the object passing through the first photoelectric detection component and the second photoelectric detection component in sequence on the conveying component;
[0009] A processor is connected to the first photoelectric detection component and the second photoelectric detection component, respectively, and is used to store a standard transfer time, generate a box code corresponding to the item based on the first photoelectric signal, determine the item transfer time based on the first photoelectric signal and the second photoelectric signal, and determine whether the item is moved between the first photoelectric detection component and the second photoelectric detection component based on the standard transfer time and the item transfer time. If the item is moved, the box code corresponding to the item is deleted; otherwise, the box code is associated with the item.
[0010] Optionally, the one-item-one-code association system further includes:
[0011] a speed detection component, disposed on the conveying component and connected to the processor, for detecting a conveying speed of the conveying component;
[0012] The processor is further configured to determine a standard transport time according to the transport speed and a distance between the first photodetection component and the second photodetection component.
[0013] Optionally, the speed detection component is a speed encoder.
[0014] Optionally, the processor includes:
[0015] A storage module, used for storing standard transmission time;
[0016] a box code generating module, connected to the first photoelectric detection component, for generating a box code corresponding to the item according to the generation time of the first photoelectric signal;
[0017] a time determination module, connected to the first photoelectric detection component and the second photoelectric detection component, respectively, for determining the object transfer time based on the generation time of the first photoelectric signal and the generation time of the second photoelectric signal;
[0018] a judgment module, connected to the storage module and the time determination module respectively, for judging whether the object has been removed between the first photoelectric detection component and the second photoelectric detection component based on the standard transfer time and the object transfer time; if the standard transfer time is equal to the object transfer time, the object has not been removed; otherwise, the object has been removed;
[0019] a box code deletion module, connected to the judgment module and the box code generation module respectively, for deleting the box code corresponding to the item when the item is removed;
[0020] The association module is connected to the judgment module and the box code generation module respectively, and is used to associate the box code with the item when the item has not been removed.
[0021] Optionally, the box code includes the generation time of the first photoelectric signal and item information.
[0022] Optionally, the first photoelectric detection component and the second photoelectric detection component are both photoelectric detection electric eyes.
[0023] To achieve the above object, the present invention also provides the following solution:
[0024] A one-object-one-code association method, applying the above-mentioned one-object-one-code association system, the one-object-one-code association method includes:
[0025] For any item, transport the item by using a transport component;
[0026] When the object passes through the first photoelectric detection component, a first photoelectric signal is generated by the first photoelectric detection component and sent to a processor;
[0027] When the processor receives the first photoelectric signal, it generates a box code for the item and starts timing;
[0028] When the article passes through the second photoelectric detection component, a second photoelectric signal is generated by the second photoelectric detection component and sent to the processor;
[0029] If the processor does not receive the second photoelectric signal within the standard transmission time, the processor deletes the box code of the item; otherwise, the processor associates the box code with the item.
[0030] According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0031] The present invention sets two photoelectric detection components at different positions on a conveying component to detect the photoelectric signal of an article, and generates a box code corresponding to the article according to a first photoelectric signal of the article detected for the first time by a processor, determines the article conveying time according to the first photoelectric signal and a second photoelectric signal of the article detected for the second time, and judges whether the article is moved between the two photoelectric detection components according to the standard conveying time and the article conveying time. If the article is moved, the box code corresponding to the article is deleted; otherwise, the box code is associated with the article, thereby avoiding the problem of confusion in the association relationship between the article and the box code due to the article being moved during the conveying process, and improving the accuracy of the association between the article and the box code. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] 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. 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 paying any creative work.
[0033] Figure 1 This is a schematic diagram of the structure of the one-item-one-code association system of the present invention;
[0034] Figure 2 Flowchart of the one-item-one-code association method of the present invention.
[0035] Explanation of symbols:
[0036] Conveying component-1, first photoelectric detection component-2, second photoelectric detection component-3, speed encoder-4, computer controller-5, PLC-6. DETAILED DESCRIPTION
[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 making creative efforts are within the scope of protection of the present invention.
[0038] The purpose of the present invention is to provide a one-item-one-code association system and method, which improves the accuracy of associating single items with box codes through the cooperation of two photoelectric detection components and a processor.
[0039] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0040] like Figure 1 As shown, the present invention provides a one-object-one-code association system, including: a transmission component 1, a first photoelectric detection component 2, a second photoelectric detection component 3 and a processor.
[0041] The conveying component 1 is used to convey items.
[0042] The first photoelectric detection component 2 is provided on the conveying component 1 , and the first photoelectric detection component 2 is used to detect a first photoelectric signal of an object.
[0043] The second photoelectric detection component 3 is provided on the conveying component 1 , and the second photoelectric detection component 3 is used to detect a second photoelectric signal of the object.
[0044] In this embodiment, there is a set distance between the first photoelectric detection component 2 and the second photoelectric detection component 3, and the article passes through the first photoelectric detection component 2 and the second photoelectric detection component 3 in sequence on the conveyor 1. The first photoelectric detection component 2 and the second photoelectric detection component 3 are both photoelectric detection electric eyes.
[0045] As a specific embodiment, the number of the first photoelectric detection eye and the second photoelectric detection eye is two. The two first photoelectric detection eyes are respectively arranged on both sides of the conveying component 1, and the two second photoelectric detection eyes are also respectively arranged on both sides of the conveying component 1 to improve the accuracy of photoelectric detection.
[0046] The processor is connected to the first photoelectric detection component 2 and the second photoelectric detection component 3 respectively. The processor is used to store the standard transmission time, generate the box code of the corresponding item according to the first photoelectric signal, determine the item transmission time according to the first photoelectric signal and the second photoelectric signal, and judge whether the item is moved between the first photoelectric detection component 2 and the second photoelectric detection component 3 according to the standard transmission time and the item transmission time. If the item is moved, the box code corresponding to the item is deleted; otherwise, the box code is associated with the item.
[0047] Specifically, the processor includes: a storage module, a box code generation module, a time determination module, a judgment module, a box code deletion module and an association module.
[0048] The storage module is used to store the standard transmission time.
[0049] The box code generation module is connected to the first photoelectric detection component 2, and is used to generate a box code corresponding to the item according to the generation time of the first photoelectric signal.
[0050] The time determination module is connected to the first photoelectric detection component 2 and the second photoelectric detection component 3 respectively, and is used to determine the object transfer time according to the generation time of the first photoelectric signal and the generation time of the second photoelectric signal.
[0051] The determination module is connected to the storage module and the time determination module, respectively. The determination module is configured to determine whether the object has been removed between the first photoelectric detection component 2 and the second photoelectric detection component 3 based on the standard transfer time and the object transfer time. If the standard transfer time and the object transfer time are equal, the object has not been removed; otherwise, the object has been removed.
[0052] The box code deletion module is connected to the judgment module and the box code generation module respectively, and is used to delete the box code corresponding to the item when the item is removed. Preferably, the box code includes the generation time of the first photoelectric signal and the item information.
[0053] The association module is connected to the judgment module and the box code generation module respectively, and is used for associating the box code with the item when the item has not been removed.
[0054] During the association process, if an item is taken away, the processor will not receive the second photoelectric signal of the object and will automatically clear the box code of this item without recursively affecting the accuracy of subsequent data.
[0055] Furthermore, the one-item-one-code association system further includes a speed detection component. The speed detection component is disposed on the transmission component 1 and is connected to the processor. The speed detection component is configured to detect the transmission speed of the transmission component 1. The processor is further configured to determine a standard transmission time based on the transmission speed and the distance between the first photoelectric detection component 2 and the second photoelectric detection component 3.
[0056] In this embodiment, the speed detection component is a speed encoder 4. As a specific embodiment, the processor can be a computer controller 5 or a PLC (Programmable Logic Controller) 6. The PLC 6 receives pulses fed back from the speed encoder 4 and calculates the number of pulses required between the first photoelectric signal and the second photoelectric signal. The distance between the first and second photoelectric detection eyes is fixed, and the final box code information is determined at the second photoelectric detection eye.
[0057] The speed encoder 4 is connected to the shaft of the transmission component 1. The pulse amount of the speed encoder 4 is fixed. When the shaft rotates, the speed encoder 4 will output pulses, and the PLC6 or counter receives the pulses. Depending on the speed of the shaft rotation, the total amount of pulses received per unit time is also different. The actual transmission speed (m / min) is calculated based on the pulse amount and the actual rotation length.
[0058] Furthermore, it is also possible to determine whether the article is a qualified box by judging whether the pulse of the speed encoder 4 is within a set range, and to remove the unqualified boxes and perform diversion processing.
[0059] In order to better understand the solution of the present invention, the following provides a one-item-one-code association method based on the above-mentioned one-item-one-code association system, such as Figure 2 shown.
[0060] (1) For any article, the article is transported by the transport component 1 .
[0061] (2) When the article passes through the first photoelectric detection component 2, a first photoelectric signal is generated by the first photoelectric detection component 2 and sent to the processor.
[0062] (3) When the processor receives the first photoelectric signal, it generates a box code for the item and starts timing.
[0063] (4) When the article passes through the second photoelectric detection component 3, a second photoelectric signal is generated by the second photoelectric detection component 3 and sent to the processor.
[0064] (5) If the processor does not receive the second photoelectric signal within the standard transmission time, the processor deletes the box code of the item; otherwise, the processor associates the box code with the item.
[0065] Furthermore, the box code is sprayed on the box into which the articles are placed by a printer.
[0066] In addition, the association between box codes and items can be uploaded to the cloud server.
[0067] Each item first passes through the first photoelectric detection eye, generating a first photoelectric signal. The processor generates the corresponding box code based on the first photoelectric signal. When the item passes through the second photoelectric detection eye, a second photoelectric signal is generated. The processor determines whether the item is correct based on the timing of the first and second photoelectric signals. If so, the box code is assigned to the item; otherwise, the box code is deleted. Specifically, a speed encoder measures the transmission speed, and the transmission time is calculated based on the transmission speed and the distance between the two photoelectric detection eyes. If the transmission time is equal to the set time, the item is correct; otherwise, it is incorrect.
[0068] The present invention does not need to record the order of associated items in the computer memory, that is, it will not cause the logical order of items and box codes to be inconsistent and the association relationship to be confused due to random inspections or the removal of abnormal boxes during the transportation of items, thereby improving the accuracy of the association between items and box codes.
[0069] This document uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only intended to help understand the method and core concept of the present invention. At the same time, those skilled in the art will find that the specific implementation methods and application scopes may vary based on the concept of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.
Claims
1. A one-item-one-code association system, characterized in that: The one-item-one-code association system includes: Conveying components, used for conveying items; a first photoelectric detection component, provided on the conveying component, for detecting a first photoelectric signal of an object; a second photoelectric detection component, disposed on the conveying component, for detecting a second photoelectric signal of an object; a set distance being provided between the first photoelectric detection component and the second photoelectric detection component, and the object passing through the first photoelectric detection component and the second photoelectric detection component in sequence on the conveying component; A processor is connected to the first photoelectric detection component and the second photoelectric detection component, respectively, and is used to store a standard transfer time, generate a box code corresponding to the item based on the first photoelectric signal, determine the item transfer time based on the first photoelectric signal and the second photoelectric signal, and determine whether the item is moved between the first photoelectric detection component and the second photoelectric detection component based on the standard transfer time and the item transfer time. If the item is moved, the box code corresponding to the item is deleted; otherwise, the box code is associated with the item.
2. The one-item-one-code association system according to claim 1, characterized in that: The one-item-one-code association system further includes: a speed detection component, disposed on the conveying component and connected to the processor, for detecting a conveying speed of the conveying component; The processor is further configured to determine a standard transport time according to the transport speed and a distance between the first photodetection component and the second photodetection component.
3. The one-item-one-code association system according to claim 2, characterized in that: The speed detection component is a speed encoder.
4. The one-item-one-code association system according to claim 1, characterized in that: The processor includes: A storage module, used for storing standard transmission time; a box code generating module, connected to the first photoelectric detection component, for generating a box code corresponding to the item according to the generation time of the first photoelectric signal; a time determination module, connected to the first photoelectric detection component and the second photoelectric detection component, respectively, for determining the object transfer time based on the generation time of the first photoelectric signal and the generation time of the second photoelectric signal; a judgment module, connected to the storage module and the time determination module respectively, for judging whether the object has been removed between the first photoelectric detection component and the second photoelectric detection component based on the standard transfer time and the object transfer time; if the standard transfer time is equal to the object transfer time, the object has not been removed; otherwise, the object has been removed; a box code deletion module, connected to the judgment module and the box code generation module respectively, for deleting the box code corresponding to the item when the item is removed; The association module is connected to the judgment module and the box code generation module respectively, and is used to associate the box code with the item when the item has not been removed.
5. The one-item-one-code association system according to claim 1, characterized in that: The box code includes the generation time of the first photoelectric signal and item information.
6. The one-item-one-code association system according to claim 1, characterized in that: The first photoelectric detection component and the second photoelectric detection component are both photoelectric detection electric eyes.
7. A one-object-one-code association method, using the one-object-one-code association system according to any one of claims 1 to 6, characterized in that: The one-item-one-code association method includes: For any item, transport the item by using a transport component; When the object passes through the first photoelectric detection component, a first photoelectric signal is generated by the first photoelectric detection component and sent to a processor; When the processor receives the first photoelectric signal, it generates a box code for the item and starts timing; When the article passes through the second photoelectric detection component, a second photoelectric signal is generated by the second photoelectric detection component and sent to the processor; If the processor does not receive the second photoelectric signal within the standard transmission time, the processor deletes the box code of the item; otherwise, the processor associates the box code with the item.
Citation Information
Patent Citations
Detection system for mounting on a conveyor belt
CN103575245A
One-object one-code association system and method
CN108711009A