Information binding method and device, electronic equipment and computer readable storage medium

By obtaining the target time when the photoelectric device is triggered and the operating distance of the transit device, and associating the collection time of image information and identification information, the problem of inaccurate information binding in the prior art is solved, and higher information binding accuracy is achieved sex.

CN119477117AActive Publication Date: 2025-02-18SF TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310994254.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-08
Publication Date
2025-02-18
Estimated Expiration
2043-08-08

AI Technical Summary

Technical Problem

The prior art cannot ensure that image information or identification information is collected at the same time at the corresponding distance, resulting in data errors and affecting the accuracy of information binding.

Method used

By obtaining the target time when the photoelectric device is triggered and the operating distance of the transit device, and associating the image information and identification information collection time, we judge whether the distance can be associated with the information, and then binding the information.

Benefits of technology

It improves the accuracy of information binding, reduces data errors, and ensures that the image information and identification information can be correctly associated with the corresponding distance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119477117A_ABST
    Figure CN119477117A_ABST
Patent Text Reader

Abstract

The invention provides an information binding method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining first target time when first photoelectric equipment is triggered and a first operation distance of transfer equipment, and obtaining image information collected by the first equipment and first collection time associated with the image information; acquiring a second target time when a second optoelectronic device is triggered and a second operation distance of the transfer device, and acquiring identification information acquired by the second device and a second acquisition time associated with the identification information; associating the first operation distance with the image information according to the first target time and the first acquisition time, and associating the second operation distance with the identification information according to the second target time and the second acquisition time; and binding the image information and the identification information according to the first operation distance and the second operation distance to obtain an image identification group. The information binding method and device are beneficial to improving the accuracy of information binding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an information binding method, device, electronic device and computer-readable storage medium. Background Art

[0002] With the development of logistics industry and computer technology, image code information binding technology has emerged. Image code information binding technology refers to the corresponding binding of image information and identification information, which can be applied in technical fields such as article security inspection.

[0003] In the related art, image information collected by an image acquisition device and its corresponding distance, as well as identification information collected by an identification information acquisition device and its corresponding distance are usually obtained, and the image information and identification information are directly bound according to the obtained distance.

[0004] The problem with the related technology is that when information is bound directly based on distance, it is necessary to ensure that the distance corresponding to the image information is collected at the same time as the image information, and to ensure that the distance corresponding to the identification information is collected at the same time as the identification information. However, existing image acquisition devices, identification acquisition devices and transfer devices may come from different manufacturers, and it is impossible to ensure that the corresponding distance is obtained while the image is being acquired, and that the corresponding distance is obtained while the identification information is being acquired. This will cause data errors and affect the accuracy of information binding. Summary of the invention

[0005] The present application provides an information binding method, device, electronic device and computer-readable storage medium, which are used to solve the technical problem that the current information binding scheme cannot ensure that image information or identification information and its corresponding distance are collected at the same time, there are data errors, and it is not conducive to improving the accuracy of information binding.

[0006] In a first aspect, the present application provides an information binding method, the method comprising:

[0007] Acquire a first target time when the first photoelectric device is triggered and a first running distance of the transfer device, acquire image information acquired by the first device, and a first acquisition time associated with the image information;

[0008] Acquire a second target time when the second photoelectric device is triggered and a second running distance of the transfer device, acquire identification information collected by the second device, and a second collection time associated with the identification information;

[0009] Associating the first running distance with the image information according to the first target time and the first acquisition time, and associating the second running distance with the identification information according to the second target time and the second acquisition time;

[0010] The image information and identification information are bound according to the first running distance and the second running distance to obtain an image identification group.

[0011] Optionally, associating the first running distance with the image information according to the first target time and the first acquisition time, and associating the second running record with the identification information according to the second target time and the second acquisition time, includes:

[0012] Acquire a first historical target time when the first optoelectronic device was triggered last time, and acquire a first historical acquisition time associated with historical image information acquired last time by the first device;

[0013] Acquire a second historical target time when the second optoelectronic device was triggered last time, and acquire a second historical collection time associated with the historical identification information collected last time by the second device;

[0014] Associating the image information with the first running distance according to a time difference between the first target time and the first historical target time, and a time difference between the first acquisition time and the first historical acquisition time;

[0015] The identification information and the second running distance are associated according to a time difference between the second target time and the second historical target time, and a time difference between the second collection time and the second historical collection time.

[0016] Optionally, associating the image information with the first running distance according to a time difference between the first target time and the first historical target time, and a time difference between the first acquisition time and the first historical acquisition time, includes:

[0017] Calculating a first adjacent time difference between the first target time and the first historical target time;

[0018] Calculating a second adjacent time difference between the first collection time and the first historical collection time;

[0019] determining whether a first target time difference between the first adjacent time difference and the second adjacent time difference belongs to a first time interval, wherein the first time interval is determined according to an image acquisition delay of the first device;

[0020] If the first target time difference belongs to a preset first time interval, the image information and the first running distance are associated.

[0021] Optionally, the associating the identification information with the second running distance according to the time difference between the second target time and the second historical target time, and the time difference between the second collection time and the second historical collection time, includes:

[0022] Calculating a third adjacent time difference according to the second target time and the second historical target time;

[0023] Calculating a fourth adjacent time difference according to the second collection time and the second historical collection time;

[0024] determining whether a second target time difference between the third adjacent time difference and the fourth adjacent time difference belongs to a preset second time interval, where the second time interval is determined according to an identification collection delay of the second device;

[0025] If the second target time difference belongs to the preset second time interval, the identification information and the second running distance are associated.

[0026] Optionally, the second device includes: a label information recognition device and / or a single number information scanning device;

[0027] The identification information includes: label information and / or order number information;

[0028] The second photoelectric device includes: a label collection photoelectric sensor and / or a single number collection photoelectric sensor;

[0029] The second running distance includes: the label collection running distance of the transfer device when the label collection photoelectric sensor corresponding to the label information recognition device is triggered, and / or the order number collection running distance of the transfer device when the order number information scanning device corresponds to the order number collection photoelectric sensor is triggered.

[0030] Optionally, the second device includes: a label information recognition device and a single number information scanning device;

[0031] The step of obtaining a second target time when the second photoelectric device is triggered and a second running distance of the transfer device, and obtaining identification information collected by the second device and a second collection time associated with the identification information includes:

[0032] Determine whether the distance difference between the tag collection running distance and the order number collection running distance belongs to a preset fusion distance interval, wherein the preset fusion distance interval is determined according to the distance between the tag information recognition device and the order number information scanning device;

[0033] If the distance difference between the tag collection running distance and the order number collection running distance belongs to a preset fusion distance interval, the second running distance is determined according to the tag collection running distance and the order number collection running distance, the identification information is determined according to the tag information and the order number information, and the second collection time corresponding to the identification information is determined.

[0034] Optionally, binding the image information and identification information according to the first running distance and the second running distance includes:

[0035] Acquire a target binding distance interval, wherein the target binding distance interval is determined according to a transfer distance between the first device and the second device;

[0036] Calculating a target distance difference according to the first running distance and the second running distance;

[0037] If the target distance difference belongs to the target binding distance interval, the image information and the identification information are bound to obtain an image identification group.

[0038] On the other hand, an embodiment of the present application provides an information binding device;

[0039] The information binding device includes:

[0040] A first data acquisition module is used to acquire a first target time when the first photoelectric device is triggered and a first running distance of the transfer device, and to acquire image information acquired by the first device and a first acquisition time associated with the image information;

[0041] A second data acquisition module is used to acquire a second target time when the second photoelectric device is triggered and a second running distance of the transfer device, acquire identification information collected by the second device, and a second collection time associated with the identification information;

