A control method and device for security inspection machine
By controlling the speed of different areas on the conveyor belt of the security inspection machine, the contradiction between improving sorting efficiency and image quality is solved, and the sorting efficiency and accuracy of security inspection results are improved without increasing costs.
Patent Information
- Application Number
- CN202510748064.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-05
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2045-06-05
AI Technical Summary
There is a contradiction between improving sorting efficiency and image quality in existing security inspection machines, resulting in increased equipment costs or low sorting efficiency and inaccurate security inspection results.
By controlling the conveyor belt of the security inspection machine to operate at different speeds in different areas, ensure that the object to be inspected passes through the imaging area at a preset speed below the transportation equipment, and passes through the non-imaging area at a preset speed higher than the preset speed, and keep the average speed of the object to be inspected passes through the security inspection channel consistent with the transportation equipment.
Without increasing equipment costs, the sorting efficiency and accuracy of security inspection results are improved, and security inspection package diversion errors and linear package tracking abnormalities are avoided.
Smart Images

Figure CN120243452B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of security inspection technology, and in particular to a control method and device for a security inspection machine. Background Art
[0002] In the logistics industry, using security inspection machines to inspect packages is a crucial step in the sorting process. During the sorting process, packages are sequentially transported to the security inspection machine by a logistics line conveyor located before the machine. Driven by the machine's conveyor belt, the packages pass through the machine's imaging area. As the packages pass through the imaging area, a detector captures a transmission image of the packages. The packages are then transported by the conveyor belt to the logistics line conveyor connected to the security inspection machine, where they are then carried to the next stage of the sorting process.
[0003] In order to avoid errors in the diversion of security inspection packages and abnormal tracking of line packages, the conveyor belt of the security inspection machine and the logistics line conveyor are usually controlled to run at the same speed.
[0004] The image quality of the transmission image collected by the detector is related to the running speed of the conveyor belt of the security inspection machine. If you want to obtain a transmission image with higher image quality to obtain a more accurate security inspection result, you need to set the conveyor belt of the security inspection machine and the logistics line conveyor at a lower running speed, then the overall sorting speed is slow and the sorting efficiency is low; if you want to improve the sorting efficiency, you need to set the conveyor belt of the security inspection machine and the logistics line conveyor at a higher running speed, then you need to improve the performance of the security inspection machine's radiation source and detector to obtain a transmission image with higher image quality, resulting in increased equipment costs. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a control method and device for a security inspection machine, so as to improve sorting efficiency and the accuracy of security inspection results without increasing equipment costs. The specific technical solution is as follows:
[0006] In a first aspect, an embodiment of the present application provides a method for controlling a security inspection machine, the method comprising:
[0007] In response to an object to be inspected entering a first area of a security inspection channel of a security inspection machine at a preset speed, controlling a conveyor belt of the security inspection machine to operate at a first speed to drive the object to be inspected through the first area at the first speed, wherein the preset speed is the operating speed of a transport device docked with the security inspection machine; along the operating direction of the conveyor belt, the security inspection channel includes at least the first area, the imaging area, and the second area, and the first speed is greater than the preset speed;
[0008] controlling the conveyor belt to run at a second speed to drive the object to be inspected to pass through the imaging area at the second speed to obtain a transmission image of the object to be inspected, wherein the second speed is less than the preset speed;
[0009] Control the conveyor belt to run at a third speed to drive the objects to be inspected to pass through the second area at the third speed, wherein the third speed is not less than the second speed; the first speed, the second speed and the third speed make the average speed of the objects to be inspected passing through the security inspection channel the preset speed.
[0010] In a second aspect, an embodiment of the present application provides a control device for a security inspection machine, the device comprising:
[0011] a first control module configured to control a conveyor belt of the security inspection machine to operate at a first speed in response to an object to be inspected entering a first area of a security inspection passage of the security inspection machine at a preset speed, so as to drive the object to be inspected through the first area at the first speed, wherein the preset speed is the operating speed of a transport device docked with the security inspection machine; along the operating direction of the conveyor belt, the security inspection passage includes at least the first area, the imaging area, and the second area, and the first speed is greater than the preset speed;
[0012] a second control module, configured to control the conveyor belt to run at a second speed, so as to drive the object to be inspected to pass through the imaging area at the second speed, and obtain a transmission image of the object to be inspected, wherein the second speed is less than the preset speed;
[0013] The third control module is used to control the conveyor belt to run at a third speed to drive the objects to be inspected to pass through the second area at the third speed, wherein the third speed is not less than the second speed; the first speed, the second speed and the third speed make the average speed of the objects to be inspected passing through the security inspection channel the preset speed.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0015] Memory for storing computer programs;
[0016] The processor is configured to implement any of the methods described in the first aspect when executing a program stored in the memory.
[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the methods described in the first aspect is implemented.
[0018] In a fifth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the methods described in the first aspect.
[0019] Beneficial effects of the embodiments of the present application:
[0020] In the technical solution provided in the embodiments of the present application, the electronic device can control the conveyor belt of the security inspection machine to run at a first speed in response to the object to be inspected entering the first area of the security inspection channel of the security inspection machine at a preset speed, so as to drive the object to be inspected to pass through the first area at the first speed, wherein the preset speed is the running speed of the transportation equipment docked with the security inspection machine; along the running direction of the conveyor belt, the security inspection channel includes at least a first area, an imaging area and a second area, and the first speed is greater than the preset speed; the conveyor belt is controlled to run at a second speed to drive the object to be inspected to pass through the imaging area at the second speed to obtain a transmission image of the object to be inspected, wherein the second speed is less than the preset speed; the conveyor belt is controlled to run at a third speed to drive the object to be inspected to pass through the second area at the third speed, wherein the third speed is not less than the second speed; the first speed, the second speed and the third speed make the average speed of the object to be inspected passing through the security inspection channel the preset speed.
[0021] The electronic device controls the running speed of the conveyor belt to drive the objects to be inspected to pass through the imaging area at a speed lower than the preset speed of the transport equipment, and to pass through the front and rear areas of the imaging area at a speed higher than the preset speed, so that the average speed of the objects to be inspected through the security inspection channel is the preset speed of the transport equipment. In this way, the average speed of the objects to be inspected passing through the security inspection machine is consistent with the speed of the transport equipment to which the security inspection machine is connected, which can avoid security package diversion errors and line package tracking anomalies and improve sorting efficiency; the objects to be inspected pass through the imaging area at a low speed, and without increasing the cost of the equipment, the image quality of the transmission image obtained in the high-speed package passing scenario is guaranteed, thereby ensuring the accuracy of the security inspection results. Of course, the implementation of any product or method of the present application does not necessarily require all of the advantages described above to be achieved at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0023] Figure 1 A flow chart of a control method for a security inspection machine provided in an embodiment of the present application;
[0024] Figure 2 A schematic diagram of a logistics security inspection scenario provided in an embodiment of the present application;
[0025] Figure 3 A schematic diagram of the position of the first area, the imaging area, and the second area provided in an embodiment of the present application;
[0026] FIG4 (a) is a schematic diagram of the area division of the security inspection channel provided in an embodiment of the present application;
[0027] FIG4( b ) is another schematic diagram of the area division of the security inspection channel provided in an embodiment of the present application;
[0028] FIG4( c ) is another schematic diagram of the area division of the security inspection channel provided in an embodiment of the present application;
[0029] Figure 5 A flow chart of an example of controlling a security inspection machine provided in an embodiment of the present application;
[0030] FIG6 (a) is a schematic diagram of a scenario of a control example of a security inspection machine provided in an embodiment of the present application;
[0031] FIG6 (b) is a schematic diagram of a scenario in which a parcel enters a security inspection channel according to an embodiment of the present application;
[0032] FIG6( c ) is a schematic diagram of a scenario in which a package enters an imaging area according to an embodiment of the present application;
[0033] FIG6( d ) is a schematic diagram of a scene in which a package passes through an imaging area according to an embodiment of the present application;
[0034] FIG6 (e) is a schematic diagram of a scenario in which a parcel arrives at the exit of a security inspection machine according to an embodiment of the present application;
[0035] Figure 7 A schematic structural diagram of a control device for a security inspection machine provided in an embodiment of the present application;
[0036] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field based on this application are within the scope of protection of this application.
[0038] To facilitate understanding, the following first explains the professional terms involved in the embodiments of this application:
[0039] Security inspection machine: A device used for X-ray inspection of packages, mainly used for X-ray imaging of packages, including an X-ray source and detector.
[0040] X-ray source: a device that produces X-rays;
[0041] Detector: A single plate that receives X-rays. Each detector plate can have 64 sampling pixels.
[0042] Photoelectric sensor: located at the entrance of the security inspection machine, used to detect packages at the entrance of the security inspection machine, so that the electronic equipment can determine whether the package has arrived at the entrance of the security inspection machine based on the sensor signal;
[0043] Optical slit: The area in the security inspection machine where X-rays penetrate;
[0044] Terminal: The core processing system of the security inspection machine, used to receive signals from the photoelectric sensor, control the speed of the security inspection machine's conveyor belt, and realize the open source imaging and output functions of the security inspection machine.
[0045] In order to maintain high sorting efficiency and security inspection result accuracy without increasing equipment costs, the embodiments of the present application provide a control method, device, electronic device, computer-readable storage medium and computer program product for a security inspection machine. The following first introduces a control method for a security inspection machine provided in an embodiment of the present application.
[0046] The security inspection machine control method provided in the embodiments of this application can be applied to any electronic device capable of controlling a security inspection machine. For example, the terminal of the security inspection machine itself, the backend server used to control the security inspection machine, etc., are not specifically limited here. For the sake of clarity, it will be referred to as an electronic device in the following.
[0047] like Figure 1 As shown, a control method for a security inspection machine includes:
[0048] S101: In response to an object to be inspected entering a first area of a security inspection channel of a security inspection machine at a preset speed, controlling a conveyor belt of the security inspection machine to run at a first speed to drive the object to be inspected to pass through the first area at the first speed.
[0049] Among them, the preset speed is the running speed of the transportation equipment docked with the security inspection machine; along the running direction of the conveyor belt, the security inspection channel includes at least the first area, the imaging area and the second area, and the first speed is greater than the preset speed.
[0050] S102: Control the conveyor belt to run at a second speed, so as to drive the object to be inspected to pass through the imaging area at the second speed, and obtain a transmission image of the object to be inspected.
[0051] Wherein, the second speed is lower than the preset speed.
[0052] S103: Control the conveyor belt to run at a third speed, so as to drive the object to be inspected to pass through the second area at the third speed.
[0053] The third speed is not less than the second speed; the first speed, the second speed and the third speed make the average speed of the object to be inspected passing through the security inspection channel the preset speed.
[0054] In the technical solution provided in the embodiments of the present application, the electronic device can control the conveyor belt of the security inspection machine to run at a first speed in response to the object to be inspected entering the first area of the security inspection channel of the security inspection machine at a preset speed, so as to drive the object to be inspected to pass through the first area at the first speed, wherein the preset speed is the running speed of the transportation equipment docked with the security inspection machine; along the running direction of the conveyor belt, the security inspection channel includes at least a first area, an imaging area and a second area, and the first speed is greater than the preset speed; the conveyor belt is controlled to run at a second speed to drive the object to be inspected to pass through the imaging area at the second speed to obtain a transmission image of the object to be inspected, wherein the second speed is less than the preset speed; the conveyor belt is controlled to run at a third speed to drive the object to be inspected to pass through the second area at the third speed, wherein the third speed is not less than the second speed; the first speed, the second speed and the third speed make the average speed of the object to be inspected passing through the security inspection channel the preset speed.
[0055] The electronic device controls the running speed of the conveyor belt to drive the objects to be inspected to pass through the imaging area at a speed lower than the preset speed of the transport equipment, and through the front and rear areas of the imaging area at a speed higher than the preset speed, so that the average speed of the objects to be inspected through the security inspection channel is the preset speed of the transport equipment. In this way, the average speed of the objects to be inspected through the security inspection machine is consistent with the speed of the transport equipment to which the security inspection machine is connected, which can avoid security inspection package diversion errors and line package tracking anomalies, and improve sorting efficiency; and the objects to be inspected pass through the imaging area at a low speed, without increasing the equipment cost, ensuring the image quality of the transmission image obtained in the high-speed package passing scenario, thereby ensuring the accuracy of the security inspection results.
[0056] During the parcel sorting process, parcels are transported by transport equipment to various sorting links. Figure 2 As shown, the front-end transport device 210, which is connected to the security inspection machine 220, runs at a preset speed to transport the package to the security inspection machine entrance at the preset speed. The package is then transported by the conveyor belt of the security inspection machine 220 through the security inspection channel of the security inspection machine 220, reaches the security inspection machine exit, and enters the back-end transport device 230 connected to the security inspection machine 220.
[0057] Among them, the X-ray source continuously emits X-rays. When the object to be inspected passes through the imaging area in the security inspection channel, the detector can receive the X-rays that penetrate the object to be inspected and obtain detection information of the object to be inspected. The electronic equipment can generate a transmission image of the object to be inspected based on the detection information of the object to be inspected detected by the detector and determine the security inspection result of the object to be inspected.
[0058] The security inspection channel of the security inspection machine is the entire area that the objects to be inspected need to pass through when driven by the conveyor belt. The length of the security inspection channel is the length of the security inspection machine in the running direction of the conveyor belt; the entrance of the security inspection machine is the starting end of the security inspection channel in the running direction of the conveyor belt, and the exit of the security inspection machine is the end of the security inspection channel in the running direction of the conveyor belt.
[0059] To avoid security parcel diversion errors and abnormal tracking of line parcels, the security inspection machine's conveyor belt and the transport equipment's conveyor belt are usually controlled to run at the same speed. To improve sorting efficiency, it is necessary to control the security inspection machine's conveyor belt and the transport equipment's conveyor belt to run at a higher speed. However, the quality of the resulting transmission image of the inspected object depends on the speed at which the inspected object passes through the imaging area driven by the security inspection machine's conveyor belt. Passing the imaging area at a higher speed will result in lower image quality of the inspected object's transmission image, which in turn affects the accuracy of the security inspection results. To ensure the accuracy of the security inspection results, the performance of the security inspection equipment needs to be improved to adapt to the speed at which the inspected object passes through the imaging area, which increases the cost of the security inspection equipment.
[0060] In order to take into account the sorting efficiency and the accuracy of the security inspection results without increasing the cost of the security inspection equipment, the speed at which the objects to be inspected pass through different areas of the security inspection channel of the security inspection machine can be regulated according to the operating speed of the transport equipment, so that the objects to be inspected can pass through the imaging area at a low speed and the non-imaging area at a high speed, and the equivalent speed of the objects to be inspected through the security inspection channel is consistent with the operating speed of the transport equipment.
[0061] To control the speed of objects passing through different areas of the security inspection channel, the security inspection channel can be divided into at least a first area, an imaging area, and a second area along the direction of the conveyor belt. The imaging area is adjacent to the first and second areas respectively; the imaging area is the area corresponding to the radiation source and detector for capturing transmission images of the objects under inspection; the first area is the area before the imaging area, and the second area is the area after the imaging area.
[0062] Wherein, along the running direction of the conveyor belt, the lengths of the first area, the imaging area and the second area can be divided according to actual needs.
[0063] In one implementation, along the running direction of the conveyor belt, the security inspection channel includes a first area, an imaging area, and a second area. Figure 2As shown, the radiation shielding area 240 of the security inspection machine is used as the imaging area, the area between the entrance of the security inspection machine and the starting end of the imaging area in the running direction is used as the first area; and the area between the end of the imaging area in the running direction and the exit of the security inspection machine is used as the second area.
[0064] In one implementation, along the running direction of the conveyor belt, the security inspection channel includes a third area located before the first area, the first area, an imaging area, and a second area.
[0065] In one implementation, along the running direction of the conveyor belt, the security inspection channel includes a first area, an imaging area, a second area, and a fourth area located after the second area.
[0066] In one implementation, along the running direction of the conveyor belt, the security inspection channel includes a third area located before the first area, the first area, an imaging area, a second area, and a fourth area located after the second area.
[0067] It should be noted that the above implementation method is merely an example of the area division method of the security inspection channel provided in the embodiment of the present application and is not a limitation. The solutions of dividing the security inspection channel into areas and controlling the speed of the conveyor belt according to the area where the objects to be inspected are located so that the average speed of the objects to be inspected passing through the security inspection channel is the operating speed of the transportation equipment connected to the security inspection machine are all within the scope of protection of the present application.
[0068] Since the security inspection channel includes at least a first area, an imaging area and a second area, the speed of the objects to be inspected passing through the first area, the imaging area and the second area can be controlled by adjusting the speed of the conveyor belt, so that the average speed of the objects to be inspected passing through the first area, the imaging area and the second area is the preset speed of the transportation equipment.
[0069] The objects to be inspected can enter the first area of the security inspection channel of the security inspection machine at a preset speed, wherein, along the running direction of the conveyor belt, if the security inspection channel does not include other areas before the first area, then the objects to be inspected will enter the first area of the security inspection channel at a preset speed under the drive of the conveyor belt of the front-end transport equipment connected to the security inspection machine; if the security inspection channel also includes other areas before the first area, the conveyor belt will be controlled to run at a preset speed, driving the objects to be inspected through the other areas before the first area and driving the objects to be inspected into the first area of the security inspection channel at a preset speed.
[0070] If the object to be inspected can enter the first area of the security inspection channel of the security inspection machine at a preset speed, the electronic device may execute the above step S101 and, in response to the object to be inspected entering the first area of the security inspection channel of the security inspection machine at the preset speed, control the conveyor belt of the security inspection machine to operate at a first speed, so as to drive the object to be inspected through the first area at the first speed. The first speed is greater than the preset speed.
[0071] When the object to be inspected enters the first area of the security inspection channel of the security inspection machine at a preset speed, the electronic device can control the conveyor belt to run at a first speed greater than the preset speed, driving the object to be inspected through the first area at the first speed, thereby achieving the control effect of the object to be inspected passing through the non-imaging area before the imaging area at a first speed higher than the preset speed.
[0072] After the object to be inspected passes through the first area at the first speed, the electronic device may execute the above step S102 to control the conveyor belt to run at a second speed to drive the object to be inspected through the imaging area at the second speed to obtain a transmission image of the object to be inspected, wherein the second speed is less than the preset speed.
[0073] By controlling the running speed of the conveyor belt, the object to be inspected can be driven by the conveyor belt to pass through the imaging area at a second speed that is less than the preset speed. In addition, when the object to be inspected passes through the imaging area, the detector can detect the object to be inspected, obtain detection information of the object to be inspected, and send the obtained detection information to the electronic device.
[0074] The electronic device can receive the detection information sent by the detector, generate a transmission image of the object to be inspected, and obtain the security inspection result of the object to be inspected based on the transmission image.
[0075] Since the image quality of the transmission image of the object to be inspected is related to the speed at which the object to be inspected passes through the imaging area, compared to when the object to be inspected passes through the imaging area at a preset speed, the image quality of the transmission image of the object to be inspected generated when the object to be inspected passes through the imaging area at a second speed that is less than the preset speed is higher, and thus the accuracy of the security inspection result obtained based on the transmission image is also higher.
[0076] After the object to be inspected passes through the imaging area at the second speed, the electronic device may execute the above step S103 to control the conveyor belt to run at a third speed to drive the object to be inspected to pass through the second area at the third speed, wherein the third speed is not less than the second speed.
[0077] The electronic device controls the conveyor belt to run at a third speed not less than the second speed, driving the object to be inspected to pass through the second area at the third speed, thereby achieving a control effect of the object to be inspected passing through the non-imaging area after the imaging area at the third speed not less than the second speed.
[0078] In one implementation, the third speed is greater than the preset speed. The electronic device controls the conveyor belt to operate at the third speed greater than the preset speed to drive the object to be inspected through the second area at the third speed, thereby achieving a control effect of the object to be inspected passing through the non-imaging area after the imaging area at the third speed greater than the preset speed.
[0079] In one implementation, the third speed is equal to the first speed. The electronic device can control the conveyor belt to operate at a first speed greater than a preset speed, so as to drive the object to be inspected to pass through the second area behind the imaging area at the first speed. This can achieve a control effect in which the object to be inspected passes through the imaging area at the second speed less than the preset speed and passes through the non-imaging areas before and after the imaging area at the first speed greater than the preset speed.
[0080] Furthermore, the first speed, the second speed and the third speed are such that the average speed of the object to be detected passing through the first area, the imaging area and the second area is a preset speed.
[0081] In this way, the electronic device controls the running speed of the conveyor belt so that the object to be inspected passes through the first area at a first speed, passes through the imaging area at a second speed, and passes through the second area at a third speed under the drive of the conveyor belt, thereby achieving the control effect that the object to be inspected passes through the imaging area at high speed and the non-imaging area at low speed, and the average speed through the first area, the imaging area, and the second area is the preset speed.
[0082] In one implementation, the security inspection channel may also include an area located after the second area. After the object to be inspected passes through the second area, the electronic device can control the conveyor belt to run at a preset speed so that the object to be inspected passes through the area after the second area at the preset speed, thereby achieving a control effect that the equivalent speed of the object to be inspected passing through the security inspection channel is the preset speed.
[0083] In this embodiment, the electronic device controls the running speed of the conveyor belt to drive the objects to be inspected to pass through the imaging area at a second speed lower than the preset speed of the transportation equipment, and pass through the front and rear areas of the imaging area at a speed higher than the preset speed, so that the average speed of the objects to be inspected through the security inspection channel is the preset speed of the transportation equipment. In this way, the average speed of the objects to be inspected through the security inspection machine is consistent with the speed of the transportation equipment of the logistics line to which the security inspection machine is connected, which can avoid security inspection package diversion errors and line package tracking anomalies and improve sorting efficiency; the objects to be inspected pass through the imaging area at a low speed, which ensures the image quality of the transmission image in the high-speed package passing scenario without increasing the equipment cost, thereby ensuring the accuracy of the security inspection results.
[0084] As an implementation of an embodiment of the present application, before the above step S101, i.e., the step of controlling the conveyor belt of the security inspection machine to run at a first speed in response to the object to be inspected entering the first area of the security inspection channel of the security inspection machine at a preset speed, the control method of the security inspection machine provided by the present application may further include:
[0085] Based on the length of the first area, the length of the imaging area and the length of the second area of the security inspection channel, and the relationship between the speed at which the object to be inspected passes through the first area, the imaging area and the second area respectively and the preset speed, the running speed of the conveyor belts corresponding to the first area, the imaging area and the second area respectively is calculated.
[0086] In order to achieve the control effect that the object to be detected passes through the imaging area at high speed, passes through the non-imaging area at low speed, and the average speed through the first area, the imaging area and the second area is the preset speed, the relationship between the speed of the object to be detected passing through the first area, the imaging area and the second area and the preset speed can be pre-set, that is, the first speed of the object to be detected passing through the first area is greater than the preset speed, the second speed of the object to be detected passing through the imaging area is less than the preset speed, and the third speed of the object to be detected passing through the second area is not less than the second speed.
[0087] Since the average speed of the object to be inspected passing through the first area, the imaging area and the second area is a preset speed, the electronic device can calculate the running speed of the conveyor belts corresponding to the first area, the imaging area and the second area respectively based on the length of the first area, the length of the imaging area and the length of the second area of the security inspection channel, and the relationship between the speed of the object to be inspected passing through the first area, the imaging area and the second area respectively and the preset speed.
[0088] In this embodiment, the electronic device can calculate the operating speed of the conveyor belts corresponding to the first, imaging, and second areas, respectively, based on the length of the first area, the length of the imaging area, and the length of the second area of the security inspection channel, as well as the relationship between the speed of the object to be inspected passing through the first, imaging, and second areas, respectively, and the preset speed. In this way, the electronic device can control the conveyor belts to operate at the speed corresponding to each area based on the location of the object to be inspected.
[0089] As an implementation manner of an embodiment of the present application, the step of calculating the running speed of the conveyor belts corresponding to the first area, the imaging area, and the second area, respectively, based on the length of the first area of the security inspection channel, the length of the imaging area, and the length of the second area, and the relationship between the speed of the object to be inspected passing through the first area, the imaging area, and the second area, respectively, and the preset speed, may include:
[0090] The total time it takes for the object to be inspected to pass through the first area, the imaging area, and the second area is equal to the ratio of the target length of the security inspection channel to the preset speed, where the target length is the sum of the lengths of the first area, the imaging area, and the second area;
[0091] The relationship between the speed of the object to be detected passing through the first area, the imaging area, and the second area and the preset speed is used as a speed constraint condition;
[0092] Based on the length of the first area, the length of the imaging area and the length of the second area, the running speeds of the conveyor belts corresponding to the first area, the imaging area and the second area respectively that meet the time constraint and the speed constraint are determined.
[0093] In order to avoid errors in the diversion of security inspection packages and abnormal tracking of line packages, the conveyor belt of the security inspection machine and the transmission equipment connected to the security inspection machine, such as the logistics line conveyor, are usually controlled to run at the same speed, so that the speed of the objects to be inspected passing through the security inspection machine and the transmission equipment is consistent.
[0094] When the transport equipment runs at a preset speed, the average speed of the objects to be inspected passing through the security inspection channel of the security inspection machine is the preset speed of the transport equipment docked with the security inspection machine, and the average speed of the objects to be inspected passing through the first area, the imaging area and the second area is also the preset speed.
[0095] Based on this, the electronic device can determine the sum of the length of the first area of the security inspection channel, the length of the imaging area, and the length of the second area as the target length of the security inspection channel, and calculate the ratio of the target length to the preset speed.
[0096] Since the average speed of the object to be inspected passing through the first area, the imaging area and the second area is the preset speed, the total time length of the object to be inspected passing through the first area, the imaging area and the second area is equal to the ratio of the target length to the preset speed. Therefore, the total time length of the object to be inspected passing through the first area, the imaging area and the second area can be equal to the ratio of the target length to the preset speed, which is used as the time constraint condition that needs to be met for calculating the running speed of the conveyor belt corresponding to the first area, the imaging area and the second area respectively.
[0097] That is to say, in order to achieve the control effect that the average speed of the object to be inspected passing through the first area, the imaging area and the second area is the preset speed, the sum of the time the conveyor belt runs at the first speed of the conveyor belt corresponding to the first area, the time the conveyor belt runs at the second speed of the conveyor belt corresponding to the imaging area, and the time the conveyor belt runs at the third speed of the conveyor belt corresponding to the second area is equal to the ratio of the target length to the preset speed.
[0098] Furthermore, to achieve the control effect of allowing the object to pass through the imaging area at high speed and the non-imaging area at low speed, the first speed of the object passing through the first area should be greater than the preset speed, the second speed of the object passing through the imaging area should be less than the preset speed, and the third speed of the object passing through the second area should be no less than the second speed. The relationship between the speed of the object passing through the first area, the imaging area, and the second area and the preset speed can be used as the speed constraint condition required to calculate the operating speed of the conveyor belt corresponding to the first area, the imaging area, and the second area, respectively.
[0099] That is to say, in the process of controlling the running speed of the conveyor belt using the control method of the security inspection machine provided in this application, the first speed of the conveyor belt corresponding to the first area is greater than the preset speed, the second speed of the conveyor belt corresponding to the imaging area is less than the preset speed, and the third speed of the conveyor belt corresponding to the second area is not less than the second speed.
[0100] Since the time it takes for the object to be inspected to pass through each area can be expressed by the length of the area and the running speed of the conveyor belt corresponding to the area, the electronic device can determine the first speed of the conveyor belt corresponding to the first area, the second speed of the conveyor belt corresponding to the imaging area, and the third speed of the conveyor belt corresponding to the second area that meet the above-mentioned time constraint and speed constraint conditions based on the length of the first area, the length of the imaging area, and the length of the second area.
[0101] In this way, the electronic device can determine the running speed of the conveyor belt corresponding to each area respectively. When the objects to be inspected arrive at each area of the security inspection channel, the security inspection machine can control the running speed of the conveyor belt according to the running speed of the conveyor belt corresponding to the area, thereby achieving the control effect that the objects to be inspected pass through the imaging area at high speed and the non-imaging area at low speed, and the average speed through the first area, the imaging area and the second area is the preset speed.
[0102] As an implementation method, for each of the first, imaging, and second regions, the length of the region can be calculated based on the product of the speed of the conveyor belt corresponding to the region and the time it takes for the object to pass through the region. Based on the time constraint and the speed constraint, the length formulas for each region are jointly solved to obtain the first speed of the conveyor belt corresponding to the first region, the second speed of the conveyor belt corresponding to the imaging region, and the third speed of the conveyor belt corresponding to the second region.
[0103] Among them, through joint solution, the electronic device can solve multiple groups of results, the electronic device can display each group of results, and the user selects one group of results as the first speed of the conveyor belt corresponding to the first area, the second speed of the conveyor belt corresponding to the imaging area, and the third speed of the conveyor belt corresponding to the second area; or, the electronic device can determine the relationship between the image quality of the transmission image and the speed of the object to be inspected passing through the imaging area based on the performance of the security inspection machine's radiation source and the performance of the detector, and use the group of solutions with the highest image quality of the transmission image corresponding to each group of results as the first speed of the conveyor belt corresponding to the first area, the second speed of the conveyor belt corresponding to the imaging area, and the third speed of the conveyor belt corresponding to the second area.
[0104] For example, when the security inspection channel includes a first area, an imaging area and a second area, the target length of the security inspection channel is L, the length of the first area is l1, the length of the imaging area is l2, and the length of the second area is l3. The target length can be expressed as: l1+ l2+ l3=L.
[0105] The preset speed is a, and the total time it takes for the object to pass through the first area, the imaging area, and the second area can be expressed as: t total =L / a;
[0106] The first area corresponds to the first speed b, the imaging area corresponds to the second speed c, and the second area corresponds to the third speed d. The speed constraint condition can be expressed as: <a<b,d≥c;
[0107] The time it takes for the object to pass through the first area is the first time t1, the time it takes for the object to pass through the imaging area is the second time t2, and the time it takes for the object to pass through the second area is the third time t3. The time constraint can be expressed as: total = t1+ t2+t3.
[0108] The length of the first region can be expressed as: l1 = b × t1; the length of the imaging region can be expressed as: l2 = c × t2; and the length of the second region can be expressed as: l3 = d × t3. b × t1 + c × t2 + d × t3 = L, l1 / b + l2 / c + l3 / d = L / a.
[0109] Solve the equations together and get b, c, and d.
[0110] In this embodiment, the electronic device can use the total time of the object to be inspected passing through the first area, the imaging area, and the second area as a time constraint, which is equal to the ratio of the target length of the security inspection channel to the preset speed; use the speed of the object to be inspected passing through the first area, the imaging area, and the second area respectively and the preset speed as a speed constraint; and based on the length of the first area, the length of the imaging area, and the length of the second area, determine the running speed of the conveyor belts corresponding to the first area, the imaging area, and the second area respectively, which meet the time constraint and the speed constraint. In this way, the calculated running speeds of the conveyor belts corresponding to the first area, the imaging area, and the second area respectively meet the time constraint and the speed constraint. The electronic device adjusts the running speed of the conveyor belt according to the running speeds of the conveyor belts corresponding to the first area, the imaging area, and the second area respectively, and adapts to the position of the object to be inspected to achieve a control effect in which the average speed of the object to be inspected passing through the first area, the imaging area, and the second area is the preset speed.
[0111] As an implementation manner of an embodiment of the present application, the step of determining the running speeds of the conveyor belts corresponding to the first area, the imaging area, and the second area, respectively, that satisfy the duration constraint and the speed constraint based on the length of the first area, the length of the imaging area, and the length of the second area, includes:
[0112] Determining, based on the speed constraint, a running speed of a conveyor belt corresponding to a candidate area, wherein the candidate area is any two areas among the first area, the imaging area, and the second area;
[0113] Determining the time it takes for the object to pass through other areas according to the time constraint, the length of each candidate area, and the running speed of the conveyor belt corresponding to each candidate area, wherein the other areas are the first area, the imaging area, and the second area excluding the candidate area;
[0114] The ratio of the length of the other area to the time length of the object to be inspected passing through the other area is calculated as the running speed of the conveyor belt corresponding to the other area.
[0115] Based on the aforementioned speed constraint, the electronic device may select any two areas among the first area, the imaging area, and the second area as candidate areas and determine the running speed of the conveyor belt corresponding to the candidate areas. For example, the candidate areas may be the first area and the imaging area, the first area and the second area, or the second area and the imaging area.
[0116] In one implementation, for each candidate area, the electronic device can randomly determine a speed within the conveyor belt speed range corresponding to the candidate area as the running speed of the conveyor belt corresponding to the candidate area. For example, the electronic device can use the maximum speed within the conveyor belt speed range corresponding to the candidate area as the running speed of the conveyor belt corresponding to the candidate area, or the electronic device can use the average speed within the conveyor belt speed range corresponding to the candidate area as the running speed of the conveyor belt corresponding to the candidate area, etc.
[0117] In one implementation, the electronic device may display conveyor belt speed ranges corresponding to the first area, the imaging area, and the second area, allowing the user to input conveyor belt operating speeds corresponding to any two areas based on the displayed conveyor belt speed ranges corresponding to the areas. Upon detecting a user speed input operation for any two areas, the electronic device identifies the area indicated by the user as a candidate area and uses the speed input by the user as the conveyor belt operating speed corresponding to the candidate area.
[0118] According to the time constraint, the ratio of the length of each candidate area to the running speed of the conveyor belt corresponding to the candidate area is calculated to obtain the time length for the object to be inspected to pass through the candidate area.
[0119] The total time it takes for the object to pass through the first, imaging, and second regions is calculated, and the difference between the total time it takes for the object to pass through the two candidate regions is used to determine the time it takes for the object to pass through the first, imaging, and second regions except the candidate regions.
[0120] By calculating the ratio of the length of other areas to the time it takes for the object to be inspected to pass through other areas, the running speed of the conveyor belt corresponding to other areas can be obtained.
[0121] Exemplarily, the candidate areas are the first area and the second area, and the electronic device can determine the first speed corresponding to the first area within the first speed range, wherein each speed within the first speed range is greater than the preset speed. For example, the preset speed is 3m / s, the first speed range can be [3.2, 4.5], and the electronic device can determine that the first speed is 4m / s within the first speed range.
[0122] A second speed corresponding to the imaging area is determined within a second speed range, wherein each speed within the second speed range is less than a preset speed. For example, the preset speed is 3 m / s. Based on the performance of the radiation source and the detector of the security inspection machine, the electronic device determines the second speed range to be [2, 2.6]. The electronic device may determine the second speed within the second speed range to be 2 m / s.
[0123] The electronic device can calculate the ratio of the length of the first area to the first speed to obtain a first time length of the object to be detected passing through the first area, and calculate the ratio of the length of the imaging area to the second speed to obtain a second time length of the object to be detected passing through the imaging area.
[0124] Then, the electronic device can calculate the difference between the total time it takes for the object to be inspected to pass through the first area, the imaging area, and the second area and the first time and the second time to obtain a third time for the object to be inspected to pass through the second area, and calculate the ratio of the length of the second area to the third time to obtain the third speed of the conveyor belt corresponding to the second area.
[0125] In this embodiment, the electronic device determines the running speed of the conveyor belt corresponding to any two candidate areas among the first area, the imaging area, and the second area, and uses the length of each candidate area, the running speed of the conveyor belt corresponding to each candidate area, and the time constraint to calculate the time it takes for the object to be inspected to pass through the first area, the imaging area, and the other areas of the second area except the candidate area, and then calculates the running speed of the conveyor belt corresponding to the other areas. Using this method to determine the running speed of the conveyor belt corresponding to each of the first area, the imaging area, and the second area, the electronic device only needs to perform a small amount of calculation, which can save the electronic device's computing resources.
[0126] As an implementation manner of an embodiment of the present application, the target area includes at least one of the first area, the imaging area, and the second area, and the method of controlling the conveyor belt to drive the object to be inspected to pass through the target area may include:
[0127] For each target area, the running time of the conveyor belt corresponding to the target area is determined based on the length of the target area and the running speed corresponding to the target area; the conveyor belt is controlled to run at the running speed corresponding to the target area, and the running time of the conveyor belt is recorded. When the recorded time reaches the running time corresponding to the target area, it is determined that the object to be inspected has passed the target area.
[0128] At least one of the first area, the imaging area, and the second area can be used as the target area. For example, the first area, the imaging area, or the second area can be used as the target area, or the first area and the imaging area can be used as the target area, or the first area, the imaging area, and the second area can be used as the target area, etc.
[0129] For each target area, the electronic device can use the length of the target area and the running speed corresponding to the target area to calculate the time it takes for the conveyor belt to run at the running speed corresponding to the target area, driving the object to be inspected through the target area, and obtain the running time of the conveyor belt corresponding to the target area.
[0130] For each target area, the electronic device can control the conveyor belt to run at the running speed corresponding to the target area and record the running time of the conveyor belt. When the recorded running time reaches the running time corresponding to the target area, it is determined that the object to be inspected has passed the target area.
[0131] For example, the target area includes a first area and an imaging area. The electronic device can first calculate the running time of the conveyor belts corresponding to the first area and the imaging area respectively. Then, the conveyor belt is controlled to run at the first speed of the conveyor belt corresponding to the first area, and the time the conveyor belt runs at the first speed is recorded. When the time the conveyor belt runs at the first speed reaches the first time, it is determined that the object to be inspected has entered the imaging area, and the conveyor belt is controlled to run at the second speed of the conveyor belt corresponding to the imaging area, and the time the conveyor belt runs at the second speed is recorded. When the time the conveyor belt runs at the second speed reaches the second time, it is determined that the object to be inspected has passed the imaging area, and then the conveyor belt is controlled to run at the third speed of the conveyor belt corresponding to the second area.
[0132] For another example, the target area includes a first area, an imaging area, and a second area. The electronic device can calculate the ratio of the length of the first area to a first speed of the conveyor belt corresponding to the first area to obtain a first duration of the conveyor belt corresponding to the first area; calculate the ratio of the length of the imaging area to a second speed of the conveyor belt corresponding to the imaging area to obtain a second duration of the conveyor belt corresponding to the imaging area; and calculate the ratio of the length of the second area to a third speed of the conveyor belt corresponding to the second area to obtain a third duration of the conveyor belt corresponding to the second area.
[0133] The electronic device can control the conveyor belt to run at a first speed corresponding to the first area and record the running time of the conveyor belt. When the recorded time reaches the first time corresponding to the first area, it is determined that the object to be inspected has passed the first area.
[0134] The electronic device can then control the conveyor belt to run at a second speed corresponding to the imaging area and record the duration of the conveyor belt running. When the recorded duration indicates that the duration of the conveyor belt running at the second speed reaches the second duration, it can be determined that the object to be inspected has passed through the imaging area.
[0135] The electronic device can then control the conveyor belt to run at a third speed corresponding to the second area and record the duration of the conveyor belt operation. When the recorded duration indicates that the duration of the conveyor belt running at the third speed reaches the third duration, it can be determined that the object to be inspected has passed through the second area.
[0136] In this embodiment, by using at least one of the first area, the imaging area, and the second area as a target area, the electronic device can determine the running time of the conveyor belt corresponding to each target area based on the length of the target area and the corresponding running speed of the target area; control the conveyor belt to run at the running speed corresponding to the target area and record the running time of the conveyor belt. When the recorded time reaches the running time corresponding to the target area, it is determined that the object to be inspected has passed the target area. In this way, the electronic device can determine the position of the object to be inspected by timing and adjust the running speed of the conveyor belt adaptively according to the location of the area where the object to be inspected is located, which can improve the control efficiency of the security inspection machine.
[0137] As an implementation manner of an embodiment of the present application, the target area includes at least one of the first area, the imaging area, and the second area, and the method of controlling the conveyor belt to drive the object to be inspected to pass through the target area may include:
[0138] For each target area, upon receiving the first trigger signal sent by the target sensor, the conveyor belt is controlled to run at a pre-set running speed corresponding to the target area to drive the object to be inspected through the target area, wherein the target sensor is arranged at the starting end of the target area in the running direction.
[0139] At least one of the first area, the imaging area, and the second area is used as a target area. In order to promptly understand the regional position of the object to be inspected in the security inspection channel, a target sensor can be set at the starting end of each target area in the running direction. The target sensor can be various types of sensors, such as photoelectric sensors, pressure sensors, and other sensors with the same or similar functions, which are not specifically limited here.
[0140] For each target area, when the object to be detected enters the target area, the target sensor arranged at the starting end of the target area is triggered and sends a first trigger signal to the electronic device.
[0141] When the electronic device detects the first trigger signal, it determines the target area corresponding to the target sensor that sends the first trigger signal, and controls the conveyor belt to run at the running speed corresponding to the target area to drive the object to be inspected to pass through the target area.
[0142] For example, the target area includes a first area, an imaging area, and a second area. When the electronic device detects a first trigger signal sent by a target sensor disposed at a starting end of the first area, it determines that the object to be inspected has entered the first area, and controls the conveyor belt to operate at a first speed corresponding to the first area to drive the object to be inspected through the first area.
[0143] When the electronic device detects a first trigger signal sent by a target sensor located at the starting end of the imaging area, it determines that the object to be inspected has passed through the first area and entered the imaging area, and controls the conveyor belt to run at the second speed of the conveyor belt corresponding to the imaging area to drive the object to be inspected through the imaging area.
[0144] When the electronic device detects a first trigger signal sent by a target sensor located at the starting end of the second area, it determines that the object to be inspected passes through the imaging area and enters the second area, and controls the conveyor belt to run at a third speed corresponding to the second area to drive the object to be inspected through the second area.
[0145] In this embodiment, the target area includes at least one of a first area, an imaging area, and a second area, and a target sensor is provided at the starting end of each target area in the running direction. For each target area, the electronic device can control the conveyor belt to run at the running speed of the target area upon receiving a first trigger signal sent by the target sensor, so as to drive the object to be inspected through the target area. In this way, by providing a target sensor at the starting end of each target area in the running direction, the electronic device can determine the regional position of the object to be inspected based on the received first trigger signal, and adjust the running speed of the conveyor belt adaptively according to the regional position of the object to be inspected, thereby improving the control efficiency of the security inspection machine.
[0146] As an implementation manner of an embodiment of the present application, the target area includes at least one of the first area, the imaging area, and the second area. The method of controlling the conveyor belt to drive the object to be inspected to pass through the target area may include:
[0147] For each target area, based on the length of the target area and the running speed corresponding to the target area, determine the running time of the conveyor belt corresponding to the target area; control the conveyor belt to run at the running speed corresponding to the target area, and record the running time of the conveyor belt. When the recorded time reaches the running time corresponding to the target area, determine that the object to be inspected has passed the target area;
[0148] For each target area, upon receiving the first trigger signal sent by the target sensor, the conveyor belt is controlled to run at a pre-set running speed corresponding to the target area to drive the object to be inspected through the target area, wherein the target sensor is arranged at the starting end of the target area in the running direction.
[0149] The target area includes at least one of a first area, an imaging area, and a second area. The electronic device can use the length of each target area and the operating speed corresponding to the target area to calculate the time it takes for the conveyor belt to run at the operating speed corresponding to the target area, driving the object to be inspected through the target area, and obtain the operating time of the conveyor belt corresponding to the target area.
[0150] Furthermore, in order to timely understand the regional position of the object to be inspected in the security inspection channel, a target sensor may be provided at the starting end of each target area in the running direction.
[0151] For each target area, when the object to be inspected enters the target area, the target sensor located at the starting end of the target area is triggered and sends a first trigger signal to the electronic device. Upon detecting the first trigger signal, the electronic device determines the target area corresponding to the target sensor that sent the first trigger signal, controls the conveyor belt to operate at the speed corresponding to the target area, and records the duration of the conveyor belt operating at the speed corresponding to the target area. When the recorded duration reaches the operating duration corresponding to the target area, the electronic device determines that the object to be inspected has passed through the target area.
[0152] In this way, the electronic device can determine that the object to be inspected has entered the target area based on the first trigger signal received from the target sensor, and can determine that the object to be inspected has passed through the target area by timing. By combining the timing with the first trigger signal received from the target sensor, the electronic device can determine the location of the area where the object to be inspected has arrived and adjust the running speed of the conveyor belt according to the location of the area where the object to be inspected has arrived.
[0153] For example, the target area includes an imaging area, and the conveyor belts corresponding to the first area and the second area have the same running speed. The electronic device can calculate the second duration of the conveyor belt corresponding to the imaging area and set a target sensor at the starting end of the imaging area in the conveying direction. The electronic device controls the conveyor belt to run at the first speed of the conveyor belt corresponding to the first area, and when a first trigger signal sent by the target sensor is detected, it is determined that the object to be inspected enters the imaging area, and the conveyor belt is controlled to run at the second speed of the conveyor belt corresponding to the imaging area, and the duration of the conveyor belt running at the second speed is recorded. When the duration of the conveyor belt running at the second speed reaches the second duration, it is determined that the object to be inspected has passed through the imaging area, and the conveyor belt is controlled to run at the third speed of the conveyor belt corresponding to the second area.
[0154] For another example, the target area includes a first area and an imaging area. When the electronic device detects a first trigger signal sent by a target sensor set at the starting end of the first area, it determines that the object to be inspected has entered the first area, controls the conveyor belt to run at the first speed of the conveyor belt corresponding to the first area, and records the duration of the conveyor belt running at the first speed. When the duration of the conveyor belt running at the first speed reaches the first duration and the target sensor set at the starting end of the imaging area sends a first trigger signal, it determines that the object to be inspected has entered the imaging area, controls the conveyor belt to run at the second speed of the conveyor belt corresponding to the imaging area, and records the duration of the conveyor belt running at the second speed. When the duration of the conveyor belt running at the second speed reaches the second duration, it determines that the object to be inspected has passed through the imaging area and controls the conveyor belt to run at the third speed of the conveyor belt corresponding to the second area.
[0155] In this embodiment, the target area includes at least one of a first area, an imaging area, and a second area. A target sensor is provided at the starting end of each target area in the running direction. For each target area, the electronic device calculates the running time of the conveyor belt corresponding to each target area. In this way, the electronic device can control the conveyor belt to run at the running speed of the target area when receiving the first trigger signal sent by the target sensor, and determine whether the object to be inspected has passed through the target area by recording whether the time length for which the conveyor belt runs at the running speed of the target area reaches the running time length corresponding to the target area. In this way, by providing a target sensor at the starting end of each target area in the running direction and calculating the running time length of the conveyor belt corresponding to each target area, the electronic device can determine the regional position of the object to be inspected and adjust the running speed of the conveyor belt adaptively to the regional position of the object to be inspected in combination with the trigger signal and timing of the target sensor, thereby improving the control efficiency of the security inspection machine.
[0156] As one implementation of the present application, different methods can be used to control the conveyor belt to move the object to be inspected through the target area and other areas outside the target area. That is, for one or two of the first area, the imaging area, and the second area, the conveyor belt speed can be controlled by recording the duration, while the conveyor belt speeds corresponding to the remaining areas can be controlled by sensors.
[0157] In one implementation, the target area includes a first area and an imaging area, and target sensors are respectively provided at starting ends of the first area and the imaging area in the running direction.
[0158] The electronic device calculates the running time corresponding to the imaging area based on the length of the imaging area and the running speed corresponding to the imaging area, and calculates the running time corresponding to the second area based on the length of the second area and the running speed corresponding to the second area.
[0159] When the electronic device receives a first trigger signal sent by a target sensor set at the starting end of the first area, it controls the conveyor belt to run at a first speed corresponding to the first area; when it receives a first trigger signal sent by a target sensor set at the starting end of the imaging area, it controls the conveyor belt to run at a second speed corresponding to the imaging area, records the time the conveyor belt runs at the second speed, and when the recorded time reaches the running time corresponding to the imaging area, it determines that the object to be inspected has passed through the imaging area and entered the second area; it controls the conveyor belt to run at a third speed corresponding to the second area, and records the time the conveyor belt runs at the third speed, and when the recorded time reaches the running time corresponding to the second area, it determines that the object to be inspected has passed through the second area.
[0160] In one implementation, the target area includes a first area, a target sensor is provided at a starting end of the first area in a running direction, and the electronic device can calculate the running time corresponding to the first area based on the length of the first area and the running speed corresponding to the first area. A target sensor is provided at a starting end of the second area in the running direction.
[0161] When the electronic device receives a first trigger signal sent by a target sensor located at the starting end of the first area, it controls the conveyor belt to run at a first speed corresponding to the first area, records the time the conveyor belt runs at the first speed, and when the recorded time reaches the running time corresponding to the first area, it determines that the object to be inspected has passed the first area and entered the imaging area.
[0162] The conveyor belt is controlled to run at a second speed corresponding to the imaging area, and when a first trigger signal sent by a target sensor set at the starting end of the second area is received, the conveyor belt is controlled to run at a third speed corresponding to the second area.
[0163] In this embodiment, for different areas, different methods can be used to control the conveyor belt to drive the objects to be inspected through the area. In this way, for different actual application scenarios, the method of controlling the conveyor belt to drive the objects to be inspected through each area can be flexibly set to improve adaptability.
[0164] As an implementation manner of an embodiment of the present application, the first area is an area between the starting end of the security inspection channel in the running direction and the first target position, wherein, in the running direction, the object to be inspected first passes through the first target position and then passes through the optical slit of the security inspection machine;
[0165] The imaging area is the area between the first target position and the second target position in the security inspection channel, wherein, in the running direction, the object to be inspected first passes through the light slit and then passes through the second target position;
[0166] The second area is an area between the second target position and the end of the security inspection channel in the running direction.
[0167] In order to simplify the control process of the running speed of the conveyor belt of the security inspection machine, the security inspection channel can be directly divided into a first area, an imaging area and a second area.
[0168] In order to achieve the control effect that the object to be inspected passes through the non-imaging area of the security inspection channel at a high speed and passes through the imaging area of the security inspection channel at a low speed, the imaging area can be determined first.
[0169] The starting point of the imaging area in the running direction is the first target position of the security inspection channel. In the running direction, the conveyor belt drives the objects to be inspected through the first target position first, and then through the optical slit of the security inspection machine. The end of the imaging area in the running direction is the second target position of the security inspection channel. In the running direction, the conveyor belt drives the objects to be inspected through the optical slit first, and then through the second target position.
[0170] In one implementation, in the running direction, the distance between the first target position and the light slit is the length of the object to be inspected in the running direction, and / or the distance between the second target position and the light slit is the length of the object to be inspected in the running direction.
[0171] Then the first area is the area between the starting end of the security inspection channel in the running direction and the first target position, the imaging area is the area between the first target position and the second target position, and the second area is the area between the second target position and the end of the security inspection channel in the running direction.
[0172] Instance-based Figure 2 ,like Figure 3 As shown, in the running direction of the conveyor belt, the first area is the area between the entrance of the security inspection machine and the first target position A. In the running direction, the conveyor belt drives the package to first pass through the first target position A of the security inspection channel and then pass through the light slit of the security inspection machine; the imaging area is the area between the first target position A and the second target position B of the security inspection channel. In the running direction, the conveyor belt drives the package to first pass through the light slit of the security inspection machine and then pass through the second target position B, and the distance between the second target position B and the light slit is the length of the package in the running direction; the second area is the area between the second target position B and the exit of the security inspection machine.
[0173] In this embodiment, the security inspection channel of the security inspection machine can be pre-divided into a first area, an imaging area, and a second area. The first area is the area between the starting end of the security inspection channel in the running direction and the first target position in the security inspection channel, the imaging area is the area between the first target position and the second target position in the security inspection channel, and the second area is the area between the second target position and the end of the security inspection channel in the running direction. Thus, by dividing the security inspection channel into the first area, the imaging area, and the second area, the electronic device can adjust the running speed of the conveyor belt according to the position of the object to be inspected when it enters the security inspection channel, achieving a control effect in which the object to be inspected passes through the non-imaging area at high speed and the imaging area at low speed, with the average speed of the object to be inspected passing through the security inspection channel being the preset speed.
[0174] As an implementation manner of the embodiment of the present application, the security inspection channel further includes a third area located before the first area, and / or a fourth area located after the second area; the method further includes:
[0175] In a case where the security inspection channel includes the third area, in response to the object to be inspected entering the third area from the conveyor belt of the front-end transport equipment connected to the security inspection machine, controlling the conveyor belt of the security inspection machine to operate at a preset speed, so as to drive the object to be inspected to pass through the third area at the preset speed and enter the first area;
[0176] When the security inspection channel includes the fourth area, in response to the object to be inspected entering the fourth area, the conveyor belt is controlled to run at the preset speed to drive the object to be inspected to pass through the fourth area at the preset speed and enter the conveyor belt of the rear-end transportation equipment connected to the security inspection machine.
[0177] The security inspection channel may further include a third area located before the first area, and / or a fourth area located after the second area.
[0178] In one implementation, based on Figure 2 As shown in FIG4( a ), the security inspection channel may include a third area located before the first area, the first area, the imaging area, and the second area. The starting end of the third area in the running direction is the entrance of the security inspection machine.
[0179] In one implementation, based on Figure 2 As shown in FIG4( b ), the security inspection channel may include a first area, an imaging area, a second area, and a fourth area after the second area, and the end of the fourth area in the running direction is the exit of the security inspection machine.
[0180] In one implementation, based on Figure 2As shown in FIG4( c ), the security inspection channel may include a third area located before the first area, the first area, the imaging area, the second area, and a fourth area located after the second area. The starting end of the third area in the running direction is the entrance of the security inspection machine, and the end of the fourth area in the running direction is the exit of the security inspection machine.
[0181] If the security inspection channel includes the third area, the starting end of the security inspection channel along the running direction of the conveyor belt is the starting end of the third area. The objects to be inspected enter the third area under the drive of the conveyor belt of the front-end transport equipment connected to the security inspection machine.
[0182] In response to the object to be inspected entering the third area, the electronic device can control the conveyor belt of the security inspection machine to run at a preset speed to drive the object to be inspected to pass through the third area at the preset speed and enter the first area.
[0183] In the case where the security inspection channel includes the fourth area, the end of the security inspection channel along the running direction of the conveyor belt is the end of the fourth area.
[0184] In response to the object to be inspected entering the fourth area, the electronic device can control the conveyor belt to run at a preset speed to drive the object to be inspected through the fourth area at a preset speed and enter the conveyor belt of the rear-end transportation equipment connected to the security inspection machine at a preset speed.
[0185] In this embodiment, when the object to be inspected is located in the third area before the first area, and / or the fourth area after the second area, the electronic device controls the conveyor belt to run at a preset speed. In this way, the average speed of the object to be inspected passing through the first area, the imaging area, and the second area is the preset speed, the speed of the object to be inspected passing through areas other than the first area, the imaging area, and the second area is the preset speed, and the average speed of the object to be inspected passing through the security inspection channel is the preset speed. In addition, the object to be inspected enters and exits the security inspection channel at the preset speed, and the overall bag passing speed of the security inspection machine is consistent with the speed of the line. The operating speed of the entire logistics line is no longer limited by the operating speed of the security inspection machine, thereby improving the operating speed and detection effect of the logistics security inspection site.
[0186] As an implementation method of the embodiment of the present application, a trigger sensor is provided at the starting end of the first area in the running direction of the conveyor belt;
[0187] Accordingly, the step of controlling the conveyor belt to run at a running speed corresponding to the target area, and recording the running time of the conveyor belt, and determining that the object to be inspected has passed the target area when the recorded running time reaches the running time corresponding to the target area, includes:
[0188] When receiving a second trigger signal sent by the trigger sensor, controlling the conveyor belt to run at a first speed corresponding to the first area, and starting to record the running time of the conveyor belt;
[0189] When the recorded duration reaches a first duration corresponding to the first area, controlling the conveyor belt to run at a second speed corresponding to the imaging area;
[0190] When the recorded time duration indicates that the time duration for which the conveyor belt runs at the second speed reaches a second time duration, controlling the conveyor belt to run at a third speed corresponding to the second area;
[0191] When the recorded time period indicates that the time period during which the conveyor belt runs at the third speed reaches a third time period, it is determined that the object to be inspected has passed through the second area.
[0192] In order to timely sense that the object to be inspected enters the first area, a trigger sensor can be set at the starting end of the first area in the running direction of the conveyor belt, wherein the trigger sensor can be various types of sensors, such as photoelectric sensors, pressure sensors, etc., which are not specifically limited here.
[0193] When the object to be inspected reaches the first area, the trigger sensor is triggered and sends a second trigger signal to the electronic device. Upon receiving the second trigger signal sent by the trigger sensor, the electronic device can control the conveyor belt to run at a first speed corresponding to the first area and start recording the running time of the conveyor belt.
[0194] When the recorded time reaches the first time corresponding to the first area, it is determined that the object to be inspected has passed through the first area, and the electronic device can control the conveyor belt to run at a second speed corresponding to the imaging area.
[0195] When the recorded time duration represents that the conveyor belt runs at the second speed for a second time duration, it is determined that the object to be inspected passes through the imaging area, and the electronic device can control the conveyor belt to run at a third speed corresponding to the second area.
[0196] When the recorded time duration represents that the time duration during which the conveyor belt runs at the third speed reaches the third time duration, the electronic device may determine that the object to be inspected has passed through the second area.
[0197] In one implementation, when receiving the second trigger signal sent by the trigger sensor, the electronic device can control the conveyor belt to run at a first speed corresponding to the first area, and start recording the duration of the conveyor belt operation; when the recorded duration reaches the first duration corresponding to the first area, the electronic device can reset the timer, control the conveyor belt to run at a second speed corresponding to the imaging area, and start recording the duration of the conveyor belt operation again.
[0198] When the recorded duration represents that the conveyor belt has been running at the second speed for a second duration, the electronic device can reset the timer, control the conveyor belt to run at the third speed corresponding to the second area, and restart recording the running duration of the conveyor belt.
[0199] When the recorded time duration represents that the time duration during which the conveyor belt runs at the third speed reaches the third time duration, the electronic device may determine that the object to be inspected has passed through the third area and reset the timer to zero.
[0200] In one implementation, upon receiving a second trigger signal sent by the trigger sensor, the electronic device can control the conveyor belt to run at a first speed corresponding to the first area, and at the same time start recording the duration of the conveyor belt operation. When the recorded duration reaches the first duration corresponding to the first area, the electronic device can control the conveyor belt to run at a second speed corresponding to the imaging area, and determine whether the recorded duration reaches the sum of the first duration and the second duration.
[0201] When the recorded duration reaches the sum of the first duration and the second duration, the electronic device can determine that the duration for which the conveyor belt runs at the second speed reaches the second duration, control the conveyor belt to run at the third speed corresponding to the second area, and determine whether the recorded duration reaches the sum of the first duration, the second duration and the third duration.
[0202] When the recorded duration reaches the sum of the first duration, the second duration and the third duration, the electronic device can determine that the duration for which the conveyor belt runs at the third speed reaches the third duration, and the electronic device can determine that the object to be inspected passes through the second area.
[0203] In one implementation, upon receiving a second trigger signal sent by a trigger sensor, the electronic device records the initial moment of receiving the second trigger signal, controls the conveyor belt to run at a first speed corresponding to the first area, and determines whether the difference between the current moment and the initial moment is the first duration.
[0204] When the difference between the current moment and the initial moment is the first time length, it is determined that the time length for controlling the conveyor belt to run at the first speed has reached the first time length corresponding to the first area. The electronic device can control the conveyor belt to run at the second speed corresponding to the imaging area, and determine whether the difference between the current moment and the initial moment is the sum of the first time length and the second time length.
[0205] When the difference between the current moment and the initial moment is the sum of the first duration and the second duration, the electronic device can determine that the time for the conveyor belt to run at the second speed reaches the second duration, control the conveyor belt to run at the third speed corresponding to the second area, and determine whether the difference between the current moment and the initial moment is the sum of the first duration, the second duration and the third duration.
[0206] When the difference between the current moment and the initial moment is the sum of the first time length, the second time length and the third time length, the electronic device can determine that when the time length for the conveyor belt to run at the third speed reaches the third time length, the electronic device can determine that the object to be inspected passes through the second area.
[0207] In this embodiment, when a trigger sensor is provided at the starting end of the first area in the direction of operation of the conveyor belt, the electronic device can, upon receiving a second trigger signal sent by the trigger sensor, control the conveyor belt to run at a first speed corresponding to the first area and start recording the duration of the conveyor belt operation; when the recorded duration reaches the first duration corresponding to the first area, control the conveyor belt to run at a second speed corresponding to the imaging area; when the recorded duration represents the duration of the conveyor belt running at the second speed reaches the second duration, control the conveyor belt to run at a third speed corresponding to the second area; when the recorded duration represents the duration of the conveyor belt running at the third speed reaches the third duration, determine that the object to be inspected has passed through the second area. In this way, the electronic device can determine the location of the area where the object to be inspected is located by receiving a trigger signal from the trigger sensor provided at the starting end of the first area and combining it with the recorded running time of the conveyor belt, and then adaptively adjust the running speed of the conveyor belt according to the location of the object to be inspected.
[0208] In order to facilitate understanding of the control method of a security inspection machine provided in the embodiment of the present application, the following Figure 5 ,The specific examples provided in FIG6(a)-FIG6(e) illustrate the control process of the security inspection machine.
[0209] Among them, the control process of the security inspection machine is as follows Figure 5 As shown, the control process includes the following steps S501-S509:
[0210] The electronic device starts to execute S501: determining the line speed a and the security inspection machine length L.
[0211] As shown in FIGS. 6(a)-6(e), the entrance end and the exit end of the security inspection machine are respectively docked with a linear conveyor (i.e., a transportation device), and the linear conveyor operates at a linear speed a. The terminal of the security inspection machine can obtain the linear speed a of the linear conveyor docked with the security inspection machine, and determine the running direction along the conveyor belt, the length L of the security inspection machine, the area division of the security inspection channel, and the length of each area, and preset the corresponding running speed and running duration for each area. Among them, the first area corresponds to a running speed b and a running duration t1; the imaging area corresponds to a running speed c and a running duration t2, and the imaging area includes a radiation source and a detector; the second area corresponds to a running speed b and a running duration t3. According to L = b×t1 + c×t2 + b×t3, L = a×t1 + a×t2 + a×t3, and c < a < b, b, c, t1, t2, and t3 are calculated.
[0212] S502: Determine whether the photoelectric sensor at the entrance of the security inspection machine is triggered; if so, execute step S503, if not, return and continue to execute step S502;
[0213] As shown in FIG. 6(a), a photoelectric sensor is provided at the entrance of the security inspection machine, and the package is on the linear conveyor at the entrance end of the security inspection machine. The electronic device can determine whether the photoelectric sensor at the entrance of the security inspection machine is triggered.
[0214] S503: Determine that the package reaches the entrance of the security inspection machine, record the moment T1, and set the running speed b of the conveyor belt;
[0215] As shown in FIG. 6(b), the package triggers the photoelectric sensor at the entrance of the security inspection machine at the moment T1, and records the moment T1 when the package enters the entrance of the security inspection machine. The terminal of the security inspection machine receives the photoelectric trigger signal, determines that the package enters the first area of the security inspection channel, and controls the conveyor belt of the security inspection machine to operate at the running speed b, where the running speed b > a.
[0216] S504: Set the conveyor belt to run at the running speed b for a duration t1;
[0217] The electronic device sets the conveyor belt to run at the running speed b for a duration t1. <000
[0222] The security inspection terminal sets the conveyor belt to run at speed c for time t2. When the package is in the imaging area, it passes through the light slit at speed c. The detector obtains detection data of the package, and the security inspection terminal obtains a transmission image of the package.
[0223] As shown in Figure 6 (d), when the conveyor belt runs at the running speed c for a running time of t2, that is, at the time T1+t1+t2, the package passes through the light gap and reaches the second area after the light gap. At this time, the security inspection terminal sets the conveyor belt to run at the running speed b, where the running speed b>a.
[0224] S508: Setting the conveyor belt to run at speed b for a duration of t3;
[0225] S509: The package arrives at the security inspection machine exit.
[0226] As shown in Figure 6(e), the security terminal sets the conveyor belt to run at speed b for a duration of t3. At time T1+t1+t2+t3, the package arrives at the security terminal exit and then enters the connected linear conveyor. The security terminal then determines whether the photoelectric sensor at the security terminal entrance is triggered to determine whether the next package has arrived at the security terminal entrance.
[0227] Corresponding to the control method of the security inspection machine, an embodiment of the present application also provides a control device of the security inspection machine.
[0228] like Figure 7 As shown, a control device for a security inspection machine includes:
[0229] A first control module 701 is configured to control a conveyor belt of the security inspection machine to operate at a first speed in response to an object to be inspected entering a first area of a security inspection channel of the security inspection machine at a preset speed, so as to drive the object to be inspected through the first area at the first speed, wherein the preset speed is the operating speed of a transport device connected to the security inspection machine; along the operating direction of the conveyor belt, the security inspection channel includes at least the first area, the imaging area, and the second area, and the first speed is greater than the preset speed;
[0230] A second control module 702 is configured to control the conveyor belt to run at a second speed, so as to drive the object to be inspected to pass through the imaging area at the second speed, and obtain a transmission image of the object to be inspected, wherein the second speed is less than the preset speed;
[0231] The third control module 703 is used to control the conveyor belt to run at a third speed to drive the objects to be inspected to pass through the second area at the third speed, wherein the third speed is not less than the second speed; the first speed, the second speed and the third speed make the average speed of the objects to be inspected passing through the security inspection channel the preset speed.
[0232] In the technical solution provided in the embodiments of the present application, the electronic device can control the conveyor belt of the security inspection machine to run at a first speed in response to the object to be inspected entering the first area of the security inspection channel of the security inspection machine at a preset speed, so as to drive the object to be inspected to pass through the first area at the first speed, wherein the preset speed is the running speed of the transportation equipment docked with the security inspection machine; along the running direction of the conveyor belt, the security inspection channel includes at least a first area, an imaging area and a second area, and the first speed is greater than the preset speed; the conveyor belt is controlled to run at a second speed to drive the object to be inspected to pass through the imaging area at the second speed to obtain a transmission image of the object to be inspected, wherein the second speed is less than the preset speed; the conveyor belt is controlled to run at a third speed to drive the object to be inspected to pass through the second area at the third speed, wherein the third speed is not less than the second speed; the first speed, the second speed and the third speed make the average speed of the object to be inspected passing through the security inspection channel the preset speed.
[0233] By controlling the speed of the conveyor belt, the electronic device drives the objects to be inspected through the imaging area at a speed slower than the preset speed of the transport equipment, and through the areas before and after the imaging area at a speed faster than the preset speed. This ensures that the average speed of the objects passing through the security inspection channel matches the preset speed of the transport equipment. This ensures that the average speed of the objects passing through the security inspection machine is consistent with the speed of the transport equipment it connects to, improving sorting efficiency while avoiding errors in the diversion of security packages and abnormalities in the tracking of package lines. The objects to be inspected pass through the imaging area at a low speed, ensuring the quality of the transmission images obtained in high-speed bag passing scenarios without increasing equipment costs, thereby ensuring the accuracy of security inspection results.
[0234] As an implementation of the embodiment of the present application, the device further includes:
[0235] A first computing module is configured to, before the step of controlling the conveyor belt of the security inspection machine to run at a first speed in response to the object to be inspected entering the first area of the security inspection channel of the security inspection machine at a preset speed, further comprising:
[0236] Based on the length of the first area, the length of the imaging area and the length of the second area of the security inspection channel, and the relationship between the speed at which the object to be inspected passes through the first area, the imaging area and the second area respectively and the preset speed, the running speed of the conveyor belts corresponding to the first area, the imaging area and the second area respectively is calculated.
[0237] As an implementation of an embodiment of the present application, the first calculation module includes:
[0238] A first condition determination submodule is configured to set the total time it takes for the object to pass through the first area, the imaging area, and the second area to be equal to the ratio of the target length of the security inspection channel to a preset speed as a time constraint condition, wherein the target length is the sum of the length of the first area, the length of the imaging area, and the length of the second area;
[0239] A second condition determination submodule is configured to use the relationship between the speed of the object to be detected passing through the first area, the imaging area, and the second area and the preset speed as a speed constraint condition;
[0240] A determination submodule is used to determine the running speeds of the conveyor belts corresponding to the first area, the imaging area and the second area respectively, which meet the time constraint and the speed constraint based on the length of the first area, the length of the imaging area and the length of the second area.
[0241] As an implementation of an embodiment of the present application, the determining submodule includes:
[0242] a first speed determining unit, configured to determine, based on the speed constraint condition, a running speed of the conveyor belt corresponding to a candidate area, wherein the candidate area is any two areas among the first area, the imaging area, and the second area;
[0243] a duration determination unit, configured to determine, based on the duration constraint, the length of each candidate region, and the running speed of the conveyor belt corresponding to each candidate region, the duration for the object to be inspected to pass through other regions, wherein the other regions are the first region, the imaging region, and the second region excluding the candidate region;
[0244] The second speed determining unit is configured to calculate a ratio of the length of the other area to the time duration for the object to be inspected to pass through the other area as the running speed of the conveyor belt corresponding to the other area.
[0245] As an implementation manner of an embodiment of the present application, the first area is an area between the starting end of the security inspection channel in the running direction and the first target position. In the running direction, the object to be inspected first passes through the first target position and then passes through the optical slit of the security inspection machine;
[0246] The imaging area is the area between the first target position and the second target position in the security inspection channel. In the running direction, the object to be inspected first passes through the light slit and then passes through the second target position.
[0247] The second area is an area between the second target position and the end of the security inspection channel in the running direction.
[0248] As an implementation manner of an embodiment of the present application, the target area includes at least one of the first area, the imaging area, and the second area, and the device further includes a fourth control module for controlling the conveyor belt to drive the object to be inspected to pass through the target area;
[0249] The fourth control module includes:
[0250] For each target area, based on the length of the target area and the running speed corresponding to the target area, determine the running time of the conveyor belt corresponding to the target area; control the conveyor belt to run at the running speed corresponding to the target area, and record the running time of the conveyor belt. When the recorded running time reaches the running time corresponding to the target area, determine that the object to be inspected has passed the target area; and / or,
[0251] The second control submodule is used to control the conveyor belt to run at a predetermined running speed corresponding to each target area when receiving a first trigger signal sent by a target sensor, so as to drive the object to be inspected to pass through the target area, wherein the target sensor is arranged at the starting end of the target area in the running direction.
[0252] As an implementation manner of the embodiment of the present application, the security inspection channel further includes a third area located before the first area, and / or a fourth area located after the second area; the device further includes:
[0253] a fifth control module configured to, when the security inspection channel includes the third area, control the conveyor belt of the security inspection machine to operate at a preset speed in response to the object to be inspected entering the third area from the conveyor belt of the front-end transport equipment connected to the security inspection machine, so as to drive the object to be inspected to pass through the third area at the preset speed and enter the first area;
[0254] The sixth control module is used to control the conveyor belt to run at the preset speed in response to the object to be inspected entering the fourth area when the security inspection channel includes the fourth area, so as to drive the object to be inspected to pass through the fourth area at the preset speed and enter the conveyor belt of the rear-end transportation equipment connected to the security inspection machine.
[0255] As an implementation manner of the embodiment of the present application, a trigger sensor is provided at the starting end of the first area in the running direction of the conveyor belt;
[0256] The first control submodule includes:
[0257] a recording unit, configured to control the conveyor belt to run at a first speed corresponding to the first area and start recording a running time of the conveyor belt when receiving a second trigger signal sent by the trigger sensor;
[0258] a first control unit, configured to control the conveyor belt to run at a second speed corresponding to the imaging area when the recorded duration reaches a first duration corresponding to the first area;
[0259] a second control unit, configured to control the conveyor belt to run at a third speed corresponding to the second area when the recorded time duration represents a time duration for the conveyor belt to run at the second speed reaching a second time duration;
[0260] The third control unit is configured to determine that the object to be inspected has passed through the second area when the recorded time duration represents that the time duration during which the conveyor belt runs at the third speed reaches a third time duration.
[0261] The present application also provides an electronic device, such as Figure 8 Shown, including:
[0262] Memory 801, used for storing computer programs;
[0263] The processor 802 is used to implement the control method of the security inspection machine provided in the embodiment of the present application when executing the program stored in the memory 801.
[0264] Furthermore, the electronic device may further include a communication bus and / or a communication interface, and the processor 802, the communication interface, and the memory 801 communicate with each other via the communication bus.
[0265] The communication bus mentioned in the electronic devices mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. This communication bus can be divided into address buses, data buses, control buses, etc. For ease of illustration, only a single thick line is used in the figure, but this does not mean that there is only one bus or only one type of bus.
[0266] The communication interface is used for communication between the above electronic device and other devices.
[0267] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage. Alternatively, the memory may be at least one storage device located away from the processor.
[0268] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
[0269] In another embodiment provided in the present application, a computer-readable storage medium is further provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for controlling a security inspection machine are implemented.
[0270] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the control method of any security inspection machine in the above embodiments.
[0271] In the above embodiments, all or part of the embodiments can be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium can be magnetic media (e.g., floppy disk, hard disk, tape), optical media (e.g., DVD), or solid-state drive (SSD).
[0272] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0273] Each embodiment in this specification is described in a related manner. Similar portions between embodiments can be referenced to each other. Each embodiment focuses on the differences between other embodiments. In particular, the device, electronic device, computer-readable storage medium, and computer program product embodiments are generally similar to the method embodiments, so their descriptions are relatively simple. For related portions, reference can be made to the descriptions of the method embodiments.
[0274] The above description is only a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application are included in the scope of protection of the present application.
Claims
1. A control method for a security inspection machine, characterized in that: The method comprises: In response to an object to be inspected entering a first area of a security inspection channel of a security inspection machine at a preset speed, controlling a conveyor belt of the security inspection machine to operate at a first speed to drive the object to be inspected to pass through the first area at the first speed, wherein the preset speed is the operating speed of a transport device docked with the security inspection machine; along the operating direction of the conveyor belt, the security inspection channel includes at least the first area, an imaging area, and a second area, and the first speed is greater than the preset speed; controlling the conveyor belt to operate at a second speed to drive the object to be inspected to pass through the imaging area at the second speed, and obtaining a transmission image of the object to be inspected, wherein the second speed is less than the preset speed; Controlling the conveyor belt to run at a third speed to drive the objects to be inspected to pass through the second area at the third speed, wherein the third speed is not less than the second speed; and the first speed, the second speed, and the third speed are such that an average speed of the objects to be inspected passing through the security inspection channel is the preset speed; The security inspection channel further includes a third area located before the first area, and / or a fourth area located after the second area; the method further includes: In a case where the security inspection channel includes the third area, in response to the object to be inspected entering the third area from the conveyor belt of the front-end transport equipment connected to the security inspection machine, controlling the conveyor belt of the security inspection machine to operate at a preset speed, so as to drive the object to be inspected to pass through the third area at the preset speed and enter the first area; When the security inspection channel includes the fourth area, in response to the object to be inspected entering the fourth area, the conveyor belt is controlled to run at the preset speed to drive the object to be inspected to pass through the fourth area at the preset speed and enter the conveyor belt of the rear-end transportation equipment connected to the security inspection machine.
2. The method according to claim 1, characterized in that Before the step of controlling the conveyor belt of the security inspection machine to run at a first speed in response to the object to be inspected entering the first area of the security inspection channel of the security inspection machine at a preset speed, the method further includes: Based on the length of the first area, the length of the imaging area and the length of the second area of the security inspection channel, and the relationship between the speed at which the object to be inspected passes through the first area, the imaging area and the second area respectively and the preset speed, the running speed of the conveyor belts corresponding to the first area, the imaging area and the second area respectively is calculated.
3. The method according to claim 2, characterized in that The step of calculating the running speeds of the conveyor belts corresponding to the first area, the imaging area, and the second area, respectively, based on the length of the first area, the length of the imaging area, and the length of the second area of the security inspection channel, and the relationship between the speeds at which the object to be inspected passes through the first area, the imaging area, and the second area, respectively, and a preset speed, includes: The total time it takes for the object to be inspected to pass through the first area, the imaging area, and the second area is equal to the ratio of the target length of the security inspection channel to the preset speed, where the target length is the sum of the lengths of the first area, the imaging area, and the second area; The relationship between the speed of the object to be detected passing through the first area, the imaging area, and the second area and the preset speed is used as a speed constraint condition; Based on the length of the first area, the length of the imaging area and the length of the second area, the running speeds of the conveyor belts corresponding to the first area, the imaging area and the second area respectively that meet the time constraint and the speed constraint are determined.
4. The method according to claim 3, characterized in that The step of determining the running speeds of the conveyor belts corresponding to the first area, the imaging area, and the second area, respectively, that satisfy the time constraint and the speed constraint based on the length of the first area, the length of the imaging area, and the length of the second area, comprises: Determining, based on the speed constraint, a running speed of a conveyor belt corresponding to a candidate area, wherein the candidate area is any two areas among the first area, the imaging area, and the second area; Determining the time it takes for the object to pass through other areas according to the time constraint, the length of each candidate area, and the running speed of the conveyor belt corresponding to each candidate area, wherein the other areas are the first area, the imaging area, and the second area excluding the candidate area; The ratio of the length of the other area to the time length of the object to be inspected passing through the other area is calculated as the running speed of the conveyor belt corresponding to the other area.
5. The method according to any one of claims 1 to 4, characterized in that The first area is the area between the starting end of the security inspection channel in the running direction and the first target position, wherein, in the running direction, the object to be inspected first passes through the first target position and then passes through the optical slit of the security inspection machine; The imaging area is the area between the first target position and the second target position in the security inspection channel, wherein, in the running direction, the object to be inspected first passes through the light slit and then passes through the second target position; The second area is an area between the second target position and the end of the security inspection channel in the running direction.
6. The method according to any one of claims 1 to 4, characterized in that The target area includes at least one of the first area, the imaging area, and the second area. The method of controlling the conveyor belt to drive the object to be inspected to pass through the target area includes: For each target area, based on the length of the target area and the running speed corresponding to the target area, determine the running time of the conveyor belt corresponding to the target area; control the conveyor belt to run at the running speed corresponding to the target area, and record the running time of the conveyor belt. When the recorded running time reaches the running time corresponding to the target area, determine that the object to be inspected has passed the target area; and / or, For each target area, upon receiving the first trigger signal sent by the target sensor, the conveyor belt is controlled to run at a pre-set running speed corresponding to the target area to drive the object to be inspected through the target area, wherein the target sensor is arranged at the starting end of the target area in the running direction.
7. The method according to claim 6, characterized in that A trigger sensor is provided at the starting end of the first area in the running direction of the conveyor belt; The step of controlling the conveyor belt to run at a running speed corresponding to the target area, recording the running time of the conveyor belt, and determining that the object to be inspected has passed the target area when the recorded running time reaches the running time corresponding to the target area includes: When receiving a second trigger signal sent by the trigger sensor, controlling the conveyor belt to run at a first speed corresponding to the first area, and starting to record the running time of the conveyor belt; When the recorded duration reaches a first duration corresponding to the first area, controlling the conveyor belt to run at a second speed corresponding to the imaging area; When the recorded time duration indicates that the time duration for which the conveyor belt runs at the second speed reaches a second time duration, controlling the conveyor belt to run at a third speed corresponding to the second area; When the recorded time period indicates that the time period during which the conveyor belt runs at the third speed reaches a third time period, it is determined that the object to be inspected has passed through the second area.
8. A control device for a security inspection machine, characterized in that: The device comprises: a first control module configured to control a conveyor belt of the security inspection machine to operate at a first speed in response to an object to be inspected entering a first area of a security inspection passage of the security inspection machine at a preset speed, so as to drive the object to be inspected through the first area at the first speed, wherein the preset speed is the operating speed of a transport device docked with the security inspection machine; along the operating direction of the conveyor belt, the security inspection passage includes at least the first area, the imaging area, and the second area, and the first speed is greater than the preset speed; a second control module, configured to control the conveyor belt to run at a second speed, so as to drive the object to be inspected to pass through the imaging area at the second speed, and obtain a transmission image of the object to be inspected, wherein the second speed is less than the preset speed; a third control module, configured to control the conveyor belt to operate at a third speed to drive the objects to be inspected to pass through the second area at the third speed, wherein the third speed is not less than the second speed; and the first speed, the second speed, and the third speed are such that an average speed of the objects to be inspected passing through the security inspection channel is the preset speed; The security inspection channel further includes a third area located before the first area, and / or a fourth area located after the second area; the device further includes: a fifth control module configured to, when the security inspection channel includes the third area, control the conveyor belt of the security inspection machine to operate at a preset speed in response to the object to be inspected entering the third area from the conveyor belt of the front-end transport equipment connected to the security inspection machine, so as to drive the object to be inspected to pass through the third area at the preset speed and enter the first area; The sixth control module is used to control the conveyor belt to run at the preset speed in response to the object to be inspected entering the fourth area when the security inspection channel includes the fourth area, so as to drive the object to be inspected to pass through the fourth area at the preset speed and enter the conveyor belt of the rear-end transportation equipment connected to the security inspection machine.
9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the method according to any one of claims 1 to 7 when executing a program stored in a memory.
Citation Information
Patent Citations
Package passing detection speed adjusting method and device and security inspection machine
CN110626745A