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

By calculating the time difference between image information and identification information and binding them using a preset time difference interval, the problem of inaccurate information binding caused by device time differences and inaccurate time calibration is solved, and the accuracy and robustness of information binding are improved.

CN119477119BActive Publication Date: 2025-10-14SF TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Due to the large difference between device times and inaccurate time calibration, there is a large difference between the time difference calculated when binding image information and identification information and the actual time difference, which affects the accuracy of information binding.

Method used

By calculating the time difference between the image information collected by the first device and the identification information collected by the second device, the information is bound using a preset time difference interval. The time difference interval is determined based on the collection time difference of the historically bound image identification group, thereby reducing the impact of device time differences and inaccurate time calibration.

Benefits of technology

The accuracy of information binding is improved, the impact caused by device time differences and inaccurate time calibration is reduced, and the robustness of information binding is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119477119B_ABST
    Figure CN119477119B_ABST
Patent Text Reader

Abstract

The application provides an information binding method and device, electronic equipment and a computer readable storage medium. The method comprises: acquiring first image information and second image information collected by a first device, and first identification information and second identification information collected by a second device; calculating a first collection time difference between the first image information and the second image information, and a second collection time difference between the first identification information and the second identification information; and binding the first image information and the first identification information according to the first collection time difference and the second collection time difference, and a preset first time difference interval, to obtain an image identification group, wherein the first time difference interval is determined according to a difference between a first collection time difference corresponding to image information in a historical bound image identification group, and a second collection time difference corresponding to identification information in the historical bound image identification group. The application is beneficial to improving the accuracy of information binding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of 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 related technologies, data binding can be performed directly based on the time difference between the time when the first device collects image information and the time when the second device collects identification information. For example, if the time difference is less than a certain value, it can be considered that the image information and identification information are successfully bound.

[0004] The problem with related technologies is that the time when the first device captures the image information is typically determined based on the first device's device time. Similarly, the time when the second device captures the identification information is typically determined based on the second device's device time. If there is a significant discrepancy between the device times and the time calibration is inaccurate, the calculated time difference will differ significantly from the actual time difference, affecting information binding and hindering the accuracy of information binding. Summary of the Invention

[0005] The present application provides an information binding method, apparatus, electronic device, and computer-readable storage medium, which are used to solve the technical problem that current information binding solutions have large differences between device times. If the time is inaccurate, it will affect the information binding, which is not conducive to improving the accuracy of information binding.

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

[0007] Acquire first image information and second image information collected by the first device, and first identification information and second identification information collected by the second device;

[0008] Calculating a first acquisition time difference between the first image information and the second image information, and a second acquisition time difference between the first identification information and the second identification information;

[0009] The first image information and the first identification information are bound according to the first acquisition time difference and the second acquisition time difference, as well as a preset first time difference interval, to obtain an image identification group. The first time difference interval is determined based on the difference between the first acquisition time difference corresponding to the image information in the historically bound image identification group and the second acquisition time difference corresponding to the identification information in the historically bound image identification group.

[0010] Optionally, the preset first time difference interval is pre-constructed according to the following steps:

[0011] Acquire an image identification queue, wherein the image identification queue contains at least two successfully bound image identification groups, each of which includes: image information and identification information;

[0012] The image identification groups in the image identification queue are sequentially used as target image identification groups, and a time difference history queue is obtained based on the acquisition time difference between each target image identification group in the image identification queue and its corresponding reference image identification group, wherein the positional relationship between the reference image identification group and the target image identification group is adjacent or fixedly spaced;

[0013] A preset first time difference interval is constructed according to the statistical characteristics of each acquisition time difference in the time difference history queue, wherein the statistical characteristics include at least one of a median, a mode, and a mean.

[0014] Optionally, obtaining a time difference history queue according to the acquisition time difference between each target image identification group and its corresponding reference image identification group in the image identification queue includes:

[0015] Calculating a first historical acquisition time difference between the image information in the target image identification group and the image information in the corresponding reference image identification group, and a second historical acquisition time difference between the identification information in the target image identification group and the identification information in the corresponding reference image identification group;

[0016] Calculating a target time difference between the first historical acquisition time difference and the second historical acquisition time difference, and associating the target time difference with the target image identification group;

[0017] According to the order of the target image identification groups, the acquisition time differences associated with the target image identification groups are ordered to obtain a time difference history queue.

[0018] Optionally, the binding the first image information and the first identification information according to the first acquisition time difference, the second acquisition time difference, and a preset first time difference interval to obtain an image identification group includes:

[0019] Calculating a difference between the first acquisition time difference and the second acquisition time difference as a target time difference;

[0020] If the target time difference value belongs to the preset first time difference interval, the first image information and the first identification information are bound to obtain an image identification group.

[0021] Optionally, after calculating the difference between the first acquisition time difference and the second acquisition time difference as the target time difference, the method further includes:

[0022] If the target time difference does not fall within the preset first time difference interval, obtaining a preset second time difference interval, wherein the second time difference interval is determined according to the item transmission time between the first device and the second device;

[0023] calculating a difference between a time when the first image information is collected and a time when the first identification information is collected as a transport time difference;

[0024] If the delivery time difference falls within the preset second time difference interval, binding the first image information and the first identification information to obtain an image identification group;

[0025] If the delivery time difference does not belong to the preset second time difference interval, a binding failure tag is added to the first image information and the first identification information.

[0026] Optionally, after binding the first image information and the first identification information according to the first acquisition time difference, the second acquisition time difference, and a preset first time difference interval to obtain an image identification group, the method further includes:

[0027] Obtaining information time difference of each of the image identification groups;

[0028] The preset second time difference interval is updated according to the statistical characteristics of the information time difference, wherein the statistical characteristics include at least one of a median, a mode, and a mean.

