Information binding method and device, electronic equipment and computer readable storage medium
By obtaining and using the running distance acquired by the speed encoder, information binding is performed on image information and identification information, which solves the problem of inaccurate information binding when the speed of the transmission device changes, and improves the accuracy of information binding.
Patent Information
- Application Number
- CN202311001904.1
- 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
The prior art cannot accurately bind information when the speed of the transmission equipment changes during the transmission process, which affects the accuracy of information binding.
By obtaining the running distance from the completion of image information acquisition to the completion of identification information acquisition, the distance is obtained using the speed encoder, and the image information and identification information are bound information based on the operation distance.
Even if the speed of the transmission device changes during transmission, it will not cause a change in the operating distance, thereby improving the accuracy of information binding.
Smart Images

Figure CN119477120A_ABST
Abstract
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 prior art, information binding is usually performed based on the time of information collection. For example, a judgment is made based on the time of image information collection, the time of identification information collection, and a preset time to determine whether the corresponding image information and identification information belong to the same item and thus determine whether binding can be performed.
[0004] The problem with the prior art is that if the speed of the transmission device changes during the transmission of the item, it is no longer possible to accurately bind the information according to the time of information collection, which is not conducive to improving the accuracy of information binding. Summary of the invention
[0005] The present application provides an information binding method, device, electronic device and computer-readable storage medium, which are used to solve the technical problem that the current information binding scheme cannot accurately bind information when the transmission device speed changes, 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 image information of the object to be detected collected by the first device, and identification information of the object to be detected collected by the second device;
[0008] Acquire the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, wherein the running distance is acquired by a speed encoder;
[0009] The image information and the identification information are bound according to the running distance to obtain an image identification group.
[0010] Optionally, the object to be detected is conveyed from the first device to the second device via a conveyor belt;
[0011] A first photoelectric sensor is arranged at the exit of the first device, and a second photoelectric sensor is arranged at the exit of the second device;
[0012] Before obtaining the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, the method further includes:
[0013] Acquire, by means of the speed encoder, a first belt revolution number when the first photoelectric sensor is triggered by the object to be detected, and a second belt revolution number when the second photoelectric sensor is triggered by the object to be detected;
[0014] The running distance is determined according to the first number of belt turns and the second number of belt turns.
[0015] Optionally, a third photoelectric sensor is provided at the entrance of the second device;
[0016] Determining the running distance according to the first belt revolution number and the second belt revolution number comprises:
[0017] Obtaining a running circle difference according to the first belt circle number and the second belt circle number;
[0018] Acquire the third belt revolution number when the third photoelectric sensor is triggered by the object to be detected by the speed encoder, and acquire a corrected revolution difference according to the first belt revolution number and the third belt revolution number;
[0019] Obtaining a corrected standard distance, wherein the corrected standard distance is determined according to a historical corrected lap number difference corresponding to at least two historical objects to be detected and a preset lap number distance parameter;
[0020] The running distance is determined according to the running circle number difference, the corrected circle number difference and the corrected standard distance.
[0021] Optionally, before obtaining the corrected standard distance, the method further includes:
[0022] Acquire at least two historical corrected reference distances of the historical objects to be detected, wherein the historical corrected reference distances of the historical objects to be detected are determined according to the historical corrected lap number difference of the historical objects to be detected and the preset lap number distance parameter;
[0023] The corrected standard distance is determined according to the average of the historical corrected reference distances of the historical objects to be detected.
[0024] Optionally, the binding the image information and the identification information according to the running distance to obtain an image identification group includes:
[0025] Acquire a target distance interval, wherein the target distance interval is determined according to historical running distances of at least two historical objects to be detected;
[0026] If the running distance belongs to the target distance interval, binding the image information and the identification information to obtain an image identification group;
[0027] If the running distance does not belong to the target distance interval, a binding prompt message is output.
[0028] Optionally, before acquiring the target distance interval, the method further includes:
[0029] Obtaining historical running distances of at least two historical objects to be detected, wherein the historical running distances of the historical objects to be detected are determined according to the difference in the number of historical running laps of the historical objects to be detected and a preset lap distance parameter;
[0030] Calculate the average of the historical running distances of the historical objects to be detected as the running standard distance;
[0031] The target distance interval is determined according to the operating standard distance and a preset distance offset threshold, wherein the distance offset threshold is determined according to the distance between two adjacent objects to be detected.
[0032] Optionally, a fourth photoelectric sensor is provided at the entrance of the first device;
[0033] The first device is a security inspection device, and the second device is an identification scanning device;
[0034] Before obtaining the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, the method further includes:
[0035] The speed encoder is activated when the fourth photoelectric sensor is triggered by the object to be detected.
[0036] On the other hand, an embodiment of the present application provides an information binding device;
[0037] The information binding device includes:
[0038] An information acquisition module, used to acquire image information of the object to be detected collected by the first device, and identification information of the object to be detected collected by the second device;
[0039] A distance acquisition module, used to acquire the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, wherein the running distance is acquired by a speed encoder;
[0040] The information binding module is used to bind the image information and the identification information according to the running distance to obtain an image identification group.
[0041] 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.
[0042] 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.
[0043] From the above content, it can be concluded that the present application has the following beneficial effects:
[0044] The present application provides an information binding method, device, electronic device and computer-readable storage medium, the method comprising: acquiring image information of an object to be detected collected by a first device, and identification information of the object to be detected collected by a second device; acquiring a running distance of the object to be detected from the completion of the image information collection to the completion of the identification information collection, wherein the running distance is obtained by a speed encoder; and information binding is performed on the image information and the identification information according to the running distance to obtain an image identification group.
[0045] In the prior art, information binding is performed based on the time of information collection. However, if the speed of the transmission device changes during the transmission of the object to be detected, accurate information binding cannot be performed based on the time of information collection. In the embodiment of the present application, after obtaining the image information of the object to be detected collected by the first device and the identification information of the object to be detected collected by the second device, the running distance from the completion of the image information collection to the completion of the identification information collection is obtained, and the image information and the representation information are bound based on the running distance. Even if the speed of the transmission device changes during the transmission process, it will not cause the running distance to change. Therefore, the embodiment of the present application is conducive to improving the accuracy of information binding. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] 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.
[0047] Figure 1 It is a scenario diagram of the information binding method provided in an embodiment of the present application;
[0048] Figure 2 This is a flowchart of an embodiment of the information binding method in the embodiment of the present application;
[0049] Figure 3 It is a schematic diagram of a flow chart of calculating a running distance provided in an embodiment of the present application;
[0050] Figure 4 This is a schematic diagram of a specific scenario of information collection provided by an embodiment of the present application;
[0051] Figure 5 It is a schematic diagram of the structure of an embodiment of an information binding device provided in an embodiment of the present application;
[0052] Figure 6 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
[0053] 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.
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] 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.
[0060] In the embodiment of the present application, the electronic device 100 is mainly used for: obtaining image information of the object to be detected collected by the first device, and identification information of the object to be detected collected by the second device; obtaining the running distance of the object to be detected from the completion of the image information collection to the completion of the identification information collection, wherein the running distance is obtained by a speed encoder; and binding the image information and the identification information according to the running distance to obtain an image identification group.
[0061] 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.
[0062] 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.
[0063] 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.
[0064] It should be noted that Figure 1 The 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.
[0065] 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.
[0066] 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:
[0067] 201. Acquire image information of an object to be detected collected by a first device, and identification information of the object to be detected collected by a second device.
[0068] Among them, the above-mentioned items to be detected are items that need to be scanned to obtain multiple information (including image information and identification information), and the corresponding multiple information needs to be bound. The first device and the second device are devices for information scanning.
[0069] In this embodiment, the application of the above-mentioned information binding method to the field of express package security inspection is taken 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.
[0070] During the information collection process, what is usually obtained is a queue corresponding to the image information and a queue corresponding to the identification information. The information in the two queues needs to be bound one-to-one to determine the identification information corresponding to each image information.
[0071] In this embodiment, the information binding of an image information in the image information queue and an identification information in the identification information queue is used as an example for specific description. In actual use, multiple image information and identification information can be bound at the same time based on the information binding method provided in this embodiment. For example, each image information in the image information queue is used as the image information to be bound in this embodiment, and each identification information in the identification information queue is used as the identification information to be bound in this embodiment, so as to determine whether the two can be bound.
[0072] 202 , obtaining a running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, wherein the running distance is obtained by a speed encoder.
[0073] It should be noted that in this embodiment, the first device is set before the second device for explanation, that is, the image information of the object to be detected is first collected by the first device, and then transmitted to the second device for identification information collection. However, in actual use, the first device can also be set after the second device, which is not specifically limited here.
[0074] The speed encoder is a device used to detect the speed of the motor. The speed encoder is connected to the conveying device used to transport the object to be inspected, so as to determine how far the conveying device has transported the object to be inspected. Specifically, the running distance is the distance actually transported by the conveying device from the time when the image information is collected to the time when the identification information is collected.
[0075] 203 : Bind the image information and the identification information according to the running distance to obtain an image identification group.
[0076] Specifically, in this embodiment, according to the above step 202, the running distance of the transmission device from the completion of the image information acquisition to the completion of the identification information acquisition can be obtained through the speed encoder, and the actual distance between the first device and the second device can also be determined. For example, the relative distance between the first device and the second device can be measured in advance. During normal use, the first device and the second device will not be displaced, so the relative distance between the first device and the second device can be regarded as unchanged. At this time, according to the running distance and the relative distance between the first device and the second device, it can be determined whether the image information and the identification information belong to the same object to be detected. If they belong to the same object to be detected, the information binding can be completed, thereby obtaining an image identification group consisting of matching image information and identification information.
[0077] In some embodiments of the present application, the object to be detected is conveyed from the first device to the second device via a conveyor belt;
[0078] A first photoelectric sensor is arranged at the exit of the first device, and a second photoelectric sensor is arranged at the exit of the second device.
[0079] Figure 3 is a schematic diagram of a flow chart of calculating a running distance provided in an embodiment of the present application, such as Figure 3 As shown, before obtaining the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, the method further includes:
[0080] 301, obtaining, by the speed encoder, a first belt revolution number when the first photoelectric sensor is triggered by the object to be detected, and a second belt revolution number when the second photoelectric sensor is triggered by the object to be detected;
[0081] 302. Determine the running distance according to the first number of belt turns and the second number of belt turns.
[0082] Figure 4 is a schematic diagram of a specific scenario of information collection provided by an embodiment of the present application, such as Figure 4 As shown, the object to be detected is sequentially conveyed to the first device and the second device via a conveyor belt. A first photoelectric sensor is set at the exit of the first device, and a second photoelectric sensor is set at the exit of the second device. A speed encoder is connected to the conveyor belt to collect the number of revolutions of the rotating shaft of the conveyor belt, that is, the number of belt revolutions, so as to determine the running distance.
[0083] In some embodiments of the present application, the first photoelectric sensor is arranged close to the first device, and the second photoelectric sensor is arranged close to the second device, so that the corresponding running distance can be quickly sensed and determined after the image information collection and identification information collection of the object to be detected are completed, which is conducive to improving the accuracy of the acquired running distance.
[0084] In some embodiments of the present application, the running distance is determined according to the difference between the second belt turns and the first belt turns, and a pre-set turn distance parameter. The speed encoder records the number of turns of the rotating shaft of the conveyor belt, and the turn distance parameter is a pre-set parameter used to determine how far the conveyor belt travels when the rotating shaft rotates one turn. For example, the turn distance parameter is 6 meters / turn, which means that the conveyor belt travels 6 meters when the rotating shaft rotates one turn. If the difference between the second belt turns and the first belt turns is 0.5, the corresponding running distance can be determined to be 3 meters.
[0085] In some embodiments of the present application, the running distance calculation process may be further modified to improve the accuracy of the calculated running distance. Figure 4 As shown, a third photoelectric sensor may also be provided at the entrance of the second device, and the determining of the running distance according to the first belt circle number and the second belt circle number includes:
[0086] Obtaining a running circle difference according to the first belt circle number and the second belt circle number;
[0087] Acquire the third belt revolution number when the third photoelectric sensor is triggered by the object to be detected by the speed encoder, and acquire a corrected revolution difference according to the first belt revolution number and the third belt revolution number;
[0088] Obtaining a corrected standard distance, wherein the corrected standard distance is determined according to a historical corrected lap number difference corresponding to at least two historical objects to be detected and a preset lap number distance parameter;
[0089] The running distance is determined according to the running circle number difference, the corrected circle number difference and the corrected standard distance.
[0090] The running circle difference is the difference between the second belt circle and the first belt circle, and the corrected circle difference is the difference between the third belt circle and the first belt circle. The corrected standard distance is the distance from the exit of the first device to the entrance of the second device determined in advance using multiple tests.
[0091] It should be noted that in actual use, the preset circle distance parameter is usually an ideal parameter, but errors may occur as the equipment is used. For example, the preset distance parameter is inaccurate due to the belt being stretched for a long time or the belt being loose. Under ideal conditions, the speed encoder records that the belt transmits 6 meters when one circle, but in actual use, it may exceed 6 meters or be less than 6 meters. Therefore, if the actual calculation depends only on the distance parameter, it may cause errors.
[0092] In one application scenario, it is necessary to determine a corrected lap distance parameter so that the corrected reference distance calculated by the corrected lap distance parameter in actual use is equal to the corrected standard distance, thereby making the calculated running distance in actual use equal to the running distance calculated under ideal conditions.
[0093] In a specific example, during actual measurement, the corrected lap difference * corrected lap distance parameter = reference distance; under historical standard conditions, the historical corrected lap difference * preset lap distance parameter = corrected standard distance. When making corrections, it is necessary to have a reference distance = corrected standard distance, then the corrected lap distance parameter = corrected standard distance / corrected lap difference, and the corrected lap distance parameter * running lap difference = corrected running distance. Therefore, corrected standard distance / corrected lap difference * running lap difference = corrected running distance. In this way, the corrected running distance can be calculated, and information binding is performed based on the corrected running distance, which can improve the accuracy of information binding.
[0094] In some embodiments of the present application, before obtaining the corrected standard distance, the method further includes:
[0095] Acquire at least two historical corrected reference distances of the historical objects to be detected, wherein the historical corrected reference distances of the historical objects to be detected are determined according to the historical corrected lap number difference of the historical objects to be detected and the preset lap number distance parameter;
[0096] The corrected standard distance is determined according to the average of the historical corrected reference distances of the historical objects to be detected.
[0097] In this way, using multiple packages for testing in advance and determining the corrected standard distance based on the average of the historical corrected reference distances is conducive to improving the accuracy of the corrected standard distance obtained, thereby improving the accuracy of the correction of the running distance.
[0098] In some embodiments of the present application, when the running distance is equal to a preset distance value, the image information and the representation information may be bound to obtain an image identification group.
[0099] In some other embodiments of the present application, information binding is performed according to the target distance interval. Specifically, the information binding of the image information and the identification information according to the running distance to obtain the image identification group includes:
[0100] Acquire a target distance interval, wherein the target distance interval is determined according to historical running distances of at least two historical objects to be detected;
[0101] If the running distance belongs to the target distance interval, binding the image information and the identification information to obtain an image identification group;
[0102] If the running distance does not belong to the target distance interval, a binding prompt message is output.
[0103] In this way, information binding is performed according to the target distance interval. Binding can be achieved only if the running distance belongs to the target distance interval, and it is not required that the running distance is strictly equal to a certain distance value, which is conducive to improving the fault tolerance and success rate of information binding.
[0104] The binding prompt information is pre-set prompt information for indicating a binding failure, which can prompt the user that the information binding fails, thereby facilitating the user to check.
[0105] In some embodiments of the present application, before acquiring the target distance interval, the method further includes:
[0106] Obtaining historical running distances of at least two historical objects to be detected, wherein the historical running distances of the historical objects to be detected are determined according to the difference in the number of historical running laps of the historical objects to be detected and a preset lap distance parameter;
[0107] Calculate the average of the historical running distances of the historical objects to be detected as the running standard distance;
[0108] The target distance interval is determined according to the operating standard distance and a preset distance offset threshold, wherein the distance offset threshold is determined according to the distance between two adjacent objects to be detected.
[0109] The standard running distance is the running distance of the object to be detected in the process of completing image information collection and identification information collection based on the historical test results of the object to be detected. The distance offset threshold is used to adjust according to the standard running distance to determine the target distance interval for judgment; the distance offset threshold can be set and adjusted according to actual needs. It should be noted that the distance offset threshold is smaller than the distance between two adjacent objects to be detected to prevent the information of adjacent objects from being bound together.
[0110] In some embodiments of the present application, Figure 4 As shown, a fourth photoelectric sensor is provided at the entrance of the first device;
[0111] The first device is a security inspection device, and the second device is an identification scanning device;
[0112] Before obtaining the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, the method further includes:
[0113] The speed encoder is activated when the fourth photoelectric sensor is triggered by the object to be detected.
[0114] In this way, the speed encoder is only started when an object to be detected passes (ie, information collection and binding are required), and the speed encoder can be turned off when no object to be detected is transmitted, which is beneficial to saving energy consumption.
[0115] In the embodiment of the present application, the information binding method is also described in detail based on a specific application scenario. In this specific application scenario, the items to be inspected (i.e., express delivery) are sorted at the transfer site, and the security inspection equipment is set up in the middle of the sorting line (i.e., belt conveyor). The express delivery first passes through the single-piece separator to separate the express delivery that is closer to each other, so as to ensure that the express delivery passes through the security inspection equipment one by one in sequence.
[0116] When the photoelectric sensor at the entrance of the security inspection device is triggered, the security inspection device turns on the perspective image to take pictures. When the photoelectric sensor at the exit of the security inspection device is triggered, the photoelectric sensor is turned off to take pictures, thereby obtaining a security inspection image.
[0117] After passing through the security inspection equipment, after a preset distance (for example, 3 meters), it passes through the scanning equipment (for example, a six-sided scanning equipment). A photoelectric sensor is set at the entrance of the scanning equipment to sense the entry of the express delivery. When the photoelectric sensor is triggered, the waybill identification (for example, the waybill number) is obtained through the scanning equipment. In actual use, due to factors such as the different lengths of express parcels and the uncertain position of the cover sheet, the actual time for collecting and obtaining the waybill identification is not fixed.
[0118] Specifically, each photoelectric sensor can count and record the corresponding time when it senses an object passing by. In this way, the counting status of the four photoelectric sensors and the corresponding time information can be obtained, which can be matched with the corresponding image information or identification information to determine the collection time of the image information and the collection time of the identification information.
[0119] In one application scenario, the corrected standard distance is determined in the historical test phase. Specifically, the conveyor belt is turned on, and after stable operation, multiple express parcels (for example, 10) are placed. When an express parcel passes through the security inspection equipment entrance, security inspection equipment exit, scanning equipment entrance, and the photoelectric sensor at the scanning equipment exit is triggered, the running distance information of the speed encoder is obtained and recorded, and the number of triggering times of the photoelectric sensor is counted. Based on the running distance information corresponding to the 10 parcels, the average distance between each photoelectric sensor can be determined, thereby eliminating the calculation error corresponding to the speed encoder.
[0120] During the operation phase of formal information binding, each item to be detected is transmitted to the security inspection equipment and the scanning equipment in turn. When the photoelectric sensor at the entrance of the security inspection equipment is triggered, the corresponding distance calculation unit is triggered, and the corresponding distance information is obtained when each photoelectric sensor is triggered, so as to determine the corresponding running distance of the item to be detected according to the distance information fed back by the distance calculation unit and the speed encoder. In one application scenario, the photoelectric sensor at the exit of the security inspection equipment can be used to determine the acquisition time of the image information, and the photoelectric sensor at the exit of the scanning equipment can be used to determine the acquisition time of the identification information. When the item to be detected triggers the photoelectric sensor at the exit of the security inspection equipment, it will also trigger the distance calculation unit for running distance correction, which is used to correct the running distance, thereby improving the accuracy of the image code information.
[0121] Therefore, in the embodiment of the present application, information binding is performed based on distance information, and there is no need to know the running speed of the conveyor belt, and accurate information binding can be achieved when the conveyor belt speed changes or even stops and starts.
[0122] In this way, based on the information binding method provided in the embodiment of the present application, it is possible to obtain the image information of the object to be detected collected by the first device and the identification information of the object to be detected collected by the second device; obtain the running distance of the object to be detected from the completion of the image information collection to the completion of the identification information collection, wherein the running distance is obtained by a speed encoder; and perform information binding on the image information and the identification information according to the running distance to obtain an image identification group. After obtaining the image information of the object to be detected collected by the first device and the identification information of the object to be detected collected by the second device, obtain the running distance from the completion of the image information collection to the completion of the identification information collection, and perform information binding on the image information and the representation information according to the running distance. Even if the speed of the transmission device changes during the transmission process, it will not cause the running distance to change, so the embodiment of the present application is conducive to improving the accuracy of information binding.
[0123] 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 5 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 5 As shown, the information binding device includes:
[0124] The information acquisition module 501 is used to acquire the image information of the object to be detected collected by the first device and the identification information of the object to be detected collected by the second device;
[0125] The distance acquisition module 502 is used to acquire the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, wherein the running distance is acquired by a speed encoder;
[0126] The information binding module 503 is used to bind the image information and the identification information according to the running distance to obtain an image identification group.
[0127] In some embodiments of the present application, the object to be detected is conveyed from the first device to the second device via a conveyor belt;
[0128] A first photoelectric sensor is arranged at the exit of the first device, and a second photoelectric sensor is arranged at the exit of the second device;
[0129] The information binding device also includes a running distance calculation module, which is used to:
[0130] Acquire, by means of the speed encoder, a first belt revolution number when the first photoelectric sensor is triggered by the object to be detected, and a second belt revolution number when the second photoelectric sensor is triggered by the object to be detected;
[0131] The running distance is determined according to the first number of belt turns and the second number of belt turns.
[0132] In some embodiments of the present application, a third photoelectric sensor is provided at the entrance of the second device; and the running distance calculation module is specifically used for:
[0133] Obtaining a running circle difference according to the first belt circle number and the second belt circle number;
[0134] Acquire the third belt revolution number when the third photoelectric sensor is triggered by the object to be detected by the speed encoder, and acquire a corrected revolution difference according to the first belt revolution number and the third belt revolution number;
[0135] Obtaining a corrected standard distance, wherein the corrected standard distance is determined according to a historical corrected lap number difference corresponding to at least two historical objects to be detected and a preset lap number distance parameter;
[0136] The running distance is determined according to the running circle number difference, the corrected circle number difference and the corrected standard distance.
[0137] In some embodiments of the present application, the running distance calculation module is further specifically used for:
[0138] Acquire at least two historical corrected reference distances of the historical objects to be detected, wherein the historical corrected reference distances of the historical objects to be detected are determined according to the historical corrected lap number difference of the historical objects to be detected and the preset lap number distance parameter;
[0139] The corrected standard distance is determined according to the average of the historical corrected reference distances of the historical objects to be detected.
[0140] In some embodiments of the present application, the information binding module 503 is specifically used to:
[0141] Acquire a target distance interval, wherein the target distance interval is determined according to historical running distances of at least two historical objects to be detected;
[0142] If the running distance belongs to the target distance interval, binding the image information and the identification information to obtain an image identification group;
[0143] If the running distance does not belong to the target distance interval, a binding prompt message is output.
[0144] In some embodiments of the present application, the information binding module 503 is further specifically used to:
[0145] Obtaining historical running distances of at least two historical objects to be detected, wherein the historical running distances of the historical objects to be detected are determined according to the difference in the number of historical running laps of the historical objects to be detected and a preset lap distance parameter;
[0146] Calculate the average of the historical running distances of the historical objects to be detected as the running standard distance;
[0147] The target distance interval is determined according to the operating standard distance and a preset distance offset threshold, wherein the distance offset threshold is determined according to the distance between two adjacent objects to be detected.
[0148] In some embodiments of the present application, a fourth photoelectric sensor is provided at the entrance of the first device;
[0149] The first device is a security inspection device, and the second device is an identification scanning device;
[0150] The information binding device further includes a speed encoder control module, which is used to start the speed encoder when the fourth photoelectric sensor is triggered by the object to be detected.
[0151] In this way, based on the information binding device provided in the embodiment of the present application, after acquiring the image information of the object to be detected collected by the first device and the identification information of the object to be detected collected by the second device, the running distance from the completion of the image information collection to the completion of the identification information collection can be obtained, and the image information and the representation information can be bound according to the running distance. Even if the speed of the transmission device changes during the transmission process, the running distance will not change, so the embodiment of the present application is conducive to improving the accuracy of information binding.
[0152] The present application also provides an electronic device, such as Figure 6 As shown, Figure 6 It is a schematic diagram of the structure of an embodiment of an electronic device provided in the embodiments of the present application.
[0153] The electronic device integrates any one of the information binding devices provided in the embodiments of the present application, and the electronic device includes:
[0154] one or more processors;
[0155] Memory; and
[0156] 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.
[0157] Specifically, the electronic device may include one or more processors 601 of processing cores, one or more computer-readable storage media memories 602, a power supply 603, an input unit 604 and other components. Those skilled in the art will appreciate that Figure 6 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.
[0158] The processor 601 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 602, and calling data stored in the memory 602, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 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 601.
[0159] The memory 602 can be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. The memory 602 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 602 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 602 may also include a memory controller to provide the processor 601 with access to the memory 602.
[0160] The electronic device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, power consumption and other functions through the power management system. The power supply 603 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.
[0161] The electronic device may further include an input unit 604, 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.
[0162] 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 601 in the electronic device will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the application programs stored in the memory 602, thereby realizing various functions, as follows:
[0163] Acquire image information of the object to be detected collected by the first device, and identification information of the object to be detected collected by the second device;
[0164] Acquire the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, wherein the running distance is acquired by a speed encoder;
[0165] The image information and the identification information are bound according to the running distance to obtain an image identification group.
[0166] In some embodiments, the object to be detected is conveyed from the first device to the second device via a conveyor belt;
[0167] A first photoelectric sensor is arranged at the exit of the first device, and a second photoelectric sensor is arranged at the exit of the second device;
[0168] Before obtaining the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, the method further includes:
[0169] Acquire, by means of the speed encoder, a first belt revolution number when the first photoelectric sensor is triggered by the object to be detected, and a second belt revolution number when the second photoelectric sensor is triggered by the object to be detected;
[0170] The running distance is determined according to the first number of belt turns and the second number of belt turns.
[0171] In some embodiments, a third photoelectric sensor is disposed at the entrance of the second device;
[0172] Determining the running distance according to the first belt revolution number and the second belt revolution number comprises:
[0173] Obtaining a running circle difference according to the first belt circle number and the second belt circle number;
[0174] Acquire the third belt revolution number when the third photoelectric sensor is triggered by the object to be detected by the speed encoder, and acquire a corrected revolution difference according to the first belt revolution number and the third belt revolution number;
[0175] Obtaining a corrected standard distance, wherein the corrected standard distance is determined according to a historical corrected lap number difference corresponding to at least two historical objects to be detected and a preset lap number distance parameter;
[0176] The running distance is determined according to the running circle number difference, the corrected circle number difference and the corrected standard distance.
[0177] In some embodiments, before obtaining the corrected standard distance, the method further includes:
[0178] Acquire at least two historical corrected reference distances of the historical objects to be detected, wherein the historical corrected reference distances of the historical objects to be detected are determined according to the historical corrected lap number difference of the historical objects to be detected and the preset lap number distance parameter;
[0179] The corrected standard distance is determined according to the average of the historical corrected reference distances of the historical objects to be detected.
[0180] In some embodiments, the step of binding the image information and the identification information according to the running distance to obtain an image identification group includes:
[0181] Acquire a target distance interval, wherein the target distance interval is determined according to historical running distances of at least two historical objects to be detected;
[0182] If the running distance belongs to the target distance interval, binding the image information and the identification information to obtain an image identification group;
[0183] If the running distance does not belong to the target distance interval, a binding prompt message is output.
[0184] In some embodiments, before acquiring the target distance interval, the method further includes:
[0185] Obtaining historical running distances of at least two historical objects to be detected, wherein the historical running distances of the historical objects to be detected are determined according to the difference in the number of historical running laps of the historical objects to be detected and a preset lap distance parameter;
[0186] Calculate the average of the historical running distances of the historical objects to be detected as the running standard distance;
[0187] The target distance interval is determined according to the operating standard distance and a preset distance offset threshold, wherein the distance offset threshold is determined according to the distance between two adjacent objects to be detected.
[0188] In some embodiments, a fourth photoelectric sensor is disposed at the entrance of the first device;
[0189] The first device is a security inspection device, and the second device is an identification scanning device;
[0190] Before obtaining the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, the method further includes:
[0191] The speed encoder is activated when the fourth photoelectric sensor is triggered by the object to be detected.
[0192] 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.
[0193] 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:
[0194] Acquire image information of the object to be detected collected by the first device, and identification information of the object to be detected collected by the second device;
[0195] Acquire the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, wherein the running distance is acquired by a speed encoder;
[0196] The image information and the identification information are bound according to the running distance to obtain an image identification group.
[0197] In some embodiments, the object to be detected is conveyed from the first device to the second device via a conveyor belt;
[0198] A first photoelectric sensor is arranged at the exit of the first device, and a second photoelectric sensor is arranged at the exit of the second device;
[0199] Before obtaining the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, the method further includes:
[0200] Acquire, by means of the speed encoder, a first belt revolution number when the first photoelectric sensor is triggered by the object to be detected, and a second belt revolution number when the second photoelectric sensor is triggered by the object to be detected;
[0201] The running distance is determined according to the first number of belt turns and the second number of belt turns.
[0202] In some embodiments, a third photoelectric sensor is disposed at the entrance of the second device;
[0203] Determining the running distance according to the first belt revolution number and the second belt revolution number comprises:
[0204] Obtaining a running circle difference according to the first belt circle number and the second belt circle number;
[0205] Acquire the third belt revolution number when the third photoelectric sensor is triggered by the object to be detected by the speed encoder, and acquire a corrected revolution difference according to the first belt revolution number and the third belt revolution number;
[0206] Obtaining a corrected standard distance, wherein the corrected standard distance is determined according to a historical corrected lap number difference corresponding to at least two historical objects to be detected and a preset lap number distance parameter;
[0207] The running distance is determined according to the running circle number difference, the corrected circle number difference and the corrected standard distance.
[0208] In some embodiments, before obtaining the corrected standard distance, the method further includes:
[0209] Acquire at least two historical corrected reference distances of the historical objects to be detected, wherein the historical corrected reference distances of the historical objects to be detected are determined according to the historical corrected lap number difference of the historical objects to be detected and the preset lap number distance parameter;
[0210] The corrected standard distance is determined according to the average of the historical corrected reference distances of the historical objects to be detected.
[0211] In some embodiments, the step of binding the image information and the identification information according to the running distance to obtain an image identification group includes:
[0212] Acquire a target distance interval, wherein the target distance interval is determined according to historical running distances of at least two historical objects to be detected;
[0213] If the running distance belongs to the target distance interval, binding the image information and the identification information to obtain an image identification group;
[0214] If the running distance does not belong to the target distance interval, a binding prompt message is output.
[0215] In some embodiments, before acquiring the target distance interval, the method further includes:
[0216] Obtaining historical running distances of at least two historical objects to be detected, wherein the historical running distances of the historical objects to be detected are determined according to the difference in the number of historical running laps of the historical objects to be detected and a preset lap distance parameter;
[0217] Calculate the average of the historical running distances of the historical objects to be detected as the running standard distance;
[0218] The target distance interval is determined according to the operating standard distance and a preset distance offset threshold, wherein the distance offset threshold is determined according to the distance between two adjacent objects to be detected.
[0219] In some embodiments, a fourth photoelectric sensor is disposed at the entrance of the first device;
[0220] The first device is a security inspection device, and the second device is an identification scanning device;
[0221] Before obtaining the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, the method further includes:
[0222] The speed encoder is activated when the fourth photoelectric sensor is triggered by the object to be detected.
[0223] 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.
[0224] 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.
[0225] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0226] 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 image information of the object to be detected collected by the first device, and identification information of the object to be detected collected by the second device; Acquire the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, wherein the running distance is acquired by a speed encoder; The image information and the identification information are bound according to the running distance to obtain an image identification group.
2. The information binding method according to claim 1, characterized in that: The object to be detected is conveyed from the first device to the second device via a conveyor belt; A first photoelectric sensor is arranged at the exit of the first device, and a second photoelectric sensor is arranged at the exit of the second device; Before obtaining the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, the method further includes: Acquire, by means of the speed encoder, a first belt revolution number when the first photoelectric sensor is triggered by the object to be detected, and a second belt revolution number when the second photoelectric sensor is triggered by the object to be detected; The running distance is determined according to the first number of belt turns and the second number of belt turns.
3. The information binding method according to claim 2, characterized in that: A third photoelectric sensor is provided at the entrance of the second device; Determining the running distance according to the first belt revolution number and the second belt revolution number comprises: Obtaining a running circle difference according to the first belt circle number and the second belt circle number; Acquire the third belt revolution number when the third photoelectric sensor is triggered by the object to be detected by the speed encoder, and acquire a corrected revolution difference according to the first belt revolution number and the third belt revolution number; Obtaining a corrected standard distance, wherein the corrected standard distance is determined according to a historical corrected lap number difference corresponding to at least two historical objects to be detected and a preset lap number distance parameter; The running distance is determined according to the running circle number difference, the corrected circle number difference and the corrected standard distance.
4. The information binding method according to claim 3, characterized in that: Before obtaining the corrected standard distance, the method further includes: Acquire at least two historical corrected reference distances of the historical objects to be detected, wherein the historical corrected reference distances of the historical objects to be detected are determined according to the historical corrected lap number difference of the historical objects to be detected and the preset lap number distance parameter; The corrected standard distance is determined according to the average of the historical corrected reference distances of the historical objects to be detected.
5. The information binding method according to claim 1, characterized in that: The step of binding the image information and the identification information according to the running distance to obtain an image identification group includes: Acquire a target distance interval, wherein the target distance interval is determined according to historical running distances of at least two historical objects to be detected; If the running distance belongs to the target distance interval, binding the image information and the identification information to obtain an image identification group; If the running distance does not belong to the target distance interval, a binding prompt message is output.
6. The information binding method according to claim 5, characterized in that: Before obtaining the target distance interval, the method further includes: Obtaining historical running distances of at least two historical objects to be detected, wherein the historical running distances of the historical objects to be detected are determined according to the difference in the number of historical running laps of the historical objects to be detected and a preset lap distance parameter; Calculate the average of the historical running distances of the historical objects to be detected as the running standard distance; The target distance interval is determined according to the operating standard distance and a preset distance offset threshold, wherein the distance offset threshold is determined according to the distance between two adjacent objects to be detected.
7. The information binding method according to any one of claims 1 to 6, characterized in that: A fourth photoelectric sensor is provided at the entrance of the first device; The first device is a security inspection device, and the second device is an identification scanning device; Before obtaining the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, the method further includes: The speed encoder is activated when the fourth photoelectric sensor is triggered by the object to be detected.
8. An information binding device, characterized in that: The information binding device comprises: An information acquisition module, used to acquire image information of the object to be detected collected by the first device, and identification information of the object to be detected collected by the second device; A distance acquisition module, used to acquire the running distance of the object to be detected from the completion of the image information acquisition to the completion of the identification information acquisition, wherein the running distance is acquired by a speed encoder; The information binding module is used to bind the image information and the identification information according to the running distance to obtain an image identification group.
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
Belt weigher error decomposition control method and belt weigher system composition
CN105823534A
On-line monitoring method for raw material batching accuracy
CN109489792A
Barcode matching method and device, electronic equipment and barcode matching system
CN112749573A
Bar code reading method and device, equipment and medium
CN113111677A
High-precision positioning method for inspection robot system of belt conveyor
CN114578811A