[0042] a data association module, configured to associate the first running distance with the image information according to the first target time and the first acquisition time, and to associate the second running distance with the identification information according to the second target time and the second acquisition time;

[0043] An information binding module is used to bind the image information and the identification information according to the first running distance and the second running distance to obtain an image identification group.

[0044] On the other hand, an embodiment of the present application further provides an electronic device, wherein a processor and a memory are provided in the electronic device, an application is stored in the memory, and the processor is used to run the application in the memory to implement the steps in the above-mentioned information binding method.

[0045] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to implement the steps in the above-mentioned information binding method.

[0046] From the above content, it can be concluded that the present application has the following beneficial effects:

[0047] The present application provides an information binding method, device, electronic device and computer storage medium, the method comprising: obtaining a first target time when a first photoelectric device is triggered and a first running distance of a transfer device, obtaining image information collected by the first device, and a first acquisition time associated with the image information; obtaining a second target time when a second photoelectric device is triggered and a second running distance of the transfer device, obtaining identification information collected by the second device, and a second acquisition time associated with the identification information; associating the first running distance with the image information according to the first target time and the first acquisition time, and associating the second running distance with the identification information according to the second target time and the second acquisition time; binding the image information and the identification information according to the first running distance and the second running distance to obtain an image identification group.

[0048] In the embodiment of the present application, when the first photoelectric device is triggered, the first target time and the first running distance of the transfer device are obtained, and the image information collected by the first device and its associated first collection time are obtained; when the second photoelectric device is triggered, the second target time and the second running distance of the transfer device are obtained, and the identification information collected by the second device and its associated second collection time are obtained. Then, the first running distance and the image information are first associated according to the first target time and the first collection time, and the second running distance and the identification information are associated according to the second target time and the second collection time. Finally, the image information and the identification information are bound according to the first running distance and the second running distance. Compared with the method of directly binding information according to distance in the prior art, it will first determine whether the distance can be associated with the corresponding image information or identification information. Only if it can be associated will it be further bound, which is conducive to improving the accuracy of information binding. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 It is a scenario diagram of the information binding method provided in an embodiment of the present application;

[0051] Figure 2 This is a flowchart of an embodiment of the information binding method in the embodiment of the present application;

[0052] Figure 3 This is a schematic diagram of an automated circular sorting line provided in an embodiment of the present application;

[0053] Figure 4 This is a schematic diagram of a security inspection scenario provided by an embodiment of the present application;

[0054] Figure 5 This is a schematic diagram of a security inspection scenario provided by an embodiment of the present application;

[0055] Figure 6 This is a schematic diagram of a security inspection scenario provided by an embodiment of the present application;

[0056] Figure 7 It is a schematic diagram of the structure of an embodiment of an information binding device provided in an embodiment of the present application;

[0057] Figure 8 It is a schematic diagram of the structure of an embodiment of an electronic device provided in the embodiments of the present application. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of the present application.

[0059] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0060] In this application, the word "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any technician in the field to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the present application can be implemented without using these specific details. In other instances, well-known structures and processes will not be elaborated in detail to avoid obscuring the description of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in the present application.

[0061] An information binding method, apparatus, device, and computer-readable storage medium are provided in the embodiments of the present application, which are described in detail below.

[0062] The information binding method in the embodiment of the present application is applied to an information binding device, which is arranged in an electronic device. The electronic device is provided with one or more processors, memories, and one or more applications, wherein the one or more applications are stored in the memories and configured to be executed by the processor to implement the information binding method; the electronic device can be a terminal, such as a mobile phone or a tablet computer, and the electronic device can also be a server, or a service cluster composed of multiple servers.

[0063] like Figure 1 As shown, Figure 1 This is a scenario diagram of the information binding method in an embodiment of the present application. The information binding scenario in the embodiment of the present application includes an electronic device 100 (an information binding device is integrated in the electronic device 100), and a computer-readable storage medium corresponding to the information binding is run in the electronic device 100 to execute the information binding steps.

[0064] Understandably, Figure 1 The electronic devices in the information binding scenario shown, or the devices included in the electronic devices, do not constitute a limitation on the embodiments of the present application. That is, the number of devices and types of devices included in the information binding scenario, or the number of devices and types of devices included in each device, do not affect the overall implementation of the technical solution in the embodiments of the present application, and can all be regarded as equivalent replacements or derivatives of the technical solution claimed to be protected in the embodiments of the present application.

[0065] In the embodiment of the present application, the electronic device 100 is mainly used to: obtain a first target time when the first photoelectric device is triggered and a first running distance of the transfer device, obtain image information collected by the first device, and a first acquisition time associated with the image information; obtain a second target time when the second photoelectric device is triggered and a second running distance of the transfer device, obtain identification information collected by the second device, and a second acquisition time associated with the identification information; associate the first running distance with the image information according to the first target time and the first acquisition time, and associate the second running distance with the identification information according to the second target time and the second acquisition time; bind the image information and the identification information according to the first running distance and the second running distance to obtain an image identification group.

[0066] In the embodiment of the present application, the electronic device 100 may be an independent electronic device, or an electronic device grid or electronic device cluster composed of electronic devices. For example, the electronic device 100 described in the embodiment of the present application includes but is not limited to a computer, a grid host, a single grid electronic device, a plurality of grid electronic devices, or a cloud electronic device composed of a plurality of electronic devices. The cloud electronic device is composed of a large number of computers or grid electronic devices based on cloud computing.

[0067] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only one application scenario of the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer electronic devices as shown, or electronic device grid connection relationships, such as Figure 1 Only one electronic device is shown. It can be understood that the information binding scenario may also include one or more other electronic devices, which are not specifically limited here; the electronic device 100 may also include a memory.

[0068] In addition, in the information binding scenario of the present application, the electronic device 100 may be provided with a display device, or the electronic device 100 may not be provided with a display device and may be communicated with an external display device 200, and the display device 200 is used to output the result of the execution of the information binding method in the electronic device. The electronic device 100 may access a backend database 300 (the backend database may be in the local memory of the electronic device, or may be set in the cloud), and the backend database 300 may store information related to information binding.

[0069] It should be noted that Figure 1The scenario diagram of the information binding method shown is merely an example. The information binding scenario described in the embodiment of the present application is intended to more clearly illustrate the technical solution of the embodiment of the present application and does not constitute a limitation on the technical solution provided in the embodiment of the present application.

[0070] Based on the above information binding scenario, an embodiment of the information binding method is proposed. The information binding method in this embodiment is applied to an electronic device, and the type of the electronic device is not specifically limited. For example, the electronic device can be a terminal or a server. This embodiment takes the server as an example for description.

[0071] Figure 2 is a flowchart of an information binding method provided by an embodiment of the present application, such as Figure 2 As shown, the information binding method in the embodiment of the present application includes steps 201-204:

[0072] 201, obtaining a first target time when a first photoelectric device is triggered and a first running distance of a transfer device, obtaining image information collected by the first device, and a first collection time associated with the image information.

[0073] The first photoelectric device is a pre-set photoelectric sensor, and when the first photoelectric device is triggered, a distance acquisition is performed to obtain a first running distance. The transfer device is a device for transmitting the object to be detected, which can be a conveyor belt, and is not specifically limited here. The first running distance is the running distance corresponding to the transfer device when the first photoelectric device is triggered. The first device is a device for collecting image information of the object to be detected. When collecting image information, the corresponding collection time will be recorded as the first collection time.

[0074] 202, obtaining a second target time when the second photoelectric device is triggered and a second running distance of the transfer device, obtaining identification information collected by the second device, and a second collection time associated with the identification information.