[0029] Optionally, items are transferred between the first device and the second device via a conveying device, the first device is a security inspection device, and the second device is a scanning device;

[0030] After acquiring the first image information and the second image information collected by the first device, and the first identification information and the second identification information collected by the second device, the method further includes:

[0031] Determining the timed-out first image information based on the acquisition time of the first image information and a preset timed-out threshold, determining the timed-out first identification information based on the acquisition time of the first identification information and the preset timed-out threshold, and clearing the timed-out first image information and the timed-out first identification information that have not been bound to information;

[0032] And / or, if the start / stop information corresponding to the transmission device is detected, the first image information, the second image information, the first identification information, and the second identification information are cleared.

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

[0034] The information binding device includes:

[0035] a data acquisition module, configured to acquire first image information and second image information acquired by the first device, and first identification information and second identification information acquired by the second device;

[0036] a calculation module, configured to calculate a first acquisition time difference between the first image information and the second image information, and a second acquisition time difference between the first identification information and the second identification information;

[0037] A binding module is used to bind the first image information and the first identification information according to the first acquisition time difference and the second acquisition time difference, and a preset first time difference interval to obtain an image identification group, wherein the first time difference interval is determined based on the difference between the first acquisition time difference corresponding to the image information in the historically bound image identification group and the second acquisition time difference corresponding to the identification information in the historically bound image identification group.

[0038] 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.

[0039] 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.

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

[0041] The present application provides an information binding method, device, electronic device and computer storage medium, the method comprising: obtaining first image information and second image information collected by a first device, and first identification information and second identification information collected by a second device; calculating a first acquisition time difference between the first image information and the second image information, and a second acquisition time difference between the first identification information and the second identification information; binding the first image information and the first identification information according to the first acquisition time difference and the second acquisition time difference, and a preset first time difference interval, to obtain an image identification group, wherein the first time difference interval is determined according to the difference between the first acquisition time difference corresponding to the image information in the image identification group that has been bound historically and the second acquisition time difference corresponding to the identification information in the image identification group that has been bound historically.

[0042] In the related art, when data binding is performed based on the time difference between the image information collected by the first device and the identification information collected by the second device, the calculated time difference may differ significantly from the actual time difference due to inaccurate time synchronization between the first and second devices, thereby affecting information binding. In the embodiment of the present application, a first acquisition time difference between the two image information collected by the first device and a second acquisition time difference between the two identification information collected by the second device are first calculated, and information binding is performed based on the first acquisition time difference, the second acquisition time difference, and the first time difference interval. This is beneficial to reducing the impact caused by the time difference or inaccurate time synchronization between the first and second devices, thereby facilitating improving the accuracy of information binding. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] 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.

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

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

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

[0047] Figure 4 This is a schematic diagram of a device network topology provided in an embodiment of the present application;

[0048] Figure 5This is a schematic diagram of a ticket information collection scenario provided by an embodiment of the present application;

[0049] Figure 6 This is a schematic diagram of a specific process of information binding provided by an embodiment of the present application;

[0050] 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;

[0051] 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

[0052] 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.

[0053] 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.

[0054] 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.

[0055] The embodiments of the present application provide an information binding method, apparatus, device, and computer-readable storage medium, which are described in detail below.

[0056] 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.

[0057] 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.

[0058] 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.

[0059] In the embodiment of the present application, the electronic device 100 is mainly used to: obtain first image information and second image information collected by the first device, and first identification information and second identification information collected by the second device; calculate a first acquisition time difference between the first image information and the second image information, and a second acquisition time difference between the first identification information and the second identification information; bind the first image information and the first identification information according to the first acquisition time difference and the second acquisition time difference, and a preset first time difference interval to obtain an image identification group, wherein the first time difference interval is determined according to the difference between the first acquisition time difference corresponding to the image information in the historically bound image identification group and the second acquisition time difference corresponding to the identification information in the historically bound image identification group.

[0060] 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.

[0061] 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.

[0062] 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.

[0063] 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.

[0064] 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.

[0065] 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-203:

[0066] 201. Acquire first image information and second image information collected by a first device, and first identification information and second identification information collected by a second device.

[0067] Among them, the first device and the second device are devices used to collect information on the items to be inspected. Multiple items to be inspected are transmitted to the first device and the second device in sequence through the transmission device. The first device takes pictures to obtain image information, and the second device scans to obtain identification information.

[0068] In this embodiment, the above-mentioned information binding method is applied to the field of express package security inspection as an example for explanation. For example, when an express package undergoes security inspection, it will pass through a first device for image acquisition and a second device for identification acquisition in sequence, and the express packages are queued and continuously pass through the first device and the second device. At this time, the corresponding image information needs to be bound to the identification information so that the abnormal package can be identified in time when an express package is found to be abnormal.

[0069] The first image information is obtained by the first device capturing an image of one object to be inspected, while the second image information is obtained by the first device capturing an image of another object to be inspected. Similarly, the first identification information is obtained by the second device capturing an image of one object to be inspected, while the second identification information is obtained by the second device capturing an image of another object to be inspected.

[0070] It should be noted that the interval between the objects to be detected corresponding to the first image information and the second image information is the same as the interval between the objects to be detected corresponding to the first identification information and the second identification information.

[0071] For example, an item interval value a is set in advance (its specific value can be set and adjusted according to actual needs). When the items to be detected pass through the first device and the second device in sequence according to the queue, the first device captures images of two of the items to be detected to obtain first image information and second image information. The two items to be detected are separated by a number of items to be detected; similarly, the two items to be detected corresponding to the first identification information and the second identification information are also separated by a number of items to be detected.

[0072] Exemplarily, the object interval value a may be 0, that is, the first image information and the second image information are image information corresponding to two adjacent objects to be detected, and the first identification information and the second identification information are identification information corresponding to two adjacent objects to be detected.

