Information binding method, device, electronic device 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 combining the image and identification information collection time, the data error problem caused by different manufacturers of the equipment is solved, and the accuracy of information binding is improved.

CN119477117BActive Publication Date: 2025-08-26SF TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, when image information and identification information are bound, the equipment comes from different manufacturers, and it is impossible to ensure simultaneous collection, 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, combining the collection time of the image and identification information, the distance is first associated and then binding is done to ensure the accuracy of the information.

Benefits of technology

Improve the accuracy of information binding and reduce data errors caused by different equipment manufacturers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119477117B_ABST
    Figure CN119477117B_ABST
Patent Text Reader

Abstract

The present application provides an information binding method, apparatus, electronic device, and computer-readable storage medium. The method includes: obtaining a first target time when a first photoelectric device is triggered and a first operating distance of a transfer device, obtaining image information collected by the first device, and the first acquisition time associated with the image information; obtaining a second target time when a second photoelectric device is triggered and a second operating distance of the transfer device, obtaining identification information collected by the second device, and the second acquisition time associated with the identification information; associating the first operating distance with the image information based on the first target time and the first acquisition time, and associating the second operating distance with the identification information based on the second target time and the second acquisition time; and binding the image information and identification information based on the first operating distance and the second operating distance to obtain an image identification group. The present application is conducive 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 the 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 item security inspection.

[0003] In the related art, image information captured by an image capture device and its corresponding distance, as well as identification information captured by an identification information capture device and its corresponding distance are usually obtained, and the image information and identification information are directly bound based on 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, the existing image acquisition equipment, identification acquisition equipment and transfer equipment may come from different manufacturers, and it is impossible to ensure that the corresponding distance is obtained at the same time as the image acquisition, and the corresponding distance is obtained at the same time as the identification information. Therefore, data errors will occur, affecting 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] Obtaining a first target time when the first photoelectric device is triggered and a first operating distance of the transfer device, obtaining image information collected by the first device, and a first collection time associated with the image information;

[0008] Obtaining a second target time when the second photoelectric device is triggered and a second operating distance of the transfer device, obtaining 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 photoelectric device was last triggered, and acquire a first historical acquisition time associated with historical image information acquired last by the first device;

[0013] Acquire a second historical target time when the second optoelectronic device was last triggered, and acquire a second historical collection time associated with the historical identification information last collected 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, 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 based on the second target time and the second historical target time;

[0023] Calculating a fourth adjacent time difference based on 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 falls within a preset second time interval, where the second time interval is determined based on an identification acquisition delay of the second device;

[0025] If the second target time difference falls within 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 tracking 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 tracking 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 collection photoelectric sensor corresponding to the order number information scanning device is triggered.

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

[0031] The step of obtaining a second target time when the second photoelectric device is triggered and a second operating 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] Determining whether the distance difference between the tag collection running distance and the tracking number collection running distance falls within a preset fusion distance interval, wherein the preset fusion distance interval is determined based on the distance between the tag information recognition device and the tracking number information scanning device;

[0033] If the distance difference between the tag collection running distance and the order number collection running distance belongs to the 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] Obtaining 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 based on 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, configured to acquire a first target time when the first photoelectric device is triggered and a first operating distance of the transfer device, and 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 configured to acquire a second target time when the second photoelectric device is triggered and a second operating distance of the transfer device, and 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 based on the first target time and the first acquisition time, and to associate the second running distance with the identification information based on the second target time and the second acquisition time;

[0043] An information binding module is used to bind the image information and 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, which is provided with a processor and a memory, wherein 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 this 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 based on the first target time and the first acquisition time, and associating the second running distance with the identification information based on the second target time and the second acquisition time; binding the image information and identification information based on the first running distance and the second running distance to obtain an image identification group.

[0048] In an 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 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. Only if it can be associated will further binding be performed, 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 following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0050] Figure 1 This is a schematic diagram of a scenario 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 ring sorting line provided by 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 This is a schematic diagram of the structure of an embodiment of the information binding device provided in the embodiments 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 this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of this 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 orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and 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 limiting the present application. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. 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, "multiple" means two or more, unless otherwise clearly and specifically defined.

[0060] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that one 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 are not 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 this application.