[0075] The second photoelectric device is a pre-set photoelectric sensor. When the second photoelectric device is triggered, a distance acquisition is performed to obtain a second running distance. The second running distance is the running distance corresponding to the transfer device when the second photoelectric device is triggered. The second device is a device for collecting identification information of the object to be detected. When collecting identification information, the corresponding collection time will be recorded as the second collection time.

[0076] It should be noted that the first running distance and the second running distance can be determined based on the number of conveyor belt revolutions recorded by the speed encoder connected to the transfer device. In one application scenario, the initial number of revolutions corresponding to the transfer device is predetermined (determined before the entire information collection system collects information), and the first running distance is calculated based on the difference between the first number of revolutions when the first photoelectric device is triggered and the initial number of revolutions, as well as the preset number of revolutions distance parameter value. The second running distance is calculated based on the difference between the second number of revolutions when the second photoelectric device is triggered and the initial number of revolutions, as well as the preset number of revolutions distance parameter value. Among them, the number of revolutions distance parameter value is used to indicate the running distance corresponding to each rotation of the conveyor belt of the transfer device.

[0077] In another application scenario, an initial photoelectric device can be set in front of the first photoelectric device. When the initial photoelectric is triggered, the above-mentioned initial number of circles is collected and obtained, so as to more accurately calculate the first running distance and the second running distance based on the first number of circles when the first photoelectric device is triggered, the second number of circles when the second photoelectric is triggered, and the preset circle distance parameter value.

[0078] In another application scenario, the first photoelectric device can be used as the initial photoelectric device, that is, when the first photoelectric device is triggered, the initial number of laps corresponding to the transfer device is recorded, and the first running distance is recorded as 0. When the second photoelectric device is triggered, the second number of laps corresponding to the transfer device is recorded, and the second running distance is calculated based on the second number of laps, the initial number of laps, and the preset lap distance parameter value. In this way, the number of photoelectric devices that need to be set can be reduced, the amount of calculation can be reduced, and the efficiency of information collection and information binding can be improved.

[0079] In this embodiment, a specific description is given by taking the example that the first device is arranged before the second device, that is, the object to be detected first passes through the first device and then passes through the second device, but this is not a specific limitation. During actual use, the second device can also be arranged before the first device.

[0080] In this embodiment, the above information binding method is applied to the field of express parcel security inspection as an example for specific description. For example, when an express parcel (i.e., the item to be inspected) is inspected, it will be transmitted through a transfer device and sequentially passed through the first device and the second device to obtain image information and identification information respectively. The express parcels are queued and continuously passed through the first device and the second device. At this time, the corresponding image information and identification information need to be bound so that the abnormal parcel can be identified in time when an abnormal express parcel is found.

[0081] 203. Associating the first running distance with the image information according to the first target time and the first acquisition time, and associating the second running distance with the identification information according to the second target time and the second acquisition time.

[0082] Specifically, the judgment is made based on the first target time triggered by the first photoelectric device and the first acquisition time when the image information is collected. If the first target time and the first acquisition time are close, it means that the corresponding object passing through the first photoelectric device and the first device is the same object to be detected, and the first running distance can be bound to the image information. In addition, when the first target time and the first acquisition time are close, the distance transmitted by the transfer device during the period from the first target time to the first acquisition time is small and can be ignored, so the first running distance can be regarded as the running distance of the transfer device corresponding to the image information collection.

[0083] The association and binding of the second running distance and the identification information can refer to the binding process of the first running distance and the image information, which will not be repeated here.

[0084] 204. Bind the image information and identification information according to the first running distance and the second running distance to obtain an image identification group.

[0085] In an application scenario, the first photoelectric device is arranged closely to the first device, and the second photoelectric device is arranged closely to the second device. Therefore, the bound first running distance can be regarded as the distance information corresponding to the image information collection, and the bound second running distance can be regarded as the distance information corresponding to the identification information collection. Therefore, information binding can be performed based on the first running distance and the second running distance, wherein the image identification group obtained when the binding is successful is composed of matching image information and identification information (i.e., belonging to the same object to be detected).

[0086] In another application scenario, because the distance between the first photoelectric device and the first device is fixed, and the distance between the second photoelectric device and the second device is fixed, when information binding is performed based on the first operating distance and the second operating distance, the distance between the first device and the second device, the distance between the first photoelectric device and the first device, and the distance between the second photoelectric device and the second device can be comprehensively considered, and a distance interval is set to determine whether the binding can be successful during the information binding process, thereby reducing the impact of data differences caused by distance acquisition time and information (including image information and identification information) acquisition time, and improving the accuracy of information binding.

[0087] In some embodiments of the present application, the above-mentioned information binding method can be applied to a large-piece circular sorting line (ie, an automated packaging machine). Figure 3 is a schematic diagram of an automated circular sorting line provided in an embodiment of the present application, such as Figure 3As shown, on a circular sorting line, there are multiple carts serving as containers, and at least one guide table / feed table, which are used to transfer tickets to the circular sorting line. In addition, around the circular sorting line (generally on the periphery), multiple destination-related grids and chutes are configured to connect with the loading grids of the site. After the tickets are diverted from the destination grids, they can be automatically loaded.

[0088] One or two barcode scanning devices will be installed on the circular sorting line. When a ticket passes through the barcode scanning device, the waybill number of the ticket on the trolley will be identified, and then the destination flow of the ticket will be queried. When the trolley runs to the grid position associated with the destination flow, the movement of the pendulum on the trolley is controlled to automatically sort the ticket to the grid associated with the destination, thereby completing unmanned and fully automated sorting of large-scale batch tickets.

[0089] In one application scenario, security inspection machines and code scanning equipment are installed in the guide area to bind the image and code. Compared with the straight sorting line, the automated circular sorting line can improve the sorting efficiency and increase the site throughput. Adaptively, security inspection can be carried out during the guide feeding process, but the conveyor belt in this area may start and stop repeatedly. If the code is bound based on time, it may affect the success rate and accuracy of the code. Binding based on distance requires considering whether there is a data collection difference between the distance and the corresponding information.

[0090] Figure 4 This is a schematic diagram of a security inspection scenario provided by an embodiment of the present application. Specifically, the following can be set in the guide station area: Figure 4 The security inspection equipment, RFID equipment and six-sided scanning equipment shown are used to perform security inspection on the tickets entering the circular sorting line. Figure 4 The security inspection device is the first device used to collect image information, and Figure 4 In the present invention, two devices, an RFID device and a six-sided scanning device, are set as the second device for collecting identification information. In actual use, only one of the RFID device and the six-sided scanning device can be set, which is not specifically limited here.

[0091] Because the number of carts on the circular sorting line is limited, the conveyor belt of the guide table needs to be paused when the cart is fully loaded. Therefore, the conveyor belt may start and stop repeatedly during the security inspection process. At this time, if the code is bound based on time, it is easy to fail.

[0092] Therefore, in the embodiment of the present application, information binding is performed based on the running distance corresponding to the conveyor belt (i.e., the conveying equipment), and considering that there may be errors in the collection of distance information and the collection of image information and identification information, it is first determined whether the corresponding distance can be bound to the image information or identification information, and then the code is bound according to the bound distance.

[0093] Specifically, in the above step 203, when associating and binding the first running distance and the image information, and associating and binding the second running distance and the identification information, any one of the following three methods may be used:

[0094] (1) A first time judgment threshold and a second time judgment threshold are pre-set, and their specific values ​​can be pre-set and adjusted according to actual needs. When the difference between the first acquisition time and the first target time does not exceed the first time judgment threshold, the first running distance can be associated with the image information. When the difference between the second acquisition time and the second target time does not exceed the second time judgment threshold, the second running distance can be associated with the identification information.