[0073] 202 : Calculate a first acquisition time difference between the first image information and the second image information, and a second acquisition time difference between the first identification information and the second identification information.

[0074] The first acquisition time difference is the difference between the acquisition time of the first image information and the acquisition time of the second image information, and the second acquisition time difference is the difference between the acquisition time of the first identification information and the acquisition time of the second identification information.

[0075] Exemplarily, the acquisition time of the first image information and the acquisition time of the second image are determined according to the device time of the first device, and the acquisition time of the first identification information and the acquisition time of the second identification information are determined according to the device time of the second device. In this way, there is no need for time correction, which is conducive to reducing the impact of errors caused by the time correction process.

[0076] In another application scenario, each acquisition time can be after the time calibration has been performed. That is, the first acquisition time difference and the second acquisition time difference are not calculated directly using the device time. Since the difference in acquisition time is used, the error caused by the time calibration process can be reduced to a certain extent.

[0077] 203. Bind the first image information and the first identification information according to the first acquisition time difference and the second acquisition time difference, and a preset first time difference interval to obtain an image identification group. The first time difference interval is determined based on the difference between the first acquisition time difference corresponding to the image information in the historically bound image identification group and the second acquisition time difference corresponding to the identification information in the historically bound image identification group.

[0078] Among them, the preset first time difference interval is a pre-set time difference interval, which is used to determine whether the image information and identification information to be bound belong to the same object to be detected. If they belong to the same object to be detected, the information can be bound to obtain a set of matching image information and identification information as an image identification group.

[0079] It should be noted that, in this embodiment, the first time difference interval is determined according to the difference between the first acquisition time difference and the second acquisition time difference corresponding to the image information and identification information that have been successfully bound in the past.

[0080] It should be noted that, in this embodiment, the position of the first image information in the image information queue is the same as the position of the second identification information in the identification information queue. For example, if the first image information is the bth image information in the image information queue, then the first identification information is also the bth identification information in the identification information queue. The value of b can be set and adjusted according to actual needs and is not specifically limited here.

[0081] When binding information, the first acquisition time difference is the time difference between two adjacent items to be detected passing through the first device, and the second acquisition time difference is the time difference between two adjacent items to be detected passing through the second device. If the difference between the current corresponding first acquisition time difference and the second acquisition time difference belongs to the first time difference interval (close to 0), it means that there is no abnormality in the transmission device during the information collection process. For example, there is no temporary stop of the transmission device, or an item to be detected falling midway. At this point, it can be considered that the first image information in the image information queue and the corresponding first identification information in the identification information queue belong to the same item to be detected, and the two can be bound.

[0082] In this way, information binding is performed based on the first acquisition time difference, the second acquisition time difference and the first time difference interval, which helps to reduce the impact caused by the time difference or inaccurate time calibration between the first device and the second device, thereby helping to improve the accuracy of information binding.

[0083] In this embodiment, the first image information is collected before the second image information. However, in actual application, the first image information may also be the image information after the second image information. The same is true for the identification information, which will not be repeated here.

[0084] In some embodiments of the present application, if the second image information is the last image information in the image information queue, and the second identification information is the last identification information in the identification information queue, if the first image information and the first identification information are successfully bound, then it can be considered that the second image information and the second identification information are successfully bound.

[0085] In some embodiments of the present application, the preset first time difference interval is pre-constructed according to the following steps: obtaining an image identification queue, wherein the image identification queue includes at least two successfully bound image identification groups, each of the image identification groups including: image information and identification information;

[0086] The image identification groups in the image identification queue are sequentially used as target image identification groups, and a time difference history queue is obtained based on the acquisition time difference between each target image identification group in the image identification queue and its corresponding reference image identification group, wherein the positional relationship between the reference image identification group and the target image identification group is adjacent or fixedly spaced;

[0087] A preset first time difference interval is constructed according to the statistical characteristics of each acquisition time difference in the time difference history queue, wherein the statistical characteristics include at least one of a median, a mode, and a mean.

[0088] The preset first time difference interval can be determined based on image identification groups that have been successfully bound historically. It should be noted that when constructing the first time difference interval, the positional relationship between the reference image identification group and the target image identification group is the same as the positional relationship between the first and second image information in their respective image information queues during information binding. These positions can be adjacent or at a fixed interval, and the corresponding interval value can be set based on actual needs and is not specifically limited here.

[0089] In some embodiments of the present application, the acquisition time difference between the target image identification group and the reference image identification group is the difference between the corresponding image acquisition time difference and the identification acquisition time difference. The image acquisition time difference is the difference in acquisition time between the image information in the target image identification group and the image information in the reference image identification group. The identification acquisition time difference is the difference in acquisition time between the identification information in the target image identification group and the identification information in the reference image identification group.

[0090] For example, in a specific application scenario, obtaining a time difference history queue based on the acquisition time difference between each target image identification group and its corresponding reference image identification group in the image identification queue includes:

[0091] Calculating a first historical acquisition time difference between the image information in the target image identification group and the image information in the corresponding reference image identification group, and a second historical acquisition time difference between the identification information in the target image identification group and the identification information in the corresponding reference image identification group;

[0092] Calculating a target time difference between the first historical acquisition time difference and the second historical acquisition time difference, and associating the target time difference with the target image identification group;

[0093] According to the order of the target image identification groups, the acquisition time differences associated with the target image identification groups are ordered to obtain a time difference history queue.

[0094] After obtaining the time difference history queue, the statistical characteristics of each collection time difference therein are calculated, such as calculating the average value to obtain the average collection time difference. The interval is expanded according to the average collection time difference to obtain the first time difference interval. The specific interval expansion range can be pre-set and adjusted according to actual needs and is not specifically limited here.

