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

By calculating the time difference between the image and identification information collected by the device, and binding information according to the preset time difference interval, the problem of equipment time difference and inaccurate calibration affecting the accuracy of information binding is solved, and higher information binding is achieved Determine accuracy.

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

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, there are large differences between equipment time and inaccurate calibration, which affects the accuracy of information binding.

Method used

By calculating the acquisition time difference between the two image information collected by the first device and the acquisition time difference between the two identification information collected by the second device, and binding information according to the preset time difference interval, an image identification group is obtained.

Benefits of technology

Reduce the impact of equipment time differences and calibration inaccuracy, and improve the accuracy of information binding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119477119A_ABST
    Figure CN119477119A_ABST
Patent Text Reader

Abstract

The invention provides an information binding method and device, electronic equipment and a computer readable storage medium. The method comprises the steps of obtaining first image information and second image information collected by first equipment, and first identification information and second identification information collected by second equipment; 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; according to the first acquisition time difference, the second acquisition time difference and a preset first time difference interval, binding the first image information and the first identification information to obtain an image identification group, and according to the first acquisition time difference corresponding to the image information in the historically bound image identification group in the first time difference interval, acquiring the image information in the image identification group; and determining the difference value between the second acquisition time difference corresponding to the identification information in the historically bound image identification group. The information binding method and device are beneficial to improving the accuracy of information binding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

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

[0003] In the related art, data binding can be performed directly based on the time difference between the time when the first device collects the image information and the time when the second device collects the identification information. For example, if the time difference is less than a certain value, it can be considered that the image information and the identification information are successfully bound.

[0004] The problem with the related art is that the time when the first device collects the image information is usually determined based on the device time of the first device, and similarly, the time when the second device collects the identification information is usually determined based on the device time of the second device. If there is a large difference between the device times and the time calibration is inaccurate, there will be a large difference between the calculated time difference and the actual time difference, which will affect the information binding and is not conducive to improving the accuracy of the 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 the current information binding scheme has 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] According to the first acquisition time difference and the second acquisition time difference, and a 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.