[0095] (2) Determine the first time judgment range based on the distance between the first photoelectric device and the first device, and the average speed of the transfer device; determine the second time judgment range based on the distance between the second photoelectric device and the second device, and the average speed of the transfer device. When the difference between the first acquisition time and the first target time falls within the first time judgment range, the first running distance can be associated and bound with the image information. When the difference between the second acquisition time and the second target time falls within the second time judgment range, the second running distance can be associated and bound with the identification information.

[0096] (3) In some embodiments of the present application, the first photoelectric device is arranged adjacent to the first device, and the time difference between the trigger time corresponding to the first photoelectric device and the image information acquisition time corresponding to the second device is very small; similarly, the second photoelectric device is arranged adjacent to the second device. At this time, it is determined whether the corresponding distance can be bound to the image information or identification information according to the following steps: obtaining the first historical target time when the first photoelectric device was triggered last time, and obtaining the first historical acquisition time associated with the historical image information acquired last time by the first device;

[0097] Acquire a second historical target time when the second optoelectronic device was triggered last time, and acquire a second historical collection time associated with the historical identification information collected last time by the second device;

[0098] Associating the image information with the first running distance according to a time difference between the first target time and the first historical target time, and a time difference between the first acquisition time and the first historical acquisition time;

[0099] The identification information and the second running distance are associated according to a time difference between the second target time and the second historical target time, and a time difference between the second collection time and the second historical collection time.

[0100] In the third method described above, the historical target time and historical collection time of the previous batch of items are combined to determine whether the running distance can be associated with the corresponding image information or identification information. Specifically, the target time difference between two adjacent batches of items triggering the first photoelectric device and the collection time difference between the two adjacent batches of items passing through the first device are determined, and based on the difference between the target time difference and the collection time difference, it is determined whether the image information and the corresponding running distance information can be associated. The same method is used to make the judgment for the identification information, which will not be repeated here.

[0101] In some embodiments of the present application, associating the image information with the first running distance according to the time difference between the first target time and the first historical target time, and the time difference between the first acquisition time and the first historical acquisition time, includes:

[0102] Calculating a first adjacent time difference between the first target time and the first historical target time;

[0103] Calculating a second adjacent time difference between the first collection time and the first historical collection time;

[0104] determining whether a first target time difference between the first adjacent time difference and the second adjacent time difference belongs to a first time interval, wherein the first time interval is determined according to an image acquisition delay of the first device;

[0105] If the first target time difference belongs to a preset first time interval, the image information and the first running distance are associated.

[0106] The associating the identification information with the second running distance according to the time difference between the second target time and the second historical target time, and the time difference between the second collection time and the second historical collection time, comprises:

[0107] Calculating a third adjacent time difference according to the second target time and the second historical target time;

[0108] Calculating a fourth adjacent time difference according to the second collection time and the second historical collection time;

[0109] determining whether a second target time difference between the third adjacent time difference and the fourth adjacent time difference belongs to a preset second time interval, where the second time interval is determined according to an identification collection delay of the second device;

[0110] If the second target time difference belongs to the preset second time interval, the identification information and the second running distance are associated.

[0111] Among them, the image acquisition delay of the first device is the time required from the triggering of the first photoelectric device to the image information acquisition of the first device, that is, when the object to be detected is transmitted through the transmission device, the time required for the transmission from the trigger position corresponding to the first photoelectric device to the image information acquisition position of the first device, which can be determined according to the distance between the first photoelectric device and the first device, and the speed of the transmission device. According to the image acquisition delay, the interval range is expanded (the specific expansion range can be pre-set and adjusted) to obtain the corresponding first time interval, so as to improve the fault tolerance and accuracy when performing association matching.

[0112] The identification acquisition delay of the second device is the time required from the triggering of the second optoelectronic device to the second device collecting identification information. The method for determining the identification acquisition delay and the second time interval can refer to the method for determining the image acquisition delay and the first time interval, which will not be repeated here.

[0113] In some embodiments of the present application, the second device includes: a label information recognition device and / or a single number information scanning device;

[0114] The identification information includes: label information and / or order number information;

[0115] The second photoelectric device includes: a label collection photoelectric sensor and / or a single number collection photoelectric sensor;

[0116] The second running distance includes: the label collection running distance of the transfer device when the label collection photoelectric sensor corresponding to the label information recognition device is triggered, and / or the order number collection running distance of the transfer device when the order number information scanning device corresponds to the order number collection photoelectric sensor is triggered.

[0117] The tag information identification device may be an RFID device, which is used to identify and obtain the RFID tag information of the object to be detected; the order number scanning device may be a six-sided scanning device, which is used to scan and obtain the order number information of the object to be detected; specifically, there are the following situations:

[0118] (1) When the second device only includes the tag information recognition device, a tag collection photoelectric sensor is provided at the entrance of the tag information recognition device. In this case, the identification information includes the tag information, and the second running distance includes the tag collection running distance.

[0119] (2) When the second device only includes the order number information scanning device, a number collection photoelectric sensor is provided at the entrance of the order number information scanning device. In this case, the identification information includes the order number information, and the second running distance includes the order number collection running distance.

[0120] (3) When the second device includes a tag information recognition device and a single number information scanning device, a tag collection photoelectric sensor is provided at the entrance of the tag information recognition device, and a single number collection photoelectric sensor is provided at the entrance of the single number information scanning device. At this time, the identification information includes the tag information and the single number information, and the second running distance includes the tag collection running distance and the single number collection running distance. The second target time includes the tag collection photoelectric trigger time and the single number collection photoelectric trigger time, and the second collection time includes the tag information collection time and the single number information collection time. When associating the second running distance with the identification information according to the second target time and the second collection time, the tag information and the tag collection running distance are associated according to the tag collection photoelectric trigger time and the tag information collection time, and the single number information and the single number collection running distance are associated according to the single number collection photoelectric trigger time and the single number information collection time. When binding the image information and the identification information according to the first running distance and the second running distance, the image information and the tag information are bound according to the first running distance and the tag collection running distance, and the image information and the single number information are bound according to the first running distance and the single number collection running distance.

[0121] (4) When the second device includes a tag information recognition device and an order number information scanning device, a tag collection photoelectric sensor is provided at the entrance of the tag information recognition device, and a order number collection photoelectric sensor is provided at the entrance of the order number information scanning device. At this time, the identification information includes a type of information determined based on the tag information and the order number information (which can be one of the tag information and the order number information, or a new information obtained by integrating the two), and the second running distance includes a type of distance determined based on the tag collection running distance and the order number collection running distance (which can be one of the tag collection running distance and the order number collection running distance, or a new distance obtained by integrating the two, such as an average distance). The second target time is determined based on the trigger time corresponding to the tag collection photoelectric sensor and the order number collection photoelectric sensor (which can be one of the two, or a new time obtained by integrating the two, such as an average time). The second collection time is determined based on the collection time corresponding to the tag information and the order number information (which can be one of the two, or a new time obtained by integrating the two, such as an average time).

[0122] In some embodiments of the present application, for the above-mentioned situation (4), the obtaining of the second target time when the second photoelectric device is triggered and the second running distance of the transfer device, the obtaining of the identification information collected by the second device, and the second collection time associated with the identification information include:

[0123] Determine whether the distance difference between the tag collection running distance and the order number collection running distance belongs to a preset fusion distance interval, wherein the preset fusion distance interval is determined according to the distance between the tag information recognition device and the order number information scanning device;

[0124] If the distance difference between the tag collection running distance and the order number collection running distance belongs to a preset fusion distance interval, the second running distance is determined according to the tag collection running distance and the order number collection running distance, the identification information is determined according to the tag information and the order number information, and the second collection time corresponding to the identification information is determined.