[0095] It should be noted that in order to further improve the success rate of information binding, the embodiment of the present application is based on two schemes for information binding. When the first scheme can be used to bind successfully, the first scheme is used first. If the first scheme fails to bind, it is determined whether the second scheme can be used to bind successfully. The specific two binding schemes are as follows:

[0096] 1. Calculate the difference between the first acquisition time difference and the second acquisition time difference as a target time difference; if the target time difference falls within the preset first time difference interval, bind the first image information and the first identification information to obtain an image identification group.

[0097] 2. If the target time difference does not fall within the preset first time difference interval, obtaining a preset second time difference interval, wherein the second time difference interval is determined based on the item transmission time between the first device and the second device; calculating the difference between the acquisition time of the first image information and the acquisition time of the first identification information as the transportation time difference; if the transportation time difference falls within the preset second time difference interval, binding the first image information and the first identification information to obtain an image identification group; if the transportation time difference does not fall within the preset second time difference interval, adding a binding failure tag to the first image information and the first identification information.

[0098] The binding failure label is a pre-set binding failure prompt label. Adding the binding failure label is helpful for users to check and eliminate erroneous data.

[0099] In this way, the first scheme of information binding is to first use the difference in acquisition time corresponding to the first time difference interval and the combination of adjacent (or fixed interval) image information and identification information, which can reduce the impact of device time differences and time calibration differences and improve the accuracy of information binding.

[0100] If the binding fails, a second solution based on the second time difference interval and the acquisition time difference corresponding to the image information and the identification information is further used to perform information binding, thereby improving the success rate of information binding.

[0101] In the second scheme, the preset second time difference interval can be obtained by interval expansion according to the historical time difference of the to-be-detected article passing through the first device and the second device (the specific expansion value is preset according to actual requirements). The second time difference interval can be updated according to the real-time image identification group that is successfully bound.

[0102] In some embodiments of the present application, after the first image information and the first identification information are bound according to the first acquisition time difference and the second acquisition time difference, and the preset first time difference interval, the method further comprises: obtaining an information time difference of each image identification group; and updating the preset second time difference interval according to a statistical characteristic of the information time difference, wherein the statistical characteristic comprises at least one of a median, a mode and an average.

[0103] In some embodiments of the present application, after the first image information and the first identification information are bound according to the first acquisition time difference and the second acquisition time difference, and the preset first time difference interval, the method further comprises: obtaining an information time difference of each image identification group; and updating the preset second time difference interval according to a statistical characteristic of the information time difference, wherein the statistical characteristic comprises at least one of a median, a mode and an average.

[0104] In an application scenario, the statistical value offset value between the newly calculated information time difference statistical value and the original information time difference statistical value (i.e. the information time difference statistical value corresponding to the un-updated second time difference interval) can be first judged, and the range of the second time difference interval is updated only when the statistical value offset value is too large (e.g. exceeds the preset offset range).

[0105] In this way, the range of the second time difference interval corresponding to the second scheme is dynamically updated to adapt to the changes in the device environment, which is beneficial to improve the robustness of the information binding method and improve the success rate of information binding. Moreover, for the case of inconsistent time correction frequency (e.g. the first device is corrected by the server once every 1 minute, while the second device is corrected once every 5 minutes) or unsuccessful time correction, the time is not accurate and is slowly offset in a certain direction rather than suddenly changing. The use of dynamic updating of the binding interval (i.e. the second time difference interval) can cope with such abnormal situations and improve the accuracy of information binding.

[0106] In some embodiments of the present application, the first device and the second device transmit the article through a conveying device, the first device is a security inspection device, and the second device is a scanning device.

[0107] After the first image information and the second image information acquired by the first device, and the first identification information and the second identification information acquired by the second device are obtained, the method further comprises:

[0108] Determining the timed-out first image information based on the acquisition time of the first image information and a preset timed-out threshold, determining the timed-out first identification information based on the acquisition time of the first identification information and the preset timed-out threshold, and clearing the timed-out first image information and the timed-out first identification information that have not been bound to information;

[0109] And / or, if the start / stop information corresponding to the transmission device is detected, the first image information, the second image information, the first identification information, and the second identification information are cleared.

[0110] Specifically, the working status of the entire information collection system is determined, and the historical data left in the binding queue is cleared. This ensures that when new data arrives, the entire binding queue has been cleared, which is equivalent to returning to the initial state of operation. This periodic reset strategy can prevent interference from false triggering data and increase the robustness of the information binding program. Data clearing is performed in the following two scenarios:

[0111] 1. If the start and stop information corresponding to the transmission device can be collected, all current image information and identification information will be cleared;

[0112] 2. If the start and stop information of the transmission device cannot be collected, determine whether there is any data left in the current information queue that has not been bound for a long time, and clear the remaining data that has not been bound for a long time to reduce its interference with subsequent information binding.

[0113] In the embodiment of the present application, the above information binding method is further described in detail based on a specific application scenario. Figure 3 This is a schematic diagram of a security inspection scenario provided by an embodiment of the present application. It should be noted that: Figure 3 The following example illustrates a situation where the first device is a security inspection device, the second device is a six-sided scanner, and the first device is positioned after the second device. In actual use, the first device can also be positioned before the second device, and the second device can include either or both a security inspection device and an RFID device, without specific limitation.

[0114] like Figure 3 As shown, during security checks, a centralized security check method can be used. A centering device controls the items to be inspected near the center line of the conveyor belt, and multiple items to be inspected pass through the second device and the first device in sequence. By binding the waybill number with the X-ray image of the item to be inspected, it is convenient to automatically intercept or find the item when AI identifies a risk.