[0061] The embodiments of the present application provide an information binding method, apparatus, device, and computer-readable storage medium, 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] It is understandable that Figure 1 The electronic devices in the information binding scenario shown, or the devices contained 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 contained in the information binding scenario, or the number of devices and types of devices contained 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 the first target time when the first photoelectric device is triggered and the first running distance of the transfer device, obtain image information collected by the first device, and the first acquisition time associated with the image information; obtain the second target time when the second photoelectric device is triggered and the second running distance of the transfer device, obtain identification information collected by the second device, and the second acquisition time associated with the identification information; associate the first running distance and the image information according to the first target time and the first acquisition time, and associate the second running distance and 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 embodiments of the present application, the electronic device 100 may be an independent electronic device, or may be an electronic device grid or electronic device cluster composed of electronic devices. For example, the electronic device 100 described in the embodiments of the present application includes but is not limited to a computer, a grid host, a single grid electronic device, a set of multiple grid electronic devices, or a cloud electronic device composed of multiple 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 in the figure. It can be understood that the information binding scenario can also include one or more other electronic devices, which are not limited here. The electronic device 100 can 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 in communication 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 can access a backend database 300 (the backend database can be in the local memory of the electronic device, or the backend database can be set in the cloud), and the backend database 300 stores information related to information binding.

[0069] It should be noted that Figure 1The scenario diagram of the information binding method shown is only an example. The information binding scenario described in the embodiment of the present application is 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 by the embodiment of the present application.

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

[0071] Figure 2 This is a flow chart of an information binding method provided by an embodiment of the present application. 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 operating 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. When the first photoelectric device is triggered, a distance measurement is performed to obtain a first operating distance. The transfer device is a device used to transport the object to be inspected, and may be a conveyor belt, but this is not specifically limited here. The first operating distance is the operating distance corresponding to the transfer device when the first photoelectric device is triggered. The first device is used to capture image information of the object to be inspected. During image information acquisition, the corresponding acquisition time is recorded as the first acquisition time.

[0074] 202 , obtaining a second target time when the second photoelectric device is triggered and a second operating 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-installed photoelectric sensor. When the second photoelectric device is triggered, a distance measurement is performed to obtain a second operating distance. The second operating distance is the operating distance of the transfer device corresponding to the time the second photoelectric device is triggered. The second device is used to collect identification information of the object to be inspected. During the identification information collection process, the corresponding collection time is 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 performs information collection), 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. 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. Specifically, when the first photoelectric device is triggered, it records the initial number of revolutions of the relay device and the first travel distance as 0. When the second photoelectric device is triggered, it records the second number of revolutions of the relay device. The second travel distance is calculated based on the second number of revolutions, the initial number of revolutions, and a preset revolution distance parameter. This reduces the number of required photoelectric devices and the amount of computation required, improving the efficiency of information collection and binding.

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

[0080] In this embodiment, the above-mentioned information binding method is applied to the field of express package security inspection as an example for specific explanation. For example, when an express package (i.e., the item to be inspected) undergoes security inspection, it is transmitted through a transfer device and sequentially passes through a first device and a second device, obtaining image information and identification information, respectively. Furthermore, the express packages are queued and continuously pass through the first and second devices. In this case, it is necessary to bind the corresponding image information and identification information so that when an abnormal express package is found, the abnormal package can be promptly identified.