[0125] In an application scenario, if the order number information is not a null value, the order number information is used as the identification information; if the order number information is a null value and the tag information is not a null value, the tag information is used as the identification information; if the order number information and the tag information are both null values, the preset waybill null value information is used as the identification information; the trigger time corresponding to the order number collection sensor is used as the second target time, and the collection time corresponding to the order number information is used as the second collection time.

[0126] Among them, the order number information scanning device and the label information identification device are configured to use a preset null value as the corresponding order number information or label information when the order number of the package is not scanned or the corresponding label is not identified, so as to avoid affecting the accuracy of information binding due to missing information.

[0127] In some embodiments of the present application, the step of binding the image information and the identification information according to the first running distance and the second running distance includes:

[0128] Acquire a target binding distance interval, wherein the target binding distance interval is determined according to a transfer distance between the first device and the second device;

[0129] Calculating a target distance difference according to the first running distance and the second running distance;

[0130] If the target distance difference belongs to the target binding distance interval, the image information and the identification information are bound to obtain an image identification group.

[0131] It should be noted that the target binding distance interval is obtained by expanding the interval range according to the transfer distance between the first device and the second device (i.e., the transmission distance corresponding to the conveyor belt between the two). The specific expansion range can be set and adjusted according to actual needs, and the maximum expansion range can be limited according to the average interval between two adjacent items to be detected to avoid binding the information of the latter batch of items to the previous batch.

[0132] In the embodiment of the present application, the above information binding method is further specifically described based on a specific application scenario. Figure 5 is a schematic diagram of a security inspection scenario provided by an embodiment of the present application, such as Figure 5 As shown, information is collected through security inspection equipment, RFID equipment and six-sided scanning equipment, and a first photoelectric device is set up next to the entrance of the security inspection equipment, a label collection photoelectric sensor is set up next to the entrance of the RFID equipment, and a single number collection photoelectric sensor is set up next to the entrance of the six-sided scanning equipment. It should be noted that Figure 5 The positions of the security inspection equipment, RFID equipment and six-sided scanning equipment are only examples and are not specific limitations.

[0133] Figure 6 is a schematic diagram of a security inspection scenario provided by an embodiment of the present application, such as Figure 6 As shown, in addition to the first photoelectric device T0, the tag collection photoelectric sensor T2 and the order number collection photoelectric sensor T3, the security inspection device is also equipped with a security inspection image collection photoelectric sensor T1, the RFID device is also equipped with an RFID photoelectric sensor T2', and the six-sided scanning device is also equipped with a six-sided scanning photoelectric sensor T3'.

[0134] It should be noted that the security inspection equipment, RFID equipment and six-sided scanning equipment are usually equipped with corresponding photoelectric sensors to trigger information collection. In actual use, the photoelectric sensors inside the security inspection equipment, RFID equipment and six-sided scanning equipment can also be directly used as the first photoelectric device, the tag collection photoelectric sensor and the order number collection photoelectric sensor to trigger distance collection. However, these sensors are inside the equipment. If the function needs to be reset, the equipment needs to be disassembled or even the circuit structure needs to be changed, which is complicated to operate. Therefore, you can Figure 6 As shown, a first photoelectric device T0, a tag collection photoelectric sensor T2 and a single number collection photoelectric sensor T3 are additionally provided to trigger the collection of distance information.

[0135] In some embodiments of the present application, the first photoelectric device T0 is arranged adjacent to the security inspection image acquisition photoelectric sensor T1, the tag acquisition photoelectric sensor T2 is arranged adjacent to the RFID photoelectric sensor T2', and the order number acquisition photoelectric sensor T3 is arranged adjacent to the six-sided scanning photoelectric sensor T3'. The adjacently arranged photoelectric sensors can be regarded as being triggered at the same time, thereby reducing the time delay corresponding to the distance acquisition to the information acquisition, and better associating the distance with the corresponding image information or identification information.

[0136] It should be noted that the conveyor belts in the security inspection area (i.e. the area where image information and identification information are collected for information binding) are set to start and stop at the same time, that is, when the supply of items on the guide table is limited, the belts in this area should start and stop at the same time. This ensures that the distance between tickets on the belt in the centralized security inspection area remains basically unchanged even when there are repeated starts and stops, thereby improving the accuracy of information binding.

[0137] In some embodiments of the present application, Figure 6 Each device and photoelectric sensor in the system is connected to the centralized security inspection system to upload the corresponding information to the centralized security inspection system (XRCD, X-Ray Contraband Detection) for information binding. The specific process of information binding can refer to the following steps S0-S2:

[0138] S0, preparation stage, that is, each device collects corresponding information;

[0139] It should be noted that the security inspection equipment, RFID equipment and six-sided scanning equipment are pre-synchronized with the time server / centralized security inspection server in the transfer yard. And the security inspection equipment can report a variety of information to the centralized security inspection system, including: belt start / stop status (start / stop), corresponding start / stop time and the total belt travel of the security inspection machine at the time of start / stop status; when the newly added associated equipment photoelectric T2 or T3 is triggered, the photoelectric trigger information is reported: trigger photoelectric index identification, such as index 1 is RFID, index 2 is six-sided scanning, index 3 is security inspection machine entrance photoelectric (specific configuration can be based on actual needs), timestamp of photoelectric triggering moment, and total belt travel of the security inspection machine at the time of photoelectric triggering.

[0140] S1, the image information is associated with the first running distance, and the identification information is associated with the second running distance;

[0141] In the embodiment of the present application, the association between the identification information and the second running distance is taken as an example for specific description, as shown in the following steps S11-S13:

[0142] S11, the order number information obtained by the six-sided scanning device is associated and integrated with the order number collection running distance: the code scanning software on the six-sided scanning device establishes a TCP connection with the centralized security inspection system (XRCD) and communicates through a private protocol. After the ticket passes through the six-sided scanning device, the six-sided scanning software will upload the trigger timestamp ObrTimestamp of the six-sided scanning photoelectric sensor T3' and the ticket number information Sn_Obr to XRCD. Because the newly added order number collection photoelectric sensor T3 is set next to T3', it can be theoretically considered that T3 is photoelectrically triggered at almost the same time. At this time, the timestamp XRayTrigger3Timestamp of the T3 photoelectric trigger and the total travel TotalMoveDistance_Obr of the belt since it was started at that time (i.e. the order number collection running distance) are reported.

[0143] When performing data fusion, the following steps S111-S113 may be referred to:

[0144] S111: When data is merged, calculate ObrTimeDiff = ObrTimestamp-lastObrTimestamp, where lastObrTimestamp is the timestamp corresponding to the last ticket passing T3' photoelectric. In this way, the difference between the time when the current ticket passes T3' photoelectric and the time when the last ticket passes T3' photoelectric is obtained; calculate XRayTrigger3TimeDiff = XRayTrigger3Timestamp-lastXRayTrigger3Timestamp to obtain the difference between the time when the current ticket passes T3 photoelectric and the time when the last ticket passes T3 photoelectric.

[0145] By calculating the corresponding difference: deltaTrigger3 = ObrTimeDiff - XRayTrigger3TimeDiff, when deltaTrigger3 is within the specified range (timeRangeMin, timeRangeMax), it can be considered that the ticket currently passing through T3' photoelectric and T3 photoelectric is the same, that is, the association and fusion of the order number information obtained by the six-sided scanning device and the order number collection running distance can be realized. Among them, (timeRangeMin, timeRangeMax) can be set according to actual needs, for example, set to (-100, 100), the unit is milliseconds (ms), but it is not a specific limitation.