[0115] Figure 4This is a diagram of a device network topology provided in an embodiment of the present application. It should be noted that the second device may include at least one of a six-sided scanning device and an RFID device. The security inspection equipment, six-sided scanning device and RFID are independent devices, and their respective system times are independent. The information collected by the six-sided scanning device and the RFID device is first transmitted to the main control or warehouse control system (WCS), and then uploaded to the centralized security inspection system server (time synchronization server) by the main control or WCS. The security inspection equipment, six-sided scanning device, RFID device, main control or WCS will all perform regular time synchronization with the centralized security inspection system server or time synchronization server.

[0116] When an object to be inspected passes through a scanning device such as a six-sided scanner, the scanning time Time1 is recorded. When it passes through security inspection device 2, image information is generated, and the image information acquisition time Time2 is recorded. At the same time, the speed of the conveyor belt (i.e., the transmission device) when in uniform motion is recorded as Vec, and the distance between the scanning device and the security inspection device is DistanceXRayObr. Therefore, under ideal conditions, without considering errors, the ideal actual running time required for the object to be inspected to pass through the security inspection device and the scanning device is shown in the following formula (1):

[0117] deltaT=DistanceXRayObr / Vec (1)

[0118] In actual use, the scanning time corresponding to the identification information and the acquisition time of the image information are used to determine the time when the object to be inspected passes through the security inspection equipment and the scanning equipment, as shown in the following formula (2):

[0119] timeDiff=Time2-Time1 (2)

[0120] At the same time, in order to maintain a certain degree of compatibility (for example, taking into account the package orientation, package size, etc., which may result in actual differences in the time difference even when the same package is triggered multiple times), an interval can be determined according to timeDiff, that is, the second time difference interval, recorded as (timeRangeMin, timeRangeMax). The value range of the interval can be fine-tuned near the theoretical value range. For example, the distance between the security inspection equipment and the six-sided scanning equipment is 5 meters, and the speed of the conveyor belt is 2 meters / second. The theoretical deltaT = 5 / 2 = 2.5s (2500 milliseconds), then (timeRangeMin, timeRangeMax) can be set to (2200, 2800) in milliseconds.

[0121] In the embodiment of the present application, a first information binding scheme based on the first time difference interval and a second information binding scheme based on the second time difference interval are used.

[0122] For the second information binding solution, there are the following situations:

[0123] 1、If timeRangeMin < timeDiff < timeRangeMax, the image information and the identification information are considered to belong to the same to-be-detected article, and the corresponding image information and the identification information can be bound.

[0124] 2、If timeDiff < timeRangeMin, it usually belongs to one of the following two cases: A, if the last to-be-detected article passes through the security inspection device and an extra image information is generated in addition to the normal image information, when the image information in the queue is bound with the next identification information in the identification information queue, the time2'-time1 < rangeMin case occurs, and the image information should be removed (no code with image). B, the current to-be-detected article passes through the scanning device and an identification information is not generated, and when the image information in the image information queue searches for the corresponding identification information, the current image information actually finds the identification information of the next to-be-detected article, and the time difference time2'-time1 < rangeMin, the corresponding image information should be removed or a preset marked identification information is supplemented to distinguish the abnormal case (no code with image).

[0125] 3、If timeDiff > timeRangeMax, it usually belongs to one of the following two cases: A, the scanning device misfires and scans an identification information when the to-be-detected article passes through, and the next to-be-detected article passes through the scanning device, and the identification information is still in the queue, which is compared with the image information corresponding to the next to-be-detected article, so that the time difference timeDiff is greater than timeRangeMax, and the redundant identification information should be removed or a preset marked image information is supplemented (code without image). B, the current to-be-detected article passes through the security inspection device and the corresponding image information is not scanned, which causes the image information corresponding to the next to-be-detected article to be bound with the identification information of the current to-be-detected article, and the corresponding time difference value is greater than timeRangeMax, and the redundant identification information should be removed or a preset marked image information is supplemented (code without image).

[0126] It should be noted that when timeDiff = timeRangeMax or timeDiff = timeRangeMin, it can also be considered as a successful binding, which is not limited here.

[0127] Based on this second information binding solution, occasional data over-triggering or under-triggering can be eliminated to ensure the effectiveness of the overall binding queue. However, it has high requirements for device operating status (such as network status, device time synchronization frequency, device time synchronization success, etc.).

[0128] When directly using the time difference and the preset range interval for information binding, it depends on the normal operation of the device and the automatic time calibration of each associated device and the main server. If the time calibration is wrong, because the timestamp data source of the image code binding comes from different devices, the time difference will gradually deviate from the preset range interval, resulting in an error in the code binding. If the belt becomes loose due to long-term operation, causing the belt speed to fail to reach the preset speed, the binding constraint condition of the time interval obtained by the original preset constant distance / fixed speed will also become invalid. Although this solution can eliminate some binding error data through time intervals, the fault tolerance rate is low, and device abnormalities will lead to a decrease in the success rate of code binding.

[0129] Specifically, the time difference deltaT between a package passing through the scanner and the inspection device is the fixed distance divided by the constant speed. While the fixed distance typically remains constant after the equipment is installed and deployed, the conveyor belt speed can vary due to factors such as the actual energy consumption requirements of the transfer station and the aging of the conveyor belt. For example, a high-speed mode speed of 1.5 m / s may be set, but the actual operating speed may not reach the preset high-speed mode speed. This change is difficult to detect without additional sensors for monitoring.

[0130] Furthermore, timeDiff = time2 - time1 is an ideal formula. It assumes that both time2 and time1 are synchronized with the centralized security inspection server / time calibration server, and does not take into account time calibration differences.

[0131] Taking time calibration into consideration, if the time of the time calibration server at a certain moment is ServerTime, the time after the security inspection device is calibrated is XTime, and the time after the scanning device is calibrated is ObrTime, the time difference between the two can be combined with the above formulas (1) and (2) to obtain the following formula (3):