[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 groups of image identification groups that are successfully bound, and each of the image identification groups 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 according to the acquisition time difference between each target image identification group in the image identification queue and its corresponding reference image identification group, wherein the position relationship between the reference image identification group and the target image identification group is adjacent or fixed interval;

[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 difference values ​​associated with each target image identification group 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 and 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 value does not belong to 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 transportation time difference;

[0024] If the delivery time difference belongs to 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 label is added to the first image information and the first identification information.

[0026] Optionally, 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 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, 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;

[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] Determine the timed-out first image information according to the acquisition time of the first image information and the preset timed-out threshold, determine the timed-out first identification information according to the acquisition time of the first identification information and the preset timed-out threshold, and clear 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, used to 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;

[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 according to the difference between the first acquisition time difference corresponding to the image information in the image identification group that has been historically bound, and the second acquisition time difference corresponding to the identification information in the image identification group that has been historically bound.

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

[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 the present 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: 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 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 and the actual time difference may be greatly different due to inaccurate time calibration between the first device and the second device, thereby affecting the information binding. 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 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, which is conducive to reducing 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. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0044] Figure 1 It is a scenario diagram 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 5It is a schematic diagram of a ticket information collection scenario provided in 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 It is a schematic diagram of the structure of an embodiment of an information binding device provided in an embodiment 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 the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of the present application.

[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 positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

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

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

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

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

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

[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. It can be understood that the information binding scenario may also include one or more other electronic devices, which are not specifically limited here; the electronic device 100 may also include a memory.

[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 communicated with an external display device 200, and the display device 200 is used to output the result of the execution of the information binding method in the electronic device. The electronic device 100 may access a backend database 300 (the backend database may be in the local memory of the electronic device, or may be set in the cloud), and the backend database 300 may store information related to information binding.

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

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

[0065] Figure 2 is a flowchart of an information binding method provided by an embodiment of the present application, such as Figure 2 As shown, the information binding method in the embodiment of the present application includes steps 201-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 objects to be inspected. Multiple objects 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 is inspected, 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 when a certain express package is found to be abnormal, the abnormal package can be identified in time.

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

[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 object interval value a is set in advance (its specific value can be set and adjusted according to actual needs). When the objects 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 objects to be detected to obtain first image information and second image information. The two objects to be detected are separated by a number of objects to be detected; similarly, the two objects to be detected corresponding to the first identification information and the second identification information are also separated by a number of objects 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 beneficial to reducing the impact of errors caused by the time correction process.

[0076] In another application scenario, each acquisition time can be the time after the time calibration, that is, the first acquisition time difference and the second acquisition time difference are not directly calculated using the device time. Since the difference of the acquisition time is used, the error caused by the time calibration process can also 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 according to the difference between the first acquisition time difference corresponding to the image information in the image identification group that has been historically bound, and the second acquisition time difference corresponding to the identification information in the image identification group that has been historically bound.

[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 historically.

[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, and 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, the transmission device does not temporarily stop, or an item to be detected does not fall in the middle of the process. At this time, 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 according to 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 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, and the identification information is the same, 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, and if the first image information and the first identification information are bound successfully, then it can be considered that the second image information and the second identification information are bound successfully.

[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 groups of image identification groups that are successfully bound, and each of the image identification groups includes: 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 according to the acquisition time difference between each target image identification group in the image identification queue and its corresponding reference image identification group, wherein the position relationship between the reference image identification group and the target image identification group is adjacent or fixed interval;

[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 the image identification group that has been successfully bound in history. 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 image information and the second image information in the corresponding image information queue when information binding is performed. They can be adjacent or at a fixed interval, and the corresponding interval value can be set according to 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 the 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:

[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 difference values ​​associated with each target image identification group 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 first time difference interval can be obtained by expanding the interval according to the average collection time difference. 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 performs information binding based on two schemes. 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 two specific 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 belongs to 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 belong to the preset first time difference interval, obtain 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; calculate 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 belongs to the preset second time difference interval, bind the first image information and the first identification information to obtain an image identification group; if the transportation time difference does not belong to the preset second time difference interval, add a binding failure label 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 first used based on the first time difference interval and the difference in acquisition time corresponding to adjacent (or fixed interval) image information and identification information. This 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] Among them, in the second solution, the preset second time difference interval can be obtained by expanding the interval according to the time difference between the object to be detected passing through the first device and the second device collected historically (the specific expansion value is preset according to actual needs). And the second time difference interval can be updated according to the image identification group that is successfully bound in real time.

[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 a preset first time difference interval to obtain an image identification group, the method further includes: obtaining the information time difference of each of the image identification groups; updating the preset second time difference interval 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.

[0103] The information time difference of each image identification group is the difference between the acquisition time corresponding to the image information and the identification information in the image identification group. The statistical characteristics (such as the average) of the information time difference can be calculated to obtain the information time difference statistics (such as the average information time difference), and the interval expansion according to the average information time difference can obtain the updated second time difference interval.

[0104] In one application scenario, the statistical value offset value between the newly calculated information time difference statistical value and the original information time difference statistical value (that is, the information time difference statistical value corresponding to the second time difference interval that has not been updated) can be determined first. If the statistical value offset value is too large (for example, exceeding the preset offset range), the range of the second time difference interval is updated.

[0105] In this way, the second time difference interval corresponding to the second solution is dynamically updated to adapt to changes in the device environment, which is conducive to improving the robustness of the information binding method and the success rate of information binding. In addition, for inconsistent time synchronization frequencies (for example, the first device synchronizes with the server once every 1 minute, while the second device synchronizes with the server once every 5 minutes) or unsuccessful time synchronization, the time inaccuracy is slowly shifted in a certain direction rather than suddenly changing. Using the method of dynamically updating the binding interval (i.e., the second time difference interval) can deal 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 items via a transmission device, the first device is a security inspection device, and the second device is a scanning device;

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

[0108] Determine the timed-out first image information according to the acquisition time of the first image information and the preset timed-out threshold, determine the timed-out first identification information according to the acquisition time of the first identification information and the preset timed-out threshold, and clear 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 system of current information collection is determined, so as to clear the historical data left in the binding queue. 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 falsely triggered 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 leftover 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 specifically described 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 In the example, the first device is a security inspection device, the second device is a six-sided scanning device, and the first device is arranged after the second device. In actual use, the first device can also be arranged before the second device, and the second device can include any one or both of the security inspection device and the RFID device, which is not specifically limited here.

[0114] like Figure 3 As shown, during security inspection, centralized security inspection can be adopted. The centering machine controls the items to be inspected to be near the center line of the conveyor belt, and multiple items to be inspected pass through the second device and the first device in turn. The waybill number is bound to the X-ray image of the item to be inspected by information binding, so as to facilitate the subsequent automatic interception or search when a risk is identified in a certain item to be inspected through AI judgment.

[0115] Figure 4This is a schematic 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, the six-sided scanning device and the 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, the six-sided scanning device, the RFID device, the main control or the WCS will perform regular time synchronization with the centralized security inspection system server or the 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, and image information is generated by the security inspection device 2, 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 it moves at a uniform speed 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 device and the scanning device 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 if 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), and 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, then 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, it is considered that the image information and the identification information belong to the same item to be detected, and the corresponding image information and identification information can be bound.

[0124] 2. If timeDiff < timeRangeMin, it usually belongs to one of the following two situations: A. When the previous item to be detected passes through the security inspection device, in addition to generating normal image information, an extra image is cut and an additional image information is generated. When this image information is bound to the next identification information in the identification information queue, the situation of time2’ - time1 < rangeMin will occur. In this case, the image information should be excluded (image without code). B. When the current item to be detected passes through the scanning device, one identification information is less generated. 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 item to be detected. At this time, the time difference time2’ - time1 < rangeMin, and the corresponding image information should be excluded or a preset marker identification information for distinguishing abnormal situations should be added to the image information (image without code).

[0125] 3. If timeDiff > timeRangeMax, it usually belongs to one of the following two situations: A. When the scanning device accidentally triggers and scans an extra identification information when the item to be detected passes through, when the next item to be detected passes through, since the extra scanned identification information is still in the queue, it will be compared with the image information corresponding to the next item to be detected, resulting in the time difference timeDiff being greater than timeRangeMax. In this case, the redundant identification information should be excluded, or a preset marker picture information should be added for binding (code without image). B. When the current item to be detected passes through the security inspection device, the corresponding image information is not scanned and generated, resulting in the image information corresponding to the next item to be detected being bound and judged with the identification information of the current item to be detected. At this time, the corresponding time difference is greater than timeRangeMax, and the redundant identification information should be excluded, or a preset marker picture information should be added for binding (code without image).

[0126] It should be noted that when timeDiff = timeRangeMax or timeDiff = timeRangeMin, it can also be regarded as a successful binding, and no specific limitation is made here.

[0127] Based on the second information binding scheme, 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 the device operating status (such as network status, device time synchronization frequency, whether the device time synchronization is successful, etc.).

[0128] When directly using the time difference and the preset range interval for information binding, it depends on the normal operating status of the device and the automatic time calibration of each associated device and the main server. If the time calibration is wrong, because the source of the timestamp data bound to the image code comes from different devices, the time difference will gradually deviate from the preset range interval, resulting in errors in 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 the time interval, the fault tolerance rate is low, and equipment abnormalities will lead to a decrease in the success rate of binding.

[0129] Specifically, the actual time difference deltaT of the package passing through the scanning device and the security inspection device is the fixed distance divided by the constant speed, where the fixed distance usually does not change after the equipment is installed and deployed, but the speed of the conveyor belt may change due to factors such as the actual energy consumption control requirements of the transfer site and the aging of the conveyor belt. For example, the speed of the high-speed mode is set, such as 1.5 meters per second, but the actual operating speed may not reach the preset high-speed mode speed, and this change is not easy to detect without additional sensors for monitoring.

[0130] In addition, timeDiff = time2 - time1 is actually an ideal formula. It has a premise that time2 and time1 are both synchronized with the centralized security inspection server / time calibration server, and does not actually take into account the difference in time calibration.

[0131] Taking time synchronization into consideration, if the time of the time synchronization server at a certain moment is ServerTime, the time after the security inspection device is synchronized is XTime, and the time after the scanning device is synchronized is ObrTime, the time difference between the two, combined with the above formula (1) and formula (2), can be obtained as follows Formula (3):

[0132] timeDiff = XTime - OrbTime

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

[0134] Among them, ServerTime and ServerTime' can be regarded as 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 are synchronized.

[0135] Although the range of 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 is 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 interval is seen in the data statistics to exceed the original preset interval, resulting in a binding code error.

[0136] In view of the above-mentioned problems of the second information binding scheme, the embodiment of the present application proposes to use the first information binding scheme to bind information first, and if the binding fails, use the second information binding scheme for further binding. When using the first information binding scheme for information binding, the device time of each device can be used directly without using the time after time calibration, thereby reducing the impact of time calibration and improving the accuracy of information binding.

[0137] Figure 5 : 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 above represents each item to be inspected. The six-sided scanning photoelectric sensor 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 sensor is triggered and records the corresponding collection time. The same is true for the security inspection device 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 equipment time of the six-sided scanning device), the status of ticket 2 when collecting identification information (corresponding to Time2, which is determined by the equipment time of the six-sided scanning device), the status of ticket 1 when collecting image information (corresponding to Time3, which is determined by the equipment time of the security inspection device), and the status of ticket 2 when collecting image information (corresponding to Time4, which is determined by the equipment 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 through the six-sided scanning device and when ticket 1 passes through the six-sided scanning device, that is, the second collection time difference corresponding to ticket 1. deltaTXRay=Time4-Time3, where deltaTXRay represents the time difference between when ticket 2 passes through the security inspection device and when ticket 1 passes through the security inspection device, that is, the first collection time difference corresponding to ticket 1.

[0139] When the conveyor belt speed remains unchanged, deltaTObr = deltaTXRay. In actual use, the conveyor belt speed may change, but the interval between two tickets is small, and the impact of the conveyor belt speed change in a short time is also small. Therefore, a time interval constraint can be made, 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, it is determined whether information binding can be performed according to formula (4). In actual use, for ticket 2 and ticket 1, in theory, 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 from the device time of the scanning device, and Time4 and Time3 are both 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 is a schematic diagram of a specific process 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 excluded and fault-tolerant (refer to the above-mentioned situation of having code but no picture or having picture but no code). It should be noted that the second time difference interval is also updated in real time based on the successfully bound image identification group to improve the subsequent binding success rate.

[0143] It should be noted that, although the above-mentioned information binding method is applied to the field of security inspection system in the embodiment of the present application, it can also be applied to other technical fields in actual use, and no specific limitation is made here. For example, it can also be applied to the scanning code collection system for the logistics field. The waybill information of the logistics ticket may be obtained by scanning the six sides of the waybill attached to the ticket, or it may be obtained by identifying the RFID tag mounted on the package through the RFID device. The six-side scanning and RFID device are two separate devices, and the ticket passes through the six-side scanning or RFID device at different times. When the scanning code 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 merge the six-side scanning data and the RFID data, so as to feedback the waybill data of each ticket after the six-side scanning data and the RFID data are merged 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 a 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 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.

[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 and the actual time difference may be greatly different due to inaccurate time calibration between the first device and the second device, thereby affecting the information binding. 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 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, which is conducive to reducing 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.

[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 is a schematic diagram of the structure of an embodiment of the information binding device provided in the embodiment of the present application, such as Figure 7As shown, the information binding device includes:

[0147] The data acquisition module 701 is used to 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;

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

[0150] In some embodiments of the present application, the information binding device further includes a first time difference interval construction module, which is used to: obtain an image identification queue, wherein the image identification queue contains at least two groups of image identification groups that are successfully bound, and each of the image identification groups 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 according to the acquisition time difference between each target image identification group in the image identification queue and its corresponding reference image identification group, wherein the position relationship between the reference image identification group and the target image identification group is adjacent or fixed interval;

[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 difference values ​​associated with each target image identification group are ordered to obtain a time difference history queue.

[0156] In some embodiments of the present application, the binding module 703 is specifically used to: calculate the difference between the first acquisition time difference and the second acquisition time difference as the 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 value does not belong to the preset first time difference interval, obtain 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;

[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 transportation time difference;

[0160] If the delivery time difference belongs to 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 label 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 transmission 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, which is used to: determine the timed-out first image information according to the acquisition time of the first image information and a preset timeout threshold, determine the timed-out first identification information according to the acquisition time of the first identification information and the preset timeout threshold, and clear the timed-out first image information and the 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 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.

[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] The electronic device integrates any one 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-mentioned information binding method embodiments.

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

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

[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 devices. 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 each component. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 803 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

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

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

[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] According to the first acquisition time difference and the second acquisition time difference, and a 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.

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

[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 execute the steps in any one of the information binding methods provided in the embodiments of the present application. For example, the computer program can be loaded by a processor to execute the following steps:

[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] According to the first acquisition time difference and the second acquisition time difference, and a 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.

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

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

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

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

Claims

1. An information binding method, characterized in that: The information binding method comprises: Acquire 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; According to the first acquisition time difference and the second acquisition time difference, and a 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.

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 groups of image identification groups that are successfully bound, and each of the image identification groups 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 according to the acquisition time difference between each target image identification group in the image identification queue and its corresponding reference image identification group, wherein the position relationship between the reference image identification group and the target image identification group is adjacent or fixed interval; 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. According to the information binding method according to claim 2, it is characterized in that: The step of 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 comprises: 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 difference values ​​associated with each target image identification group 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 value does not belong to 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 transportation time difference; If the delivery time difference belongs to 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 label 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 and 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: Determine the timed-out first image information according to the acquisition time of the first image information and the preset timed-out threshold, determine the timed-out first identification information according to the acquisition time of the first identification information and the preset timed-out threshold, and clear 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 comprises: A data acquisition module, used to 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; 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 according to the difference between the first acquisition time difference corresponding to the image information in the image identification group that has been historically bound, and the second acquisition time difference corresponding to the identification information in the image identification group that has been historically bound.

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

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

Citation Information

Patent Citations

  • Equipment information binding method and system and electronic equipment

    CN113572826A

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

    CN113866838A

  • Article identification and tracking

    EP3786836A1