[0146] S112: When the condition timeRangeMin < deltaTrigger3 < timeRangeMax is not satisfied, the current time difference can be calculated: deltaTimeDiff = XRayTrigger3Timestamp - ObrTimestamp; by constraining timeRangeMin’ < deltaTimeDiff < timeRangeMax’ to determine whether the ticket passing through the T3 and T3’ optoelectronics is the same ticket. The setting of (timeRangeMin’, timeRangeMax’) is actually related to the adjacent distance between the T3 and T3’ optoelectronics. For example, if the T3 and T3’ optoelectronics are 3 cm apart, that is, 30 mm, and if the belt running speed is 2 m / s, the theoretical time difference between T3 and T3’ should be: idealDeltaT = 15 ms; the specific range of (timeRangeMin’, timeRangeMax’) can be determined by expanding the interval range with reference to the theoretical time difference value.

[0147] S113: After determining that the data corresponding to T3 and T3’ corresponds to the same ticket, the information associated with T3 (XRayTrigger3Timestamp, TotalMoveDistance_Obr) can be associated with the information associated with T3’ (ObrTimestamp, Sn_Obr) to obtain the scanning time, order number information associated with the ticket when the ticket passes through the six-sided scan, and the total travel of the belt conveyor at that moment (ObrTimestamp, Sn_Obr, TotalMoveDistance_Obr).

[0148] S12. The tag information obtained by the RFID device is associated and fused with the tag collection running distance;

[0149] The tag reading software on the RFID device establishes a TCP connection with the centralized security inspection system and communicates through a private protocol. When the ticket passes through the RFID device, the RFID software reports the trigger timestamp RfidTimestamp of the acquisition optoelectronics T2’ and the ticket tag information Sn_Rfid to the XRCD. Since T2 is set adjacent to T2’, it can be theoretically considered that T2’ is triggered almost simultaneously with the T2 optoelectronics. At the same time, the timestamp XRayTrigger2Timestamp of the T2 optoelectronics trigger and the total travel TotalMoveDistance_Rfid of the security inspection machine belt after startup at that moment are reported.

[0150] The specific process of associating and integrating the tag information obtained by the RFID device with the tag acquisition running distance can refer to the specific process of associating and integrating the waybill number information obtained by the six-sided scanning device with the waybill number acquisition running distance in the above steps S111 - S113, which will not be elaborated here. After integration, the scanning time, tag information associated with the waybill, and the total travel distance of the security inspection machine belt at that time (RfidTimestamp, Sn_Rfid, TotalMoveDistance_Rfid) can be obtained when the waybill passes through the RFID device.

[0151] S13, perform data integration on the tag information and waybill number information associated with the distance;

[0152] According to S11 and S12, obtain (ObrTimestamp, Sn_Obr, TotalMoveDistance_Obr), denoted as the waybill number integration information ObrInfo; and (RfidTimestamp, Sn_Rfid, TotalMoveDistance_Rfid), denoted as the tag integration information RfidInfo.

[0153] It should be noted that in the actual use process, the waybills do not pass through one by one, but in the form of batch logistics. Therefore, what is actually obtained is a series of ObrInfo and a series of RfidInfo. Ideally, these two queues are one-to-one. However, in the actual use process, affected by equipment failures, mis-triggering caused by the shape of the waybill, etc., the actually received data may contain redundant data such as mis-triggering, and it is also possible that a certain queue is missing some data. Therefore, in order to finally bind with the image information, the ObrInfo and RfidInfo of the same waybill need to be integrated again to obtain the integrated identification information SnInfo.

[0154] In some embodiments of the present application, for ObrInfo and RfidInfo, calculate SnDistanceDiff = ObrInfo.TotalMoveDistance_Obr - RfidInfo.TotalMoveDistance_Rfid, and determine whether SnDistanceDiff belongs to (snDistanceRangeMin, snDistanceRangeMax), where (snDistanceRangeMin, snDistanceRangeMax) can be preset and adjusted according to actual needs. If snDistanceRangeMin < SnDistanceDiff < snDistanceRangeMax is satisfied, it can be considered that the corresponding ObrInfo and RfidInfo belong to the same waybill, and the identification information integration can be performed.

[0155] When performing identification information fusion, if the order number information in ObrInfo is normal waybill information, then the order number information is preferred as the identification information. If the order number information is not normal waybill information, but a preset null value (such as EEEEEEEEEEEEEE), then determine whether the tag information in RfidInfo is normal. If the tag information is normal, use the tag information as the identification information. Otherwise, if the tag information is also the corresponding preset null value (such as noread, indicating no RFID reading), use the preset null value as the identification information. Specifically, it can include the following three situations:

[0156] (1) If ObrInfo.Sn_Obr is a normal waybill, the SnInfo fusion result is: SnInfo (ObrInfo.ObrTimestamp, ObrInfo.TotalMoveDistance_Obr, ObrInfo.Sn_Obr);

[0157] (2) If ObrInfo.Sn_Obr is an abnormal waybill and RfidInfo.Sn_Rfid is not noread, the fusion result corresponding to SnInfo is: SnInfo(ObrInfo.ObrTimestamp, ObrInfo.TotalMoveDistance_Obr, RfidInfo.Sn_Rfid).

[0158] (3) If ObrInfo.Sn_Obr is an abnormal waybill and RfidInfo.Sn_Rfid is noread, the SnInfo fusion result includes the unread waybill, which can be set to a preset null value (for example, EEEEEEEEEEEEEEEE), and the final fusion result is: SnInfo (ObrInfo.ObrTimestamp, ObrInfo.TotalMoveDistance_Obr, EEEEEEEEEEEEEEE).

[0159] It should be noted that the above fusion process is for the case of obtaining identification information by using both RFID devices and six-sided scanning devices at the same time. In actual use, only one of the devices can be used, and then the step of fusing label information and waybill number information does not need to be performed. To ensure the consistency of the description, the data corresponding to the finally obtained identification information is denoted as SNInfo(SnTimestamp, TotalMoveDistance_Sn, WaybillNo), where SnTimestamp is the second acquisition time or the second target time, TotalMoveDistance_Sn is the second running distance, and WaybillNo is the identification information.

[0160] S2. Bind (i.e., fuse) the identification information and the image information. Specifically, perform information binding according to the first running distance fused with the image information and the second running distance fused with the identification information.

[0161] Denote the image information data fused with the first running distance as XImgInfo(XImgTimestamp, TotalMoveDistance_XRay, XImg), where XImgTimestamp is the first acquisition time or the first target time, TotalMoveDistance_XRay is the first running distance, and XImg is the image information.

[0162] Calculate the target distance difference DistanceDiff = XImgInfo.TotalMoveDistance_XRay - SnInfo.TotalMoveDistance_Sn between the first running distance and the second running distance. Theoretically, DistanceDiff will be equal to the actual distance between the security inspection image-taking optoelectronic sensor and the six-sided scanning optoelectronic sensor. However, in actual use, because the sizes of the tickets on the belt are different, the corresponding distances when collecting the corresponding information are not necessarily equal. If directly compared with a fixed distance, the error tolerance rate is small. Therefore, the target binding distance interval (distanceRangeMin, distanceRangeMax) can be used to judge information binding. If distanceRangeMin < DistanceDiff < distanceRangeMax, it is considered that information binding can be performed; otherwise, information binding cannot be performed.

[0163] It should be noted that there is a single-piece separation device that pulls the distance between the tickets before entering the centralized security inspection area. Therefore, a certain degree of redundancy can be made for the distance constraint. For example, if the distance between two adjacent tickets is 900mm after the single-piece separation device pulls the distance between the tickets, the difference between distanceRangeMax-distanceRangeMin can be about 1.5 times the distance, that is, 1350mm, to prevent binding to adjacent tickets. Specifically, if the distance difference between the security inspection equipment's image collection photoelectric sensor and the six-sided scanning photoelectric sensor is 5000mm, and the minimum distance between adjacent tickets controlled by the single-piece separation device is 900mm, then distanceRangeMin can be set to 5000-(1350 / 2)=4325mm, and distanceRangeMax=5000+(1350 / 2)=5675mm.