[0132] timeDiff = XTime - OrbTime

[0133] =(ServerTime-XTime)-(ServerTime'-ObrTime)+DistanceXRayObr / Vec(3)

[0134] Here, ServerTime and ServerTime' can be considered the same value because the security inspection device and the scanning device are connected to the same time synchronization server. According to formula (3), the value of timeDiff also depends on the accuracy of XTime and ObrTime after the security inspection device and the scanning device synchronize their time.

[0135] Although the second time difference interval can be relaxed (the maximum width does not exceed 1.5 times the gap between the two packages / belt speed), in actual use, the X-ray time calibration frequency may be high, XTime is accurate, and ObrTime is inaccurate due to system, network, or calibration frequency settings. As a result, after the time interval has run for a period of time (such as one day), the overall time range shown in the data statistics exceeds the original preset range, resulting in a binding error.

[0136] To address the aforementioned issues with the second information binding solution, the present embodiment proposes first using the first information binding solution for information binding. If the binding fails, the second information binding solution is used for further binding. When using the first information binding solution for information binding, the device time of each device can be directly used without the need to use the time after time calibration, thereby reducing the impact of time calibration and improving the accuracy of information binding.

[0137] Figure 5 This is a schematic diagram of a ticket information collection scenario provided by an embodiment of the present application, wherein: Figure 5 Each ticket in the six-sided scanning photoelectric device represents each item to be inspected. The six-sided scanning photoelectric device is a photoelectric sensor set inside the six-sided scanning device. The six-sided scanning device collects identification information when the six-sided scanning photoelectric device is triggered and records the corresponding collection time. The same is true for the security inspection equipment scanning device, which will not be repeated here. Figure 5 From top to bottom, they represent the status of ticket 1 when collecting identification information (corresponding to Time1, which is determined by the device time of the six-sided scanning device), the status of ticket 2 when collecting identification information (corresponding to Time2, which is determined by the device time of the six-sided scanning device), the status of ticket 1 when collecting image information (corresponding to Time3, which is determined by the device time of the security inspection device), and the status of ticket 2 when collecting image information (corresponding to Time4, which is determined by the device time of the security inspection device). It should be noted that Figure 5 The spacing between the tickets shown is for illustration only and is not intended to be a specific limitation.

[0138] For each of the above collection times, deltaTObr = Time2 - Time1, where deltaTObr represents the time difference between when ticket 2 passes the six-sided scanner and when ticket 1 passes the six-sided scanner, i.e., the second collection time difference corresponding to ticket 1. deltaTXRay = Time4 - Time3, where deltaTXRay represents the time difference between when ticket 2 passes the security inspection device and when ticket 1 passes the security inspection device, i.e., the first collection time difference corresponding to ticket 1.

[0139] If the conveyor belt speed remains constant, deltaTObr = deltaTXRay. In actual use, the conveyor belt speed may change, but the interval between two tickets is small, so the impact of the conveyor belt speed change in a short period of time is also small. Therefore, a time interval constraint can be applied, as shown in the following formula (4):

[0140] rangeMin <deltaTXRay-deltaTObr<rangeMax (4)

[0141] Among them, deltaTXRay-deltaTObr is the target time difference, and the interval range defined by rangeMin and rangeMax is the first time difference interval. In this way, whether information binding can be performed is determined according to formula (4). In actual use, for ticket 2 and ticket 1, theoretically, deltaTXRay=deltaTObr, that is, the value of deltaTXRay-deltaTObr approaches 0. In the process of calculation according to formula (4), Time2 and Time1 are both derived from the device time of the scanning device, and Time4 and Time3 are both derived from the device time of the security inspection device. The time difference corresponding to the device time of the same device is used to avoid the difference caused by time calibration and improve the accuracy of information binding. In this way, even if the security inspection device and the scanning device are not calibrated, it will not cause any impact.

[0142] Figure 6 This is a specific flow chart of information binding provided by an embodiment of the present application, such as Figure 6 As shown, in order to improve the success rate of information binding, the first information binding scheme mentioned above is used first, and information binding is performed based on formula (4). If the binding fails, the second information binding scheme mentioned above is used to perform information binding based on the difference in acquisition time and the second time difference interval. If it still fails, the abnormal data is eliminated and fault-tolerant (refer to the above-mentioned cases of code without image or image without code). It should be noted that the second time difference interval is also updated in real time based on the image identification group that is successfully bound to improve the success rate of subsequent binding.

[0143] It should be noted that although the above-mentioned information binding method is applied to the field of security inspection systems in the embodiments of the present application, it can also be applied to other technical fields during actual use, and no specific limitation is made here. For example, it can also be applied to a scanning and collection system for the logistics field. The waybill information of the logistics ticket may be obtained by scanning and identifying the waybill on the six-sided scanning label attached to the ticket, or by identifying the RFID tag attached to the package through an RFID device. The six-sided scanning and RFID device are two separate devices, and the ticket passes through the six-sided scanning or RFID device at different times. When the scanning and collection system collects the waybill data of the ticket, the information binding method in the embodiment of the present application can also be used to fuse the six-sided scanning data and the RFID data, so as to feedback the waybill data of each ticket after the six-sided scanning data and the RFID data are fused to the upper system.

[0144] In this way, based on the information binding method provided in the embodiment of the present application, the first image information and the second image information collected by the first device, as well as the first identification information and the second identification information collected by the second device can be obtained; the first acquisition time difference between the first image information and the second image information, and the second acquisition time difference between the first identification information and the second identification information are calculated; according to the first acquisition time difference and the second acquisition time difference, and the preset first time difference interval, the first image information and the first identification information are bound to obtain an image identification group, and the first time difference interval is determined based on the difference between the first acquisition time difference corresponding to the image information in the historically bound image identification group and the second acquisition time difference corresponding to the identification information in the historically bound image identification group.

[0145] In the related art, when data binding is performed based on the time difference between the image information collected by the first device and the identification information collected by the second device, the calculated time difference may differ significantly from the actual time difference due to inaccurate time synchronization between the first and second devices, thereby affecting information binding. In the embodiment of the present application, a first acquisition time difference between the two image information collected by the first device and a second acquisition time difference between the two identification information collected by the second device are first calculated, and information binding is performed based on the first acquisition time difference, the second acquisition time difference, and the first time difference interval. This is beneficial to reducing the impact caused by the time difference or inaccurate time synchronization between the first and second devices, thereby facilitating improving the accuracy of information binding.

[0146] 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 7As shown, the information binding device includes:

[0147] The data acquisition module 701 is configured to acquire first image information and second image information acquired by the first device, and first identification information and second identification information acquired by the second device;

[0148] a calculation module 702, configured to calculate a first acquisition time difference between the first image information and the second image information, and a second acquisition time difference between the first identification information and the second identification information;

[0149] Binding module 703 is used to bind the first image information and the first identification information according to the first acquisition time difference and the second acquisition time difference, and a preset first time difference interval to obtain an image identification group, wherein the first time difference interval is determined based on the difference between the first acquisition time difference corresponding to the image information in the historically bound image identification group and the second acquisition time difference corresponding to the identification information in the historically bound image identification group.

[0150] In some embodiments of the present application, the information binding apparatus further includes a first time difference interval construction module, which is used to: obtain an image identification queue, wherein the image identification queue includes at least two groups of successfully bound image identification groups, each of which includes: image information and identification information;

[0151] The image identification groups in the image identification queue are sequentially used as target image identification groups, and a time difference history queue is obtained based on the acquisition time difference between each target image identification group in the image identification queue and its corresponding reference image identification group, wherein the positional relationship between the reference image identification group and the target image identification group is adjacent or fixedly spaced;

[0152] A preset first time difference interval is constructed according to the statistical characteristics of each acquisition time difference in the time difference history queue, wherein the statistical characteristics include at least one of a median, a mode, and a mean.

[0153] In some embodiments of the present application, the first time difference interval construction module is further specifically used to: calculate a first historical acquisition time difference between the image information in the target image identification group and the image information in the corresponding reference image identification group, and a second historical acquisition time difference between the identification information in the target image identification group and the identification information in the corresponding reference image identification group;

[0154] Calculating a target time difference between the first historical acquisition time difference and the second historical acquisition time difference, and associating the target time difference with the target image identification group;

[0155] According to the order of the target image identification groups, the acquisition time differences associated with the target image identification groups are ordered to obtain a time difference history queue.

[0156] In some embodiments of the present application, the binding module 703 is specifically configured to: calculate a difference between the first acquisition time difference and the second acquisition time difference as a target time difference;

[0157] If the target time difference value belongs to the preset first time difference interval, the first image information and the first identification information are bound to obtain an image identification group.

[0158] In some embodiments of the present application, the binding module 703 is further specifically configured to: if the target time difference does not fall within the preset first time difference interval, obtain a preset second time difference interval, wherein the second time difference interval is determined based on the item transmission time between the first device and the second device;

[0159] calculating a difference between a time when the first image information is collected and a time when the first identification information is collected as a transport time difference;

[0160] If the delivery time difference falls within the preset second time difference interval, binding the first image information and the first identification information to obtain an image identification group;

[0161] If the delivery time difference does not belong to the preset second time difference interval, a binding failure tag is added to the first image information and the first identification information.

[0162] In some embodiments of the present application, the information binding device further includes an interval updating module, which is used to: obtain the information time difference of each of the image identification groups;

[0163] The preset second time difference interval is updated according to the statistical characteristics of the information time difference, wherein the statistical characteristics include at least one of a median, a mode, and a mean.

[0164] In some embodiments of the present application, the first device and the second device transmit items via a conveying device, the first device is a security inspection device, and the second device is a scanning device;

[0165] The information binding device further includes a data cleaning module, configured to: determine timed-out first image information based on the acquisition time of the first image information and a preset timeout threshold, determine timed-out first identification information based on the acquisition time of the first identification information and the preset timeout threshold, and clear timed-out first image information and timed-out first identification information that have not been information-bound;

[0166] And / or, if the start / stop information corresponding to the transmission device is detected, the first image information, the second image information, the first identification information, and the second identification information are cleared.

[0167] In this way, based on the information binding device provided in the embodiment of the present application, the first acquisition time difference between the two image information collected by the first device and the second acquisition time difference between the two identification information collected by the second device can be calculated first, and information binding can be performed based on the first acquisition time difference, the second acquisition time difference and the first time difference interval, which is beneficial to reducing the impact caused by the time difference between the first device and the second device or inaccurate time calibration, thereby helping to improve the accuracy of information binding.

[0168] 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.

[0169] 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:

[0170] one or more processors;

[0171] Memory; and

[0172] 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.

[0173] 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.

[0174] 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.

[0175] 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.

[0176] 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.

[0177] 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.

[0178] 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:

[0179] Acquire first image information and second image information collected by the first device, and first identification information and second identification information collected by the second device;

[0180] Calculating a first acquisition time difference between the first image information and the second image information, and a second acquisition time difference between the first identification information and the second identification information;

[0181] The first image information and the first identification information are bound according to the first acquisition time difference and the second acquisition time difference, as well as a preset first time difference interval, to obtain an image identification group. The first time difference interval is determined based on the difference between the first acquisition time difference corresponding to the image information in the historically bound image identification group and the second acquisition time difference corresponding to the identification information in the historically bound image identification group.

[0182] 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.

[0183] 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:

[0184] Acquire first image information and second image information collected by the first device, and first identification information and second identification information collected by the second device;

[0185] Calculating a first acquisition time difference between the first image information and the second image information, and a second acquisition time difference between the first identification information and the second identification information;

[0186] The first image information and the first identification information are bound according to the first acquisition time difference and the second acquisition time difference, as well as a preset first time difference interval, to obtain an image identification group. The first time difference interval is determined based on the difference between the first acquisition time difference corresponding to the image information in the historically bound image identification group and the second acquisition time difference corresponding to the identification information in the historically bound image identification group.

[0187] 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.

[0188] 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.

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

[0190] 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: Acquire first image information and second image information collected by the first device, and first identification information and second identification information collected by the second device; Calculating a first acquisition time difference between the first image information and the second image information, and a second acquisition time difference between the first identification information and the second identification information; The first image information and the first identification information are bound according to the first acquisition time difference and the second acquisition time difference, as well as a preset first time difference interval, to obtain an image identification group. The first time difference interval is determined based on the difference between the first acquisition time difference corresponding to the image information in the historically bound image identification group and the second acquisition time difference corresponding to the identification information in the historically bound image identification group.

2. The information binding method according to claim 1, characterized in that: The preset first time difference interval is pre-constructed according to the following steps: Acquire an image identification queue, wherein the image identification queue contains at least two successfully bound image identification groups, each of which includes: image information and identification information; The image identification groups in the image identification queue are sequentially used as target image identification groups, and a time difference history queue is obtained based on the acquisition time difference between each target image identification group in the image identification queue and its corresponding reference image identification group, wherein the positional relationship between the reference image identification group and the target image identification group is adjacent or fixedly spaced; A preset first time difference interval is constructed according to the statistical characteristics of each acquisition time difference in the time difference history queue, wherein the statistical characteristics include at least one of a median, a mode, and a mean.

3. The information binding method according to claim 2, characterized in that: The step of obtaining a time difference history queue based on the acquisition time difference between each target image identification group and its corresponding reference image identification group in the image identification queue includes: Calculating a first historical acquisition time difference between the image information in the target image identification group and the image information in the corresponding reference image identification group, and a second historical acquisition time difference between the identification information in the target image identification group and the identification information in the corresponding reference image identification group; Calculating a target time difference between the first historical acquisition time difference and the second historical acquisition time difference, and associating the target time difference with the target image identification group; According to the order of the target image identification groups, the acquisition time differences associated with the target image identification groups are ordered to obtain a time difference history queue.

4. The information binding method according to claim 1, characterized in that: The step of binding the first image information and the first identification information according to the first acquisition time difference, the second acquisition time difference, and a preset first time difference interval to obtain an image identification group includes: Calculating a difference between the first acquisition time difference and the second acquisition time difference as a target time difference; If the target time difference value belongs to the preset first time difference interval, the first image information and the first identification information are bound to obtain an image identification group.

5. The information binding method according to claim 4, characterized in that: After calculating the difference between the first acquisition time difference and the second acquisition time difference as the target time difference, the method further includes: If the target time difference does not fall within the preset first time difference interval, obtaining a preset second time difference interval, wherein the second time difference interval is determined according to the item transmission time between the first device and the second device; calculating a difference between a time when the first image information is collected and a time when the first identification information is collected as a transport time difference; If the delivery time difference falls within the preset second time difference interval, binding the first image information and the first identification information to obtain an image identification group; If the delivery time difference does not belong to the preset second time difference interval, a binding failure tag is added to the first image information and the first identification information.

6. The information binding method according to claim 5, characterized in that: After binding the first image information and the first identification information according to the first acquisition time difference, the second acquisition time difference, and a preset first time difference interval to obtain an image identification group, the method further includes: Obtaining information time difference of each of the image identification groups; The preset second time difference interval is updated according to the statistical characteristics of the information time difference, wherein the statistical characteristics include at least one of a median, a mode, and a mean.

7. The information binding method according to any one of claims 1 to 6, characterized in that: The first device and the second device transmit items via a transmission device, the first device is a security inspection device, and the second device is a scanning device; After acquiring the first image information and the second image information collected by the first device, and the first identification information and the second identification information collected by the second device, the method further includes: Determining the timed-out first image information based on the acquisition time of the first image information and a preset timed-out threshold, determining the timed-out first identification information based on the acquisition time of the first identification information and the preset timed-out threshold, and clearing the timed-out first image information and the timed-out first identification information that have not been bound to information; And / or, if the start / stop information corresponding to the transmission device is detected, the first image information, the second image information, the first identification information, and the second identification information are cleared.

8. An information binding device, characterized in that: The information binding device includes: a data acquisition module, configured to acquire first image information and second image information acquired by the first device, and first identification information and second identification information acquired by the second device; a calculation module, configured to calculate a first acquisition time difference between the first image information and the second image information, and a second acquisition time difference between the first identification information and the second identification information; A binding module is used to bind the first image information and the first identification information according to the first acquisition time difference and the second acquisition time difference, and a preset first time difference interval to obtain an image identification group, wherein the first time difference interval is determined based on the difference between the first acquisition time difference corresponding to the image information in the historically bound image identification group and the second acquisition time difference corresponding to the identification information in the historically bound image identification group.

9. An electronic device, characterized in that: It comprises a memory and a processor; the memory stores an application, and the processor is used to run the application in the memory to execute the steps in the information binding method according to any one of claims 1 to 7.

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

Citation Information

Patent Citations

  • Equipment information binding method and system and electronic equipment

    CN113572826A

  • Article security check system and method, electronic equipment and storage medium

    CN113866838A