[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, a determination is made based on the first target time triggered by the first photoelectric device and the first acquisition time during image information collection. If the first target time and the first acquisition time are close, it indicates that the object passing through the first photoelectric device and the first device is the same object to be detected, and the first travel distance can be associated with the image information. Furthermore, if the first target time and the first acquisition time are close, the distance transmitted by the transfer device from the first target time to the first acquisition time is small and can be ignored. Therefore, the first travel distance can be considered the transfer device's travel distance corresponding to the image information collection.

[0083] The association and binding of the second running distance and the identification information can refer to the above-mentioned 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 one application scenario, the first photoelectric device is set close to the first device, and the second photoelectric device is set close 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 (i.e., belonging to the same item to be detected) image information and identification information.

[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 is bound 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 can be 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 This is a schematic diagram of an automated circular sorting line provided in an embodiment of the present application. Figure 3As shown, a circular sorting line is provided with a plurality of trolleys serving as containers and at least one guide table / feed table, which is used to deliver tickets to the circular sorting line. In addition, a plurality of destination-related grids and chutes are arranged around the circular sorting line (generally on the periphery), which are connected to the loading grids of the site. After the tickets are diverted from the destination grids, they can be automatically loaded into the vehicles.

[0088] One or two barcode scanning devices are installed along the circular sorting line. When a package passes through the scanner, the device identifies the shipping number of the package on the cart and uses it to determine the package's destination. When the cart reaches the slot associated with the destination, the pendulum on the cart automatically controls the movement of the pendulum, sorting the package to the slot. This allows for fully automated, unmanned sorting of large batches of packages.

[0089] In one application scenario, security inspection machines and barcode scanning equipment are installed in the guide area to perform image-code binding. Compared to linear sorting lines, automated circular sorting lines can improve sorting efficiency and increase site throughput. Alternatively, security inspections can be performed during the guide area's infeed process. However, the conveyor belt in this area may experience repeated starts and stops. If code binding is performed based on time, the success rate and accuracy of the binding may be affected. Binding based on distance requires consideration of any data collection discrepancies between the distance and the corresponding information.

[0090] Figure 4 This is a schematic diagram of a security inspection scene provided by an embodiment of the present application. Specifically, the following can be set in the guide 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, 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 guide table conveyor belt 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, when associating and binding the first running distance and the image information, and associating and binding the second running distance and the identification information in step 203, 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 a 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 a 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 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 with the identification information.

[0096] (3) In some embodiments of the present application, the first photoelectric device is located 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 located adjacent to the second device. In this case, the following steps are used to determine whether the corresponding distance can be bound to the image information or identification information: obtaining the first historical target time when the first photoelectric device was last triggered, and obtaining the first historical acquisition time associated with the historical image information last acquired by the first device;

[0097] Acquire a second historical target time when the second optoelectronic device was last triggered, and acquire a second historical collection time associated with the historical identification information last collected 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 item are combined to determine whether the travel distance can be associated with the corresponding image information or identification information. Specifically, the target time difference between two adjacent items triggering the first photoelectric device and the collection time difference between the two adjacent items passing through the first device are determined. Based on the difference between the target time difference and the collection time difference, it is determined whether the image information can be associated with the corresponding travel distance information. The same method is used to determine the identification information, and will not be repeated here.

[0101] In some embodiments of the present application, associating the image information with the first running distance based on 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, includes:

[0107] Calculating a third adjacent time difference based on the second target time and the second historical target time;

[0108] Calculating a fourth adjacent time difference based on 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 falls within a preset second time interval, where the second time interval is determined based on an identification acquisition delay of the second device;

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

[0111] The image acquisition delay of the first device is the time required from the triggering of the first photoelectric device to the first device acquiring image information. Specifically, when the object to be inspected is transported via a conveyor device, the time required to travel from the trigger position corresponding to the first photoelectric device to the image information acquisition position of the first device can be determined based on the distance between the first photoelectric device and the first device, as well as the speed of the conveyor device. Based on 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, thereby improving the fault tolerance and accuracy of the 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, and 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 tracking 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 tracking 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 collection photoelectric sensor corresponding to the order number information scanning device is triggered.

[0117] The tag information recognition device may be an RFID device for identifying and obtaining the RFID tag information of the item to be detected; the order number scanning device may be a six-sided scanning device for scanning and obtaining the order number information of the item 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 a tracking number information scanning device, a tracking number collection photoelectric sensor is provided at the entrance of the tracking number information scanning device. In this case, the identification information includes the tracking number information, and the second running distance includes the tracking number collection running distance.

[0120] (3) 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. In this case, the identification information includes tag information and order number information, and the second running distance includes the tag collection running distance and the order number collection running distance. The second target time includes the tag collection photoelectric trigger time and the order number collection photoelectric trigger time, and the second collection time includes the tag information collection time and the order number information collection time. When associating the second running distance with the identification information based on the second target time and the second collection time, the tag information is associated with the tag collection running distance based on the tag collection photoelectric trigger time and the tag information collection time, and the order number information is associated with the order number collection running distance based on the order number collection photoelectric trigger time and the order number information collection time. When binding the image information and the identification information based on the first running distance and the second running distance, the image information and the tag information are bound based on the first running distance and the tag collection running distance, and the image information and the order number information are bound based on the first running distance and the order 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 fusing 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 fusing 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 fusing 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 fusing the two, such as an average time).

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

[0123] Determining whether the distance difference between the tag collection running distance and the tracking number collection running distance falls within a preset fusion distance interval, wherein the preset fusion distance interval is determined based on the distance between the tag information recognition device and the tracking number information scanning device;

[0124] If the distance difference between the tag collection running distance and the order number collection running distance belongs to the 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 one 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 empty 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 binding of the image information and identification information according to the first running distance and the second running distance includes:

[0128] Obtaining 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 based on 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 based on the transit distance between the first device and the second device (i.e., the corresponding transmission distance of the conveyor belt between the two devices). The specific expansion range can be set and adjusted according to actual needs, and the maximum expansion range can be limited by the average distance between two adjacent items to be detected to avoid binding the information of the subsequent items to the previous items.

[0132] In the embodiment of the present application, the above information binding method is further described in detail based on a specific application scenario. Figure 5 This is a schematic diagram of a security inspection scenario provided by an embodiment of the present application. 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 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 intended to be specific limitations.

[0133] Figure 6 This is a schematic diagram of a security inspection scenario provided by an embodiment of the present application. Figure 6 As shown, in addition to the first photoelectric device T0, the label 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 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, label collection photoelectric sensor and order number collection photoelectric sensor respectively 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 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 positioned adjacent to the security image acquisition photoelectric sensor T1, the tag acquisition photoelectric sensor T2 is positioned adjacent to the RFID photoelectric sensor T2', and the tracking number acquisition photoelectric sensor T3 is positioned adjacent to the six-sided scanning photoelectric sensor T3'. These adjacent photoelectric sensors can be considered to be triggered simultaneously, thereby reducing the time delay between distance acquisition and information acquisition, and better correlating distance with 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 can ensure that the distance between the 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 be referred to as follows: Steps S0-S2:

[0138] S0, preparation stage, i.e. each device collects corresponding information;

[0139] It should be noted that the security inspection equipment, RFID equipment, and six-sided scanner equipment are pre-synchronized with the transfer yard's time synchronization server / centralized security inspection server. Furthermore, the security inspection equipment can report various information to the centralized security inspection system, including: belt start / stop status (start / stop), corresponding start / stop times, and the total belt travel of the security inspection machine at the time of start / stop; and when the newly added associated device's photoelectric T2 or T3 triggers, the photoelectric trigger information is reported: the triggering photoelectric index identifier (e.g., Index 1 for RFID, Index 2 for six-sided scanner, Index 3 for the security inspection machine entrance photoelectric (specific configuration can be based on actual needs), the timestamp of the photoelectric trigger moment, and the total belt travel of the security inspection machine at the time of the photoelectric trigger.

[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 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 the XRCD. Because the newly added order number collection photoelectric sensor T3 is set next to T3', it can be theoretically assumed that T3 is photoelectrically triggered at almost the same time. At this time, the timestamp XRayTrigger3Timestamp of the T3 triggering photoelectric and the total travel TotalMoveDistance_Obr of the belt since starting at that moment (i.e., the order number collection running distance) are reported.

[0143] When performing data fusion, you can refer to the following steps S111-S113:

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

[0145] By calculating the corresponding difference: deltaTrigger3 = ObrTimeDiff - XRayTrigger3TimeDiff, if deltaTrigger3 is within the specified range (timeRangeMin, timeRangeMax), it can be assumed that the ticket currently passing through T3' and T3 is the same ticket. This allows the association and fusion of the ticket number information obtained by the six-sided scanner and the ticket number collection running distance. (timeRangeMin, timeRangeMax) can be set according to actual needs, for example, to (-100, 100), and the unit is milliseconds (ms), but this 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; it is determined whether the ticket passing through the photoelectric devices T3 and T3' is the same ticket by restricting timeRangeMin' < deltaTimeDiff < timeRangeMax'. The setting of (timeRangeMin', timeRangeMax') is actually related to the adjacent distance between the photoelectric devices T3 and T3'. For example, if the photoelectric devices T3 and T3' are 3 cm apart, that is, 30 mm, and if the belt running speed is 2 m / s, theoretically the 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 by referring to the theoretical time difference value. [[ID=~1]] [[ID=~2]]

[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 this moment (ObrTimestamp, Sn_Obr, TotalMoveDistance_Obr). [[ID=~4]] [[ID=~5]]

[0148] S12, the tag information obtained by the RFID device is associated and fused with the tag collection running distance; [[ID=~7]] [[ID=~8]]

[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 collection photoelectric device T2' and the ticket tag information Sn_Rfid to XRCD. Since T2 is set adjacent to T2', it can be theoretically considered that T2' is almost triggered simultaneously with the photoelectric device T2. At the same time, the timestamp XRayTrigger2Timestamp of the triggered photoelectric device T2 and the total travel TotalMoveDistance_Rfid of the security inspection machine belt after startup at this moment are reported. [[ID=~10]] [[ID=~11]]

[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 order number information obtained by the six-sided scanning device with the order 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 ticket, and the total travel distance of the security inspection machine belt at that time (RfidTimestamp, Sn_Rfid, TotalMoveDistance_Rfid) can be obtained when the ticket passes through the RFID device.

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

[0152] According to S11 and S12, obtain (ObrTimestamp, Sn_Obr, TotalMoveDistance_Obr), denoted as the order 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 tickets 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 in a one-to-one correspondence. However, in the actual use process, affected by equipment failures, false triggers caused by the shape of the tickets, etc., the actually received data may contain redundant data such as false triggers, 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 ticket 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 ticket, 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, the tag information is used as the identification information. Conversely, if the tag information is also the corresponding preset null value (such as noread, indicating no RFID reading), the preset null value is used 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 no-read waybill, which can be set to a preset null value (for example, EEEEEEEEEEEEEEE), 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 simultaneously. In actual use, only one of these devices can be used, and in this case, the step of fusing label information and waybill number information does not need to be executed. To ensure consistency in 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, perform information binding (i.e., fusion) on the identification information and the image information. Specifically, perform information binding based on 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 between the first running distance and the second running distance, DistanceDiff = XImgInfo.TotalMoveDistance_XRay - SnInfo.TotalMoveDistance_Sn. In theory, DistanceDiff should 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, since 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 range (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 separates the tickets before entering the centralized security inspection area. Therefore, a certain degree of redundancy can be made in the distance constraint. For example, if the distance between two adjacent tickets is 900mm after the single-piece separation device separates the tickets, then the difference between distanceRangeMax and distanceRangeMin can be approximately 1.5 times the distance, that is, 1350mm, to prevent adjacent tickets from being tied. Specifically, if the distance difference between the security inspection equipment's image-collecting 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 can be set to 5000+(1350 / 2)=5675mm.

[0164] In some embodiments of the present application, a timed data purge or queue reset can be performed for the queue containing the image information and the queue containing the identification information. Specifically, if a preset time interval passes after a conveyor belt stops and no conveyor belt starts, the conveyor belt is considered stopped, and the data in the queue containing the image information and the queue containing the identification information can be cleared.

[0165] Alternatively, the number of incorrect binding attempts can be recorded. When the number of consecutive binding errors reaches a preset threshold, the data in the queues containing the image information and the identification information can be cleared. This reduces the impact of incorrectly collected data on subsequent binding processes, improving the accuracy of subsequent binding processes.

[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 an 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 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. Only if it can be associated will further binding be performed, 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 This is a schematic diagram of the structure of an embodiment of the information binding device provided in the embodiment of the present application. Figure 7 As shown, the information binding device includes:

[0169] The first data acquisition module 701 is configured to acquire a first target time when the first photoelectric device is triggered and a first operating distance of the transfer device, and acquire image information acquired by the first device and a first acquisition time associated with the image information;

[0170] The second data acquisition module 702 is configured to acquire a second target time when the second photoelectric device is triggered and a second operating distance of the transfer device, and acquire identification information collected by the second device and a 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 based on the first target time and the first acquisition time, and to associate the second running distance with the identification information based on the second target time and the second acquisition time;

[0172] The information binding module 704 is configured to bind the image information and 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 configured to: obtain a first historical target time when the first optoelectronic device was last triggered, and obtain a first historical acquisition time associated with historical image information last acquired by the first device;

[0174] Acquire a second historical target time when the second optoelectronic device was last triggered, and acquire a second historical collection time associated with the historical identification information last collected 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 configured 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 based on the second target time and the second historical target time;

[0182] Calculating a fourth adjacent time difference based on 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 falls within a preset second time interval, where the second time interval is determined based on an identification acquisition delay of the second device;

[0184] If the second target time difference falls within 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 tracking 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 tracking 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 collection photoelectric sensor corresponding to the order number information scanning device is triggered.

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

[0190] The second data acquisition module 702 is specifically configured to determine whether the distance difference between the tag collection running distance and the tracking number collection running distance falls within a preset fusion distance interval, wherein the preset fusion distance interval is determined based on the distance between the tag information recognition device and the tracking number information scanning device;

[0191] If the distance difference between the tag collection running distance and the order number collection running distance belongs to the 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 configured 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 based on 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. Only if it can be associated will further binding be performed, 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] An electronic device is integrated with any 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 information binding method embodiments.

[0201] Specifically, the electronic device may include one or more processing core processors 801, 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 of the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0202] The processor 801 is the control center of the electronic device. It connects the various parts of the entire electronic device using various interfaces and lines. By running or executing software programs and / or modules stored in the memory 802 and accessing 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 primarily processes the operating system, user interface, and application programs, and the modem processor primarily handles wireless communications. It is understood that the 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 device. 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 various components. Preferably, the power supply 803 can be logically connected to the processor 801 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 803 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0205] The electronic device may further include an input unit 804, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs 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 here. 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 to implement various functions as follows:

[0207] Obtaining a first target time when the first photoelectric device is triggered and a first operating distance of the transfer device, obtaining image information collected by the first device, and a first collection time associated with the image information;

[0208] Obtaining a second target time when the second photoelectric device is triggered and a second operating distance of the transfer device, obtaining 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] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished 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 perform the steps of any of the information binding methods provided in the embodiments of the present application. For example, the computer program loaded by the processor can perform the following steps:

[0213] Obtaining a first target time when the first photoelectric device is triggered and a first operating distance of the transfer device, obtaining image information collected by the first device, and a first collection time associated with the image information;

[0214] Obtaining a second target time when the second photoelectric device is triggered and a second operating distance of the transfer device, obtaining 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 focus. 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 implement as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments and will not be repeated here.

[0219] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

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

Claims

1. An information binding method, characterized in that: The information binding method includes: Obtaining a first target time when the first photoelectric device is triggered and a first operating distance of the transfer device, obtaining image information captured by the first device and a first acquisition time associated with the image information, wherein the first operating distance is the operating distance corresponding to the transfer device when the first photoelectric device is triggered; Obtaining a second target time when the second photoelectric device is triggered and a second operating distance of the transfer device, obtaining identification information collected by the second device and a second collection time associated with the identification information, wherein the second operating distance is the operating distance corresponding to the transfer device when the second photoelectric device is triggered; 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 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, includes: Acquire a first historical target time when the first photoelectric device was last triggered, and acquire a first historical acquisition time associated with historical image information acquired last by the first device; Acquire a second historical target time when the second optoelectronic device was last triggered, and acquire a second historical collection time associated with the historical identification information last collected 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, includes: 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, includes: Calculating a third adjacent time difference based on the second target time and the second historical target time; Calculating a fourth adjacent time difference based on 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 falls within a preset second time interval, where the second time interval is determined based on an identification acquisition delay of the second device; If the second target time difference falls within 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 tracking 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 tracking 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 collection photoelectric sensor corresponding to the order number information scanning device 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 tracking number information scanning device; The step of obtaining a second target time when the second photoelectric device is triggered and a second operating 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: Determining whether the distance difference between the tag collection running distance and the tracking number collection running distance falls within a preset fusion distance interval, wherein the preset fusion distance interval is determined based on the distance between the tag information recognition device and the tracking number information scanning device; If the distance difference between the tag collection running distance and the order number collection running distance belongs to the 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 binding of the image information and the identification information according to the first running distance and the second running distance includes: Obtaining 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 based on 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 includes: a first data acquisition module, configured to acquire a first target time when the first photoelectric device is triggered and a first operating distance of the transfer device, and acquire image information captured by the first device and a first acquisition time associated with the image information, wherein the first operating distance is the operating distance corresponding to the transfer device when the first photoelectric device is triggered; a second data acquisition module, configured to acquire a second target time when the second photoelectric device is triggered and a second operating distance of the transfer device, and to acquire identification information collected by the second device and a second acquisition time associated with the identification information, wherein the second operating distance is the operating distance corresponding to the transfer device when the second photoelectric device is triggered; a data association module, configured to associate the first running distance with the image information based on the first target time and the first acquisition time, and to associate the second running distance with the identification information based on the second target time and the second acquisition time; An information binding module is used to bind the image information and 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 to 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 configured to run the application program in the memory to execute the steps of 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