[0164] In some embodiments of the present application, for the queue where the image information is located and the queue where the identification information is located, timed data clearing or queue reset can be performed. Specifically, if after the stop information of the conveyor belt is detected, after a preset time interval, no start information of the conveyor belt is detected, it is considered that the current transmission line is stopped, and the data in the queue where the image information is located and the queue where the identification information is located can be cleared.

[0165] Alternatively, the number of incorrect bindings in information binding is recorded, and when the number of consecutive binding errors reaches a preset error threshold, the data in the queue where the image information is located and the queue where the identification information is located can be cleared. In this way, the impact of incorrectly collected data on the subsequent information binding process is reduced, which is conducive to improving the accuracy of the subsequent information binding process.

[0166] In this way, based on the information binding method provided in the embodiment of the present application, the first target time when the first photoelectric device is triggered and the first running distance of the transfer device can be obtained, the image information collected by the first device, and the first acquisition time associated with the image information can be obtained; the second target time when the second photoelectric device is triggered and the second running distance of the transfer device can be obtained, the identification information collected by the second device, and the second acquisition time associated with the identification information can be obtained; according to the first target time and the first acquisition time, the first running distance and the image information are associated, and according to the second target time and the second acquisition time, the second running distance and the identification information are associated; according to the first running distance and the second running distance, the image information and the identification information are bound to obtain an image identification group.

[0167] In the embodiment of the present application, when the first photoelectric device is triggered, the first target time and the first running distance of the transfer device are obtained, and the image information collected by the first device and its associated first collection time are obtained; when the second photoelectric device is triggered, the second target time and the second running distance of the transfer device are obtained, and the identification information collected by the second device and its associated second collection time are obtained. Then, the first running distance and the image information are first associated according to the first target time and the first collection time, and the second running distance and the identification information are associated according to the second target time and the second collection time. Finally, the image information and the identification information are bound according to the first running distance and the second running distance. Compared with the method of directly binding information according to distance in the prior art, it will first determine whether the distance can be associated with the corresponding image information or identification information. Only if it can be associated will it be further bound, which is conducive to improving the accuracy of information binding.

[0168] In order to better implement the information binding method in the embodiment of the present application, based on the information binding method, an information binding device is also provided in the embodiment of the present application. Figure 7 is a schematic diagram of the structure of an embodiment of the information binding device provided in the embodiment of the present application, such as Figure 7 As shown, the information binding device includes:

[0169] The first data acquisition module 701 is used to acquire the first target time when the first photoelectric device is triggered and the first running distance of the transfer device, and acquire the image information collected by the first device and the first collection time associated with the image information;

[0170] The second data acquisition module 702 is used to acquire the second target time when the second photoelectric device is triggered and the second running distance of the transfer device, acquire the identification information collected by the second device, and the second collection time associated with the identification information;

[0171] A data association module 703, configured to associate the first running distance with the image information according to the first target time and the first acquisition time, and to associate the second running distance with the identification information according to the second target time and the second acquisition time;

[0172] The information binding module 704 is used to bind the image information and the identification information according to the first running distance and the second running distance to obtain an image identification group.

[0173] In some embodiments of the present application, the data association module 703 is specifically used to: obtain a first historical target time when the first optoelectronic device was last triggered, and obtain a first historical acquisition time associated with the historical image information last acquired by the first device;

[0174] Acquire a second historical target time when the second optoelectronic device was triggered last time, and acquire a second historical collection time associated with the historical identification information collected last time by the second device;

[0175] Associating the image information with the first running distance according to a time difference between the first target time and the first historical target time, and a time difference between the first acquisition time and the first historical acquisition time;

[0176] The identification information and the second running distance are associated according to a time difference between the second target time and the second historical target time, and a time difference between the second collection time and the second historical collection time.

[0177] In some embodiments of the present application, the data association module 703 is further specifically used to: calculate a first adjacent time difference between the first target time and the first historical target time;

[0178] Calculating a second adjacent time difference between the first collection time and the first historical collection time;

[0179] determining whether a first target time difference between the first adjacent time difference and the second adjacent time difference belongs to a first time interval, wherein the first time interval is determined according to an image acquisition delay of the first device;

[0180] If the first target time difference belongs to a preset first time interval, associating the image information with the first running distance;

[0181] Calculating a third adjacent time difference according to the second target time and the second historical target time;

[0182] Calculating a fourth adjacent time difference according to the second collection time and the second historical collection time;

[0183] determining whether a second target time difference between the third adjacent time difference and the fourth adjacent time difference belongs to a preset second time interval, where the second time interval is determined according to an identification collection delay of the second device;

[0184] If the second target time difference belongs to the preset second time interval, the identification information and the second running distance are associated.

[0185] In some embodiments of the present application, the second device includes: a label information recognition device and / or a single number information scanning device;

[0186] The identification information includes: label information and / or order number information;

[0187] The second photoelectric device includes: a label collection photoelectric sensor and / or a single number collection photoelectric sensor;

[0188] The second running distance includes: the label collection running distance of the transfer device when the label collection photoelectric sensor corresponding to the label information recognition device is triggered, and / or the order number collection running distance of the transfer device when the order number information scanning device corresponds to the order number collection photoelectric sensor is triggered.

[0189] In some embodiments of the present application, the second device includes: a label information recognition device and a single number information scanning device;

[0190] The second data acquisition module 702 is specifically used to: determine whether the distance difference between the tag collection running distance and the order number collection running distance belongs to a preset fusion distance interval, wherein the preset fusion distance interval is determined according to the distance between the tag information recognition device and the order number information scanning device;

[0191] If the distance difference between the tag collection running distance and the order number collection running distance belongs to a preset fusion distance interval, the second running distance is determined according to the tag collection running distance and the order number collection running distance, the identification information is determined according to the tag information and the order number information, and the second collection time corresponding to the identification information is determined.

[0192] In some embodiments of the present application, the information binding module 704 is specifically used to: obtain a target binding distance interval, wherein the target binding distance interval is determined according to a transit distance between the first device and the second device;

[0193] Calculating a target distance difference according to the first running distance and the second running distance;

[0194] If the target distance difference belongs to the target binding distance interval, the image information and the identification information are bound to obtain an image identification group.

[0195] In this way, based on the information binding device provided in the embodiment of the present application, the first target time and the first running distance of the transfer device can be obtained when the first photoelectric device is triggered, and the image information collected by the first device and its associated first collection time can be obtained; when the second photoelectric device is triggered, the second target time and the second running distance of the transfer device can be obtained, and the identification information collected by the second device and its associated second collection time can be obtained. Then, the first running distance and the image information are first associated according to the first target time and the first collection time, and the second running distance and the identification information are associated according to the second target time and the second collection time. Finally, the image information and the identification information are bound according to the first running distance and the second running distance. Compared with the method of directly binding information based on distance in the prior art, it will first determine whether the distance can be associated with the corresponding image information or identification information, and only if it can be associated will it be further bound, which is conducive to improving the accuracy of information binding.

[0196] The present application also provides an electronic device, such as Figure 8 As shown, Figure 8 It is a schematic diagram of the structure of an embodiment of an electronic device provided in the embodiments of the present application.

[0197] The electronic device integrates any one of the information binding devices provided in the embodiments of the present application, and the electronic device includes:

[0198] one or more processors;

[0199] Memory; and

[0200] One or more applications, wherein the one or more applications are stored in the memory and are configured so that the processor executes the steps of the information binding method described in any of the above-mentioned information binding method embodiments.

[0201] Specifically, the electronic device may include one or more processors 801 of processing cores, one or more computer-readable storage media memories 802, a power supply 803, an input unit 804 and other components. Those skilled in the art will understand that Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0202] The processor 801 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 802 and calling data stored in the memory 802, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 801.

[0203] The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.

[0204] The electronic device also includes a power supply 803 for supplying power to each component. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 803 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

[0205] The electronic device may further include an input unit 804, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0206] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 801 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 802 according to the following instructions, and the processor 801 will run the application programs stored in the memory 802, thereby realizing various functions, as follows:

[0207] Acquire a first target time when the first photoelectric device is triggered and a first running distance of the transfer device, acquire image information acquired by the first device, and a first acquisition time associated with the image information;

[0208] Acquire a second target time when the second photoelectric device is triggered and a second running distance of the transfer device, acquire identification information collected by the second device, and a second collection time associated with the identification information;

[0209] Associating the first running distance with the image information according to the first target time and the first acquisition time, and associating the second running distance with the identification information according to the second target time and the second acquisition time;

[0210] The image information and identification information are bound according to the first running distance and the second running distance to obtain an image identification group.

[0211] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0212] To this end, an embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the information binding methods provided in the embodiments of the present application. For example, the computer program can be loaded by a processor to execute the following steps:

[0213] Acquire a first target time when the first photoelectric device is triggered and a first running distance of the transfer device, acquire image information acquired by the first device, and a first acquisition time associated with the image information;

[0214] Acquire a second target time when the second photoelectric device is triggered and a second running distance of the transfer device, acquire identification information collected by the second device, and a second collection time associated with the identification information;

[0215] Associating the first running distance with the image information according to the first target time and the first acquisition time, and associating the second running distance with the identification information according to the second target time and the second acquisition time;

[0216] The image information and identification information are bound according to the first running distance and the second running distance to obtain an image identification group.

[0217] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0218] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.

[0219] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0220] The information binding method, device, electronic device, computer-readable storage medium and computer-readable storage medium provided by the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An information binding method, characterized in that: The information binding method comprises: Acquire a first target time when the first photoelectric device is triggered and a first running distance of the transfer device, acquire image information acquired by the first device, and a first acquisition time associated with the image information; Acquire a second target time when the second photoelectric device is triggered and a second running distance of the transfer device, acquire identification information collected by the second device, and a second collection time associated with the identification information; Associating the first running distance with the image information according to the first target time and the first acquisition time, and associating the second running distance with the identification information according to the second target time and the second acquisition time; The image information and identification information are bound according to the first running distance and the second running distance to obtain an image identification group.

2. The information binding method according to claim 1, characterized in that: The associating the first running distance and the image information according to the first target time and the first acquisition time, and associating the second running record and the identification information according to the second target time and the second acquisition time, includes: Acquire a first historical target time when the first optoelectronic device was triggered last time, and acquire a first historical acquisition time associated with historical image information acquired last time by the first device; Acquire a second historical target time when the second optoelectronic device was triggered last time, and acquire a second historical collection time associated with the historical identification information collected last time by the second device; Associating the image information with the first running distance according to a time difference between the first target time and the first historical target time, and a time difference between the first acquisition time and the first historical acquisition time; The identification information and the second running distance are associated according to a time difference between the second target time and the second historical target time, and a time difference between the second collection time and the second historical collection time.

3. The information binding method according to claim 2, characterized in that: The associating the image information with the first running distance according to the time difference between the first target time and the first historical target time, and the time difference between the first acquisition time and the first historical acquisition time, comprises: Calculating a first adjacent time difference between the first target time and the first historical target time; Calculating a second adjacent time difference between the first collection time and the first historical collection time; determining whether a first target time difference between the first adjacent time difference and the second adjacent time difference belongs to a first time interval, wherein the first time interval is determined according to an image acquisition delay of the first device; If the first target time difference belongs to a preset first time interval, the image information and the first running distance are associated.

4. The information binding method according to claim 2, characterized in that: The associating the identification information with the second running distance according to the time difference between the second target time and the second historical target time, and the time difference between the second collection time and the second historical collection time, comprises: Calculating a third adjacent time difference according to the second target time and the second historical target time; Calculating a fourth adjacent time difference according to the second collection time and the second historical collection time; determining whether a second target time difference between the third adjacent time difference and the fourth adjacent time difference belongs to a preset second time interval, where the second time interval is determined according to an identification collection delay of the second device; If the second target time difference belongs to the preset second time interval, the identification information and the second running distance are associated.

5. The information binding method according to claim 1, characterized in that: The second device includes: a label information recognition device and / or a single number information scanning device; The identification information includes: label information and / or order number information; The second photoelectric device includes: a label collection photoelectric sensor and / or a single number collection photoelectric sensor; The second running distance includes: the label collection running distance of the transfer device when the label collection photoelectric sensor corresponding to the label information recognition device is triggered, and / or the order number collection running distance of the transfer device when the order number information scanning device corresponds to the order number collection photoelectric sensor is triggered.

6. The information binding method according to claim 5, characterized in that: The second device includes: a label information recognition device and a single number information scanning device; The step of obtaining a second target time when the second photoelectric device is triggered and a second running distance of the transfer device, and obtaining identification information collected by the second device and a second collection time associated with the identification information includes: Determine whether the distance difference between the tag collection running distance and the order number collection running distance belongs to a preset fusion distance interval, wherein the preset fusion distance interval is determined according to the distance between the tag information recognition device and the order number information scanning device; If the distance difference between the tag collection running distance and the order number collection running distance belongs to a preset fusion distance interval, the second running distance is determined according to the tag collection running distance and the order number collection running distance, the identification information is determined according to the tag information and the order number information, and the second collection time corresponding to the identification information is determined.

7. The information binding method according to any one of claims 1 to 6, characterized in that: The step of binding the image information and the identification information according to the first running distance and the second running distance includes: Acquire a target binding distance interval, wherein the target binding distance interval is determined according to a transfer distance between the first device and the second device; Calculating a target distance difference according to the first running distance and the second running distance; If the target distance difference belongs to the target binding distance interval, the image information and the identification information are bound to obtain an image identification group.

8. An information binding device, characterized in that: The information binding device comprises: A first data acquisition module is used to acquire a first target time when the first photoelectric device is triggered and a first running distance of the transfer device, and to acquire image information acquired by the first device and a first acquisition time associated with the image information; A second data acquisition module is used to acquire a second target time when the second photoelectric device is triggered and a second running distance of the transfer device, acquire identification information collected by the second device, and a second collection time associated with the identification information; a data association module, configured to associate the first running distance with the image information according to the first target time and the first acquisition time, and to associate the second running distance with the identification information according to the second target time and the second acquisition time; An information binding module is used to bind the image information and the identification information according to the first running distance and the second running distance to obtain an image identification group.

9. An electronic device, characterized in that: including memory and processor; The electronic device is communicatively connected with the first device, the second device and the transfer device; The electronic device is communicatively connected with a first optoelectronic device and a second optoelectronic device, the first optoelectronic device is disposed adjacent to the first device, and the second optoelectronic device is disposed adjacent to the second device; The memory stores an application program, and the processor is used to run the application program in the memory to execute the steps in the information binding method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the information binding method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Article label identification and article image binding method and apparatus, and storage medium

    CN111259677A

  • Contraband positioning method and device

    CN112101498A

  • Barcode matching method and device, electronic equipment and barcode matching system

    CN112749573A

  • Method for transporting e.g. postal package during journey to target point, involves determining target point identification, and triggering continuation of transport of object by using determined target point identification

    DE102012200580A1